Browse Source

拒绝原因展示

yuanmingze 5 tháng trước cách đây
mục cha
commit
abeeda3b3b

+ 2 - 2
.env.development

@@ -2,9 +2,9 @@ NODE_ENV = 'development'
 VUE_APP_TYPE= 'dev'
 # VUE_APP_URL = 'http://10.144.62.235:9999'
 # VUE_APP_URL = 'https://mic.freerr.cn'
-# VUE_APP_URL = 'https://mic.cnbg.com.cn'
+VUE_APP_URL = 'https://mic.cnbg.com.cn'
 # VUE_APP_URL = 'https://cnbg.yaoyi.net'
 # VUE_APP_URL = 'http://192.168.110.25:9999'
-VUE_APP_URL = 'https://mic-t.cnbg.com.cn'
+# VUE_APP_URL = 'https://mic-t.cnbg.com.cn'
 
 

+ 2 - 2
.env.production

@@ -1,6 +1,6 @@
 NODE_ENV = 'production'
 VUE_APP_TYPE= 'prod'
 # VUE_APP_URL = 'https://cnbg.yaoyi.net'
-VUE_APP_URL = 'https://mic-t.cnbg.com.cn'
-# VUE_APP_URL = 'https://mic.cnbg.com.cn'
+# VUE_APP_URL = 'https://mic-t.cnbg.com.cn'
+VUE_APP_URL = 'https://mic.cnbg.com.cn'
 

BIN
dist.zip


+ 1 - 1
src/views/admin/assignPoints/quota/taskAudit.vue

@@ -45,7 +45,7 @@
         <template slot="taskStatus" slot-scope="scope">
           <div style="line-height: 16px">
             <span>{{ getTaskStatusVal(scope.row.taskStatus) }}</span>
-            <el-tooltip class="item" effect="dark" :content="'拒绝原因:' + (scope.row.taskStatusInfo || '')" placement="top-start">
+            <el-tooltip class="item" effect="dark" :content="'拒绝原因:' + (scope.row.taskStatusInfo || '')" placement="top-start">
               <i v-if="scope.row.taskStatus === '4'" class="el-icon-question f16 ml2"></i>
             </el-tooltip>
           </div>

+ 8 - 8
src/views/admin/taskManagement/reportRulelook.vue

@@ -11,12 +11,12 @@
           <el-button type="text" size="small" icon="el-icon-tickets" @click="showTaskInfo(scope.row, scope.index)">任务详情 </el-button>
         </template>
         <template slot="reportApprovalOpinion" slot-scope="scope">
-          <div style="line-height: 16px;">
+          <div style="line-height: 16px">
             <span>{{ getTaskStatusVal(scope.row.reportApprovalOpinion) }}</span>
             <el-tooltip
               class="item"
               effect="dark"
-              :content="'拒绝原因:' + (scope.row.reportApprovalInfo || (scope.row.checkState && scope.row.checkState.checkMsg) || '')"
+              :content="'拒绝原因:' + (scope.row.reportApprovalInfo || (scope.row.checkState && scope.row.checkState.checkMsg) || '')"
               placement="top-start"
             >
               <i v-if="scope.row.reportApprovalOpinion === '2'" class="el-icon-question f16 ml2"></i>
@@ -29,8 +29,8 @@
 </template>
 
 <script>
