Browse Source

优化点击文案

qinzhipeng_v@didiglobal.com 4 years ago
parent
commit
dbe3b04bc1

+ 1 - 1
src/views/monthlyReport/childrenPage/editReport/components/Cascader.vue

@@ -4,7 +4,7 @@
     multiple
     filterable
     remote
-    size='small'
+    size="small"
     collapse-tags
     style="width: 100%"
     reserve-keyword

+ 3 - 3
src/views/monthlyReport/childrenPage/editReport/index.vue

@@ -392,7 +392,7 @@ export default {
     confirmReport() {
       this.$store.dispatch('monthlyReportEdit/confirmReport', {
         id: this.$route.query.subReportId,
-        cb:() => {
+        cb: () => {
           this.$router.push({ path: '/monthlyReport/index' })
         }
       })
@@ -485,10 +485,10 @@ export default {
       padding-right: 20px;
     }
 
-    .right-wrapper {
+    // .right-wrapper {
       //flex: 1 1 0;
       //display: contents;
-    }
+    // }
   }
 }
 

+ 1 - 1
src/views/monthlyReport/components/monthlyEards.vue

@@ -3,7 +3,7 @@
     <div class="Layout-flex report-header">
       <span>{{ data.bizName }}</span>
       <el-button v-show="data.status === 20 || data.status === 30" type="text" @click="$router.push({ path: '/monthlyReport/edit', query: { pageType: data.status === 0 ? 'edit' : 'read', reportId: data.parentId, subReportId: data.subReportId }})">查看更多</el-button>
-      <!--<el-button v-show="data.status < 20" type="text" @click="$router.push({ path: '/monthlyReport/edit', query: { pageType: 'edit', subReportId: data.subReportId, reportId: data.parentId }})">填写</el-button>-->
+      <el-button v-show="data.status === 10" type="text" @click="$router.push({ path: '/monthlyReport/edit', query: { pageType: 'edit', subReportId: data.subReportId, reportId: data.parentId }})">填写</el-button>
     </div>
     <div class="report-title">
       <svg-icon class="report-icon-title" icon-class="icon-red" />重点问题

+ 3 - 2
src/views/monthlyReport/index.vue

@@ -21,8 +21,9 @@
     <div class="content-wrapper">
       <div class="content-reportName">
         {{ reportName }}
-        <el-button v-if="reportStatus.status === 20 || reportStatus.status === 30" type="text" @click="$router.push({ path: '/monthlyReport/edit', query: { pageType: 'readAll', reportId: reportValue }})"> 查看完整报告</el-button>
-        <el-button v-if="reportStatus.status === 0" type="text" @click="sendConfirm(reportData)"> 发布确认</el-button>
+        <el-button v-if="reportStatus.status === 20" type="text" @click="$router.push({ path: '/monthlyReport/edit', query: { pageType: 'readAll', reportId: reportValue }})"> 月报发布</el-button>
+        <el-button v-if="reportStatus.status === 30" type="text" @click="$router.push({ path: '/monthlyReport/edit', query: { pageType: 'readAll', reportId: reportValue }})"> 查看完整报告</el-button>
+        <el-button v-if="reportStatus.status === 0" type="text" @click="sendConfirm(reportData)"> 发送确认</el-button>
       </div>
       <div v-show="tagData.analysisList || tagData.confirmeList || tagData.toBeConfirmList" class="report-bottom">
         <i class="el-icon-warning report-icon-warning" />