diff --git a/src/views/businessSupport/questionAnswerLibrary/modules/QuizModal.vue b/src/views/businessSupport/questionAnswerLibrary/modules/QuizModal.vue index c2055ba7..74a8fa2a 100644 --- a/src/views/businessSupport/questionAnswerLibrary/modules/QuizModal.vue +++ b/src/views/businessSupport/questionAnswerLibrary/modules/QuizModal.vue @@ -66,7 +66,7 @@ :filter-option="filterOption" v-decorator="[ 'project', validatorRules.project]"> 请选择 - {{ item.projectName }} + {{ item.projectName }} @@ -208,7 +208,7 @@ export default { }, // 获取项目下拉框数据 getCarTypeProjectList () { - getCarTypeProjectList().then(res => { + getCarTypeProjectList({ column: 'createTime', order: 'desc' }).then(res => { if (res.success) { this.projectList = res.result } else { diff --git a/src/views/enterpriseStandardLibrary/standard/detail/module/SubmitQuestionModal.vue b/src/views/enterpriseStandardLibrary/standard/detail/module/SubmitQuestionModal.vue index fe7d208b..9990f950 100644 --- a/src/views/enterpriseStandardLibrary/standard/detail/module/SubmitQuestionModal.vue +++ b/src/views/enterpriseStandardLibrary/standard/detail/module/SubmitQuestionModal.vue @@ -23,8 +23,11 @@ - - {{ item.projectName }} + + {{ item.projectName }} @@ -144,7 +147,7 @@ export default { }, // 获取项目下拉框数据 initProjectOptions () { - getCarTypeProjectList().then(res => { + getCarTypeProjectList({ column: 'createTime', order: 'desc' }).then(res => { if (res.success) { this.projectSelectOptions = res.result } else { @@ -176,6 +179,9 @@ export default { }, close () { this.visible = false + }, + filterOption (input, option) { + return option.componentOptions.children[0].text.toLowerCase().indexOf(input.toLowerCase()) >= 0 } } } diff --git a/src/views/standardRegulationLibrary/commonPage/modules/SubmitQuestionModal.vue b/src/views/standardRegulationLibrary/commonPage/modules/SubmitQuestionModal.vue index 6d031d9b..37dbb2de 100644 --- a/src/views/standardRegulationLibrary/commonPage/modules/SubmitQuestionModal.vue +++ b/src/views/standardRegulationLibrary/commonPage/modules/SubmitQuestionModal.vue @@ -23,8 +23,11 @@ - - {{ item.projectName }} + + {{ item.projectName }} @@ -146,7 +149,7 @@ export default { }, // 获取项目下拉框数据 initProjectOptions () { - getCarTypeProjectList().then(res => { + getCarTypeProjectList({ column: 'createTime', order: 'desc' }).then(res => { if (res.success) { this.projectSelectOptions = res.result } else { @@ -189,6 +192,9 @@ export default { }, close () { this.visible = false + }, + filterOption (input, option) { + return option.componentOptions.children[0].text.toLowerCase().indexOf(input.toLowerCase()) >= 0 } } } diff --git a/src/views/standardRegulationLibrary/profileCenter/modules/ProfileCenterTreeModal.vue b/src/views/standardRegulationLibrary/profileCenter/modules/ProfileCenterTreeModal.vue index ee5a70f8..e2243079 100644 --- a/src/views/standardRegulationLibrary/profileCenter/modules/ProfileCenterTreeModal.vue +++ b/src/views/standardRegulationLibrary/profileCenter/modules/ProfileCenterTreeModal.vue @@ -21,12 +21,14 @@