优化
This commit is contained in:
parent
0525c605f4
commit
acc9c6993e
@ -16,7 +16,7 @@
|
||||
<span v-if="i.type===2">修改进度</span>
|
||||
<span v-if="i.type===3">名称和进度都修改</span>
|
||||
#</span></div>
|
||||
<div>{{i.gmtCreate}}</div>
|
||||
<div style="font-size:12px;">{{i.gmtCreate}}</div>
|
||||
</div>
|
||||
<div class="pinglunTem-right-content">
|
||||
{{i.label}}
|
||||
|
||||
@ -315,7 +315,7 @@ export default {
|
||||
this.taskInfo = await this.$parent.handleGetTaskDetail(this.taskInfo.detailId)
|
||||
this.dialogFormVisible = false
|
||||
this.handleGetChangeTaskList()
|
||||
this.$parent.handleGetTable()
|
||||
this.$parent.handleGetTable(true)
|
||||
this.$message({
|
||||
message: res.msg,
|
||||
type: 'success'
|
||||
@ -336,7 +336,7 @@ export default {
|
||||
return
|
||||
}
|
||||
this.taskInfo = await this.$parent.handleGetTaskDetail(this.taskInfo.detailId)
|
||||
this.$parent.handleGetTable()
|
||||
this.$parent.handleGetTable(true)
|
||||
this.$message({
|
||||
message: res.msg,
|
||||
type: 'success'
|
||||
|
||||
@ -344,8 +344,8 @@ export default {
|
||||
handleCancelResult () {
|
||||
this.$emit('update:tableInfo', Object.assign({}, this.tableInfo, { result: false, score: false }))
|
||||
},
|
||||
handleGetTable () {
|
||||
this.$parent.handleGetTbale({ id: this.$route.query.id || '' })
|
||||
handleGetTable (type) {
|
||||
this.$parent.handleGetTbale({ id: this.$route.query.id || '' }, type)
|
||||
},
|
||||
async handleGrt375 () {
|
||||
let res = await apiGet375()
|
||||
|
||||
@ -263,10 +263,10 @@ export default {
|
||||
}
|
||||
}
|
||||
},
|
||||
async handleGetTbale (params) {
|
||||
this.$loadingStart()
|
||||
async handleGetTbale (params, type = false) {
|
||||
if (!type) this.$loadingStart()
|
||||
let res = await apiResultGetDetail(params)
|
||||
this.$loadingEnd()
|
||||
if (!type) this.$loadingEnd()
|
||||
this.isNoList = res.code !== 200
|
||||
if (res.code !== 200) {
|
||||
this.resultRecordId = ''
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user