qushaowei
2023-09-21 6c7ca8b4290cd6afecb680c39be00fc2480a2dca
src/views/eam/modules/equipmentCategory/EquipmentCategoryModel.vue
@@ -60,7 +60,10 @@
              />
            </a-form-item>
          </a-col>
          <a-col :span="12" v-if="parentId!='-1'">
          <a-col
            :span="12"
            v-if="parentId!='-1'"
          >
            <a-form-item
              label="设备分类名称"
              :labelCol="labelCol"
@@ -74,7 +77,10 @@
              />
            </a-form-item>
          </a-col>
          <a-col :span="12" v-if="parentId=='-1'">
          <a-col
            :span="12"
            v-if="parentId=='-1'"
          >
            <a-form-item
              label="设备分类名称"
              :labelCol="labelCol"
@@ -91,7 +97,10 @@
            </a-form-item>
          </a-col>
        </a-row>
          <a-row :gutter="24">
        <!-- <a-row
          hidden
          :gutter="24"
        >
          <a-col :span="12">
            <a-form-item
              :labelCol="labelCol"
@@ -124,7 +133,7 @@
              />
            </a-form-item>
          </a-col>
        </a-row>
        </a-row> -->
          <a-row :gutter="24">
          <a-col :span="12">
            <a-form-item
@@ -142,7 +151,11 @@
          </a-col>
        </a-row>
      </a-form>
      <a-divider  v-if="title!='新增'" orientation="center" style="font-size: large;font-style: italic;color: #66aeed;"> 选择子设备分类使其跟随父设备分类属性 </a-divider>
      <a-divider
        v-if="title!='新增'"
        orientation="center"
        style="font-size: large;font-style: italic;color: #66aeed;"
      > 选择子设备分类使其跟随父设备分类属性 </a-divider>
      <a-tabs
        type="card"
        defaultActiveKey="1"
@@ -151,11 +164,16 @@
      <a-tab-pane
          tab='子设备分类'
          key='1'
        >
      <div class="ant-alert ant-alert-info" style="margin-bottom: 16px;">
          <div
            class="ant-alert ant-alert-info"
            style="margin-bottom: 16px;"
          >
        <i class="anticon anticon-info-circle ant-alert-icon"></i> 已选择 <a style="font-weight: 600">{{ selectedRowKeys.length }}</a>项
        <a style="margin-left: 24px" @click="onClearSelected">清空</a>
            <a
              style="margin-left: 24px"
              @click="onClearSelected"
            >清空</a>
      </div>
      <a-table
      ref="table"
@@ -170,8 +188,15 @@
      @change="handleTableChange"
      :scroll="{ x: true}"
     >
        <template slot="num" slot-scope="text" >
          <a-tooltip placement="top" :title="text" trigger="hover">
            <template
              slot="num"
              slot-scope="text"
            >
              <a-tooltip
                placement="top"
                :title="text"
                trigger="hover"
              >
            <div>
              <template slot="title"> </template>
              <p style="cusor:pointer; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; width: 130px;">{{ text }}</p>
@@ -180,7 +205,6 @@
        </template>
      </a-table>
    </a-tab-pane>
    </a-tabs>