Commit 9ce65691 by WF1020

gitopn修改

parent b692c87d
import Api from '~/service/Api'; import Api from '~/service/Api';
import { getTrnNameByInr } from "~/service/business/common"; import { getTrnNameByInr } from "~/service/business/common";
import moment from 'moment';
export default { export default {
methods: { methods: {
async handleSearch() { async handleSearch() {
...@@ -23,6 +24,8 @@ export default { ...@@ -23,6 +24,8 @@ export default {
fingua: this.model.fingua, fingua: this.model.fingua,
pageIndex: this.pagination.pageIndex, pageIndex: this.pagination.pageIndex,
pageSize: this.pagination.pageSize, pageSize: this.pagination.pageSize,
opndatfrom:moment(opndatfrom).format('YYYY-MM-DD'),
opndatto:moment(opndatto).format('YYYY-MM-DD'),
}; };
let rtnmsg = await Api.post('/service/infgid/getList', params); let rtnmsg = await Api.post('/service/infgid/getList', params);
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
......
...@@ -32,8 +32,16 @@ export default { ...@@ -32,8 +32,16 @@ export default {
codes: { ...CodeTable }, codes: { ...CodeTable },
}; };
}, },
methods: {}, methods: {
created () {}, getInidatfro() {
let datetime = new Date();
datetime = datetime.setDate(datetime.getDate() - 10);
this.model.infcon.opndatfrom = new Date(datetime);
}
},
mounted () {
this.getInidatfro()
},
}; };
</script> </script>
<style> <style>
......
import Api from '~/service/Api'; import Api from '~/service/Api';
import moment from 'moment'; import moment from 'moment';
export default { export default {
methods: { methods: {
async handleReset() { async handleReset() {
......
...@@ -74,7 +74,7 @@ export default { ...@@ -74,7 +74,7 @@ export default {
//处理-复核 //处理-复核
async handlePass(val) { async handlePass(val) {
let params = { let params = {
transName: this.trnName, transName: 'trnrel',
userId: window.sessionStorage.userId || 'ZL', userId: window.sessionStorage.userId || 'ZL',
selirn: [this.$route.query.trn] selirn: [this.$route.query.trn]
} }
...@@ -132,7 +132,7 @@ export default { ...@@ -132,7 +132,7 @@ export default {
async handleRefuse(val) { async handleRefuse(val) {
let params = { let params = {
trninr: this.$route.query.trn, trninr: this.$route.query.trn,
transName: 'TRNREL', transName: 'trnrel',
userId: sessionStorage.getItem('userId') || 'ZL', userId: sessionStorage.getItem('userId') || 'ZL',
pageId: this.model.pageId || '1', pageId: this.model.pageId || '1',
dflg: '', dflg: '',
......
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