浏览代码

3.15ceshixuanchuan

shengbingg 2 年之前
父节点
当前提交
caf6f8e13c

+ 5 - 4
src/pages/main/advertising/materialApplication.vue

@@ -53,12 +53,12 @@
                             <!-- <el-table-column label="结算金额" prop="replyContent"></el-table-column> -->
                             <el-table-column label="麦穗" prop="gys1Price"></el-table-column>
                             <el-table-column label="神笔" prop="gys2Price"></el-table-column>
-                            <el-table-column label="状态" prop="taskname"></el-table-column>
+                            <el-table-column label="状态" prop="taskName"></el-table-column>
                             <el-table-column label="操作"  fixed="right" align="center">
                                 <template slot-scope="scope">
-                                    <el-button size="mini" type="text" @click="getinform(scope.row)" v-if="scope.row.taskname == null">
+                                    <el-button size="mini" type="text" @click="getinform(scope.row)" v-if="scope.row.taskName == null">
                                         任务下发</el-button>
-                                    <el-button size="mini" type="text" @click="chakanfaqi(scope.row)" v-if="scope.row.taskname != null">
+                                    <el-button size="mini" type="text" @click="chakanfaqi(scope.row)" v-if="scope.row.taskName != null">
                                         查看</el-button>
                                 </template>
                                  <!-- <template slot-scope="scope">
@@ -1360,7 +1360,7 @@
         // console.log(res.data[0].children);
         this.request_form.userName = res.data[0].children[0].loginNameStr;
         this.request_form.userId = res.data[0].children[0].loginNoStr;
-        this.request_form.title = this.infolist.needName;
+        this.request_form.title = '[市场工作台]-'+'省宣传物料申请及审批-'+ this.infolist.needName;
         // console.log(this.request_form);
         this.clickHandle(this.infolist);
        });
@@ -1672,6 +1672,7 @@
             });
     },
     saveform(){
+      // console.log(this.$refs.infolist);
        this.$refs.infolist.validate((valid) => {
           console.log(valid);
           if (valid) {

+ 4 - 4
src/pages/main/advertising/materialApplicationds.vue

@@ -53,12 +53,12 @@
                             <!-- <el-table-column label="结算金额" prop="replyContent"></el-table-column> -->
                             <el-table-column label="麦穗" prop="gys1Price"></el-table-column>
                             <el-table-column label="神笔" prop="gys2Price"></el-table-column>
-                            <el-table-column label="状态" prop="taskname"></el-table-column>
+                            <el-table-column label="状态" prop="taskName"></el-table-column>
                             <el-table-column label="操作"  fixed="right" align="center">
                                 <template slot-scope="scope">
-                                    <el-button size="mini" type="text" @click="getinform(scope.row)" v-if="scope.row.taskname == null">
+                                    <el-button size="mini" type="text" @click="getinform(scope.row)" v-if="scope.row.taskName == null">
                                         任务下发</el-button>
-                                    <el-button size="mini" type="text" @click="chakanfaqi(scope.row)" v-if="scope.row.taskname != null">
+                                    <el-button size="mini" type="text" @click="chakanfaqi(scope.row)" v-if="scope.row.taskName != null">
                                         查看</el-button>
                                 </template>
                                  <!-- <template slot-scope="scope">
@@ -1344,7 +1344,7 @@
         console.log(res.data[0].children);
         this.request_form.userName = res.data[0].children[0].loginNameStr;
         this.request_form.userId = res.data[0].children[0].loginNoStr;
-        this.request_form.title = this.infolist.needName;
+        this.request_form.title = '[市场工作台]-'+'地市宣传物料申请及审批-'+ this.infolist.needName;
         console.log(this.request_form);
         this.clickHandle(this.infolist);
        });

+ 5 - 1
src/pages/main/advertising/materiel.vue

@@ -7,7 +7,11 @@
                     :searchList="searchList"
                     @searchInfo="searchInfo"
                 ></mySearch>
-                <el-button class="btn-check" size="medium" type="primary" @click="exportTempletelist" v-if="userInfo.duty <= 9">下载导入模板
+
+                <el-button 
+                class="btn-check" 
+                size="medium" type="primary" 
+                @click="exportTempletelist" v-if="userInfo.duty <= 9" >下载导入模板
                 </el-button>
                 <el-button
                     class="btn-check"