浏览代码

修改查看按钮显示错误

余思翰 11 个月前
父节点
当前提交
c4ccabc931

+ 13
- 14
oa-ui/src/views/flowable/form/components/settlePrint.vue 查看文件

@@ -92,38 +92,38 @@
92 92
         <tr>
93 93
           <td :colspan="2" class="fontbold">综合事务部(设备领用情况)</td>
94 94
           <td :colspan="4" class="conment-width">{{ form.zhComment }}</td>
95
-          <td :colspan="2" style="text-align:left;">签名:<span class="auditor">{{ form.zhUserName }}</span></td>
96
-          <td :colspan="2" style="text-align:left;">日期:{{ form.zhTime }}</td>
95
+          <td :colspan="2" style="text-align:left;min-width:120px;">签名:<span class="auditor">{{ getUserName(form.zhUserId) }}</span></td>
96
+          <td :colspan="2" style="text-align:left;width:120px;">日期:{{ form.zhTime }}</td>
97 97
         </tr>
98 98
         <tr>
99 99
           <td :colspan="2" class="fontbold">技术质量部(质量及工作量)</td>
100 100
           <td :colspan="4" class="conment-width">{{ form.jsComment }}</td>
101
-          <td :colspan="2" style="text-align:left;">签名:<span class="auditor">{{ form.jsUserName }}</span></td>
102
-          <td :colspan="2" style="text-align:left;">日期:{{ form.jsTime }}</td>
101
+          <td :colspan="2" style="text-align:left;min-width:120px;">签名:<span class="auditor">{{ getUserName(form.jsUserId) }}</span></td>
102
+          <td :colspan="2" style="text-align:left;width:120px;">日期:{{ form.jsTime }}</td>
103 103
         </tr>
104 104
         <tr>
105 105
           <td :colspan="2" class="fontbold">经营发展部(校核)</td>
106 106
           <td :colspan="4" class="conment-width">{{ form.jyComment }}</td>
107
-          <td :colspan="2" style="text-align:left;">签名:<span class="auditor">{{ form.jyUserName }}</span></td>
108
-          <td :colspan="2" style="text-align:left;">日期:{{ form.jyTime }}</td>
107
+          <td :colspan="2" style="text-align:left;min-width:120px;">签名:<span class="auditor">{{ getUserName(form.jyUserId) }}</span></td>
108
+          <td :colspan="2" style="text-align:left;width:120px;">日期:{{ form.jyTime }}</td>
109 109
         </tr>
110 110
         <tr>
111 111
           <td :colspan="2" class="fontbold">分管领导(审核)</td>
112 112
           <td :colspan="4" class="conment-width">{{ form.managerComment }}</td>
113
-          <td :colspan="2" style="text-align:left;">签名:<span class="auditor">{{ form.managerUserName }}</span></td>
114
-          <td :colspan="2" style="text-align:left;">日期:{{ form.managerTime }}</td>
113
+          <td :colspan="2" style="text-align:left;min-width:120px;">签名:<span class="auditor">{{ getUserName(form.managerUserId) }}</span></td>
114
+          <td :colspan="2" style="text-align:left;width:120px;">日期:{{ form.managerTime }}</td>
115 115
         </tr>
116 116
         <tr>
117 117
           <td :colspan="2" class="fontbold">总经理(审批)</td>
118 118
           <td :colspan="4" class="conment-width">{{ form.gmComment }}</td>
119
-          <td :colspan="2" style="text-align:left;">签名:<span class="auditor">{{ form.gmUserName }}</span></td>
120
-          <td :colspan="2" style="text-align:left;">日期:{{ form.gmTime }}</td>
119
+          <td :colspan="2" style="text-align:left;min-width:120px;">签名:<span class="auditor">{{ getUserName(form.gmUserId) }}</span></td>
120
+          <td :colspan="2" style="text-align:left;width:120px;">日期:{{ form.gmTime }}</td>
121 121
         </tr>
122 122
         <tr v-if="form.dszTime">
123 123
           <td :colspan="2" class="fontbold">董事长(批准)</td>
124 124
           <td :colspan="4" class="conment-width">{{ form.dszComment }}</td>
125
-          <td :colspan="2" style="text-align:left;">签名:<span class="auditor">{{ form.dszUserName }}</span></td>
126
-          <td :colspan="2" style="text-align:left;">日期:{{ form.dszTime }}</td>
125
+          <td :colspan="2" style="text-align:left;min-width:120px;">签名:<span class="auditor">{{ getUserName(form.dszUserId) }}</span></td>
126
+          <td :colspan="2" style="text-align:left;width:120px;">日期:{{ form.dszTime }}</td>
127 127
         </tr>
128 128
       </table>
129 129
     </div>
@@ -186,7 +186,6 @@ export default {
186 186
   },
