Pārlūkot izejas kodu

平板策略

gzb
guozhongbo pirms 9 mēnešiem
vecāks
revīzija
34cafad659

+ 5
- 2
src/views/schoolSection/strategy/personalStrategy.vue Parādīt failu

@@ -331,6 +331,7 @@ import {
331 331
   stPad_add_quote,
332 332
   stPad_delete,
333 333
   stPad_detail,
334
+  stPad_detail_web,
334 335
   stPad_edit,
335 336
   stPad_list,
336 337
   stPad_list_user
@@ -891,7 +892,9 @@ export default {
891 892
     toView(row) {
892 893
       this.initData();
893 894
       this.showLoading = true;
894
-      stPad_detail({ padid: row.padid }).then((res) => {
895
+      stPad_detail_web({
896
+        objectid: row.userid
897
+      }).then((res) => {
895 898
         this.showLoading = false;
896 899
         if (res.code === 0) {
897 900
           //数据回显
@@ -968,7 +971,7 @@ export default {
968 971
         return;
969 972
       }
970 973
       this.showLoading = true;
971
-      stPad_detail({ padid: row.padid }).then((res) => {
974
+      stPad_detail_web({ objectid: row.userid }).then((res) => {
972 975
         this.showLoading = false;
973 976
         if (res.code === 0) {
974 977
           console.log(res.obj);

+ 1
- 0
src/views/schoolSection/strategy/strategyManage.vue Parādīt failu

@@ -115,6 +115,7 @@ export default {
115 115
         this.showLoading = false;
116 116
         if (res.code === 0) {
117 117
           this.schoolInfo = res.obj;
118
+          this.schoolInfo.schoolid = this.schoolInfo.id;
118 119
           this.curClass = this.schoolInfo;
119 120
           if (this.schoolInfo.children.length > 0 && !this.curClass.id) {
120 121
             this.schoolInfo.children.forEach((item) => {

Notiek ielāde…
Atcelt
Saglabāt