浏览代码

修改客户统计bug

bding 2 月之前
父节点
当前提交
deaf9b1265
共有 1 个文件被更改,包括 5 次插入6 次删除
  1. 5 6
      src/views/dataReport_manage/equityCustomStatistics.vue

+ 5 - 6
src/views/dataReport_manage/equityCustomStatistics.vue

@@ -172,14 +172,13 @@
           </el-table-column>
         </template>
         <el-table-column label="操作" width="180px" align="center">
-          <template slot-scope="scope" v-if="canConfirmNotRenewed && !isNotRenewedConfirm && filterObj.data_type == '未续约客户'">
-            <div class="operation-row">
-              <span class="operation-button" @click="confirmedNoRenewalFun(scope.row)">确认不续约</span>
+          <template slot-scope="scope">
+            <div>
+              <span v-if="canConfirmNotRenewed && !isNotRenewedConfirm && filterObj.data_type == '未续约客户'" class="editsty" @click="confirmedNoRenewalFun(scope.row)">确认不续约</span>
+
+              <span v-if="isRoleType == 'admin' || isRoleType == '权益'" @click="historicalNotesClickHandler(scope.row)" class="editsty">历史备注</span>
             </div>
           </template>
-          <template slot-scope="{ row }" v-if="isRoleType == 'admin' || isRoleType == '权益'">
-            <span @click="historicalNotesClickHandler(row)" class="editsty">历史备注</span>
-          </template>
         </el-table-column>
         <div slot="empty" style="line-height: 44px; margin: 60px 0; color: #999">
           <img src="~@/assets/img/cus_m/nodata.png" alt="" style="display: block; width: 160px; height: 128px; margin: auto" />