ludc
2023-08-04 248b724ac5dc62410076bab39476e61d8f7fcf41
Merge branch 'master' of http://dev.vci-tech.com:1065/r/ubcs
已修改14个文件
565 ■■■■ 文件已修改
Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/UBCS-WEB/src/components/Theme/ThemeAttrCrud.vue 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/UBCS-WEB/src/components/Theme/ThemeClassifyTrees.vue 67 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/UBCS-WEB/src/components/Theme/ThemeTemplatePro.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/UBCS-WEB/src/components/template/FlowPath.vue 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/UBCS-WEB/src/components/template/SetPersonnel.vue 124 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/UBCS-WEB/src/components/template/Stage.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/UBCS-WEB/src/components/transfer/transfer-panel.vue 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/UBCS-WEB/src/views/wel/index.vue 25 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/UBCS-WEB/src/views/work/claim.vue 74 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/UBCS-WEB/src/views/work/done.vue 75 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/UBCS-WEB/src/views/work/send.vue 78 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/UBCS-WEB/src/views/work/todo.vue 71 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/service/impl/MdmEngineServiceImpl.java 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue
@@ -441,7 +441,7 @@
            processTS({templateId: this.templateOid, buttonTypeKey: 'PUBLIC'}).then(res => {
              if (res.data.data.records && res.data.data.records.length != 0) {
                this.userName = localStorage.getItem("username");
                this.parameter.template = this.userName + '-申请[' + this.Treedata[0].name + '-' + this.selectRow[0].name + ']';
                this.parameter.processName = this.userName + '-申请[' + this.Treedata[0].name + '-' + this.selectRow[0].name + ']';
                this.parameter.type = 'PUBLIC';
                this.parameter.code = this.templateOid;
                this.parameter.btmtype=this.selectRow[0].btmname || this.selectRow[0].btmtype;
@@ -492,7 +492,7 @@
            processTS({templateId: this.templateOid, buttonTypeKey: 'DISABLE'}).then(res => {
              if (res.data.records != [] && res.data.data.records.length != 0) {
                this.userName = localStorage.getItem("username");
                this.parameter.template = this.userName + '-停用[' + this.Treedata[0].name + '-' + this.selectRow[0].name + ']';
                this.parameter.processName = this.userName + '-停用[' + this.Treedata[0].name + '-' + this.selectRow[0].name + ']';
                this.parameter.type = 'DISABLE';
                this.parameter.code = this.templateOid
                this.parameter.btmtype=this.selectRow[0].btmname || this.selectRow[0].btmtype;
@@ -544,7 +544,7 @@
              if (res.data.data.records && res.data.data.records.length != 0) {
                this.parameter = res.data.data.records[0]
                this.userName = localStorage.getItem("username");
                this.parameter.template = this.userName + '-启用[' + this.Treedata[0].name + '-' + this.selectRow[0].name + ']';
                this.parameter.processName = this.userName + '-启用[' + this.Treedata[0].name + '-' + this.selectRow[0].name + ']';
                this.parameter.type = 'Released';
                this.parameter.code = this.templateOid
                this.parameter.btmtype=this.selectRow[0].btmname || this.selectRow[0].btmtype;
@@ -602,7 +602,7 @@
            processTS({templateId: this.templateOid, buttonTypeKey: 'ROLLBACK'}).then(res => {
              if (res.data.records != [] && res.data.data.records.length != 0) {
                this.userName = localStorage.getItem("username");
                this.parameter.template = this.userName + '-回收[' + this.selectRow[0].btmname + '-' + this.selectRow[0].name + ']';
                this.parameter.processName = this.userName + '-回收[' + this.selectRow[0].btmname + '-' + this.selectRow[0].name + ']';
                this.parameter.type = 'TakeBack';
                this.parameter.code = this.templateOid
                this.parameter.btmtype=this.selectRow[0].btmname || this.selectRow[0].btmtype;
Source/UBCS-WEB/src/components/Theme/ThemeAttrCrud.vue
@@ -388,6 +388,11 @@
        }
      }
    },
    crudArrayFlag:{
      handler(newval,olaval){
        console.log('crudArrayFlag',newval)
      }
    },
    crudArray:{
      handler(newval,oldval){
        if(newval != undefined){
@@ -1701,22 +1706,29 @@
        if(item.componentRule){
          //组合规则
          num++
          console.log('componentRule',num)
        }
        if(item.enumString || item.enumId){
          //枚举
          num++
          console.log('enumString',num)
        }
        if(item.referConfig || item.referBtmId){
          //参照
          num++
          console.log('referConfig',num)
        }
        if(item.codeDateFormat){
          //时间格式
          num++
          console.log('codeDateFormat',num)
        }
        if(item.classifyInvokeLevel){
        //如果空后台返回none
        if(item.classifyInvokeLevel && item.classifyInvokeLevel != 'none'){
          //分类注入
          num++
          console.log('classifyInvokeLevel',num)
          console.log(item.classifyInvokeLevel)
        }
        if(num>1 && ischeck){
          this.$message({
Source/UBCS-WEB/src/components/Theme/ThemeClassifyTrees.vue
@@ -427,7 +427,7 @@
          label: '英文名称'
        }
      ],
      SelectValue:"",
      SelectValue:"id",
      SelectFInd:"",
      addFlag:false,
      // 表格当前行id
@@ -672,11 +672,7 @@
    }
  },
  watch:{
    TreeFlagCode:{
      handler(newval,oldval){
        console.log('TreeFlagCode',newval)
      }
    }
  },
  //tab栏默认是表格
  mounted() {
@@ -753,6 +749,8 @@
  },
  methods: {
    // 关闭弹窗
    /** 导入 */
    ImportExcel(){
      this.ThemeImportVisible=true;
@@ -787,15 +785,11 @@
          'conditionMap[id]':this.SelectFInd
        }
        this.MasterdefaultRend(masterParameter);
        this.SelectValue=""
        this.SelectFInd=""
      }else if(this.SelectValue == 'name'){
        const masterParameter={
          'conditionMap[name]':this.SelectFInd
        }
        this.MasterdefaultRend(masterParameter)
        this.SelectValue=""
        this.SelectFInd=""
      }
    },
    //编码规则确定
@@ -846,15 +840,11 @@
          'conditionMap[id]':this.SelectFInd
        }
        this.KeydefaultRend(masterParameter);
        this.SelectValue="";
        this.SelectFInd="";
      }else if(this.SelectValue == 'name'){
        const masterParameter={
          'conditionMap[name]':this.SelectFInd
        }
        this.KeydefaultRend(masterParameter)
        this.SelectValue=""
        this.SelectFInd=""
      }
    },
    //关键属性接口
@@ -899,15 +889,11 @@
          'conditionMap[id]':this.SelectFInd
        }
        this.simdefaultRend(masterParameter);
        this.SelectValue=""
        this.SelectFInd=""
      }else if(this.SelectValue == 'name'){
        const masterParameter={
          'conditionMap[name]':this.SelectFInd
        }
        this.simdefaultRend(masterParameter)
        this.SelectValue=""
        this.SelectFInd=""
      }
    },
    //  相似项多选
@@ -952,15 +938,11 @@
          'conditionMap[id]':this.SelectFInd
        }
        this.btmdefaultRend(masterParameter);
        this.SelectValue=""
        this.SelectFInd=""
      }else if(this.SelectValue == 'name'){
        const masterParameter={
          'conditionMap[name]':this.SelectFInd
        }
        this.btmdefaultRend(masterParameter);
        this.SelectValue="";
        this.SelectFInd="";
      }
    },
    //业务类型多选
