|
@@ -473,7 +473,7 @@ export default {
|
|
elevationHeight: "",
|
|
elevationHeight: "",
|
|
latitude: "",
|
|
latitude: "",
|
|
sightcing: "",
|
|
sightcing: "",
|
|
-thisrow:"",
|
|
|
|
|
|
+ thisrow: "",
|
|
fileList: [],
|
|
fileList: [],
|
|
globalFileList: [],
|
|
globalFileList: [],
|
|
nuedialog: false,
|
|
nuedialog: false,
|
|
@@ -596,7 +596,6 @@ thisrow:"",
|
|
},
|
|
},
|
|
// 确认
|
|
// 确认
|
|
submitForm(formName) {
|
|
submitForm(formName) {
|
|
-
|
|
|
|
this.$refs[formName].validate((valid) => {
|
|
this.$refs[formName].validate((valid) => {
|
|
const objData = {
|
|
const objData = {
|
|
fieldCode: this.ruleForm.fieldCode,
|
|
fieldCode: this.ruleForm.fieldCode,
|
|
@@ -608,10 +607,7 @@ thisrow:"",
|
|
latitude: this.ruleForm.latitude,
|
|
latitude: this.ruleForm.latitude,
|
|
hubHeight: this.ruleForm.hubHeight,
|
|
hubHeight: this.ruleForm.hubHeight,
|
|
sightcing: this.ruleForm.sightcing,
|
|
sightcing: this.ruleForm.sightcing,
|
|
-<<<<<<< HEAD
|
|
|
|
- engineCode:this.thisrow
|
|
|
|
-=======
|
|
|
|
->>>>>>> 3bd7185b7f7775a80db9fefcddb4d0905ab712bc
|
|
|
|
|
|
+ engineCode: this.thisrow,
|
|
};
|
|
};
|
|
|
|
|
|
if (valid) {
|
|
if (valid) {
|
|
@@ -719,14 +715,13 @@ thisrow:"",
|
|
|
|
|
|
// 编辑
|
|
// 编辑
|
|
compile(row) {
|
|
compile(row) {
|
|
- this.thisrow=row.engineCode
|
|
|
|
|
|
+ this.thisrow = row.engineCode;
|
|
getWindEngineGroup({ engineCode: row.engineCode }).then((res) => {
|
|
getWindEngineGroup({ engineCode: row.engineCode }).then((res) => {
|
|
const item = JSON.parse(JSON.stringify(res.data));
|
|
const item = JSON.parse(JSON.stringify(res.data));
|
|
this.detail = item;
|
|
this.detail = item;
|
|
Object.keys(this.ruleForm).forEach((key) => {
|
|
Object.keys(this.ruleForm).forEach((key) => {
|
|
this.ruleForm[key] = item[key];
|
|
this.ruleForm[key] = item[key];
|
|
});
|
|
});
|
|
-
|
|
|
|
});
|
|
});
|
|
this.nuedialog = true;
|
|
this.nuedialog = true;
|
|
this.title = "编辑";
|
|
this.title = "编辑";
|