|
@@ -361,6 +361,7 @@ export default {
|
|
|
this.currentType = type
|
|
|
if (this.currentType == 'add') {
|
|
|
this.title = '新增顶管信息'
|
|
|
+ this.queryParams.enginId = data.id
|
|
|
} else if (this.currentType == 'put') {
|
|
|
this.title = '修改顶管信息'
|
|
|
} else if (this.currentType == 'addMaterial') {
|
|
@@ -368,7 +369,6 @@ export default {
|
|
|
this.enginNodeStatus = '添加用料'
|
|
|
this.queryParams = sata
|
|
|
}
|
|
|
- this.queryParams.enginId = data.id
|
|
|
this.queryParams.type = data.type
|
|
|
//带值(民用工程、工业工程、市政工程)
|
|
|
if (data.type=='民用工程'){
|
|
@@ -480,9 +480,7 @@ export default {
|
|
|
},
|
|
|
// 表单重置
|
|
|
reset() {
|
|
|
- for (let formKey in this.form) {
|
|
|
- this.form[formKey] = null
|
|
|
- }
|
|
|
+ this.resetForm("form");
|
|
|
},
|
|
|
/** 提交按钮 */
|
|
|
submitForm() {
|
|
@@ -497,7 +495,7 @@ export default {
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
::v-deep .appendElDialog {
|
|
|
- width: 850px;
|
|
|
+ width: 950px;
|
|
|
height: 700px;
|
|
|
|
|
|
.el-dialog__footer {
|