소스 검색

营销-SPD-商机:商机列表阶段值翻译;

001295 2 년 전
부모
커밋
11a1cae004

+ 1 - 5
src/views/business/spd/bo/basic/index.vue

@@ -134,11 +134,7 @@
           <dict-tag :options="dict.type.mk_bo_source" :value="scope.row.boSource"/>
         </template>
       </el-table-column>
-      <el-table-column label="商机阶段" align="center" prop="boStage" >
-        <template slot-scope="scope">
-          <dict-tag :options="dict.type.mk_bo_stage" :value="scope.row.boStage"/>
-        </template>
-      </el-table-column>
+      <el-table-column label="商机阶段" align="center" prop="boStageName"/>
       <el-table-column label="客户名称" align="center" prop="customerName" />
       <el-table-column label="医院耗材预估值(万元)" align="center" prop="hosDiscreetValue" />
       <el-table-column label="赢单率" align="center" prop="winningRate" />

+ 2 - 2
src/views/business/spd/bo/basic/process.vue

@@ -13,7 +13,7 @@
         <el-button
         style="margin-top: 12px"
         @click="next"
-        v-if="showNext && form.winningState == 0"
+        v-if="(showNext && form.winningState == 0) && this.boAuthority.boAuthority.boNext"
         >变更为下一阶段</el-button>
     </div>
     <el-divider content-position="left" style="font-size: 30px">
@@ -1197,7 +1197,7 @@
     <!-- 编辑按钮组 -->
     <dev>
       <el-row type="flex" class="row-bg" justify="end">
-        <el-col :span="2" v-show="!isUpdate">
+        <el-col :span="2" v-show="!isUpdate" v-if="this.boAuthority.boAuthority.boEdit">
           <div class="grid-content bg-purple">
             <el-button
               @click="modifyButton"

+ 2 - 2
src/views/business/spd/bo/behavior/behaviorList.vue

@@ -282,7 +282,7 @@
               </span>
             </div>
         </el-upload>
-        <el-dialog :visible.sync="dialogVisible">
+        <!-- <el-dialog :visible.sync="dialogVisible">
           <img width="100%" :src="dialogImageUrl" alt="">
         </el-dialog>
         <div class="demo-image__preview">
@@ -291,7 +291,7 @@
             :src="url"
             :preview-src-list="srcList">
           </el-image>
-        </div>
+        </div> -->
         <div class="md-auditInfo">
           <el-divider content-position="left">
             <dev style="width: 50px; height: 40px; font-size: 18px">其它信息</dev>

+ 1 - 0
src/views/business/spd/bo/contact/contactList.vue

@@ -526,6 +526,7 @@ export default {
           console.log('this.contactList',this.contactList);
           for (var i = 0; i < this.contactList.length; i++) {
             this.contactList[i].telephone = this.contactList[i].telephone.substring(0,3) + '******' + this.contactList[i].telephone.substring(this.contactList[i].telephone.length - 4,this.contactList[i].telephone.length);
+            this.contactList[i].customerName = this.contactList[i].customerName.substring(0,2) + '******' + this.contactList[i].customerName.substring(this.contactList[i].customerName.length - 2,this.contactList[i].customerName.length);
           }
         }
         this.total = response.total;

+ 2 - 8
src/views/business/spd/bo/task/taskList.vue

@@ -63,14 +63,7 @@
         prop="boName"
         v-if="source == 'Task'"
       />
-      <el-table-column label="商机阶段" align="center" prop="boStage">
-        <template slot-scope="scope">
-          <dict-tag
-            :options="dict.type.mk_bo_stage"
-            :value="scope.row.boStage"
-          />
-        </template>
-      </el-table-column>
+      <el-table-column label="商机阶段" align="center" prop="boStageName"/>
       <el-table-column
         label="客户名称"
         align="center"
@@ -352,6 +345,7 @@
           :key="timer"
           :source="'TaskList'"
           :bo="this.form"
+          :boAuthority="boAuthority"
           v-if="this.operatingState != 'Insert'"
         />
         <div class="md-auditInfo">