@@ -1226,6 +1208,7 @@
      this.editTreeFLagCode = !data.parentId;
      this.nodeClickList = data;
      this.selectRow = 0;
      this.crudArray=[]
      try {
        this.requestCount += 1;
        const [res1, res2, res3] = await Promise.all([
@@ -1426,29 +1409,27 @@
      }
    },
    //克隆模板单选框改变
    selectionChange(row){
      this.CloneSelect=row;
      //双向绑定,提交表单输入框回填上当前选择的数据
      this.CloneModel.id=row[0].id;
      this.CloneModel.name=row[0].name;
      //这里有点绕,CloneSelect是我选择框选择的数据。等于this.nodeClickList.oid是因为,克隆模板传递数据要把当前选择树的oid传递给后端。而不是当前要克隆模板的oid
      this.CloneSelect[0].codeclassifyoid=this.nodeClickList.oid
    selectionChange(row) {
      Object.assign(this.CloneModel, row[0]);
      this.CloneSelect = [row[0]];
      this.CloneSelect[0].codeclassifyoid = this.nodeClickList.oid;
    },
    //克隆表单提交
    Clonesubmit(row,done){
      //重新赋值CloneSelect传递的数据为输入框可以修改的数据,CloneModel提交表单输入框双向绑定数据
      this.CloneSelect[0].id=this.CloneModel.id;
      this.CloneSelect[0].name=this.CloneModel.name;
      copy(this.CloneSelect[0]).then(()=>{
        //因为是嵌套弹窗所以手动关闭CloneinnerVisible,CloneVisible两个弹窗。
        this.CloneinnerVisible=false
        this.CloneVisible=false
        this.$message.success("复制成功")
        this.CrudRend()
        done(row)
      }).catch(res=>{
        done(res)
      })
    Clonesubmit(row, done) {
      // 重新赋值CloneSelect传递的数据为输入框可以修改的数据,CloneModel提交表单输入框双向绑定数据
      Object.assign(this.CloneSelect[0], this.CloneModel);
      copy(this.CloneSelect[0])
        .then(() => {
          // 因为是嵌套弹窗所以手动关闭CloneinnerVisible,CloneVisible两个弹窗。
          this.CloneinnerVisible = false;
          this.CloneVisible = false;
          this.$message.success("复制成功");
          this.TemRefresh();
          done(row);
        })
        .catch((error) => {
          done(error);
        });
    },
    //刷新
    TemRefresh() {
Source/UBCS-WEB/src/components/Theme/ThemeTemplatePro.vue
@@ -5,10 +5,10 @@
      <attrCrud :ProData="ProData"  :crudOid="crudOid" :checkStatus="checkStatus"  :crudLCStatus="crudLCStatus" :crudArray="crudArray" :Formlist="Formlist" :codeClassifyOid="codeClassifyOid"></attrCrud>
    </span>
    <span v-else-if="type.prop==='tab2'">
       <FlowPath :code="this.crudOid" :checkStatus="checkStatus" :crudLCStatus="crudLCStatus"></FlowPath>
       <FlowPath ref="FlowPath" :code="this.crudOid" :checkStatus="checkStatus" :crudLCStatus="crudLCStatus" :Formlist="Formlist"></FlowPath>
    </span>
    <span v-else-if="type.prop==='tab3'">
          <stage  :code="this.crudOid"></stage>
          <stage ref="stage"  :code="this.crudOid" :Formlist="Formlist"></stage>
    </span>
  </basic-container>
Source/UBCS-WEB/src/components/template/FlowPath.vue
@@ -23,6 +23,10 @@
        typeof: String,
        required: true,
        default: ""
      },
      Formlist:{
        type:Array,
        default:[]
      }
    },
    data() {
@@ -159,6 +163,8 @@
              this.data = data.records
              this.page.total = data.total
            } else this.loading = false
          }else {
            this.data=[]
          }
        },
