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

View File

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