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 },