瀏覽代碼

审核判断修改

yuanyiming 2 年之前
父節點
當前提交
7293ff4db7

+ 14 - 4
src/App.vue

@@ -368,9 +368,10 @@
       display: flex;
       justify-content:space-between;
         [type='button']{
-          background: #409eff !important;
+          background: #409eff;
           color: #fff !important;
           display: flex;
+          border: none;
           justify-content: center;
           font-size: 16px;
           width: 120px;
@@ -548,6 +549,9 @@
       }
 
 
+      .disa{   //禁用按钮样式
+            background-color: #c8c9cc !important;border-color: #c8c9cc;cursor: no-drop;
+        }
       .fontSize{   //所有表格字体大小
         margin-top: 15px;
         // margin-bottom: 60px;
@@ -556,10 +560,11 @@
           flex-shrink: 0;
           [type='button']{
             width: 75px !important;
-            text-align: center !important;
             font-size: 14px;
+            border: none;
             border-radius: 5px;
-            padding: 7px 11px;
+            padding: 8px 0;
+            
           }
         }
       }
@@ -612,7 +617,12 @@
           overflow: hidden;
           top: 10%;
         }
-        
+        .el-dialog__body{
+          display: flex;
+          justify-content: center;
+          flex-wrap: wrap;
+          align-items: center;
+        }
         .deleteContent{
           width: 100%;
           text-align: center;

+ 7 - 125
src/views/projectApply/components/projectApplication2.vue

@@ -89,9 +89,8 @@
             </div>
       <div class="baseBtn">
         <div class="blockWidth">
-          <el-button type="primary" v-show="isUpload==0"  @click="audit">立即修改</el-button>
-          <el-button type="primary" v-show="isUpload==1" disabled style="background-color: #c8c9cc !important;border-color: #c8c9cc;cursor: no-drop;">立即修改</el-button>
-          <el-button type="primary" v-show="isUpload==2" disabled style="background: #ccc !important;border: none;" >立即修改</el-button>
+          <el-button type="primary" v-show="apIsupload==0"  @click="audit">立即修改</el-button>
+          <el-button type="primary" v-show="apIsupload==1" class="disa">立即修改</el-button>
 
         </div>
       </div>
@@ -100,7 +99,7 @@
           title="提示"
           :visible.sync="submitHint"
           width="600px"
-          class="projectApplicationfundAddDialog"
+          class="pageSubmitData"
           :before-close="init">
           <div class="addDialogLogo">LOGO</div>
           <div class="deleteContent">确定修改项目基本信息?</div>
@@ -124,6 +123,7 @@ import { VueEditor } from "vue2-editor";
           return {
             isUpload:'',
             endProject:'',
+            apIsupload:0,
             data:[["","","","",""],[]],
             submitHint:false,
             customToolbar: [
@@ -135,13 +135,6 @@ import { VueEditor } from "vue2-editor";
           }
         },
         methods:{
-          // content(){      //导航栏项目详情跳转
-          //   this.$router.push('/projectApplicationDetails')
-          // },
-         
-          // backBtn(){
-          //   this.$router.push('/projectApplicationApply2')
-          // },
           audit(){   //立即修改按钮
             this.submitHint=true
           },
@@ -164,21 +157,7 @@ import { VueEditor } from "vue2-editor";
           init(){
             this.submitHint=false
           },
-          // getData(){   //初始化完成获取基本数据进行填充
-          //   let param={
-          //     uid:this.$store.state.userInfo.userid,
-          //     pid:JSON.parse(localStorage.getItem('pid'))
-          //   }
-          //     this.ajax
-          //           .get(this.$store.state.api+'/GetProjectDetailMessage',param)
-          //           .then(res=>{
-          //             this.isUpload=res.data[0][0].isupload;
-          //             let GetData=JSON.parse(res.data[0][0].chapters)
-          //             this.data=GetData;
-          //           },err=>{
-          //             console.log(err);
-          //           })
-          // },
+
           getData(){
                 let param={
                     uid:this.$store.state.userInfo.userid,
@@ -188,10 +167,11 @@ import { VueEditor } from "vue2-editor";
                     .get(this.$store.state.api+'/SelectProjectApplyDetailStudent',param)
                     .then(res=>{
                         let data=res.data[0][0]
-                        // console.log(data);
+                        console.log(data);
                         this.isUpload=data.isupload
                         this.endProject=data.endProject
                         this.content=JSON.parse(data.chapters)
+                        this.apIsupload=data.apIsupload
                         // console.log(this.content);
                     },err=>{
                         console.log(err);
@@ -205,103 +185,5 @@ import { VueEditor } from "vue2-editor";
   </script>
   
   <style lang="less">
-  // .projectApplication2{
- .projectApplicationfundAddDialog{    //项目修改对话框开始
- 
-
- .el-dialog{
-   border-radius:5px ;
-   overflow: hidden;
- }
- 
- .deleteContent{
-   width: 100%;
-   text-align: center;
-   font-size: 22px;
-   color: #000;
- }
- .addDialogLogo{
-  width: 60px;
-        height: 30px;
-        display: flex;
-        justify-content: center;
-        line-height: 30px;
-        border-radius: 5px;
-        background: #f2f2f2;
-        position: absolute;
-        left: 20px; top: 15px; 
- }
- .el-dialog__header{
- background: #32455b;
- }
- .el-dialog__title{
-  color:#fff;
-        display: flex;
-        justify-content: center;
-        font-size: 18px;
-        position: relative;
-        top: -2px;
- }
- .addDialogMid{
-   box-sizing: border-box;
-   padding:0 60px 0 10px;
-   .addDialogTit{
-     display: flex;
-     span{
-       width: 80px;
-       line-height: 40px;
-       text-align: left;
-     }
-   }
- .addDialogTit1{
-   display: flex;
-   justify-content: space-between;
-   margin-bottom: 15px;
- }
- .addDialogTit2{
-   margin-top: 10px;
-   font-size: 18px;
-   color: #000;
-   text-indent: 2em;
- }
- .addDialogCon{
-   margin-top: 20px;
- }
-}
-.dialog-footer{
- display: flex;
- justify-content: center;
-//  .btn5{
-//    height: 40px;
-//    font-size: 16px;
-//    background: #0e72e6;
-//    width: 200px;
-//  }
-}
-}
-
-    .PA2textArea{     //标题栏
-        margin: 15px 0;
-        .PA2textAreaTit{
-            width: 80%;
-            text-align: left;
-            font-size: 18px;
-            font-weight: 550;
-            margin-bottom: 15px;
-            color: #2387ff;
-        }
-        .ql-toolbar.ql-snow{
-          display: flex;
-        }
-        .PA2textAreaTit2{
-            font-size: 16px;
-        }
-        .el-textarea__inner{
-            background: #f2f2f2;
-        }
-    }
-    
-
 
-  // }
   </style>

+ 6 - 4
src/views/projectApply/components/projectApplicationApply.vue

@@ -239,8 +239,9 @@
               title="删除成员"
               :visible.sync="delTeacherMember"
               width="600px"
-              class="delMemberDialog">
-              <span class="deleteContent">确定删除老师成员?</span>
+              class="pageSubmitData">
+              <div class="addDialogLogo">LOGO</div>
+              <div class="deleteContent">确定删除老师成员?</div>
               <span slot="footer" class="dialog-footer">
                 <el-button type="primary" @click="commitDelTeacherMember" class="AllDialogBtn">确认删除</el-button>
                 <el-button @click="delTeacherMember=false" class="AllDialogBtn" >取消</el-button>
@@ -348,8 +349,9 @@
               title="删除成员"
               :visible.sync="delStudentMember"
               width="600px"
-              class="delMemberDialog">
-              <span class="deleteContent">确定删除学生成员?</span>
+              class="pageSubmitData">
+              <div class="addDialogLogo">LOGO</div>
+              <div class="deleteContent">确定删除学生成员?</div>
               <span slot="footer" class="dialog-footer">
                 <el-button type="primary" @click="commitDelStudentMember" class="AllDialogBtn">确认删除</el-button>
                 <el-button @click="delStudentMember=false" class="AllDialogBtn" >取消</el-button>

+ 42 - 113
src/views/projectApply/components/projectApplicationDetails.vue

@@ -155,8 +155,6 @@
                   align="center"
                   >
                 </el-table-column>
-
-              
                 
                 <el-table-column
                   align="center"
@@ -216,7 +214,8 @@
               title="删除成员"
               :visible.sync="delTeacherMember"
               width="600px"
-              class="delMemberDialog">
+              class="pageSubmitData">
+              <div class="addDialogLogo">LOGO</div>
               <span class="deleteContent">确定删除老师成员?</span>
               <span slot="footer" class="dialog-footer">
                 <el-button type="primary" @click="commitDelTeacherMember" class="AllDialogBtn">确认删除</el-button>
@@ -337,8 +336,9 @@
               title="删除成员"
               :visible.sync="delStudentMember"
               width="600px"
-              class="delMemberDialog">
-              <span class="deleteContent">确定删除学生成员?</span>
+              class="pageSubmitData">
+              <div class="addDialogLogo">LOGO</div>
+              <div class="deleteContent">确定删除学生成员?</div>
               <span slot="footer" class="dialog-footer">
                 <el-button type="primary" @click="commitDelStudentMember" class="AllDialogBtn">确认删除</el-button>
                 <el-button @click="delStudentMember=false" class="AllDialogBtn" >取消</el-button>
@@ -352,10 +352,8 @@
             
     <div class="baseBtn">
       <div class="blockWidth">
-        <el-button type="primary" class="backBtn" v-show="isupload==0" @click="audit">立即修改</el-button>
-        <el-button type="primary" class="backBtn" v-show="isupload==1" disabled style="background-color: #c8c9cc !important;border-color: #c8c9cc;cursor: no-drop;">立即修改</el-button>
-        <el-button type="primary" class="backBtn" v-show="isupload==2" disabled style="background-color: #c8c9cc !important;border-color: #c8c9cc;cursor: no-drop;">立即修改</el-button>
-
+        <el-button type="primary" v-show="apIsupload==0" @click="audit">立即修改</el-button>
+        <el-button type="primary" class="disa" v-show="apIsupload==1">立即修改</el-button>
       </div>
     </div>
 
@@ -394,6 +392,7 @@
         return {
           accept:"image/*",
           isAddMember:1,  //判断是添加学生还是修改学生
+          apIsupload:0,   //判断是否能修改 0可以 1不可以
           progress:{   //进度条
                 value:0,
                 show:false
@@ -661,9 +660,8 @@
                 this.ajax
                     .get(this.$store.state.api+'/SelectProjectApplyDetailStudent',param)
                     .then(res=>{
-                      // console.log(data.);
                         let data=res.data[0][0]
-                        // console.log(data);
+                        console.log(data);
                         // console.log(data.multiSelectProject);
                         this.content.select.projectName=data.title
                         this.content.select.leader=data.leader
@@ -682,7 +680,9 @@
                         this.pageType=[data.typeid,data.typeName]
                         this.isupload=data.isupload
                         this.endProject=data.endProject
+                        this.apIsupload=data.apIsupload
                         // console.log(this.content);
+                        // console.log(this.apIsupload);
                     },err=>{
                         console.log(err);
                     })
@@ -825,111 +825,40 @@
   }
 
 
-  .delMemberDialog{      //删除对话框
-      .el-dialog{
-        border-radius: 5px;
-        overflow: hidden;
-      }
-      .deleteContent{
-        margin: 30px 0;
-        font-size: 22px;
-        color: #000;
-      }
-      .el-dialog__header{
-        background: #32455b;
-        display: flex;
-        justify-content: center;
-      }
-      .el-dialog__title{
-        color:#fff;
-        display: flex;
-        justify-content: center;
-        font-size: 18px;
-        position: relative;
-        top: -2px;
-      }
-      .el-dialog__body{
-        display: flex;
-        justify-content: center;
-      }
-      .dialog-footer{
-        display: flex;
-        justify-content: center;
-        box-sizing: border-box;
-
-      }
-    }
-
-
-  //项目修改对话框开始
-  // .projectApplicationfundAddDialog{  
- 
-  //       .el-dialog__header{
-  //           background: #32455b;
-
-  //       }
-  //       .el-dialog{
-  //         border-radius:5px ;
-  //         overflow: hidden;
-  //       }
-        
-  //       .deleteContent{
-  //         width: 100%;
-  //         text-align: center;
-  //         font-size: 22px;
-  //         color: #000;
-  //       }
-  //       .addDialogLogo{
-  //               width: 60px;
-  //               height: 30px;
-  //               border-radius: 5px;
-  //               display: flex;
-  //               justify-content: center;
-  //               line-height: 30px;
-  //               background: #f2f2f2;
-  //               position: absolute;
-  //               left: 20px; top: 15px; 
-  //       }
-
-  //       .el-dialog__title{
-  //               color:#fff;
-  //               display: flex;
-  //               justify-content: center;
-  //               font-size: 18px;
-  //               position: relative;
-  //               top: -2px;
-  //       }
-  //       .addDialogMid{
-  //         box-sizing: border-box;
-  //         padding:0 60px 0 10px;
-  //         .addDialogTit{
-  //           display: flex;
-  //           span{
-  //             width: 80px;
-  //             line-height: 40px;
-  //             text-align: left;
-  //           }
-  //         }
-  //       .addDialogTit1{
-  //         display: flex;
-  //         justify-content: space-between;
-  //         margin-bottom: 15px;
-  //       }
-  //       .addDialogTit2{
-  //         margin-top: 10px;
-  //         font-size: 18px;
-  //         color: #000;
-  //         text-indent: 2em;
-  //       }
-  //       .addDialogCon{
-  //         margin-top: 20px;
-  //       }
-  //       }
-  //       .dialog-footer{
+  // .delMemberDialog{      //删除对话框
+  //     .el-dialog{
+  //       border-radius: 5px;
+  //       overflow: hidden;
+  //     }
+  //     .deleteContent{
+  //       margin: 30px 0;
+  //       font-size: 22px;
+  //       color: #000;
+  //     }
+  //     .el-dialog__header{
+  //       background: #32455b;
   //       display: flex;
   //       justify-content: center;
+  //     }
+  //     .el-dialog__title{
+  //       color:#fff;
+  //       display: flex;
+  //       justify-content: center;
+  //       font-size: 18px;
+  //       position: relative;
+  //       top: -2px;
+  //     }
+  //     .el-dialog__body{
+  //       display: flex;
+  //       justify-content: center;
+  //     }
+  //     .dialog-footer{
+  //       display: flex;
+  //       justify-content: center;
+  //       box-sizing: border-box;
 
-  //       }
+  //     }
   //   }
+
 }
 </style>

+ 48 - 23
src/views/projectApply/projectApplication.vue

@@ -172,26 +172,21 @@
           >
           <template #default="scope">
               <div class="operations">
-                  <!-- <el-button type="primary" > -->
-                    <!-- <el-link class="btt" type="primary" :underline="false"> -->
                         <el-button type="primary"  size="mini" @click="lookDetail(scope.row.courseId,scope.row.typeid)">查看详情</el-button>
 
-                        <el-button type="primary" v-show="scope.row.apIsupload==0" @click="audit(scope.row)" style="width: 73.3px;" size="mini" >审核0</el-button>
-                        <el-button type="primary" v-show="scope.row.apIsupload==1 && scope.row.isupload==0" style="width: 73.3px;" size="mini" >待审核0</el-button>
-                        <el-button type="primary" v-show="scope.row.apIsupload==1 && scope.row.isupload==1"  style="background-color: #c8c9cc;border-color: #c8c9cc;cursor: no-drop;"  size="mini">审核中</el-button>
-                        <el-button type="primary" v-show="scope.row.apIsupload==1 && scope.row.isupload==2" style="background-color: #c8c9cc;border-color: #c8c9cc;cursor: no-drop;"  size="mini">已审核0</el-button>
-                        <!-- <el-button type="primary"  size="mini" @click="audit(scope.row)">{{(scope.row.data==1?"审核": scope.row.data==1?"正在审核":"审核")}}</el-button> -->
-
-                        <el-button  v-show="scope.row.isupload==0" type="primary" style="width: 73.3px;" size="mini" @click="audit(scope.row)">审核1</el-button>
-                        <el-button  v-show="scope.row.isupload==1" type="primary" style="width: 73.3px;" size="mini" @click="audit(scope.row)">审核中1</el-button>
-                        <el-button  v-show="scope.row.isupload==2" type="primary" style="width: 73.3px;" size="mini" @click="audit(scope.row)">已审核1</el-button>
+                        <el-button type="primary" v-show="scope.row.apIsupload==0" @click="audit(scope.row,0)"  size="mini" >审核0</el-button>
+                        <el-button type="primary" v-show="scope.row.apIsupload==1 && scope.row.isupload==0" class="disa" size="mini" >待审核0</el-button>
+                        <el-button type="primary" v-show="scope.row.apIsupload==1 && scope.row.isupload==1"  class="disa"  size="mini">审核中0</el-button>
+                        <el-button type="primary" v-show="scope.row.apIsupload==1 && scope.row.isupload==2" class="disa" size="mini">已审核0</el-button>
+                        
+                        <el-button  v-show="scope.row.isupload==0" type="primary" style="width: 73.3px;" size="mini" @click="audit(scope.row,1)">审核1</el-button>
+                        <!-- <el-button  v-show="scope.row.isupload==0 && scope.row.apIsupload==1" type="primary"  class="disa" size="mini" @click="audit(scope.row)">审核1</el-button> -->
+                        <el-button  v-show="scope.row.isupload==1" type="primary" style="width: 73.3px;" class="disa" size="mini">审核中1</el-button>
+                        <el-button  v-show="scope.row.isupload==2" type="primary" style="width: 73.3px;" class="disa" size="mini">已审核1</el-button>
 
                         <el-button type="primary"  size="mini" @click="appTable(scope.row.typeid,scope.row.courseId)" >申请表</el-button>
-                        <!-- <el-button type="primary"  size="mini"><a href="/file/附件 5 :学校创客专项资金使用申请表.xlsx" download="创客活动.doc">申请表</a> </el-button> -->
 
                         <el-button type="primary"  size="mini" @click="del(scope.row)">删除</el-button>
-                      <!-- </el-link> -->
-                  <!-- </el-button> -->
               </div>
           </template>
         </el-table-column>
@@ -269,7 +264,7 @@
           title="立项审核"
           :visible.sync="dialogVisible"
           class="pageSubmitData"
-          width="700px"
+          width="600px"
           :before-close="init">
         
           <div class="diaTit">
@@ -300,7 +295,7 @@
                 <el-input disabled v-model="auditDialog.tel" placeholder="联系电话"></el-input>
               </div>
             </div>
-            <div class="diaTit1">
+            <div class="diaTit1" v-show="isManager==1">
               <div class="spans1" style="position: relative;top:-24px">驳回意见</div>
               <div class="inp">
                 <el-input
@@ -313,8 +308,9 @@
               </div>
             </div>
             <div slot="footer" class="dialog-footer">
-              <el-button type="primary" @click="commit" class="AllDialogBtn" >确认提交</el-button>
-              <el-button type="primary" @click="rejectApply" class="AllDialogBtn" >驳回</el-button>
+              <el-button type="primary" v-show="isManager==0" @click="ApplyPersonCommit" class="AllDialogBtn" >审核</el-button>
+              <el-button type="primary" v-show="isManager==1" @click="ManagerCommit" class="AllDialogBtn" >通过</el-button>
+              <el-button type="primary" v-show="isManager==1" @click="rejectApply" class="AllDialogBtn" >驳回</el-button>
               <el-button @click="init" class="AllDialogBtn">取消</el-button>
             </div>
       </el-dialog>
@@ -369,6 +365,7 @@ import MakerSpaceWordPreview from '@/components/MakerSpaceWordPreview.vue';
           PreviewData:"",//预览数据
           rejectApplyText:'',  //驳回-修改建议
 
+          isManager:0,  //0申请人审核科-----  1管理员审核框
           // 分页数据
           table:{
             total:0,
@@ -414,6 +411,7 @@ import MakerSpaceWordPreview from '@/components/MakerSpaceWordPreview.vue';
                 department:'',
                 fund:'',
                 tel:'',
+                // cid:''
           }
         }
       },
@@ -428,8 +426,8 @@ import MakerSpaceWordPreview from '@/components/MakerSpaceWordPreview.vue';
           this.dialogVisible1=false;
           this.dialogVisible2=false;
         },
-        audit(val){      //审核按钮
-
+        audit(val,num){      //审核按钮
+          this.isManager=num;
           this.iid=val   //将要删除的id进行存储供删除对话框使用
           if (val.isupload==0) {
             this.dialogVisible=true;
@@ -439,6 +437,7 @@ import MakerSpaceWordPreview from '@/components/MakerSpaceWordPreview.vue';
             this.auditDialog.department=val.name;
             this.auditDialog.fund=val.fund;
             this.auditDialog.tel=val.phone || '-';
+            // this.auditDialog.cid=courseId
           }
             
             
@@ -473,7 +472,7 @@ import MakerSpaceWordPreview from '@/components/MakerSpaceWordPreview.vue';
 
 
         },
-        commit(){    //立项审核对话框里面的确定提交按钮
+        ManagerCommit(){    //立项审核对话框里面的管理员通过按钮
           // console.log(this.iid);
             let param={
               uid:this.$store.state.userInfo.userid,
@@ -490,8 +489,34 @@ import MakerSpaceWordPreview from '@/components/MakerSpaceWordPreview.vue';
                   console.log(err);
                 })
         },
-        rejectApply(){   //驳回申请
-
+        ApplyPersonCommit(){  //立项审核对话框里面的申请人审核按钮
+          let param={
+              uid:this.$store.state.userInfo.userid,
+              pid:this.iid.courseId,
+              num:1
+            }
+          this.ajax
+              .post(this.$store.state.api+"/updateRejectProjectApply",param)
+              .then(res=>{
+                this.dialogVisible=false
+                this.$message.success('已提交')
+                this.getData()
+              })
+        },
+        rejectApply(){   //立项审核对话框里面的驳回申请
+          let param={
+              uid:this.$store.state.userInfo.userid,
+              pid:this.iid.courseId,
+              num:0
+            }
+          this.ajax
+              .post(this.$store.state.api+"/updateRejectProjectApply",param)
+              .then(res=>{
+                this.dialogVisible=false
+                this.$message.success('已驳回项目申请')
+                this.getData()
+              })
+              
         },
 
         commit2(val){   //立项撤回对话框里面的确定撤回按钮

+ 5 - 4
src/views/projectManage/components/ProjectManagement1.vue

@@ -352,9 +352,8 @@
             
     <div class="baseBtn">
       <div class="blockWidth">
-        <el-button type="primary" v-show="isUpload==0"  @click="audit">立即修改</el-button>
-          <el-button type="primary" v-show="isUpload==1" disabled style="background: #ccc !important;border: none;">立即修改</el-button>
-          <el-button type="primary" v-show="isUpload==2" disabled style="background: #ccc !important;border: none;" >立即修改</el-button>
+        <el-button type="primary" v-show="apIsupload==0"  @click="audit">立即修改</el-button>
+          <el-button type="primary" v-show="apIsupload==1" class="disa">立即修改</el-button>
       </div>
     </div>
 
@@ -389,6 +388,7 @@
         return {
           accept:"image/*",
           isAddMember:1,  //判断是添加学生还是修改学生
+          apIsupload:0,  //判断是否可以修改
           progress:{   //进度条
                 value:0,
                 show:false
@@ -686,6 +686,7 @@
                         this.isUpload=data.isupload
                         this.endProject=data.endProject
                         this.loading = false;
+                        this.apIsupload=data.apIsupload
                         // console.log(this.content);
                     },err=>{
                         console.log(err);
@@ -699,7 +700,7 @@
                 this.ajax
                       .get(this.$store.state.api+'/SelectAllType',param)
                       .then(res=>{
-                        console.log(res.data[0]);
+                        // console.log(res.data[0]);
                         let data=res.data[0]
                         this.sortOptions[0]['value']=data[0]['id']
                         this.sortOptions[0]['label']=data[0]['name']

+ 4 - 3
src/views/projectManage/components/ProjectManagement2.vue

@@ -89,9 +89,8 @@
             </div>
       <div class="baseBtn">
         <div class="blockWidth">
-          <el-button type="primary" v-show="isUpload==0"  @click="audit">立即修改</el-button>
-          <el-button type="primary" v-show="isUpload==1" disabled style="background: #ccc !important;border: none;">立即修改</el-button>
-          <el-button type="primary" v-show="isUpload==2" disabled style="background: #ccc !important;border: none;" >立即修改</el-button>
+          <el-button type="primary" v-show="apIsupload==0"  @click="audit">立即修改</el-button>
+          <el-button type="primary" v-show="apIsupload==1" class="disa">立即修改</el-button>
 
         </div>
       </div>
@@ -123,6 +122,7 @@ import { VueEditor } from "vue2-editor";
         data() {
           return {
             isUpload:'',
+            apIsupload:0,
             data:[["","","","",""],[]],
             submitHint:false,
             customToolbar: [
@@ -190,6 +190,7 @@ import { VueEditor } from "vue2-editor";
                         this.isUpload=data.isupload
                         // console.log(data.chapters);
                         this.content=JSON.parse(data.chapters)
+                        this.apIsupload=data.apIsupload
                         // console.log(this.content);
                     },err=>{
                         console.log(err);