| | |
| | | editConfig: this.editCommonConfig, |
| | | rules: { |
| | | name: [{ required: true, message: "请输入", trigger: "change" }], |
| | | parentId: [{ required: true, message: "请选择上级位置", trigger: "change" }], |
| | | countFrequency: [ |
| | | { |
| | | required: false, |
| | |
| | | notes: data.notes |
| | | } |
| | | if (data.id) { |
| | | params.id = data.id |
| | | params.id = data.id; |
| | | params.jointName=data.jointName; |
| | | } |
| | | return params |
| | | }, |
| | |
| | | console.log(row) |
| | | this.editConfig.title = "编辑" |
| | | this.editConfig.infomation = { ...row } |
| | | this.editConfig.infomation.parentId = Number(this.editConfig.infomation.parentId) |
| | | this.editConfig.infomation.parentId = this.editConfig.infomation.parentId?Number(this.editConfig.infomation.parentId):null |
| | | this.editConfig.visible = true |
| | | }, |
| | | // 新建 |