ludc
2023-08-02 d30089f9dd63f5f844433c5414b471f2676eec3a
Merge branch 'master' of http://dev.vci-tech.com:1065/r/ubcs
已修改2个文件
17 ■■■■ 文件已修改
Source/UBCS-WEB/src/components/Master/MasterTransfer.vue 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/UBCS-WEB/src/components/Master/MasterTransfer.vue
@@ -70,6 +70,8 @@
      handler(newval,oldval){
        console.log(newval)
       if(newval){
          // 清空data数组
          this.data = [];
         //excel表头数据转换
         this.tableHeadFindData=newval.map(obj => obj.label);
         this.tableHeadFindData.forEach((city, index) => {
@@ -78,6 +80,7 @@
             key: index,
           });
         });
          console.log(this.data)
         //excel表格数据转换
         this.option.column[0].children=newval.map(obj => {
           return {
Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue
@@ -397,12 +397,16 @@
                  cancelButtonText: '取消',
                  type: 'warning'
                }).then(() => {
                  this.userName = localStorage.getItem("username");
                  this.parameter.template = this.userName + "-发布" + "[物品]";
                  this.parameter.type = 'PUBLIC'
                  this.title = '流程审批'
                  this.visibleFlow = true;
                  const index = this.$route.query.id.indexOf('@');
                  const result = this.$route.query.id.substring(0, index);
                  console.log(this.$route.query)
                  const oid = this.selectRow.map(obj => obj.oid).join(",");
                  changeStatus({ oid: oid, btmname: result, lcStatus: 'Released' }).then(res => {
                    if(res.data.code == 200 ){
                      this.$message.success('发布成功')
                  this.onLoad()
                    }
                  });
                }).catch(() => {
                  this.$message({
                    type: 'info',