田源
2023-12-21 0c68b446cc11c62a34afe382058ec5630e684750
参照对话框关闭后,选中状态未取消
已修改2个文件
26 ■■■■ 文件已修改
Source/UBCS-WEB/src/components/refer/vciWebReferDefalut.vue 13 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/UBCS-WEB/src/components/refer/vciWebReferTable.vue 13 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/UBCS-WEB/src/components/refer/vciWebReferDefalut.vue
@@ -6,7 +6,8 @@
               top="0"
               class="avue-dialog avue-dialog--top"
               :width="options.width|| '80%'"
               :height="options.height|| 'auto'">
               :height="options.height|| 'auto'"
               @close="dialogClose"    >
      <avue-crud :option="option"
                 :table-loading="loading"
                 :data="data"
@@ -24,7 +25,7 @@
      </avue-crud>
      <div class="avue-dialog__footer">
        <div class="avue-dialog__footer--left valueInfo">{{ valueInfo }}</div>
        <el-button @click="visible=false">取 消</el-button>
        <el-button @click="escHandler">取 消</el-button>
        <el-button @click="setValue" type="primary">确 定</el-button>
      </div>
    </el-dialog>
@@ -101,6 +102,14 @@
    }
  },
  methods: {
    escHandler(){
      this.visible = false;
      this.$refs.referDefalutCrud.refreshTable()
    },
    dialogClose(){
      this.visible = false;
      this.$refs.referDefalutCrud.refreshTable()
    },
    getParams:function () {
      var queryParams = {};
      if (this.options.extraParams) {
Source/UBCS-WEB/src/components/refer/vciWebReferTable.vue
@@ -6,7 +6,8 @@
               top="0"
               class="avue-dialog avue-dialog--top"
               :width="options.width|| '80%'"
               :height="options.height|| 'auto'">
               :height="options.height|| 'auto'"
               @close="dialogClose"    >
      <avue-crud :option="option"
                 :table-loading="loading"
                 :data="data"
@@ -27,7 +28,7 @@
      </avue-crud>
      <div class="avue-dialog__footer">
        <div class="avue-dialog__footer--left valueInfo">{{ valueInfo }} </div>
        <el-button @click="visible=false">取 消</el-button>
        <el-button @click="escHandler">取 消</el-button>
        <el-button @click="setValue" type="primary">确 定</el-button>
      </div>
    </el-dialog>
@@ -109,6 +110,14 @@
    }
  },
  methods: {
    escHandler(){
      this.visible = false;
      this.$refs.referDefalutCrud.refreshTable()
    },
    dialogClose(){
      this.visible = false;
      this.$refs.referDefalutCrud.refreshTable()
    },
    getParams:function (){
      var queryParams = {};
      if(this.options.extraParams){