Hua 1 mesiac pred
rodič
commit
e93a8c73a9
1 zmenil súbory, kde vykonal 42 pridanie a 52 odobranie
  1. 42 52
      src/views/duChaWenTi/duChaWenTi_dczfzzwtcz.vue

+ 42 - 52
src/views/duChaWenTi/duChaWenTi_dczfzzwtcz.vue

@@ -8,7 +8,7 @@
     >
       <a-tab-pane key="PTTab">
         <template #tab>
-          <a-icon type="file-text" />
+          <FileTextOutlined />
           <span style="padding-left: 8px">待处理问题</span>
         </template>
         <div style="height:100%;width:100%" id="penddingTask">
@@ -185,8 +185,8 @@
                         @click="showExpandSearchPanel = !showExpandSearchPanel"
                       >
                         {{ showExpandSearchPanel ? "收起" : "更多条件" }}
-                        <a-icon type="down" v-show="!showExpandSearchPanel" />
-                        <a-icon type="up" v-show="showExpandSearchPanel" />
+                        <DownOutlined v-show="!showExpandSearchPanel" />
+                        <UpOutlined v-show="showExpandSearchPanel" />
                       </a-button>
                     </a-col>
                     <a-col :offset="2" :span="9">
@@ -389,8 +389,8 @@
                     style="margin-top: 10px;"
                   />
                   <!-- <div class="open_board">
-                    <a-icon type="left" v-if="isOpen" @click="closeLeft" />
-                    <a-icon type="right" v-else @click="openLeft" />
+                    <LeftOutlined v-if="isOpen" @click="closeLeft" />
+                    <RightOutlined v-else @click="openLeft" />
                   </div> -->
                 </div>
                 <!-- 删除的弹窗 -->
@@ -566,7 +566,7 @@
                                       <img :src="`${hostUrl}/${item.filePath}`" />
                                     </a>
                                     <div class="image-preview-action">
-                                      <a-icon type="delete" @click.stop="removeFile(item.id)" />
+                                      <DeleteOutlined @click.stop="removeFile(item.id)" />
                                     </div>
                                   </div>
                                 </div>
@@ -678,7 +678,7 @@
                           :before-upload="beforeUpload"
                           ref="upload">
                           <p class="ant-upload-drag-icon">
-                            <a-icon type="inbox" />
+                            <InboxOutlined />
                           </p>
                           <p class="ant-upload-text">
                             将文件拖到此处,或<em>点击添加</em>
@@ -699,7 +699,7 @@
                                       <img :src="`${hostUrl}/${item.filePath}`">
                                     </a>
                                     <div class="image-preview-action">
-                                      <a-icon type="delete" @click.stop="removeFile(item.id)" />
+                                      <DeleteOutlined @click.stop="removeFile(item.id)" />
                                     </div>
                                   </div>
                                 </div>
@@ -815,34 +815,28 @@
                       :loading="buttonLoading"
                       v-show="canGoBack"
                     >
-                      <template>
-                        <span
-                          v-if="
-                            parseInt(changeSupervision.workflowStat) != 12 &&
-                              parseInt(changeSupervision.workflowStat) != 15 &&
-                              changeSupervision.workflowStat != '18'
-                          "
-                        >退回</span
-                        >
-                        <span
-                          v-if="
-                            parseInt(changeSupervision.workflowStat) == 12 ||
-                              parseInt(changeSupervision.workflowStat) == 15 ||
-                              changeSupervision.workflowStat == '18'
-                          "
-                        >删除</span
-                        >
-                      </template>
+                      <span
+                        v-if="
+                          parseInt(changeSupervision.workflowStat) != 12 &&
+                            parseInt(changeSupervision.workflowStat) != 15 &&
+                            changeSupervision.workflowStat != '18'
+                        "
+                      >退回</span>
+                      <span
+                        v-if="
+                          parseInt(changeSupervision.workflowStat) == 12 ||
+                            parseInt(changeSupervision.workflowStat) == 15 ||
+                            changeSupervision.workflowStat == '18'
+                        "
+                      >删除</span>
                     </a-button>
                     <a-button
                       type="primary"
                       @click="ProcMoveNext"
                       :loading="buttonLoading"
                     >
-                      <template>
-                        <span v-if="Boolean(isModifyAct) == false">同意</span>
-                        <span v-if="Boolean(isModifyAct) == true">提交</span>
-                      </template>
+                      <span v-if="Boolean(isModifyAct) == false">同意</span>
+                      <span v-if="Boolean(isModifyAct) == true">提交</span>
                     </a-button>
                     <a-button
                       @click="changeSupervisionVisiblefalse"
@@ -900,7 +894,7 @@
       </a-tab-pane>
       <a-tab-pane key="OTTab">
         <template #tab>
-          <a-icon type="file-text" />
+          <FileTextOutlined />
           <span style="padding-left: 8px">问题列表</span>
         </template>
         <div style="height:100%;width:100%" id="onGoingTask">
@@ -1142,8 +1136,8 @@
                         @click="showExpandSearchPanel = !showExpandSearchPanel"
                       >
                         {{ showExpandSearchPanel ? "收起" : "更多条件" }}
