Parcourir la source

添加默认常用语

SanHQin il y a 1 an
Parent
commit
8bdb338b40
1 fichiers modifiés avec 14 ajouts et 0 suppressions
  1. 14 0
      src/views/commission/components/projectBook.vue

+ 14 - 0
src/views/commission/components/projectBook.vue

@@ -338,12 +338,26 @@ export default {
       // console.log(param)
       this.ajax.get(this.$store.state.api + "/selectPhrases", param).then(
         (res) => {
+					let defaultList = [{
+						text:"专家不同意立项",
+						userid:"default",
+					},{
+						text:"专家同意立项",
+						userid:"default"
+					},{
+						text:"资质审核不通过",
+						userid:"default"
+					},{
+						text:"资质审核通过",
+						userid:"default"
+					}]
           let data = res.data;
           if (data[0].length > 8) {
             this.phList = data[0].slice(0, 8);
           } else {
             this.phList = data[0];
           }
+					this.phList = [...defaultList,...this.phList]
         },
         (err) => {
           console.log(err);