Compare commits

..

No commits in common. "1b158f81d76ee7545ef12ab3d45a1c12db2638f1" and "817b479a9410c0eab1df497b27b8b6720a877ff4" have entirely different histories.

2 changed files with 5 additions and 33 deletions

View File

@ -58,19 +58,10 @@
format="YYYY-MM-DD HH:mm:ss" @change="onChangeTime" /> format="YYYY-MM-DD HH:mm:ss" @change="onChangeTime" />
</a-form-item> </a-form-item>
</a-col> </a-col>
</a-row> </a-row>
<a-row :gutter="24"> <a-row :gutter="24">
<a-col :md="4" :sm="4"> <a-col :md="16" :sm="5">
<a-form-item label="编目文字" :label-col="{ span: 10 }" :wrapper-col="{ span: 14 }">
<a-select placeholder="选择编目文字" option-filter-prop="children" @change="getMetaDataTypeTree" v-model="queryParam.tagId">
<a-select-option v-for="d in datatagSources" :key="d.id">
{{ d.tagName }}
</a-select-option>
</a-select>
</a-form-item>
</a-col>
<a-col :md="12" :sm="5">
<a-form-item label="关键词"> <a-form-item label="关键词">
<a-input placeholder="请输入搜索关键词" v-model="queryParam.massKey"></a-input> <a-input placeholder="请输入搜索关键词" v-model="queryParam.massKey"></a-input>
</a-form-item> </a-form-item>
@ -123,7 +114,6 @@ import moment from 'moment';
import tablelist from '../../data/modules/tablelist.vue' import tablelist from '../../data/modules/tablelist.vue'
import exptable from '../../data/modules/exptable.vue' import exptable from '../../data/modules/exptable.vue'
import editdataseach from '../../data/modules/editdataseach.vue' import editdataseach from '../../data/modules/editdataseach.vue'
import {idcTableTaglist} from "@api/tag";
export default { export default {
name: "metadata", name: "metadata",
@ -152,7 +142,6 @@ export default {
// //
queryParam: { queryParam: {
sourceType: 2, sourceType: 2,
tagId: null,
massKey: null, massKey: null,
mdl: null, // mdl: null, //
hn: null, // hn: null, //
@ -163,18 +152,12 @@ export default {
pageSize: 10, pageSize: 10,
pageNum: 1 pageNum: 1
}, },
tagqueryParam: {
pageNum: 1,
pageSize: 20,
tagName: ""
},
treeDate: [], treeDate: [],
dataSource: [], dataSource: [],
columns: [], columns: [],
dataTypeList: [], dataTypeList: [],
shipModel: [], shipModel: [],
shipNumber: [], shipNumber: [],
datatagSources: [],
existingDataTypes: {}, existingDataTypes: {},
treeHeight: 0 treeHeight: 0
} }
@ -194,8 +177,7 @@ export default {
created() { created() {
this.getselect() this.getselect()
this.queryAllTask() this.queryAllTask()
this.getdatatagSources() // this.initDate()
// this.initDate()
}, },
methods: { methods: {
queryAllTask() { queryAllTask() {
@ -236,16 +218,6 @@ export default {
option.componentOptions.children[0].text.toLowerCase().indexOf(input.toLowerCase()) >= 0 option.componentOptions.children[0].text.toLowerCase().indexOf(input.toLowerCase()) >= 0
); );
}, },
getdatatagSources() {
idcTableTaglist(this.tagqueryParam).then((res) => {
if (res.success) {
this.datatagSources = res.result.records;
this.queryParam.tagId = res.result.records[0].id;
} else {
this.$message.warning(res.message);
}
});
},
changeshipModel(value) { changeshipModel(value) {
this.queryParam.shipModel = value this.queryParam.shipModel = value
var number = Object.keys(this.existingDataTypes[value]) var number = Object.keys(this.existingDataTypes[value])

View File

@ -61,8 +61,8 @@
</a-row> </a-row>
<a-row :gutter="24"> <a-row :gutter="24">
<a-col :md="4" :sm="4"> <a-col :md="4" :sm="4">
<a-form-item label="编目文字" :label-col="{ span: 10 }" :wrapper-col="{ span: 14 }"> <a-form-item label="标签类型" :label-col="{ span: 10 }" :wrapper-col="{ span: 14 }">
<a-select placeholder="选择编目文字" option-filter-prop="children" @change="getMetaDataTypeTree" v-model="queryParam.tagId"> <a-select placeholder="选择标签类型" option-filter-prop="children" @change="getMetaDataTypeTree" v-model="queryParam.tagId">
<a-select-option v-for="d in datatagSources" :key="d.id"> <a-select-option v-for="d in datatagSources" :key="d.id">
{{ d.tagName }} {{ d.tagName }}
</a-select-option> </a-select-option>