Merge branch 'hi-ucs-dev' of http://192.168.124.50:3000/wuhongjian/hi-ucs into hi-ucs-dev

This commit is contained in:
wuhongjian 2022-10-13 21:41:01 +08:00
commit 7210d77314
2 changed files with 12 additions and 13 deletions

View File

@ -16,18 +16,17 @@
</el-transfer>
</div>
<div v-else-if="type==='数据资源'" class="dataTransfer">
<el-transfer v-model="selectedArray" filter-placeholder="请输入名称"
<el-transfer v-model="selectedArray" filterable :filter-method="filterMethod" filter-placeholder="请输入名称"
:titles="nameArray" :props="{
key: 'id',
label: 'name',
}" :data="transferData"
@change="handleChange">
}" :data="transferData">
</el-transfer>
<el-input
<!-- <el-input
v-model="searchValue"
placeholder="请输入名称"
></el-input>
<el-button @click="rest" class="restClick">重置</el-button>
<el-button @click="rest" class="restClick">重置</el-button> -->
</div>
<el-pagination
v-if="type==='数据资源'"
@ -314,7 +313,7 @@ export default {
return item.name && item.name.indexOf(query) > -1
},
confirmSubmitHandle () {
debugger
console.log('tttttt',this.selectedArray)
if(this.type === "数据资源"){
//
let selectedObjectList = [];
@ -494,7 +493,7 @@ export default {
position: absolute;
font-size: 14px;
display: inline-block;
width: 30%;
width: 80%;
top: 52px;
left: 12px;
}

View File

@ -205,16 +205,16 @@
res.data.data.map((item) => {
switch (item.type) {
case '应用资源':
dataLists.value[1] = item
break
case '业务组件':
dataLists.value[0] = item
break
case '业务组件':
dataLists.value[3] = item
break
case '图层服务':
dataLists.value[2] = item
dataLists.value[1] = item
break
case '开发组件':
dataLists.value[3] = item
dataLists.value[2] = item
break
case '智能算法':
dataLists.value[4] = item