Commit 81ad4137 authored by ztf's avatar ztf

修改选择项目代号组件和接口单-终止组件代码

parent b1173def
......@@ -10,7 +10,7 @@
>
<el-option
v-for="item in projectCodeOptions"
:key="item.parentKey"
:key="item.dictKey"
:label="item.label"
:value="item.value"
/>
......@@ -30,7 +30,6 @@ export default {
}
},
mounted() {
console.log('开始获取数据了')
this.getProjectCodeList()
},
methods: {
......@@ -56,16 +55,14 @@ export default {
}
}
post('/DictData/search', params).then((res) => {
console.log('请求了')
if (res.items.content.length) {
this.projectCodeOptions = res.items.content.map((row) => {
return {
value: row.dictKey,
label: row.dictValue,
parentKey: row.parentKey
dictKey: row.dictKey
}
})
console.log(' this.projectCodeOptions', this.projectCodeOptions)
}
})
},
......
......@@ -2,7 +2,7 @@
* @Author: zhangtianfeng 3232807530@qq.com
* @Date: 2024-08-13 16:59:49
* @LastEditors: zhangtianfeng 3232807530@qq.com
* @LastEditTime: 2024-08-14 20:01:08
* @LastEditTime: 2024-08-19 17:00:52
-->
<template>
<div class="TerminateInternalInterface">
......@@ -13,7 +13,6 @@
typeName: 'ExtInterface',
layKey: 'Terminate-internalInterface'
}"
@selectionChange="selectionChange"
/>
<div class="btns">
<el-button type="primary" class="submitBTN" :disabled="!isDisable" @click="tosubmit">确定</el-button>
......@@ -64,21 +63,11 @@ export default {
post(`/ExtAuditObject/recursion`, params).then(res => {
// this.btnLoading = false
this.$utils.showMessageSuccess('操作成功!')
// this.$emit('completeEven')
// this.handleClose()
}).catch(() => {
this.btnLoading = false
})
// const source = this.$parent.$parent.$parent.$parent.basicData
// const params = this.selections.map(r => {
// return {
// source: source,
// operator: 'ADD',
// target: r
// }
// })
// post('ExtAuditObject/recursions', params).then(res => {
// this.$emit('completeEven')
// })
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment