Commit 9ce65691 by WF1020

gitopn修改

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