Commit f405242b by xiaotong

QRTMGS前端代码调整

parent 70fa27ad
......@@ -4,6 +4,24 @@ import Pts from "~/page/Model/Common/Pts"
export default class Qrtmgs {
constructor() {
this.data = {
msgtyp: "",
actbak: "",
casnum: "",
cassta: "",
drfnum: "",
opsref: "",
ownrel: "",
revbak: "",
sedbak: "",
settimend: "",
settimsta: "",
uetr:"",
qrdgrp:{
rec:{
msgtyp: "",
},
},
qrtp: {
msgrag: "", // 记录范围 .qrtp.msgrag
revdrt: "", // 接收方向 .qrtp.revdrt
......
......@@ -139,7 +139,7 @@
:data="stmData.data" :columns="stmData.columns"
v-loading="load" style="width: 100%"
@selection-change="handleSelectionChange"
@dblclick="dbClick" size="small" :border="true"
@row-dblclick="dbClick" size="small" :border="true"
height="calc(100vh - 420px)"
:highlight-current-row="true"
>
......@@ -352,6 +352,7 @@ export default {
},
multipleSelection1: [],
load1: false,
rowdata: [],
};
},
computed: {
......
import Api from "~/service/Api";
export default {
mixins: [],
methods: {
......@@ -5,18 +6,16 @@ export default {
this.load = true;
let rtnmsg = await Api.post("/frontend/smtsel", {
...this.model,
pageNumber: this.pagination.pageNum,
pageSize: this.pagination.pageSize,
pageNumber: this.pagenation.pageNum,
pageSize: this.pagenation.pageSize,
});
if (rtnmsg.respCode == SUCCESS) {
this.load = false;
this.tableData = [];
this.tableData = rtnmsg.data.list;
this.pagination = {
pageNum: rtnmsg.data.pageNum || 1,
pageSize: rtnmsg.data.pageSize || 10,
total: parseInt(rtnmsg.data.total),
};
this.pagenation.pageNum = rtnmsg.data.pageNum || 1
this.pagenation.pageSize = rtnmsg.data.pageSize || 10
this.pagenation.total = parseInt(rtnmsg.data.total)
} else {
this.$notify.error({
title: this.$t("financing.错误"),
......@@ -38,13 +37,13 @@ export default {
},
// pageSize改变
handleSizeChange(val) {
this.pagination.pageNum = 1;
this.pagination.pageSize = val;
this.pagenation.pageNum = 1;
this.pagenation.pageSize = val;
this.handleSearch();
},
// 页码改变
handleCurrentChange(val) {
this.pagination.pageNum = val;
this.pagenation.pageNum = val;
this.handleSearch();
},
}
......
......@@ -238,7 +238,6 @@
style="margin-right: 5px"
size="small"
type="primary"
:disabled="scope.row.acksrv.length == 3"
@click="updateAck(scope.row)"
>更新</c-button>
</template>
......
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