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