From ea1650195925d9db1c8e0daa33a6eb35bf84c451 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BA=9E=E4=B8=9C=E6=97=AD?= <850374051@qq.com> Date: Tue, 23 Aug 2022 14:37:46 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/index.js | 4 +- .../bankAgriculture/paymentApproval.js | 9 + .../images/sunVillage_info/name_icon.png | Bin 0 -> 1267 bytes src/permission.js | 1 + src/router/index.js | 9 + .../sunVillage_info/list_finance_ranking.vue | 620 +++++++++++------- src/views/sunVillage_info/list_tourists.vue | 17 + .../sunVillage_info/list_tourists_ranking.vue | 553 ++++++++++++++++ .../paymentApproval/approvalList.vue | 31 +- .../paymentApproval/approvalList11.vue | 31 +- .../paymentApproval/approvalList12.vue | 31 +- .../paymentApproval/approvalList2.vue | 31 +- 12 files changed, 1073 insertions(+), 264 deletions(-) create mode 100644 src/assets/images/sunVillage_info/name_icon.png create mode 100644 src/views/sunVillage_info/list_tourists_ranking.vue diff --git a/config/index.js b/config/index.js index fe397f12..2c5eeffb 100644 --- a/config/index.js +++ b/config/index.js @@ -12,8 +12,8 @@ module.exports = { proxyTable: { "/api": { // 请求的目标主机 - // target: 'http://116.255.223.226:8081/nsgk_test/', - target: 'http://localhost:8080/', + target: 'http://116.255.223.226:8081/nsgk_test/', + // target: 'http://localhost:8080/', changeOrigin: true, pathRewrite: { '^/api': '' diff --git a/src/api/onlineHome/bankAgriculture/paymentApproval.js b/src/api/onlineHome/bankAgriculture/paymentApproval.js index e91352d0..0a795451 100644 --- a/src/api/onlineHome/bankAgriculture/paymentApproval.js +++ b/src/api/onlineHome/bankAgriculture/paymentApproval.js @@ -345,3 +345,12 @@ export function selectApprovalByTemplateId(templateId) { method: 'get' }) } + +// 撤回 +export function updateTYinnongTransferFoStatus(data) { + return request({ + url: '/yinnong/transfer/updateTYinnongTransferFoStatus', + method: 'post', + data: data + }) +} diff --git a/src/assets/images/sunVillage_info/name_icon.png b/src/assets/images/sunVillage_info/name_icon.png new file mode 100644 index 0000000000000000000000000000000000000000..9126df853c6ff0be0f280ca0ae73f21691fafd87 GIT binary patch literal 1267 zcmaJ>ZEO=|9KX3_(`~q5bOGa%%Mo=;yxx1;yR3FyuZ1d|OR26QzHq&JZavn!=eWDk zZXpyf1eX{!Az?r?%nxGxfHA|wFeUo{U(7xbFmVh~2quUaGI6rG#HBvn+R2B7OYV93 z-~adfzu#zI@74`X&o*Hgwjr@iPNBUWy^W7Ip!M%x;(wuSvlq*FJD~0r6bE1t4Q2tJ zFqHw20*W@g=X=nFVf7^=o$)fs?UD*jpHk8B6-^tVF{~?Gv=wy_cz6~J7*>dw`*w=J z4J}0U3rRX@M?ucmHsXLCBfV*LWKb0~BK$JmRg@5c2|NWant98WiXmc!S3>8Cm?H2M z6>l&^tU8rR_Tf?J09^3-NtNM)ctG?qexBz1FX1fBh!h>97>=YFiS|oE0Ixm-vgT;I zl#=6BTj&-da-L^P6jdk`dP|B#HVpEKdrcARE*NV35rNIAgtgG#&hiyQmfD4Bl z71cxEQUjyhJ=#!35qTrM<`}3bN?wNQkO?d=A%_U`#itpXq%(X#DM201Kf!E2b z#-YUz0$G|3GTC6T#w>-<^q`xAHXe=Q9sP!-!GhaasnBY`GH{H&K#M!j#8*-* z8S9v*1zq!ts!9S@Wyvg$LKg$PpY#LH57Yq4i%1hyy!KG)R$CNFPzZL-6G;>VI;(Iz z$tem=asaU@Ixmp^08j*7)kMJZ1ch9rDqZtX7u7_lH7m!pnLwAdsR9-nB?rw+W8a|` z46AEO$dPpMT9!YxulMfQdnc#EZ6CBW#9w%|VdueenPQfgE?-)>ecKlghr>@E|L5pe zhxe9dmnJuD+Wg>)+)wK18#kuG*w!;gM(KmHlF?uPH!|A(%(3@N`%l-OqdLC6*ZS+! z)bhTWZ|>BQZyw3Fo}HYOnkQa424Q*rowwcltsh?eIQ-Z|`9Q>Kd0Kz|a^bfVQ|DWc zzP0iE@%h=M@STbAo8ZFd%f?M_Hr#dVO!xGK?z>N1T{v-nZm!|eAI=W^dHvdh#xdff z&*Y_BdoDgTU&>$qxtnae8d`+y(=#)%D}P)$wUKSsI-5J|7CUwyzE^5n*gpP7zx~{D pdFtKYFD>rh_1z~g{@8K=tH*e#jnC{nx4ZHiO2m5QFMDEL@ literal 0 HcmV?d00001 diff --git a/src/permission.js b/src/permission.js index 52a1618c..5aeff49c 100644 --- a/src/permission.js +++ b/src/permission.js @@ -121,6 +121,7 @@ const whiteList = [ '/sunVillage_info/list_issues_detail', //详情页 '/sunVillage_info/list_finance_detail', //详情页 '/sunVillage_info/list_finance_ranking', //详情页 + '/sunVillage_info/list_tourists_ranking', //详情页 ] router.beforeEach((to, from, next) => { diff --git a/src/router/index.js b/src/router/index.js index 23305844..64f37da8 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -3079,6 +3079,15 @@ export const constantRoutes = [ hidden: true, }, component: (resolve) => require(['@/views/sunVillage_info/list_issues_edit'], resolve) + }, + { ////阳光村务(新)-- 合同信息 + path: '/sunVillage_info/list_tourists_ranking', + name: 'sunVillageInfoListTouristsRanking', + meta: { + title: '零工公式公布榜', + hidden: true, + }, + component: (resolve) => require(['@/views/sunVillage_info/list_tourists_ranking'], resolve) } ]; diff --git a/src/views/sunVillage_info/list_finance_ranking.vue b/src/views/sunVillage_info/list_finance_ranking.vue index 60999b51..f84290f8 100644 --- a/src/views/sunVillage_info/list_finance_ranking.vue +++ b/src/views/sunVillage_info/list_finance_ranking.vue @@ -1,61 +1,86 @@ diff --git a/src/views/sunVillage_info/list_tourists.vue b/src/views/sunVillage_info/list_tourists.vue index 9a30956a..6e12b407 100644 --- a/src/views/sunVillage_info/list_tourists.vue +++ b/src/views/sunVillage_info/list_tourists.vue @@ -45,6 +45,9 @@
+
+ +
@@ -169,6 +172,9 @@ goEdit(id){ this.$router.push({path:'/sunVillage_info/list_tourists_edit',query: {id:id,type:'finance'}}) }, + goRanking(id,time){ + this.$router.push({path:'/sunVillage_info/list_tourists_ranking',query: {id:id,time:time}}) + }, goRemove(id){ this.$dialog.alert({ title: '提示', @@ -376,6 +382,7 @@ } &.view{ background: #3494ff; + margin-left: 28px; .icon { width: 29px; height: 21px; @@ -384,6 +391,16 @@ display: block; } } + &.list{ + background: #79cf13; + .icon { + width: 29px; + height: 21px; + background: url('../../assets/images/sunVillage_info/list_icon_10.png') no-repeat; + background-size: 100% 100%; + display: block; + } + } } } } diff --git a/src/views/sunVillage_info/list_tourists_ranking.vue b/src/views/sunVillage_info/list_tourists_ranking.vue new file mode 100644 index 00000000..af1111d2 --- /dev/null +++ b/src/views/sunVillage_info/list_tourists_ranking.vue @@ -0,0 +1,553 @@ + + + + + diff --git a/src/views/yinnong/bankAgriculture/paymentApproval/approvalList.vue b/src/views/yinnong/bankAgriculture/paymentApproval/approvalList.vue index d77b5ef0..4c95e27b 100644 --- a/src/views/yinnong/bankAgriculture/paymentApproval/approvalList.vue +++ b/src/views/yinnong/bankAgriculture/paymentApproval/approvalList.vue @@ -43,6 +43,9 @@ + + + @@ -51,7 +54,7 @@ diff --git a/src/views/yinnong/bankAgriculture/paymentApproval/approvalList11.vue b/src/views/yinnong/bankAgriculture/paymentApproval/approvalList11.vue index b90fad2f..fbc118c2 100644 --- a/src/views/yinnong/bankAgriculture/paymentApproval/approvalList11.vue +++ b/src/views/yinnong/bankAgriculture/paymentApproval/approvalList11.vue @@ -41,6 +41,9 @@ + + + @@ -63,7 +66,8 @@ export default { pageNum:1, pageSize:10, cashType: '11', - } + }, + form:{} }; }, created() { @@ -137,7 +141,30 @@ export default { .catch(() => { // on cancel }); - } + }, + cancelApply(row) { + console.log(row) + const instanceId = row.instanceId; + this.form.id = row.id; + this.form.auditStatus = "0"; + this.form.applyUserId = ""; + this.form.applyUserName = ""; + this.form.applyTime = ""; + this.form.instanceId = ""; + this.form.processKey = ""; + let that = this; + this.$dialog.confirm({ + message: '您确认撤回待审数据?', + }) + .then(function () { + return updateTYinnongTransferFoStatus(that.form).then(response => { + setTimeout(function(){ + history.go(0) + },2000) + that.$toast.success('撤回成功'); + }); + }) + }, }, } diff --git a/src/views/yinnong/bankAgriculture/paymentApproval/approvalList12.vue b/src/views/yinnong/bankAgriculture/paymentApproval/approvalList12.vue index b40908fe..959108e0 100644 --- a/src/views/yinnong/bankAgriculture/paymentApproval/approvalList12.vue +++ b/src/views/yinnong/bankAgriculture/paymentApproval/approvalList12.vue @@ -41,6 +41,9 @@ + + + @@ -63,7 +66,8 @@ export default { pageNum:1, pageSize:100, cashType: '12', - } + }, + form:{} }; }, created() { @@ -136,7 +140,30 @@ export default { .catch(() => { // on cancel }); - } + }, + cancelApply(row) { + console.log(row) + const instanceId = row.instanceId; + this.form.id = row.id; + this.form.auditStatus = "0"; + this.form.applyUserId = ""; + this.form.applyUserName = ""; + this.form.applyTime = ""; + this.form.instanceId = ""; + this.form.processKey = ""; + let that = this; + this.$dialog.confirm({ + message: '您确认撤回待审数据?', + }) + .then(function () { + return updateTYinnongTransferFoStatus(that.form).then(response => { + setTimeout(function(){ + history.go(0) + },2000) + that.$toast.success('撤回成功'); + }); + }) + }, }, } diff --git a/src/views/yinnong/bankAgriculture/paymentApproval/approvalList2.vue b/src/views/yinnong/bankAgriculture/paymentApproval/approvalList2.vue index 357ff9a1..529304a5 100644 --- a/src/views/yinnong/bankAgriculture/paymentApproval/approvalList2.vue +++ b/src/views/yinnong/bankAgriculture/paymentApproval/approvalList2.vue @@ -41,6 +41,9 @@ + + + @@ -49,7 +52,7 @@