|
|
@@ -246,11 +246,17 @@
|
|
|
<el-table-column align="center" label="当前状态" prop="Status">
|
|
|
<template slot-scope="scope">
|
|
|
<span v-if="scope.row.Status=='0'">待提交</span>
|
|
|
- <span v-if="scope.row.Status=='1'">已申请</span>
|
|
|
- <span v-if="scope.row.Status=='-2'">初审未通过</span>
|
|
|
- <span v-if="scope.row.Status=='2'" >待法规处审核</span>
|
|
|
- <span v-if="scope.row.Status=='-3'">审核未通过</span>
|
|
|
- <span v-if="scope.row.Status=='3'" >审核通过</span>
|
|
|
+ <span v-if="scope.row.Status=='1'">待初审</span>
|
|
|
+ <span v-if="scope.row.Status=='-1'">初审未通过</span>
|
|
|
+ <span v-if="scope.row.Status=='2'" >待复审</span>
|
|
|
+ <span v-if="scope.row.Status=='-2'" >复审未通过</span>
|
|
|
+ <span v-if="scope.row.Status=='5'" >待企管法规处审批</span>
|
|
|
+ <span v-if="scope.row.Status=='-5'">企管法规处审核未通过</span>
|
|
|
+ <span v-if="scope.row.Status=='7'">待入库</span>
|
|
|
+ <span v-if="scope.row.Status=='8'">已入库</span>
|
|
|
+ <span v-if="scope.row.Status=='10'">待二级单位分办</span>
|
|
|
+ <span v-if="scope.row.Status=='-10'">分办未通过</span>
|
|
|
+ <span v-if="scope.row.Status=='11'">审核通过</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column align="center" label="操作">
|
|
|
@@ -288,9 +294,7 @@
|
|
|
<!--</el-tab-pane>-->
|
|
|
</el-tabs>
|
|
|
</el-card>
|
|
|
- <el-dialog title="审批流程" :visible.sync="dialogVisible" width="1024px">
|
|
|
- <wf-multi-history :entryinfo="entrydetail"></wf-multi-history>
|
|
|
- </el-dialog>
|
|
|
+ <wf-multi-history ref="wfMultiHistory"></wf-multi-history>
|
|
|
<!--<el-dialog title="审批流程" :visible.sync="dialogVisible1" width="1024px">-->
|
|
|
<!--<el-card class="box-card">-->
|
|
|
<!--<div slot="header" class="clearfix">-->
|
|
|
@@ -327,7 +331,6 @@
|
|
|
return {
|
|
|
activeName: 'all',
|
|
|
dialogVisible: false,
|
|
|
- dialogVisible1: false,
|
|
|
loading: false,
|
|
|
// 列表数据
|
|
|
entityListAll: [],
|
|
|
@@ -363,6 +366,9 @@
|
|
|
},
|
|
|
entrydetail: {
|
|
|
Id: '',
|
|
|
+ SupplierId: '',
|
|
|
+ SupplierTypeCode: '',
|
|
|
+ Type: '',
|
|
|
process: '',
|
|
|
business: '',
|
|
|
instance: '',
|
|
|
@@ -386,37 +392,36 @@
|
|
|
this.initDatas(tab.index)
|
|
|
},
|
|
|
openwfhistory (val) {
|
|
|
+ console.log(val, 'val')
|
|
|
+ this.$refs.wfMultiHistory.business = val.Id
|
|
|
+ this.$refs.wfMultiHistory.instance = val.WorkflowId
|
|
|
+ this.$refs.wfMultiHistory.certId = val.Id
|
|
|
+ this.$refs.wfMultiHistory.SupplierTypeCode = val.SupplierTypeCode
|
|
|
+ this.$refs.wfMultiHistory.SupplierId = val.SupplierId
|
|
|
if (this.tabinx == '1' || val.Type == '1') { // 准入
|
|
|
- this.entrydetail.Id = val.Id
|
|
|
- this.entrydetail.business = val.Id
|
|
|
- this.entrydetail.instance = val.WorkflowId
|
|
|
- this.entrydetail.status = val.Status
|
|
|
- this.entrydetail.process = val.ProcessKey
|
|
|
- this.dialogVisible = true
|
|
|
+ this.$refs.wfMultiHistory.dialogVisible1 = true
|
|
|
+ this.$refs.wfMultiHistory.process = val.ProcessKey
|
|
|
+ this.$refs.wfMultiHistory.show()
|
|
|
+ // this.entrydetail.status = val.Status
|
|
|
} else if (this.tabinx == '2' || val.Type == '2') { // 增项
|
|
|
- this.entrydetail.Id = val.Id
|
|
|
- this.entrydetail.business = val.Id
|
|
|
- this.entrydetail.instance = val.WorkflowId
|
|
|
- this.entrydetail.process = val.ProcessKey
|
|
|
- this.dialogVisible = true
|
|
|
+ console.log(this.$refs.wfMultiHistory.business, 'val111')
|
|
|
+ this.$refs.wfMultiHistory.dialogVisible4 = true
|
|
|
+ this.$refs.wfMultiHistory.appendShow()
|
|
|
} else if (this.tabinx == '3' || val.Type == '3') { // 年审
|
|
|
- this.entrydetail.Id = val.Id
|
|
|
- this.entrydetail.business = val.Id
|
|
|
- this.entrydetail.instance = val.WorkflowId
|
|
|
- this.entrydetail.process = 'oil_audit_apply'
|
|
|
- this.dialogVisible = true
|
|
|
- } else if (this.tabinx == '4' || val.Type == '4') { // 信息变更
|
|
|
- this.entrydetail.business = val.Id
|
|
|
- this.entrydetail.instance = val.WorkflowId
|
|
|
+ this.$refs.wfMultiHistory.dialogVisible2 = true
|
|
|
+ this.$refs.wfMultiHistory.process = 'oil_audit_apply'
|
|
|
+ this.$refs.wfMultiHistory.annualShow()
|
|
|
+ } else if (this.tabinx == '4' || val.Type == '4') { // 信息变更
|
|
|
+ this.$refs.wfMultiHistory.dialogVisible3 = true
|
|
|
this.entrydetail.process = 'oil_info_change'
|
|
|
- this.dialogVisible = true
|
|
|
+ this.$refs.wfMultiHistory.infoChangeShow()
|
|
|
} else if (this.tabinx == '5') { // 资质变更
|
|
|
this.entrydetail.business = val.Id
|
|
|
this.entrydetail.instance = val.WorkflowId
|
|
|
- this.dialogVisible = true
|
|
|
}
|
|
|
},
|
|
|
|
|
|
+
|
|
|
initDatas (val, event) {
|
|
|
this.loading = true
|
|
|
if (event != null) {
|