田源
2023-07-24 2e7f611bdfb28fdc16e2bc4fc19498851fe364d1
动态组件
已修改6个文件
26 ■■■■■ 文件已修改
Source/UBCS-WEB/src/api/omd/enum.js 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/UBCS-WEB/src/components/Master/MasterTree.vue 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/UBCS-WEB/src/components/Tree/attrCrud.vue 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/UBCS-WEB/src/components/Tree/classifyTrees.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/UBCS-WEB/src/router/avue-router.js 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/UBCS-WEB/vue.config.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/UBCS-WEB/src/api/omd/enum.js
@@ -25,7 +25,6 @@
}
export const getChildList = (current, size, parentoid, params) => {
  debugger;
  return request({
    url: '/api/ubcs-omd/enumItem/listAll',
    method: 'get',
@@ -75,7 +74,6 @@
}
export const update = (row) => {
  debugger;
  return request({
    url: '/api/ubcs-omd/enum/submit',
    method: 'post',
Source/UBCS-WEB/src/components/Master/MasterTree.vue
@@ -29,6 +29,7 @@
  },
  data(){
    return{
      idData:'',
      masterVrBtnList:[],
      tableHeadFindData:[],
      tableHeadDataFateher:[],
@@ -76,9 +77,12 @@
  methods:{
    //获取数据
    getTreeLists(){
      const fullPath = this.$route.fullPath
      const queryString = fullPath.split('?')[1];
      getTreeList({'conditionMap[id]': 'wupin'}).then(res=>{
      const index = this.$route.query.id.indexOf('@');
      const result = this.$route.query.id.substring(0, index);
      this.idData=result
      // console.log(this.$route)
      console.log(this.idData)
      getTreeList({'conditionMap[id]':this.idData }).then(res=>{
        this.Treedata=res.data
        this.ModifyProperties(this.Treedata, 'text', 'label');
        this.codeClassifyOid=res.data[0].oid;
Source/UBCS-WEB/src/components/Tree/attrCrud.vue
@@ -72,11 +72,6 @@
          <el-table :data="tableData" style="width: 100%" @cell-click="handleCellClick"
                    @selection-change="handleSelectionChange">
            <!-- 渲染表格列及传参 -->
            <el-table-column label="序号" type="index"></el-table-column>
            <el-table-column
              type="selection"
              width="55">
            </el-table-column>
            <el-table-column label="选项值" prop="key">
              <template slot-scope="{ row }">
                <!-- 编辑和展示逻辑 -->
Source/UBCS-WEB/src/components/Tree/classifyTrees.vue
@@ -628,13 +628,13 @@
        },
        stopLose: {
          tip: "模板只有发布状态才能被使用,是否确定停用?",
          typeText: "停用/失效",
          typeText: "停用",
          funAPi: stopLose,
          load: 'stopLoseLoad'
        },
        startRelease: {
          tip: "是否确定启用/发布这个模板,模板只有发布状态才能被使用,是否继续?",
          typeText: "启用/发布",
          typeText: "启用",
          funAPi: startRelease,
          load: 'startReleaseLoad'
        }
Source/UBCS-WEB/src/router/avue-router.js
@@ -208,7 +208,6 @@
      // for循环结束
      // 这个first 卡的其实就是首路由
      if (first) {
        debugger;
        this.safe.$router.addRoutes(aRouter)
      } else {
        // 这里返回的是子组件
Source/UBCS-WEB/vue.config.js
@@ -26,10 +26,10 @@
    proxy: {
      '/api': {
        //本地服务接口地址
        target: 'http://localhost:37000',
        // target: 'http://localhost:37000',
        // target: 'http://192.168.1.51:37000',
        // target: 'http://192.168.1.46:37000',
        // target: 'http://dev.vci-tech.com:37000',
        target: 'http://dev.vci-tech.com:37000',
        // target: 'http://192.168.1.51:37000/',
        // target: 'http://192.168.1.104:37000',
        // target: 'http://192.168.1.63:37000',