loulijun2021
2022-12-31 b012ab3a1e5495be068c543eb8f0482124db13b5
src/views/sbgl/sbqd.vue
@@ -151,18 +151,21 @@
            label="设备编码"
            min-width="110"
            sortable="custom"
            show-tooltip-when-overflow
          />
          <el-table-column
            prop="name"
            label="设备名称"
            min-width="110"
            sortable="custom"
            show-tooltip-when-overflow
          />
          <el-table-column
            prop="eqptype_name"
            label="设备类型"
            min-width="110"
            sortable="custom"
            show-tooltip-when-overflow
          />
          <el-table-column
            prop="eqpgroup_name"
@@ -175,15 +178,16 @@
            prop="enable"
            label="使用状态"
            sortable="custom"
            show-tooltip-when-overflow
            width="120"
          >
            <template slot-scope="{row}">
              <div v-if="row.enable==='Y'">
                <svg-icon icon-class="circleYes" style="margin-right: 2px" />
                <i class="el-icon-success" :style="{color:$store.state.settings.theme}" style="margin-right: 2px" />
                是
              </div>
              <div v-if="row.enable==='N'">
                <svg-icon icon-class="circleNo" style="margin-right: 2px" />
                <i class="el-icon-info" style="margin-right: 2px" />
                否
              </div>
            </template>
@@ -191,6 +195,7 @@
          <el-table-column
            prop="input_date"
            label="投入日期"
            show-tooltip-when-overflow
            sortable="custom"
            width="120"
          >
@@ -202,6 +207,7 @@
            prop="wksp_name"
            label="生产车间"
            sortable="custom"
            show-tooltip-when-overflow
            min-width="120"
          />
          <!--          <el-table-column-->
@@ -212,6 +218,7 @@
          <el-table-column
            prop="operation_ration"
            label="稼动率"
            show-tooltip-when-overflow
            sortable="custom"
            width="100"
          >
@@ -225,11 +232,13 @@
            label="创建人员"
            sortable="custom"
            width="120"
            show-tooltip-when-overflow
          />
          <el-table-column
            prop="lm_date"
            width="160"
            label="创建时间"
            show-tooltip-when-overflow
            sortable="custom"
          />
          <el-table-column
@@ -240,10 +249,10 @@
            <template slot-scope="{row}">
              <div class="operationClass">
                <el-tooltip class="item" effect="dark" content="编辑" placement="top">
                  <i class="el-icon-edit-outline" @click="edit('edit',row)" />
                  <i :style="{color:$store.state.settings.theme}" class="el-icon-edit-outline" @click="edit('edit',row)" />
                </el-tooltip>
                <el-tooltip v-del-tab-index class="item" effect="dark" content="删除" placement="top">
                  <i class="el-icon-delete" @click="del(row)" />
                  <i :style="{color:$store.state.settings.theme}" class="el-icon-delete" @click="del(row)" />
                </el-tooltip>
              </div>
            </template>
@@ -425,6 +434,7 @@
        />
        <el-table-column
          prop="code"
          show-tooltip-when-overflow
          label="类型编码"
          sortable="custom"
        >
@@ -440,6 +450,7 @@
        </el-table-column>
        <el-table-column
          prop="name"
          show-tooltip-when-overflow
          label="类型名称"
          sortable="custom"
        >
@@ -452,6 +463,7 @@
          prop="remark"
          label="类型描述"
          sortable="custom"
          show-tooltip-when-overflow
        >
          <template slot-scope="{row}">
            <el-input v-if="row.isVisible===1" v-model="row.remark" placeholder="请输入" />
@@ -522,6 +534,7 @@
          prop="code"
          label="分组编码"
          sortable="custom"
          show-tooltip-when-overflow
        >
          <template slot-scope="{row}">
            <el-input
@@ -535,6 +548,7 @@
        </el-table-column>
        <el-table-column
          prop="name"
          show-tooltip-when-overflow
          label="分组名称"
          sortable="custom"
        >
@@ -547,6 +561,7 @@
          prop="eqptype_name"
          label="所属设备类型"
          sortable="custom"
          show-tooltip-when-overflow
        >
          <template slot-scope="{row}">
            <el-select
@@ -568,6 +583,7 @@
        </el-table-column>
        <el-table-column
          prop="remark"
          show-tooltip-when-overflow
          label="分组描述"
          sortable="custom"
        >