187 187
   methods: {
188 188
     initTable() {
189
-      console.log(this.settleList);
190 189
       this.deductionsList = []
191 190
       this.deptSettleList = []
192 191
       for (let s of this.settleList) {
@@ -254,7 +253,7 @@ table {
254 253
 }
255 254
 
256 255
 .conment-width {
257
-  max-width: 200px;
256
+  // max-width: 200px;
258 257
 }
259 258
 
260 259
 

+ 5
- 0
oa-ui/src/views/flowable/form/finance/depositForm.vue 查看文件

@@ -248,6 +248,11 @@ export default {
248 248
       default: true
249 249
     }
250 250
   },
251
+  watch:{
252
+    'taskForm.formId'(){
253
+      this.initForm();
254
+    }
255
+  },
251 256
   name: "Deposit",
252 257
   data() {
253 258
     return {

+ 3
- 3
oa-ui/src/views/flowable/form/inProgress/achiData.vue 查看文件

@@ -1,5 +1,5 @@
1 1
 <template>
2
-  <div class="mt20" style="width:99%">
2
+  <div class="mt20" style="width:100%">
3 3
     <div class="nav-btn" v-if="taskName != ''">
4 4
       <div>
5 5
         <el-button class="mb20" type="primary" plain size="mini" icon="el-icon-plus" @click="addAchi">成果汇交</el-button>
@@ -36,10 +36,10 @@
36 36
       <el-table-column label="质量检查时间" prop="qualityTime" show-overflow-tooltip width="120" />
37 37
       <el-table-column label="生产部门检查时间" prop="produceTime" show-overflow-tooltip width="130" />
38 38
       <el-table-column label="归档时间" prop="archiveTime" show-overflow-tooltip width="120" />
39
-      <el-table-column label="生产部门意见" prop="produceComment" show-overflow-tooltip width="120" />
39
+      <!-- <el-table-column label="生产部门意见" prop="produceComment" show-overflow-tooltip width="120" />
40 40
       <el-table-column label="质量检查意见" prop="qualityComment" show-overflow-tooltip width="120" />
41 41
       <el-table-column label="技术质量与安全部审核意见" prop="deptComment" show-overflow-tooltip width="120" />
42
-      <el-table-column label="归档意见" prop="archiveComment" show-overflow-tooltip width="120" />
42
+      <el-table-column label="归档意见" prop="archiveComment" show-overflow-tooltip width="120" /> -->
43 43
       <el-table-column label="操作" fixed="right" header-align="center">
44 44
         <template slot-scope="scope">
45 45
           <el-button icon="el-icon-view" type="text" size="mini" @click="handleLook(scope.row)">查看明细</el-button>

+ 8
- 10
oa-ui/src/views/flowable/form/settleForm.vue 查看文件

@@ -1,8 +1,8 @@
1 1
 <!--
2 2
  * @Author: ysh
3 3
  * @Date: 2024-04-30 09:03:14
4
- * @LastEditors: wrh
5
- * @LastEditTime: 2024-07-11 20:14:35
4
+ * @LastEditors: Please set LastEditors
5
+ * @LastEditTime: 2024-07-12 10:12:15
6 6
 -->
7 7
 <template>
8 8
   <div class="app-container" v-loading="loading">
@@ -530,8 +530,10 @@ export default {
530 530
     }
531 531
   },
532 532
   watch: {
533
-    'taskForm.formId'() {
534
-
533
+    'chooseProject.projectId'(val) {
534
+      this.getBudgetSettle();
535
+    },
536
+    'taskForm.formId'(){
535 537
       this.initForm();
536 538
     }
537 539
   },
@@ -539,7 +541,7 @@ export default {
539 541
     return {
540 542
       baseUrl: process.env.VUE_APP_BASE_API,
541 543
       printOpen: false,
542
-      loading: true,
544
+      loading: false,
543 545
       drawer: false,
544 546
       prOpen: false,
545 547
       flag: false,
@@ -603,11 +605,6 @@ export default {
603 605
       isModify: false, //是否可以修改结算工作量
604 606
     };
605 607
   },
606
-  watch: {
607
-    'chooseProject.projectId'(val) {
608
-      this.getBudgetSettle();
609
-    }
610
-  },
611 608
   created() {
612 609
     this.getProjectList(); //获取项目列表
613 610
     this.getContractDataList(); //获取合同编码和编号
@@ -636,6 +633,7 @@ export default {
636 633
   methods: {
637 634
     // 初始化表单
638 635
     async initForm() {
636
+      this.loading = true
639 637
       const res = await listSettle({ settleId: this.taskForm.formId });
640 638
       if (res.total === 1) {
641 639
         this.form = res.rows[0];

+ 1
- 0
oa-ui/src/views/oa/brand/brandProject.vue 查看文件

@@ -459,6 +459,7 @@ export default {
459 459
     async handleUpdate(row) {
460 460
       this.reset();
461 461
       this.isView = false;
462
+      const projectId = row.projectId
462 463
       let brandFormData = await listBrand({ projectId })
463 464
       let brandId;
464 465
       if (brandFormData.total == 1) {

+ 1
- 0
oa-ui/src/views/oa/budget/index.vue 查看文件

@@ -94,6 +94,7 @@ import { listBudget, getBudget, delBudget, addBudget, updateBudget } from "@/api
94 94
 import { listProject } from '@/api/oa/project/project';
95 95
 import budgetInfo from '../../flowable/form/budget/budgetInfo.vue';
96 96
 import FormData from './formData.vue';
97
+import { checkPermi } from '@/utils/permission';
97 98
 export default {
98 99
   name: "Budget",
99 100
   components: { budgetInfo, FormData, },

+ 1
- 1
oa-ui/src/views/oa/settle/index.vue 查看文件

@@ -60,7 +60,7 @@
60 60
           <span>{{ parseTime(scope.row.reportTime, '{y}-{m}-{d}') }}</span>
61 61
         </template>
62 62
       </el-table-column>
63
-      <el-table-column label="工作量上报说明" align="center" prop="workloadReport" />
63
+      <!-- <el-table-column label="工作量上报说明" align="center" prop="workloadReport" /> -->
64 64
       <el-table-column label="结算说明" align="center" prop="settleComment" />
65 65
       <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
66 66
         <template slot-scope="scope">

正在加载...
取消
保存