diff --git a/src/views/qm/behavior.vue b/src/views/qm/behavior.vue
index 2a0280bf..a523a449 100644
--- a/src/views/qm/behavior.vue
+++ b/src/views/qm/behavior.vue
@@ -11,7 +11,7 @@
>
-
-
+ -->
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{
- state_[scope.row.equip_state]
- }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{
- state_xj[scope.row.val_xj]
- }}
-
-
-
-
- 编辑
-
- 查看
-
- 删除
-
-
-
+
+
+
+
+
+
+
+ {{state_[scope.row.equip_state]}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{state_xj[scope.row.val_xj]}}
+
+
+
+
+
+
+
+
+
+
+ 编辑
+
+ 查看
+
+ 删除
+
+
+
+
+
{
that.behaviors = res;
- that.query.testitem = res[0].id;
+ // that.query.testitem = res[0].id;
that.apiObj = that.$API.qm.ptest.list;
});
},
diff --git a/src/views/qm/behavior_form.vue b/src/views/qm/behavior_form.vue
index aba5e66f..e1e06d22 100644
--- a/src/views/qm/behavior_form.vue
+++ b/src/views/qm/behavior_form.vue
@@ -15,24 +15,6 @@
label-width="160px"
>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
+
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
-
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
{
that.behaviors = res;
});
@@ -416,14 +378,9 @@ export default {
try {
var res;
if (this.mode == "add") {
- res = await this.$API.qm.ptest.create.req(
- this.form
- );
+ res = await this.$API.qm.ptest.create.req(this.form);
} else if (this.mode == "edit") {
- res = await this.$API.qm.ptest.update.req(
- this.form.id,
- this.form
- );
+ res = await this.$API.qm.ptest.update.req(this.form.id,this.form);
}
this.isSaveing = false;
this.$emit("success");