浏览代码

fix 研报列表2

cxmo 1 年之前
父节点
当前提交
90a8fb2e1e
共有 1 个文件被更改,包括 3 次插入4 次删除
  1. 3 4
      src/views/report_manage/reportlist.vue

+ 3 - 4
src/views/report_manage/reportlist.vue

@@ -272,14 +272,13 @@
                   >
                   <!-- <template v-if="scope.row.ClassifyNameFirst!='周报'"> -->
                   <span
-                    v-permission="permissionBtn.reportManageBtn.reportManage_sendMsg"
-                    v-if="scope.row.MsgIsSend == 0"
+                    v-if="scope.row.MsgIsSend == 0 && permissionBtn.checkPermissionBtn(permissionBtn.reportManageBtn.reportManage_sendMsg)"
                     style="color: #4099ef; cursor: pointer"
                     @click="messageSend(scope.row)"
                     >推送消息</span
                   >
-                  <span v-permission="permissionBtn.reportManageBtn.reportManage_sendMsg"
-                    v-else style="color: red">已推送消息</span>
+                  <span v-else-if="scope.row.MsgIsSend != 0&&permissionBtn.checkPermissionBtn(permissionBtn.reportManageBtn.reportManage_sendMsg)"
+                    style="color: red">已推送消息</span>
                   <!-- </template> -->
                   <!-- <template v-else>
 										<span v-if="scope.row.MsgIsSend=='0'" @click="gosendTemplateMsg(scope.row)" style="color:#4099ef; cursor:pointer;">推送模版消息</span>