Source/UBCS-WEB/src/components/template/SetPersonnel.vue
@@ -10,7 +10,7 @@
                <el-input placeholder="流程模板" v-model="saveParam.modelName" disabled></el-input>
            </el-form-item>
            <el-form-item label="流程名称" prop="processName">
                <el-input placeholder="流程名称" v-model="saveParam.template">
                <el-input placeholder="流程名称" v-model="saveParam.processName">
                </el-input>
            </el-form-item>
            <el-form-item label="流程描述">
@@ -24,7 +24,7 @@
        </div>
        <el-form :model="collectParam" class="demo-form-inline" label-position="left" label-width="auto">
            <el-form-item :label="item.taskName" v-for="(item, index) in initFrom" :key="index">
                <el-select style="width: 80%;" filterable v-model="collectParam.flowTaskUsers[index]['userId']"
                <el-select style="width: 100%;" filterable v-model="collectParam.flowTaskUsers[index]['userId']"
                    :placeholder="item.taskName" @change="handleSelect($event, index)">
                    <el-option :label="key.userNames" :value="key.userId" v-for="(key, keyi) in typeName"
                        :key="keyi"></el-option>
@@ -42,61 +42,61 @@
export default {
    name: 'SetPersonnel',
    props: {
        // 是否打开
        visible: {
            typeof: Boolean,
            default: false
        },
        // 标题
        title: {
            typeof: String,
            default: '流程审批'
        },
        // 参数:选择的id,多个以数组方式传递:['id','id'],模板id,模板用途,流程名字,流程模板,
        // flowTemplate:
        // vars:object格式,名字为vars,里面key键值,自己随意
        parameter: {
            typeof: Object,
            default: () => { }
        },
        parameterKeys: {
            typeof: Object,
            default: () => {
                return {
                    ids: 'ids',
                    flowTemplate: 'flowTemplate',
                    code: 'code',
                    type: 'type',
                    btmtype:'btmtype'
                }
            }
      // 是否打开
      visible: {
        typeof: Boolean,
        default: false
      },
      // 标题
      title: {
        typeof: String,
        default: '流程审批'
      },
      // 参数:选择的id,多个以数组方式传递:['id','id'],模板id,模板用途,流程名字,流程模板,
      // flowTemplate:
      // vars:object格式,名字为vars,里面key键值,自己随意
      parameter: {
        typeof: Object,
        default: () => {
        }
      },
      parameterKeys: {
        typeof: Object,
        default: () => {
          return {
            ids: 'ids',
            processName: 'processName',
            code: 'code',
            type: 'type',
            btmtype: 'btmtype'
          }
        }
      }
    },
    watch: {
        visible(n) {
            this.dialogVisible = n;
            if (n) {
                this.apiInit()
                this.apiDict()
            }
      visible(n) {
        this.dialogVisible = n;
        if (n) {
          this.apiInit()
          this.apiDict()
        }
      },
      dialogVisible(n) {
        this.$emit('update:visible', n)
      },
      users: {
        handler(val) {
          this.collectParam.flowTaskUsers = val
        },
        dialogVisible(n) {
            this.$emit('update:visible', n)
        deep: true,
        immediate: true
      },
      parameter: {
        handler(newval, oldval) {
          this.saveParam = Object.assign({processName:'',processDesc: ''},newval) ;
        },
        users:{
            handler(val){
                this.collectParam.flowTaskUsers = val
            },
            deep:true,
            immediate:true
        },
      parameter:{
          handler(newval,oldval){
                  this.saveParam=newval;
          },
        deep:true,
            immediate:true
        deep: true,
        immediate: true
      }
    },
    data() {
@@ -111,8 +111,8 @@
            users: [],
            rules: {
                processName: [
                    { required: true, message: '模板名称不能为空', trigger: 'blur' },
                    { min: 1, max: 20, message: '长度在 3 到 20 个字符', trigger: 'blur' }
                    { required: true, message: '流程名称不能为空', trigger: 'blur' },
                    { min: 3, max: 50, message: '长度在 3 到 50 个字符', trigger: 'blur' }
                ]
            }
        }
@@ -123,16 +123,6 @@
  created() {
  },
  methods: {
        setSaveParam() {
            return {
                processName: this.parameter[this.parameterKeys.flowTemplate],
                topName: this.title,
                ids: this.parameter[this.parameterKeys.ids],
                oids: this.parameter[this.parameterKeys.ids],
                btmtype:this.parameter[this.parameterKeys.btmtype],
                vars:this.parameter['vars']
            }
        },
        userIndex(arr1) {
            return this.initFrom.findIndex(i => i.taskId === arr1)
        },
@@ -145,10 +135,7 @@
                let flowTaskUsers = response.data.data.user
                this.collectParam = { modelKey, templateId, flowTaskUsers: flowTaskUsers }
                this.users = response.data.data.user
                console.log(this.collectParam)
                console.log('this.saveParam.before',this.saveParam)
                this.saveParam = { ...this.saveParam, modelKey, templateId, modelName }
                console.log('this.saveParam',this.saveParam)
                if (this.tags.length !== 0) this.handleClickTag(this.tags[0])
            }
        },
@@ -171,12 +158,9 @@
                confirmButtonText: '确定',
                cancelButtonText: '取消',
            }).then(async ({ value }) => {
                console.log(this.users)
                this.collectParam.flowTaskUsers = this.users
                this.collectParam = { ...this.collectParam, name: value }
                console.log(this.collectParam)
                const response = await personnelCollect(this.collectParam)
                console.log(response)
                if (response.status === 200) {
                    this.$nextTick(() => {
                        this.apiInit()
Source/UBCS-WEB/src/components/template/Stage.vue
@@ -144,6 +144,8 @@
              this.data = data.records
              this.page.total = data.total
            } else this.loading = false
          }else {
            this.data=[]
          }
        },
        // 获取阶段列表
Source/UBCS-WEB/src/components/transfer/transfer-panel.vue
@@ -24,7 +24,7 @@
        </p>
    </div>
</template>
<script>
import ElCheckboxGroup from 'element-ui/packages/checkbox-group';
import ElCheckbox from 'element-ui/packages/checkbox';
@@ -207,9 +207,9 @@
    methods: {
        updateAllChecked() {
            const checkableDataKeys = this.checkableData.map(item => item[this.keyProp]);
            this.allChecked = checkableDataKeys.length > 0 &&
                checkableDataKeys.every(item => this.checked===item);
        },
@@ -228,4 +228,3 @@
    }
};
</script>
Source/UBCS-WEB/src/views/wel/index.vue
@@ -95,26 +95,35 @@
          delBtn: false,
          column: [{
            label: '任务名称',
            prop: 'name',
            prop: 'taskName',
            sortable:true,
            headerAlign:'center',
            align:'left',
            html: true,
            formatter: (val) => {
              return '<a name="processname" href="javascript:;" style="color: #66b1ff;">' + val.taskName + '</a>'
              return '<a name="processname" href="javascript:;" style="color: #66b1ff;">' + val.variables.processName+'-'+val.taskName + '</a>'
            }
          },
            {
              label: '上一步处理时间',
              prop: 'createTime'
            },
            {
              label: '描述',
              prop: 'description'
              sortable:true,
              prop: 'historyActivityDurationTime'
            },
            {
              label: '上一步操作人',
              prop: 'creator_name'
              sortable:true,
              prop: 'historyActivityAssigneName'
            },
            {
              label: '流程描述',
              prop: 'processDesc',
              formatter: (val) => {
                return  val.variables.processDesc
              }
            },
            {
              label: '所属流程模板',
              sortable:true,
              prop: 'categoryName'
            }
          ]
Source/UBCS-WEB/src/views/work/claim.vue
@@ -80,44 +80,42 @@
          dialogWidth: 900,
          menuWidth: 200,
          dialogClickModal: false,
          column: [
            {
              label: "流程分类",
              type: "select",
              row: true,
              dicUrl: "/api/ubcs-system/dict/dictionary?code=flow",
              props: {
                label: "dictValue",
                value: "dictKey"
              },
              dataType: "number",
              slot: true,
              prop: "category",
              search: true,
              hide: true,
              width: 100,
            },
            {
              label: '流程名称',
              prop: 'processDefinitionName',
              search: true,
            },
            {
              label: '当前步骤',
              prop: 'taskName',
            },
            {
              label: '流程版本',
              prop: 'processDefinitionVersion',
              slot: true,
              width: 80,
            },
            {
              label: '申请时间',
              prop: 'createTime',
              width: 165,
            },
          ]
          align: 'center',
          column: [{
            label: '流程名称',
            prop: 'processName',
            search: true,
            headerAlign:'center',
            align:'left',
            sortable:true,
            formatter: (val) => {
              return val.variables.processName
            }
          }, {
            label: '发起人',
            prop: 'createUser',
            sortable:true,
            formatter: (val) => {
              return val.variables.createUser
            }
          }, {
            label: '发起时间',
            sortable:true,
            prop: 'createTime',
          }, {
            label: '当前步骤',
            prop: 'taskName',
          },{
            label: '所属流程模板',
            sortable:true,
            prop: 'categoryName'
          }, {
            label: '流程描述',
            prop: 'processDesc',
            formatter: (val) => {
              return val.variables.processDesc
            }
          }]
        },
        data: []
      };
Source/UBCS-WEB/src/views/work/done.vue
@@ -74,44 +74,43 @@
          dialogWidth: 900,
          menuWidth: 150,
          dialogClickModal: false,
          column: [
            {
              label: "流程分类",
              type: "select",
              row: true,
              dicUrl: "/api/ubcs-system/dict/dictionary?code=flow",
              props: {
                label: "dictValue",
                value: "dictKey"
              },
              dataType: "number",
              slot: true,
              prop: "category",
              search: true,
              hide: true,
              width: 100,
            },
            {
              label: '流程名称',
              prop: 'processDefinitionName',
              search: true,
            },
            {
              label: '当前步骤',
              prop: 'taskName',
            },
            {
              label: '流程版本',
              prop: 'processDefinitionVersion',
              slot: true,
              width: 80,
            },
            {
              label: '申请时间',
              prop: 'createTime',
              width: 165,
            },
          ]
          align: 'center',
          column: [{
            label: '流程名称',
            prop: 'processName',
            search: true,
            headerAlign: 'center',
            align: 'left',
            sortable: true,
            formatter: (val) => {
              return val.variables.processName
            }
          }, {
            label: '发起人',
            prop: 'createUser',
            sortable: true,
            formatter: (val) => {
              return val.variables.createUser
            }
          }, {
            label: '发起时间',
            sortable: true,
            prop: 'createTime',
          }, {
            label: '完成时间',
            sortable: true,
            prop: 'endTime',
          }, {
            label: '所属流程模板',
            sortable: true,
            prop: 'categoryName'
          }, {
            label: '流程启动时描述',
            prop: 'processDesc',
            formatter: (val) => {
              return val.variables.processDesc
            }
          }]
        },
        data: []
      };
