田源
2024-03-29 80f9f6e11941427401bcb2f2ba03d00edf09f735
整合代码
已修改3个文件
21 ■■■■■ 文件已修改
Source/ProjectWeb/src/components/dynamic-components/dynamic-form.vue 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/ProjectWeb/src/views/base/buttonTable.js 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/ProjectWeb/vue.config.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/ProjectWeb/src/components/dynamic-components/dynamic-form.vue
@@ -101,15 +101,6 @@
    }
  },
  watch:{
    sourceData:{
      handler(newval) {
        //源数据有变化时变更当前区域数据
        console.log(this.areasName);
        console.log(newval);
      }
    }
  },
  watch:{
    slotData:{
      handler(newV){
       this.getDictList(newV)
@@ -139,6 +130,13 @@
      deep: true,
      immediate: true,
    },
    sourceData:{
      handler(newval) {
        //源数据有变化时变更当前区域数据
        console.log(this.areasName);
        console.log(newval);
      }
    }
  },
  methods: {
    //转化数据
Source/ProjectWeb/src/views/base/buttonTable.js
@@ -33,8 +33,7 @@
    if (location === 'menu') {
      that.visible = true;
      that.$refs.dynamicForm.form = that.scope.row;
      console.log('1',that.scope.row)
      console.log(that.scope.row)
    } else if (location === 'top' && that.selectList.length === 1) {
      that.visible = true;
      that.$refs.dynamicForm.form = that.selectList[0];
Source/ProjectWeb/vue.config.js
@@ -29,7 +29,7 @@
        target: 'http://192.168.0.103:12000/web',
        // target: 'http://dev.vci-tech.com:37000',
        //远程演示服务地址,可用于直接启动项目
        //target: 'https://saber.bladex.vip/api',
        //target: 'https://saber.bladex.vip/api/',
        ws: true,
        pathRewrite: {
          '^/api': '/'