[update] 流程完善
This commit is contained in:
@@ -148,7 +148,7 @@ export default [
|
||||
hasNavBar: true,
|
||||
hasBack: true
|
||||
},
|
||||
component: () => import('@/views/workCenter/permissionApplicationProcess/permissionApplicationProcess')
|
||||
component: () => import('@/views/workCenter/permissionApplicationProcess/PermissionApplicationProcess')
|
||||
},
|
||||
// 标准宣贯流程(没有节点移动端需要显示,直接跳转noMobile)
|
||||
{
|
||||
|
||||
+1
-1
@@ -370,7 +370,7 @@ export default {
|
||||
})
|
||||
},
|
||||
goBack () {
|
||||
// this.$router.go(-1)
|
||||
this.$router.go(-1)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -434,7 +434,7 @@ export default {
|
||||
this.$message(this.$t('toPcLook'))
|
||||
},
|
||||
goBack () {
|
||||
// this.$router.go(-1)
|
||||
this.$router.go(-1)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -416,7 +416,7 @@ export default {
|
||||
})
|
||||
},
|
||||
goBack () {
|
||||
// this.$router.go(-1)
|
||||
this.$router.go(-1)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -369,7 +369,7 @@ export default {
|
||||
})
|
||||
},
|
||||
goBack () {
|
||||
// this.$router.go(-1)
|
||||
this.$router.go(-1)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+39
-10
@@ -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)
|
||||
}
|
||||
},
|
||||
// 组件内路由拦截
|
||||
Reference in New Issue
Block a user