diff --git a/src/views/integrationOptionV2/compoments/baseNewForm.vue b/src/views/integrationOptionV2/compoments/baseNewForm.vue
index 375a35a..6427303 100644
--- a/src/views/integrationOptionV2/compoments/baseNewForm.vue
+++ b/src/views/integrationOptionV2/compoments/baseNewForm.vue
@@ -80,8 +80,8 @@
>
{{ showValue }}
+ {{ showValue }}
+
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/integrationOptionV2/index.vue b/src/views/integrationOptionV2/index.vue
index 055952b..481c45c 100644
--- a/src/views/integrationOptionV2/index.vue
+++ b/src/views/integrationOptionV2/index.vue
@@ -2,38 +2,38 @@
{{ item.buttonName }}
@@ -41,24 +41,24 @@
@@ -69,15 +69,15 @@
@@ -86,16 +86,16 @@
{{ item.title }}
@@ -104,8 +104,8 @@
{{ sendDist[row.status] }}
@@ -285,7 +285,7 @@ export default {
// }
// })
//主表处理
- console.log(res,'res')
+ console.log(res, 'res')
res.attribute.listList.forEach(item => {
this.mainTableName = item.dbName
item.ruleList.forEach(ele => {
@@ -379,12 +379,12 @@ export default {
cancelButtonText: '取消',
type: 'warning'
})
- .then(() => {
- this.deleRowHanlde(row.id)
+ .then(() => {
+ this.deleRowHanlde(row.id)
- })
- .catch((error) => {
- })
+ })
+ .catch((error) => {
+ })
} else if (item.type === 'send') {
this.sendHandle(row.id)
}
@@ -453,15 +453,15 @@ export default {
cancelButtonText: '取消',
type: 'warning'
})
- .then(() => {
- this.dialogTabaleInfo[index].tableData.splice(row.index, 1)
- this.$message({
- type: 'success',
- message: '删除成功!'
- })
- })
- .catch((error) => {
+ .then(() => {
+ this.dialogTabaleInfo[index].tableData.splice(row.index, 1)
+ this.$message({
+ type: 'success',
+ message: '删除成功!'
})
+ })
+ .catch((error) => {
+ })
}
},
//dialog表格提交
@@ -532,7 +532,7 @@ export default {
searchHandle() {
let tempSearch = JSON.parse(JSON.stringify(this.searchForm))
Object.keys(tempSearch).forEach((key) => {
- tempSearch[key.split(".")[1]] = tempSearch[key]
+ tempSearch[key.split('.')[1]] = tempSearch[key]
})
console.log(tempSearch, 'tempSearch')
let obj = {}
@@ -594,24 +594,25 @@ export default {
showType: '4'
})
res.attribute.mainMdmModuleDb.sublistMdmModuleDbFileds.forEach(item => {
- item.mdmModuleDbFiledsRules.forEach(ele => {
- if (ele.ruleCode === 'required' || ele.ruleCode === 'disabled') {
- if (!ele.ruleValue) {
- item[ele.ruleCode] = false
- } else {
- item[ele.ruleCode] = JSON.parse(ele.ruleValue)
- }
+ item.mdmModuleDbFiledsRules.forEach(ele => {
+ if (ele.ruleCode === 'required' || ele.ruleCode === 'disabled') {
+ if (!ele.ruleValue) {
+ item[ele.ruleCode] = false
} else {
- item[ele.ruleCode] = ele.ruleValue
+ item[ele.ruleCode] = JSON.parse(ele.ruleValue)
}
+ } else {
+ item[ele.ruleCode] = ele.ruleValue
+ }
- item['id'] = item.enName
- })
- }
+ item['id'] = item.enName
+ })
+ }
)
this.dialogFormName = res.attribute.mainMdmModuleDb.dbName
this.formRow = []
this.baseFormRowDispose(res.attribute.mainMdmModuleDb.sublistMdmModuleDbFileds, this.formRow)
+ console.log(this.formRow, 'formRow')
//子表处理
this.dialogTabaleInfo = []
res.attribute.sublistMdmModuleDb.forEach(table => {
@@ -642,6 +643,10 @@ export default {
})
if (data.status === '200') {
this.ruleForm = data.attribute[this.mainTableName]
+ console.log(this.ruleForm,
+ '123'
+ )
+ console.log(this.ruleForm, this.mainTableName, data.attribute, '123')
this.dialogTabaleInfo.forEach(table => {
table.tableData = []
table.tableData = data.attribute[table.name]
@@ -699,6 +704,7 @@ export default {
}
this.dialogTabaleInfo.push({ ...tempObj })
})
+ console.log(this.dialogTabaleInfo,'dialogTabaleInfo')
//初始化数据
const data = await getUserModuleApi({
tl: 'mdmService',
@@ -714,6 +720,7 @@ export default {
table.tableData = []
table.tableData = data.attribute[table.name] || []
})
+ console.log(this.dialogTabaleInfo,'dialogTabaleInfo')
}
this.dialogShow = true
}
diff --git a/src/views/intergrationTask/taskAdd.vue b/src/views/intergrationTask/taskAdd.vue
index a931566..acbd69c 100644
--- a/src/views/intergrationTask/taskAdd.vue
+++ b/src/views/intergrationTask/taskAdd.vue
@@ -7,16 +7,16 @@
@@ -55,10 +55,10 @@
@@ -170,7 +173,8 @@
:formRow="mainOptionRow"
:ruleForm="mainOptionForm"
:labelPosition="'left'"
- @onSubmit="mainOptionOnSubmit">
+ @onSubmit="mainOptionOnSubmit"
+ >
@@ -186,15 +190,18 @@
:border="false"
:funData="receiptsFunData"
tableHeight="30vh"
- @onFunc="receiptsOnFunc">
+ @onFunc="receiptsOnFunc"
+ >
ruleTypeSeleceChangHandle(val,row)">
+ @change="(val)=>ruleTypeSeleceChangHandle(val,row)"
+ >
+ :value="item.value"
+ >
@@ -210,7 +217,8 @@
v-for="item in dateOptions"
:key="item.value"
:label="item.label"
- :value="item.value">
+ :value="item.value"
+ >
@@ -234,12 +242,12 @@