| | |
| | | width="55vw" |
| | | style="height: 115vh; margin-top: -10vh; overflow: hidden" |
| | | :visible.sync="isShowDialog" |
| | | lock-scroll |
| | | :close-on-click-modal="false" |
| | | @close="recoverPage"> |
| | | <div class="search-total"> |
| | | <!-- 头部按钮区域 --> |
| | |
| | | }else{ |
| | | // 选择显示字段 |
| | | data.selectedArrary.forEach(item => { |
| | | console.log(item); |
| | | this.codeShowFieldConfigVOS.push( |
| | | { |
| | | field: item.id, |
| | | title: item.id, |
| | | fieldType: item.attrType, |
| | | fieldTypeText: item.attrTypeText, |
| | | title: item.name, |
| | | // fieldType: item.attrType, |
| | | // fieldTypeText: item.attrTypeText, |
| | | fieldType: 'text', |
| | | fieldTypeText: '文本框', |
| | | sort: false, |
| | | attrSortField: item.id, |
| | | width: item.attrLength, |
| | | width: item.attributeLength, |
| | | isquery: false, |
| | | $cellEdit: false |
| | | } |
| | |
| | | append-to-body |
| | | style="height: 115vh; margin-top: -13vh; overflow: hidden" |
| | | destroy-on-close |
| | | lock-scroll |
| | | :close-on-click-modal="false" |
| | | @close="clearBasicAddForm"> |
| | | |
| | | <!-- 第一层对话框,添加码段信息对话框中的内容 --> |
| | |
| | | this.loadBasic(this.selectionList[0]); |
| | | }else{ |
| | | // 可能参照引用的业务类型会发生改变所以这儿直接对referConfig的json进行改变 |
| | | if(this.form.referConfig === "coderefersec"){ |
| | | let referConfig = JSON.parse(this.form.referConfig); |
| | | referConfig.referType = this.form.referBtmId; |
| | | referConfig.referTypeName = this.form.referBtmName; |
| | |
| | | let referValueInfo = JSON.parse(this.form.referValueInfo); |
| | | referValueInfo.referType = this.form.referBtmId; |
| | | this.form.referValueInfo = JSON.stringify(referValueInfo); |
| | | } |
| | | |
| | | editSave(this.form).then(() => { |
| | | // 关闭对话框 |
| | | this.addBasicCodeSettingBox = false |
| | |
| | | if (this.selectionList.length === 1) { |
| | | this.roleTreeObj = this.selectionList[0].roleId.split(","); |
| | | } |
| | | getRoleTree().then(res => { |
| | | getRoleTree(this.selectionList[0].tenantId).then(res => { |
| | | this.roleGrantList = res.data.data; |
| | | this.roleBox = true; |
| | | |
| | |
| | | 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', |
| | |
| | | <artifactId>orai18n</artifactId> |
| | | <version>${orai18n.version}</version> |
| | | </dependency> |
| | | <!--达梦数据库驱动--> |
| | | <dependency> |
| | | <groupId>com.dameng</groupId> |
| | | <artifactId>DmJdbcDriver18</artifactId> |
| | | <optional>true</optional> |
| | | </dependency> |
| | | <!-- 链路追踪、服务监控 --> |
| | | <!--<dependency> |
| | | <groupId>org.springblade</groupId> |
| | |
| | | <groupId>org.springblade</groupId> |
| | | <artifactId>blade-starter-metrics</artifactId> |
| | | </dependency> |
| | | <!--达梦数据库驱动--> |
| | | <dependency> |
| | | <groupId>com.dameng</groupId> |
| | | <artifactId>DmJdbcDriver18</artifactId> |
| | | <optional>true</optional> |
| | | </dependency> |
| | | </dependencies> |
| | | |
| | | </project> |
| | |
| | | package com.vci.ubcs.omd.entity; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import io.swagger.annotations.ApiModel; |
| | |
| | | /** |
| | | * 业务类型所属领域 |
| | | */ |
| | | @TableField("\"DOMAIN\"") |
| | | private String domain; |
| | | |
| | | /** |
| | |
| | | <artifactId>ubcs-scope-api</artifactId> |
| | | <version>3.0.1.RELEASE</version> |
| | | </dependency> |
| | | <!--达梦数据库驱动--> |
| | | <dependency> |
| | | <groupId>com.dameng</groupId> |
| | | <artifactId>DmJdbcDriver18</artifactId> |
| | | <optional>true</optional> |
| | | </dependency> |
| | | </dependencies> |
| | | |
| | | </project> |
| | |
| | | import com.vci.ubcs.code.vo.pagemodel.UITableFieldVO; |
| | | import com.vci.ubcs.code.vo.pagemodel.*; |
| | | import com.vci.ubcs.omd.vo.BtmTypeVO; |
| | | import com.vci.ubcs.starter.exception.VciBaseException; |
| | | import com.vci.ubcs.starter.revision.model.BaseModel; |
| | | import com.vci.ubcs.starter.revision.model.TreeQueryObject; |
| | | import com.vci.ubcs.starter.web.pagemodel.*; |
| | |
| | | * @param referConfigVO |
| | | * @return |
| | | */ |
| | | IPage<BaseModel> referDataGrid(UIFormReferVO referConfigVO, BaseQueryObject baseQueryObject); |
| | | IPage<BaseModel> referDataGrid(UIFormReferVO referConfigVO, BaseQueryObject baseQueryObject) throws VciBaseException; |
| | | |
| | | /** |
| | | * 获取树形的参照 |
| | |
| | | * @return 列表数据 |
| | | */ |
| | | @Override |
| | | public IPage<BaseModel> referDataGrid(UIFormReferVO referConfigVO, BaseQueryObject baseQueryObject) { |
| | | public IPage<BaseModel> referDataGrid(UIFormReferVO referConfigVO, BaseQueryObject baseQueryObject) throws VciBaseException{ |
| | | //checkReferConfig(referConfigVO); |
| | | //使用业务类型查询 |
| | | R<BtmTypeVO> allAttributeByBtmId = btmTypeClient.getAllAttributeByBtmId(referConfigVO.getReferType()); |
| | |
| | | |
| | | String lcstatusSql = ""; |
| | | if (StringUtils.isNotBlank(baseQueryObject.getConditionMap().get("lcstatus"))) { |
| | | lcstatusSql = "and lcstatus =" + VciBaseUtil.toInSql(baseQueryObject.getConditionMap().get("lcstatus")); |
| | | lcstatusSql = "lcstatus =" + VciBaseUtil.toInSql(baseQueryObject.getConditionMap().get("lcstatus")); |
| | | } |
| | | |
| | | String num1 = baseQueryObject.getPage() * baseQueryObject.getLimit() + ""; |
| | | String num2 = ((baseQueryObject.getPage()) - 1) * baseQueryObject.getLimit() + 1 + ""; |
| | | |
| | | List<Map> maps = commonsMapper.selectBySql("select * from ( select rownum rn, t.* from (select * from " + listR.getData().get(0).getTableName() |
| | | List<Map> maps = commonsMapper.selectBySql("select * from ( select rownum rn, t.* from (select * from " + listR.getData().get(0).getTableName() + SPACE |
| | | + (StringUtils.isNotBlank(listR.getData().get(0).getRevisionRuleId()) ? (" where lastr = " + VciBaseUtil.toInSql(baseQueryObject.getConditionMap().get("lastr").toString()) |
| | | + "and lastv =" + VciBaseUtil.toInSql(baseQueryObject.getConditionMap().get("lastv").toString())):"") |
| | | + lcstatusSql + namesql + codesql + ") t where rownum <=" + num1 + ") where rn >=" + num2 |
| | |
| | | import com.vci.ubcs.starter.util.MybatisParameterUtil; |
| | | import com.vci.ubcs.starter.util.UBCSCondition; |
| | | import com.vci.ubcs.starter.web.constant.RegExpConstant; |
| | | import com.vci.ubcs.starter.web.pagemodel.BaseQueryObject; |
| | | import com.vci.ubcs.starter.web.pagemodel.PageHelper; |
| | | import com.vci.ubcs.starter.web.util.BeanUtil; |
| | | import com.vci.ubcs.starter.web.util.VciBaseUtil; |
| | | import org.springblade.core.mp.support.Condition; |