Source/UBCS-WEB/src/views/work/send.vue
@@ -78,50 +78,40 @@
          dialogWidth: 900,
          menuWidth: 150,
          dialogClickModal: false,
          column: [
            {
              label: "流程分类",
              type: "select",
              row: true,
              dicUrl: "/api/ubcs-system/dict/dictionary?code=flow",
              props: {
                label: "dictValue",
                value: "dictKey"
              },
              dataType: "number",
              slot: true,
              prop: "category",
              search: true,
              hide: true,
              width: 100,
            },
            {
              label: '流程名称',
              prop: 'processDefinitionName',
              search: true,
            },
            {
              label: '当前步骤',
              prop: 'taskName',
            },
            {
              label: '流程版本',
              prop: 'processDefinitionVersion',
              slot: true,
              width: 80,
            },
            {
              label: '流程进度',
              prop: 'processIsFinished',
              slot: true,
              width: 80,
            },
            {
              label: '申请时间',
              prop: 'createTime',
              width: 165,
            },
          ]
          align: 'center',
          column: [{
            label: '流程名称',
            prop: 'processName',
            search: true,
            headerAlign:'center',
            align:'left',
            sortable:true,
            formatter: (val) => {
              return val.variables.processName
            }
          },  {
            label: '流程进度',
            prop: 'processIsFinished',
            slot: true,
            width: 80,
          }, {
            label: '当前步骤',
            prop: 'taskName',
          }, {
            label: '发起时间',
            sortable:true,
            prop: 'createTime',
          },{
            label: '所属流程模板',
            sortable:true,
            prop: 'categoryName'
          }, {
            label: '流程描述',
            prop: 'processDesc',
            formatter: (val) => {
              return val.variables.processDesc
            }
          }]
        },
        data: []
      };
