对接设计符合性确认
This commit is contained in:
@@ -68,7 +68,7 @@
|
||||
queryBy: {},
|
||||
queryProject: {},
|
||||
loading: false,
|
||||
textLoading:this.$t('dataLoading'),
|
||||
textLoading: this.$t('dataLoading'),
|
||||
projectInformationList: [
|
||||
{
|
||||
title: this.$t('entryName'),
|
||||
@@ -183,6 +183,10 @@
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
let _this = this
|
||||
this.queryTaskDetailByTask(function() {
|
||||
_this.queryProjectLawsInventoryInfo()
|
||||
})
|
||||
},
|
||||
methods: {
|
||||
...mapGetters(['userInfo']),
|
||||
@@ -194,6 +198,33 @@
|
||||
},
|
||||
sendBack() {
|
||||
|
||||
},
|
||||
queryTaskDetailByTask(callback) {
|
||||
this.loading = true
|
||||
getAction(this.url.queryTaskDetailByTaskIds, { taskIds: this.$route.query.taskIds }).then((res) => {
|
||||
if (res instanceof String) {
|
||||
this.queryBy = JSON.parse(res)
|
||||
callback()
|
||||
} else {
|
||||
this.queryBy = res
|
||||
callback()
|
||||
}
|
||||
})
|
||||
},
|
||||
queryProjectLawsInventoryInfo() {
|
||||
let query = {
|
||||
id: this.queryBy.id,
|
||||
operatorType: 'taskAffirmQuery'
|
||||
}
|
||||
getAction(this.url.queryProjectLawsInventoryInfoById, query).then((res) => {
|
||||
if (res.success) {
|
||||
this.queryProject = res.result.projectLawsInventory || {}
|
||||
this.loading = false
|
||||
} else {
|
||||
this.queryProject = {}
|
||||
this.loading = false
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user