Merge branch 'hi-ucs-dev' of http://15.2.21.221:3000/wuhongjian/hi-ucs into hi-ucs-dev
This commit is contained in:
commit
2905416d07
|
@ -2,7 +2,7 @@
|
|||
* @Author: hisense.liangjunhua
|
||||
* @Date: 2022-06-13 10:22:27
|
||||
* @LastEditors: hisense.liangjunhua
|
||||
* @LastEditTime: 2022-07-19 18:34:53
|
||||
* @LastEditTime: 2022-07-19 19:29:48
|
||||
* @Description: 算法上架
|
||||
-->
|
||||
<template>
|
||||
|
@ -101,7 +101,10 @@
|
|||
<div class="btn" :class="showView === '基本信息' ? 'first' : ''">
|
||||
<button @click="close()">取消</button>
|
||||
<a-popconfirm
|
||||
v-if="showView == '算法优势'"
|
||||
v-if="
|
||||
showView == '算法优势' &&
|
||||
sfys[0].list.filter((val) => val.note1 !== '').length > 0
|
||||
"
|
||||
title="如果信息未填写完整将会被丢弃,是否返回上一步?"
|
||||
ok-text="是"
|
||||
cancel-text="否"
|
||||
|
@ -111,7 +114,10 @@
|
|||
<button>上一步</button>
|
||||
</a-popconfirm>
|
||||
<a-popconfirm
|
||||
v-else-if="showView == '应用场景'"
|
||||
v-else-if="
|
||||
showView == '应用场景' &&
|
||||
yycj[0].list.filter((val) => val.note1 !== '').length > 0
|
||||
"
|
||||
title="如果信息未填写完整将会被丢弃,是否返回上一步?"
|
||||
ok-text="是"
|
||||
cancel-text="否"
|
||||
|
@ -127,7 +133,10 @@
|
|||
预览
|
||||
</button>
|
||||
<a-popconfirm
|
||||
v-if="showView == '算法优势'"
|
||||
v-if="
|
||||
showView == '算法优势' &&
|
||||
sfys[0].list.filter((val) => val.note1 !== '').length > 0
|
||||
"
|
||||
title="如果信息未填写完整将会被丢弃,是否进行下一步?"
|
||||
ok-text="是"
|
||||
cancel-text="否"
|
||||
|
@ -137,7 +146,10 @@
|
|||
<button>下一步</button>
|
||||
</a-popconfirm>
|
||||
<a-popconfirm
|
||||
v-else-if="showView == '应用场景'"
|
||||
v-else-if="
|
||||
showView == '应用场景' &&
|
||||
yycj[0].list.filter((val) => val.note1 !== '').length > 0
|
||||
"
|
||||
title="如果信息未填写完整将会被丢弃,是否进行下一步?"
|
||||
ok-text="是"
|
||||
cancel-text="否"
|
||||
|
@ -149,7 +161,23 @@
|
|||
<button v-else-if="showView !== '部署与使用'" @click="next()">
|
||||
下一步
|
||||
</button>
|
||||
<button v-show="showView === '部署与使用'" @click="changeBs()">
|
||||
<a-popconfirm
|
||||
v-if="
|
||||
showView === '部署与使用' &&
|
||||
(bs[0].list.filter(
|
||||
(val) => val.note1 !== '' && val.name !== '计费方式'
|
||||
).length > 0 ||
|
||||
bs[1].list.filter((val) => val.note1 !== '').length > 0)
|
||||
"
|
||||
title="如果信息未填写完整将会被丢弃,是否进行下一步?"
|
||||
ok-text="是"
|
||||
cancel-text="否"
|
||||
@confirm="changeBs('提交')"
|
||||
@cancel="cancel"
|
||||
>
|
||||
<button>提交</button>
|
||||
</a-popconfirm>
|
||||
<button v-else-if="showView === '部署与使用'" @click="submit()">
|
||||
提交
|
||||
</button>
|
||||
</div>
|
||||
|
@ -399,7 +427,7 @@
|
|||
// 特殊字段处理
|
||||
const refPutOnTheShelf = ref(null)
|
||||
const changeSfys = (type) => {
|
||||
console.log(refPutOnTheShelf)
|
||||
console.log(refPutOnTheShelf, sfys.value)
|
||||
refPutOnTheShelf.value.add('算法优势', true, type)
|
||||
}
|
||||
const changeYycj = (type) => {
|
||||
|
|
Loading…
Reference in New Issue