Jelajahi Sumber

修改通知下载、nuxt.config.ignore.js

ljm 6 tahun lalu
induk
melakukan
2dd32c828c

+ 6 - 18
src/dashoo.cn/frontend_web/nuxt.config.ignore.js

@@ -132,31 +132,19 @@ module.exports = {
   },
 
   axios: {
-    baseURL: '//localhost:10091/api/' // 本机开发使用
-    // baseURL: '//api09.labsop.cn/api/'
-    // baseURL: '//52.80.133.197:10091/api/' // DQM 爱萨尔发布使用
-    // baseURL: '//192.168.0.211:10091/api/' // 花生所系统
-    // baseURL: '//121.42.244.202:9081/api/' // 基石发布使用
-    // baseURL: '//52.80.133.197:9081/api/' // BioBank on AWS发布使用
-    // baseURL: '//52.80.133.197:10092/api/' // 因顿LIMS发布
-    // proxyHeaders: false
+    baseURL: '//localhost:10091/api/'   // 本机开发使用
+    // baseURL: '//47.92.249.239:10092/api/' // 供方管理服务器
   },
   /*
   ** 客户端和服务端共享的环境变量,
   ** 客户端使用:process.env.appclient 服务端使用:context.appclient
   */
   env: {
-    appclient: 'gfgl', //因顿LIMS:lims,样本库:biobank,细胞制备:cellbank,样本搜索判断,登录跳转判断
-    imgserverhost: 'http://47.92.212.59:10091', // 本地测试服务地址,图片上传文件
-    // imgserverhost: 'http://52.80.133.197:10091', // 服务地址,图片上传文件
-    // imgserverhost: 'http://52.80.133.197:9081', // BioBank服务地址,图片上传文件
+    appclient: 'gfgl', //供方信息管理平台
+    imgserverhost: 'http://47.92.249.239:10092', // 图片上传地址
     upfilehost: 'http://weed1.labsop.cn:9333/dir/assign', // 附件上传
-    // imgserverhost: 'http://192.168.0.211:10091', // 花生所系统服务地址,图片上传文件
-    // upfilehost: 'http://192.168.0.211:9333/dir/assign' // 花生所系统附件上传
-    limsimgserverhost:'http://47.92.212.59:10091',//lims图片上传
-    onlyofficeUrl: 'http://47.92.212.59:9221', //onlyoffice地址 Lims
-    onlyofficeCallBackUrl: 'http://47.92.212.59:10091', //onlyofficeCallBack地址  Lims
-    baseURL: '//47.92.212.59:10091/api/'
+    limsimgserverhost:'http://47.92.249.239:10092',//图片上传
+    baseURL: '//47.92.249.239:10092/api/'
   },
   ignore: [
     /*'pages/setting/!**!/!*.*',*/

+ 3 - 3
src/dashoo.cn/frontend_web/src/pages/login.vue

@@ -52,14 +52,14 @@
             <i class="icon icon-table2"></i> 通知中心
           </span>
         </div>
-        <el-table fit :data="noticeList"  style="width: 100%; height: 100vh;">
+        <el-table fit :data="noticeList"  style="width: 100%; height: 100vh;" @row-click="DownloadFile">
           <el-table-column prop="Name" label="通知标题">
             <template slot-scope="scope">
               <i class="el-icon-caret-right"></i>
-              <span style="margin-left: 5px">{{ scope.row.Name }}</span>
+              <a style="margin-left: 5px">{{ scope.row.Name }}</a>
             </template>
           </el-table-column>
-          <el-table-column prop="CreateOn" label="时间" width="160">
+          <el-table-column prop="CreateOn" label="时间" width="141">
             <template slot-scope="scope">
               {{ jstimehandle(scope.row.CreateOn+'') }}
             </template>