Merge remote-tracking branch 'origin/master'
| | |
| | | exportCode({codeClassifyOid:this.codeClassifyOid,...this.exportArr,limit:-1}).then(res=>{ |
| | | // console.log('res',res) |
| | | if(res){ |
| | | func.downloadFileByBlob(res); |
| | | func.downloadFileByBlobHandler(res); |
| | | this.escHandler() |
| | | } |
| | | }) |
| | |
| | | exportCode({codeClassifyOid:this.codeClassifyOid,'conditionMap[oid]':this.ids,...this.exportArr}).then(res=>{ |
| | | // console.log('res',res) |
| | | if(res){ |
| | | func.downloadFileByBlob(res); |
| | | func.downloadFileByBlobHandler(res); |
| | | this.escHandler() |
| | | } |
| | | }) |
| | |
| | | exportCode({codeClassifyOid:this.codeClassifyOid,...this.exportArr,limit:-1}).then(res=>{ |
| | | // console.log('res',res) |
| | | if(res){ |
| | | func.downloadFileByBlob(res); |
| | | func.downloadFileByBlobHandler(res); |
| | | this.escHandler() |
| | | } |
| | | }) |
| | |
| | | this.addVisible = true; |
| | | this.busineSelectList = [] |
| | | this.busineAddList = []; |
| | | this.BuineAttrByBtm() |
| | | this.BuineAttrByBtm(); |
| | | this.$nextTick(() => { |
| | | this.$refs.AddOriginPlace.doLayout(); |
| | | }) |
| | | }, |
| | | //业务类型数据 |
| | | BuineAttrByBtm(masterParameter){ |
| | |
| | | <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 ref="FlowPath" :code="this.crudOid" :checkStatus="checkStatus" :crudLCStatus="crudLCStatus" :Formlist="Formlist"></FlowPath> |
| | | <FlowPath ref="FlowPath" :code="this.crudOid" :checkStatus="checkStatus" :crudLCStatus="crudLCStatus" :Formlist="Formlist"></FlowPath> |
| | | </span> |
| | | <span v-else-if="type.prop==='tab3'"> |
| | | <stage ref="stage" :code="this.crudOid" :Formlist="Formlist"></stage> |
| | |
| | | <avue-crud ref="crud" :table-loading="loading" :data="data" v-model="form" :option="option" :page.sync="page" |
| | | :search.sync="search" @on-load="getDataList" @row-save="handleSave" @row-del="handleDelete" |
| | | @row-update="handleEdit" @refresh-change="handleRefresh" @size-change="handleSizePage" |
| | | @current-change="handleCurrentPage"> |
| | | @current-change="handleCurrentPage" v-if="Formlist.length>0"> |
| | | </avue-crud> |
| | | </template> |
| | | |
| | |
| | | <template> |
| | | <div> |
| | | <div v-if="Formlist.length>0"> |
| | | <avue-crud ref="crud" :table-loading="loading" :data="data" :option="option" :page.sync="page" |
| | | @on-load="getDataList" @size-change="handleSizePage" @current-change="handleCurrentPage" |
| | | @row-click="handleRowClick"> |
| | |
| | | typeof: String, |
| | | required: true, |
| | | default: "" |
| | | } |
| | | }, |
| | | Formlist:{ |
| | | type:Array, |
| | | default:[] |
| | | } |
| | | }, |
| | | watch: { |
| | | code: { |
| | |
| | | header: false, |
| | | align: 'center', |
| | | index: true, |
| | | menuWidth: 100, |
| | | menuWidth: 80, |
| | | editBtn: false, |
| | | delBtn: false, |
| | | border:true, |
| | | column: [{ |
| | | label: '任务名称', |
| | | prop: 'taskName', |
| | |
| | | headerAlign:'center', |
| | | align:'left', |
| | | html: true, |
| | | width:300, |
| | | overHidden:true, |
| | | formatter: (val) => { |
| | | return '<a name="processname" href="javascript:;" style="color: #66b1ff;">' + val.variables.processName+'-'+val.taskName + '</a>' |
| | | } |
| | |
| | | { |
| | | label: '上一步处理时间', |
| | | sortable:true, |
| | | width:150, |
| | | prop: 'historyActivityDurationTime' |
| | | }, |
| | | { |
| | | label: '上一步操作人', |
| | | sortable:true, |
| | | width:120, |
| | | prop: 'historyActivityAssigneName' |
| | | }, |
| | | { |
| | | label: '流程描述', |
| | | prop: 'processDesc', |
| | | overHidden:true, |
| | | formatter: (val) => { |
| | | return val.variables.processDesc |
| | | } |
| | |
| | | { |
| | | label: '所属流程模板', |
| | | sortable:true, |
| | | overHidden:true, |
| | | prop: 'categoryName' |
| | | } |
| | | ] |
| | |
| | | headerAlign:'center', |
| | | align:'left', |
| | | sortable:true, |
| | | width:300, |
| | | overHidden:true, |
| | | formatter: (val) => { |
| | | return val.variables.processName |
| | | } |
| | |
| | | label: '发起人', |
| | | prop: 'createUser', |
| | | sortable:true, |
| | | width:150, |
| | | formatter: (val) => { |
| | | return val.variables.createUser |
| | | } |
| | | }, { |
| | | label: '发起时间', |
| | | sortable:true, |
| | | width:180, |
| | | prop: 'createTime', |
| | | }, { |
| | | label: '当前步骤', |
| | |
| | | },{ |
| | | label: '所属流程模板', |
| | | sortable:true, |
| | | width:200, |
| | | prop: 'categoryName' |
| | | }, { |
| | | label: '流程描述', |
| | | prop: 'processDesc', |
| | | overHidden:true, |
| | | formatter: (val) => { |
| | | return val.variables.processDesc |
| | | } |
| | |
| | | headerAlign: 'center', |
| | | align: 'left', |
| | | sortable: true, |
| | | overHidden:true, |
| | | width:300, |
| | | formatter: (val) => { |
| | | return val.variables.processName |
| | | } |
| | |
| | | label: '发起人', |
| | | prop: 'createUser', |
| | | sortable: true, |
| | | width:150, |
| | | formatter: (val) => { |
| | | return val.variables.createUser |
| | | } |
| | | }, { |
| | | label: '发起时间', |
| | | sortable: true, |
| | | width:180, |
| | | prop: 'createTime', |
| | | }, { |
| | | label: '完成时间', |
| | | sortable: true, |
| | | prop: 'endTime', |
| | | width:180, |
| | | prop: 'historyTaskEndTime', |
| | | }, { |
| | | label: '所属流程模板', |
| | | sortable: true, |
| | | width:200, |
| | | prop: 'categoryName' |
| | | }, { |
| | | label: '流程启动时描述', |
| | | prop: 'processDesc', |
| | | overHidden:true, |
| | | formatter: (val) => { |
| | | return val.variables.processDesc |
| | | } |
| | |
| | | headerAlign:'center', |
| | | align:'left', |
| | | sortable:true, |
| | | overHidden:true, |
| | | formatter: (val) => { |
| | | return val.variables.processName |
| | | } |
| | |
| | | label: '流程进度', |
| | | prop: 'processIsFinished', |
| | | slot: true, |
| | | width: 80, |
| | | width: 100, |
| | | }, { |
| | | label: '当前步骤', |
| | | prop: 'taskName', |
| | | width:150 |
| | | }, { |
| | | label: '发起时间', |
| | | sortable:true, |
| | | prop: 'createTime', |
| | | width:180, |
| | | prop: 'createTime' |
| | | },{ |
| | | label: '所属流程模板', |
| | | sortable:true, |
| | | prop: 'categoryName' |
| | | prop: 'categoryName', |
| | | width:200 |
| | | }, { |
| | | label: '流程描述', |
| | | prop: 'processDesc', |
| | | overHidden:true, |
| | | formatter: (val) => { |
| | | return val.variables.processDesc |
| | | } |
| | |
| | | viewBtn: false, |
| | | delBtn: false, |
| | | dialogWidth: 900, |
| | | menuWidth: 200, |
| | | menuWidth: 220, |
| | | dialogClickModal: false, |
| | | align: 'center', |
| | | column: [{ |
| | |
| | | headerAlign:'center', |
| | | align:'left', |
| | | sortable:true, |
| | | width:360, |
| | | overHidden:true, |
| | | formatter: (val) => { |
| | | return val.variables.processName |
| | | } |
| | |
| | | label: '发起人', |
| | | prop: 'createUser', |
| | | sortable:true, |
| | | width:150, |
| | | formatter: (val) => { |
| | | return val.variables.createUser |
| | | } |
| | | }, { |
| | | label: '发起时间', |
| | | sortable:true, |
| | | width:180, |
| | | prop: 'createTime', |
| | | }, { |
| | | label: '所属流程模板', |
| | | sortable:true, |
| | | width:200, |
| | | prop: 'categoryName' |
| | | }, { |
| | | label: '流程描述', |
| | | prop: 'processDesc', |
| | | overHidden:true, |
| | | formatter: (val) => { |
| | | return val.variables.processDesc |
| | | } |
| | |
| | | |
| | | <properties> |
| | | <bladex.project.version>3.0.1.RELEASE</bladex.project.version> |
| | | |
| | | <java.version>1.8</java.version> |
| | | <maven.plugin.version>3.8.0</maven.plugin.version> |
| | | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| | |
| | | </compilerArgs> |
| | | </configuration> |
| | | </plugin> |
| | | |
| | | <!-- 打包时剔除jar,放置在lib当中 --> |
| | | <!-- <plugin> |
| | | <groupId>org.springframework.boot</groupId> |
| | | <artifactId>spring-boot-maven-plugin</artifactId> |
| | | <version>${spring.boot.version}</version> <!– 如果 spring.boot.version 版本修改,则这里也要跟着修改 –> |
| | | <configuration> |
| | | <fork>true</fork> |
| | | <!–解决windows命令行窗口中文乱码–> |
| | | <jvmArguments>-Dfile.encoding=UTF-8</jvmArguments> |
| | | <!– 拆开依赖–> |
| | | <mainClass>cn.iocoder.qingning.server.QingningServerApplication</mainClass> |
| | | <layout>ZIP</layout> |
| | | <includes> |
| | | <include> |
| | | <!– 排除所有Jar –> |
| | | <groupId>nothing</groupId> |
| | | <artifactId>nothing</artifactId> |
| | | </include> |
| | | </includes> |
| | | </configuration> |
| | | <executions> |
| | | <execution> |
| | | <goals> |
| | | <goal>repackage</goal> <!– 将引入的 jar 打入其中 –> |
| | | </goals> |
| | | </execution> |
| | | </executions> |
| | | </plugin> |
| | | <!–此插件用于将依赖包抽出–> |
| | | <plugin> |
| | | <groupId>org.apache.maven.plugins</groupId> |
| | | <artifactId>maven-dependency-plugin</artifactId> |
| | | <executions> |
| | | <execution> |
| | | <id>copy-dependencies</id> |
| | | <phase>package</phase> |
| | | <goals> |
| | | <goal>copy-dependencies</goal> |
| | | </goals> |
| | | <configuration> |
| | | <outputDirectory>../target/lib</outputDirectory> |
| | | <excludeTransitive>false</excludeTransitive> |
| | | <stripVersion>false</stripVersion> |
| | | <includeScope>runtime</includeScope> |
| | | </configuration> |
| | | </execution> |
| | | </executions> |
| | | </plugin> |
| | | <plugin> |
| | | <artifactId>maven-surefire-plugin</artifactId> |
| | | <configuration> |
| | | <skip>true</skip> |
| | | </configuration> |
| | | </plugin>--> |
| | | </plugins> |
| | | </build> |
| | | |
| | |
| | | @Resource |
| | | CommonsMapper commonsMapper; |
| | | |
| | | @Resource |
| | | ICodeBasicSecService codeBasicSecService; |
| | | |
| | | /** |
| | | * 编码规则的服务 |
| | | */ |
| | |
| | | import org.apache.poi.ss.usermodel.Workbook; |
| | | import org.springblade.core.redis.cache.BladeRedis; |
| | | import org.springblade.core.tool.api.R; |
| | | import org.springblade.core.tool.utils.Func; |
| | | import org.springframework.beans.BeanUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.beans.factory.annotation.Value; |
| | |
| | | conditionMap.put("lastr", "1"); |
| | | conditionMap.put("lastv", "1"); |
| | | |
| | | String countSql = "select count(*) from " + VciBaseUtil.getTableName(btmTypeId) +" where 1=1" + |
| | | R<List<BtmTypeVO>> listR = btmTypeClient.selectByIdCollection(Arrays.asList(btmTypeId)); |
| | | String tableName = ""; |
| | | if(listR.isSuccess() && !listR.getData().isEmpty()){ |
| | | tableName = Func.isNotBlank(listR.getData().get(0).getTableName()) ? listR.getData().get(0).getTableName():VciBaseUtil.getTableName(btmTypeId); |
| | | }else{ |
| | | tableName = VciBaseUtil.getTableName(btmTypeId); |
| | | } |
| | | |
| | | String countSql = "select count(*) from " + tableName +" where 1=1" + |
| | | " and lastr = '1'" + |
| | | " and lastv='1'" + |
| | | " and codeclsfpath like '%" + exportAttrDTO.getCodeClassifyOid() + "%'"; |
| | |
| | | |
| | | <select id="selectCodeAllCodePage" resultMap="CodeAllcodeResultMap"> |
| | | select * from PL_CODE_ALLCODE |
| | | |
| | | </select> |
| | | |
| | | |
| | |
| | | <result column="CODERESEMBLERULEOID" property="codeResembleRuleOid"/> |
| | | <result column="TENANT_ID" property="tenantId"/> |
| | | </resultMap> |
| | | |
| | | <sql id="tableName"> |
| | | pl_code_classify |
| | | </sql> |
| | | |
| | | <select id="selectPlCodeClassifyPage" resultMap="plCodeClassifyResultMap"> |
| | | select * from PL_CODE_CLASSIFY where is_deleted = 0 |
| | | </select> |
| | |
| | | </if> |
| | | order by id asc |
| | | </select> |
| | | |
| | | <select id="getRMLibByName" resultMap="plCodeClassifyResultMap"> |
| | | select codeclassify0.OWNER as owner, |
| | | codeclassify0.BTMTYPEID as btmtypeid, |