|
|
|
@ -307,8 +307,8 @@
|
|
|
|
|
}
|
|
|
|
|
// 获取表单设置数据
|
|
|
|
|
const getFormSet = (v) => {
|
|
|
|
|
return
|
|
|
|
|
GetFormSetInfoByModule({ permissionId: permissionsInfo('/BookingDetail').permissionId, formNo: 10, taskStatus: route.query.status || v || 'NORMAL' }).then(res => {
|
|
|
|
|
const postData = { permissionId: permissionsInfo('/BookingDetail').permissionId, formNo: 10, taskStatus: route.query.status || 'NORMAL' }
|
|
|
|
|
GetFormSetInfoByModule(postData).then(res => {
|
|
|
|
|
const { data } = res
|
|
|
|
|
if (data && data.id) {
|
|
|
|
|
const content = JSON.parse(data.content).columns
|
|
|
|
@ -334,12 +334,12 @@
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
console.log(content)
|
|
|
|
|
// 存在修改实则表单规则
|
|
|
|
|
OtherInfo.value.updateSchema(content)
|
|
|
|
|
RefbasicInfo.value.updateSchema(content)
|
|
|
|
|
RefmailingInfo.value.updateSchemaL(content)
|
|
|
|
|
RefmailingInfo.value.updateSchemaR(content)
|
|
|
|
|
RefcargoInfo.value.updateSchema(content)
|
|
|
|
|
// 搞清楚异步组件渲染后回调后替换这里
|
|
|
|
|
setTimeout(() => {
|
|
|
|
|
if (RefcargoInfo.value) {
|
|
|
|
|