luoyb
2021-03-05 2c7c8a89d0b7acef55a97401e174ed8b9a902d96
src/views/user/inemployees.vue
@@ -193,7 +193,7 @@
          style="width: 100%;color: #000;"
        >
          <el-table-column type="selection" width="55" />
          <el-table-column label="操作" width="120">
          <el-table-column label="操作" width="130">
            <template slot-scope="scope">
              <!--              <el-button-->
              <!--                type="text"-->
@@ -204,11 +204,11 @@
              <!--              <el-button type="text" size="small" @click="editEmpBase(scope.row)">编辑</el-button>-->
              <span
                style="color: #a00515;display: inline-block;width: 45%;cursor: pointer"
                style="color: #a00515;display: inline-block;width: 40%;cursor: pointer"
                @click="editArchives(scope.row)"
              >档案</span>
              <span
                style="color: #a00515;display: inline-block;width: 45%;cursor: pointer"
                style="color: #a00515;display: inline-block;width: 40%;cursor: pointer"
                @click="editEmpBase(scope.row)"
              >编辑</span>
            </template>
@@ -864,7 +864,7 @@
      }, // 查询参数
      sort: {}, // 排序
      pagination: { // 分页参数
        size: 10,
        size: 12,
        num: 1
      },
      baseicInformationForm: {},
@@ -1470,7 +1470,8 @@
      this.$refs[formName].validate((valid) => {
        if (valid) {
          if (this.isAdd) {
            this.$post('hr/empBaseInfo', { ...this.empBaseInfoForm }).then(() => {
            this.$post('hr/empBaseInfo', { ...this.empBaseInfoForm }).then((r) => {
              r.data
              this.buttonLoading = false
              this.$message({
                message: this.$t('tips.createSuccess'),