赵士淞
2023-01-05 0d8097836616b8990c9e79c3e9e7ff502ce308ea
eladmin-web-master/src/views/system/userLevelWage/index.vue
@@ -90,48 +90,48 @@
      <!--表格渲染-->
      <el-table ref="table" v-loading="crud.loading" :data="crud.data" size="small" style="width: 100%;" @selection-change="crud.selectionChangeHandler">
        <el-table-column type="selection" width="55" />
        <el-table-column :show-overflow-tooltip="true" prop="userNickName" label="所属用户" fixed="left" width="100">
        <el-table-column :show-overflow-tooltip="true" prop="userNickName" label="所属用户" fixed="left">
          <template slot-scope="scope">
            <el-tag>{{ scope.row.userNickName }}</el-tag>
          </template>
        </el-table-column>
        <el-table-column :show-overflow-tooltip="true" prop="levelName" label="所属级别" fixed="left" width="100">
        <el-table-column :show-overflow-tooltip="true" prop="levelName" label="所属级别" fixed="left">
          <template slot-scope="scope">
            <el-tag>{{ scope.row.levelName }}</el-tag>
          </template>
        </el-table-column>
        <el-table-column :show-overflow-tooltip="true" prop="startDate" label="开始日期" width="100">
        <el-table-column :show-overflow-tooltip="true" prop="startDate" label="开始日期">
          <template slot-scope="scope">
            {{ crud.toDate(scope.row.startDate) }}
          </template>
        </el-table-column>
        <el-table-column :show-overflow-tooltip="true" prop="endDate" label="结束日期" width="100">
        <el-table-column :show-overflow-tooltip="true" prop="endDate" label="结束日期">
          <template slot-scope="scope">
            {{ crud.toDate(scope.row.endDate) }}
          </template>
        </el-table-column>
        <el-table-column :show-overflow-tooltip="true" prop="levelWage" label="级别工资" width="100">
        <el-table-column :show-overflow-tooltip="true" prop="levelWage" label="级别工资">
          <template slot-scope="scope">
            {{ crud.toMoney(scope.row.levelWage) }}
          </template>
        </el-table-column>
        <el-table-column label="工资比例">
          <el-table-column :show-overflow-tooltip="true" prop="basicWageProportion" label="基本工资" width="100">
          <el-table-column :show-overflow-tooltip="true" prop="basicWageProportion" label="基本工资">
            <template slot-scope="scope">
              {{ scope.row.basicWageProportion }}%
            </template>
          </el-table-column>
          <el-table-column :show-overflow-tooltip="true" prop="achievementsWageProportion" label="绩效工资" width="100">
          <el-table-column :show-overflow-tooltip="true" prop="achievementsWageProportion" label="绩效工资">
            <template slot-scope="scope">
              {{ scope.row.achievementsWageProportion }}%
            </template>
          </el-table-column>
          <el-table-column :show-overflow-tooltip="true" prop="performanceWageProportion" label="业绩工资" width="100">
          <el-table-column :show-overflow-tooltip="true" prop="performanceWageProportion" label="业绩工资">
            <template slot-scope="scope">
              {{ scope.row.performanceWageProportion }}%
            </template>
          </el-table-column>
          <el-table-column :show-overflow-tooltip="true" prop="teamWageProportion" label="团队工资" width="100">
          <el-table-column :show-overflow-tooltip="true" prop="teamWageProportion" label="团队工资">
            <template slot-scope="scope">
              {{ scope.row.teamWageProportion }}%
            </template>
@@ -239,14 +239,14 @@
      startDatePickerOptions: {
        // 禁用日期
        disabledDate(time) {
          return _this.form.endDate != null && _this.form.endDate !== '' ? time.getTime() > _this.form.endDate : false
          return _this.form.endDate != null && _this.form.endDate !== '' ? time.getTime() > new Date(_this.form.endDate).getTime() : false
        }
      },
      // 结束日期选项
      endDatePickerOptions: {
        // 禁用日期
        disabledDate(time) {
          return _this.form.startDate != null && _this.form.startDate !== '' ? time.getTime() < _this.form.startDate : false
          return _this.form.startDate != null && _this.form.startDate !== '' ? time.getTime() < new Date(_this.form.startDate).getTime() : false
        }
      },
      // CRUD状态