zhangqiOMG 3 years ago
parent
commit
6f38e8157d

+ 3 - 1
src/HManagement/clueManage/clue_import/detailPage/modules/op_check.vue

@@ -1,6 +1,8 @@
 <template>
   <div class="inline-16">
-    <el-button size="mini" @click="onDel">{{status === '已审核'?'反审核':'审 核'}}</el-button>
+    {{tool.checkAuth($route.name,'reverseCheck')}}
+    <el-button size="mini" @click="onDel" v-if="status === '已审核' && tool.checkAuth($route.name,'reverseCheck')">反 审 核</el-button>
+    <el-button size="mini" @click="onDel" v-else-if="tool.checkAuth($route.name,'check')">审 核</el-button>
   </div>
 </template>
 

+ 1 - 1
src/HManagement/clueManage/clue_public/modules/detail.vue

@@ -18,7 +18,7 @@
       <div slot="tags">
       </div>
       <div slot="customOperation">
-        <recall v-if="tool.checkAuth($route.name,'recall')" :data="mainData" @onSuccess="queryMainData"></recall>
+        <!-- <recall v-if="tool.checkAuth($route.name,'recall')" :data="mainData" @onSuccess="queryMainData"></recall> -->
       </div>
       <div slot="slot1" class="container normal-panel">
         <BaseInfo :detailInfo="detailInfo"/>

+ 14 - 2
src/HManagement/clueManage/m_activity/modules/add.vue

@@ -1,12 +1,13 @@
 <template>
   <div>
-    <el-button type="primary" size="mini" @click="onShow">新 建</el-button>
+    <el-button type="primary" size="small" @click="onShow">新 建</el-button>
     <el-drawer
       title="新建活动"
       :visible.sync="drawer"
       size="800px"
       direction="rtl"
-      append-to-body>
+      append-to-body
+      @close="onClose">
       <div class="drawer__panel">
         <el-form :model="form" :rules="rules" ref="form" label-width="100px" size="small">
           <el-form-item label="活动名称" prop="name">
@@ -120,6 +121,17 @@ export default {
         })
       });
     },
+    onClose () {
+      this.form = {
+        "sat_campaignid":0,
+        "name":"",
+        "director":"",
+        "address":"",
+        "type":"",
+        "begdate":"",
+        "enddate": ""
+      }
+    }
   }
 }
 

+ 1 - 0
src/SDrpManagement/salerPrivatecustomer/detail/customerDetail.vue

@@ -130,6 +130,7 @@ export default {
       this.visible = false
     },
     changeDataStructure() {
+      let that = this
       this.mainAreaData = [
         {
           label:'客户编号',