Source/UBCS-WEB/src/views/work/todo.vue
@@ -80,44 +80,39 @@
          dialogWidth: 900,
          menuWidth: 200,
          dialogClickModal: false,
          column: [
            {
              label: "流程分类",
              type: "select",
              row: true,
              dicUrl: "/api/ubcs-system/dict/dictionary?code=flow",
              props: {
                label: "dictValue",
                value: "dictKey"
              },
              dataType: "number",
              slot: true,
              prop: "category",
              search: true,
              hide: true,
              width: 100,
            },
            {
              label: '流程名称',
              prop: 'processDefinitionName',
              search: true,
            },
            {
              label: '当前步骤',
              prop: 'taskName',
            },
            {
              label: '流程版本',
              prop: 'processDefinitionVersion',
              slot: true,
              width: 80,
            },
            {
              label: '申请时间',
              prop: 'createTime',
              width: 165,
            },
          ]
          align: 'center',
          column: [{
            label: '流程名称',
            prop: 'processName',
            search: true,
            headerAlign:'center',
            align:'left',
            sortable:true,
            formatter: (val) => {
              return val.variables.processName
            }
          }, {
            label: '发起人',
            prop: 'createUser',
            sortable:true,
            formatter: (val) => {
              return val.variables.createUser
            }
          }, {
            label: '发起时间',
            sortable:true,
            prop: 'createTime',
          }, {
            label: '所属流程模板',
            sortable:true,
            prop: 'categoryName'
          }, {
            label: '流程描述',
            prop: 'processDesc',
            formatter: (val) => {
              return val.variables.processDesc
            }
          }]
        },
        data: []
      };
Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/service/impl/MdmEngineServiceImpl.java
@@ -646,11 +646,10 @@
            }
            wrapperKeyAttrConditionMap(value, keyRuleVO, attrId, trim, ignoreCase, ignoreWidth, trimAll, conditionMap);
        });
        conditionMap.put("CODETEMPLATEOID","'" + orderDTO.getTemplateOid() + "'");
        //没有限制分类,但是一个模板只可能在一个业务类型里面,所以直接查询这个业务类型即可
        if (!CollectionUtils.isEmpty(conditionMap)) {
            conditionMap.put("CODETEMPLATEOID","'" + orderDTO.getTemplateOid() + "'");
//            final String[] sql = {"select count(*) from " + VciBaseUtil.getTableName(classifyFullInfo.getTopClassifyVO().getBtmtypeid()) + " t where 1 = 1 "};
            R<List<BtmTypeVO>> listR = btmTypeClient.selectByIdCollection(Collections.singletonList(classifyFullInfo.getTopClassifyVO().getBtmTypeId()));
//                String referTable = VciBaseUtil.getTableName(referVO.getReferType());
@@ -802,10 +801,6 @@
        } else {
            fullPath = classifyFullInfo.getCurrentClassifyVO().getOid();
        }
//        BeanUtils.
//        BeanUtils.copyProperties(orderDTO.getData(),cbo);
//        cbo.setMaterialtype(Short.valueOf("1001"));
        orderDTO.getData().forEach((key, value) -> {
            if (!edit || (!checkUnAttrUnEdit(key) &&
                !VciQueryWrapperForDO.LC_STATUS_FIELD.equalsIgnoreCase(key))) {
@@ -816,9 +811,6 @@
                }
            }
        });
//        BeanMap beanMap = BeanMap.create(cbo);
//        beanMap.putAll(orderDTO.getData());
        try {
            Map<String, String> data = new HashMap<>();
            data.put(cbo.getData().containsKey(CODE_CLASSIFY_OID_FIELD.toUpperCase())?CODE_CLASSIFY_OID_FIELD.toUpperCase():CODE_CLASSIFY_OID_FIELD, classifyFullInfo.getCurrentClassifyVO().getOid());