11
WXL
2023-09-27 128aec95c834751e587e7f6615310ffbe3b13b64
src/views/project/fundcheck/medicalCostCheck/index.vue
@@ -19,9 +19,20 @@
              range-separator="至"
              start-placeholder="申请开始日期"
              end-placeholder="申请结束日期"
              @keyup.enter.native="handleQuery"
              @keyup.enter.native="flowconclusion"
            >
            </el-date-picker>
          </el-form-item>
        </el-col>
        <el-col :span="5">
          <el-form-item label="金额" prop="money" style="float: left">
            <el-input
              v-model="queryParams.money"
              placeholder="请输入申请人金额"
              clearable
              size="small"
              @keyup.enter.native="flowconclusion"
            />
          </el-form-item>
        </el-col>
        <el-col :span="5">
@@ -31,7 +42,7 @@
              placeholder="请输入经办人"
              clearable
              size="small"
              @keyup.enter.native="handleQuery"
              @keyup.enter.native="flowconclusion"
            />
          </el-form-item>
        </el-col>
@@ -42,7 +53,7 @@
              placeholder="请输入捐献人"
              clearable
              size="small"
              @keyup.enter.native="handleQuery"
              @keyup.enter.native="flowconclusion"
            />
          </el-form-item>
        </el-col>
@@ -63,7 +74,7 @@
            </el-select>
          </el-form-item>
        </el-col>
        <el-col :span="6">
        <!-- <el-col :span="6">
          <el-button
            type="primary"
            icon="el-icon-search"
@@ -74,8 +85,36 @@
          <el-button icon="el-icon-refresh" size="mini" @click="resetQuery"
            >重置</el-button
          >
        </el-col> -->
      </el-row>
      <el-row>
        <el-col :span="5">
          <el-form-item label="捐献者" prop="donorname" style="float: left">
            <el-input
              v-model="queryParams.donorname"
              placeholder="请输入申请人捐献者"
              clearable
              size="small"
              @keyup.enter.native="flowconclusion"
            />
          </el-form-item>
        </el-col>
      </el-row></el-form
        <el-col :span="4">
          <div style="margin-bottom: 15px;">
            <el-button
              type="primary"
              icon="el-icon-search"
              size="mini"
              @click="flowconclusion"
              >搜索</el-button
            >
            <el-button icon="el-icon-refresh" size="mini" @click="resetQuery"
              >重置</el-button
            >
          </div>
        </el-col>
      </el-row>
      </el-form
    >
    <el-form ref="infoform" label-width="100px">
      <el-row>
@@ -159,6 +198,19 @@
              />
            </template>
          </el-table-column>
          <el-table-column
        label="预审状态"
        width="140"
        align="center"
        prop="checkstatus"
      >
        <template slot-scope="scope">
          <dict-tag
            :options="dict.type.sys_stage_type"
            :value="scope.row.checkstatus"
          />
        </template>
      </el-table-column>
          <el-table-column label="备注" align="center" prop="remark" />
          <el-table-column
            label="操作"
@@ -168,6 +220,14 @@
            width="260px"
          >
            <template slot-scope="scope">
              <el-button
                v-if="scope.row.checkFlag == 1"
                size="mini"
                type="text"
                icon="el-icon-edit"
                @click="beforehandCheck(scope.row)"
                >预审核</el-button
              >
              <el-button
                v-if="scope.row.checkFlag == 1"
                size="mini"
@@ -671,7 +731,7 @@
              fixed="right"
              align="center"
              label="操作"
              width="120"
              width="200"
            >
              <template slot-scope="scope">
                <el-button
@@ -863,6 +923,8 @@
import OrgSelecter from "@/views/project/components/orgselect";
import { getUserProfile } from "@/api/system/user";
import { getToken } from "@/utils/auth";
import { setItem,grtItem,removeItem } from '@/utils/storage.js';
export default {
  components: {
@@ -881,7 +943,8 @@
    "sys_fund_type",
    "sys_finsubject",
    "sys_financeitemtype",
    "sys_consolationfundlevel"
    "sys_consolationfundlevel",
    "sys_stage_type"
  ],
  data() {
    return {
@@ -965,7 +1028,8 @@
        APPLICATIONENDTIME: null,
        CHECKFLAG: 1,
        APPLYTYPE: 3,
        donorname: null
        donorname: null,
        money: null
      },
      // 表单参数
      form: {},
@@ -1051,6 +1115,9 @@
    this.getUsermsg();
  },
  mounted() {
    if (grtItem("medicalCostCheck")) {
      this.queryParams = grtItem("medicalCostCheck");
    };
    this.selectReporters();
    this.getlistOrganization();
    //his.getlistUser();
@@ -1065,6 +1132,8 @@
      this.loading = true;
      // this.queryParams.params = {};
      listbypower(this.queryParams).then(res => {
        removeItem("medicalCostCheck");
        setItem("medicalCostCheck", this.queryParams);
        this.loading = false;
        let list = res.rows;
        let arr = [];
@@ -1125,7 +1194,7 @@
    totaldayin(e) {
      // const id =this.row.id
      getdownloadBX(e).then(res => {
      getdownloadYX(e).then(res => {
        if (res.downloadUrl) {
          var fileUrl = res;
          //获取当前网址
@@ -1324,6 +1393,17 @@
        });
      }
    },
    beforehandCheck(row){
      this.$router.push({
        path: "/finance/applyDetail/",
        query: {
          id: row.id,
          businessType: "3",
          beforehandType:'1',
          operationType: "check",
        }
      });
    },
    /** 修改按钮操作 */
    handleCheck(row) {
      this.$router.push({