chenrui 4 年之前
父节点
当前提交
37648f4a30

+ 3 - 3
src/views/BasicSettings/Organization.vue

@@ -73,9 +73,9 @@ export default {
   data () {
     return {
       columns: [
-        { title: '组织机构名称', dataIndex: 'name', width: '100', align: 'left' },
-        { title: '创建时间', dataIndex: 'createDate', width: '100', align: 'center' },
-        { title: '操作', scopedSlots: { customRender: 'action' }, width: '265', align: 'center' }
+        { title: '组织机构名称', dataIndex: 'name', width: 200, align: 'left' },
+        { title: '创建时间', dataIndex: 'createDate', width: 150, align: 'center' },
+        { title: '操作', scopedSlots: { customRender: 'action' }, width: 150, align: 'center' }
       ],
       // 加载数据方法 必须为 Promise 对象
       loadData: parameter => {

+ 8 - 8
src/views/BasicSettings/StoreAssociatedEquipmentModal.vue

@@ -120,18 +120,18 @@ export default {
     return {
       isShow: this.openModal, //  弹框是否展示
       columns: [
-        { title: '序号', dataIndex: 'no', width: '60', align: 'center' },
-        { title: '设备名称', dataIndex: 'vsDeviceName', width: '100', align: 'center' },
-        { title: '设备ID', dataIndex: 'vsDeviceId', width: '100', align: 'center' },
-        { title: '操作', scopedSlots: { customRender: 'action' }, width: '265', align: 'center' }
+        { title: '序号', dataIndex: 'no', width: 60, align: 'center' },
+        { title: '设备名称', dataIndex: 'vsDeviceName', width: 100, align: 'center' },
+        { title: '设备ID', dataIndex: 'vsDeviceId', width: 150, align: 'center' },
+        { title: '操作', scopedSlots: { customRender: 'action' }, width: 80, align: 'center' }
       ],
       equipmentData: [], //  已绑设备
       passagewayData: [], //  设备通道
       passagewayColumns: [
-        { title: '序号', dataIndex: 'no', width: '60', align: 'center' },
-        { title: '设备通道名称', dataIndex: 'name', width: '100', align: 'center' },
-        { title: '设备ID', dataIndex: 'deviceId', width: '100', align: 'center' },
-        { title: '操作', scopedSlots: { customRender: 'action' }, width: '265', align: 'center' }
+        { title: '序号', dataIndex: 'no', width: 60, align: 'center' },
+        { title: '设备通道名称', dataIndex: 'name', width: 100, align: 'center' },
+        { title: '设备ID', dataIndex: 'deviceId', width: 150, align: 'center' },
+        { title: '操作', scopedSlots: { customRender: 'action' }, width: 80, align: 'center' }
       ],
       visible: false, //  编辑  通道/机位名称
       form: {

+ 9 - 9
src/views/BasicSettings/StoreManagement.vue

@@ -115,15 +115,15 @@ export default {
         isEnable: '' //  启用状态
       },
       columns: [
-        { title: '序号', dataIndex: 'no', width: '60', align: 'center' },
-        { title: '创建时间', dataIndex: 'createDate', width: '100', align: 'center' },
-        { title: '组织机构', dataIndex: 'orgCodeName', width: '100', align: 'center' },
-        { title: '门店名称', dataIndex: 'name', width: '100', align: 'center' },
-        { title: '门店类型', dataIndex: 'typeDictValue', width: '100', align: 'center' },
-        { title: '负责人名称', dataIndex: 'managerName', width: '100', align: 'center' },
-        { title: '负责人手机', dataIndex: 'managerMobile', width: '100', align: 'center' },
-        { title: '启用状态', scopedSlots: { customRender: 'isEnable' }, width: '100', align: 'center' },
-        { title: '操作', scopedSlots: { customRender: 'action' }, width: '265', align: 'center' }
+        { title: '序号', dataIndex: 'no', width: 60, align: 'center' },
+        { title: '创建时间', dataIndex: 'createDate', width: 150, align: 'center' },
+        { title: '组织机构', dataIndex: 'orgCodeName', width: 120, align: 'center' },
+        { title: '门店名称', dataIndex: 'name', width: 120, align: 'center' },
+        { title: '门店类型', dataIndex: 'typeDictValue', width: 80, align: 'center' },
+        { title: '负责人名称', dataIndex: 'managerName', width: 100, align: 'center' },
+        { title: '负责人手机', dataIndex: 'managerMobile', width: 100, align: 'center' },
+        { title: '启用状态', scopedSlots: { customRender: 'isEnable' }, width: 80, align: 'center' },
+        { title: '操作', scopedSlots: { customRender: 'action' }, width: 120, align: 'center' }
       ],
       // 加载数据方法 必须为 Promise 对象
       loadData: parameter => {