htc 1 天之前
父节点
当前提交
40658e04b8
共有 2 个文件被更改,包括 3 次插入2 次删除
  1. 2 1
      public/index.html
  2. 1 1
      src/components/reportList/index.vue

+ 2 - 1
public/index.html

@@ -36,7 +36,8 @@
   <% if (process.env.VUE_APP_NODE_ENV==='dev' ) { %>
     <script>
       window.SITE_CONFIG['apiURL'] = 'https://transcend.ringzle.com/chuangheng-admin';
-      // window.SITE_CONFIG['apiURL'] = 'http://172.16.0.3:9011/chuangheng-admin';
+      // window.SITE_CONFIG['apiURL'] = 'http://172.16.0.3:443/chuangheng-admin';
+      // window.SITE_CONFIG['apiURL'] = 'https://wxapp.transcend-intl.cn/chuangheng-admin';
       // window.SITE_CONFIG['apiURL'] = 'http://192.168.2.19:9021/chuangheng-admin';
       window.SITE_CONFIG['apiURL1'] = 'http://gpu.ringzle.com:8082/iot';
       window.SITE_CONFIG['apiURL2'] = 'http://gpu.ringzle.com:8082/witcarbon-gica';

+ 1 - 1
src/components/reportList/index.vue

@@ -55,7 +55,7 @@
         </el-table-column>
         <el-table-column label="操作" width="300">
             <template #default="scope">
-                <el-button link type="text" size="mini" @click="handleReive(scope.row)">查看</el-button>
+                <el-button link type="text" size="mini" @click="handleReive(scope.row)" v-if="scope.row.state!==0">查看</el-button>
                 <el-button link type="text" size="mini" @click="handledDelete(scope.row)" v-hasPermi="['core:report:delete']">删除</el-button>
                 <el-button link type="text" size="mini" @click="handleSend(scope.row)" v-if="[1,2].includes(scope.row.state)">发送报告</el-button>
                 <el-button link type="text" size="mini" @click="handleCreate(scope.row)" v-if="scope.row.state=='-1'">重新生成</el-button>