소스 검색

页面优化修改

sunlupeng 7 달 전
부모
커밋
ef55f2d19f
2개의 변경된 파일13개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/main.js
  2. 11 0
      src/views/HomeView/EarnPoints.vue

+ 2 - 2
src/main.js

@@ -9,9 +9,9 @@ import './assets/css/global.css';
 import './assets/icon/iconfont.css';
 import './permission' // permission control
 
-const prodUrl = 'https://xiaoyou.dgtis.com/admin/storage/create';//正式地址
+// const prodUrl = 'https://xiaoyou.dgtis.com/admin/storage/create';//正式地址
 
-// const prodUrl = 'http://47.103.79.143:9085/admin/storage/create';//阿里云地址
+const prodUrl = 'http://47.103.79.143:9085/admin/storage/create';//阿里云地址
 
 const devUrl = 'http://47.103.79.143:9085/admin/storage/create';//测试地址
 

+ 11 - 0
src/views/HomeView/EarnPoints.vue

@@ -224,6 +224,11 @@
             </el-table-column>
             <el-table-column min-width="100" align="center" label="状态" prop="uploadStatus">
             </el-table-column>
+            <el-table-column min-width="100" align="center" label="驳回原因">
+              <template slot-scope="scope">
+                <el-link type="primary" :underline="false" v-if="scope.row.content" @click="handleClickViewContent(scope.row.content)">查看</el-link>
+              </template>
+            </el-table-column>
             <el-table-column min-width="200" align="center" label="附件">
               <template slot-scope="props">
                 <div v-for="(item, index) in props.row.files" :key="index">
@@ -587,6 +592,12 @@ export default {
         this.remarkHtml = response.data.data.content
       })
     },
+    handleClickViewContent(val){
+      this.$alert(val, '驳回原因', {
+          // showConfirmButton:false,
+          // showClose: false,
+        });
+    },
     handleClickViewZan(id) {
       this.isIndeterminate = false;
       this.checkAll = false;