|
@@ -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);
|