fix(已发流程): 流程分页取值错误

approve-sys
tony 3 years ago
parent 2b8e2a944d
commit 67dc120fd0

Binary file not shown.

Before

Width:  |  Height:  |  Size: 79 KiB

After

Width:  |  Height:  |  Size: 42 KiB

@ -153,8 +153,8 @@
<pagination <pagination
v-show="processTotal>0" v-show="processTotal>0"
:total="processTotal" :total="processTotal"
:page.sync="queryProcessParams.pageNum" :page.sync="queryParams.pageNum"
:limit.sync="queryProcessParams.pageSize" :limit.sync="queryParams.pageSize"
@pagination="getList" @pagination="getList"
/> />
</el-dialog> </el-dialog>
@ -200,11 +200,6 @@ export default {
// //
open: false, open: false,
src: "", src: "",
//
queryProcessParams: {
pageNum: 1,
pageSize: 10
},
definitionList:[], definitionList:[],
// //
queryParams: { queryParams: {
@ -236,7 +231,7 @@ export default {
this.loading = true; this.loading = true;
myProcessList(this.queryParams).then(response => { myProcessList(this.queryParams).then(response => {
this.myProcessList = response.data.records; this.myProcessList = response.data.records;
this.total = response.data.total; this.processTotal = response.data.total;
this.loading = false; this.loading = false;
}); });
}, },

@ -1,7 +1,7 @@
<template> <template>
<div class="login"> <div class="login">
<el-form ref="loginForm" :model="loginForm" :rules="loginRules" class="login-form"> <el-form ref="loginForm" :model="loginForm" :rules="loginRules" class="login-form">
<h3 class="title">若依后台管理系统</h3> <h3 class="title">工作流开发平台</h3>
<el-form-item prop="username"> <el-form-item prop="username">
<el-input v-model="loginForm.username" type="text" auto-complete="off" placeholder="账号"> <el-input v-model="loginForm.username" type="text" auto-complete="off" placeholder="账号">
<svg-icon slot="prefix" icon-class="user" class="el-input__icon input-icon" /> <svg-icon slot="prefix" icon-class="user" class="el-input__icon input-icon" />
@ -48,7 +48,7 @@
</el-form> </el-form>
<!-- 底部 --> <!-- 底部 -->
<div class="el-login-footer"> <div class="el-login-footer">
<span>Copyright © 2018-2021 ruoyi.vip All Rights Reserved.</span> <span>Copyright © Xuan xuan.</span>
</div> </div>
</div> </div>
</template> </template>

Loading…
Cancel
Save