Browse Source

平板策略

gzb
guozhongbo 9 months ago
parent
commit
34cafad659

+ 5
- 2
src/views/schoolSection/strategy/personalStrategy.vue View File

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

+ 1
- 0
src/views/schoolSection/strategy/strategyManage.vue View File

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

Loading…
Cancel
Save