From afd09b7140d65714cc94c17fa9d98263f7c1b240 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=91=A3=E5=93=B2=E5=A5=87?= <13840175730@139.com> Date: Mon, 22 Jul 2024 14:34:22 +0800 Subject: [PATCH] =?UTF-8?q?1.=E5=9B=BE=E7=BA=B8=E6=B4=BE=E5=B7=A5=E5=8D=95?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=A3=80=E6=9F=A5=E5=8A=9F=E8=83=BD,?= =?UTF-8?q?=E6=A3=80=E6=9F=A5=E9=A2=86=E5=8F=96=E3=80=81=E5=A5=97=E6=96=99?= =?UTF-8?q?=E5=9B=BE=E5=A6=82=E6=9E=9C=E5=B7=B2=E7=BB=8F=E5=AF=BC=E5=85=A5?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=8E=A5=E6=94=B6=E6=97=A5=E6=9C=9F=E5=8F=8A?= =?UTF-8?q?=E5=8F=8D=E9=A6=88=E7=8A=B6=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/jhzxgl/pgd.js | 2 +- src/views/jhzx/sygdSH.vue | 2 +- src/views/jhzx/sygdWH.vue | 2 +- src/views/jhzx/symxCX.vue | 2 +- src/views/jhzx/ydjhzxGL.vue | 5 +++-- src/views/jhzx/ydjhzxXF.vue | 2 +- src/views/jhzxgl/tzjhD.vue | 26 ++++++++++++++++++-------- 7 files changed, 26 insertions(+), 15 deletions(-) diff --git a/src/api/jhzxgl/pgd.js b/src/api/jhzxgl/pgd.js index 52420d5..070795b 100644 --- a/src/api/jhzxgl/pgd.js +++ b/src/api/jhzxgl/pgd.js @@ -8,7 +8,7 @@ export function saveTzjhPgdXd(data) {return request({url: '/pgdTzjh/saveTzjhPgdX export function saveTzjhPgdXdBack(data) {return request({url: '/pgdTzjh/saveTzjhPgdXdBack', method: 'post', data})} export function saveTzjhPgdFk(data) {return request({url: '/pgdTzjh/saveTzjhPgdFk', method: 'post', data})} export function getPgdBase(data) {return request({url: '/pgdTzjh/getPgdBase', method: 'post', data})} - +export function checkTzReq(data) {return request({url: '/pgdTzjh/checkTz', method: 'post', data})} export function getDhPgd(data) {return request({url: '/pgdDh/getDhPgd', method: 'post', data})} diff --git a/src/views/jhzx/sygdSH.vue b/src/views/jhzx/sygdSH.vue index a0db426..03b84a4 100644 --- a/src/views/jhzx/sygdSH.vue +++ b/src/views/jhzx/sygdSH.vue @@ -284,7 +284,7 @@ export default { window.addEventListener('resize', this.getHeight) this.getHeight() this.initBase() - this.queryParam.beginTime=XEUtils.toDateString(new Date(),'yyyy/MM/dd') + this.queryParam.beginTime = XEUtils.toDateString(XEUtils.getWhatMonth(new Date(), 1, 'first'),'yyyy/MM/dd') }, watch: { 'queryParam.beginTime'(newValue, Value){ diff --git a/src/views/jhzx/sygdWH.vue b/src/views/jhzx/sygdWH.vue index bf2e357..2222177 100644 --- a/src/views/jhzx/sygdWH.vue +++ b/src/views/jhzx/sygdWH.vue @@ -284,7 +284,7 @@ export default { window.addEventListener('resize', this.getHeight) this.getHeight() this.initBase() - this.queryParam.beginTime=XEUtils.toDateString(new Date(),'yyyy/MM/dd') + this.queryParam.beginTime = XEUtils.toDateString(XEUtils.getWhatMonth(new Date(), 1, 'first'),'yyyy/MM/dd') }, watch: { 'queryParam.beginTime'(newValue, Value){ diff --git a/src/views/jhzx/symxCX.vue b/src/views/jhzx/symxCX.vue index 1f05045..affdcde 100644 --- a/src/views/jhzx/symxCX.vue +++ b/src/views/jhzx/symxCX.vue @@ -3024,7 +3024,7 @@ export default { getCzxx({}).then(res => { this.dictData = res.data }) - this.queryParam.beginTime = XEUtils.toDateString(XEUtils.getWhatMonth(new Date(), 0, 1),'yyyy/MM/dd') + this.queryParam.beginTime = XEUtils.toDateString(XEUtils.getWhatMonth(new Date(), 1, 'first'),'yyyy/MM/dd') }, //初始化表1 数据 initList() { diff --git a/src/views/jhzx/ydjhzxGL.vue b/src/views/jhzx/ydjhzxGL.vue index 968596d..49266b4 100644 --- a/src/views/jhzx/ydjhzxGL.vue +++ b/src/views/jhzx/ydjhzxGL.vue @@ -1031,9 +1031,10 @@ export default { }) var date = new Date(); var Y = date.getFullYear() + "/"; - var M = (date.getMonth() + 1 < 10 ? "0" + (date.getMonth() + 1) : date.getMonth() + 1)+ "/"; + var M = (date.getMonth() + 2 < 10 ? "0" + (date.getMonth() + 2) : date.getMonth() + 2)+ "/"; var D = date.getDate()<10? "0" +date.getDate():date.getDate(); - this.queryParam.yf = Y + M + D; + // this.queryParam.yf = Y + M + D; + this.queryParam.yf= XEUtils.toDateString(XEUtils.getWhatMonth(new Date(), 0, 'first'),'yyyy/MM/dd') }, //初始化表1 数据 initList() { diff --git a/src/views/jhzx/ydjhzxXF.vue b/src/views/jhzx/ydjhzxXF.vue index e36ed14..7247c23 100644 --- a/src/views/jhzx/ydjhzxXF.vue +++ b/src/views/jhzx/ydjhzxXF.vue @@ -1080,7 +1080,7 @@ export default { }) var date = new Date(); var Y = date.getFullYear() + "/"; - var M = (date.getMonth() + 1 < 10 ? "0" + (date.getMonth() + 1) : date.getMonth() + 1)+ "/"; + var M = (date.getMonth() + 2 < 10 ? "0" + (date.getMonth() + 2) : date.getMonth() + 2)+ "/"; var D = date.getDate()<10? "0" +date.getDate():date.getDate(); this.queryParam.yf = Y + M + D; diff --git a/src/views/jhzxgl/tzjhD.vue b/src/views/jhzxgl/tzjhD.vue index d17659d..889a020 100644 --- a/src/views/jhzxgl/tzjhD.vue +++ b/src/views/jhzxgl/tzjhD.vue @@ -60,7 +60,7 @@ - + 批量 - + - 反馈 接收 + 检查 + 反馈 @@ -125,12 +126,12 @@