| | |
| | | } |
| | | // 属性映射保存方法 |
| | | export const batchAddSave = (params) => { |
| | | console.log(params) |
| | | return request({ |
| | | url: '/api/ubcs-applyjtcodeservice/DockingPreApplyCode/batchAddSave', |
| | | method: 'post', |
| | |
| | | } |
| | | // 同步集团属性模型视图 |
| | | export const syncClassifyModel = (params) => { |
| | | console.log(params) |
| | | return request({ |
| | | url: '/api/ubcs-applyjtcodeservice/DockingPreApplyCode/syncClassifyModel', |
| | | method: 'post', |
| | | params: params |
| | | }) |
| | | } |
| | | } |
| | |
| | | if (this.editStyleFlag) { |
| | | return '800px' |
| | | } else { |
| | | return 'calc(100vh - 595px)' |
| | | return 'calc(100vh - 565px)' |
| | | } |
| | | } |
| | | }, |
| | |
| | | <style lang="scss" scoped> |
| | | //固定列高度 |
| | | /deep/ .el-table__fixed { |
| | | height: calc(100vh - 612px) !important; |
| | | height: calc(100vh - 584px) !important; |
| | | } |
| | | |
| | | ///deep/ .el-table__fixed[v-if='editStyleFlag'] { |
| | |
| | | index: true, |
| | | border: true, |
| | | columnBtn: false, |
| | | height: 180, |
| | | height: 150, |
| | | refreshBtn:false, |
| | | addBtn: this.Formlist.length <= 0 && this.nodeClickList != "", |
| | | editBtn: false, |
| | | delBtn: false, |
| | |
| | | <template> |
| | | <template> |
| | | <basic-container> |
| | | <avue-tabs :option="Taboption" @change="handleChange"></avue-tabs> |
| | | <span v-if="type.prop==='tab1'"> |
| | |
| | | header: true, |
| | | rowKey: 'oid', |
| | | selection: false, |
| | | refreshBtn:false, |
| | | refreshBtn: false, |
| | | column: [ |
| | | {label: '集团分类', prop: 'sourceClassifyName', minWidth: 80}, |
| | | {label: '所属视图', prop: 'viewName', minWidth: 80}, |
| | |
| | | message: "请选择一条集团分类" |
| | | }); |
| | | } else { |
| | | const response = await syncClassifyModel(param) |
| | | if (response.status === 200) { |
| | | console.log(response) |
| | | try { |
| | | const response = await syncClassifyModel(param); |
| | | if (response.status === 200) { |
| | | this.$message.success(response.data.msg) |
| | | } |
| | | } catch (error) { |
| | | console.error(error); |
| | | } |
| | | } |
| | | }, |