Merge branch 'master' of http://dev.vci-tech.com:1065/r/ubcs
| | |
| | | } |
| | | }) |
| | | } |
| | | //æ¶é´æ ¼å¼ä¸æèå |
| | | //å¯è¾å¯é䏿èå |
| | | export const listByFlag = (params) =>{ |
| | | return request({ |
| | | url:'/api/ubcs-code/bdSelectInputController/listByFlag', |
| | | url:'/api/ubcs-system/dict-biz/listByFlag', |
| | | method: 'get', |
| | | params:{ |
| | | ...params |
| | |
| | | <avue-crud :data="businessData" :option="businessOption" @selection-change="businessSelect"> |
| | | <template slot="menuLeft"> |
| | | <div style="display: flex;"> |
| | | <el-select> |
| | | <el-option>屿§è±æåç§°</el-option> |
| | | <el-option>屿§ä¸æåç§°</el-option> |
| | | <el-select v-model="SelectValue" placeholder="è¯·éæ©" style="width: 150px !important;"> |
| | | <el-option |
| | | v-for="item in SelectOption" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value" |
| | | style="width: 150px"> |
| | | </el-option> |
| | | </el-select> |
| | | <el-input style="width: 300px;margin-left: 20px"></el-input> |
| | | <el-button size="small" style="margin-left: 10px">æ¥è¯¢</el-button> |
| | | <el-input style="width: 400px;margin-left: 20px" v-model="SelectFInd"></el-input> |
| | | <el-button size="small" style="margin-left: 10px" @click="AddFindHandler">æ¥è¯¢</el-button> |
| | | </div> |
| | | |
| | | </template> |
| | | </avue-crud> |
| | | <div style="display: flex;justify-content: flex-end;margin-top: 15px"> |
| | |
| | | <el-button size="small" type="primary" @click="addVisible=false">åæ¶</el-button> |
| | | </div> |
| | | </el-dialog> |
| | | <!-- åç
§é
ç½®--> |
| | | <refer-config-form-dialog |
| | | ref="referConfigFormDialog" |
| | | @echoReferConfig="echoReferConfig" |
| | | ></refer-config-form-dialog> |
| | | </div> |
| | | <el-table :data="ProData" |
| | | style="width: 100%" |
| | |
| | | > |
| | | <el-table-column |
| | | type="selection" |
| | | width="55"> |
| | | width="55" fixed> |
| | | </el-table-column> |
| | | <!--<el-table-column fixed label="åºå·" type="index" width="55"></el-table-column>--> |
| | | <el-table-column v-for="item in this.option.column" :key="item.id" |
| | | <el-table-column v-for="(item,index) in this.option.column" :key="item.id" |
| | | :label="item.label" |
| | | :prop="item.prop" |
| | | :formatter="formAttr" |
| | | :width="item.width||(item.label.length >=4 ?'160':item.label.length==3 ?'130':'100')" |
| | | :show-overflow-tooltip="true" |
| | | :sortable="item.sortable" |
| | | :fixed="item.fixed" |
| | | align="center" |
| | | v-if="item.edit !='referName'" |
| | | > |
| | | <template slot-scope="{ row }"> |
| | | <el-input v-if="editingRows === row && editShows== item.prop && item.prop != 'codeDateFormat' && (item.edit == 'text' || item.edit == 'select' ||item.edit == 'refer' )" v-model="row[item.prop]" |
| | | <el-input v-if="editingRows === row && editShows== item.prop && item.prop != 'codeDateFormat' && (item.edit == 'text' ||item.edit == 'refer' )" v-model="row[item.prop]" |
| | | @blur="saveRows"></el-input> |
| | | <el-input-number size="small" controls-position="right" v-if="editingRows === row && editShows== item.prop && item.edit == 'number'" v-model="row[item.prop]" |
| | | @blur="saveRows" :style="{width:(item.width-10)+'px'}"></el-input-number> |
| | | <el-select v-model="row[item.prop]" slot="prepend" v-if="editingRows === row && editShows== item.prop && item.prop == 'codeDateFormat' && row[item.prop] ==''" @focus="DataChangeHandler"> |
| | | <el-option label="é¤å
å" value="1"></el-option> |
| | | <el-option label="订åå·" value="2"></el-option> |
| | | <el-option label="ç¨æ·çµè¯" value="3"></el-option> |
| | | <el-select v-model="row[item.prop]" filterable allow-create default-first-option slot="prepend" v-if="editingRows === row && editShows== item.prop && item.edit == 'select' " @focus="DataChangeHandler(item.editConfig,index)"> |
| | | <el-option |
| | | v-for="optionItem in item.data" |
| | | :key="optionItem.key" |
| | | :label="optionItem.value" |
| | | :value="optionItem.key"> |
| | | </el-option> |
| | | </el-select> |
| | | <el-switch |
| | | v-if="item.edit === 'switch'" v-model="row[item.prop]" active-value="true" |
| | |
| | | <el-table-column |
| | | fixed="right" |
| | | label="æä½" |
| | | width="120"> |
| | | width="70"> |
| | | <template slot-scope="scope"> |
| | | <el-button |
| | | size="small" |
| | |
| | | }, |
| | | data() { |
| | | return { |
| | | //å½ååå
æ ¼ |
| | | CurrentCell:'', |
| | | // æ°å¢ |
| | | SelectValue:"", |
| | | SelectFInd:"", |
| | | SelectOption:[ |
| | | { |
| | | value: 'name', |
| | | label: '屿§ä¸æåç§°' |
| | | }, |
| | | { |
| | | value: 'id', |
| | | label: '屿§è±æåç§°' |
| | | } |
| | | ], |
| | | //åç
§ |
| | | referVisible:false, |
| | | crudArrayFlag:false, |
| | | editingRows: null, |
| | | editShows:"", |
| | |
| | | prop: "prefixValue", |
| | | sortable: true, |
| | | edit: 'select', |
| | | width: 110, |
| | | editConfig: { |
| | | extraParams: { |
| | | code: 'codeclstempattr', |
| | | dictKey: 'prefix' |
| | | } |
| | | }, |
| | | cell: false, |
| | | }, |
| | | { |
| | |
| | | prop: "suffixValue", |
| | | sortable: true, |
| | | edit: 'select', |
| | | width: 110, |
| | | editConfig: { |
| | | extraParams: { |
| | | code: 'codeclstempattr', |
| | | dictKey: 'suffix' |
| | | } |
| | | }, |
| | | cell: false, |
| | | }, |
| | | { |
| | |
| | | sortable: true, |
| | | width: 135, |
| | | edit: 'select', |
| | | editConfig: { |
| | | extraParams: { |
| | | code: 'codeclstempattr', |
| | | dictKey: 'dateFormates' |
| | | } |
| | | }, |
| | | cell: false, |
| | | }, |
| | | { |
| | | label: "å类注å
¥", |
| | | prop: "classifyInvokeLevelName", |
| | | cell: false, |
| | | edit: 'refer' |
| | | }, |
| | | { |
| | | label: "å类注å
¥", |
| | | prop: "classifyInvokeLevel", |
| | | cell: false, |
| | | edit: 'refer' |
| | | edit: 'referName', |
| | | }, |
| | | { |
| | | label: "æä¸¾æ³¨å
¥", |
| | |
| | | formAttr(row, column) { |
| | | console.log(row,column) |
| | | }, |
| | | //æ°å¢æç´¢ |
| | | AddFindHandler(){ |
| | | if(this.SelectValue == 'id'){ |
| | | const masterParameter={ |
| | | 'conditionMap[id]':this.SelectFInd |
| | | } |
| | | this.BuineAttrByBtm(masterParameter); |
| | | this.SelectValue="" |
| | | this.SelectFInd="" |
| | | }else if(this.SelectValue == 'name'){ |
| | | const masterParameter={ |
| | | 'conditionMap[name]':this.SelectFInd |
| | | } |
| | | this.BuineAttrByBtm(masterParameter) |
| | | this.SelectValue="" |
| | | this.SelectFInd="" |
| | | } |
| | | }, |
| | | //åç
§é
ç½®åç»ä»¶ |
| | | echoReferConfig(val){ |
| | | console.log('val--',val) |
| | | this.$set(this.CurrentCell,'referConfig',JSON.stringify(val)) |
| | | |
| | | }, |
| | | //æ¶é´ä¸ææ ¼å¼ |
| | | DataChangeHandler(){ |
| | | debugger |
| | | listByFlag({comboxKey: 'codedateformat', |
| | | id: 'codedateformat', |
| | | namespace: 'codeclstempattr', |
| | | flag: 'dateFormates'}).then(res=>{ |
| | | console.log(res) |
| | | DataChangeHandler(editConfig,index){ |
| | | listByFlag(editConfig.extraParams).then(res=>{ |
| | | console.log(res); |
| | | this.option.column[index].data=res; |
| | | }) |
| | | }, |
| | | //屿§åç»æé® |
| | |
| | | }, |
| | | //屿§åç»æäº¤ |
| | | attrHandle() { |
| | | this.$set(this.attrRow, 'attributeGroup', this.attrModel) |
| | | this.$set(this.attrRow, 'attributeGroup', JSON.stringify(this.attrModel)) |
| | | this.attrModel = "" |
| | | this.attrVisible = false |
| | | }, |
| | |
| | | precisionLength: (citem.precisionLength ? citem.precisionLength : '') + (citem.scaleLength ? '(' + citem.scaleLength + ')' : ''), |
| | | classifyTemplateOid: this.crudOid, |
| | | classifytemplateoid: this.crudOid, |
| | | formDisplayFlag: true, |
| | | tableDisplayFlag: true, |
| | | sortAttrFlag: false, |
| | | queryAttrFlag: true, |
| | | seniorQueryAttrFlag: true, |
| | | formDisplayFlag: 'true', |
| | | tableDisplayFlag: 'true', |
| | | sortAttrFlag: 'false', |
| | | queryAttrFlag: 'true', |
| | | seniorQueryAttrFlag: 'true', |
| | | attrTableWidth: 120 |
| | | }) |
| | | this.ProData.push(JSON.parse(JSON.stringify(this.busineAddList))) |
| | |
| | | this.addVisible = true; |
| | | this.busineSelectList = [] |
| | | this.busineAddList = []; |
| | | AttrByBtm({'conditionMap[oid]': this.crudOid}).then(res => { |
| | | this.BuineAttrByBtm() |
| | | }, |
| | | //ä¸å¡ç±»åæ°æ® |
| | | BuineAttrByBtm(masterParameter){ |
| | | AttrByBtm({'conditionMap[oid]': this.crudOid,...masterParameter}).then(res => { |
| | | this.businessData = res.data.data; |
| | | }) |
| | | }, |
| | |
| | | this.editShows = column.property; |
| | | this.rowOid = row.oid; |
| | | console.log(row,column) |
| | | if(column.property == 'codeDateFormat' ){ |
| | | |
| | | this.CurrentCell=row; |
| | | if(column.property == 'referConfig' ){ |
| | | this.$refs.referConfigFormDialog.isShowReferConfigForm = true; |
| | | this.$refs.referConfigFormDialog.onloadAttrData(); |
| | | }else if(column.property == 'classifyInvokeLevelName'){ |
| | | this.injectVisible=true; |
| | | }else if(column.property == 'componentRule'){ |
| | | this.isShowformulaEdit = true; |
| | | }else if(column.property == 'enumString'){ |
| | | this.enumVisible=true; |
| | | }else if(column.property == 'parentCode'){ |
| | | this.CascadeVisible=true; |
| | | } |
| | | }, |
| | | saveRows() { |
| | |
| | | if (this.enumRow.length < 1) { |
| | | this.$message.warning('请è³å°éæ©ä¸æ¡æ°æ®') |
| | | } else { |
| | | this.$set(this.attrRow, 'enumString', this.enumRow); |
| | | this.enumVisible = false; |
| | | if(this.CurrentCell){ |
| | | this.$set(this.CurrentCell, 'enumString', JSON.stringify(this.enumRow)); |
| | | this.enumVisible = false; |
| | | }else { |
| | | this.$set(this.attrRow, 'enumString', JSON.stringify(this.enumRow)); |
| | | this.enumVisible = false; |
| | | } |
| | | } |
| | | }, |
| | | // å°æ£å¨ç¼è¾çè¡çç¶æå为 null ï¼å³éåºç¼è¾ç¶æ |
| | | // å°æ£å¨ç¼è¾çè¡çç¶æå为 nullï¼å³éåºç¼è¾ç¶æ |
| | | saveRow() { |
| | | this.editingRow = null; |
| | | }, |
| | |
| | | "å±çº§è®¾ç½®": this.injectOption.injectNum, |
| | | "æ¯å¦å¯ä¿®æ¹": this.injectOption.change |
| | | } |
| | | console.log(this.injectOption) |
| | | this.$set(this.attrRow, 'classifyInvokeLevel', data); |
| | | if(this.CurrentCell){ |
| | | this.$set(this.CurrentCell, "classifyInvokeLevelName", data); |
| | | this.$set(this.CurrentCell, "classifyInvokeLevel", JSON.stringify(this.injectOption)); |
| | | }else { |
| | | this.$set(this.attrRow, 'classifyInvokeLevelName', data); |
| | | this.$set(this.attrRow, 'classifyInvokeLevel', JSON.stringify(this.injectOption)); |
| | | } |
| | | this.injectVisible = false |
| | | }, |
| | | //å类注å
¥æ¸
空 |
| | |
| | | } else if (this.attrSelectList.length < 1) { |
| | | this.$message.warning('è¯·éæ©ä¸æ¡æ¨¡æ¿å±æ§æ°æ®') |
| | | } else if (this.attrSelectList.length === 1) { |
| | | this.isShowformulaEdit = true; |
| | | this.isShowformulaEdit=true |
| | | } |
| | | }, |
| | | //å
¨å±ç¼è¾ |
| | |
| | | this.attrFlagChiledren = false; |
| | | this.attrEditVisible = false; |
| | | }, |
| | | //ç»åè§åç¡®å® |
| | | updataFormlaContent(val) { |
| | | this.$set(this.attrRow, 'componentRule', val) |
| | | if(this.CurrentCell){ |
| | | this.$set(this.CurrentCell, 'componentRule', JSON.stringify(val)) |
| | | }else { |
| | | this.$set(this.attrRow, 'componentRule', JSON.stringify(val)) |
| | | } |
| | | |
| | | }, |
| | | // æåº |
| | | sortChange(val) { |
| | |
| | | } |
| | | </script> |
| | | |
| | | <style scoped lang="scss"> |
| | | <style scoped lang="scss" > |
| | | /deep/ .el-button { |
| | | margin: 0 10px 10px 0; |
| | | } |
| | |
| | | <avue-form v-model="loneTreeNewForm" :option="options" @submit="submits" v-else-if="flag == 'edit'"> |
| | | </avue-form> |
| | | <div> |
| | | |
| | | <!-- åå¨ä¸å¡ç±»å--> |
| | | <el-dialog :visible.sync="BtmdialogVisible" title="为ãåå¨ä¸å¡ç±»åãéåå¼" append-to-body> |
| | | <avue-crud :data="BtmData" :option="btmOption" @select="btmSelect"></avue-crud> |
| | | <div style="padding-top: 10px;display: flex; justify-content: flex-end" > |
| | | <el-button type="primary" size="small" @click="MasterHandlerClick">ç¡®å®</el-button> |
| | | <el-button size="small" @click="MasterdialogVisible=false">åæ¶</el-button> |
| | | <!-- ç¼ç è§å--> |
| | | <el-dialog :visible.sync="MasterdialogVisible" title="为ãç¼ç è§åãéåå¼" append-to-body> |
| | | <template> |
| | | <el-select v-model="SelectValue" placeholder="è¯·éæ©" style="width: 135px"> |
| | | <el-option |
| | | v-for="item in SelectOption" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value" |
| | | style="width: 150px"> |
| | | </el-option> |
| | | </el-select> |
| | | <el-input style="width: 260px;margin-left: 15px" placeholder="è¾å
¥å¼åè¿è¡æ¨¡ç³æ¥è¯¢" v-model="SelectFInd"></el-input> |
| | | <el-button size="small" type="primary" plain @click="SelectFindeHandler" style="margin-left: 20px">æ¥è¯¢</el-button> |
| | | </template> |
| | | <avue-crud :data="masterData" :option="masterOption" @select="masterSelect"></avue-crud> |
| | | <div style="height: 30px"> |
| | | <div style="display: inline-block;float: left;border: 1px solid #eee;padding: 5px;margin-top: 5px;font-size: 14px " >已设置çå¼ä¸º:[{{this.loneTreeNewForm.coderuleoidName}}]</div> |
| | | <div style="padding-top: 10px;display: flex; justify-content: flex-end;float: right;overflow: hidden" > |
| | | <el-button type="primary" size="small" @click="MasterHandlerClick">ç¡®å®</el-button> |
| | | <el-button size="small" @click="MasterdialogVisible=false">åæ¶</el-button> |
| | | </div> |
| | | </div> |
| | | </el-dialog> |
| | | <!-- å
³é®å±æ§æ¥è¯¢è§å--> |
| | | <el-dialog :visible.sync="KeydialogVisible" title="为ãå
³é®å±æ§æ¥è¯¢è§åãéåå¼" append-to-body> |
| | | <template> |
| | | <el-select v-model="SelectValue" placeholder="è¯·éæ©" style="width: 135px"> |
| | | <el-option |
| | | v-for="item in SelectOption" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value" |
| | | style="width: 150px"> |
| | | </el-option> |
| | | </el-select> |
| | | <el-input style="width: 260px;margin-left: 15px" placeholder="è¾å
¥å¼åè¿è¡æ¨¡ç³æ¥è¯¢" v-model="SelectFInd"></el-input> |
| | | <el-button size="small" type="primary" plain @click="KeySelectFindeHandler" style="margin-left: 20px">æ¥è¯¢</el-button> |
| | | </template> |
| | | <avue-crud :data="KeyData" :option="masterOption" @select="KeySelect"></avue-crud> |
| | | <div style="padding-top: 10px;display: flex; justify-content: flex-end" > |
| | | <el-button type="primary" size="small" @click="KeyHandlerClick">ç¡®å®</el-button> |
| | | <el-button size="small" @click="KeydialogVisible=false">åæ¶</el-button> |
| | | <div style="height: 30px"> |
| | | <div style="display: inline-block;float: left;border: 1px solid #eee;padding: 5px;margin-top: 5px;font-size: 14px " >已设置çå¼ä¸º:[{{this.loneTreeNewForm.codekeyattrrepeatoidName}}]</div> |
| | | <div style="padding-top: 10px;display: flex; justify-content: flex-end;float: right;overflow: hidden" > |
| | | <el-button type="primary" size="small" @click="KeyHandlerClick">ç¡®å®</el-button> |
| | | <el-button size="small" @click="KeydialogVisible=false">åæ¶</el-button> |
| | | </div> |
| | | </div> |
| | | </el-dialog> |
| | | <!-- ç¸ä¼¼é¡¹æ¥è¯¢è§å--> |
| | | <el-dialog :visible.sync="SimidialogVisible" title="为ãç¸ä¼¼é¡¹æ¥è¯¢è§åãéåå¼" append-to-body> |
| | | <template> |
| | | <el-select v-model="SelectValue" placeholder="è¯·éæ©" style="width: 135px"> |
| | | <el-option |
| | | v-for="item in SelectOption" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value" |
| | | style="width: 150px"> |
| | | </el-option> |
| | | </el-select> |
| | | <el-input style="width: 260px;margin-left: 15px" placeholder="è¾å
¥å¼åè¿è¡æ¨¡ç³æ¥è¯¢" v-model="SelectFInd"></el-input> |
| | | <el-button size="small" type="primary" plain @click="SimSelectFindeHandler" style="margin-left: 20px">æ¥è¯¢</el-button> |
| | | </template> |
| | | <avue-crud :data="simData" :option="masterOption" @select="simSelect"></avue-crud> |
| | | <div style="padding-top: 10px;display: flex; justify-content: flex-end" > |
| | | <el-button type="primary" size="small" @click="simHandlerClick">ç¡®å®</el-button> |
| | | <el-button size="small" @click="SimidialogVisible=false">åæ¶</el-button> |
| | | <div style="height: 30px"> |
| | | <div style="display: inline-block;float: left;border: 1px solid #eee;padding: 5px;margin-top: 5px;font-size: 14px " >已设置çå¼ä¸º:[{{this.loneTreeNewForm.codeResembleRuleOidName}}]</div> |
| | | <div style="padding-top: 10px;display: flex; justify-content: flex-end;float: right;overflow: hidden" > |
| | | <el-button type="primary" size="small" @click="simHandlerClick">ç¡®å®</el-button> |
| | | <el-button size="small" @click="SimidialogVisible=false">åæ¶</el-button> |
| | | </div> |
| | | </div> |
| | | </el-dialog> |
| | | <!-- åå¨çä¸å¡ç±»å--> |
| | | <el-dialog :visible.sync="BtmdialogVisible" title="为ãç¸ä¼¼é¡¹æ¥è¯¢è§åãéåå¼" append-to-body> |
| | | <template> |
| | | <el-select v-model="SelectValue" placeholder="è¯·éæ©" style="width: 135px !important;"> |
| | | <el-option |
| | | v-for="item in SelectOption" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value" |
| | | style="width: 130px"> |
| | | </el-option> |
| | | </el-select> |
| | | <el-input style="width: 260px;margin-left: 15px" placeholder="è¾å
¥å¼åè¿è¡æ¨¡ç³æ¥è¯¢" v-model="SelectFInd"></el-input> |
| | | <el-button size="small" type="primary" plain @click="BtmSelectFindeHandler" style="margin-left: 20px">æ¥è¯¢</el-button> |
| | | </template> |
| | | <avue-crud :data="BtmData" :option="masterOption" @select="btmSelect"></avue-crud> |
| | | <div style="height: 30px"> |
| | | <div style="display: inline-block;float: left;border: 1px solid #eee;padding: 5px;margin-top: 5px;font-size: 14px " >已设置çå¼ä¸º:[{{this.loneTreeNewForm.btmtypename}}]</div> |
| | | <div style="padding-top: 10px;display: flex; justify-content: flex-end;float: right;overflow: hidden" > |
| | | <el-button type="primary" size="small" @click="btmHandlerClick">ç¡®å®</el-button> |
| | | <el-button size="small" @click="BtmdialogVisible=false">åæ¶</el-button> |
| | | </div> |
| | | </div> |
| | | </el-dialog> |
| | | </div> |
| | |
| | | props: ['loneTreeNewForm','flag','Editclose'], |
| | | data() { |
| | | return { |
| | | SelectFInd:"", |
| | | masterName:"", |
| | | masterOid:"", |
| | | KeyName:"", |
| | |
| | | KeyData:[], |
| | | simData:[], |
| | | BtmData:[], |
| | | SelectOption:[ |
| | | { |
| | | value: 'name', |
| | | label: '䏿åç§°' |
| | | }, |
| | | { |
| | | value: 'id', |
| | | label: 'è±æåç§°' |
| | | } |
| | | ], |
| | | SelectValue:"", |
| | | btmOption:{ |
| | | addBtn:false, |
| | | index:true, |
| | |
| | | this.$message.success('请æ¥çæ§å¶å°'); |
| | | console.log(err) |
| | | }, |
| | | //ç¼ç è§åæ¥è¯¢ |
| | | SelectFindeHandler(){ |
| | | if(this.SelectValue == 'id'){ |
| | | const masterParameter={ |
| | | '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="" |
| | | } |
| | | }, |
| | | //ç¼ç è§åå¤±ç¦ |
| | | CodeFoucus(){ |
| | | this.MasterdialogVisible=true; |
| | |
| | | console.log('oid',this.oid) |
| | | }, |
| | | //ç¼ç æ¥å£ |
| | | MasterdefaultRend(){ |
| | | MasterdefaultRend(masterParameter){ |
| | | defaultReferDataGrid({ |
| | | referType:'coderule', |
| | | isMuti:'false', |
| | | 'conditionMap["lcstatus"]':'Released' |
| | | 'conditionMap["lcstatus"]':'Released', |
| | | ...masterParameter |
| | | }).then(res=>{ |
| | | this.masterData=res.data.records; |
| | | }) |
| | |
| | | this.$set(this.loneTreeNewForm,'codeResembleRuleOidName',this.simName) |
| | | this.$set(this.loneTreeNewForm,'codeResembleRuleOid',this.simOid) |
| | | this.$emit('MasterHandler',this.loneTreeNewForm) |
| | | } |
| | | }, |
| | | //å
³é®å±æ§æ¥è¯¢ |
| | | KeySelectFindeHandler(){ |
| | | if(this.SelectValue == 'id'){ |
| | | const masterParameter={ |
| | | '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="" |
| | | } |
| | | }, |
| | | //å
³é®å±æ§æ¥å£ |
| | |
| | | this.$emit('MasterHandler',this.loneTreeNewForm) |
| | | } |
| | | }, |
| | | //ç¸ä¼¼é¡¹æ¥è¯¢ |
| | | SimSelectFindeHandler(){ |
| | | if(this.SelectValue == 'id'){ |
| | | const masterParameter={ |
| | | '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="" |
| | | } |
| | | }, |
| | | // ç¸ä¼¼é¡¹å¤é |
| | | simSelect(row){ |
| | | this.simSelectList=row; |
| | |
| | | this.BtmdialogVisible=true; |
| | | this.btmdefaultRend() |
| | | }, |
| | | // ä¸å¡ç±»åç¡®å® |
| | | btmHandlerClick(){ |
| | | if(this.btmSelectList.length>1){ |
| | | this.$message.warning('åªè½éæ©ä¸æ¡æ°æ®') |
| | | }else if(this.btmSelectList.length<=0){ |
| | | this.$message.warning('è¯·éæ©ä¸æ¡æ°æ®') |
| | | }else { |
| | | this.SimidialogVisible=false; |
| | | this.simSelectList=[] |
| | | this.$set(this.loneTreeNewForm,'btmtypename',this.btmName) |
| | | this.$set(this.loneTreeNewForm,'btmtypeoid',this.btmOid) |
| | | this.$emit('MasterHandler',this.loneTreeNewForm) |
| | | } |
| | | }, |
| | | //ä¸å¡ç±»åæ¥è¯¢ |
| | | BtmSelectFindeHandler(){ |
| | | if(this.SelectValue == 'id'){ |
| | | const masterParameter={ |
| | | '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="" |
| | | } |
| | | }, |
| | | // ä¸å¡ç±»åå¤é |
| | | btmSelect(row){ |
| | | this.btmSelectList=row; |
| | |
| | | this.btmOid=row[0].oid; |
| | | }, |
| | | //ä¸å¡ç±»åæ¥å£ |
| | | btmdefaultRend(){ |
| | | referDataGrid({valueField:'id',isMuti:'false'}).then(res=>{ |
| | | btmdefaultRend(masterParameter){ |
| | | referDataGrid({valueField:'id',isMuti:'false',...masterParameter}).then(res=>{ |
| | | console.log(res) |
| | | this.BtmData=res.data.data.records |
| | | }) |
| | | } |
| | | } |
| | |
| | | <!-- æ èç¹æ·»å å¯¹è¯æ¡--> |
| | | <el-dialog :title="this.TreeFlag ? 'æ·»å åç±»' :'æ·»å 主é¢åº'" :visible.sync="TreeAddFormVisible" append-to-body |
| | | style="width: 1700px;margin: auto"> |
| | | <el-form :model="TreeAddform"> |
| | | <el-form-item :label="this.TreeFlag ? 'åç±»ç¼å·ï¼' :'主é¢åºç¼å·ï¼'" label-width="150px" style="display: inline-block"> |
| | | <el-form :model="TreeAddform" :rules="rules"> |
| | | <el-form-item :label="this.TreeFlag ? 'åç±»ç¼å·ï¼' :'主é¢åºç¼å·ï¼'" label-width="150px" style="display: inline-block" prop="id"> |
| | | <el-input v-model="TreeAddform.id" autocomplete="off" style="width: 170px"></el-input> |
| | | </el-form-item> |
| | | <el-form-item :label="this.TreeFlag ? 'åç±»åç§°ï¼' :'主é¢åºåç§°ï¼'" label-width="100px" style="display: inline-block"> |
| | | <el-form-item :label="this.TreeFlag ? 'åç±»åç§°ï¼' :'主é¢åºåç§°ï¼'" label-width="110px" style="display: inline-block" prop="name"> |
| | | <el-input v-model="TreeAddform.name" autocomplete="off" style="width: 170px"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="æè¿°ï¼" label-width="150px"> |
| | | <el-input v-model="TreeAddform.description" autocomplete="off" style="width: 585px"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="ç¼ç è§åï¼" label-width="150px"> |
| | | <el-input v-model="TreeAddform.coderuleoidName" autocomplete="off" style="width: 585px"></el-input> |
| | | <el-input v-model="TreeAddform.coderuleoidName" autocomplete="off" style="width: 585px" @focus="CodeFoucus"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="å
³é®å±æ§æ¥è¯¢è§åï¼" label-width="150px"> |
| | | <el-input v-model="TreeAddform.codekeyattrrepeatoidName" autocomplete="off" |
| | | <el-input v-model="TreeAddform.codekeyattrrepeatoidName" autocomplete="off" @focus="Keyfouce" |
| | | style="width: 585px"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="ç¸ä¼¼æ¥è¯¢è§åï¼" label-width="150px"> |
| | | <el-input v-model="TreeAddform.codeResembleRuleOidName" autocomplete="off" |
| | | <el-input v-model="TreeAddform.codeResembleRuleOidName" autocomplete="off" @focus="simFouce" |
| | | style="width: 585px"></el-input> |
| | | </el-form-item> |
| | | </el-form> |
| | |
| | | </basic-container> |
| | | <templatePro :ProData="this.ProData" :crudOid="this.crudOid" :crudArray="this.crudArray" :Formlist="this.Formlist" :codeClassifyOid="this.codeClassifyOid"></templatePro> |
| | | </span> |
| | | <!-- ç¼ç è§å--> |
| | | <el-dialog :visible.sync="MasterdialogVisible" title="为ãç¼ç è§åãéåå¼" append-to-body> |
| | | <template> |
| | | <el-select v-model="SelectValue" placeholder="è¯·éæ©" style="width: 135px"> |
| | | <el-option |
| | | v-for="item in SelectOption" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value" |
| | | style="width: 150px"> |
| | | </el-option> |
| | | </el-select> |
| | | <el-input style="width: 260px;margin-left: 15px" placeholder="è¾å
¥å¼åè¿è¡æ¨¡ç³æ¥è¯¢" v-model="SelectFInd"></el-input> |
| | | <el-button size="small" type="primary" plain @click="SelectFindeHandler" style="margin-left: 20px">æ¥è¯¢</el-button> |
| | | </template> |
| | | <avue-crud :data="masterData" :option="masterOption" @select="masterSelect"></avue-crud> |
| | | <div style="height: 30px"> |
| | | <div style="display: inline-block;float: left;border: 1px solid #eee;padding: 5px;margin-top: 5px;font-size: 14px " >已设置çå¼ä¸º:[{{this.TreeAddform.coderuleoidName ==''?'æªè®¾ç½®å¼':this.TreeAddform.coderuleoidName}}]</div> |
| | | <div style="padding-top: 10px;display: flex; justify-content: flex-end;float: right;overflow: hidden" > |
| | | <el-button type="primary" size="small" @click="MasterHandlerClick">ç¡®å®</el-button> |
| | | <el-button size="small" @click="MasterdialogVisible=false">åæ¶</el-button> |
| | | </div> |
| | | </div> |
| | | </el-dialog> |
| | | <!-- å
³é®å±æ§æ¥è¯¢è§å--> |
| | | <el-dialog :visible.sync="KeydialogVisible" title="为ãå
³é®å±æ§æ¥è¯¢è§åãéåå¼" append-to-body> |
| | | <template> |
| | | <el-select v-model="SelectValue" placeholder="è¯·éæ©" style="width: 135px"> |
| | | <el-option |
| | | v-for="item in SelectOption" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value" |
| | | style="width: 150px"> |
| | | </el-option> |
| | | </el-select> |
| | | <el-input style="width: 260px;margin-left: 15px" placeholder="è¾å
¥å¼åè¿è¡æ¨¡ç³æ¥è¯¢" v-model="SelectFInd"></el-input> |
| | | <el-button size="small" type="primary" plain @click="KeySelectFindeHandler" style="margin-left: 20px">æ¥è¯¢</el-button> |
| | | </template> |
| | | <avue-crud :data="KeyData" :option="masterOption" @select="KeySelect"></avue-crud> |
| | | <div style="height: 30px"> |
| | | <div style="display: inline-block;float: left;border: 1px solid #eee;padding: 5px;margin-top: 5px;font-size: 14px " >已设置çå¼ä¸º:[{{this.TreeAddform.codekeyattrrepeatoidName ==''?'æªè®¾ç½®å¼':this.TreeAddform.codekeyattrrepeatoidName}}]</div> |
| | | <div style="padding-top: 10px;display: flex; justify-content: flex-end;float: right;overflow: hidden" > |
| | | <el-button type="primary" size="small" @click="KeyHandlerClick">ç¡®å®</el-button> |
| | | <el-button size="small" @click="KeydialogVisible=false">åæ¶</el-button> |
| | | </div> |
| | | </div> |
| | | </el-dialog> |
| | | <!-- ç¸ä¼¼é¡¹æ¥è¯¢è§å--> |
| | | <el-dialog :visible.sync="SimidialogVisible" title="为ãç¸ä¼¼é¡¹æ¥è¯¢è§åãéåå¼" append-to-body> |
| | | <template> |
| | | <el-select v-model="SelectValue" placeholder="è¯·éæ©" style="width: 135px"> |
| | | <el-option |
| | | v-for="item in SelectOption" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value" |
| | | style="width: 150px"> |
| | | </el-option> |
| | | </el-select> |
| | | <el-input style="width: 260px;margin-left: 15px" placeholder="è¾å
¥å¼åè¿è¡æ¨¡ç³æ¥è¯¢" v-model="SelectFInd"></el-input> |
| | | <el-button size="small" type="primary" plain @click="SimSelectFindeHandler" style="margin-left: 20px">æ¥è¯¢</el-button> |
| | | </template> |
| | | <avue-crud :data="simData" :option="masterOption" @select="simSelect"></avue-crud> |
| | | <div style="height: 30px"> |
| | | <div style="display: inline-block;float: left;border: 1px solid #eee;padding: 5px;margin-top: 5px;font-size: 14px " >已设置çå¼ä¸º:[{{this.TreeAddform.codeResembleRuleOidName ==''?'æªè®¾ç½®å¼':this.TreeAddform.codeResembleRuleOidName}}]</div> |
| | | <div style="padding-top: 10px;display: flex; justify-content: flex-end;float: right;overflow: hidden" > |
| | | <el-button type="primary" size="small" @click="simHandlerClick">ç¡®å®</el-button> |
| | | <el-button size="small" @click="SimidialogVisible=false">åæ¶</el-button> |
| | | </div> |
| | | </div> |
| | | </el-dialog> |
| | | </basic-container> |
| | | </el-main> |
| | | </el-container> |
| | |
| | | editSave, |
| | | copy |
| | | } from "@/api/template/templateAttr"; |
| | | |
| | | import {defaultReferDataGrid,referDataGrid} from '@/api/MasterData/master' |
| | | export default { |
| | | name: "classifyTrees.vue", |
| | | //使ç¨injectæ¥æ¶åæ° |
| | |
| | | inject: [, "crudTreeData"], |
| | | data() { |
| | | return { |
| | | //ç¼ç è§å |
| | | MasterdialogVisible:false, |
| | | masterData:[], |
| | | masterSelectList:[], |
| | | masterName:"", |
| | | masterOid:"", |
| | | //å
³é®å±æ§ |
| | | KeydialogVisible:false, |
| | | KeyName:"", |
| | | KeyOid:"", |
| | | KeyData:[], |
| | | KeySelectLIst:[], |
| | | //ç¸ä¼¼é¡¹ |
| | | simName:"", |
| | | simOid:"", |
| | | simData:[], |
| | | SimidialogVisible:false, |
| | | simSelectList:[], |
| | | masterOption:{ |
| | | addBtn:false, |
| | | index:true, |
| | | border:true, |
| | | selection:true, |
| | | menu:false, |
| | | height:380, |
| | | column:[ |
| | | { |
| | | label:'è±æåç§°', |
| | | prop:'id' |
| | | }, |
| | | { |
| | | label:'䏿åç§°', |
| | | prop:'name' |
| | | }, |
| | | { |
| | | label:'æè¿°', |
| | | prop:'description' |
| | | } |
| | | ] |
| | | }, |
| | | SelectOption:[ |
| | | { |
| | | value: 'name', |
| | | label: '䏿åç§°' |
| | | }, |
| | | { |
| | | value: 'id', |
| | | label: 'è±æåç§°' |
| | | } |
| | | ], |
| | | SelectValue:"", |
| | | SelectFInd:"", |
| | | rules: { |
| | | id: [ |
| | | { required: true, message: '请è¾å
¥åç§°', trigger: 'blur' }, |
| | | ], |
| | | name:[ |
| | | { required: true, message: '请è¾å
¥ç¼å·', trigger: 'blur' }, |
| | | ] |
| | | }, |
| | | addFlag:false, |
| | | // è¡¨æ ¼å½åè¡id |
| | | crudOid:"", |
| | |
| | | } |
| | | }, |
| | | methods: { |
| | | //ç¼ç è§åå¤±ç¦ |
| | | CodeFoucus(){ |
| | | this.MasterdialogVisible=true; |
| | | this.MasterdefaultRend() |
| | | }, |
| | | //ç¼ç å¤é |
| | | masterSelect(row){ |
| | | if(row.length>0){ |
| | | this.masterSelectList=row; |
| | | this.masterName=row[0].name; |
| | | this.masterOid=row[0].oid; |
| | | } |
| | | }, |
| | | //ç¼ç è§åæ¥è¯¢ |
| | | SelectFindeHandler(){ |
| | | if(this.SelectValue == 'id'){ |
| | | const masterParameter={ |
| | | '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="" |
| | | } |
| | | }, |
| | | //ç¼ç è§åç¡®å® |
| | | MasterHandlerClick(){ |
| | | if(this.masterSelectList.length>1){ |
| | | this.$message.warning('åªè½éæ©ä¸æ¡æ°æ®') |
| | | }else if(this.masterSelectList.length<=0){ |
| | | this.$message.warning('è¯·éæ©ä¸æ¡æ°æ®') |
| | | }else { |
| | | this.MasterdialogVisible=false; |
| | | this.masterSelectList=[] |
| | | this.$set(this.TreeAddform,'coderuleoidName',this.masterName) |
| | | this.$set(this.TreeAddform,'coderuleOid',this.masterOid) |
| | | this.$emit('MasterHandler',this.loneTreeNewForm) |
| | | console.log(this.loneTreeNewForm) |
| | | } |
| | | }, |
| | | //ç¼ç æ¥å£ |
| | | MasterdefaultRend(){ |
| | | defaultReferDataGrid({ |
| | | referType:'coderule', |
| | | isMuti:'false', |
| | | 'conditionMap["lcstatus"]':'Released' |
| | | }).then(res=>{ |
| | | this.masterData=res.data.records; |
| | | }) |
| | | }, |
| | | Keyfouce(){ |
| | | this.KeydialogVisible=true; |
| | | this.KeydefaultRend() |
| | | }, |
| | | //å
³é®å±æ§ç¡®å® |
| | | KeyHandlerClick(){ |
| | | if(this.KeySelectLIst.length>1){ |
| | | this.$message.warning('åªè½éæ©ä¸æ¡æ°æ®') |
| | | }else if(this.KeySelectLIst.length<=0){ |
| | | this.$message.warning('è¯·éæ©ä¸æ¡æ°æ®') |
| | | }else { |
| | | this.KeydialogVisible=false; |
| | | this.KeySelectLIst=[] |
| | | this.$set(this.TreeAddform,'codeResembleRuleOidName',this.simName) |
| | | this.$set(this.TreeAddform,'codeResembleRuleOid',this.simOid) |
| | | this.$emit('MasterHandler',this.loneTreeNewForm) |
| | | } |
| | | }, |
| | | //å
³é®å±æ§æ¥è¯¢ |
| | | KeySelectFindeHandler(){ |
| | | if(this.SelectValue == 'id'){ |
| | | const masterParameter={ |
| | | '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="" |
| | | } |
| | | }, |
| | | //å
³é®å±æ§æ¥å£ |
| | | KeydefaultRend(){ |
| | | defaultReferDataGrid({ |
| | | referType:'codekeyattrrepeat', |
| | | isMuti:'false', |
| | | 'conditionMap["lcstatus"]':'Enabled' |
| | | }).then(res=>{ |
| | | this.KeyData=res.data.records; |
| | | }) |
| | | }, |
| | | // å
³é®å¤é |
| | | KeySelect(row){ |
| | | this.KeySelectLIst=row; |
| | | this.KeyName=row[0].name; |
| | | this.KeyOid=row[0].oid; |
| | | }, |
| | | //å
³é®å¤±ç¦ |
| | | simFouce(){ |
| | | this.SimidialogVisible=true; |
| | | this.simdefaultRend() |
| | | }, |
| | | //ç¸ä¼¼é¡¹ç¡®å® |
| | | simHandlerClick(){ |
| | | if(this.simSelectList.length>1){ |
| | | this.$message.warning('åªè½éæ©ä¸æ¡æ°æ®') |
| | | }else if(this.simSelectList.length<=0){ |
| | | this.$message.warning('è¯·éæ©ä¸æ¡æ°æ®') |
| | | }else { |
| | | this.SimidialogVisible=false; |
| | | this.simSelectList=[] |
| | | this.$set(this.TreeAddform,'codeResembleRuleOidName',this.simName) |
| | | this.$set(this.TreeAddform,'codeResembleRuleOid',this.simOid) |
| | | this.$emit('MasterHandler',this.loneTreeNewForm) |
| | | } |
| | | }, |
| | | //ç¸ä¼¼é¡¹æ¥è¯¢ |
| | | SimSelectFindeHandler(){ |
| | | if(this.SelectValue == 'id'){ |
| | | const masterParameter={ |
| | | '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="" |
| | | } |
| | | }, |
| | | // ç¸ä¼¼é¡¹å¤é |
| | | simSelect(row){ |
| | | this.simSelectList=row; |
| | | this.simName=row[0].name; |
| | | this.simOid=row[0].oid; |
| | | console.log('oid',this.oid) |
| | | }, |
| | | //ç¸ä¼¼é¡¹é¡¹æ¥å£ |
| | | simdefaultRend(){ |
| | | defaultReferDataGrid({ |
| | | referType:'coderesemblerule', |
| | | isMuti:'false', |
| | | 'conditionMap["lcstatus"]':'Enabled' |
| | | }).then(res=>{ |
| | | this.simData=res.data.records; |
| | | }) |
| | | }, |
| | | //åä¼ ç¶ |
| | | MasterHandler(val){ |
| | | console.log('ç¶äº²',val) |
| | | this.TreeList=val |
| | | }, |
| | | //è¡åéäºä»¶ |
| | |
| | | TreeAddHandler() { |
| | | const data = this.TreeAddform |
| | | this.$set(data, "parentCodeClassifyOid", this.nodeClickList.oid) |
| | | console.log('data',data) |
| | | TreeSave(data).then(() => { |
| | | this.$message({ |
| | | type: 'success', |
| | |
| | | <!-- 主ä½è§å¾å± --> |
| | | <div style="height:100%;overflow-y:auto;overflow-x:hidden;" id="avue-view" v-show="!isSearch"> |
| | | <keep-alive> |
| | | <router-view class="avue-view" v-if="$route.meta.keepAlive"/> |
| | | <!--<router-view class="avue-view" v-if="$route.meta.keepAlive"/>--> |
| | | <router-view class="avue-view"/> |
| | | </keep-alive> |
| | | <router-view class="avue-view" v-if="!$route.meta.keepAlive"/> |
| | | <!--<router-view class="avue-view" v-if="!$route.meta.keepAlive"/>--> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | addBtn: false, |
| | | column: [ |
| | | { |
| | | label: "ç¼å·", |
| | | prop: "id", |
| | | }, |
| | | { |
| | | label: "åç§°", |
| | | prop: "name", |
| | | }, |
| | | { |
| | | label: "æ ç¾", |
| | | prop: "label", |
| | | }, |
| | | { |
| | | label: "èµ·å§ç¶æ", |
| | | prop: "startState", |
| | | prop: "startStatusName", |
| | | }, |
| | | { |
| | | label: "æè¿°", |
| | | prop: "remark", |
| | | prop: "description", |
| | | }, |
| | | ], |
| | | }, |
| | | data: [ |
| | | { |
| | | name: "ææ¯name", |
| | | label: "ææ¯label", |
| | | startState: "ææ¯startState", |
| | | remark: "ææ¯remark", |
| | | data: { |
| | | nodes: [ |
| | | { |
| | | type: "node", |
| | | size: "80*48", |
| | | shape: "flow-rect", |
| | | color: "#1890FF", |
| | | label: "Auditing", |
| | | x: 110.50303650877106, |
| | | y: 59.22389408123915, |
| | | id: "Auditing", |
| | | index: 0, |
| | | }, |
| | | { |
| | | type: "node", |
| | | size: "80*48", |
| | | shape: "flow-rect", |
| | | color: "#1890FF", |
| | | label: "Editing", |
| | | x: 120.87992069414531, |
| | | y: 156.76660542375714, |
| | | id: "Editing", |
| | | index: 1, |
| | | }, |
| | | { |
| | | type: "node", |
| | | size: "80*48", |
| | | shape: "flow-rect", |
| | | color: "#1890FF", |
| | | label: "Released", |
| | | x: 100.12615232339681, |
| | | y: 252.2339399292003, |
| | | id: "Released", |
| | | index: 2, |
| | | }, |
| | | ], |
| | | edges: [ |
| | | { |
| | | source: "Auditing", |
| | | sourceAnchor: 1, |
| | | target: "Released", |
| | | targetAnchor: 1, |
| | | }, |
| | | { |
| | | source: "Editing", |
| | | sourceAnchor: 3, |
| | | target: "Auditing", |
| | | targetAnchor: 3, |
| | | }, |
| | | ], |
| | | }, |
| | | }, |
| | | ], |
| | | // data: [ |
| | | // { |
| | | // name: "ææ¯name", |
| | | // label: "ææ¯label", |
| | | // startState: "ææ¯startState", |
| | | // remark: "ææ¯remark", |
| | | // data: { |
| | | // nodes: [ |
| | | // { |
| | | // type: "node", |
| | | // size: "80*48", |
| | | // shape: "flow-rect", |
| | | // color: "#1890FF", |
| | | // label: "Auditing", |
| | | // x: 110.50303650877106, |
| | | // y: 59.22389408123915, |
| | | // id: "Auditing", |
| | | // index: 0, |
| | | // }, |
| | | // { |
| | | // type: "node", |
| | | // size: "80*48", |
| | | // shape: "flow-rect", |
| | | // color: "#1890FF", |
| | | // label: "Editing", |
| | | // x: 120.87992069414531, |
| | | // y: 156.76660542375714, |
| | | // id: "Editing", |
| | | // index: 1, |
| | | // }, |
| | | // { |
| | | // type: "node", |
| | | // size: "80*48", |
| | | // shape: "flow-rect", |
| | | // color: "#1890FF", |
| | | // label: "Released", |
| | | // x: 100.12615232339681, |
| | | // y: 252.2339399292003, |
| | | // id: "Released", |
| | | // index: 2, |
| | | // }, |
| | | // ], |
| | | // edges: [ |
| | | // { |
| | | // source: "Auditing", |
| | | // sourceAnchor: 1, |
| | | // target: "Released", |
| | | // targetAnchor: 1, |
| | | // }, |
| | | // { |
| | | // source: "Editing", |
| | | // sourceAnchor: 3, |
| | | // target: "Auditing", |
| | | // targetAnchor: 3, |
| | | // }, |
| | | // ], |
| | | // }, |
| | | // }, |
| | | // ], |
| | | title: "é¢è§çå½å¨ææµç¨å¾", |
| | | visible: false, |
| | | flowChartNodeItems: [], |
| | |
| | | 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', |
| | |
| | | */ |
| | | @XStreamAsAttribute |
| | | private String id; |
| | | |
| | | /*** |
| | | * ä¸»é® |
| | | * è§åç æ®µç¼å· |
| | | */ |
| | | @XStreamAsAttribute |
| | | private String sectionCode; |
| | | /*** |
| | | * åºå· |
| | | */ |
| | | @XStreamAsAttribute |
| | | private String num; |
| | |
| | | */ |
| | | @XStreamAsAttribute |
| | | private String secType; |
| | | /*** |
| | | * ç æ®µç±»åæ¾ç¤ºå¼ |
| | | */ |
| | | @XStreamAsAttribute |
| | | private String secTypeText; |
| | | |
| | | /** |
| | | * æå±ç¼ç è§å |
| | |
| | | this.sectionValue = sectionValue; |
| | | } |
| | | |
| | | public String getSectionCode() { |
| | | return sectionCode; |
| | | } |
| | | |
| | | public void setSectionCode(String sectionCode) { |
| | | this.sectionCode = sectionCode; |
| | | } |
| | | |
| | | public String getSecTypeText() { |
| | | return secTypeText; |
| | | } |
| | | |
| | | public void setSecTypeText(String secTypeText) { |
| | | this.secTypeText = secTypeText; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return "CodeSectionVO{" + |
| | | "id='" + id + '\'' + |
| | | ", sectionCode='" + sectionCode + '\'' + |
| | | ", num='" + num + '\'' + |
| | | ", name='" + name + '\'' + |
| | | ", description='" + description + '\'' + |
| | | ", secType='" + secType + '\'' + |
| | | ", secTypeText='" + secTypeText + '\'' + |
| | | ", pkCodeRule='" + pkCodeRule + '\'' + |
| | | ", codeSecLengthType='" + codeSecLengthType + '\'' + |
| | | ", codeSecLength='" + codeSecLength + '\'' + |
| | | ", parentClassifySecOid='" + parentClassifySecOid + '\'' + |
| | | ", sectionValue=" + sectionValue + |
| | | ", codeDateFormatStr='" + codeDateFormatStr + '\'' + |
| | | '}'; |
| | | } |
| | |
| | | public CodeSectionValueVO() { |
| | | } |
| | | |
| | | public CodeSectionValueVO(String id, String num, String value,String name ,String description) { |
| | | public CodeSectionValueVO(String id, String num, String value,String name ,String pid,String description) { |
| | | this.id = id; |
| | | this.num = num; |
| | | this.value = value; |
| | | this.description = description; |
| | | this.name=name; |
| | | this.pid=pid; |
| | | } |
| | | |
| | | /*** |
| | |
| | | @XStreamAsAttribute |
| | | private String id; |
| | | /*** |
| | | * ç å¼ç¼å· |
| | | * ç å¼åºå· |
| | | */ |
| | | @XStreamAsAttribute |
| | | private String num; |
| | | |
| | | /*** |
| | | * ç 弿¾ç¤ºå¼ |
| | | */ |
| | | @XStreamAsAttribute |
| | | private String name; |
| | | |
| | |
| | | */ |
| | | @XStreamAsAttribute |
| | | private String value; |
| | | |
| | | /*** |
| | | * ç¶ç 段oid |
| | | */ |
| | | @XStreamAsAttribute |
| | | private String pid; |
| | | /** |
| | | * æè¿° |
| | | */ |
| | |
| | | this.name = name; |
| | | } |
| | | |
| | | public String getPid() { |
| | | return pid; |
| | | } |
| | | |
| | | public void setPid(String pid) { |
| | | this.pid = pid; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return "CodeSectionValueVO{" + |
| | |
| | | ", num='" + num + '\'' + |
| | | ", name='" + name + '\'' + |
| | | ", value='" + value + '\'' + |
| | | ", pid='" + pid + '\'' + |
| | | ", description='" + description + '\'' + |
| | | '}'; |
| | | } |
| | |
| | | */ |
| | | @XStreamAsAttribute |
| | | private String id; |
| | | |
| | | /*** |
| | | * è§åç¼ç |
| | | */ |
| | | @XStreamAsAttribute |
| | | private String ruleCode; |
| | | /** |
| | | * è§åç¼å· |
| | | */ |
| | |
| | | this.codeSection = codeSection; |
| | | } |
| | | |
| | | public String getRuleCode() { |
| | | return ruleCode; |
| | | } |
| | | |
| | | public void setRuleCode(String ruleCode) { |
| | | this.ruleCode = ruleCode; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return "CodeRuleVO{" + |
| | | return "ResultCodeRuleVO{" + |
| | | "id='" + id + '\'' + |
| | | ", ruleCode='" + ruleCode + '\'' + |
| | | ", num='" + num + '\'' + |
| | | ", name='" + name + '\'' + |
| | | ", description='" + description + '\'' + |
¶Ô±ÈÐÂÎļþ |
| | |
| | | { |
| | | "data":{ |
| | | "systemId": "MPM", |
| | | "user": { |
| | | "userName": "weidy", |
| | | "trueName": "é大å", |
| | | "ip": "127.0.0.1" |
| | | }, |
| | | "library": { |
| | | "id": "wupin", |
| | | "classifyid":[ |
| | | "020201", |
| | | "020202" |
| | | ] |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <data systemId="MPM"> |
| | | <user userName="weidy" trueName="" ip="127.0.0.1"/> |
| | | <library id="wupin"> |
| | | <classifyid>020201</classifyid> |
| | | <classifyid>020202</classifyid> |
| | | </library> |
| | | </data> |
| | | |
| | | <?xml version="1.0" encoding="UTF-8" ?> |
| | | <data> |
| | | <errorid>0</errorid> |
| | | <msg>æå!</msg> |
| | | <library id="wupin" name=""> |
| | | <classify id="B6C55202-A224-9098-6A82-E3FC5DEEF790" name="å£ç" pid="0C600A6A-6398-FC30-D13E-121201FDA908" classCode="020202" description="å£ç" fullPathName="" lcStatus="Enabled" isLeaf="false"> |
| | | <codeRule id="1673234841140858880" ruleCode="csfjl" num="" name="csfjl" description=""> |
| | | <codeSection id="1673235191453323264" sectionCode="gdmd" num="1" name="åºå®ç 段" description="aaaa" secType="codefixedsec" secTypeText="åºå®ç 段" pkCodeRule="1673234841140858880" codeSecLengthType="code_sec_length_variable" codeSecLength="10" parentClassifySecOid="" codeDateFormatStr=""> |
| | | <sectionValue> |
| | | <sectionValue id="1673235273523269632" num="2" name="" value="002" pid="" description=""/> |
| | | <sectionValue id="1673235247598276608" num="1" name="" value="001" pid="" description=""/> |
| | | </sectionValue> |
| | | </codeSection> |
| | | <codeSection id="1673235394948370432" sectionCode="flmdf" num="2" name="åç±»ç æ®µç¶" description="" secType="codeclassifysec" secTypeText="åç±»ç æ®µ" pkCodeRule="1673234841140858880" codeSecLengthType="code_sec_length_variable" codeSecLength="10" parentClassifySecOid="" codeDateFormatStr=""> |
| | | <sectionValue> |
| | | <sectionValue id="1673235471532167168" num="1" name="äº" value="001" pid="" description=""/> |
| | | <sectionValue id="1673235449524654080" num="1" name="ä¸" value="001" pid="" description=""/> |
| | | </sectionValue> |
| | | </codeSection> |
| | | <codeSection id="1673235616541839360" sectionCode="flmdz" num="3" name="åç±»ç æ®µå" description="sss" secType="codeclassifysec" secTypeText="åç±»ç æ®µ" pkCodeRule="1673234841140858880" codeSecLengthType="code_sec_length_variable" codeSecLength="10" parentClassifySecOid="1673235394948370432" codeDateFormatStr=""> |
| | | <sectionValue> |
| | | <sectionValue id="1673235791276544000" num="1" name="å°äº" value="0012" pid="1673235471532167168" description=""/> |
| | | <sectionValue id="1673235759584382976" num="1" name="å°ä¸" value="0011" pid="1673235449524654080" description=""/> |
| | | </sectionValue> |
| | | </codeSection> |
| | | <codeSection id="1673235886290112512" sectionCode="kbmd" num="4" name="å¯åç æ®µ" description="sss" secType="codevariablesec" secTypeText="å¯åç æ®µ" pkCodeRule="1673234841140858880" codeSecLengthType="code_sec_length_variable" codeSecLength="10" parentClassifySecOid="" codeDateFormatStr=""> |
| | | <sectionValue/> |
| | | </codeSection> |
| | | <codeSection id="1676048203809689600" sectionCode="yy" num="5" name="å¼ç¨ç 段" description="å¼ç¨ç 段" secType="coderefersec" secTypeText="å¼ç¨ç 段" pkCodeRule="1673234841140858880" codeSecLengthType="code_sec_length_variable" codeSecLength="" parentClassifySecOid="" codeDateFormatStr=""> |
| | | <sectionValue/> |
| | | </codeSection> |
| | | <codeSection id="1676052431290634240" sectionCode="ge" num="6" name="屿§ç 段" description="fes" secType="codeattrsec" secTypeText="屿§ç 段" pkCodeRule="1673234841140858880" codeSecLengthType="code_sec_length_variable" codeSecLength="" parentClassifySecOid="" codeDateFormatStr=""> |
| | | <sectionValue/> |
| | | </codeSection> |
| | | <codeSection id="1676837573571514368" sectionCode="cengji" num="7" name="å±çº§ç 段" description="å±çº§ç 段" secType="codelevelsec" secTypeText="å±çº§ç 段" pkCodeRule="1673234841140858880" codeSecLengthType="code_sec_length_variable" codeSecLength="" parentClassifySecOid="" codeDateFormatStr=""> |
| | | <sectionValue> |
| | | <sectionValue id="0C600A6A-6398-FC30-D13E-121201FDA908" num="" name="æºä½æä»¶" value="0202" pid="" description="æºä½æä»¶"/> |
| | | </sectionValue> |
| | | </codeSection> |
| | | <codeSection id="1676837771429416960" sectionCode="cengj" num="8" name="å±çº§ç 段2" description="å±çº§ç 段2" secType="codelevelsec" secTypeText="å±çº§ç 段" pkCodeRule="1673234841140858880" codeSecLengthType="code_sec_length_variable" codeSecLength="" parentClassifySecOid="" codeDateFormatStr=""> |
| | | <sectionValue> |
| | | <sectionValue id="B6C55202-A224-9098-6A82-E3FC5DEEF790" num="" name="å£ç" value="020202" pid="" description="å£ç"/> |
| | | </sectionValue> |
| | | </codeSection> |
| | | <codeSection id="1676838137894146048" sectionCode="shux" num="9" name="屿§ç 段" description="" secType="codeattrsec" secTypeText="屿§ç 段" pkCodeRule="1673234841140858880" codeSecLengthType="code_sec_length_variable" codeSecLength="" parentClassifySecOid="" codeDateFormatStr=""> |
| | | <sectionValue/> |
| | | </codeSection> |
| | | <codeSection id="1676838388730302464" sectionCode="riqi" num="10" name="æ¥æç æ®µ" description="æ¥æç æ®µ" secType="codedatesec" secTypeText="æ¥æç æ®µ" pkCodeRule="1673234841140858880" codeSecLengthType="code_sec_length_variable" codeSecLength="" parentClassifySecOid="" codeDateFormatStr="YYYY-MM-DD"> |
| | | <sectionValue/> |
| | | </codeSection> |
| | | </codeRule> |
| | | </classify> |
| | | <classify id="46B5DB5E-F783-DFE9-B48A-C4A367D02AC0" name="é" pid="0C600A6A-6398-FC30-D13E-121201FDA908" classCode="020201" description="é" fullPathName="" lcStatus="Enabled" isLeaf="false"> |
| | | <codeRule id="1673234841140858880" ruleCode="csfjl" num="" name="csfjl" description=""> |
| | | <codeSection id="1673235191453323264" sectionCode="gdmd" num="1" name="åºå®ç 段" description="aaaa" secType="codefixedsec" secTypeText="åºå®ç 段" pkCodeRule="1673234841140858880" codeSecLengthType="code_sec_length_variable" codeSecLength="10" parentClassifySecOid="" codeDateFormatStr=""> |
| | | <sectionValue> |
| | | <sectionValue id="1673235273523269632" num="2" name="" value="002" pid="" description=""/> |
| | | <sectionValue id="1673235247598276608" num="1" name="" value="001" pid="" description=""/> |
| | | </sectionValue> |
| | | </codeSection> |
| | | <codeSection id="1673235394948370432" sectionCode="flmdf" num="2" name="åç±»ç æ®µç¶" description="" secType="codeclassifysec" secTypeText="åç±»ç æ®µ" pkCodeRule="1673234841140858880" codeSecLengthType="code_sec_length_variable" codeSecLength="10" parentClassifySecOid="" codeDateFormatStr=""> |
| | | <sectionValue> |
| | | <sectionValue id="1673235471532167168" num="1" name="äº" value="001" pid="" description=""/> |
| | | <sectionValue id="1673235449524654080" num="1" name="ä¸" value="001" pid="" description=""/> |
| | | </sectionValue> |
| | | </codeSection> |
| | | <codeSection id="1673235616541839360" sectionCode="flmdz" num="3" name="åç±»ç æ®µå" description="sss" secType="codeclassifysec" secTypeText="åç±»ç æ®µ" pkCodeRule="1673234841140858880" codeSecLengthType="code_sec_length_variable" codeSecLength="10" parentClassifySecOid="1673235394948370432" codeDateFormatStr=""> |
| | | <sectionValue> |
| | | <sectionValue id="1673235791276544000" num="1" name="å°äº" value="0012" pid="1673235471532167168" description=""/> |
| | | <sectionValue id="1673235759584382976" num="1" name="å°ä¸" value="0011" pid="1673235449524654080" description=""/> |
| | | </sectionValue> |
| | | </codeSection> |
| | | <codeSection id="1673235886290112512" sectionCode="kbmd" num="4" name="å¯åç æ®µ" description="sss" secType="codevariablesec" secTypeText="å¯åç æ®µ" pkCodeRule="1673234841140858880" codeSecLengthType="code_sec_length_variable" codeSecLength="10" parentClassifySecOid="" codeDateFormatStr=""> |
| | | <sectionValue/> |
| | | </codeSection> |
| | | <codeSection id="1676048203809689600" sectionCode="yy" num="5" name="å¼ç¨ç 段" description="å¼ç¨ç 段" secType="coderefersec" secTypeText="å¼ç¨ç 段" pkCodeRule="1673234841140858880" codeSecLengthType="code_sec_length_variable" codeSecLength="" parentClassifySecOid="" codeDateFormatStr=""> |
| | | <sectionValue/> |
| | | </codeSection> |
| | | <codeSection id="1676052431290634240" sectionCode="ge" num="6" name="屿§ç 段" description="fes" secType="codeattrsec" secTypeText="屿§ç 段" pkCodeRule="1673234841140858880" codeSecLengthType="code_sec_length_variable" codeSecLength="" parentClassifySecOid="" codeDateFormatStr=""> |
| | | <sectionValue/> |
| | | </codeSection> |
| | | <codeSection id="1676837573571514368" sectionCode="cengji" num="7" name="å±çº§ç 段" description="å±çº§ç 段" secType="codelevelsec" secTypeText="å±çº§ç 段" pkCodeRule="1673234841140858880" codeSecLengthType="code_sec_length_variable" codeSecLength="" parentClassifySecOid="" codeDateFormatStr=""> |
| | | <sectionValue> |
| | | <sectionValue id="0C600A6A-6398-FC30-D13E-121201FDA908" num="" name="æºä½æä»¶" value="0202" pid="" description="æºä½æä»¶"/> |
| | | </sectionValue> |
| | | </codeSection> |
| | | <codeSection id="1676837771429416960" sectionCode="cengj" num="8" name="å±çº§ç 段2" description="å±çº§ç 段2" secType="codelevelsec" secTypeText="å±çº§ç 段" pkCodeRule="1673234841140858880" codeSecLengthType="code_sec_length_variable" codeSecLength="" parentClassifySecOid="" codeDateFormatStr=""> |
| | | <sectionValue> |
| | | <sectionValue id="46B5DB5E-F783-DFE9-B48A-C4A367D02AC0" num="" name="é" value="020201" pid="" description="é"/> |
| | | </sectionValue> |
| | | </codeSection> |
| | | <codeSection id="1676838137894146048" sectionCode="shux" num="9" name="屿§ç 段" description="" secType="codeattrsec" secTypeText="屿§ç 段" pkCodeRule="1673234841140858880" codeSecLengthType="code_sec_length_variable" codeSecLength="" parentClassifySecOid="" codeDateFormatStr=""> |
| | | <sectionValue/> |
| | | </codeSection> |
| | | <codeSection id="1676838388730302464" sectionCode="riqi" num="10" name="æ¥æç æ®µ" description="æ¥æç æ®µ" secType="codedatesec" secTypeText="æ¥æç æ®µ" pkCodeRule="1673234841140858880" codeSecLengthType="code_sec_length_variable" codeSecLength="" parentClassifySecOid="" codeDateFormatStr="YYYY-MM-DD"> |
| | | <sectionValue/> |
| | | </codeSection> |
| | | </codeRule> |
| | | </classify> |
| | | </library> |
| | | </data> |
| | |
| | | { |
| | | "resultData": { |
| | | "data": { |
| | | "msg": "æå!", |
| | | "library": { |
| | | "classify": [ |
| | |
| | | "description": "å£ç", |
| | | "pid": "0C600A6A-6398-FC30-D13E-121201FDA908", |
| | | "codeRule": { |
| | | "num": "001-copy", |
| | | "description": "ç©åç¼ç è§å", |
| | | "ruleCode": "csfjl", |
| | | "num": "", |
| | | "name": "csfjl", |
| | | "description": "", |
| | | "codeSection": [ |
| | | { |
| | | "num": "1", |
| | | "codeSecLengthType": "code_sec_length_variable", |
| | | "description": "aaaa", |
| | | "sectionCode": "gdmd", |
| | | "secType": "codefixedsec", |
| | | "codeSecLength": "10", |
| | | "parentClassifySecOid": "", |
| | | "secTypeText": "åºå®ç 段", |
| | | "sectionValue": [ |
| | | { |
| | | "num": "0", |
| | | "num": "2", |
| | | "name": "", |
| | | "description": "", |
| | | "pid": "", |
| | | "id": "1673235273523269632", |
| | | "value": "002" |
| | | }, |
| | | { |
| | | "num": "1", |
| | | "name": "", |
| | | "description": "", |
| | | "pid": "", |
| | | "id": "1673235247598276608", |
| | | "value": "001" |
| | | } |
| | | ], |
| | | "codeDateFormatStr": "", |
| | | "name": "åºå®ç 段", |
| | | "id": "1673235191453323264", |
| | | "pkCodeRule": "1673234841140858880" |
| | | }, |
| | | { |
| | | "num": "2", |
| | | "codeSecLengthType": "code_sec_length_variable", |
| | | "description": "", |
| | | "sectionCode": "flmdf", |
| | | "secType": "codeclassifysec", |
| | | "codeSecLength": "10", |
| | | "parentClassifySecOid": "", |
| | | "secTypeText": "åç±»ç æ®µ", |
| | | "sectionValue": [ |
| | | { |
| | | "num": "1", |
| | | "name": "äº", |
| | | "description": "", |
| | | "pid": "", |
| | | "id": "1673235471532167168", |
| | | "value": "001" |
| | | }, |
| | | { |
| | | "num": "1", |
| | | "name": "ä¸", |
| | | "description": "", |
| | | "pid": "", |
| | | "id": "1673235449524654080", |
| | | "value": "001" |
| | | } |
| | | ], |
| | | "codeDateFormatStr": "", |
| | | "name": "åç±»ç æ®µç¶", |
| | | "id": "1673235394948370432", |
| | | "pkCodeRule": "1673234841140858880" |
| | | }, |
| | | { |
| | | "num": "3", |
| | | "codeSecLengthType": "code_sec_length_variable", |
| | | "description": "sss", |
| | | "sectionCode": "flmdz", |
| | | "secType": "codeclassifysec", |
| | | "codeSecLength": "10", |
| | | "parentClassifySecOid": "1673235394948370432", |
| | | "secTypeText": "åç±»ç æ®µ", |
| | | "sectionValue": [ |
| | | { |
| | | "num": "1", |
| | | "name": "å°äº", |
| | | "description": "", |
| | | "pid": "1673235471532167168", |
| | | "id": "1673235791276544000", |
| | | "value": "0012" |
| | | }, |
| | | { |
| | | "num": "1", |
| | | "name": "å°ä¸", |
| | | "description": "", |
| | | "pid": "1673235449524654080", |
| | | "id": "1673235759584382976", |
| | | "value": "0011" |
| | | } |
| | | ], |
| | | "codeDateFormatStr": "", |
| | | "name": "åç±»ç æ®µå", |
| | | "id": "1673235616541839360", |
| | | "pkCodeRule": "1673234841140858880" |
| | | }, |
| | | { |
| | | "num": "4", |
| | | "codeSecLengthType": "code_sec_length_variable", |
| | | "description": "sss", |
| | | "sectionCode": "kbmd", |
| | | "secType": "codevariablesec", |
| | | "codeSecLength": "10", |
| | | "parentClassifySecOid": "", |
| | | "secTypeText": "å¯åç æ®µ", |
| | | "sectionValue": [], |
| | | "codeDateFormatStr": "", |
| | | "name": "å¯åç æ®µ", |
| | | "id": "1673235886290112512", |
| | | "pkCodeRule": "1673234841140858880" |
| | | }, |
| | | { |
| | | "num": "5", |
| | | "codeSecLengthType": "code_sec_length_variable", |
| | | "description": "å¼ç¨ç 段", |
| | | "sectionCode": "yy", |
| | | "secType": "coderefersec", |
| | | "codeSecLength": "", |
| | | "parentClassifySecOid": "", |
| | | "secTypeText": "å¼ç¨ç 段", |
| | | "sectionValue": [], |
| | | "codeDateFormatStr": "", |
| | | "name": "å¼ç¨ç 段", |
| | | "id": "1676048203809689600", |
| | | "pkCodeRule": "1673234841140858880" |
| | | }, |
| | | { |
| | | "num": "6", |
| | | "codeSecLengthType": "code_sec_length_variable", |
| | | "description": "fes", |
| | | "sectionCode": "ge", |
| | | "secType": "codeattrsec", |
| | | "codeSecLength": "", |
| | | "parentClassifySecOid": "", |
| | | "secTypeText": "屿§ç 段", |
| | | "sectionValue": [], |
| | | "codeDateFormatStr": "", |
| | | "name": "屿§ç 段", |
| | | "id": "1676052431290634240", |
| | | "pkCodeRule": "1673234841140858880" |
| | | }, |
| | | { |
| | | "num": "7", |
| | | "codeSecLengthType": "code_sec_length_variable", |
| | | "description": "å±çº§ç 段", |
| | | "sectionCode": "cengji", |
| | | "secType": "codelevelsec", |
| | | "codeSecLength": "", |
| | | "parentClassifySecOid": "", |
| | | "secTypeText": "å±çº§ç 段", |
| | | "sectionValue": [ |
| | | { |
| | | "num": "", |
| | | "name": "æºä½æä»¶", |
| | | "description": "æºä½æä»¶", |
| | | "pid": "", |
| | | "id": "0C600A6A-6398-FC30-D13E-121201FDA908", |
| | | "value": "0202" |
| | | } |
| | | ], |
| | | "codeDateFormatStr": "", |
| | | "name": "å±çº§ç 段", |
| | | "id": "1676837573571514368", |
| | | "pkCodeRule": "1673234841140858880" |
| | | }, |
| | | { |
| | | "num": "8", |
| | | "codeSecLengthType": "code_sec_length_variable", |
| | | "description": "å±çº§ç 段2", |
| | | "sectionCode": "cengj", |
| | | "secType": "codelevelsec", |
| | | "codeSecLength": "", |
| | | "parentClassifySecOid": "", |
| | | "secTypeText": "å±çº§ç 段", |
| | | "sectionValue": [ |
| | | { |
| | | "num": "", |
| | | "name": "å£ç", |
| | | "description": "å£ç", |
| | | "pid": "", |
| | | "id": "B6C55202-A224-9098-6A82-E3FC5DEEF790", |
| | | "value": "020202" |
| | | } |
| | | ], |
| | | "num": "01", |
| | | "codeSecLengthType": "code_sec_length_variable", |
| | | "name": "å±çº§ç 段", |
| | | "secType": "codelevelsec", |
| | | "id": "1674682431208296448", |
| | | "pkCodeRule": "9FE2AF3E-2940-BD80-D46F-E3853314673D" |
| | | "codeDateFormatStr": "", |
| | | "name": "å±çº§ç 段2", |
| | | "id": "1676837771429416960", |
| | | "pkCodeRule": "1673234841140858880" |
| | | }, |
| | | { |
| | | "num": "9", |
| | | "codeSecLengthType": "code_sec_length_variable", |
| | | "description": "", |
| | | "sectionCode": "shux", |
| | | "secType": "codeattrsec", |
| | | "codeSecLength": "", |
| | | "parentClassifySecOid": "", |
| | | "secTypeText": "屿§ç 段", |
| | | "sectionValue": [], |
| | | "num": "02", |
| | | "name": "æµæ°´ç 段", |
| | | "description": "æµæ°´ç 段", |
| | | "secType": "codeserialsec", |
| | | "id": "801B6412-E617-214A-08A5-9EDF5821AA66", |
| | | "pkCodeRule": "9FE2AF3E-2940-BD80-D46F-E3853314673D", |
| | | "codeSecLength": "4" |
| | | "codeDateFormatStr": "", |
| | | "name": "屿§ç 段", |
| | | "id": "1676838137894146048", |
| | | "pkCodeRule": "1673234841140858880" |
| | | }, |
| | | { |
| | | "num": "10", |
| | | "codeSecLengthType": "code_sec_length_variable", |
| | | "description": "æ¥æç æ®µ", |
| | | "sectionCode": "riqi", |
| | | "secType": "codedatesec", |
| | | "codeSecLength": "", |
| | | "parentClassifySecOid": "", |
| | | "secTypeText": "æ¥æç æ®µ", |
| | | "sectionValue": [], |
| | | "codeDateFormatStr": "YYYY-MM-DD", |
| | | "name": "æ¥æç æ®µ", |
| | | "id": "1676838388730302464", |
| | | "pkCodeRule": "1673234841140858880" |
| | | } |
| | | ], |
| | | "id": "9FE2AF3E-2940-BD80-D46F-E3853314673D" |
| | | "id": "1673234841140858880" |
| | | }, |
| | | "id": "B6C55202-A224-9098-6A82-E3FC5DEEF790", |
| | | "fullPathName": "", |
| | | "leaf": false |
| | | }, |
| | | { |
| | |
| | | "description": "é", |
| | | "pid": "0C600A6A-6398-FC30-D13E-121201FDA908", |
| | | "codeRule": { |
| | | "num": "001-copy", |
| | | "description": "ç©åç¼ç è§å", |
| | | "ruleCode": "csfjl", |
| | | "num": "", |
| | | "name": "csfjl", |
| | | "description": "", |
| | | "codeSection": [ |
| | | { |
| | | "num": "1", |
| | | "codeSecLengthType": "code_sec_length_variable", |
| | | "description": "aaaa", |
| | | "sectionCode": "gdmd", |
| | | "secType": "codefixedsec", |
| | | "codeSecLength": "10", |
| | | "parentClassifySecOid": "", |
| | | "secTypeText": "åºå®ç 段", |
| | | "sectionValue": [ |
| | | { |
| | | "num": "0", |
| | | "num": "2", |
| | | "name": "", |
| | | "description": "", |
| | | "pid": "", |
| | | "id": "1673235273523269632", |
| | | "value": "002" |
| | | }, |
| | | { |
| | | "num": "1", |
| | | "name": "", |
| | | "description": "", |
| | | "pid": "", |
| | | "id": "1673235247598276608", |
| | | "value": "001" |
| | | } |
| | | ], |
| | | "codeDateFormatStr": "", |
| | | "name": "åºå®ç 段", |
| | | "id": "1673235191453323264", |
| | | "pkCodeRule": "1673234841140858880" |
| | | }, |
| | | { |
| | | "num": "2", |
| | | "codeSecLengthType": "code_sec_length_variable", |
| | | "description": "", |
| | | "sectionCode": "flmdf", |
| | | "secType": "codeclassifysec", |
| | | "codeSecLength": "10", |
| | | "parentClassifySecOid": "", |
| | | "secTypeText": "åç±»ç æ®µ", |
| | | "sectionValue": [ |
| | | { |
| | | "num": "1", |
| | | "name": "äº", |
| | | "description": "", |
| | | "pid": "", |
| | | "id": "1673235471532167168", |
| | | "value": "001" |
| | | }, |
| | | { |
| | | "num": "1", |
| | | "name": "ä¸", |
| | | "description": "", |
| | | "pid": "", |
| | | "id": "1673235449524654080", |
| | | "value": "001" |
| | | } |
| | | ], |
| | | "codeDateFormatStr": "", |
| | | "name": "åç±»ç æ®µç¶", |
| | | "id": "1673235394948370432", |
| | | "pkCodeRule": "1673234841140858880" |
| | | }, |
| | | { |
| | | "num": "3", |
| | | "codeSecLengthType": "code_sec_length_variable", |
| | | "description": "sss", |
| | | "sectionCode": "flmdz", |
| | | "secType": "codeclassifysec", |
| | | "codeSecLength": "10", |
| | | "parentClassifySecOid": "1673235394948370432", |
| | | "secTypeText": "åç±»ç æ®µ", |
| | | "sectionValue": [ |
| | | { |
| | | "num": "1", |
| | | "name": "å°äº", |
| | | "description": "", |
| | | "pid": "1673235471532167168", |
| | | "id": "1673235791276544000", |
| | | "value": "0012" |
| | | }, |
| | | { |
| | | "num": "1", |
| | | "name": "å°ä¸", |
| | | "description": "", |
| | | "pid": "1673235449524654080", |
| | | "id": "1673235759584382976", |
| | | "value": "0011" |
| | | } |
| | | ], |
| | | "codeDateFormatStr": "", |
| | | "name": "åç±»ç æ®µå", |
| | | "id": "1673235616541839360", |
| | | "pkCodeRule": "1673234841140858880" |
| | | }, |
| | | { |
| | | "num": "4", |
| | | "codeSecLengthType": "code_sec_length_variable", |
| | | "description": "sss", |
| | | "sectionCode": "kbmd", |
| | | "secType": "codevariablesec", |
| | | "codeSecLength": "10", |
| | | "parentClassifySecOid": "", |
| | | "secTypeText": "å¯åç æ®µ", |
| | | "sectionValue": [], |
| | | "codeDateFormatStr": "", |
| | | "name": "å¯åç æ®µ", |
| | | "id": "1673235886290112512", |
| | | "pkCodeRule": "1673234841140858880" |
| | | }, |
| | | { |
| | | "num": "5", |
| | | "codeSecLengthType": "code_sec_length_variable", |
| | | "description": "å¼ç¨ç 段", |
| | | "sectionCode": "yy", |
| | | "secType": "coderefersec", |
| | | "codeSecLength": "", |
| | | "parentClassifySecOid": "", |
| | | "secTypeText": "å¼ç¨ç 段", |
| | | "sectionValue": [], |
| | | "codeDateFormatStr": "", |
| | | "name": "å¼ç¨ç 段", |
| | | "id": "1676048203809689600", |
| | | "pkCodeRule": "1673234841140858880" |
| | | }, |
| | | { |
| | | "num": "6", |
| | | "codeSecLengthType": "code_sec_length_variable", |
| | | "description": "fes", |
| | | "sectionCode": "ge", |
| | | "secType": "codeattrsec", |
| | | "codeSecLength": "", |
| | | "parentClassifySecOid": "", |
| | | "secTypeText": "屿§ç 段", |
| | | "sectionValue": [], |
| | | "codeDateFormatStr": "", |
| | | "name": "屿§ç 段", |
| | | "id": "1676052431290634240", |
| | | "pkCodeRule": "1673234841140858880" |
| | | }, |
| | | { |
| | | "num": "7", |
| | | "codeSecLengthType": "code_sec_length_variable", |
| | | "description": "å±çº§ç 段", |
| | | "sectionCode": "cengji", |
| | | "secType": "codelevelsec", |
| | | "codeSecLength": "", |
| | | "parentClassifySecOid": "", |
| | | "secTypeText": "å±çº§ç 段", |
| | | "sectionValue": [ |
| | | { |
| | | "num": "", |
| | | "name": "æºä½æä»¶", |
| | | "description": "æºä½æä»¶", |
| | | "pid": "", |
| | | "id": "0C600A6A-6398-FC30-D13E-121201FDA908", |
| | | "value": "0202" |
| | | } |
| | | ], |
| | | "codeDateFormatStr": "", |
| | | "name": "å±çº§ç 段", |
| | | "id": "1676837573571514368", |
| | | "pkCodeRule": "1673234841140858880" |
| | | }, |
| | | { |
| | | "num": "8", |
| | | "codeSecLengthType": "code_sec_length_variable", |
| | | "description": "å±çº§ç 段2", |
| | | "sectionCode": "cengj", |
| | | "secType": "codelevelsec", |
| | | "codeSecLength": "", |
| | | "parentClassifySecOid": "", |
| | | "secTypeText": "å±çº§ç 段", |
| | | "sectionValue": [ |
| | | { |
| | | "num": "", |
| | | "name": "é", |
| | | "description": "é", |
| | | "pid": "", |
| | | "id": "46B5DB5E-F783-DFE9-B48A-C4A367D02AC0", |
| | | "value": "020201" |
| | | } |
| | | ], |
| | | "num": "01", |
| | | "codeSecLengthType": "code_sec_length_variable", |
| | | "name": "å±çº§ç 段", |
| | | "secType": "codelevelsec", |
| | | "id": "1674682431208296448", |
| | | "pkCodeRule": "9FE2AF3E-2940-BD80-D46F-E3853314673D" |
| | | "codeDateFormatStr": "", |
| | | "name": "å±çº§ç 段2", |
| | | "id": "1676837771429416960", |
| | | "pkCodeRule": "1673234841140858880" |
| | | }, |
| | | { |
| | | "num": "9", |
| | | "codeSecLengthType": "code_sec_length_variable", |
| | | "description": "", |
| | | "sectionCode": "shux", |
| | | "secType": "codeattrsec", |
| | | "codeSecLength": "", |
| | | "parentClassifySecOid": "", |
| | | "secTypeText": "屿§ç 段", |
| | | "sectionValue": [], |
| | | "num": "02", |
| | | "name": "æµæ°´ç 段", |
| | | "description": "æµæ°´ç 段", |
| | | "secType": "codeserialsec", |
| | | "id": "801B6412-E617-214A-08A5-9EDF5821AA66", |
| | | "pkCodeRule": "9FE2AF3E-2940-BD80-D46F-E3853314673D", |
| | | "codeSecLength": "4" |
| | | "codeDateFormatStr": "", |
| | | "name": "屿§ç 段", |
| | | "id": "1676838137894146048", |
| | | "pkCodeRule": "1673234841140858880" |
| | | }, |
| | | { |
| | | "num": "10", |
| | | "codeSecLengthType": "code_sec_length_variable", |
| | | "description": "æ¥æç æ®µ", |
| | | "sectionCode": "riqi", |
| | | "secType": "codedatesec", |
| | | "codeSecLength": "", |
| | | "parentClassifySecOid": "", |
| | | "secTypeText": "æ¥æç æ®µ", |
| | | "sectionValue": [], |
| | | "codeDateFormatStr": "YYYY-MM-DD", |
| | | "name": "æ¥æç æ®µ", |
| | | "id": "1676838388730302464", |
| | | "pkCodeRule": "1673234841140858880" |
| | | } |
| | | ], |
| | | "id": "9FE2AF3E-2940-BD80-D46F-E3853314673D" |
| | | "id": "1673234841140858880" |
| | | }, |
| | | "id": "46B5DB5E-F783-DFE9-B48A-C4A367D02AC0", |
| | | "fullPathName": "", |
| | | "leaf": false |
| | | } |
| | | ], |
¶Ô±ÈÐÂÎļþ |
| | |
| | | { |
| | | "data": { |
| | | "msg": "æå!", |
| | | "library": { |
| | | "classify": [ |
| | | { |
| | | "classCode": "020202", |
| | | "lcStatus": "Enabled", |
| | | "name": "å£ç", |
| | | "description": "å£ç", |
| | | "pid": "0C600A6A-6398-FC30-D13E-121201FDA908", |
| | | "codeRule": { |
| | | "ruleCode": "csfjl", |
| | | "num": "", |
| | | "name": "csfjl", |
| | | "description": "", |
| | | "codeSection": [ |
| | | { |
| | | "num": "1", |
| | | "codeSecLengthType": "code_sec_length_variable", |
| | | "description": "aaaa", |
| | | "sectionCode": "gdmd", |
| | | "secType": "codefixedsec", |
| | | "codeSecLength": "10", |
| | | "parentClassifySecOid": "", |
| | | "secTypeText": "åºå®ç 段", |
| | | "sectionValue": [ |
| | | { |
| | | "num": "2", |
| | | "name": "", |
| | | "description": "", |
| | | "pid": "", |
| | | "id": "1673235273523269632", |
| | | "value": "002" |
| | | }, |
| | | { |
| | | "num": "1", |
| | | "name": "", |
| | | "description": "", |
| | | "pid": "", |
| | | "id": "1673235247598276608", |
| | | "value": "001" |
| | | } |
| | | ], |
| | | "codeDateFormatStr": "", |
| | | "name": "åºå®ç 段", |
| | | "id": "1673235191453323264", |
| | | "pkCodeRule": "1673234841140858880" |
| | | }, |
| | | { |
| | | "num": "2", |
| | | "codeSecLengthType": "code_sec_length_variable", |
| | | "description": "", |
| | | "sectionCode": "flmdf", |
| | | "secType": "codeclassifysec", |
| | | "codeSecLength": "10", |
| | | "parentClassifySecOid": "", |
| | | "secTypeText": "åç±»ç æ®µ", |
| | | "sectionValue": [ |
| | | { |
| | | "num": "1", |
| | | "name": "äº", |
| | | "description": "", |
| | | "pid": "", |
| | | "id": "1673235471532167168", |
| | | "value": "001" |
| | | }, |
| | | { |
| | | "num": "1", |
| | | "name": "ä¸", |
| | | "description": "", |
| | | "pid": "", |
| | | "id": "1673235449524654080", |
| | | "value": "001" |
| | | } |
| | | ], |
| | | "codeDateFormatStr": "", |
| | | "name": "åç±»ç æ®µç¶", |
| | | "id": "1673235394948370432", |
| | | "pkCodeRule": "1673234841140858880" |
| | | }, |
| | | { |
| | | "num": "3", |
| | | "codeSecLengthType": "code_sec_length_variable", |
| | | "description": "sss", |
| | | "sectionCode": "flmdz", |
| | | "secType": "codeclassifysec", |
| | | "codeSecLength": "10", |
| | | "parentClassifySecOid": "1673235394948370432", |
| | | "secTypeText": "åç±»ç æ®µ", |
| | | "sectionValue": [ |
| | | { |
| | | "num": "1", |
| | | "name": "å°äº", |
| | | "description": "", |
| | | "pid": "1673235471532167168", |
| | | "id": "1673235791276544000", |
| | | "value": "0012" |
| | | }, |
| | | { |
| | | "num": "1", |
| | | "name": "å°ä¸", |
| | | "description": "", |
| | | "pid": "1673235449524654080", |
| | | "id": "1673235759584382976", |
| | | "value": "0011" |
| | | } |
| | | ], |
| | | "codeDateFormatStr": "", |
| | | "name": "åç±»ç æ®µå", |
| | | "id": "1673235616541839360", |
| | | "pkCodeRule": "1673234841140858880" |
| | | }, |
| | | { |
| | | "num": "4", |
| | | "codeSecLengthType": "code_sec_length_variable", |
| | | "description": "sss", |
| | | "sectionCode": "kbmd", |
| | | "secType": "codevariablesec", |
| | | "codeSecLength": "10", |
| | | "parentClassifySecOid": "", |
| | | "secTypeText": "å¯åç æ®µ", |
| | | "sectionValue": [], |
| | | "codeDateFormatStr": "", |
| | | "name": "å¯åç æ®µ", |
| | | "id": "1673235886290112512", |
| | | "pkCodeRule": "1673234841140858880" |
| | | }, |
| | | { |
| | | "num": "5", |
| | | "codeSecLengthType": "code_sec_length_variable", |
| | | "description": "å¼ç¨ç 段", |
| | | "sectionCode": "yy", |
| | | "secType": "coderefersec", |
| | | "codeSecLength": "", |
| | | "parentClassifySecOid": "", |
| | | "secTypeText": "å¼ç¨ç 段", |
| | | "sectionValue": [], |
| | | "codeDateFormatStr": "", |
| | | "name": "å¼ç¨ç 段", |
| | | "id": "1676048203809689600", |
| | | "pkCodeRule": "1673234841140858880" |
| | | }, |
| | | { |
| | | "num": "6", |
| | | "codeSecLengthType": "code_sec_length_variable", |
| | | "description": "fes", |
| | | "sectionCode": "ge", |
| | | "secType": "codeattrsec", |
| | | "codeSecLength": "", |
| | | "parentClassifySecOid": "", |
| | | "secTypeText": "屿§ç 段", |
| | | "sectionValue": [], |
| | | "codeDateFormatStr": "", |
| | | "name": "屿§ç 段", |
| | | "id": "1676052431290634240", |
| | | "pkCodeRule": "1673234841140858880" |
| | | }, |
| | | { |
| | | "num": "7", |
| | | "codeSecLengthType": "code_sec_length_variable", |
| | | "description": "å±çº§ç 段", |
| | | "sectionCode": "cengji", |
| | | "secType": "codelevelsec", |
| | | "codeSecLength": "", |
| | | "parentClassifySecOid": "", |
| | | "secTypeText": "å±çº§ç 段", |
| | | "sectionValue": [ |
| | | { |
| | | "num": "", |
| | | "name": "æºä½æä»¶", |
| | | "description": "æºä½æä»¶", |
| | | "pid": "", |
| | | "id": "0C600A6A-6398-FC30-D13E-121201FDA908", |
| | | "value": "0202" |
| | | } |
| | | ], |
| | | "codeDateFormatStr": "", |
| | | "name": "å±çº§ç 段", |
| | | "id": "1676837573571514368", |
| | | "pkCodeRule": "1673234841140858880" |
| | | }, |
| | | { |
| | | "num": "8", |
| | | "codeSecLengthType": "code_sec_length_variable", |
| | | "description": "å±çº§ç 段2", |
| | | "sectionCode": "cengj", |
| | | "secType": "codelevelsec", |
| | | "codeSecLength": "", |
| | | "parentClassifySecOid": "", |
| | | "secTypeText": "å±çº§ç 段", |
| | | "sectionValue": [ |
| | | { |
| | | "num": "", |
| | | "name": "å£ç", |
| | | "description": "å£ç", |
| | | "pid": "", |
| | | "id": "B6C55202-A224-9098-6A82-E3FC5DEEF790", |
| | | "value": "020202" |
| | | } |
| | | ], |
| | | "codeDateFormatStr": "", |
| | | "name": "å±çº§ç 段2", |
| | | "id": "1676837771429416960", |
| | | "pkCodeRule": "1673234841140858880" |
| | | }, |
| | | { |
| | | "num": "9", |
| | | "codeSecLengthType": "code_sec_length_variable", |
| | | "description": "", |
| | | "sectionCode": "shux", |
| | | "secType": "codeattrsec", |
| | | "codeSecLength": "", |
| | | "parentClassifySecOid": "", |
| | | "secTypeText": "屿§ç 段", |
| | | "sectionValue": [], |
| | | "codeDateFormatStr": "", |
| | | "name": "屿§ç 段", |
| | | "id": "1676838137894146048", |
| | | "pkCodeRule": "1673234841140858880" |
| | | }, |
| | | { |
| | | "num": "10", |
| | | "codeSecLengthType": "code_sec_length_variable", |
| | | "description": "æ¥æç æ®µ", |
| | | "sectionCode": "riqi", |
| | | "secType": "codedatesec", |
| | | "codeSecLength": "", |
| | | "parentClassifySecOid": "", |
| | | "secTypeText": "æ¥æç æ®µ", |
| | | "sectionValue": [], |
| | | "codeDateFormatStr": "YYYY-MM-DD", |
| | | "name": "æ¥æç æ®µ", |
| | | "id": "1676838388730302464", |
| | | "pkCodeRule": "1673234841140858880" |
| | | } |
| | | ], |
| | | "id": "1673234841140858880" |
| | | }, |
| | | "id": "B6C55202-A224-9098-6A82-E3FC5DEEF790", |
| | | "fullPathName": "", |
| | | "leaf": false |
| | | }, |
| | | { |
| | | "classCode": "020201", |
| | | "lcStatus": "Enabled", |
| | | "name": "é", |
| | | "description": "é", |
| | | "pid": "0C600A6A-6398-FC30-D13E-121201FDA908", |
| | | "codeRule": { |
| | | "ruleCode": "csfjl", |
| | | "num": "", |
| | | "name": "csfjl", |
| | | "description": "", |
| | | "codeSection": [ |
| | | { |
| | | "num": "1", |
| | | "codeSecLengthType": "code_sec_length_variable", |
| | | "description": "aaaa", |
| | | "sectionCode": "gdmd", |
| | | "secType": "codefixedsec", |
| | | "codeSecLength": "10", |
| | | "parentClassifySecOid": "", |
| | | "secTypeText": "åºå®ç 段", |
| | | "sectionValue": [ |
| | | { |
| | | "num": "2", |
| | | "name": "", |
| | | "description": "", |
| | | "pid": "", |
| | | "id": "1673235273523269632", |
| | | "value": "002" |
| | | }, |
| | | { |
| | | "num": "1", |
| | | "name": "", |
| | | "description": "", |
| | | "pid": "", |
| | | "id": "1673235247598276608", |
| | | "value": "001" |
| | | } |
| | | ], |
| | | "codeDateFormatStr": "", |
| | | "name": "åºå®ç 段", |
| | | "id": "1673235191453323264", |
| | | "pkCodeRule": "1673234841140858880" |
| | | }, |
| | | { |
| | | "num": "2", |
| | | "codeSecLengthType": "code_sec_length_variable", |
| | | "description": "", |
| | | "sectionCode": "flmdf", |
| | | "secType": "codeclassifysec", |
| | | "codeSecLength": "10", |
| | | "parentClassifySecOid": "", |
| | | "secTypeText": "åç±»ç æ®µ", |
| | | "sectionValue": [ |
| | | { |
| | | "num": "1", |
| | | "name": "äº", |
| | | "description": "", |
| | | "pid": "", |
| | | "id": "1673235471532167168", |
| | | "value": "001" |
| | | }, |
| | | { |
| | | "num": "1", |
| | | "name": "ä¸", |
| | | "description": "", |
| | | "pid": "", |
| | | "id": "1673235449524654080", |
| | | "value": "001" |
| | | } |
| | | ], |
| | | "codeDateFormatStr": "", |
| | | "name": "åç±»ç æ®µç¶", |
| | | "id": "1673235394948370432", |
| | | "pkCodeRule": "1673234841140858880" |
| | | }, |
| | | { |
| | | "num": "3", |
| | | "codeSecLengthType": "code_sec_length_variable", |
| | | "description": "sss", |
| | | "sectionCode": "flmdz", |
| | | "secType": "codeclassifysec", |
| | | "codeSecLength": "10", |
| | | "parentClassifySecOid": "1673235394948370432", |
| | | "secTypeText": "åç±»ç æ®µ", |
| | | "sectionValue": [ |
| | | { |
| | | "num": "1", |
| | | "name": "å°äº", |
| | | "description": "", |
| | | "pid": "1673235471532167168", |
| | | "id": "1673235791276544000", |
| | | "value": "0012" |
| | | }, |
| | | { |
| | | "num": "1", |
| | | "name": "å°ä¸", |
| | | "description": "", |
| | | "pid": "1673235449524654080", |
| | | "id": "1673235759584382976", |
| | | "value": "0011" |
| | | } |
| | | ], |
| | | "codeDateFormatStr": "", |
| | | "name": "åç±»ç æ®µå", |
| | | "id": "1673235616541839360", |
| | | "pkCodeRule": "1673234841140858880" |
| | | }, |
| | | { |
| | | "num": "4", |
| | | "codeSecLengthType": "code_sec_length_variable", |
| | | "description": "sss", |
| | | "sectionCode": "kbmd", |
| | | "secType": "codevariablesec", |
| | | "codeSecLength": "10", |
| | | "parentClassifySecOid": "", |
| | | "secTypeText": "å¯åç æ®µ", |
| | | "sectionValue": [], |
| | | "codeDateFormatStr": "", |
| | | "name": "å¯åç æ®µ", |
| | | "id": "1673235886290112512", |
| | | "pkCodeRule": "1673234841140858880" |
| | | }, |
| | | { |
| | | "num": "5", |
| | | "codeSecLengthType": "code_sec_length_variable", |
| | | "description": "å¼ç¨ç 段", |
| | | "sectionCode": "yy", |
| | | "secType": "coderefersec", |
| | | "codeSecLength": "", |
| | | "parentClassifySecOid": "", |
| | | "secTypeText": "å¼ç¨ç 段", |
| | | "sectionValue": [], |
| | | "codeDateFormatStr": "", |
| | | "name": "å¼ç¨ç 段", |
| | | "id": "1676048203809689600", |
| | | "pkCodeRule": "1673234841140858880" |
| | | }, |
| | | { |
| | | "num": "6", |
| | | "codeSecLengthType": "code_sec_length_variable", |
| | | "description": "fes", |
| | | "sectionCode": "ge", |
| | | "secType": "codeattrsec", |
| | | "codeSecLength": "", |
| | | "parentClassifySecOid": "", |
| | | "secTypeText": "屿§ç 段", |
| | | "sectionValue": [], |
| | | "codeDateFormatStr": "", |
| | | "name": "屿§ç 段", |
| | | "id": "1676052431290634240", |
| | | "pkCodeRule": "1673234841140858880" |
| | | }, |
| | | { |
| | | "num": "7", |
| | | "codeSecLengthType": "code_sec_length_variable", |
| | | "description": "å±çº§ç 段", |
| | | "sectionCode": "cengji", |
| | | "secType": "codelevelsec", |
| | | "codeSecLength": "", |
| | | "parentClassifySecOid": "", |
| | | "secTypeText": "å±çº§ç 段", |
| | | "sectionValue": [ |
| | | { |
| | | "num": "", |
| | | "name": "æºä½æä»¶", |
| | | "description": "æºä½æä»¶", |
| | | "pid": "", |
| | | "id": "0C600A6A-6398-FC30-D13E-121201FDA908", |
| | | "value": "0202" |
| | | } |
| | | ], |
| | | "codeDateFormatStr": "", |
| | | "name": "å±çº§ç 段", |
| | | "id": "1676837573571514368", |
| | | "pkCodeRule": "1673234841140858880" |
| | | }, |
| | | { |
| | | "num": "8", |
| | | "codeSecLengthType": "code_sec_length_variable", |
| | | "description": "å±çº§ç 段2", |
| | | "sectionCode": "cengj", |
| | | "secType": "codelevelsec", |
| | | "codeSecLength": "", |
| | | "parentClassifySecOid": "", |
| | | "secTypeText": "å±çº§ç 段", |
| | | "sectionValue": [ |
| | | { |
| | | "num": "", |
| | | "name": "é", |
| | | "description": "é", |
| | | "pid": "", |
| | | "id": "46B5DB5E-F783-DFE9-B48A-C4A367D02AC0", |
| | | "value": "020201" |
| | | } |
| | | ], |
| | | "codeDateFormatStr": "", |
| | | "name": "å±çº§ç 段2", |
| | | "id": "1676837771429416960", |
| | | "pkCodeRule": "1673234841140858880" |
| | | }, |
| | | { |
| | | "num": "9", |
| | | "codeSecLengthType": "code_sec_length_variable", |
| | | "description": "", |
| | | "sectionCode": "shux", |
| | | "secType": "codeattrsec", |
| | | "codeSecLength": "", |
| | | "parentClassifySecOid": "", |
| | | "secTypeText": "屿§ç 段", |
| | | "sectionValue": [], |
| | | "codeDateFormatStr": "", |
| | | "name": "屿§ç 段", |
| | | "id": "1676838137894146048", |
| | | "pkCodeRule": "1673234841140858880" |
| | | }, |
| | | { |
| | | "num": "10", |
| | | "codeSecLengthType": "code_sec_length_variable", |
| | | "description": "æ¥æç æ®µ", |
| | | "sectionCode": "riqi", |
| | | "secType": "codedatesec", |
| | | "codeSecLength": "", |
| | | "parentClassifySecOid": "", |
| | | "secTypeText": "æ¥æç æ®µ", |
| | | "sectionValue": [], |
| | | "codeDateFormatStr": "YYYY-MM-DD", |
| | | "name": "æ¥æç æ®µ", |
| | | "id": "1676838388730302464", |
| | | "pkCodeRule": "1673234841140858880" |
| | | } |
| | | ], |
| | | "id": "1673234841140858880" |
| | | }, |
| | | "id": "46B5DB5E-F783-DFE9-B48A-C4A367D02AC0", |
| | | "fullPathName": "", |
| | | "leaf": false |
| | | } |
| | | ], |
| | | "name": "", |
| | | "id": "wupin" |
| | | }, |
| | | "errorid": "0" |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | { |
| | | "backPath": "", |
| | | "mapFields": "", |
| | | "method": "GET", |
| | | "muti": false, |
| | | "onlyLeaf": false, |
| | | "paramForFormKey": "", |
| | | "referType": "coderule", |
| | | "remoteSort": false, |
| | | "tableConfig": { |
| | | "cols": [ |
| | | { |
| | | "field": "id", |
| | | "fieldType": "text", |
| | | "fieldTypeText": "ææ¬æ¡", |
| | | "isQuery": "true", |
| | | "sort": "true", |
| | | "sortField": "id", |
| | | "title": "ç¼å·", |
| | | "width": 150 |
| | | }, |
| | | { |
| | | "field": "name", |
| | | "fieldType": "text", |
| | | "fieldTypeText": "ææ¬æ¡", |
| | | "isQuery": "true", |
| | | "sort": "true", |
| | | "sortField": "name", |
| | | "title": "åç§°", |
| | | "width": 180 |
| | | }, |
| | | { |
| | | "field": "name", |
| | | "fieldType": "text", |
| | | "fieldTypeText": "ææ¬æ¡", |
| | | "isQuery": "false", |
| | | "sort": "false", |
| | | "sortField": "name", |
| | | "title": "åç§°", |
| | | "width": 150 |
| | | }, |
| | | { |
| | | "field": "lastmodifier", |
| | | "fieldType": "text", |
| | | "fieldTypeText": "ææ¬æ¡", |
| | | "isQuery": "false", |
| | | "sort": "false", |
| | | "sortField": "lastmodifier", |
| | | "title": "æåæ¶é´äºº", |
| | | "width": 150 |
| | | } |
| | | ], |
| | | "page": { |
| | | "limit": 15, |
| | | "page": 1 |
| | | }, |
| | | "queryColumns": [ |
| | | { |
| | | "$ref": "$.tableConfig.cols[0]" |
| | | }, |
| | | { |
| | | "$ref": "$.tableConfig.cols[1]" |
| | | } |
| | | ] |
| | | }, |
| | | "textField": "name", |
| | | "type": "default", |
| | | "url": "", |
| | | "valueField": "oid", |
| | | "where": { |
| | | "creator_equal": "", |
| | | "tenant_id_equal": "", |
| | | "createtime_equal": "" |
| | | } |
| | | } |
| | |
| | | import com.vci.ubcs.system.entity.DictBiz; |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | | |
| | |
| | | * @param dictBiz åå
¸æ°æ® |
| | | * @return |
| | | */ |
| | | @GetMapping(CHECK_VALUE) |
| | | R getCheck(@Valid @RequestBody DictBiz dictBiz); |
| | | @PostMapping(CHECK_VALUE) |
| | | R getCheck(@RequestBody DictBiz dictBiz); |
| | | |
| | | } |
| | |
| | | package com.vci.ubcs.omd.entity; |
| | | |
| | | import com.alibaba.fastjson.annotation.JSONField; |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.vci.ubcs.starter.revision.model.BaseModel; |
| | | import io.swagger.annotations.ApiModel; |
| | | import lombok.Data; |
| | | |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * çå½å¨æçå¾çè¾¹çå
容 |
| | |
| | | @Data |
| | | @TableName("pl_omd_life_cycle_edge") |
| | | @ApiModel(value = "çå½å¨æçå¾çè¾¹çå
容", description = "çå½å¨æè¾¹çå
容") |
| | | public class LifeCycleEdge extends BaseModel { |
| | | public class LifeCycleEdge implements java.io.Serializable{ |
| | | /** |
| | | * åºåå |
| | | */ |
| | |
| | | /** |
| | | * æ¥æºç¶æ |
| | | */ |
| | | @TableField("source_status") |
| | | private String source; |
| | | |
| | | /** |
| | |
| | | /** |
| | | * ç®æ ç¶æ |
| | | */ |
| | | @TableField("target_status") |
| | | private String target; |
| | | |
| | | /** |
| | |
| | | * æåºå· |
| | | */ |
| | | @JSONField(name = "index") |
| | | private Integer indexNO; |
| | | private Integer indexNum; |
| | | |
| | | /** |
| | | * æå±çå½å¨æ |
| | | */ |
| | | private String lifeCycleOid; |
| | | |
| | | |
| | | /** |
| | | * ä¸»é® |
| | | */ |
| | | @TableId |
| | | private String oid; |
| | | |
| | | /** |
| | | * å建人 |
| | | */ |
| | | private String creator; |
| | | |
| | | /** |
| | | * å建æ¶é´ |
| | | */ |
| | | private Date createTime; |
| | | |
| | | /** |
| | | * æåä¿®æ¹äºº |
| | | */ |
| | | private String lastModifier; |
| | | |
| | | /** |
| | | * æåä¿®æ¹æ¶é´ï¼æ ¼å¼æ¯yyyy-MM-dd HH:mm:ss |
| | | */ |
| | | private Date lastModifyTime; |
| | | |
| | | /** |
| | | * æ¶é´æ³ï¼æ ¼å¼æ¯yyyy-MM-dd HH:mm:ss.SSS |
| | | */ |
| | | private Date ts; |
| | | } |
| | |
| | | package com.vci.ubcs.omd.entity; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.vci.ubcs.starter.revision.model.BaseModel; |
| | | import io.swagger.annotations.ApiModel; |
| | | import lombok.Data; |
| | | |
| | | import java.util.Date; |
| | | |
| | | |
| | | /** |
| | |
| | | * @date 2019/10/17 9:32 |
| | | */ |
| | | @Data |
| | | @TableName("pl_omd_life_cycle_event") |
| | | @TableName("pl_omd_life_event") |
| | | @ApiModel(value = "çå½å¨æäºä»¶éå", description = "çå½å¨æäºä»¶éå") |
| | | public class LifeCycleEvent extends BaseModel { |
| | | public class LifeCycleEvent implements java.io.Serializable { |
| | | |
| | | /** |
| | | * ç¦æ¢ä¿®æ¹è¿ä¸ªå¼ |
| | |
| | | */ |
| | | private String bizDomain; |
| | | |
| | | /** |
| | | * ä¸»é® |
| | | */ |
| | | @TableId |
| | | private String oid; |
| | | |
| | | /** |
| | | * å建人 |
| | | */ |
| | | private String creator; |
| | | |
| | | /** |
| | | * å建æ¶é´ |
| | | */ |
| | | private Date createTime; |
| | | |
| | | /** |
| | | * æåä¿®æ¹äºº |
| | | */ |
| | | private String lastModifier; |
| | | |
| | | /** |
| | | * æåä¿®æ¹æ¶é´ï¼æ ¼å¼æ¯yyyy-MM-dd HH:mm:ss |
| | | */ |
| | | private Date lastModifyTime; |
| | | |
| | | /** |
| | | * æ¶é´æ³ï¼æ ¼å¼æ¯yyyy-MM-dd HH:mm:ss.SSS |
| | | */ |
| | | private Date ts; |
| | | |
| | | } |
| | |
| | | package com.vci.ubcs.omd.entity; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.vci.ubcs.starter.revision.model.BaseModel; |
| | | import io.swagger.annotations.ApiModel; |
| | | import lombok.Data; |
| | | |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * |
| | |
| | | * @date 2019/10/11 2:49 PM |
| | | */ |
| | | @Data |
| | | @TableName("pl_omd_life_cycle_line_event") |
| | | @TableName("pl_omd_line_event") |
| | | @ApiModel(value = "çå½å¨æç¶æè¿æ¥çº¿", description = "çå½å¨æç¶æè¿æ¥çº¿") |
| | | public class LifeCycleLineEvent extends BaseModel { |
| | | public class LifeCycleLineEvent implements java.io.Serializable { |
| | | |
| | | /** |
| | | * ç¦æ¢ä¿®æ¹è¿ä¸ªå¼ |
| | |
| | | /** |
| | | * æåºå· |
| | | */ |
| | | private Integer orderNum; |
| | | private Integer indexNum; |
| | | |
| | | /** |
| | | * æå±é¢å |
| | | */ |
| | | private String bizDomain; |
| | | |
| | | /** |
| | | * ä¸»é® |
| | | */ |
| | | @TableId |
| | | private String oid; |
| | | |
| | | /** |
| | | * å建人 |
| | | */ |
| | | private String creator; |
| | | |
| | | /** |
| | | * å建æ¶é´ |
| | | */ |
| | | private Date createTime; |
| | | |
| | | /** |
| | | * æåä¿®æ¹äºº |
| | | */ |
| | | private String lastModifier; |
| | | |
| | | /** |
| | | * æåä¿®æ¹æ¶é´ï¼æ ¼å¼æ¯yyyy-MM-dd HH:mm:ss |
| | | */ |
| | | private Date lastModifyTime; |
| | | |
| | | /** |
| | | * æ¶é´æ³ï¼æ ¼å¼æ¯yyyy-MM-dd HH:mm:ss.SSS |
| | | */ |
| | | private Date ts; |
| | | |
| | | |
| | | } |
| | |
| | | package com.vci.ubcs.omd.entity; |
| | | |
| | | import com.alibaba.fastjson.annotation.JSONField; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.vci.ubcs.starter.revision.model.BaseModel; |
| | | import io.swagger.annotations.ApiModel; |
| | | import lombok.Data; |
| | | |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * @author weidy |
| | |
| | | @Data |
| | | @TableName("pl_omd_life_cycle_node") |
| | | @ApiModel(value = "çå½å¨æçèç¹å
容", description = "çå½å¨æèç¹") |
| | | public class LifeCycleNode extends BaseModel { |
| | | public class LifeCycleNode implements java.io.Serializable { |
| | | |
| | | /** |
| | | * èç¹ç尺寸 |
| | |
| | | * æåºå· |
| | | */ |
| | | @JSONField(name = "index") |
| | | private Integer indexNO; |
| | | private Integer indexNum; |
| | | |
| | | /** |
| | | * 线çç±»å |
| | |
| | | * æå±çå½å¨æ |
| | | */ |
| | | private String lifeCycleOid; |
| | | |
| | | |
| | | /** |
| | | * ä¸»é® |
| | | */ |
| | | @TableId |
| | | private String oid; |
| | | |
| | | /** |
| | | * å建人 |
| | | */ |
| | | private String creator; |
| | | |
| | | /** |
| | | * å建æ¶é´ |
| | | */ |
| | | private Date createTime; |
| | | |
| | | /** |
| | | * æåä¿®æ¹äºº |
| | | */ |
| | | private String lastModifier; |
| | | |
| | | /** |
| | | * æåä¿®æ¹æ¶é´ï¼æ ¼å¼æ¯yyyy-MM-dd HH:mm:ss |
| | | */ |
| | | private Date lastModifyTime; |
| | | |
| | | /** |
| | | * æ¶é´æ³ï¼æ ¼å¼æ¯yyyy-MM-dd HH:mm:ss.SSS |
| | | */ |
| | | private Date ts; |
| | | } |
| | |
| | | @Data |
| | | @TableName("pl_omd_life_cycle_rule") |
| | | @ApiModel(value = "çå½å¨æè§å", description = "çå½å¨æè§å") |
| | | public class LifeCycleRule extends BaseModel { |
| | | public class LifeCycleRule implements java.io.Serializable { |
| | | |
| | | /** |
| | | * ç¦æ¢ä¿®æ¹è¿ä¸ªå¼ |
| | |
| | | */ |
| | | private String startStatusName; |
| | | |
| | | |
| | | /** |
| | | * ä¸»é® |
| | | */ |
| | | @TableId |
| | | private String oid; |
| | | |
| | | /** |
| | | * å建人 |
| | | */ |
| | | private String creator; |
| | | |
| | | /** |
| | | * å建æ¶é´ |
| | | */ |
| | | private Date createTime; |
| | | |
| | | /** |
| | | * æåä¿®æ¹äºº |
| | | */ |
| | | private String lastModifier; |
| | | |
| | | /** |
| | | * æåä¿®æ¹æ¶é´ï¼æ ¼å¼æ¯yyyy-MM-dd HH:mm:ss |
| | | */ |
| | | private Date lastModifyTime; |
| | | |
| | | /** |
| | | * æ¶é´æ³ï¼æ ¼å¼æ¯yyyy-MM-dd HH:mm:ss.SSS |
| | | */ |
| | | private Date ts; |
| | | |
| | | } |
| | |
| | | for (String s : prefix) { |
| | | DictBiz dictBiz = new DictBiz(); |
| | | dictBiz.setCode(MdmBtmTypeConstant.CODE_CLASSIFY_TEMPLATE_ATTR); |
| | | dictBiz.setDictKey(s); |
| | | dictBiz.setDictValue("prefix"); |
| | | dictBiz.setDictKey("prefix"); |
| | | dictBiz.setDictValue(s); |
| | | iDictBizClient.getCheck(dictBiz) ; |
| | | } |
| | | // .saveBySameNamespaceAndFlag(MdmBtmTypeConstant.CODE_CLASSIFY_TEMPLATE_ATTR,"prefix",prefix,sessionInfo); |
| | |
| | | for (String s : suffix) { |
| | | DictBiz dictBiz = new DictBiz(); |
| | | dictBiz.setCode(MdmBtmTypeConstant.CODE_CLASSIFY_TEMPLATE_ATTR); |
| | | dictBiz.setDictKey(s); |
| | | dictBiz.setDictValue("suffix"); |
| | | dictBiz.setDictKey("suffix"); |
| | | dictBiz.setDictValue(s); |
| | | iDictBizClient.getCheck(dictBiz) ; |
| | | } |
| | | // charService.saveBySameNamespaceAndFlag(MdmBtmTypeConstant.CODE_CLASSIFY_TEMPLATE_ATTR,"suffix",suffix,sessionInfo); |
| | |
| | | for (String s : dateFormates) { |
| | | DictBiz dictBiz = new DictBiz(); |
| | | dictBiz.setCode(MdmBtmTypeConstant.CODE_CLASSIFY_TEMPLATE_ATTR); |
| | | dictBiz.setDictKey(s); |
| | | dictBiz.setDictValue("dateFormates"); |
| | | dictBiz.setDictKey("dateFormates"); |
| | | dictBiz.setDictValue(s); |
| | | iDictBizClient.getCheck(dictBiz) ; |
| | | } |
| | | // charService.saveBySameNamespaceAndFlag(MdmBtmTypeConstant.CODE_CLASSIFY_TEMPLATE_ATTR,"dateFormates",dateFormates,sessionInfo); |
| | |
| | | QueryWrapper<CodeClassifyValue> wrapper = new QueryWrapper<>(); |
| | | wrapper.eq("codeClassifySecOid",classifySecOid); |
| | | if(StringUtils.isNotBlank(parentClassifyValueOid)){ |
| | | wrapper.eq("parentClassifyValueOid",parentClassifyValueOid); |
| | | wrapper.in("parentClassifyValueOid",VciBaseUtil.str2List(parentClassifyValueOid)); |
| | | } |
| | | wrapper.orderByAsc("ordernum"); |
| | | |
| | |
| | | CodeRuleVO resultClassifyRuleVO1=new CodeRuleVO(); |
| | | List<CodeBasicSecVO> codeBasicSecVOS= codeRuleVO.getSecVOList(); |
| | | List<CodeSectionVO> codeSectionVOList=new CopyOnWriteArrayList<>(); |
| | | Map<String,List<String>> secIdTOListValueOidMap=new HashMap<>(); |
| | | if(!CollectionUtils.isEmpty(codeBasicSecVOS)){ |
| | | codeBasicSecVOS.stream().forEach(codeBasicSecVO -> { |
| | | List<CodeSectionValueVO> codeSectionValueVOList=new ArrayList<>(); |
| | | String secType= codeBasicSecVO.getSecType(); |
| | | if(secType.equals("codevariablesec")){//å¯åç æ®µ |
| | | CodeSectionValueVO sectionValueVO=new CodeSectionValueVO("","","","",""); |
| | | codeSectionValueVOList.add(sectionValueVO); |
| | | //空çï¼åç«¯ä¼ |
| | | }else if(secType.equals("codefixedsec")){//åºå®ç 段 |
| | | List<CodeFixedValueVO> fixedValueVOList=codeBasicSecVO.getFixedValueVOList(); |
| | | fixedValueVOList.stream().forEach(codeFixedValueVO -> { |
| | | CodeSectionValueVO sectionValueVO=new CodeSectionValueVO(codeFixedValueVO.getOid(),codeFixedValueVO.getOrderNum()+"",codeFixedValueVO.getId(),codeFixedValueVO.getName(),codeFixedValueVO.getDescription()); |
| | | String id=StringUtils.isBlank(codeFixedValueVO.getOid())?"":codeFixedValueVO.getOid(); |
| | | String value=StringUtils.isBlank(codeFixedValueVO.getId())?"":codeFixedValueVO.getId(); |
| | | String num=StringUtils.isBlank(codeFixedValueVO.getOrderNum()+"")?"":codeFixedValueVO.getOrderNum()+""; |
| | | String name=StringUtils.isBlank(codeFixedValueVO.getName())?"":codeFixedValueVO.getName(); |
| | | String description=StringUtils.isBlank(codeFixedValueVO.getDescription())?"":codeFixedValueVO.getDescription(); |
| | | CodeSectionValueVO sectionValueVO=new CodeSectionValueVO(id,num,value,name,"",description); |
| | | codeSectionValueVOList.add(sectionValueVO); |
| | | }); |
| | | }else if(secType.equals("codeclassifysec")){//åç±»ç æ®µ |
| | | String secOid=codeBasicSecVO.getOid(); |
| | | String parentClassifySecOid= codeBasicSecVO.getParentClassifySecOid(); |
| | | List<CodeClassifyValueVO> codeClassifyValueVOS= this.codeClassifyValueService.listCodeClassifyValueBySecOid(secOid,parentClassifySecOid); |
| | | if(CollectionUtils.isEmpty(codeClassifyValueVOS)){ |
| | | String parentClassifyValueOid=""; |
| | | if(secIdTOListValueOidMap.containsKey(parentClassifySecOid)){ |
| | | List<String> parentClassifyValueList= secIdTOListValueOidMap.get(parentClassifySecOid); |
| | | parentClassifyValueOid=VciBaseUtil.array2String(parentClassifyValueList.toArray(new String[]{})); |
| | | } |
| | | List<CodeClassifyValueVO> codeClassifyValueVOS= this.codeClassifyValueService.listCodeClassifyValueBySecOid(secOid,parentClassifyValueOid); |
| | | if(!CollectionUtils.isEmpty(codeClassifyValueVOS)){ |
| | | List<String>valueOidList=new ArrayList<>(); |
| | | |
| | | codeClassifyValueVOS.stream().forEach(codeClassifyValueVO -> { |
| | | CodeSectionValueVO sectionValueVO=new CodeSectionValueVO(codeClassifyValueVO.getOid(),codeClassifyValueVO.getOrderNum()+"",codeClassifyValueVO.getId(),codeClassifyValueVO.getName(),codeClassifyValueVO.getDescription()); |
| | | String id=StringUtils.isBlank(codeClassifyValueVO.getOid())?"":codeClassifyValueVO.getOid(); |
| | | String value=StringUtils.isBlank(codeClassifyValueVO.getId())?"":codeClassifyValueVO.getId(); |
| | | String num=StringUtils.isBlank(codeClassifyValueVO.getOrderNum()+"")?"":codeClassifyValueVO.getOrderNum()+""; |
| | | String name=StringUtils.isBlank(codeClassifyValueVO.getName())?"":codeClassifyValueVO.getName(); |
| | | String pid=StringUtils.isBlank(codeClassifyValueVO.getParentClassifyValueOid())?"":codeClassifyValueVO.getParentClassifyValueOid(); |
| | | String description=StringUtils.isBlank(codeClassifyValueVO.getDescription())?"":codeClassifyValueVO.getDescription(); |
| | | CodeSectionValueVO sectionValueVO=new CodeSectionValueVO(id,num,value,name,pid,description); |
| | | codeSectionValueVOList.add(sectionValueVO); |
| | | valueOidList.add(id); |
| | | }); |
| | | secIdTOListValueOidMap.put(secOid,valueOidList); |
| | | } |
| | | }else if(secType.equals("codedatesec")){//æ¥æç æ®µ |
| | | |
| | | //空çï¼åç«¯ä¼ |
| | | }else if(secType.equals("coderefersec")){//å¼ç¨ç 段 |
| | | codeBasicSecVO.getReferAttributeId(); |
| | | codeBasicSecVO.getReferCodeClassifyOid(); |
| | | codeBasicSecVO.getReferBtmId(); |
| | | codeBasicSecVO.getReferBtmName(); |
| | | //codeBasicSecVO.getReferValueInfo(); |
| | | |
| | | }else if(secType.equals("codelevelsec")) {//å±çº§ç 段 |
| | | int level = codeBasicSecVO.getCodeLevelValue(); |
| | |
| | | }else{//æå°å± |
| | | levelCodeClassifyVO=codeClassifyDO; |
| | | } |
| | | CodeSectionValueVO sectionValueVO=new CodeSectionValueVO(levelCodeClassifyVO.getOid(),"0",levelCodeClassifyVO.getId(),codeBasicSecVO.getName(),codeBasicSecVO.getDescription()); |
| | | String id=StringUtils.isBlank(levelCodeClassifyVO.getOid())?"":levelCodeClassifyVO.getOid(); |
| | | String num=""; |
| | | String value=StringUtils.isBlank(levelCodeClassifyVO.getId())?"":levelCodeClassifyVO.getId(); |
| | | String name=StringUtils.isBlank(levelCodeClassifyVO.getName())?"":levelCodeClassifyVO.getName(); |
| | | String description=StringUtils.isBlank(levelCodeClassifyVO.getDescription())?"":levelCodeClassifyVO.getDescription(); |
| | | CodeSectionValueVO sectionValueVO=new CodeSectionValueVO(id,num,value,name,"",description); |
| | | codeSectionValueVOList.add(sectionValueVO); |
| | | }else if(secType.equals("codeattrsec")){//屿§ç 段 |
| | | |
| | | codeBasicSecVO.getReferAttributeId(); |
| | | codeBasicSecVO.getReferCodeClassifyOid(); |
| | | codeBasicSecVO.getReferBtmId(); |
| | | codeBasicSecVO.getReferBtmName(); |
| | | }else if(secType.equals("codeserialsec")){//æµæ°´ç 段 |
| | | |
| | | } |
| | | //æå»ºè§åç æ®µ |
| | | CodeSectionVO codeSectionVO=new CodeSectionVO(); |
| | | codeSectionVO.setId(codeBasicSecVO.getOid());//ä¸»é® |
| | | codeSectionVO.setName(codeBasicSecVO.getName());//ç æ®µåç§° |
| | | codeSectionVO.setCodeSecLength(codeBasicSecVO.getCodeSecLength());//ç æ®µé¿åº¦ |
| | | codeSectionVO.setNum(codeBasicSecVO.getId());//ç æ®µç¼å· |
| | | codeSectionVO.setCodeDateFormatStr(codeBasicSecVO.getCodeDateFormatStr());//æ¥æç±»å |
| | | codeSectionVO.setCodeSecLengthType(codeBasicSecVO.getCodeSecLengthType());//ç æ®µé¿åº¦ç±»å |
| | | codeSectionVO.setPkCodeRule(codeRuleVO.getOid()); |
| | | codeSectionVO.setSecType(codeBasicSecVO.getSecType());//ç æ®µç±»å |
| | | codeSectionVO.setDescription(codeBasicSecVO.getDescription()); |
| | | codeSectionVO.setParentClassifySecOid(codeBasicSecVO.getParentClassifySecOid()); |
| | | codeSectionVO.setSectionValue(codeSectionValueVOList); |
| | | codeSectionVO.setId(StringUtils.isBlank(codeBasicSecVO.getOid())?"":codeBasicSecVO.getOid());//ä¸»é® |
| | | codeSectionVO.setName(StringUtils.isBlank(codeBasicSecVO.getName())?"":codeBasicSecVO.getName());//ç æ®µåç§° |
| | | codeSectionVO.setCodeSecLength(StringUtils.isBlank(codeBasicSecVO.getCodeSecLength())?"":codeBasicSecVO.getCodeSecLength());//ç æ®µé¿åº¦ |
| | | codeSectionVO.setNum(StringUtils.isBlank(codeBasicSecVO.getOrderNum()+"")?"":codeBasicSecVO.getOrderNum()+"");//ç æ®µåºå· |
| | | codeSectionVO.setCodeDateFormatStr(StringUtils.isBlank(codeBasicSecVO.getCodeDateFormatStr())?"":codeBasicSecVO.getCodeDateFormatStr());//æ¥æç±»å |
| | | codeSectionVO.setCodeSecLengthType(StringUtils.isBlank(codeBasicSecVO.getCodeSecLengthType())?"":codeBasicSecVO.getCodeSecLengthType());//ç æ®µé¿åº¦ç±»å |
| | | codeSectionVO.setPkCodeRule(StringUtils.isBlank(codeRuleVO.getOid())?"":codeRuleVO.getOid());//è§åä¸»é® |
| | | codeSectionVO.setSecType(StringUtils.isBlank(codeBasicSecVO.getSecType())?"":codeBasicSecVO.getSecType());//ç æ®µç±»å |
| | | codeSectionVO.setDescription(StringUtils.isBlank(codeBasicSecVO.getDescription())?"":codeBasicSecVO.getDescription());//æè¿° |
| | | codeSectionVO.setParentClassifySecOid(StringUtils.isBlank(codeBasicSecVO.getParentClassifySecOid())?"":codeBasicSecVO.getParentClassifySecOid());//åç±»ç æ®µä¸çº§ |
| | | codeSectionVO.setSecTypeText(StringUtils.isBlank(codeBasicSecVO.getSecTypeText())?"":codeBasicSecVO.getSecTypeText()); |
| | | //if(!CollectionUtils.isEmpty(codeSectionValueVOList)) { |
| | | codeSectionVO.setSectionValue(codeSectionValueVOList); |
| | | //} |
| | | codeSectionVO.setSectionCode(codeBasicSecVO.getId());//ç æ®µç¼å· |
| | | codeSectionVOList.add(codeSectionVO); |
| | | }); |
| | | } |
| | | //æå»ºè§åä¿¡æ¯ |
| | | resultCodeRuleVO.setId(codeRuleVO.getOid()); |
| | | resultCodeRuleVO.setNum(codeRuleVO.getId()); |
| | | resultCodeRuleVO.setDescription(codeRuleVO.getDescription()); |
| | | resultCodeRuleVO.setId(StringUtils.isBlank(codeRuleVO.getOid())?"":codeRuleVO.getOid());//ä¸»é® |
| | | resultCodeRuleVO.setNum("");//åºå· |
| | | resultCodeRuleVO.setName(StringUtils.isBlank(codeRuleVO.getName())?"":codeRuleVO.getName());//å称设置 |
| | | resultCodeRuleVO.setRuleCode(StringUtils.isBlank(codeRuleVO.getId())?"":codeRuleVO.getId());//è§åç¼å· |
| | | resultCodeRuleVO.setDescription(StringUtils.isBlank(codeRuleVO.getDescription())?"":codeRuleVO.getDescription());//æè¿° |
| | | resultCodeRuleVO.setCodeSection(codeSectionVOList); |
| | | } |
| | | //æå»ºåç±»ä¿¡æ¯ |
| | | com.vci.ubcs.code.vo.webserviceModel.coderule.ResultClassifyVO classifyVO=new com.vci.ubcs.code.vo.webserviceModel.coderule.ResultClassifyVO(); |
| | | classifyVO.setId(codeClassifyDO.getOid()); |
| | | classifyVO.setLcStatus(codeClassifyDO.getLcStatus()); |
| | | classifyVO.setClassCode(codeClassifyDO.getId()); |
| | | classifyVO.setDescription(codeClassifyDO.getDescription()); |
| | | classifyVO.setName(codeClassifyDO.getName()); |
| | | classifyVO.setPid(codeClassifyDO.getParentcodeclassifyoid()); |
| | | classifyVO.setFullPathName(codeClassifyDO.getPath()); |
| | | classifyVO.setId(StringUtils.isBlank(codeClassifyDO.getOid())?"":codeClassifyDO.getOid()); |
| | | classifyVO.setLcStatus(StringUtils.isBlank(codeClassifyDO.getLcStatus())?"":codeClassifyDO.getLcStatus()); |
| | | classifyVO.setClassCode(StringUtils.isBlank(codeClassifyDO.getId())?"":codeClassifyDO.getId()); |
| | | classifyVO.setDescription(StringUtils.isBlank(codeClassifyDO.getDescription())?"":codeClassifyDO.getDescription()); |
| | | classifyVO.setName(StringUtils.isBlank(codeClassifyDO.getName())?"":codeClassifyDO.getName()); |
| | | classifyVO.setPid(StringUtils.isBlank(codeClassifyDO.getParentcodeclassifyoid())?"":codeClassifyDO.getParentcodeclassifyoid()); |
| | | classifyVO.setFullPathName(StringUtils.isBlank(codeClassifyDO.getPath())?"":codeClassifyDO.getPath()); |
| | | classifyVO.setCodeRule(resultCodeRuleVO); |
| | | classifyVOList.add(classifyVO); |
| | | }); |
| | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport; |
| | | import com.vci.ubcs.omd.dto.LifeCycleDTO; |
| | | import com.vci.ubcs.omd.entity.LifeCycleEvent; |
| | | import com.vci.ubcs.omd.entity.LifeCycleRule; |
| | | import com.vci.ubcs.omd.service.ILifeCycleService; |
| | | import com.vci.ubcs.omd.vo.BtmTypeVO; |
| | | import com.vci.ubcs.omd.vo.LifeCycleEventVO; |
| | | import com.vci.ubcs.omd.vo.LifeCycleVO; |
| | | import com.vci.ubcs.omd.wrapper.LifeCycleRuleWrapper; |
| | | import com.vci.ubcs.starter.web.pagemodel.BladeQueryObject; |
| | |
| | | * çå½å¨æçæå¡ |
| | | */ |
| | | private final ILifeCycleService lifeCycleService; |
| | | |
| | | |
| | | /** |
| | | * å页æ¥è¯¢ |
| | |
| | | return R.data(lifeCycleService.listUses(lifeCycleDTO)); |
| | | } |
| | | |
| | | /** |
| | | * å
¨é¨çäºä»¶ |
| | | */ |
| | | @GetMapping("page-event") |
| | | @ApiOperationSupport(order = 2) |
| | | @ApiOperation(value = "å
¨é¨çäºä»¶",notes = "å页æ¥è¯¢äºä»¶") |
| | | public R<IPage<LifeCycleEventVO>> pageEvent(BladeQueryObject baseQueryObject){ |
| | | Map<String, Object> conditionMap = baseQueryObject.getConditionMap(); |
| | | if (conditionMap == null){ |
| | | conditionMap = new HashMap<>(); |
| | | } |
| | | return R.data(lifeCycleService.listEvent(conditionMap,baseQueryObject.getQuery())); |
| | | } |
| | | |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.vci.ubcs.omd.mapper; |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.vci.ubcs.omd.entity.LifeCycleEvent; |
| | | import com.vci.ubcs.omd.entity.LifeCycleLineEvent; |
| | | |
| | | /** |
| | | * äºä»¶çå
容 |
| | | * @author weidy |
| | | * @date 2023/7/6 |
| | | */ |
| | | public interface LifeCycleEventMapper extends BaseMapper<LifeCycleEvent> { |
| | | |
| | | |
| | | } |
| | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.vci.ubcs.omd.dto.LifeCycleDTO; |
| | | import com.vci.ubcs.omd.entity.LifeCycleEvent; |
| | | import com.vci.ubcs.omd.entity.LifeCycleRule; |
| | | import com.vci.ubcs.omd.vo.BtmTypeVO; |
| | | import com.vci.ubcs.omd.vo.LifeCycleEventVO; |
| | | import com.vci.ubcs.omd.vo.LifeCycleVO; |
| | | import com.vci.ubcs.starter.web.pagemodel.PageHelper; |
| | | import org.springblade.core.mp.support.Query; |
| | |
| | | * @return çå½å¨æçæ¾ç¤ºå¯¹è±¡ |
| | | */ |
| | | IPage<LifeCycleVO> listLife(Map<String, Object> conditionMap, Query query); |
| | | |
| | | /** |
| | | * è·åå
¨é¨çäºä»¶ |
| | | * @param conditionMap æ¥è¯¢æ¡ä»¶ |
| | | * @param query å页 |
| | | * @return äºä»¶çæ¾ç¤ºå¯¹è±¡ |
| | | */ |
| | | IPage<LifeCycleEventVO> listEvent(Map<String, Object> conditionMap, Query query); |
| | | |
| | | /** |
| | | * æ·»å ä¿å |
| | |
| | | * @return ä¸å¡ç±»å |
| | | */ |
| | | List<BtmTypeVO> listUses(LifeCycleDTO lifeCycleDTO); |
| | | |
| | | |
| | | } |
| | |
| | | import com.vci.ubcs.omd.dto.LifeCycleEdgeDTO; |
| | | import com.vci.ubcs.omd.dto.LifeCycleLineEventDTO; |
| | | import com.vci.ubcs.omd.dto.LifeCycleNodeDTO; |
| | | import com.vci.ubcs.omd.entity.LifeCycleEdge; |
| | | import com.vci.ubcs.omd.entity.LifeCycleLineEvent; |
| | | import com.vci.ubcs.omd.entity.LifeCycleNode; |
| | | import com.vci.ubcs.omd.entity.LifeCycleRule; |
| | | import com.vci.ubcs.omd.mapper.LifeCycleEdgeMapper; |
| | | import com.vci.ubcs.omd.mapper.LifeCycleLineEventMapper; |
| | | import com.vci.ubcs.omd.mapper.LifeCycleMapper; |
| | | import com.vci.ubcs.omd.mapper.LifeCycleNodeMapper; |
| | | import com.vci.ubcs.omd.entity.*; |
| | | import com.vci.ubcs.omd.mapper.*; |
| | | import com.vci.ubcs.omd.repeater.DomainRepeater; |
| | | import com.vci.ubcs.omd.service.IBtmTypeService; |
| | | import com.vci.ubcs.omd.service.ILifeCycleService; |
| | | import com.vci.ubcs.omd.service.IStatusService; |
| | | import com.vci.ubcs.omd.vo.BtmTypeVO; |
| | | import com.vci.ubcs.omd.vo.LifeCycleEventVO; |
| | | import com.vci.ubcs.omd.vo.LifeCycleVO; |
| | | import com.vci.ubcs.omd.vo.StatusVO; |
| | | import com.vci.ubcs.omd.wrapper.LifeCycleEventWrapper; |
| | | import com.vci.ubcs.omd.wrapper.LifeCycleRuleWrapper; |
| | | import com.vci.ubcs.starter.enumpack.NewAppConstantEnum; |
| | | import com.vci.ubcs.starter.exception.VciBaseException; |
| | |
| | | @Lazy |
| | | private IBtmTypeService btmTypeService; |
| | | |
| | | @Resource |
| | | private LifeCycleEventMapper eventMapper; |
| | | |
| | | |
| | | /** |
| | | * è·åçå½å¨æå表 |
| | |
| | | @Override |
| | | public IPage<LifeCycleVO> listLife(Map<String, Object> conditionMap, Query query) { |
| | | return LifeCycleRuleWrapper.build().pageVO(baseMapper.selectPage(Condition.getPage(query),Condition.getQueryWrapper(conditionMap,LifeCycleRule.class).lambda().orderByAsc(LifeCycleRule::getId))); |
| | | } |
| | | |
| | | /** |
| | | * è·åå
¨é¨çäºä»¶ |
| | | * |
| | | * @param conditionMap æ¥è¯¢æ¡ä»¶ |
| | | * @param query å页 |
| | | * @return äºä»¶çæ¾ç¤ºå¯¹è±¡ |
| | | */ |
| | | @Override |
| | | public IPage<LifeCycleEventVO> listEvent(Map<String, Object> conditionMap, Query query) { |
| | | return LifeCycleEventWrapper.build().pageVO(eventMapper.selectPage(Condition.getPage(query),Condition.getQueryWrapper(conditionMap, LifeCycleEvent.class).lambda().orderByAsc(LifeCycleEvent::getEventFullName))); |
| | | } |
| | | |
| | | /** |
| | |
| | | life.setOid(VciBaseUtil.getPk()); |
| | | String creator = AuthUtil.getUserAccount(); |
| | | Date now = new Date(); |
| | | life.setBtmname(BtmTypeConstant.LIFE_CYCLE); |
| | | life.setOwner(creator); |
| | | life.setCreator(creator); |
| | | life.setCreateTime(now); |
| | | life.setLastModifier(creator); |
| | |
| | | LifeCycleLineEvent event = org.springblade.core.tool.utils.BeanUtil.copy(eventDTO, LifeCycleLineEvent.class); |
| | | event.setOid(VciBaseUtil.getPk()); |
| | | event.setPkLifeCycleEdge(edgeOid); |
| | | event.setBtmname(BtmTypeConstant.LIFE_CYCLE_LINE_EVENT); |
| | | event.setOwner(creator); |
| | | event.setCreator(creator); |
| | | event.setCreateTime(now); |
| | | event.setLastModifier(creator); |
| | |
| | | LifeCycleNode node = org.springblade.core.tool.utils.BeanUtil.copy(nodeDTO, LifeCycleNode.class); |
| | | node.setOid(VciBaseUtil.getPk()); |
| | | node.setLifeCycleOid(lifeOid); |
| | | node.setBtmname(BtmTypeConstant.LIFE_CYCLE_NODE); |
| | | node.setOwner(creator); |
| | | node.setCreator(creator); |
| | | node.setCreateTime(now); |
| | | node.setLastModifier(creator); |
| | |
| | | LifeCycleEdge edge = org.springblade.core.tool.utils.BeanUtil.copy(edgeDTO, LifeCycleEdge.class); |
| | | edge.setOid(VciBaseUtil.getPk()); |
| | | edge.setLifeCycleOid(lifeOid); |
| | | edge.setBtmname(BtmTypeConstant.LIFE_CYCLE_EDGE); |
| | | edge.setOwner(creator); |
| | | edge.setCreator(creator); |
| | | edge.setCreateTime(now); |
| | | edge.setLastModifier(creator); |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.vci.ubcs.omd.wrapper; |
| | | |
| | | import com.vci.ubcs.omd.dto.LifeCycleDTO; |
| | | import com.vci.ubcs.omd.entity.LifeCycleEvent; |
| | | import com.vci.ubcs.omd.entity.LifeCycleEvent; |
| | | import com.vci.ubcs.omd.vo.LifeCycleEventVO; |
| | | import com.vci.ubcs.omd.vo.LifeCycleEventVO; |
| | | import org.springblade.core.mp.support.BaseEntityWrapper; |
| | | import org.springblade.core.tool.utils.BeanUtil; |
| | | |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | import java.util.Optional; |
| | | import java.util.stream.Collectors; |
| | | |
| | | /** |
| | | * Description:äºä»¶ |
| | | * |
| | | * @author LiHang |
| | | * @date 2023/5/23 |
| | | */ |
| | | public class LifeCycleEventWrapper extends BaseEntityWrapper<LifeCycleEvent, LifeCycleEventVO> { |
| | | |
| | | public static LifeCycleEventWrapper build() { |
| | | return new LifeCycleEventWrapper(); |
| | | } |
| | | |
| | | @Override |
| | | public LifeCycleEventVO entityVO(LifeCycleEvent entity) { |
| | | LifeCycleEventVO vo = BeanUtil.copy(entity, LifeCycleEventVO.class); |
| | | //è¿éå¤çæä¸¾ç¸å
³ç |
| | | return vo; |
| | | } |
| | | |
| | | public List<LifeCycleEventVO> listEntityVO(List<LifeCycleEvent> LifeCycleEventList){ |
| | | return Optional.ofNullable(LifeCycleEventList).orElseGet(ArrayList::new).stream().map(this::entityVO).collect(Collectors.toList()); |
| | | } |
| | | |
| | | public List<LifeCycleEvent> batchCopyVO2DO(List<LifeCycleEventVO> LifeCycleEventVOList) { |
| | | return Optional.ofNullable(LifeCycleEventVOList).orElseGet(ArrayList::new).stream().map(this::copyVO2DO).collect(Collectors.toList()); |
| | | } |
| | | |
| | | private LifeCycleEvent copyVO2DO(LifeCycleEventVO LifeCycleEventVO) { |
| | | LifeCycleEvent LifeCycleEvent = BeanUtil.copy(LifeCycleEventVO, LifeCycleEvent.class); |
| | | return LifeCycleEvent; |
| | | } |
| | | |
| | | |
| | | public LifeCycleEvent copyDTO2DO(LifeCycleDTO lifeCycleDTO) { |
| | | LifeCycleEvent LifeCycleEvent = BeanUtil.copy(lifeCycleDTO, LifeCycleEvent.class); |
| | | return LifeCycleEvent; |
| | | } |
| | | } |
| | |
| | | */ |
| | | package com.vci.ubcs.system.controller; |
| | | |
| | | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport; |
| | | import com.vci.ubcs.system.entity.DictBiz; |
| | |
| | | return R.data(DictBizWrapper.build().listNodeVO(tree)); |
| | | } |
| | | |
| | | /** |
| | | * è·åå¯éæ©çå表 |
| | | */ |
| | | @GetMapping("/listByFlag") |
| | | @ApiOperationSupport(order = 1) |
| | | @ApiOperation(value = "详æ
", notes = "ä¼ å
¥dict") |
| | | public R<List<DictBiz>> listByFlag(DictBiz dict) { |
| | | // QueryWrapper<DictBiz> wrapper = new QueryWrapper<>(); |
| | | List<DictBiz> details = dictService.list(Condition.getQueryWrapper(dict)); |
| | | return R.data(details); |
| | | } |
| | | |
| | | |
| | | } |
| | |
| | | import org.springblade.core.tool.api.R; |
| | | import com.vci.ubcs.system.entity.DictBiz; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import springfox.documentation.annotations.ApiIgnore; |
| | | |
| | |
| | | * @return |
| | | */ |
| | | @Override |
| | | @GetMapping(CHECK_VALUE) |
| | | @PostMapping(CHECK_VALUE) |
| | | public R getCheck(DictBiz dictBiz) { |
| | | return service.checkOrInsert(dictBiz); |
| | | } |
| | |
| | | @Override |
| | | public R checkOrInsert(DictBiz dictBiz) { |
| | | |
| | | LambdaQueryWrapper<DictBiz> lqw = Wrappers.<DictBiz>query().lambda().eq(DictBiz::getCode, dictBiz.getCode()).eq(DictBiz::getDictKey, dictBiz.getDictKey()); |
| | | LambdaQueryWrapper<DictBiz> lqw = Wrappers.<DictBiz>query().lambda().eq(DictBiz::getCode, dictBiz.getCode()).eq(DictBiz::getDictKey, dictBiz.getDictKey()).eq(DictBiz::getDictValue, dictBiz.getDictValue()); |
| | | Long cnt = baseMapper.selectCount((Func.isEmpty(dictBiz.getId())) ? lqw : lqw.notIn(DictBiz::getId, dictBiz.getId())); |
| | | if (cnt > 0L) { |
| | | return R.fail("åå
¸å·²ç»åå¨ï¼"); |