Browse Source

试用客户我的中不显示期限、修改联系销售样式

jwyu 2 years ago
parent
commit
a21b086c09
3 changed files with 5 additions and 5 deletions
  1. 2 2
      src/layout/component/Header.vue
  2. 1 1
      src/views/activity/applyAuth.js
  3. 2 2
      src/views/report/Index.vue

+ 2 - 2
src/layout/component/Header.vue

@@ -110,7 +110,7 @@ const handleContact = async () => {
   if (res.code === 200) {
     console.log("主动申请成功");
   }
-  const htmlStr = `<p>请联系对口销售--${userInfo.value.seal_name}:${userInfo.value.seal_mobile}</p>`;
+  const htmlStr = `<p>请联系对口销售${userInfo.value.seal_name}:${userInfo.value.seal_mobile}</p>`;
   ElMessageBox({
     title: "申请提醒",
     message: htmlStr,
@@ -190,7 +190,7 @@ const handleClickBreadCrumb=(item,index)=>{
               </div>
               <div class="con" v-else>{{ permission_list_str }}</div>
             </div>
-            <div class="flex info-item">
+            <div class="flex info-item" v-if="userInfo.status!='试用'">
               <div class="label">服务截至日期</div>
               <div class="con">{{ lastTime }}</div>
             </div>

+ 1 - 1
src/views/activity/applyAuth.js

@@ -44,7 +44,7 @@ export const applyAuth=(res,type,source,fromPage)=>{
         }
     }else if(res.code===403){
         if(res.data.type=='contact'){
-            const htmlStr=`<p>您暂无权限参加此${type},若想参加请联系对口销售<p>${res.data.name}:${res.data.mobile}</p></p>`
+            const htmlStr=`<p>您暂无权限参加此${type},若想参加请联系<p>对口销售${res.data.name}:${res.data.mobile}</p></p>`
             ElMessageBox({
                 title:`${type}提醒`,
                 message:htmlStr,

+ 2 - 2
src/views/report/Index.vue

@@ -145,8 +145,8 @@ const clickSubType = ({props}) => {
 const handleShowAuthData=(e)=>{
   if(authData.isBuy){
     if(!e.auth_ok){
-      const  htmlStr=`<p>您暂无该品种权限,若想查看请联系对口销售</p>
-                      <p>${authData.contactInfo.name}:<span style="color:#F3A52F">${authData.contactInfo.mobile}</span></p>`
+      const  htmlStr=`<p>您暂无该品种权限,若想查看请联系</p>
+                      <p>对口销售${authData.contactInfo.name}:<span style="color:#F3A52F">${authData.contactInfo.mobile}</span></p>`
       ElMessageBox({
         title:'温馨提醒',
         message:htmlStr,