|
|
@@ -82,7 +82,7 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column align="center" label="当前状态" prop="Status">
|
|
|
<template slot-scope="scope">
|
|
|
- {{statusStr(scope.row.Status)}}
|
|
|
+ {{statusStr(scope.row.Status, scope.row.Type)}}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column align="center" label="操作">
|
|
|
@@ -124,7 +124,7 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column align="center" label="当前状态" prop="Status">
|
|
|
<template slot-scope="scope">
|
|
|
- {{statusStr(scope.row.Status)}}
|
|
|
+ {{statusStr(scope.row.Status, scope.row.Type)}}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column align="center" label="操作">
|
|
|
@@ -166,7 +166,7 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column align="center" label="当前状态" prop="Status">
|
|
|
<template slot-scope="scope">
|
|
|
- {{statusStr(scope.row.Status)}}
|
|
|
+ {{statusStr(scope.row.Status, scope.row.Type)}}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column align="center" label="操作">
|
|
|
@@ -208,15 +208,7 @@
|
|
|
</el-table-column>
|
|
|
<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=='-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=='4'">待专业处室审批</span>
|
|
|
- <span v-if="scope.row.Status=='-4'">专业处室审批未通过</span>
|
|
|
- <span v-if="scope.row.Status=='5'">审核通过</span>
|
|
|
+ {{statusStr(scope.row.Status, scope.row.Type)}}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column align="center" label="操作">
|
|
|
@@ -388,8 +380,8 @@
|
|
|
},
|
|
|
methods: {
|
|
|
handleClick (tab) {
|
|
|
- this.currentPage = 1;
|
|
|
- this.size= 10;
|
|
|
+ this.currentPage = 1
|
|
|
+ this.size = 10
|
|
|
this.tabinx = tab.index
|
|
|
this.initDatas(tab.index)
|
|
|
},
|
|
|
@@ -413,7 +405,7 @@
|
|
|
this.entrydetail.instance = val.WorkflowId
|
|
|
this.entrydetail.process = 'oil_audit_apply'
|
|
|
this.dialogVisible = true
|
|
|
- } else if (this.tabinx == '4' || val.Type == '4') { // 信息变更
|
|
|
+ } else if (this.tabinx == '4' || val.Type == '4') { // 信息变更
|
|
|
this.entrydetail.business = val.Id
|
|
|
this.entrydetail.instance = val.WorkflowId
|
|
|
this.entrydetail.process = 'oil_info_change'
|
|
|
@@ -425,11 +417,11 @@
|
|
|
}
|
|
|
},
|
|
|
|
|
|
- initDatas (val,event) {
|
|
|
+ initDatas (val, event) {
|
|
|
this.loading = true
|
|
|
if (event != null) {
|
|
|
- this.currentPage = 1;
|
|
|
- this.size= 10;
|
|
|
+ this.currentPage = 1
|
|
|
+ this.size = 10
|
|
|
}
|
|
|
// 分页及列表条件
|
|
|
let params = {
|
|
|
@@ -460,7 +452,7 @@
|
|
|
this.entityList2 = res.data.items
|
|
|
} else if (val == '4') {
|
|
|
this.entityList3 = res.data.items
|
|
|
- } else if (val == "0") {
|
|
|
+ } else if (val == '0') {
|
|
|
this.entityListAll = res.data.items
|
|
|
}
|
|
|
this.currentItemCount = res.data.currentItemCount
|
|
|
@@ -471,37 +463,36 @@
|
|
|
},
|
|
|
|
|
|
exportExcel () {
|
|
|
- let tablename = "#rebateSetTable" + this.tabinx
|
|
|
+ let tablename = '#rebateSetTable' + this.tabinx
|
|
|
/* generate workbook object from table */
|
|
|
let wb = XLSX.utils.table_to_book(
|
|
|
document.querySelector(tablename)
|
|
|
)
|
|
|
- console.log(tablename, 'tablename')
|
|
|
let filename
|
|
|
if (this.tabinx === '0') { // 准入
|
|
|
- filename = "AccessIn.xlsx"
|
|
|
+ filename = 'AccessIn.xlsx'
|
|
|
} else if (this.tabinx === '1') { // 增项
|
|
|
- filename = "Addition.xlsx"
|
|
|
+ filename = 'Addition.xlsx'
|
|
|
} else if (this.tabinx === '2') { // 年审
|
|
|
- filename = "AnnualAuditor.xlsx"
|
|
|
+ filename = 'AnnualAuditor.xlsx'
|
|
|
} else if (this.tabinx === '3') { // 信息变更
|
|
|
- filename = "InfoChanged.xlsx"
|
|
|
+ filename = 'InfoChanged.xlsx'
|
|
|
} else if (this.tabinx === '4') { // 资质变更
|
|
|
- filename = "AptitudeChanged.xlsx"
|
|
|
+ filename = 'AptitudeChanged.xlsx'
|
|
|
}
|
|
|
/* get binary string as output */
|
|
|
let wbout = XLSX.write(wb, {
|
|
|
- bookType: "xlsx",
|
|
|
+ bookType: 'xlsx',
|
|
|
bookSST: true,
|
|
|
- type: "array"
|
|
|
+ type: 'array'
|
|
|
})
|
|
|
try {
|
|
|
FileSaver.saveAs(
|
|
|
- new Blob([wbout], { type: "application/octet-stream" }),
|
|
|
+ new Blob([wbout], { type: 'application/octet-stream' }),
|
|
|
filename
|
|
|
)
|
|
|
} catch (e) {
|
|
|
- if (typeof console !== "undefined") console.log(e, wbout);
|
|
|
+ if (typeof console !== 'undefined') console.log(e, wbout)
|
|
|
}
|
|
|
return wbout
|
|
|
},
|
|
|
@@ -552,7 +543,8 @@
|
|
|
return val
|
|
|
}
|
|
|
},
|
|
|
- statusStr (val) {
|
|
|
+ statusStr (status, type) {
|
|
|
+ let val = status
|
|
|
switch (val) {
|
|
|
case '':
|
|
|
return '待提交'
|
|
|
@@ -568,13 +560,21 @@
|
|
|
return '复审未通过'
|
|
|
case '3':
|
|
|
return '待专业处室分办'
|
|
|
+ case '-3':
|
|
|
+ return '专业处室分办未通过'
|
|
|
case '4':
|
|
|
return '待专业处室审批'
|
|
|
case '-4':
|
|
|
return '专业处室审批未通过'
|
|
|
case '5':
|
|
|
+ if (type === '3') {
|
|
|
+ return '待企管法规处审批'
|
|
|
+ }
|
|
|
return '待集中评审'
|
|
|
case '-5':
|
|
|
+ if (type === '3') {
|
|
|
+ return '企管法规处审批通过'
|
|
|
+ }
|
|
|
return '集中评审未通过'
|
|
|
case '6':
|
|
|
return '待交费'
|
|
|
@@ -585,9 +585,9 @@
|
|
|
case '9':
|
|
|
return '未通过'
|
|
|
case '10':
|
|
|
- return '待分办'
|
|
|
+ return '待二级单位分办'
|
|
|
case '-10':
|
|
|
- return '分办未通过'
|
|
|
+ return '二级单位分办未通过'
|
|
|
case '11':
|
|
|
return '审核完成'
|
|
|
default:
|