dev_2022-05-11
luoJunYong.123 3 years ago
parent d95f53fe0c
commit dc5e3bf259
  1. 1080
      src/pages/project/add/index.vue.copy
  2. 5
      src/pages/project/list/index.vue

File diff suppressed because it is too large Load Diff

@ -240,7 +240,9 @@ export default {
// }, // },
mounted() { mounted() {
this.getSystemData(); this.getSystemData();
if(this.queryDataStatus.platformId) {
this.queryData = this.queryDataStatus this.queryData = this.queryDataStatus
}
}, },
methods: { methods: {
...mapActions("project", [ ...mapActions("project", [
@ -251,13 +253,13 @@ export default {
}), }),
getSystemData() { getSystemData() {
this.$get(this.api.getSystemIdBySchool).then(res => { this.$get(this.api.getSystemIdBySchool).then(res => {
if (res.status == 200){ if (res.status == 200){
this.systemList = res.data; this.systemList = res.data;
// systemIdsystemIdsystemId // systemIdsystemIdsystemId
this.systemId = this.lastSystemId ? this.lastSystemId : this.systemList[0].id; this.systemId = this.lastSystemId ? this.lastSystemId : this.systemList[0].id;
this.getData(); this.getData();
}else{ }else{
} }
}); });
@ -275,7 +277,6 @@ export default {
this.listData = res.data.records; this.listData = res.data.records;
this.total = res.data.total; this.total = res.data.total;
}).catch(err => { }).catch(err => {
console.log(err);
}); });
}, },
initData() { initData() {

Loading…
Cancel
Save