From 2976d41fdfcd6d956567e40d22164e7e391c8a3d Mon Sep 17 00:00:00 2001 From: zyn Date: Thu, 14 Sep 2023 14:35:04 +0800 Subject: [PATCH] =?UTF-8?q?pc=E7=AB=AF-=E6=90=9C=E7=B4=A2=E4=B8=AD?= =?UTF-8?q?=E5=BF=83-=E6=B7=BB=E5=8A=A0=E6=A0=87=E5=87=86=E4=BD=93?= =?UTF-8?q?=E7=B3=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/components/standSystemModel.vue | 104 ++++++++++++++++++ .../pages/components/standSystemTree.vue | 73 ++++++++++++ .../searchCenter/pages/standardSearch.vue | 24 ++++ 3 files changed, 201 insertions(+) create mode 100644 src/pages/searchCenter/pages/components/standSystemModel.vue create mode 100644 src/pages/searchCenter/pages/components/standSystemTree.vue diff --git a/src/pages/searchCenter/pages/components/standSystemModel.vue b/src/pages/searchCenter/pages/components/standSystemModel.vue new file mode 100644 index 000000000..bca169dad --- /dev/null +++ b/src/pages/searchCenter/pages/components/standSystemModel.vue @@ -0,0 +1,104 @@ + + + + + diff --git a/src/pages/searchCenter/pages/components/standSystemTree.vue b/src/pages/searchCenter/pages/components/standSystemTree.vue new file mode 100644 index 000000000..90ee9a199 --- /dev/null +++ b/src/pages/searchCenter/pages/components/standSystemTree.vue @@ -0,0 +1,73 @@ + + + + + diff --git a/src/pages/searchCenter/pages/standardSearch.vue b/src/pages/searchCenter/pages/standardSearch.vue index f093e2848..94d218194 100644 --- a/src/pages/searchCenter/pages/standardSearch.vue +++ b/src/pages/searchCenter/pages/standardSearch.vue @@ -89,6 +89,13 @@ +
+ 选择标准体系 + +
关闭 + @@ -349,6 +357,7 @@ import '../../../assets/zTree/js/jquery.ztree.exedit.js' // import deptTree from '../../processCenter/pages/components/deptTree' import {dateFormat} from '@/common/date' + import standSystemModel from "./components/standSystemModel"; export default { name: 'StandardSearch', filters: { @@ -362,6 +371,7 @@ }, data () { return { + standSystemKeys: [], selectType: '', externalStatus:'', itermsConditionsTitle1: '', @@ -502,7 +512,18 @@ } }, methods: { + openStandSystemModel () { + this.$refs.standSystemModelRef.open() + }, + setStandSystemKeys(standSystemKeys){ + this.standSystemKeys = standSystemKeys + this.searchSarBykey() + }, + resetStandSystemKeys () { + this.standSystemKeys = [] + }, searchClick(type) { + this.resetStandSystemKeys() this.selectType = type this.searchSarByInputKey() }, @@ -809,6 +830,7 @@ * @date: 2018/12/19 11:38:21 */ optChecked (key, value) { + this.resetStandSystemKeys() console.log(value) console.log(this.selectIndex) if (value === 'All') { @@ -1508,6 +1530,7 @@ condition.selectValue = '' } condition.selectType = this.selectType + condition.standSystem = this.standSystemKeys // 标准体系id this.$http.post('search/searchCenter/searchSarBykey', condition, { _this: this, loading: 'resultLoading' @@ -2661,6 +2684,7 @@ } }, components: { + standSystemModel, // deptTree, PersonalCenter },