| | |
| | | <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"> |
| | |
| | | </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="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> |
| | |
| | | <el-table-column label="操作" fixed="right" align="center" class-name="small-padding fixed-width" width="160px"> |
| | | <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="handleUpdate(scope.row)">审核</el-button> |
| | | @click="handleCheck(scope.row)">审核</el-button> |
| | | <!-- v-hasPermi="['project:donateconsolationfund:edit']" --> |
| | | <el-button size="mini" type="text" icon="el-icon-download" @click="dayin(scope.row.id)">下载</el-button> |
| | | </template> |
| | |
| | | APPLICATIONENDTIME: null, |
| | | CHECKFLAG: 1, |
| | | APPLYTYPE: 1, |
| | | money: null |
| | | }, |
| | | // 表单参数 |
| | | form: {}, |
| | |
| | | // this.standardlevel = response.data.standardlevel; |
| | | if ( |
| | | response.data.userName === "001" || |
| | | response.data.userName === "002" || |
| | | response.data.userName === "002" || |
| | | response.data.userName === "012" || |
| | | response.data.userName === "admin" |
| | | ) { |
| | | this.show = 1; |
| | | } else { |
| | | this.show = 3; |
| | | } |
| | | console.log("where", this.show); |
| | | console.log(response.data.userName, this.show); |
| | | }); |
| | | }, |
| | | selectapplication() { |
| | |
| | | } |
| | | }, |
| | | /** 修改按钮操作 */ |
| | | handleUpdate(row) { |
| | | handleCheck(row) { |
| | | this.$router.push({ |
| | | path: "/finance/applyDetail/", |
| | | query: { |
| | | id: row.id, |
| | | businessType: "1", |
| | | operationType: "check" |
| | | } |
| | | }); |
| | | return; |
| | | |
| | | this.isopen = 0; |
| | | this.reset(); |
| | | this.queryParams.params = {}; |
| | |
| | | }, |
| | | |
| | | //查看审核详情 |
| | | 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 = {}; |