新需求

This commit is contained in:
gongjiale 2022-11-23 17:25:00 +08:00
parent fc7e457176
commit cecf903a6a
1 changed files with 45 additions and 12 deletions

View File

@ -30,6 +30,8 @@
</div> </div>
</div> </div>
<el-form :inline="true"> <el-form :inline="true">
<a-row>
<a-col :span="6">
<el-form-item> <el-form-item>
<span>日期</span> <span>日期</span>
<el-date-picker <el-date-picker
@ -43,8 +45,9 @@
> >
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
</a-col>
<!--提供部门 传id--> <!--提供部门 传id-->
<a-col :span="6">
<el-form-item> <el-form-item>
<span>提供部门</span> <span>提供部门</span>
<el-select <el-select
@ -63,8 +66,9 @@
></el-option> ></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
</a-col>
<!--申请部门 传汉字--> <!--申请部门 传汉字-->
<a-col :span="6">
<el-form-item> <el-form-item>
<span>申请部门</span> <span>申请部门</span>
<el-select <el-select
@ -83,10 +87,12 @@
></el-option> ></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
</a-col>
<!--类型--> <!--类型-->
<a-col :span="6">
<el-form-item> <el-form-item>
<span>类型</span> <span>资源类型</span>
<el-select <el-select
@change="changeIiem" @change="changeIiem"
v-model="dataForm.resourceType" v-model="dataForm.resourceType"
@ -104,18 +110,32 @@
</el-option> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
</a-col>
</a-row>
<!--名称--> <!--名称-->
<a-row>
<a-col :span="6">
<el-form-item> <el-form-item>
<span>名称</span> <span>资源名称</span>
<el-input <el-input
style="width: 80%" style="width: 70%"
v-model="dataForm.resourceName" v-model="dataForm.resourceName"
placeholder="请输入资源名称" placeholder="请输入资源名称"
clearable clearable
></el-input> ></el-input>
</el-form-item> </el-form-item>
</el-form> </a-col>
<el-form :inline="true" style="margin-right: 40px"> <a-col :span="6">
<el-form-item>
<span>审核状态</span>
<el-select v-model="dataForm.applyResult" placeholder="请选审核状态" clearable>
<el-option label="全部" value=""></el-option>
<el-option label="通过" value="通过"></el-option>
<el-option label="审核中" value="审核中"></el-option>
</el-select>
</el-form-item>
</a-col>
<a-col :span="12">
<!--操作按钮查询--> <!--操作按钮查询-->
<el-form-item> <el-form-item>
<el-button type="primary" @click="init()">{{ <el-button type="primary" @click="init()">{{
@ -133,14 +153,17 @@
:href=" :href="
exportExcel + exportExcel +
'?' + '?' +
dataForm + exportExcelCondition +
'&token=' + '&token=' +
token token
" "
>导出全部</a >导出全部</a
> >
</a-col>
</a-row>
</el-form> </el-form>
<div class="mod-activiti__process"> <div class="mod-activiti__process">
<el-table <el-table
:data="tableData" :data="tableData"
@ -165,6 +188,12 @@
header-align="center" header-align="center"
align="center" align="center"
></el-table-column> ></el-table-column>
<el-table-column
prop="applyResult"
label="审核状态"
header-align="center"
align="center"
></el-table-column>
<el-table-column <el-table-column
prop="provideDept" prop="provideDept"
label="提供部门" label="提供部门"
@ -207,11 +236,12 @@
<script> <script>
import Cookies from 'js-cookie' import Cookies from 'js-cookie'
import qs from 'qs'
export default { export default {
data() { data() {
return { return {
exportExcelCondition:'',
token: Cookies.get('ucsToken'), token: Cookies.get('ucsToken'),
// //
exportExcel: CONFIGITEM.configData[CONFIGITEM.version].apiURL + '/processForm/tabilityapplication/exportFundStatementTable', exportExcel: CONFIGITEM.configData[CONFIGITEM.version].apiURL + '/processForm/tabilityapplication/exportFundStatementTable',
@ -236,6 +266,7 @@ export default {
applyDept: "", applyDept: "",
resourceType: "", resourceType: "",
resourceName: "", resourceName: "",
applyResult:"",
pageNum:1, pageNum:1,
pageSize:10, pageSize:10,
}, },
@ -266,7 +297,8 @@ export default {
price=Math.round(price / 10000); price=Math.round(price / 10000);
this.saveMoney=price.toFixed(1) this.saveMoney=price.toFixed(1)
this.total=Number(res.data.data.total); this.total=Number(res.data.data.total);
}); this.exportExcelCondition = qs.stringify(this.dataForm)
})
}, },
handleCurrentChange(val) { handleCurrentChange(val) {
this.currentPage = val; this.currentPage = val;
@ -280,6 +312,7 @@ export default {
this.dataForm.resourceName = ""; this.dataForm.resourceName = "";
this.dataForm.applyDept = ""; this.dataForm.applyDept = "";
this.dataForm.provideDept = ""; this.dataForm.provideDept = "";
this.dataForm.applyResult="";
this.currentPage = 1; this.currentPage = 1;
this.init(); this.init();
}, },