11
WXL
2023-10-10 36229448f3d9631a46101e6e7467cdaa64b08f86
src/views/project/fundcheck/expertFeeCheck/index.vue
@@ -6,14 +6,25 @@
          <el-form-item label="申请日期" prop="createTime">
            <el-date-picker format="yyyy-MM-dd" @change="selectapplication" value-format="yyyy-MM-dd" v-model="createTime"
              type="daterange" 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">
          <el-form-item label="经办人" prop="APPLICANT" style="float: left">
            <el-input v-model="queryParams.APPLICANT" placeholder="请输入申请人姓名" clearable size="small"
              @keyup.enter.native="handleQuery" />
              @keyup.enter.native="flowconclusion" />
          </el-form-item>
        </el-col>
        <el-col :span="5">
@@ -24,9 +35,36 @@
            </el-select>
          </el-form-item>
        </el-col>
        <el-col :span="6">
        <!-- <el-col :span="6">
          <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>
        </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-col :span="3">
          <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>
@@ -61,14 +99,35 @@
              <dict-tag :options="dict.type.sys_recordstatus" :value="scope.row.recordstatus" />
            </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="donorname" width="120px" />
          <el-table-column label="备注" align="center" prop="remark" />
          <!--<el-table-column label="捐献编号" align="center" prop="donorno" />
          <el-table-column label="财务审核" align="center" prop="financechecher" width="140" />-->
          <el-table-column label="操作" fixed="right" align="center" class-name="small-padding fixed-width" width="160px">
          <el-table-column label="操作" fixed="right" align="center" class-name="small-padding fixed-width" width="260px">
            <template slot-scope="scope">
              <el-button size="mini" type="text" icon="el-icon-edit" v-if="scope.row.checkFlag == 0"
                @click="handleShow(scope.row)">详情</el-button>
                @click="handleDetail(scope.row)">详情</el-button>
                <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" type="text" icon="el-icon-edit"
                @click="handleCheck(scope.row)">审核</el-button>
              <!-- v-hasPermi="['project:donateconsolationfund:edit']" -->
@@ -272,7 +331,7 @@
                <el-input v-model="scope.row.bankcardno" placeholder="银行卡号" />
              </template>
            </el-table-column>
            <el-table-column fixed="right" align="center" label="操作" width="120">
            <el-table-column fixed="right" align="center" label="操作" width="200">
              <template slot-scope="scope">
                <el-button @click="saveRows(scope.row, scope.$index)" type="text" size="small" v-if="show === 1">
                  保存
@@ -397,6 +456,8 @@
} from "@/api/project/donatebaseinfo";
import Li_area_select from "@/components/Address";
import OrgSelecter from "@/views/project/components/orgselect";
import { setItem,grtItem,removeItem } from '@/utils/storage.js';
export default {
  components: {
@@ -415,6 +476,7 @@
    "sys_fund_type",
    "sys_finsubject",
    "sys_financeitemtype",
    "sys_stage_type"
  ],
  data() {
    return {
@@ -497,6 +559,7 @@
        APPLICATIONENDTIME: null,
        CHECKFLAG: 1,
        APPLYTYPE: 1,
        money: null
      },
      // 表单参数
      form: {},
@@ -571,14 +634,20 @@
  watch: {},
  created() {
    //this.getBaseInfoList();
    this.getlistbypower();
    //this.resetForm();
    this.getCurFundType();
    this.getUsermsg();
  },
  mounted() {
    if (grtItem("expertFeeCheck")) {
      this.queryParams = grtItem("expertFeeCheck");
      this.queryParams.APPLICATIONBEGTIME = '';
      this.queryParams.APPLICATIONENDTIME ='';
    };
    this.selectReporters();
    this.getlistOrganization();
    this.getlistbypower();
    //this.getlistUser();
    this.getlistExternalperson();
  },
@@ -610,6 +679,8 @@
      this.loading = true;
      listbypower(this.queryParams).then((res) => {
        console.log("根据权限显示列表", res);
        removeItem("expertFeeCheck");
        setItem("expertFeeCheck", this.queryParams);
        this.loading = false;
        let list = res.rows;
        let arr = [];
@@ -906,17 +977,28 @@
        });
      }
    },
    beforehandCheck(row){
      this.$router.push({
        path: "/finance/applyDetail/",
        query: {
          id: row.id,
          businessType: "1",
          beforehandType:'1',
          operationType: "check",
        }
      });
    },
    /** 修改按钮操作 */
    handleCheck(row) {      
      // this.$router.push({
      //   path: "/finance/applyDetail/",
      //   query: {
      //     id: row.id,
      //     businessType: "1",
      //     operationType: "check"
      //   }
      // });
      // return;
      this.$router.push({
        path: "/finance/applyDetail/",
        query: {
          id: row.id,
          businessType: "1",
          operationType: "check"
        }
      });
      return;
      this.isopen = 0;
      this.reset();
@@ -958,7 +1040,17 @@
    },
    //查看审核详情
    handleShow(row) {
    handleDetail(row) {
      this.$router.push({
        path: "/finance/applyDetail/",
        query: {
          id: row.id,
          businessType: "1",
          operationType: "detail"
        }
      });
      return;
      this.isopen = 0;
      this.reset();
      this.queryParams.params = {};