Browse Source

【网格实体化运作提报功能】审核记录弹窗-王公峰-2020-12-15

master
wanggongfeng 5 years ago
parent
commit
2a95f1462c
  1. 12
      src/views/modules/kpi/subauditrecordslogDetail.vue
  2. 3
      src/views/modules/kpi/subpositioncheckinfo.vue

12
src/views/modules/kpi/subauditrecordslogDetail.vue

@ -7,7 +7,7 @@
height="90%"> height="90%">
<el-card shadow="never" class="aui-card--fill"> <el-card shadow="never" class="aui-card--fill">
<div class="mod-news__subauditrecordslog}"> <div class="mod-news__subauditrecordslog}">
<el-form :inline="true" :model="dataForm" @keyup.enter.native="getDataListSearch()"> <el-form v-if="false" :inline="true" :model="dataForm" @keyup.enter.native="getDataListSearch()">
<el-form-item v-if="false" label="流程节点" prop="processCode"> <el-form-item v-if="false" label="流程节点" prop="processCode">
<el-select v-model="dataForm.processCode" placeholder="流程节点" clearable> <el-select v-model="dataForm.processCode" placeholder="流程节点" clearable>
<el-option v-for="item in processCodeArr" :key="item.dictValue" :label="item.dictName" :value="item.dictValue"> <el-option v-for="item in processCodeArr" :key="item.dictValue" :label="item.dictName" :value="item.dictValue">
@ -76,15 +76,13 @@ export default {
] ]
} }
}, },
mounted () {
if (this.$route.query.infoId !== '' && this.$route.query.infoId != null) {
this.dataForm.infoId = this.$route.query.infoId
}
},
methods: { methods: {
// //
init () { init (infoId) {
this.visible = true this.visible = true
if (infoId !== '' && infoId != null) {
this.dataForm.infoId = infoId
}
this.$nextTick(() => { this.$nextTick(() => {
this.getDataList() this.getDataList()
}) })

3
src/views/modules/kpi/subpositioncheckinfo.vue

@ -179,7 +179,8 @@ export default {
logDetail (infoId) { logDetail (infoId) {
this.logDetailVisible = true this.logDetailVisible = true
this.$nextTick(() => { this.$nextTick(() => {
this.$refs.subauditrecordslogDetail.dataForm.infoId = infoId // this.$refs.subauditrecordslogDetail.dataForm.infoId = infoId
this.$refs.subauditrecordslogDetail.init(infoId)
}) })
}, },
addNewRecord () { addNewRecord () {

Loading…
Cancel
Save