|
@@ -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) {
|