| | |
| | | |
| | | <script> |
| | | import { |
| | | getList, add, edit, del, push, updateStatus,HeaderRequest,ParmRequest |
| | | getList, add, edit, del, push, updateStatus, HeaderRequest, ParmRequest |
| | | } from "@/api/docking/info"; |
| | | import {getDictionary} from "@/api/omd/enum"; |
| | | import infoForm from "./infoForm.vue"; |
| | |
| | | data() { |
| | | return { |
| | | //下拉总类型 |
| | | DropDownTheTotalType:[], |
| | | DropDownTheTotalType: [], |
| | | //接口类型下拉 |
| | | interfaceTypeList: [{ |
| | | label: 'webService', value: 'webService' |
| | |
| | | index: true, |
| | | selection: true, |
| | | indexFixed: false, |
| | | selectionFixed:false, |
| | | selectionFixed: false, |
| | | searchShow: false, |
| | | refreshBtn:false, |
| | | refreshBtn: false, |
| | | searchMenuSpan: 6, |
| | | rowKey: "id", |
| | | tabs: true, |
| | |
| | | }; |
| | | }, |
| | | created() { |
| | | |
| | | }, |
| | | computed: { |
| | | ...mapGetters(["permission"]), |
| | |
| | | this.$refs.infoForm.showSubmitDialog = true; |
| | | //header对象 |
| | | |
| | | HeaderRequest(1,-1,{'conditionMap[oid]':row.oid}).then(res => { |
| | | HeaderRequest(1, -1, {'conditionMap[oid]': row.oid}).then(res => { |
| | | this.$refs.infoForm.formData.sysIntHeaderVOs = res.data.data.records; |
| | | }) |
| | | //参数对象 |
| | | ParmRequest(1,-1,{'conditionMap[oid]':row.oid}).then(res=>{ |
| | | ParmRequest(1, -1, {'conditionMap[oid]': row.oid}).then(res => { |
| | | this.$refs.infoForm.formData.sysIntParamVOs = res.data.data.records; |
| | | }) |
| | | }, |
| | |
| | | if (JSON.stringify(conditionMaps) != '{}') { |
| | | this.query = conditionMaps; |
| | | this.onLoad(this.page); |
| | | }else { |
| | | } else { |
| | | this.query = {}; |
| | | this.onLoad(this.page, this.query); |
| | | } |
| | |
| | | closeSubmitDialog() { |
| | | // this.resetForm(); |
| | | this.showSubmitDialog = false; |
| | | this.$refs.form.resetFields() |
| | | }, |
| | | resetForm() { |
| | | this.formData = { |