Merge remote-tracking branch 'origin/master'
| | |
| | | .avue-crud__pagination { |
| | | padding: 10px 0 2px 20px; |
| | | } |
| | | |
| | | .el-collapse-item__content { |
| | | padding-bottom: 0px; |
| | | } |
| | | </style> |
| | |
| | | }) |
| | | } |
| | | |
| | | export const getPage = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/ubcs-resource/oss/page', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | | current, |
| | | size, |
| | | } |
| | | }) |
| | | } |
| | | |
| | | export const getDetail = (id) => { |
| | | return request({ |
| | | url: '/api/ubcs-resource/oss/detail', |
| | |
| | | this.idData = result |
| | | // console.log(this.$route) |
| | | getTreeList({'conditionMap[id]': this.idData}).then(res => { |
| | | if(res){ |
| | | if(res.data.length === 0){ |
| | | this.$message.error("主数据分类查询为空!"); |
| | | }else{ |
| | | this.Treedata = res.data; |
| | | const [firstProperty] = res.data; |
| | | this.ModifyProperties(this.Treedata, 'text', 'label'); |
| | |
| | | this.coderuleoid = firstProperty.attributes.coderuleoid; |
| | | this.$emit("coderuleoid", this.coderuleoid) |
| | | this.$emit('Treedata', this.Treedata) |
| | | } |
| | | } |
| | | }).catch(res => { |
| | | console.log(res) |
| | | this.$message.error(res) |
| | | }) |
| | | }); |
| | | }, |
| | | |
| | | //定义一个修改数据属性名的方法 |
| | |
| | | fileDocClassifyName: '', |
| | | hasDownload: true, |
| | | hasUpload: true, |
| | | height: 100 |
| | | height: 110 |
| | | }, |
| | | result: '' |
| | | }; |
| | |
| | | this.tableHeight = 'calc(100vh - 630px)'; |
| | | this.$refs.dataTable.doLayout() |
| | | } else { |
| | | this.tableHeight = 'calc(100vh - 330px)'; |
| | | this.tableHeight = 'calc(100vh - 350px)'; |
| | | this.$refs.dataTable.doLayout() |
| | | } |
| | | }, |
| | |
| | | } |
| | | } |
| | | |
| | | /deep/ .el-button { |
| | | .el-button { |
| | | margin: 0 10px 10px 0; |
| | | } |
| | | |
| | | /deep/ .dialog-footer .el-button { |
| | | margin: 0 10px 0 0; |
| | | } |
| | | |
| | | .main { |
| | |
| | | } |
| | | |
| | | .bottom { |
| | | margin-top: 20px; |
| | | overflow-y: scroll; |
| | | margin-top: 10px; |
| | | } |
| | | |
| | | .el-collapse-item__content { |
| | | padding-bottom: 0; |
| | | } |
| | | </style> |
| | |
| | | <template> |
| | | <el-dialog :title="title" :visible.sync="dialogVisible" append-to-body="true" width="30%"> |
| | | <el-dialog :title="title" :visible.sync="dialogVisible" append-to-body="true" class="avue-dialog avue-dialog--top" top="-3%" width="30%"> |
| | | <el-tag v-for="tag in tags" :key="tag" closable disable-transitions effect="Plain" size="medium" |
| | | @click="handleClickTag(tag)" @close="handleCloseTag(tag)"> |
| | | <span> {{ tag.name }}</span> |
| | |
| | | justify-content: end; |
| | | padding-bottom: 10px; |
| | | } |
| | | |
| | | </style> |
| | |
| | | resetRouter(); |
| | | this.$router.push({path: "/login"}); |
| | | }); |
| | | localStorage.removeItem("pageFlag"); |
| | | }); |
| | | } |
| | | } |
| | |
| | | cancelButtonText: "取消", |
| | | type: "warning" |
| | | }).then(() => { |
| | | localStorage.removeItem("pageFlag"); |
| | | this.$store.dispatch("LogOut").then(() => { |
| | | this.$router.push({ path: "/login" }); |
| | | }); |
| | |
| | | }, |
| | | props: [], |
| | | methods: { |
| | | // 这个其实跟下面delok一个效果,怕不实现写了两次, |
| | | closehandle(){ |
| | | removeToken() |
| | | }, |
| | |
| | | type: "warning", |
| | | message: "密码策略已被修改,请重新修改密码!" |
| | | }) |
| | | // 1.5秒后执行 弹出框显示 |
| | | setTimeout(()=>{ |
| | | this.dialogFormVisible=true |
| | | },1500) |
| | |
| | | width: 150 |
| | | }, { |
| | | label: '参数名称', |
| | | prop: 'targName', |
| | | prop: 'targetName', |
| | | sortable: true, |
| | | width: 150 |
| | | },{ |
| | |
| | | this.editAttribute = row; |
| | | this.editAttribute.sysIntParamVOs = row.sysIntParamVOs || []; |
| | | this.editAttribute.sysIntHeaderVOs = row.sysIntHeaderVOs || []; |
| | | this.editAttribute.type = 'edit'; |
| | | this.$refs.infoForm.formData = this.editAttribute; |
| | | this.$refs.infoForm.showSubmitDialog = true; |
| | | console.log('row',row.dataFlowTypeText) |
| | |
| | | // interfaceFunction:'', |
| | | // nameSpace:'', |
| | | // soapAction:'', |
| | | // targName:'', |
| | | // targetName:'', |
| | | // cxfaxis:'' |
| | | // }; |
| | | // this.pushTypeList.forEach(item => { |
| | |
| | | fieldType: 'text' |
| | | }, { |
| | | title: '参数名称', |
| | | queryField: 'targName', |
| | | queryField: 'targetName', |
| | | fieldType: 'text' |
| | | }, { |
| | | title: '调用方式', |
| | |
| | | <el-form ref="form" :model="formData" show-message="true" inline size="medium" label-suffix=":" |
| | | class="dockingForm" :rules="rules" status-icon="true"> |
| | | <el-form-item label="接口类型" prop="dataFlowType"> |
| | | <el-select v-model="formData.dataFlowType" placeholder="请选择" @change="dataFlowTypeChange"> |
| | | <el-select v-model="formData.dataFlowType" placeholder="请选择" @change="dataFlowTypeChange" :disabled="formData.type == 'edit'"> |
| | | <el-option v-for="item in dataFlowTypeList" :key="item.value" :label="item.label" :value="item.value"> |
| | | </el-option> |
| | | </el-select> |
| | |
| | | <el-form-item v-if="formData.interfaceType=='webService'" label="soapAction" prop="soapAction"> |
| | | <el-input v-model="formData.soapAction" ></el-input> |
| | | </el-form-item> |
| | | <el-form-item v-if="formData.interfaceType=='webService'" label="参数名称" prop="targName"> |
| | | <el-input v-model="formData.targName" ></el-input> |
| | | <el-form-item v-if="formData.interfaceType=='webService'" label="参数名称" prop="targetName"> |
| | | <el-input v-model="formData.targetName" ></el-input> |
| | | </el-form-item> |
| | | <el-form-item v-if="formData.interfaceType=='webService'" label="cxfaxis" prop="cxfaxis"> |
| | | <el-input v-model="formData.cxfaxis" ></el-input> |
| | |
| | | soapAction: [ |
| | | {required: true, message: '请输入soapAction', trigger: 'blur'} |
| | | ], |
| | | targName: [ |
| | | targetName: [ |
| | | {required: true, message: '请输入参数名称', trigger: 'blur'} |
| | | ], |
| | | cxfaxis: [ |
| | |
| | | } |
| | | }, |
| | | submitAttribute() { |
| | | console.log() |
| | | const that = this; |
| | | let pass=true |
| | | if(this.formData.dataFlowType=='push' && (validatenull(this.formData.classifyName)||validatenull(this.formData.targetSystemName))){ |
| | |
| | | return; |
| | | } |
| | | this.$refs.form.validateField(['paramType','returnType','dataFlowType','pushType','classPath','requestMethod','requestUrl', |
| | | 'interfaceFunction','nameSpace','soapAction','targName','cxfaxis'],function (errormsg, field) { |
| | | 'interfaceFunction','nameSpace','soapAction','targetName','cxfaxis'],function (errormsg, field) { |
| | | if (errormsg) { |
| | | pass=false |
| | | } |
| | |
| | | ordernNo:item.$index |
| | | } |
| | | }) |
| | | add(that.formData).then(res => { |
| | | that.$message.success("保存成功"); |
| | | const apiCall = that.formData.type == 'edit' ? edit : add; |
| | | const Message = that.formData.type == 'edit' ? "修改成功" : "保存成功"; |
| | | console.log( that.formData) |
| | | apiCall(that.formData).then(res => { |
| | | that.$message.success(Message); |
| | | that.showSubmitDialog = false; |
| | | this.$refs.form.resetFields(); |
| | | this.formData = { |
| | |
| | | sysIntHeaderVOs: [] |
| | | }; |
| | | that.$emit('refreshTable'); |
| | | that.formData.type=null; |
| | | }); |
| | | } |
| | | }) |
| | |
| | | created() { |
| | | this.updataArr = JSON.parse(localStorage.getItem("updataid")) |
| | | this.userid = this.$store.state.user.upadatastatus.user_id |
| | | const pageFlag = localStorage.getItem("pageFlag") |
| | | if (pageFlag === null) { |
| | | this.checkhandle() |
| | | localStorage.setItem("pageFlag", true) |
| | | } |
| | | }, |
| | | computed: { |
| | | ...mapGetters(["userInfo", "flowRoutes"]), |
| | |
| | | handleChange(val) { |
| | | window.console.log(val); |
| | | }, |
| | | //element组件关闭弹窗的延迟回调,这里没有用关闭弹窗的方法,因为当用户点击确认也是关闭弹窗,如果登录成功弹窗关闭后也是会清除token回到登录页 |
| | | //Xdelhandle是点击X号关闭弹唱,delhandle是点击取消关闭弹窗,在这分了两个事件 |
| | | Xdelhandle() { |
| | | removeToken() |
| | | this.dialogFormVisible = false |
| | |
| | | |
| | | import javax.validation.Valid; |
| | | |
| | | import java.rmi.ServerException; |
| | | |
| | | import static org.springblade.core.cache.constant.CacheConstant.RESOURCE_CACHE; |
| | | |
| | | /** |
| | |
| | | url: ${blade.datasource.prod.url} |
| | | username: ${blade.datasource.prod.username} |
| | | password: ${blade.datasource.prod.password} |
| | | servlet: |
| | | multipart: |
| | | max-file-size: 500MB |
| | | max-request-size: 500MB |
| | | |
| | | #服务器端口 |
| | | server: |
| | | port: 36007 |
| | | |
| | | #默认对象存储配置 |
| | | oss: |
| | | enabled: true |
| | | name: minio |
| | | tenant-mode: true |
| | | endpoint: http://dev.vci-tech.com:39000 |
| | | access-key: TyEeBAJiAKDvHICUVAoH |
| | | secret-key: Reo4wW8EWF4gSizUmVsNjWfbDZzR3rBYFn5Jehd9 |
| | | bucket-name: vci-ubcs |
| | | |
| | | #关闭驼峰命名映射 |
| | | mybatis-plus: |
| | | configuration: |
| | | map-underscore-to-camel-case: false |
| | |
| | | mybatis-plus: |
| | | configuration: |
| | | map-underscore-to-camel-case: false |
| | | call-setters-on-nulls: true |
| | |
| | | <!-- 通用查询映射结果 --> |
| | | <resultMap id="attachResultMap" type="com.vci.ubcs.resource.entity.Attach"> |
| | | <result column="id" property="id"/> |
| | | <result column="create_user" property="createUser"/> |
| | | <result column="create_dept" property="createDept"/> |
| | | <result column="create_time" property="createTime"/> |
| | | <result column="update_user" property="updateUser"/> |
| | | <result column="update_time" property="updateTime"/> |
| | | <result column="createuser" property="createUser"/> |
| | | <result column="createdept" property="createDept"/> |
| | | <result column="createtime" property="createTime"/> |
| | | <result column="updateuser" property="updateUser"/> |
| | | <result column="updatetime" property="updateTime"/> |
| | | <result column="status" property="status"/> |
| | | <result column="is_deleted" property="isDeleted"/> |
| | | <result column="isdeleted" property="isDeleted"/> |
| | | <result column="link" property="link"/> |
| | | <result column="domain_url" property="domainUrl"/> |
| | | <result column="domainurl" property="domainUrl"/> |
| | | <result column="name" property="name"/> |
| | | <result column="original_name" property="originalName"/> |
| | | <result column="originalname" property="originalName"/> |
| | | <result column="extension" property="extension"/> |
| | | <result column="attach_size" property="attachSize"/> |
| | | <result column="attachsize" property="attachSize"/> |
| | | </resultMap> |
| | | |
| | | |
| | |
| | | <!-- 通用查询映射结果 --> |
| | | <resultMap id="ossResultMap" type="com.vci.ubcs.resource.entity.Oss"> |
| | | <result column="id" property="id"/> |
| | | <result column="create_user" property="createUser"/> |
| | | <result column="create_time" property="createTime"/> |
| | | <result column="update_user" property="updateUser"/> |
| | | <result column="update_time" property="updateTime"/> |
| | | <result column="createuser" property="createUser"/> |
| | | <result column="createtime" property="createTime"/> |
| | | <result column="updateuser" property="updateUser"/> |
| | | <result column="updatetime" property="updateTime"/> |
| | | <result column="status" property="status"/> |
| | | <result column="is_deleted" property="isDeleted"/> |
| | | <result column="oss_code" property="ossCode"/> |
| | | <result column="isdeleted" property="isDeleted"/> |
| | | <result column="osscode" property="ossCode"/> |
| | | <result column="category" property="category"/> |
| | | <result column="endpoint" property="endpoint"/> |
| | | <result column="access_key" property="accessKey"/> |
| | | <result column="secret_key" property="secretKey"/> |
| | | <result column="bucket_name" property="bucketName"/> |
| | | <result column="app_id" property="appId"/> |
| | | <result column="accesskey" property="accessKey"/> |
| | | <result column="secretkey" property="secretKey"/> |
| | | <result column="bucketname" property="bucketName"/> |
| | | <result column="appid" property="appId"/> |
| | | <result column="region" property="region"/> |
| | | <result column="remark" property="remark"/> |
| | | </resultMap> |
| | | |
| | | |
| | | <select id="selectOssPage" resultMap="ossResultMap"> |
| | | select * from pl_sys_oss where is_deleted = 0 |
| | | select * from pl_sys_oss where isdeleted = 0 |
| | | </select> |
| | | |
| | | </mapper> |
| | |
| | | <!-- 通用查询映射结果 --> |
| | | <resultMap id="smsResultMap" type="com.vci.ubcs.resource.entity.Sms"> |
| | | <result column="id" property="id"/> |
| | | <result column="create_user" property="createUser"/> |
| | | <result column="create_dept" property="createDept"/> |
| | | <result column="create_time" property="createTime"/> |
| | | <result column="update_user" property="updateUser"/> |
| | | <result column="update_time" property="updateTime"/> |
| | | <result column="createuser" property="createUser"/> |
| | | <result column="createdept" property="createDept"/> |
| | | <result column="createtime" property="createTime"/> |
| | | <result column="updateuser" property="updateUser"/> |
| | | <result column="updatetime" property="updateTime"/> |
| | | <result column="status" property="status"/> |
| | | <result column="is_deleted" property="isDeleted"/> |
| | | <result column="sms_code" property="smsCode"/> |
| | | <result column="template_id" property="templateId"/> |
| | | <result column="isdeleted" property="isDeleted"/> |
| | | <result column="smscode" property="smsCode"/> |
| | | <result column="templateid" property="templateId"/> |
| | | <result column="category" property="category"/> |
| | | <result column="access_key" property="accessKey"/> |
| | | <result column="secret_key" property="secretKey"/> |
| | | <result column="region_id" property="regionId"/> |
| | | <result column="sign_name" property="signName"/> |
| | | <result column="accesskey" property="accessKey"/> |
| | | <result column="secretkey" property="secretKey"/> |
| | | <result column="regionid" property="regionId"/> |
| | | <result column="signname" property="signName"/> |
| | | <result column="remark" property="remark"/> |
| | | </resultMap> |
| | | |
| | |
| | | private String updateUser; |
| | | |
| | | /** |
| | | * 租户ID |
| | | */ |
| | | @ApiModelProperty(value = "租户ID") |
| | | private String tenantId; |
| | | |
| | | /** |
| | | * 授权人 |
| | | */ |
| | | @ApiModelProperty(value = "授权人") |
| | |
| | | @TableField(exist = false) |
| | | private String combinationNames; |
| | | |
| | | /** |
| | | * 租户ID |
| | | */ |
| | | @ApiModelProperty(value = "租户ID") |
| | | private String tenantId; |
| | | |
| | | @Override |
| | | public boolean equals(Object o) { |
| | | if (this == o) { |
| | |
| | | /** |
| | | * (UserPwdStrtategy)实体类 |
| | | * |
| | | * @author makejava |
| | | * @author Ludc |
| | | * @since 2023-03-20 14:59:29 |
| | | */ |
| | | |
| | |
| | | // conditionMap.put(CODE_CLASSIFY_OID_FIELD, QueryOptionConstant.IN + "(select oid from " + VciBaseUtil.getTableName(MdmBtmTypeConstant.CODE_CLASSIFY) |
| | | List<BtmTypeVO> classifyData = btmTypeClient.selectByIdCollection(Collections.singletonList(MdmBtmTypeConstant.CODE_CLASSIFY)).getData(); |
| | | if(Func.isEmpty(classifyData)){ |
| | | throw new ServiceException("业务类型配置不一致,请修改英文名称为"+MdmBtmTypeConstant.CODE_CLASSIFY); |
| | | throw new ServiceException("业务类型中英文名称和查询条件配置不一致,请修改业务类型中分类表英文名称为"+MdmBtmTypeConstant.CODE_CLASSIFY); |
| | | } |
| | | conditionMap.put("t." + CODE_CLASSIFY_OID_FIELD, QueryOptionConstant.IN + "(select oid from " + |
| | | classifyData.get(0).getTableName() + " where lcstatus='" + FrameWorkDefaultValueConstant |
| | |
| | | LEFT JOIN PL_SYS_USER_PWDSTRATEGY plup on plup.USER_ID=pou.ID |
| | | LEFT JOIN PL_SYS_PWDSTRATEGY pss on pss.ID=plup.PWDSTRATEGY_ID |
| | | WHERE is_deleted = 0 |
| | | <if test="tenantId!=null and tenantId != ''"> |
| | | and tenant_id = #{tenantId} |
| | | </if> |
| | | <if test="user.tenantId!=null and user.tenantId != ''"> |
| | | and tenant_id = #{user.tenantId} |
| | | and pou.tenant_id = #{user.tenantId} |
| | | </if> |
| | | <if test="user.account!=null and user.account != ''"> |
| | | and account = #{user.account} |
| | |
| | | LEFT JOIN PL_SYS_USER_PWDSTRATEGY plup on plup.USER_ID=pou.ID |
| | | LEFT JOIN PL_SYS_PWDSTRATEGY pss on pss.ID=plup.PWDSTRATEGY_ID |
| | | WHERE |
| | | tenant_id = #{param1} and account = #{param2} |
| | | pou.tenant_id = #{param1} and account = #{param2} |
| | | <if test="param3!=null and param3 != ''"> |
| | | and name = #{param3} |
| | | </if> |