Commit 6c58e0fe by zhouqian

分页缺陷修改以及usr与ubr数据联动缺陷修改

parent 31ea8fdd
......@@ -25,6 +25,7 @@
<c-input
v-model="ucl.usr"
placeholder="请输入用户ID"
disabled=true
>
</c-input>
</el-form-item>
......
......@@ -122,6 +122,7 @@ export default {
*/
uclAdd() {
this.ucl = new Ucl().data;
this.ucl.usr=this.model.extkey;
this.operate = "add";
this.uclDialog = true;
},
......
......@@ -78,7 +78,7 @@
type="primary"
icon="el-icon-search"
size="small"
@click="onInfactSearch()"
@click="onSearch()"
>查询
</el-button>
</c-col>
......@@ -176,6 +176,12 @@ export default {
handleReset() {
this.root.$refs.modelForm.resetFields();
},
onSearch(){
this.model.pageNum = 1;
this.model.pageSize = 5;
this.onInfactSearch();
},
onInfactSearch() {
queryByPage(this.model).then(res => {
/**
......
......@@ -57,7 +57,7 @@
type="primary"
icon="el-icon-search"
size="small"
@click="onInfBchSearch()"
@click="onSearch()"
>查询
</el-button>
</c-col>
......@@ -160,6 +160,11 @@ export default {
handleReset() {
this.root.$refs.modelForm.resetFields();
},
onSearch(){
this.model.pageNum = 1;
this.model.pageSize = 5;
this.onInfBchSearch();
},
onInfBchSearch() {
queryByPage(this.model).then(res => {
/**
......
......@@ -121,7 +121,7 @@
type="primary"
icon="el-icon-search"
size="small"
@click="onInffecSearch()"
@click="onSearch()"
>查询
</el-button>
</c-col>
......@@ -220,6 +220,11 @@ export default {
handleReset() {
this.root.$refs.modelForm.resetFields();
},
onSearch(){
this.model.pageNum = 1;
this.model.pageSize = 5;
this.onInffecSearch();
},
onInffecSearch() {
queryByPage(this.model).then(res => {
/**
......
......@@ -155,7 +155,7 @@
type="primary"
icon="el-icon-search"
size="small"
@click="onInfptySearch()"
@click="onSearch()"
>查询
</el-button>
</c-col>
......@@ -296,6 +296,11 @@ export default {
handleReset() {
this.root.$refs.modelForm.resetFields();
},
onSearch(){
this.model.pageNum = 1;
this.model.pageSize = 5;
this.onInfptySearch();
},
onInfptySearch() {
queryByPage(this.model).then(res => {
/**
......
......@@ -33,7 +33,7 @@
type="primary"
icon="el-icon-search"
size="small"
@click="onInfusrSearch()"
@click="onSearch()"
>查询
</el-button>
</c-col>
......@@ -148,6 +148,11 @@ export default {
handleReset() {
this.root.$refs.modelForm.resetFields();
},
onSearch(){
this.model.pageNum = 1;
this.model.pageSize = 5;
this.onInfusrSearch();
},
onInfusrSearch() {
queryByPage(this.model).then(res => {
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment