田源
2023-08-28 ba65926011f36ae9e98d373d33b33f9ad024d6c8
整合代码
已修改12个文件
50 ■■■■■ 文件已修改
Source/UBCS-WEB/src/components/BatchImport/index.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/UBCS-WEB/src/components/Theme/ThemeAttrCrud.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/UBCS-WEB/src/components/Theme/ThemeClassifyTrees.vue 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/UBCS-WEB/src/components/Theme/ThemeImport.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/UBCS-WEB/src/components/code-dialog-page/maxSerialnumDialog.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/UBCS-WEB/src/components/template/Business.vue 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/UBCS-WEB/src/components/template/FlowPath.vue 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/UBCS-WEB/src/components/template/SetPersonnel.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/UBCS-WEB/src/components/template/Stage.vue 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/UBCS-WEB/src/components/template/TableTransfer.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/UBCS-WEB/src/components/transfer/index.vue 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/UBCS-WEB/src/components/BatchImport/index.vue
@@ -140,7 +140,6 @@
      return this.currentTypeObj[this.type]["tipList"];
    },
    downloadTemplateApi() {
      console.log(this.currentTypeObj[this.type], "this.type");
      return this.currentTypeObj[this.type]["downloadTemplateFun"];
    },
    action() {
@@ -290,7 +289,6 @@
      }
    },
    onError(err) {
      console.log(err, "err");
      this.pageLoading.close();
    },
    uploadChange(file) {
Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue
@@ -373,7 +373,6 @@
        limit: this.page.pageSize,
        'conditionMap[lcstatus]': lcstatus
      }).then(res => {
        console.log(res)
        this.tableData = res.data.data
      })
    },