-                        <a-icon type="down" v-show="!showExpandSearchPanel" />
-                        <a-icon type="up" v-show="showExpandSearchPanel" />
+                        <DownOutlined v-show="!showExpandSearchPanel" />
+                        <UpOutlined v-show="showExpandSearchPanel" />
                       </a-button>
                     </a-col>
                     <a-col :offset="2" :span="9">
@@ -1321,8 +1315,8 @@
                     style="margin-top: 10px;"
                   />
                   <!-- <div class="open_board">
-                    <a-icon type="left" v-if="isOpen" @click="closeLeft" />
-                    <a-icon type="right" v-else @click="openLeft" />
+                    <LeftOutlined v-if="isOpen" @click="closeLeft" />
+                    <RightOutlined v-else @click="openLeft" />
                   </div> -->
                 </div>
                 <!-- 删除的弹窗 -->
@@ -1352,7 +1346,7 @@
       </a-tab-pane>
       <a-tab-pane v-if="currentUserHasDuChaRole" key="IQLTab">
         <template #tab>
-          <a-icon type="file-text" />
+          <FileTextOutlined />
           <span style="padding-left: 8px">问题清单</span>
         </template>
         <div style="height:100%;width:100%" id="initQuestionList">
@@ -1545,8 +1539,8 @@
                         @click="showExpandSearchPanel = !showExpandSearchPanel"
                       >
                         {{ showExpandSearchPanel ? "收起" : "更多条件" }}
-                        <a-icon type="down" v-show="!showExpandSearchPanel" />
-                        <a-icon type="up" v-show="showExpandSearchPanel" />
+                        <DownOutlined v-show="!showExpandSearchPanel" />
+                        <UpOutlined v-show="showExpandSearchPanel" />
                       </a-button>
                     </a-col>
                     <a-col :offset="2" :span="9">
@@ -1731,8 +1725,8 @@
                   />
 
                   <!-- <div class="open_board">
-                    <a-icon type="left" v-if="isOpen" @click="closeLeft" />
-                    <a-icon type="right" v-else @click="openLeft" />
+                    <LeftOutlined v-if="isOpen" @click="closeLeft" />
+                    <RightOutlined v-else @click="openLeft" />
                   </div> -->
                 </div>
                 <!-- 删除的弹窗 -->
@@ -1774,7 +1768,7 @@
       </a-tab-pane>
       <a-tab-pane v-if="false" key="FQLTab">
         <template #tab>
-          <a-icon type="file-text" />
+          <FileTextOutlined />
           <span style="padding-left: 8px">最终问题清单</span>
         </template>
         <div style="height:100%;width:100%" id="finalQuestionList">
@@ -1939,8 +1933,8 @@
                         @click="showExpandSearchPanel = !showExpandSearchPanel"
                       >
                         {{ showExpandSearchPanel ? "收起" : "更多条件" }}
-                        <a-icon type="down" v-show="!showExpandSearchPanel" />
-                        <a-icon type="up" v-show="showExpandSearchPanel" />
+                        <DownOutlined v-show="!showExpandSearchPanel" />
+                        <UpOutlined v-show="showExpandSearchPanel" />
                       </a-button>
                     </a-col>
                     <a-col :offset="2" :span="9">
@@ -2129,8 +2123,8 @@
                   />
 
                   <!-- <div class="open_board">
-                    <a-icon type="left" v-if="isOpen" @click="closeLeft" />
-                    <a-icon type="right" v-else @click="openLeft" />
+                    <LeftOutlined v-if="isOpen" @click="closeLeft" />
+                    <RightOutlined v-else @click="openLeft" />
                   </div> -->
                 </div>
                 <!-- 详情弹框 -->
@@ -2185,8 +2179,7 @@
                     <a-button
                       style="margin-top:5px;"
                       @click="supervisionDetailsVisible = false"
-                    >返回</a-button
-                    >
+                    >返回</a-button>
                   </template>
                 </a-modal>
                 <!-- 删除的弹窗 -->
@@ -2257,7 +2250,7 @@ import {
   transferProcStatCodeToName,
 } from '../../api/duChaProcAPI.js';
 import { h } from 'vue';
-import { EyeOutlined, EditOutlined, DeleteOutlined, PlusCircleOutlined, CloseCircleOutlined } from '@ant-design/icons-vue';
+import { EyeOutlined, EditOutlined, DeleteOutlined, PlusCircleOutlined, CloseCircleOutlined, FileTextOutlined, DownOutlined, UpOutlined, LeftOutlined, RightOutlined, InboxOutlined } from '@ant-design/icons-vue';
 import { hostUrl } from '../../utils/global_variable.js';
 import request from '../../utils/gw_ajax_request.js';
 import { formatD, formatDateTime2 } from '../../utils/gw_date.js';
@@ -2280,6 +2273,7 @@ export default {
   props: ['codeId'],
   components: {
     EyeOutlined, EditOutlined, DeleteOutlined, PlusCircleOutlined, CloseCircleOutlined,
+    FileTextOutlined, DownOutlined, UpOutlined, LeftOutlined, RightOutlined, InboxOutlined,
     Dealproblem_dialog,
     upload,
     // 详情页
@@ -4896,10 +4890,6 @@ export default {
       font-size: 0;
   } */
 
-// .shuiku .search>>>.el-table .el-button:nth-child(odd) {
-//   margin-left: 0 !important;
-// }
-
 .custom_dialog .el-dialog {
   width: 60% !important;
 }