|
|
@@ -294,14 +294,14 @@
|
|
|
<template v-slot:procedureName="{ row, $index }">
|
|
|
<el-input
|
|
|
v-model="row.procedureName"
|
|
|
- @click.native="addTemplate(5, $index)"
|
|
|
+ @click.native="addTemplate(1, $index)"
|
|
|
readonly
|
|
|
style="width: calc(100% - 60px)"
|
|
|
>
|
|
|
</el-input>
|
|
|
<el-button
|
|
|
type="primary"
|
|
|
- @click="viewTemplate(row.procedureJson.tempJson, 5, $index)"
|
|
|
+ @click="viewTemplate(row.procedureJson.tempJson, 1, $index)"
|
|
|
v-if="row.procedureJson.tempJson"
|
|
|
style="margin-left: 8px"
|
|
|
:disabled="false"
|
|
|
@@ -311,14 +311,14 @@
|
|
|
<template v-slot:recordName="{ row, $index }">
|
|
|
<el-input
|
|
|
v-model="row.recordName"
|
|
|
- @click.native="addTemplate(7, $index)"
|
|
|
+ @click.native="addTemplate(2, $index)"
|
|
|
readonly
|
|
|
style="width: calc(100% - 60px)"
|
|
|
>
|
|
|
</el-input>
|
|
|
<el-button
|
|
|
type="primary"
|
|
|
- @click="viewTemplate(row.recordJson.tempJson, 7, $index)"
|
|
|
+ @click="viewTemplate(row.recordJson.tempJson, 2, $index)"
|
|
|
v-if="row.recordJson.tempJson"
|
|
|
:disabled="false"
|
|
|
style="margin-left: 8px"
|
|
|
@@ -673,7 +673,7 @@
|
|
|
this.$refs.experimentationProcessDialog.open(tempJson);
|
|
|
},
|
|
|
releaseRulesSuccess(data) {
|
|
|
- if (this.releaseRulesType == 5) {
|
|
|
+ if (this.releaseRulesType == 1) {
|
|
|
this.$set(
|
|
|
this.dataForm.inspectionItemVOList[this.currentIndex].procedureJson,
|
|
|
'tempJson',
|
|
|
@@ -686,7 +686,7 @@
|
|
|
);
|
|
|
}
|
|
|
|
|
|
- if (this.releaseRulesType == 7) {
|
|
|
+ if (this.releaseRulesType == 2) {
|
|
|
this.$set(
|
|
|
this.dataForm.inspectionItemVOList[this.currentIndex].recordJson,
|
|
|
'tempJson',
|
|
|
@@ -700,7 +700,7 @@
|
|
|
}
|
|
|
},
|
|
|
experimentationSave(tempJson) {
|
|
|
- if (this.releaseRulesType == 5) {
|
|
|
+ if (this.releaseRulesType == 1) {
|
|
|
this.$set(
|
|
|
this.dataForm.inspectionItemVOList[this.currentIndex].procedureJson,
|
|
|
'tempJson',
|
|
|
@@ -708,7 +708,7 @@
|
|
|
);
|
|
|
}
|
|
|
|
|
|
- if (this.releaseRulesType == 7) {
|
|
|
+ if (this.releaseRulesType == 2) {
|
|
|
this.$set(
|
|
|
this.dataForm.inspectionItemVOList[this.currentIndex].recordJson,
|
|
|
'tempJson',
|