[update] 流程完善
This commit is contained in:
@@ -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)
|
||||||
{
|
{
|
||||||
|
|||||||
+1
-1
@@ -370,7 +370,7 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
goBack () {
|
goBack () {
|
||||||
// this.$router.go(-1)
|
this.$router.go(-1)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -416,7 +416,7 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
goBack () {
|
goBack () {
|
||||||
// this.$router.go(-1)
|
this.$router.go(-1)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -369,7 +369,7 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
goBack () {
|
goBack () {
|
||||||
// this.$router.go(-1)
|
this.$router.go(-1)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+39
-10
@@ -49,14 +49,18 @@
|
|||||||
autosize
|
autosize
|
||||||
rows="1"
|
rows="1"
|
||||||
v-model="baseInfoForm.userDictText" />
|
v-model="baseInfoForm.userDictText" />
|
||||||
<a-table
|
<van-field
|
||||||
bordered
|
:border="false"
|
||||||
row-key="id"
|
readonly
|
||||||
:scroll="{x:'100%', y: '50vh'}"
|
:label="$t('permissionApplicationProcess.applyForPermission')"/>
|
||||||
:columns="columns"
|
<a-table
|
||||||
:data-source="dataSource"
|
bordered
|
||||||
:pagination="false"
|
row-key="id"
|
||||||
></a-table>
|
:scroll="{x:'100%', y: '50vh'}"
|
||||||
|
:columns="columns"
|
||||||
|
:data-source="dataSource"
|
||||||
|
:pagination="false"
|
||||||
|
></a-table>
|
||||||
<!-- 授权到期日期 -->
|
<!-- 授权到期日期 -->
|
||||||
<van-field
|
<van-field
|
||||||
:label="$t('permissionApplicationProcess.authExpirationDate')"
|
:label="$t('permissionApplicationProcess.authExpirationDate')"
|
||||||
@@ -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)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 组件内路由拦截
|
// 组件内路由拦截
|
||||||
Reference in New Issue
Block a user