田源
2024-02-22 cc9a74ebaac0136edc1ed5ad2118d6f964f9eb44
接口基本信息管理关闭对话框取消当前校验
已修改2个文件
16 ■■■■ 文件已修改
Source/UBCS-WEB/src/views/docking/info.vue 15 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/UBCS-WEB/src/views/docking/infoForm.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/UBCS-WEB/src/views/docking/info.vue
@@ -59,7 +59,7 @@
<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";
@@ -72,7 +72,7 @@
  data() {
    return {
      //下拉总类型
      DropDownTheTotalType:[],
      DropDownTheTotalType: [],
      //接口类型下拉
      interfaceTypeList: [{
        label: 'webService', value: 'webService'
@@ -121,9 +121,9 @@
        index: true,
        selection: true,
        indexFixed: false,
        selectionFixed:false,
        selectionFixed: false,
        searchShow: false,
        refreshBtn:false,
        refreshBtn: false,
        searchMenuSpan: 6,
        rowKey: "id",
        tabs: true,
@@ -266,7 +266,6 @@
    };
  },
  created() {
  },
  computed: {
    ...mapGetters(["permission"]),
@@ -367,11 +366,11 @@
      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;
      })
    },
@@ -464,7 +463,7 @@
      if (JSON.stringify(conditionMaps) != '{}') {
        this.query = conditionMaps;
        this.onLoad(this.page);
      }else {
      } else {
        this.query = {};
        this.onLoad(this.page, this.query);
      }
Source/UBCS-WEB/src/views/docking/infoForm.vue
@@ -478,6 +478,7 @@
    closeSubmitDialog() {
      // this.resetForm();
      this.showSubmitDialog = false;
      this.$refs.form.resetFields()
    },
    resetForm() {
      this.formData = {