|
@@ -2,11 +2,11 @@
|
|
|
<div>
|
|
|
<crumbs title="独立标签维护">
|
|
|
<el-form :inline="true" class="demo-form-inline">
|
|
|
- <!--<el-form-item label="标签类型:">
|
|
|
- <el-select size="mini" v-model="filter.tagType[0]" placeholder="标签类型" clearable>
|
|
|
+ <el-form-item label="标签类型:">
|
|
|
+ <el-select size="mini" v-model="filter.controlType[0]" placeholder="标签类型" clearable>
|
|
|
<el-option v-for="item in tagTypes" :label="item.name" :value="item.val" :key="item.id"></el-option>
|
|
|
</el-select>
|
|
|
- </el-form-item>-->
|
|
|
+ </el-form-item>
|
|
|
<el-form-item label="标签归属:">
|
|
|
<el-select size="mini" v-model="filter.tagAdscription" @change="getValue" placeholder="标签归属" clearable>
|
|
|
<el-option v-if="item.val!=6&&item.val!=7&&item.val!=8&&item.val!=9" v-for="item in Adscriptions" :label="item.name" :value="item.val" :key="item.id" ></el-option>
|
|
@@ -102,8 +102,10 @@
|
|
|
list: [],
|
|
|
tagTypes: [],
|
|
|
Adscriptions: [],
|
|
|
+ tagTypesList:[],
|
|
|
filter: {
|
|
|
tagType: [], //标签类型
|
|
|
+ controlType: [],
|
|
|
tagAdscription: '', //标签归属
|
|
|
tagSysName: '', //标签系统名称
|
|
|
},
|
|
@@ -124,10 +126,10 @@
|
|
|
},
|
|
|
getDropList() {
|
|
|
return api.getDropList().then((res) =>{
|
|
|
- console.log('dropList', res)
|
|
|
if(res.data.code === '0') {
|
|
|
this.Adscriptions = res.data.data[1];
|
|
|
this.tagTypes = res.data.data[6];
|
|
|
+
|
|
|
}
|
|
|
|
|
|
})
|
|
@@ -190,7 +192,8 @@
|
|
|
current: this.currentPage,
|
|
|
size: this.pageSize,
|
|
|
type: this.filter.tagAdscription,
|
|
|
- tagName: this.filter.tagSysName
|
|
|
+ tagName: this.filter.tagSysName,
|
|
|
+ controlTypeList: this.filter.controlType
|
|
|
};
|
|
|
return param;
|
|
|
},
|