@@ -467,9 +466,6 @@
        const data = response.data.data;
        this.transferData = data;
      }
    },
    handelTransferSave(val) {
      console.log('发布', val)
    },
    rend() {
      this.tableData = this.tableHeadData;
@@ -637,7 +633,6 @@
          list.push(item.oid)
        })
        deleteCode({codeClassifyOid: this.codeClassifyOid, oidList: list}).then(res => {
          console.log(res)
          if (res.data.code === 200) {
            this.$message({
              type: 'success',
@@ -828,9 +823,7 @@
      this.DataVisible = false;
      val.copyFromVersion = this.rowOid;
      val.oid = '';
      console.log(val)
      upSaveCode(val).then(res => {
        console.log(res)
        this.$nextTick(() => {
          this.$message.warning("保存成功");
          this.onLoad()
Source/UBCS-WEB/src/components/Theme/ThemeAttrCrud.vue
@@ -1754,7 +1754,6 @@
    addsHandler(event) {
      this.$refs.referAttrCrud.sort("orderNum");
      var ischeck = true;
      console.log('ProData',this.ProData)
      this.ProData.forEach((item, index) => {
        if ((item.requireFlag && item.requireFlag.toString() == 'true') && (item.readOnlyFlag && item.readOnlyFlag.toString() == 'true')) {
          this.$message.warning(item.name + "(" + item.id + ")必输的属性不能是只读");
@@ -1813,7 +1812,6 @@
    },
    //表格行编辑
    handleCellClicks(row, column) {
      console.log(row,column)
      if (this.editOpenFlag) {
        this.editingRows = row;
        this.editShows = column.property;
Source/UBCS-WEB/src/components/Theme/ThemeClassifyTrees.vue
@@ -1072,7 +1072,6 @@
        })
        //调用修改属性名方法
        this.ModifyProperties(this.CloneTreedata, 'name', 'label');
        console.log(this.CloneTreedata)
        this.CloneTreedata = this.CloneTreedata.map(item => {
          if (item.attributes.lcStatus === "Disabled") {
            item.label += '【停用】';
@@ -1297,7 +1296,6 @@
    },
    //树点击事件
    async nodeClick(data) {
      console.log(data);
      //操作新增和修改的业务类型隐藏
      this.TreeFlagCode = !data;
      this.editTreeFLagCode = !data.parentId;
@@ -1519,9 +1517,6 @@
      const {id, name} = row[0];
      this.CloneModel = {id, name};
      this.CloneSelect[0].codeclassifyoid = this.nodeClickList.oid;
      console.log('row', row)
      console.log('CloneSelect', this.CloneSelect)
      console.log('CloneModel', this.CloneModel)
    },
    //克隆表单提交
    Clonesubmit(row, done) {
Source/UBCS-WEB/src/components/Theme/ThemeImport.vue
@@ -123,7 +123,6 @@
    downloadTemplateFun(){
      this.downloadLoading = true;
      downloadBatchImportApplyTemplate({codeClassifyOid: this.codeClassifyOid}).then(res=>{
        console.log(res)
        this.$utilFunc.downloadFileByBlob(res.data,  "主题库分类模板.xls");
        this.downloadLoading = false;
      }).catch((res)=>{
@@ -133,7 +132,6 @@
    },
    //文件上传失败
    onError(res){
      console.log(res)
      this.pageLoading.close();
    },
    //文件状态改变
Source/UBCS-WEB/src/components/code-dialog-page/maxSerialnumDialog.vue
@@ -154,9 +154,7 @@
        },
        // 确认
        async comfirm() {
            console.log(this.codeApplyForm)
            const objcodekey = Object.keys(this.codeApplyForm)
            console.log(objcodekey)
            const filteredObj = objcodekey.reduce((acc, key) => {
                const pattern = /[\u4e00-\u9fa5]/; // 匹配中文字符的正则表达式
                const patterns = /\$/;
Source/UBCS-WEB/src/components/template/Business.vue
@@ -138,7 +138,6 @@
        handelAgree() {
            this.isAgree = !this.isAgree
            this.outerVisible = false
            console.log(this.isAgree)
        },
        handelRefuse() {
            if (!this.opinionVal) {
@@ -203,4 +202,4 @@
::v-deep(.el-upload-dragger .el-icon-upload) {
    margin: 15px 0 16px;
}
</style>
</style>
Source/UBCS-WEB/src/components/template/FlowPath.vue
@@ -80,7 +80,6 @@
              trigger: 'blur'
            }],
            nodeClick: (data) => {
              console.log(data)
              // 节点点击的时候会获取到数据
              this.form.modelName = data.name
            }
@@ -141,7 +140,6 @@
    async getStart() {
      const response = await getStartList()
      if (response.status === 200) {
        console.log(response.data.data.records)
        const data = response.data.data.records
        let newData = data.map(item => {
          const {key, name, version} = item
@@ -171,10 +169,8 @@
    },
    // 新增
    async handleSave(row, done, loading) {
      console.log(row)
      await flowpathSave({...row, ...{templateId: this.code}}).then(response => {
        if (response.status === 200) {
          console.log(response)
          this.$message({
            type: 'success',
            message: '新增数据成功!'
@@ -189,7 +185,6 @@
    },
    // 编辑
    async handleEdit(row, index, done, loading) {
      console.log(row)
      const {modelName, modelKey, buttonTypeKey, id, description} = row
      let param = {modelName, modelKey, buttonTypeKey, id, description}
      await flowpathSave({...param, ...{templateId: this.code}}).then(response => {
@@ -209,7 +204,6 @@
    },
    // 删除单条
    handleDelete(row) {
      console.log(row)
      const {id} = row
      this.deleteSysInfo({id: id})
    },
@@ -223,7 +217,6 @@
        // 接口
        const response = await flowpathDelete(param)
        if (response.status === 200) {
          console.log(response)
          this.$message({
            type: 'success',
            message: '删除成功!'
Source/UBCS-WEB/src/components/template/SetPersonnel.vue
@@ -142,9 +142,7 @@
        },
        async apiDict() {
            const response = await personnelDict()
            console.log(response)
            if (response.status === 200) {
                console.log(response)
                const data = response.data.data
                this.typeName = data.map(item => {
                    const { account, deptName, id, realName } = item
@@ -174,7 +172,6 @@
        async canCollect(name) {
            const response = await cancelCollect({ name: name })
            if (response.status === 200) {
                console.log(response)
                this.apiInit()
                this.isCollent = true
                this.$message({
@@ -253,7 +250,6 @@
            this.done()
        },
        handleConfirm() {
            console.log(this.saveParam)
            this.apiSave()
        }
    }
Source/UBCS-WEB/src/components/template/Stage.vue
@@ -145,7 +145,6 @@
        let param = {size: pageSize, current: currentPage}
        const response = await getFlowpathList({...param, ...{templateId: this.code}})
        if (response.status === 200) {
          console.log(response)
          this.loading = false
          const data = response.data.data
          this.data = data.records
@@ -158,11 +157,9 @@
    // 获取阶段列表
    async getStagelist() {
      this.loading = false
      console.log(this.modelKey)
      const response = await stagelist({modelKey: this.modelKey})
      if (response.status === 200) {
        this.loading = false
        console.log(response.data)
        this.stageData = response.data.data
      } else this.loading = false
    },
@@ -187,7 +184,6 @@
          }
          return item
        })
        console.log(datas)
        let dataValue = datas.map(item => item.checked ? item.oid : undefined)
        this.attributeValue = dataValue.filter(item => item)
        this.attributeData = datas
@@ -212,7 +208,6 @@
    },
    // 维护
    handleMaintenance(row) {
      console.log(row)
      this.dialogNode = true
      this.modelKey = row.modelKey
      this.saveParam.modelKey = row.modelKey
@@ -228,7 +223,6 @@
      })
    },
    handleRowClick(row) {
      console.log(row)
      this.modelKey = row.modelKey
      this.saveParam.modelKey = row.modelKey
      this.dialogNode = true
@@ -242,7 +236,6 @@
      })
    },
    async handleSave(event) {
      console.log(event)
      const data = event.map(item => {
        const {id, name, attributeGroup} = item
        return {attrId: id, attrName: name, attrGroup: attributeGroup}
@@ -252,12 +245,9 @@
        processStageAttr: data,
        ...this.saveParam
      }
      console.log(this.saveParam)
      console.log(data)
      const response = await attributeSave(param)
      if (response.status === 200) {
        // loading()
        console.log(response)
        this.$message({
          type: 'success',
          message: '新增数据成功!'
Source/UBCS-WEB/src/components/template/TableTransfer.vue
@@ -136,7 +136,6 @@
    },
    mounted() {
        this.init();
        console.log(this.$refs.transferTable)
    },
    methods: {
        init() {
@@ -212,7 +211,6 @@
                    i--;
                }
            }
            console.log(this.rightDataList)
            this.leftData = this.setData(this.leftDataList, this.searchLeft);
            this.rightData = this.setData(this.rightDataList, this.searchRight);
            this.$emit(
Source/UBCS-WEB/src/components/transfer/index.vue
@@ -24,7 +24,7 @@
        </transfer-panel>
    </div>
</template>
<script>
import ElButton from 'element-ui/packages/button';
import Emitter from 'element-ui/src/mixins/emitter';
@@ -201,7 +201,6 @@
                ) {
                    // itemsToBeMoved = [itemKey]
                    itemsToBeMoved = [item]
                    console.log(itemsToBeMoved)
                }
            });
            // currentValue = itemsToBeMoved
@@ -220,4 +219,3 @@
    }
};
</script>