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" />
</a-form-item>
</a-col>
</a-row>
<a-row :gutter="24">
<a-col :md="4" :sm="4">
<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-col :md="16" :sm="5">
<a-form-item label="关键词">
<a-input placeholder="请输入搜索关键词" v-model="queryParam.massKey"></a-input>
</a-form-item>
@ -123,7 +114,6 @@ import moment from 'moment';
import tablelist from '../../data/modules/tablelist.vue'
import exptable from '../../data/modules/exptable.vue'
import editdataseach from '../../data/modules/editdataseach.vue'
import {idcTableTaglist} from "@api/tag";
export default {
name: "metadata",
@ -152,7 +142,6 @@ export default {
//
queryParam: {
sourceType: 2,
tagId: null,
massKey: null,
mdl: null, //
hn: null, //
@ -163,18 +152,12 @@ export default {
pageSize: 10,
pageNum: 1
},
tagqueryParam: {
pageNum: 1,
pageSize: 20,
tagName: ""
},
treeDate: [],
dataSource: [],
columns: [],
dataTypeList: [],
shipModel: [],
shipNumber: [],
datatagSources: [],
existingDataTypes: {},
treeHeight: 0
}
@ -194,8 +177,7 @@ export default {
created() {
this.getselect()
this.queryAllTask()
this.getdatatagSources()
// this.initDate()
// this.initDate()
},
methods: {
queryAllTask() {
@ -236,16 +218,6 @@ export default {
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) {
this.queryParam.shipModel = value
var number = Object.keys(this.existingDataTypes[value])

View File

@ -61,8 +61,8 @@
</a-row>
<a-row :gutter="24">
<a-col :md="4" :sm="4">
<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-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>