11
WXL
2024-05-13 444955f503fb09730393cecc21edc2638dc6ff93
11
已修改5个文件
82 ■■■■ 文件已修改
src/api/system/user.js 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/project/donationdetails/index.vue 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/project/fund/applyDetail/index.vue 11 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/project/tallage/computingBill/index.vue 39 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/user/index.vue 21 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/api/system/user.js
@@ -133,6 +133,13 @@
    method: 'get'
  })
}
// 查询授权角色
export function handleunlock(userName ) {
  return request({
    url: '/system/user/cleanErrorNums/' + userName ,
    method: 'get',
  })
}
// 保存授权角色
export function updateAuthRole(data) {
src/views/project/donationdetails/index.vue
@@ -3313,7 +3313,9 @@
            //     }
            //   });
            // });
            this.transplantdata.forEach(item=>{
              item.donorname=this.form.name
            })
            // 保存确认信息
            if (this.accomplishform.id) {
              updateDonatecompletioninfo(this.accomplishform).then(response => {
src/views/project/fund/applyDetail/index.vue
@@ -56,7 +56,7 @@
          </el-col>
        </el-row>
        <el-row>
          <!--
          <!--
          <el-col :span="7">
            <el-form-item label="工作单位" prop="unitno">
              <org-selecter ref="orgSelecter" :org-type="'3'" v-model="form.unitno" />
@@ -113,7 +113,7 @@
              <el-input v-model="form.remark" placeholder="申请说明" />
            </el-form-item>
          </el-col>
          <!--
          <!--
          <el-col :span="5">
            <el-form-item label="申请状态" prop="recordstatus">
              <el-select v-model="form.recordstatus" placeholder="请选择审核状态" clearable size="small" :disabled="true">
@@ -657,11 +657,12 @@
              </el-radio-group>
            </el-form-item>
          </el-col>
          <el-col :span="12">
          <el-col :span="12" v-if="businessType==1">
            <el-form-item label="算税状态" prop="infoid">
              <el-radio-group v-model="form.istax" align="left">
                <el-radio :label="2">待算税</el-radio>
                <el-radio :label="1">已算税</el-radio>
                <el-radio :label="0">审核中</el-radio>
                <el-radio :label="1">允许算税</el-radio>
                <el-radio :label="2">已算税</el-radio>
              </el-radio-group>
            </el-form-item>
          </el-col>
src/views/project/tallage/computingBill/index.vue
@@ -306,7 +306,7 @@
              >
                <el-form-item label="捐献案例" prop="status">
                  <el-select
                    v-model="patientqueryParams.donorno"
                    v-model="patientqueryParams.donorname"
                    filterable
                    placeholder="请选择"
                  >
@@ -314,11 +314,19 @@
                      v-for="item in donorchargeanlList"
                      :key="item.id"
                      :label="item.name"
                      :value="item.id"
                      :value="item.name"
                    >
                    </el-option>
                  </el-select> </el-form-item
                ><el-form-item label="算税状态" prop="status">
                  </el-select>
                </el-form-item>
                <el-form-item label="申请人" prop="name">
                  <el-input
                    v-model="patientqueryParams.pausername"
                    placeholder="请输入申请人姓名"
                    @keyup.enter.native="handleAddpatient"
                  />
                </el-form-item>
                <!-- <el-form-item label="算税状态" prop="status">
                  <el-select
                    v-model="patientqueryParams.istax"
                    filterable
@@ -332,7 +340,7 @@
                    >
                    </el-option>
                  </el-select>
                </el-form-item>
                </el-form-item> -->
                <el-form-item>
                  <el-button
@@ -594,9 +602,10 @@
      overallCase: [],
      patientqueryParams: {
        paApplyType: 1,
        pacheckno: "047",
        checkstatus: 0,
        istax: 0,
        // pacheckno: "047",
        // checkstatus: 0,
        pfundtaxid: 0,
        departid: 0,
        pageNum: 1,
        pageSize: 10
      },
@@ -783,8 +792,8 @@
    },
    handleQuery() {},
    resetQuery() {
      this.patientqueryParams.donorno = null;
      this.patientqueryParams.donorchargeid = null;
      this.patientqueryParams.pausername = null;
      this.patientqueryParams.donorname = null;
      this.handleAddpatient();
    },
    handleUploadError() {},
@@ -970,11 +979,11 @@
      });
    },
    /** 重置按钮操作 */
    resetQuery() {
      this.resetForm("queryForm");
      this.handleQuery();
    },
    // /** 重置按钮操作 */
    // resetQuery() {
    //   this.resetForm("queryForm");
    //   this.handleQuery();
    // },
    // 取消按钮
    cancel() {
src/views/system/user/index.vue
@@ -172,6 +172,14 @@
              <el-button
                size="mini"
                type="text"
                class="el-xg"
                icon="el-icon-help"
                @click="handleunlock(scope.row)"
                v-hasPermi="['system:user:edit']"
              >解锁</el-button>
              <el-button
                size="mini"
                type="text"
                icon="el-icon-edit"
                @click="handleUpdate(scope.row)"
                v-hasPermi="['system:user:edit']"
@@ -347,7 +355,7 @@
</template>
<script>
import { listUser, getUser, delUser, addUser, updateUser, exportUser, resetUserPwd, changeUserStatus, importTemplate } from "@/api/system/user";
import { listUser, getUser, delUser, addUser, updateUser, exportUser,handleunlock, resetUserPwd, changeUserStatus, importTemplate } from "@/api/system/user";
import { getToken } from "@/utils/auth";
import { treeselect } from "@/api/system/dept";
import Treeselect from "@riophae/vue-treeselect";
@@ -593,6 +601,12 @@
        this.form.password = "";
      });
    },
    // 解锁
    handleunlock(row){
      handleunlock(row.userName).then(response => {
            this.$modal.msgSuccess("解锁成功");
          });
    },
    /** 重置密码按钮操作 */
    handleResetPwd(row) {
      this.$prompt('请输入"' + row.userName + '"的新密码', "提示", {
@@ -703,3 +717,8 @@
  }
};
</script>
<style lang="scss" scoped>
.el-xg{
  color: rgb(40, 194, 91);
}
</style>