diff --git a/jero-web/src/views/documentManage/tags/dialog/TagForm.vue b/jero-web/src/views/documentManage/tags/dialog/TagForm.vue index b82a2248b..10c63f01a 100644 --- a/jero-web/src/views/documentManage/tags/dialog/TagForm.vue +++ b/jero-web/src/views/documentManage/tags/dialog/TagForm.vue @@ -17,7 +17,15 @@ - + + + + {{$t('DocumentLibrary')}} + + + {{$t('DocumentSplitting')}} + + @@ -73,7 +81,7 @@ :placeholder="$t('SelectWhetherDisplayList')" /> - + @@ -89,14 +97,14 @@ -

{{$t('DisplayOtherModules')}}

- - +

{{$t('DisplayOtherModules')}}

+ + - + @@ -147,13 +155,24 @@ }, editData:{ type: Object, + default:{} }, editId:{ - type:String + type:String, + default:'' }, submitEdit:{ - type:String + type:String, + default:'' }, + disableEdit:{ + type:Boolean, + default:false + }, + submitKey:{ + type:String, + default:'1' + } }, data () { return { @@ -260,6 +279,9 @@ }, submitEdit(){ + }, + disableEdit(){ + } }, computed: { @@ -289,6 +311,7 @@ this.showFlowData(); }, mounted() { + console.log('disableEdit',this.disableEdit) this.loadContent() this.loadShowArea() // console.log('edit',this.submitEdit) diff --git a/jero-web/src/views/documentManage/tags/index.vue b/jero-web/src/views/documentManage/tags/index.vue index ebecc9b1d..9c2118a61 100644 --- a/jero-web/src/views/documentManage/tags/index.vue +++ b/jero-web/src/views/documentManage/tags/index.vue @@ -3,10 +3,10 @@
- + - + diff --git a/jero-web/src/views/documentManage/tags/tabs/TagItem.vue b/jero-web/src/views/documentManage/tags/tabs/TagItem.vue index d5b99735f..257160e40 100644 --- a/jero-web/src/views/documentManage/tags/tabs/TagItem.vue +++ b/jero-web/src/views/documentManage/tags/tabs/TagItem.vue @@ -29,7 +29,7 @@ {{$t('add')}}
-
+
{{$t('ExhibitionAreaManagement')}}
@@ -42,7 +42,7 @@
- + @@ -142,7 +143,45 @@ width: 170 } ], - + taglabColumns1: [ + { + title: this.$t('ChineseName'), + align: "center", + width: 100, + dataIndex: 'dbFieldTxt', + }, + { + title: this.$t('enName'), + align: "center", + width: 100, + dataIndex: 'dbFieldEnName', + }, + { + title: this.$t('AttributeType'), + align: "center", + width: 100, + dataIndex: 'fieldShowTypeName', + }, + { + title: this.$t('FieldLength'), + align: "center", + width: 80, + dataIndex: 'dbLength' + }, + { + title: this.$t('DisplayOrder'), + align: "center", + width: 80, + dataIndex: 'orderNum' + }, + { + title: this.$t('operation'), + dataIndex: 'action', + scopedSlots: {customRender: 'action'}, + align: "center", + width: 170 + } + ], areaVisible:false, areaTable:[], areaTotal:0, @@ -156,8 +195,9 @@ ids:[], disableSubmit:false, selectedRowKey:[], - spinningDrawer:false - + spinningDrawer:false, + disableEdit:true, + submitKey:'1' } }, mounted() { @@ -234,11 +274,12 @@ callbackTab(value){ this.key=value if(value==1){ - + this.submitKey='1' this.loadData(1) // this.tableData=this.taglab // this.tableData=this.taglabSplit }else if(value==2){ + this.submitKey='2' this.loadData(0) } }, @@ -264,6 +305,7 @@ //编辑 visibleEd(val,id,title){ this.editFlag=false + this.disableEdit=true this.drawerVisible=val this.titleTag=title this.editId=id @@ -375,6 +417,7 @@ }, handleAddPop(val){ this.editData={} + this.disableEdit=false this.drawerVisible=true this.titleTag=this.$t('NewLabelItem') this.submitEdit='add'