diff --git a/src/views/modules/equipment/main.vue b/src/views/modules/equipment/main.vue
new file mode 100644
index 0000000..25ec54c
--- /dev/null
+++ b/src/views/modules/equipment/main.vue
@@ -0,0 +1,159 @@
+
+
无
') } if (this.keyResultEditorElem3_7 !== null) { - this.keyResultEditorElem3_7.txt.html('无') + this.keyResultEditorElem3_7.txt.html('无
') } this.visible = true this.$nextTick(async () => { @@ -273,10 +273,12 @@ export default { this.keyResultEditorElem3_7.$textElem.attr('contenteditable', false) } } + if (this.dataForm.id && this.dataForm.id > 0) { const data = await apiDetailInfo(this.dataForm.id) if (data && data.code === 0) { this.dataForm = data.detailInfo + console.log(this.dataForm.keyResult37) if (this.keyResultEditor !== null) { this.keyResultEditor.txt.html(this.dataForm.keyResult || '') } @@ -287,10 +289,18 @@ export default { this.scoreCommentEditor.txt.html(this.dataForm.scoreComment || '') } if (this.keyResultEditorElem3_5 !== null) { - this.keyResultEditorElem3_5.txt.html(this.dataForm.keyResult35 || '无') + if (this.dataForm.keyResult35 !== null) { + this.keyResultEditorElem3_5.txt.html(this.dataForm.keyResult35 || '') + } else { + this.keyResultEditorElem3_5.txt.html('无
') + } } if (this.keyResultEditorElem3_7 !== null) { - this.keyResultEditorElem3_7.txt.html(this.dataForm.keyResult37 || '无') + if (this.dataForm.keyResult37 !== null) { + this.keyResultEditorElem3_7.txt.html(this.dataForm.keyResult35 || '') + } else { + this.keyResultEditorElem3_7.txt.html('无
') + } } } } @@ -309,7 +319,8 @@ export default { }) }, stringIsNull (str) { - if (typeof str === 'undefined' || str === null || str === '') { + console.log('比较' + str) + if (typeof str === 'undefined' || str === null || str === '' || str === '