From ded6e8d2312e139e8ce770c7f1d5830bf2db4af6 Mon Sep 17 00:00:00 2001 From: xiejun <xj@2023> Date: 星期三, 19 七月 2023 11:39:41 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- Source/UBCS-WEB/src/components/Tree/TemplatePro.vue | 323 ----------------------------------------------------- 1 files changed, 5 insertions(+), 318 deletions(-) diff --git a/Source/UBCS-WEB/src/components/Tree/TemplatePro.vue b/Source/UBCS-WEB/src/components/Tree/TemplatePro.vue index 116aa50..b030217 100644 --- a/Source/UBCS-WEB/src/components/Tree/TemplatePro.vue +++ b/Source/UBCS-WEB/src/components/Tree/TemplatePro.vue @@ -2,14 +2,14 @@ <basic-container> <avue-tabs :option="Taboption" @change="handleChange"></avue-tabs> <span v-if="type.prop==='tab1'"> - <attrCrud :ProData="ProData" :crudOid="crudOid" :crudArray="crudArray" :Formlist="Formlist" :codeClassifyOid="codeClassifyOid"></attrCrud> + <attrCrud :ProData="ProData" :crudOid="crudOid" :crudLCStatus="crudLCStatus" :crudArray="crudArray" :Formlist="Formlist" :codeClassifyOid="codeClassifyOid"></attrCrud> </span> <span v-else-if="type.prop==='tab2'"> - <FlowPath code="8b5e2017-990f-454a-9c39-4c4eeeb57553"></FlowPath> + <FlowPath :code="this.crudOid" :crudLCStatus="crudLCStatus"></FlowPath> </span> <span v-else-if="type.prop==='tab3'"> -<!-- <stage :visible.sync="visibleStage" code="8b5e2017-990f-454a-9c39-4c4eeeb57553"></stage>--> + <stage :code="this.crudOid"></stage> </span> </basic-container> @@ -18,7 +18,7 @@ <script> export default { name: "TemplatePro.vue", - props: ['ProData','crudOid','crudArray','Formlist','codeClassifyOid'], + props: ['ProData','crudOid','crudLCStatus','crudArray','Formlist','codeClassifyOid'], data: function () { return { type: {}, @@ -45,324 +45,11 @@ methods: { // Tab鏍忓垏鎹� handleChange(column) { - this.type = column - this.$message.success(JSON.stringify(column)) + this.type = column; }, } } </script> - - -<!--<template>--> -<!-- <!– 浣跨敤 Element UI 鐨勮〃鏍肩粍浠跺睍绀烘暟鎹� –>--> -<!-- <!– 瀵规瘡琛屾暟鎹覆鏌撲竴涓〃鏍艰缁勪欢 –>--> -<!-- <el-table :data="data">--> -<!-- <el-table-column v-for="column in columns" :key="column.prop" :label="column.label">--> -<!-- <template slot-scope="scope">--> -<!-- <template v-if="isEditing(scope.$index, column.prop)">--> -<!-- <!– 浣跨敤鑷畾涔夎緭鍏ユ锛岀粦瀹氭暟鎹苟鐩戝惉 blur 浜嬩欢 –>--> -<!-- <el-input v-model="editorModel[scope.$index][column.prop]" ref="editor"--> -<!-- @blur="onEditorBlur(scope.$index, column.prop)">--> -<!-- </el-input>--> -<!-- </template>--> -<!-- <template v-else>--> -<!-- <!– 灏嗘暟鎹覆鏌撲负琛ㄦ牸鍗曞厓鏍硷紝缁戝畾 click 浜嬩欢 –>--> -<!-- <div @click="onCellClick(scope.$index, column.prop)"--> -<!-- :style="{cursor: 'pointer', backgroundColor: isEditing(scope.$index, column.prop) ? '#F0F0F0' : 'transparent'}">--> -<!-- {{ scope.row[column.prop] === "" ? '' : scope.row[column.prop] }}--> -<!-- </div>--> -<!-- </template>--> -<!-- </template>--> -<!-- </el-table-column>--> -<!-- </el-table>--> -<!--</template>--> - -<!--<script>--> -<!--export default {--> -<!-- data() {--> -<!-- // 缁勪欢鐨勬暟鎹紝鍖呮嫭琛ㄦ牸鐨勬暟鎹�佸垪瀹氫箟鍜屽綋鍓嶆鍦ㄧ紪杈戠殑琛屽拰鍒�--> -<!-- return {--> -<!-- data: [--> -<!-- { id: 1, name: '寮犱笁', age: 18, attributegroup: '鐢�', attributeDataTypeText: '骞夸笢鐪佹繁鍦冲競' },--> -<!-- { id: 2, name: '鏉庡洓', age: 20, attributegroup: '濂�', attributeDataTypeText: '鍖椾含甯傛捣娣�鍖�' },--> -<!-- { id: 3, name: '鐜嬩簲', age: 22, attributegroup: '鐢�', attributeDataTypeText: '涓婃捣甯傛郸涓滄柊鍖�' },--> -<!-- { id: 4, name: '璧靛叚', age: 24, attributegroup: '濂�', attributeDataTypeText: '骞夸笢鐪佸箍宸炲競' }--> -<!-- ],--> -<!-- columns: [ // 瀹氫箟琛ㄦ牸鐨勫垪--> -<!-- {--> -<!-- label: "灞炴�ц嫳鏂囩紪鍙�",--> -<!-- prop: "id",--> -<!-- fixed: true,--> -<!-- cell: false,--> -<!-- labelWidth: 110,--> -<!-- width: 125,--> -<!-- sortable: true,--> -<!-- },--> -<!-- {--> -<!-- label: "灞炴�т腑鏂囧悕绉�",--> -<!-- prop: "name",--> -<!-- fixed: true,--> -<!-- cell: false,--> -<!-- width: 125,--> -<!-- sortable: true--> -<!-- },--> -<!-- {--> -<!-- label: "灞炴�у垎缁�",--> -<!-- prop: "attributegroup",--> -<!-- cell: false,--> -<!-- sortable: true,--> -<!-- width: 125,--> -<!-- },--> -<!-- {--> -<!-- label: "绫诲瀷",--> -<!-- prop: "attributeDataTypeText",--> -<!-- cell: false,--> -<!-- sortable: true,--> -<!-- },--> -<!-- {--> -<!-- label: "鍒楄〃瀹藉害",--> -<!-- prop: "attrTableWidth",--> -<!-- cell: false,--> -<!-- sortable: true,--> -<!-- width: 105,--> -<!-- },--> -<!-- {--> -<!-- label: "鍏抽敭灞炴��",--> -<!-- prop: "keyattrflag",--> -<!-- cell: false,--> -<!-- },--> -<!-- {--> -<!-- label: "鏌ヨ灞炴��",--> -<!-- prop: "queryattrflag",--> -<!-- cell: false,--> -<!-- },--> -<!-- {--> -<!-- label: "楂樼骇鏌ヨ灞炴��",--> -<!-- prop: "seniorqueryattrflag",--> -<!-- width: 95,--> -<!-- cell: false,--> -<!-- },--> -<!-- {--> -<!-- label: "鐩镐技鏌ヨ灞炴��",--> -<!-- prop: "samerepeatattrflag",--> -<!-- width: 95,--> -<!-- cell: false,--> -<!-- },--> -<!-- {--> -<!-- label: "蹇呰緭",--> -<!-- prop: "requireflag",--> -<!-- cell: false,--> -<!-- },--> -<!-- {--> -<!-- label: "琛ㄥ崟鏄剧ず",--> -<!-- prop: "formdisplayflag",--> -<!-- cell: false,--> -<!-- },--> -<!-- {--> -<!-- label: "鍒楄〃鏄剧ず",--> -<!-- prop: "tabledisplayflag",--> -<!-- cell: false,--> -<!-- },--> -<!-- {--> -<!-- label: "鍙",--> -<!-- prop: "readonlyflag",--> -<!-- cell: false,--> -<!-- },--> -<!-- {--> -<!-- label: "鍒楄〃鎺掑簭",--> -<!-- prop: "sortattrflag",--> -<!-- cell: false,--> -<!-- },--> - -<!-- {--> -<!-- label: "澶氳鏂囨湰",--> -<!-- prop: "textareaflag",--> -<!-- cell: false,--> -<!-- },--> -<!-- {--> -<!-- label: "榛樿鍊�",--> -<!-- prop: "defaultvalue",--> -<!-- sortable: true,--> -<!-- cell: false,--> -<!-- width: 95,--> -<!-- },--> -<!-- {--> -<!-- label: "鍓嶇紑",--> -<!-- prop: "prefixvalue",--> -<!-- sortable: true,--> -<!-- cell: false,--> -<!-- },--> -<!-- {--> -<!-- label: "鍚庣紑",--> -<!-- prop: "suffixvalue",--> -<!-- sortable: true,--> -<!-- cell: false,--> -<!-- },--> -<!-- {--> -<!-- label: "缁勫悎瑙勫垯",--> -<!-- prop: "componentrule",--> -<!-- sortable: true,--> -<!-- cell: false,--> -<!-- width: 105,--> -<!-- },--> -<!-- {--> -<!-- label: "楠岃瘉瑙勫垯",--> -<!-- prop: "verifyrule",--> -<!-- sortable: true,--> -<!-- cell: false,--> -<!-- width: 105,--> -<!-- },--> -<!-- {--> -<!-- label: "鏃堕棿鏍煎紡",--> -<!-- prop: "codedateformat",--> -<!-- sortable: true,--> -<!-- width: 105,--> -<!-- cell: false,--> -<!-- },--> -<!-- {--> -<!-- label: "鍒嗙被娉ㄥ叆",--> -<!-- prop: "classifyinvokelevel",--> -<!-- cell: false,--> -<!-- },--> -<!-- {--> -<!-- label: "鏋氫妇娉ㄥ叆",--> -<!-- prop: "enumString",--> -<!-- cell: false,--> -<!-- },--> -<!-- {--> -<!-- label: "绾ц仈灞炴��",--> -<!-- prop: "parentCode",--> -<!-- cell: false,--> -<!-- },--> -<!-- {--> -<!-- label: "鍙傜収閰嶇疆",--> -<!-- prop: "referConfig",--> -<!-- cell: false,--> -<!-- },--> -<!-- {--> -<!-- label: "绾ц仈鏌ヨ灞炴��",--> -<!-- prop: "parentQueryAttr",--> -<!-- width: 105,--> -<!-- cell: false,--> -<!-- },--> -<!-- {--> -<!-- label: "閫夋嫨搴撴爣璇�",--> -<!-- prop: "libraryIdentification",--> -<!-- width: 105,--> -<!-- cell: false,--> -<!-- },--> -<!-- {--> -<!-- label: "濉啓鎻愮ず",--> -<!-- prop: "explain",--> -<!-- cell: false,--> -<!-- },--> -<!-- {--> -<!-- label: "琛ㄥ崟鏄剧ず鏍峰紡",--> -<!-- prop: "formdisplaystyle",--> -<!-- width: 105,--> -<!-- cell: false,--> -<!-- },--> -<!-- {--> -<!-- label: "琛ㄦ牸鏄剧ず鏍峰紡",--> -<!-- prop: "tabledisplaystyle",--> -<!-- width: 105,--> -<!-- cell: false,--> -<!-- },--> -<!-- {--> -<!-- label: "琛ㄥ崟瓒呴摼鎺�",--> -<!-- prop: "formhref",--> -<!-- width: 95,--> -<!-- cell: false,--> -<!-- },--> -<!-- {--> -<!-- label: "琛ㄦ牸瓒呴摼鎺�",--> -<!-- prop: "tablehref",--> -<!-- width: 95,--> -<!-- cell: false,--> -<!-- },--> -<!-- {--> -<!-- label: "琛ㄦ牸鏄剧ずjs",--> -<!-- prop: "tabledisplayjs",--> -<!-- width: 95,--> -<!-- cell: false,--> -<!-- },--> -<!-- {--> -<!-- label: "闀垮害",--> -<!-- prop: "controllength",--> -<!-- cell: false,--> -<!-- },--> -<!-- {--> -<!-- label: "灏忔暟绮惧害",--> -<!-- prop: "precisionlength",--> -<!-- cell: false,--> -<!-- },--> -<!-- {--> -<!-- label: "鍙栧�艰寖鍥�",--> -<!-- prop: "valuearea",--> -<!-- sortable: true,--> -<!-- cell: false,--> -<!-- width: 105,--> -<!-- },--> - -<!-- ],--> -<!-- editingIndex: -1, // 褰撳墠姝e湪缂栬緫鐨勮鐨勭储寮�--> -<!-- editingColumn: '', // 褰撳墠姝e湪缂栬緫鐨勫垪鐨勫睘鎬у悕--> -<!-- editorModel: [] // 缂栬緫妗嗙殑鏁版嵁锛屼娇鐢ㄦ暟缁勪繚瀛樻瘡涓崟鍏冩牸鐨勬暟鎹�--> -<!-- };--> -<!-- },--> -<!-- created() {--> -<!-- // 鍦ㄧ粍浠跺垱寤烘椂锛屽垵濮嬪寲缂栬緫妗嗙殑鏁版嵁--> -<!-- this.editorModel = this.data.map(row => {--> -<!-- const editorRow = {};--> -<!-- this.columns.forEach(column => {--> -<!-- editorRow[column.prop] = row[column.prop];--> -<!-- });--> -<!-- return editorRow;--> -<!-- });--> -<!-- },--> -<!-- methods: {--> -<!-- // 鍗曞厓鏍肩偣鍑讳簨浠跺鐞嗗嚱鏁�--> -<!-- onCellClick(rowIndex, columnProp) {--> -<!-- if (this.editingIndex >= 0 && this.editingColumn) {--> -<!-- this.onEditorBlur(this.editingIndex, this.editingColumn);--> -<!-- return;--> -<!-- }--> - -<!-- const cellValue = this.data[rowIndex][columnProp];--> -<!-- if (cellValue === undefined || cellValue === null) {--> -<!-- this.data[rowIndex][columnProp] = '';--> -<!-- }--> - -<!-- this.editingIndex = rowIndex;--> -<!-- this.editingColumn = columnProp;--> - -<!-- this.$nextTick(() => {--> -<!-- this.$refs.editor.focus();--> -<!-- });--> -<!-- },--> - -<!-- // 缂栬緫妗嗗け鐒︿簨浠跺鐞嗗嚱鏁�--> -<!-- onEditorBlur(rowIndex, columnProp) {--> -<!-- // 灏嗗綋鍓嶇紪杈戞鐨勬暟鎹繚瀛樺埌琛ㄦ牸鏁版嵁涓�--> -<!-- const editorValue = this.editorModel[rowIndex][columnProp];--> -<!-- if (editorValue === '') {--> -<!-- this.data[rowIndex][columnProp] = undefined;--> -<!-- } else {--> -<!-- this.data[rowIndex][columnProp] = editorValue;--> -<!-- }--> - -<!-- this.editingIndex = -1;--> -<!-- this.editingColumn = '';--> -<!-- },--> -<!-- // 鍒ゆ柇鎸囧畾鍗曞厓鏍兼槸鍚﹀湪缂栬緫鐘舵��--> -<!-- isEditing(rowIndex, columnProp) {--> -<!-- return rowIndex === this.editingIndex && columnProp === this.editingColumn;--> -<!-- }--> -<!-- }--> -<!--};--> -<!--</script>--> - - <style lang="scss"> //淇敼鍒嗙被娉ㄥ叆瀵硅瘽妗嗗叕鍏辨牱寮� .mydialog .el-dialog__body { -- Gitblit v1.9.3