Browse Source

修改客户统计bug

bding 2 tháng trước cách đây
mục cha
commit
deaf9b1265
1 tập tin đã thay đổi với 5 bổ sung6 xóa
  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" />