[update] 流程完善

This commit is contained in:
danshihao
2023-12-21 10:43:37 +08:00
parent 72baeb0f9f
commit 4f8b019e9b
6 changed files with 44 additions and 15 deletions
+1 -1
View File
@@ -148,7 +148,7 @@ export default [
hasNavBar: true,
hasBack: true
},
component: () => import('@/views/workCenter/permissionApplicationProcess/permissionApplicationProcess')
component: () => import('@/views/workCenter/permissionApplicationProcess/PermissionApplicationProcess')
},
// 标准宣贯流程(没有节点移动端需要显示,直接跳转noMobile)
{
@@ -370,7 +370,7 @@ export default {
})
},
goBack () {
// this.$router.go(-1)
this.$router.go(-1)
}
}
}
@@ -434,7 +434,7 @@ export default {
this.$message(this.$t('toPcLook'))
},
goBack () {
// this.$router.go(-1)
this.$router.go(-1)
}
}
}
@@ -416,7 +416,7 @@ export default {
})
},
goBack () {
// this.$router.go(-1)
this.$router.go(-1)
}
}
}
@@ -369,7 +369,7 @@ export default {
})
},
goBack () {
// this.$router.go(-1)
this.$router.go(-1)
}
}
}
@@ -49,14 +49,18 @@
autosize
rows="1"
v-model="baseInfoForm.userDictText" />
<a-table
bordered
row-key="id"
:scroll="{x:'100%', y: '50vh'}"
:columns="columns"
:data-source="dataSource"
:pagination="false"
></a-table>
<van-field
:border="false"
readonly
:label="$t('permissionApplicationProcess.applyForPermission')"/>
<a-table
bordered
row-key="id"
:scroll="{x:'100%', y: '50vh'}"
:columns="columns"
:data-source="dataSource"
:pagination="false"
></a-table>
<!-- 授权到期日期 -->
<van-field
:label="$t('permissionApplicationProcess.authExpirationDate')"
@@ -149,7 +153,30 @@ export default {
loading: false,
//
tableLoading: false,
columns: [],
columns: [
{
title: this.$t('serialNumber'),
dataIndex: '',
key: 'rowIndex',
align: 'center',
width: 50,
customRender: function (t, r, index) {
return parseInt(index) + 1
}
},
{ //
title: this.$t('permissionApplicationProcess.esNumber'),
align: 'center',
width: 140,
dataIndex: 'standardNumber'
},
{ //
title: this.$t('permissionApplicationProcess.esName'),
align: 'center',
width: 140,
dataIndex: 'standardName'
}
],
dataSource: [],
processKey: ProcessKey.PERMISSION_APPLY.value,
rules: {
@@ -186,6 +213,8 @@ export default {
//
getPermissionApplyDataById({ projectId }).then(res => {
if (res.success) {
const data = res.result || {}
this.dataSource = data.lawsEnterpriseStandardList || []
this.baseInfoForm = res.result || {}
console.log(this.baseInfoForm)
}
@@ -326,7 +355,7 @@ export default {
})
},
goBack () {
// this.$router.go(-1)
this.$router.go(-1)
}
},
//