zhaowei
2025-07-02 c4c807f8c8d6f8ca7acde07afdd444e99e403818
优化设备台账页面样式
已修改2个文件
63 ■■■■■ 文件已修改
src/views/eam/equipment/EamEquipmentLedger.vue 29 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/eam/equipment/modules/EamEquipmentModal.vue 34 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/eam/equipment/EamEquipmentLedger.vue
@@ -11,13 +11,13 @@
            </a-form-item>
          </a-col>
          <a-col :xl="6" :lg="7" :md="8" :sm="24">
            <a-form-item label="设备编号">
              <a-input placeholder="请输入设备编号" v-model="queryParam.equipmentCode"></a-input>
            <a-form-item label="统一编码">
              <a-input placeholder="请输入统一编码模糊查询" v-model="queryParam.equipmentCode"></a-input>
            </a-form-item>
          </a-col>
          <a-col :xl="6" :lg="7" :md="8" :sm="24">
            <a-form-item label="设备名称">
              <a-input placeholder="请输入设备名称" v-model="queryParam.equipmentName"></a-input>
              <a-input placeholder="请输入设备名称模糊查询" v-model="queryParam.equipmentName"></a-input>
            </a-form-item>
          </a-col>
          <template v-if="toggleSearchStatus">
@@ -244,7 +244,6 @@
          {
            title: '统一编码',
            align: 'center',
            width: 100,
            dataIndex: 'equipmentCode',
            scopedSlots: { customRender: 'equipmentCode' },
            ellipsis: true,
@@ -267,55 +266,46 @@
          {
            title: '所属分类',
            align: 'center',
            width: 100,
            dataIndex: 'equipmentCategory_dictText'
          },
          {
            title: '保养状态',
            align: 'center',
            width: 100,
            dataIndex: 'maintenanceStatus_dictText'
          },
          {
            title: '维修状态',
            align: 'center',
            width: 100,
            dataIndex: 'repairStatus_dictText'
          },
          {
            title: '技术状态',
            align: 'center',
            width: 100,
            dataIndex: 'technologyStatus_dictText'
          },
          {
            title: 'ABC标识',
            align: 'center',
            width: 100,
            dataIndex: 'abcFlag'
          },
          {
            title: '维修班组',
            align: 'center',
            width: 100,
            dataIndex: 'repairDepartOrgCode'
          },
          {
            title: '安全配置',
            align: 'center',
            width: 100,
            dataIndex: 'securityConfiguration'
          },
          {
            title: '冷却系统',
            align: 'center',
            width: 100,
            dataIndex: 'coolSystem'
          },
          {
            title: '灭火器',
            align: 'center',
            width: 100,
            dataIndex: 'fireExtinguisher'
          },
          {
@@ -332,37 +322,31 @@
          {
            title: '系统',
            align: 'center',
            width: 100,
            dataIndex: 'system'
          },
          {
            title: '设备端口',
            align: 'center',
            width: 100,
            dataIndex: 'equipmentPort'
          },
          {
            title: '坐标数量',
            align: 'center',
            width: 100,
            dataIndex: 'coordinateNum'
          },
          {
            title: '重量',
            align: 'center',
            width: 100,
            dataIndex: 'equipmentWeight'
            dataIndex: 'weightUnit'
          },
          {
            title: '重量计量单位',
            align: 'center',
            width: 150,
            dataIndex: 'weightUnit'
          },
          {
            title: '功能位置',
            align: 'center',
            width: 100,
            dataIndex: 'functionalLocation'
          },
          {
@@ -374,13 +358,11 @@
          {
            title: '出厂日期',
            align: 'center',
            width: 100,
            dataIndex: 'leaveFactoryDate'
          },
          {
            title: '立项卡号',
            align: 'center',
            width: 100,
            dataIndex: 'cardNumber'
          },
          {
@@ -391,7 +373,6 @@
          {
            title: '验收日期',
            align: 'center',
            width: 100,
            dataIndex: 'acceptanceCheckDate'
          },
          {
@@ -414,13 +395,11 @@
          {
            title: '型号',
            align: 'center',
            width: 100,
            dataIndex: 'equipmentModel'
          },
          {
            title: '设备规格',
            align: 'center',
            width: 100,
            dataIndex: 'equipmentSpecification'
          },
          {
src/views/eam/equipment/modules/EamEquipmentModal.vue
@@ -9,6 +9,8 @@
    @ok="handleOk"
    @cancel="handleCancel"
    cancelText="关闭">
    <a-tabs tab-position="left">
      <a-tab-pane tab="基础信息" :key="1">
    <a-spin :spinning="confirmLoading">
      <j-form-container :disabled="disableSubmit">
        <a-form-model ref="form" :model="model" :rules="validatorRules" :labelCol="labelCol"
@@ -33,7 +35,8 @@
            <a-col :span="customSpan">
              <a-form-model-item prop="factoryOrgCode" label="使用部门">
                <a-tree-select v-model="model.factoryOrgCode" style="width: 100%" show-search
                               :tree-data="productionTreeData" :dropdown-style="{ maxHeight: '400px', overflow: 'auto' }"
                                   :tree-data="productionTreeData"
                                   :dropdown-style="{ maxHeight: '400px', overflow: 'auto' }"
                               placeholder="请选择使用部门" allow-clear treeNodeFilterProp="title"
                               :replaceFields="{key:'orgCode',value:'orgCode'}"
                               searchPlaceholder="请输入关键字搜索" tree-default-expand-all/>
@@ -257,6 +260,35 @@
        </a-form-model>
      </j-form-container>
    </a-spin>
      </a-tab-pane>
      <template v-if="disableSubmit">
        <a-tab-pane tab="设备文档" :key="2">
        </a-tab-pane>
        <a-tab-pane tab="点检工单" :key="3">
        </a-tab-pane>
        <a-tab-pane tab="二保工单" :key="4">
        </a-tab-pane>
        <a-tab-pane tab="三保工单" :key="5">
        </a-tab-pane>
        <a-tab-pane tab="维修工单" :key="6">
        </a-tab-pane>
        <a-tab-pane tab="保养标准" :key="7">
        </a-tab-pane>
        <a-tab-pane tab="工艺参数" :key="8">
        </a-tab-pane>
        <a-tab-pane tab="设备精度" :key="9">
        </a-tab-pane>
      </template>
    </a-tabs>
  </j-modal>
</template>