[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, hasNavBar: true,
hasBack: true hasBack: true
}, },
component: () => import('@/views/workCenter/permissionApplicationProcess/permissionApplicationProcess') component: () => import('@/views/workCenter/permissionApplicationProcess/PermissionApplicationProcess')
}, },
// 标准宣贯流程(没有节点移动端需要显示,直接跳转noMobile) // 标准宣贯流程(没有节点移动端需要显示,直接跳转noMobile)
{ {
@@ -370,7 +370,7 @@ export default {
}) })
}, },
goBack () { goBack () {
// this.$router.go(-1) this.$router.go(-1)
} }
} }
} }
@@ -434,7 +434,7 @@ export default {
this.$message(this.$t('toPcLook')) this.$message(this.$t('toPcLook'))
}, },
goBack () { goBack () {
// this.$router.go(-1) this.$router.go(-1)
} }
} }
} }
@@ -416,7 +416,7 @@ export default {
}) })
}, },
goBack () { goBack () {
// this.$router.go(-1) this.$router.go(-1)
} }
} }
} }
@@ -369,7 +369,7 @@ export default {
}) })
}, },
goBack () { goBack () {
// this.$router.go(-1) this.$router.go(-1)
} }
} }
} }
@@ -49,6 +49,10 @@
autosize autosize
rows="1" rows="1"
v-model="baseInfoForm.userDictText" /> v-model="baseInfoForm.userDictText" />
<van-field
:border="false"
readonly
:label="$t('permissionApplicationProcess.applyForPermission')"/>
<a-table <a-table
bordered bordered
row-key="id" row-key="id"
@@ -149,7 +153,30 @@ export default {
loading: false, loading: false,
// 表格加载 // 表格加载
tableLoading: 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: [], dataSource: [],
processKey: ProcessKey.PERMISSION_APPLY.value, processKey: ProcessKey.PERMISSION_APPLY.value,
rules: { rules: {
@@ -186,6 +213,8 @@ export default {
// 获取业务数据 // 获取业务数据
getPermissionApplyDataById({ projectId }).then(res => { getPermissionApplyDataById({ projectId }).then(res => {
if (res.success) { if (res.success) {
const data = res.result || {}
this.dataSource = data.lawsEnterpriseStandardList || []
this.baseInfoForm = res.result || {} this.baseInfoForm = res.result || {}
console.log(this.baseInfoForm) console.log(this.baseInfoForm)
} }
@@ -326,7 +355,7 @@ export default {
}) })
}, },
goBack () { goBack () {
// this.$router.go(-1) this.$router.go(-1)
} }
}, },
// 组件内路由拦截 // 组件内路由拦截