Selaa lähdekoodia

修改生成生产考核表

余思翰 1 vuosi sitten
vanhempi
commit
3e5dfd1de6

+ 17
- 2
oa-ui/src/assets/datas/SCContent.js Näytä tiedosto

@@ -2,7 +2,7 @@
2 2
  * @Author: ysh
3 3
  * @Date: 2024-01-24 10:17:09
4 4
  * @LastEditors: Please set LastEditors
5
- * @LastEditTime: 2024-01-25 11:25:25
5
+ * @LastEditTime: 2024-01-25 16:48:56
6 6
  */
7 7
 export const SCContent = [
8 8
   {
@@ -218,9 +218,24 @@ export const SCContent = [
218 218
     role:['主飞23','协助24'],
219 219
     children: [
220 220
       {
221
-        label: ['傲视', '飞马', '华测', '其他'],
221
+        label: '傲视',
222 222
         value: 'f0701',
223 223
         unit: '人天'
224
+      },
225
+      {
226
+        label:'飞马',
227
+        value: 'f0702',
228
+        unit: '人天',
229
+      },
230
+      {
231
+        label:'华测',
232
+        value: 'f0703',
233
+        unit: '人天',
234
+      },
235
+      {
236
+        label:'其他',
237
+        value: 'f0704',
238
+        unit: '人天',
224 239
       }
225 240
     ]
226 241
   },

+ 4
- 6
oa-ui/src/views/flowable/form/scForm.vue Näytä tiedosto

@@ -2,7 +2,7 @@
2 2
  * @Author: ysh
3 3
  * @Date: 2024-01-19 16:29:01
4 4
  * @LastEditors: Please set LastEditors
5
- * @LastEditTime: 2024-01-25 15:27:39
5
+ * @LastEditTime: 2024-01-25 16:49:50
6 6
 -->
7 7
 <template>
8 8
   <div>
@@ -84,7 +84,7 @@
84 84
         <el-button @click="generateForm" type="primary">生成考核表</el-button>
85 85
       </el-row>
86 86
     </el-form>
87
-    <el-dialog title="考核表" :visible.sync="taskOpen" width="65%" append-to-body>
87
+    <el-dialog title="" :visible.sync="taskOpen" width="65%" append-to-body>
88 88
       <ScTable :tableForm="noNullForm"></ScTable>
89 89
     </el-dialog>
90 90
   </div>
@@ -102,9 +102,7 @@ export default {
102 102
       checkedBtn: [],
103 103
       AssessmentContent: SCContent,
104 104
       projectList: [],
105
-      form: {
106
-        f07: []
107
-      },
105
+      form: {},
108 106
       noNullForm: {},
109 107
       taskOpen: false,
110 108
       tipsShow: false,
@@ -143,6 +141,7 @@ export default {
143 141
         return
144 142
       }
145 143
       this.taskOpen = true;
144
+      console.log(this.form);
146 145
       for (let f in this.form) {
147 146
         if (this.form[f] != "" && this.form[f] != [] && this.form[f] != undefined) {
148 147
           this.$set(this.noNullForm, f, this.form[f])
@@ -151,7 +150,6 @@ export default {
151 150
       console.log(this.noNullForm);
152 151
     },
153 152
     closeItem(item) {
154
-      debugger;
155 153
       let index = this.checkedBtn.indexOf(item);
156 154
       let number;
157 155
       if (index !== -1) {

+ 1106
- 5
oa-ui/src/views/flowable/form/scTable.vue
File diff suppressed because it is too large
Näytä tiedosto


Loading…
Peruuta
Tallenna