-import {reportRulelookdata} from '@/const/crud/reportRule';
-import {getLookPage} from '@/api/taskManagement/reportRule';
+import { reportRulelookdata } from '@/const/crud/reportRule';
+import { getLookPage } from '@/api/taskManagement/reportRule';
 import Config from '@/settings';
 export default {
   name: 'reportRulelook',
@@ -59,9 +59,9 @@ export default {
   },
   computed: {
     getTaskStatusVal() {
-      return taskStatusId => {
+      return (taskStatusId) => {
         taskStatusId = String(taskStatusId).trim();
-        const curr = this.statusDict.find(ele => ele.value == taskStatusId);
+        const curr = this.statusDict.find((ele) => ele.value == taskStatusId);
         if (curr) {
           return curr.label;
         }
@@ -84,7 +84,7 @@ export default {
           this.searchForm
         )
       )
-        .then(response => {
+        .then((response) => {
           this.tableData = response.data.data.records;
           this.page.total = response.data.data.total;
           this.tableLoading = false;
@@ -96,7 +96,7 @@ export default {
     // 返回按钮
     backPage() {
       this.$router.$avueRouter.closeTag();
-      this.$router.push({path: '/admin/taskManagement/reportRule'});
+      this.$router.push({ path: '/admin/taskManagement/reportRule' });
     },
     // 任务详情
     showTaskInfo(row, index) {

+ 25 - 25
src/views/admin/taskManagement/teskReportapprovalLook.vue

@@ -4,13 +4,13 @@
       <p>
         <el-button type="primary" @click="backPage" style="width: 80px; margin-left: 25px">返回</el-button>
         <el-tooltip class="item" effect="dark" content="请在批量审核前务必已查看各个服务详情,并确认服务完成情况符合服务要求。" placement="top" v-if="showBtn == 'approval'">
-          <el-button type="primary" @click="moreApproval" style=" width: 80px">批量审批</el-button>
+          <el-button type="primary" @click="moreApproval" style="width: 80px">批量审批</el-button>
         </el-tooltip>
 
-        <el-button v-if="showBtn == 'approval'" type="primary" @click="exportWord" style="width: 100px; float:right; margin-left: 20px;">导出</el-button>
+        <el-button v-if="showBtn == 'approval'" type="primary" @click="exportWord" style="width: 100px; float: right; margin-left: 20px">导出</el-button>
 
         <!-- v-if="showBtn == 'approval'" -->
-        <el-button v-if="showBtn == 'approval'" type="primary" @click="quickAuditClick" style="float:right;">快捷审核模式</el-button>
+        <el-button v-if="showBtn == 'approval'" type="primary" @click="quickAuditClick" style="float: right">快捷审核模式</el-button>
       </p>
     </Card>
 
@@ -25,7 +25,7 @@
       @selection-change="selectionChange"
       @search-change="searchVal"
       @search-reset="searchReset"
-      style="width:100%"
+      style="width: 100%"
     >
       <template slot="menu" slot-scope="scope">
         <!-- :disabled="scope.row.reportApprovalOpinion != null" -->
@@ -34,12 +34,12 @@
         <el-button type="text" size="small" icon="el-icon-tickets" @click="showTaskInfo(scope.row, scope.index)">服务详情 </el-button>
       </template>
       <template slot="taskStatus" slot-scope="scope">
-        <div style="line-height: 16px;">
+        <div style="line-height: 16px">
           <span>{{ getTaskStatusVal(scope.row.taskStatus) }}</span>
           <el-tooltip
             class="item"
             effect="dark"
-            :content="'拒绝原因:' + (scope.row.reportApprovalInfo || (scope.row.checkState && scope.row.checkState.checkMsg) || '')"
+            :content="'拒绝原因:' + (scope.row.reportApprovalInfo || (scope.row.checkState && scope.row.checkState.checkMsg) || '')"
             placement="top-start"
           >
             <i v-if="scope.row.taskStatus === '4'" class="el-icon-question f16 ml2"></i>
@@ -65,7 +65,7 @@
       <el-form :model="approvalLookform" :rules="rules" ref="approvalLookform" label-width="100px" class="demo-ruleForm">
         <div v-show="oneData">
           <p v-if="atypismData.length" class="teskDetailsty">不一致信息</p>
-          <el-table v-if="atypismData.length" :data="atypismData" border style="width: 100%; margin-bottom:20px;">
+          <el-table v-if="atypismData.length" :data="atypismData" border style="width: 100%; margin-bottom: 20px">
             <el-table-column prop="name" label="信息项" width="180" align="center"> </el-table-column>
             <el-table-column prop="oldData" label="系统数据" width="180" align="center"> </el-table-column>
             <el-table-column prop="newData" label="调研数据" align="center"> </el-table-column>
@@ -150,24 +150,24 @@
       </template>
       <span slot="footer" class="dialog-footer">
         注意: 1.报告将于24小时之内生成完毕,请注意下载。<br />
-        <i style="margin-left:62px"></i>2.报告汇总为封面+服务数据汇总+服务列表明细。
+        <i style="margin-left: 62px"></i>2.报告汇总为封面+服务数据汇总+服务列表明细。
         <br />
-        <i style="margin-left:10px"></i>3.报告详情为每条服务的服务详情+图片。
+        <i style="margin-left: 10px"></i>3.报告详情为每条服务的服务详情+图片。
       </span>
     </el-dialog>
   </basic-container>
 </template>
 
 <script>
-import {teskReportapprovalLookdata} from '@/const/crud/teskReportapproval';
-import {getTaskListPage, approvalReport, reviewTask, nodeHistoryCreateApi} from '@/api/taskManagement/teskReportapproval';
-import {approvalTask} from '@/api/assignPoints/currency/taskAudit';
+import { teskReportapprovalLookdata } from '@/const/crud/teskReportapproval';
+import { getTaskListPage, approvalReport, reviewTask, nodeHistoryCreateApi } from '@/api/taskManagement/teskReportapproval';
+import { approvalTask } from '@/api/assignPoints/currency/taskAudit';
 import Config from '@/settings';
 import taskDetail from '@/components/taskDetail';
 import taskApi from '@/api/taskDetail/task';
 import refuseReason from '@/components/refuseReason';
-import {getDictType} from '@/api/common';
-import {mapGetters} from 'vuex';
+import { getDictType } from '@/api/common';
+import { mapGetters } from 'vuex';
 
 export default {
   name: 'teskReportapprovalLook',
@@ -196,7 +196,7 @@ export default {
         explain: ''
       },
       rules: {
-        resource: [{required: true, message: '请选择审批意见', trigger: 'change'}]
+        resource: [{ required: true, message: '请选择审批意见', trigger: 'change' }]
       },
 
       showTitle: '',
@@ -227,9 +227,9 @@ export default {
       }, 0);
     },
     getTaskStatusVal() {
-      return taskStatusId => {
+      return (taskStatusId) => {
         taskStatusId = String(taskStatusId).trim();
-        const curr = this.task_status_dict.find(ele => ele.value === taskStatusId);
+        const curr = this.task_status_dict.find((ele) => ele.value === taskStatusId);
         if (curr) return curr.label;
       };
     }
@@ -264,7 +264,7 @@ export default {
       return flag;
     },
     getTaskStatusDict() {
-      getDictType({type: 'task_status'}).then(res => {
+      getDictType({ type: 'task_status' }).then((res) => {
         this.task_status_dict = res.data.data;
       });
     },
@@ -272,10 +272,10 @@ export default {
       this.$set(this.approvalLookform, 'explain', refuseReason);
     },
     getStatus() {
-      taskApi.wordNBStatus(this.$route.query.id).then(res => {
+      taskApi.wordNBStatus(this.$route.query.id).then((res) => {
         this.wordStatus = res.data.data;
       });
-      taskApi.excelNBStatus(this.$route.query.id).then(res => {
+      taskApi.excelNBStatus(this.$route.query.id).then((res) => {
         this.excelStatus = res.data.data;
       });
     },
@@ -334,7 +334,7 @@ export default {
     },
     getName(row) {
       let id = row.taskTypeId;
-      let curr = this.taskList.find(item => item.id == id);
+      let curr = this.taskList.find((item) => item.id == id);
       if (curr) return curr.taskTypeName;
     },
     searchVal(form, done) {
@@ -362,7 +362,7 @@ export default {
       console.log('obj', obj);
 
       getTaskListPage(obj)
-        .then(response => {
+        .then((response) => {
           this.tableData = response.data.data.records;
           this.page.total = response.data.data.total;
           this.tableLoading = false;
@@ -402,7 +402,7 @@ export default {
     // 返回按钮
     backPage() {
       this.$router.$avueRouter.closeTag();
-      this.$router.push({path: '/admin/taskManagement/teskReportapproval'});
+      this.$router.push({ path: '/admin/taskManagement/teskReportapproval' });
     },
 
     // 分页查询
@@ -415,7 +415,7 @@ export default {
 
     // 确定按钮
     submitForm(formName) {
-      this.$refs[formName].validate(async valid => {
+      this.$refs[formName].validate(async (valid) => {
         if (valid) {
           if (this.showBtn == 'approval') {
             let id = '';
@@ -522,7 +522,7 @@ export default {
     },
     // 获取不一致信息
     getSurveyTaskInfoById(id) {
-      taskApi.getSurveyTaskInfoById(id).then(res => {
+      taskApi.getSurveyTaskInfoById(id).then((res) => {
         this.atypismData = res.data.data.compareList;
       });
     }