diff --git a/ant-design-vue-jeecg/src/views/maker/modules/QRCode.vue b/ant-design-vue-jeecg/src/views/maker/modules/QRCode.vue index dd6ff48d..9ca26091 100644 --- a/ant-design-vue-jeecg/src/views/maker/modules/QRCode.vue +++ b/ant-design-vue-jeecg/src/views/maker/modules/QRCode.vue @@ -29,7 +29,7 @@ import { httpAction } from '@/api/manage' import { validateDuplicateValue } from '@/utils/util' - import { Print } from 'vue-print-nb' + import { Print } from 'vue-print-nb-jeecg' export default { name: "MakerQRCode", components: { diff --git a/ant-design-vue-jeecg/src/views/system/Depart3List.vue b/ant-design-vue-jeecg/src/views/system/Depart3List.vue index e98db90a..de072563 100644 --- a/ant-design-vue-jeecg/src/views/system/Depart3List.vue +++ b/ant-design-vue-jeecg/src/views/system/Depart3List.vue @@ -7,11 +7,11 @@ 添加部门 添加下级 - 导出 - - 导入 - - 批量删除 + + + + +
@@ -28,7 +28,7 @@ + label="部门名称"> + - + label="部门编码"> + + label="部门类型"> @@ -170,9 +169,9 @@ - - - + + + @@ -189,16 +188,16 @@ // 表头 const columns = [ { - title: '机构名称', + title: '部门名称', dataIndex: 'departName' }, { - title: '机构类型', + title: '部门类型', align: 'center', dataIndex: 'orgType' }, { - title: '机构编码', + title: '部门编码', dataIndex: 'orgCode', }, { @@ -273,9 +272,9 @@ edges: [] }, validatorRules: { - departName: {rules: [{required: true, message: '请输入机构/部门名称!'}]}, - orgCode: {rules: [{required: true, message: '请输入机构编码!'}]}, - orgCategory: {rules: [{required: true, message: '请输入机构类型!'}]}, + departName: {rules: [{required: true, message: '请输入部门/部门名称!'}]}, + orgCode: {rules: [{required: true, message: '请输入部门编码!'}]}, + orgCategory: {rules: [{required: true, message: '请输入部门类型!'}]}, mobile: {rules: [{validator: this.validateMobile}]} }, url: { @@ -447,10 +446,10 @@ }, // 触发onSelect事件时,为部门树右侧的form表单赋值 setValuesToForm(record) { - if(record.orgCategory == '1'){ - this.orgCategoryDisabled = true; + if(record.orgCategory == '3'){ + this.orgCategoryDisabled =false ; }else{ - this.orgCategoryDisabled = false; + this.orgCategoryDisabled =true; } this.$nextTick(() => { this.form.getFieldDecorator('fax', {initialValue: ''}) diff --git a/ant-design-vue-jeecg/src/views/system/modules/DepartModal.vue b/ant-design-vue-jeecg/src/views/system/modules/DepartModal.vue index 7a7d1b17..13ba6789 100644 --- a/ant-design-vue-jeecg/src/views/system/modules/DepartModal.vue +++ b/ant-design-vue-jeecg/src/views/system/modules/DepartModal.vue @@ -15,10 +15,10 @@ - + + label="部门类型"> @@ -138,8 +135,8 @@ confirmLoading: false, form: this.$form.createForm(this), validatorRules: { - departName: {rules: [{required: true, message: '请输入机构/部门名称!'}]}, - orgCode: {rules: [{required: true, message: '请输入机构编码!'}]}, + departName: {rules: [{required: true, message: '请输入部门/部门名称!'}]}, + orgCode: {rules: [{required: true, message: '请输入部门编码!'}]}, mobile: {rules: [{validator: this.validateMobile}]} }, url: { diff --git a/ant-design-vue-jeecg/src/views/zyworkorder/modules/QRCode.vue b/ant-design-vue-jeecg/src/views/zyworkorder/modules/QRCode.vue index a745e871..5975b44c 100644 --- a/ant-design-vue-jeecg/src/views/zyworkorder/modules/QRCode.vue +++ b/ant-design-vue-jeecg/src/views/zyworkorder/modules/QRCode.vue @@ -30,7 +30,7 @@ import { httpAction } from '@/api/manage' import { validateDuplicateValue } from '@/utils/util' - import { Print } from 'vue-print-nb' + import { Print } from 'vue-print-nb-jeecg' export default { name: "QRCode", components: {