+
-
- {{ item.approveLevel | filterName }}
{{ item.modifiedDate }}
+
+ {{ item.approveLevel | filterName }}
{{ item.modifiedDate }}
{{ item.approveStatus | statusFormat(approveStatus, approveResult) }}{{ item | statusFormat(item) }}
+
{{ item.urgeStatus | filterUrgeStatus }}{{ item.urgeStatus | filterUrgeStatus }}
点击查看原因点击查看原因
+
@@ -87,7 +90,8 @@ export default {
return {
allowanceNo: this.$route.query.allowanceNo,
approveMapping: [], //审批流程链
- ebizExamineApproveDtoList: [] //历史审批信息链
+ ebizExamineApproveDtoList: [], //历史审批信息链
+ createdDate:''
}
},
components: {
@@ -113,6 +117,7 @@ export default {
that.$toast.clear()
if (res.result == '0') {
that.approveMapping = res.content
+ that.createdDate = that.approveMapping[0].createdDate
} else {
this.$toast(res.resultMessage)
}
@@ -134,8 +139,8 @@ export default {
className: 'dialog-check',
title: '*驳回原因',
message: approveMsg,
- confirmButtonText:'去修改',
- cancelButtonText:'关闭'
+ confirmButtonText: '去修改',
+ cancelButtonText: '关闭'
// cancelButtonColor: '#E9332E',
// confirmButtonColor: '#FFFFFF'
})
@@ -147,11 +152,12 @@ export default {
},
routerInfo: {
path: `/allowance/application/BaseInfo?allowanceNo=${this.allowanceNo}`,
- edit:1
+ edit: 1
}
})
})
- .catch(() => {})
+ .catch(() => {
+ })
},
urgeFunc(approveLevel) {
approveUrge({
@@ -171,8 +177,10 @@ export default {
}
},
filters: {
- statusFormat(approveStatus, approveResult) {
+ statusFormat(item) {
let text
+ let approveStatus = item.approveStatus
+ let approveResult = item.approveResult
if (approveStatus == '1') {
text = '审批中'
} else if (approveStatus == '2') {
@@ -180,7 +188,7 @@ export default {
}
return text
},
- filterName: function (value) {
+ filterName: function(value) {
// A1--区经理 A2-- 四级机构负责人 A3--本部营销经理 A4--本部负责人
let text
switch (value) {
@@ -199,7 +207,7 @@ export default {
}
return text
},
- filterUrgeStatus: function (value) {
+ filterUrgeStatus: function(value) {
// 0--催办 1--已催办
let text
switch (value) {
@@ -216,113 +224,143 @@ export default {
}
-