审核流程显示问题调试
This commit is contained in:
parent
4ee7ac5f93
commit
dc78c42495
|
|
@ -100,9 +100,9 @@
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
:class="{
|
:class="{
|
||||||
highlight: index < currentCheckIndex && item.isResult,
|
highlight: index < currentCheckIndex,
|
||||||
normal: index > currentCheckIndex,
|
normal: index > currentCheckIndex,
|
||||||
currentLight: index === currentCheckIndex || (index === currentCheckIndex - 1 && !item.isResult),
|
currentLight: index === currentCheckIndex,
|
||||||
}"
|
}"
|
||||||
>
|
>
|
||||||
{{ item.checkPerson }} (
|
{{ item.checkPerson }} (
|
||||||
|
|
@ -113,8 +113,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- <div :class="styleByType(item)">
|
<!-- <div :class="styleByType(item)">
|
||||||
{{ item.checkPerson }} (
|
{{ item.name }} ( {{ item.examineType === '0' ? '依次' : item.examineType === '1' ? '会签' : '或签' }})
|
||||||
{{ item.examineType === '0' ? '依次' : item.examineType === '1' ? '会签' : '或签' }})
|
|
||||||
<span style="margin-left: 15px; font-size: 20px; font-weight: bold">
|
<span style="margin-left: 15px; font-size: 20px; font-weight: bold">
|
||||||
{{ index < currentCheckIndex && item.isResult ? '√' : currentCheckIndex === index ? '?' : '?' }}
|
{{ index < currentCheckIndex && item.isResult ? '√' : currentCheckIndex === index ? '?' : '?' }}
|
||||||
</span>
|
</span>
|
||||||
|
|
@ -339,17 +338,17 @@ export default {
|
||||||
|
|
||||||
// 审批状态
|
// 审批状态
|
||||||
auditingType(item) {
|
auditingType(item) {
|
||||||
if (item.status === '未审核') return '未审核'
|
if (item.status === '未审核' || item.status == '') return '未审核'
|
||||||
if (item.status === '已审核' && (item.agree == 1 || item.agree == 3)) return '审核通过'
|
if (item.status === '已审核' && (item.agree == 1 || item.agree == 3)) return '审核通过'
|
||||||
if (item.status === '已审核' && item.agree == 2) return '审核驳回'
|
if (item.status === '已审核' && item.agree == 2) return '审核驳回'
|
||||||
if (item.status === '已审核' && (item.agree == 4 || item.agree == null)) return '撤回'
|
if (item.status === '已审核' && (item.agree == 4 || item.agree == null)) return '撤回'
|
||||||
},
|
},
|
||||||
|
|
||||||
// 根据审核状态以及审核结果添加样式
|
// 根据审核状态以及审核结果添加样式
|
||||||
// styleByType(item) {
|
styleByType(item) {
|
||||||
// console.log('item修改样式', item)
|
console.log('item修改样式', item)
|
||||||
// if (item.status === '未审核') return 'currentLight'
|
if (item.status === '未审核') return 'currentLight'
|
||||||
// },
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
|
||||||
|
|
@ -40,8 +40,8 @@ module.exports = {
|
||||||
// target: 'http://192.168.0.58:19090', // 杰
|
// target: 'http://192.168.0.58:19090', // 杰
|
||||||
// target: 'http://192.168.0.14:18080', // 测试环境
|
// target: 'http://192.168.0.14:18080', // 测试环境
|
||||||
// target: 'http://218.21.27.6:1999/prod-api', // 生产环境
|
// target: 'http://218.21.27.6:1999/prod-api', // 生产环境
|
||||||
target: 'http://192.168.0.38:18080', // 郝志权
|
// target: 'http://192.168.0.38:18080', // 郝志权
|
||||||
// target: 'http://192.168.2.125:18080', // 梁超
|
target: 'http://192.168.2.125:18080', // 梁超
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
pathRewrite: {
|
pathRewrite: {
|
||||||
['^' + process.env.VUE_APP_BASE_API]: '',
|
['^' + process.env.VUE_APP_BASE_API]: '',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue