|
@@ -117,6 +117,7 @@ const submitHandler = async () => {
|
|
|
}
|
|
|
const res = await process.progressCreateApi(params)
|
|
|
console.log('---r-e-s----', res)
|
|
|
+ ElMessage.success('操作成功')
|
|
|
// 创建完成 删除 当前tab页
|
|
|
removeCurTab()
|
|
|
}
|
|
@@ -138,10 +139,10 @@ const validateTabs = async () => {
|
|
|
}
|
|
|
await _validate().catch(e => {
|
|
|
activeTab.value = componentsArr[i].label
|
|
|
- // 表单设计 额外 弹窗
|
|
|
- // if (activeTab.value === '表单设计') {
|
|
|
- // ElMessage.error(`表单设计中字段ID不能重复,请确认唯一值`)
|
|
|
- // }
|
|
|
+ /*// 表单设计 额外 弹窗
|
|
|
+ if (activeTab.value === '表单设计') {
|
|
|
+ ElMessage.error(`表单设计中字段ID不能重复,请确认唯一值`)
|
|
|
+ }*/
|
|
|
bool = false
|
|
|
})
|
|
|
if (!bool) return false
|
|
@@ -170,7 +171,6 @@ const activeComponent = index => {
|
|
|
const queryObj = computed(() => route.query)
|
|
|
|
|
|
const getCurrentProcessDetailEv = () => {
|
|
|
- // console.error('api 请求')
|
|
|
let _id = queryObj.value.id
|
|
|
if (_id) {
|
|
|
cache_components.value = {}
|