diff --git a/src/views/DataAnalyse/components/diagram/newSearch.vue b/src/views/DataAnalyse/components/diagram/newSearch.vue index dc0fc62a..4dec0bd9 100644 --- a/src/views/DataAnalyse/components/diagram/newSearch.vue +++ b/src/views/DataAnalyse/components/diagram/newSearch.vue @@ -717,10 +717,10 @@ const getFilterData = () => { } // 发布方式 if (!filterData.value?.id) { - for (let i = 0; i < publish_types.value.length; i++) { - const el = publish_types.value[i] - fData.publishVal.push(el.value) - } + // for (let i = 0; i < publish_types.value.length; i++) { + // const el = publish_types.value[i] + // fData.publishVal.push(el.value) + // } } else { if (filterData.value?.publish_type) { console.log('filterData.value?.publish_type', filterData.value) @@ -1103,9 +1103,10 @@ const clearInfo = (type) => { // }) searchData.value.versions = [] // 发布方式 - publish_types.value.map((el) => { - searchData.value.publishVal.push(el.value) - }) + // publish_types.value.map((el) => { + // searchData.value.publishVal.push(el.value) + // }) + searchData.value.publishVal = [] // 作答状态 searchData.value.answerStatus = ['1'] // 标记状态 @@ -1254,7 +1255,7 @@ watch ( } } ) -// 默认全选 +// 默认全选版本号 // watch( // () => versions.value, // (nval) => { @@ -1266,18 +1267,18 @@ watch ( // } // } // ) -// 默认全选 -watch( - () => publish_types.value, - (nval) => { - if (filterData.value?.id) return - searchData.value.publishVal.length = 0 - for (let i = 0; i < nval.length; i++) { - const el = nval[i] - searchData.value.publishVal.push(el.value) - } - } -) +// 默认全选发布方式 +// watch( +// () => publish_types.value, +// (nval) => { +// if (filterData.value?.id) return +// searchData.value.publishVal.length = 0 +// for (let i = 0; i < nval.length; i++) { +// const el = nval[i] +// searchData.value.publishVal.push(el.value) +// } +// } +// ) // 默认全选 watch( () => logics.value, diff --git a/src/views/DataAnalyse/diagram/components/DiagramTableFile.vue b/src/views/DataAnalyse/diagram/components/DiagramTableFile.vue index dc638dcf..073a2dae 100644 --- a/src/views/DataAnalyse/diagram/components/DiagramTableFile.vue +++ b/src/views/DataAnalyse/diagram/components/DiagramTableFile.vue @@ -89,10 +89,10 @@ export default defineComponent({ const tableSource = ref([]); const columns = ref([ { - title: "序号", + title: "样本编码", key: "index", dataIndex: "index", - width: 50, + width: 100, // align: "center", }, {