lilei vor 2 Jahren
Ursprung
Commit
f42a3c54b6
3 geänderte Dateien mit 6 neuen und 4 gelöschten Zeilen
  1. 1 1
      .env.development
  2. 1 1
      public/version.json
  3. 4 2
      src/views/notice/detailModal.vue

+ 1 - 1
.env.development

@@ -1,7 +1,7 @@
 NODE_ENV=development
 VUE_APP_PREVIEW=true
 VUE_APP_API_BASE_URL=/api
-VUE_APP_WX_BASE_URL=//192.168.0.103:8503/qpls-md/websocket/
+VUE_APP_WX_BASE_URL=//p.iscm.360arrow.com/qpls-md/websocket/
 VUE_APP_VERSION=V1.0.1
 VUE_APP_ENVTIPS=开发环境(仅供测试)
 VUE_APP_PRO_NAME=iSCM智慧供应链系统

+ 1 - 1
public/version.json

@@ -1,5 +1,5 @@
 {
   "message": "发现有新版本发布,确定更新系统?",
   "vendorJsVersion": "",
-  "version": 1663831911478
+  "version": 1663833987633
 }

+ 4 - 2
src/views/notice/detailModal.vue

@@ -18,7 +18,7 @@
           <div v-if="detailsData&&detailsData.content" v-html="detailsData.content" class="editor-box"></div>
           <span v-else>--</span>
         </a-descriptions-item>
-        <a-descriptions-item label="图片" :span="2">
+        <a-descriptions-item label="图片" :span="2" v-if="detailsData.type !== 'tx'">
           <div style="display: flex;">
             <p class="pic-box" v-for="(item,index) in imgPathsArr" :key="index">
               <img :src="item" title="点击查看大图" class="productPic" @click="getPreview(item)" />
@@ -26,7 +26,7 @@
           </div>
           <span v-if="imgPathsArr.length == 0">--</span>
         </a-descriptions-item>
-        <a-descriptions-item label="附件" :span="2">
+        <a-descriptions-item label="附件" :span="2" v-if="detailsData.type !== 'tx'">
           <p style="margin: 0 0 5px;" v-for="(item,index) in attachPathsArr" :key="index">
             <a :href="item.filePath" :download="item.fileName" class="attachLink">{{ item.fileName }}</a>
           </p>
@@ -70,6 +70,8 @@ export default {
         str = '企业新闻'
       } else if (this.detailsData && this.detailsData.type == 'news_trade') {
         str = '行业咨询'
+      } else if (this.detailsData && this.detailsData.type == 'tx') {
+        str = '提醒'
       } else {
         str = '--'
       }