From e3b59e29e21e6be248dad3b8e66233d99620ba75 Mon Sep 17 00:00:00 2001 From: zhaodengke Date: Thu, 5 Dec 2024 14:47:17 +0800 Subject: [PATCH 1/5] =?UTF-8?q?Task=20=E7=BB=BC=E5=90=88=E5=85=AC=E5=BC=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/sunVillage_info/otherOpen.js | 45 +++ src/router/index.js | 27 ++ src/views/sunVillage_info/index_code.vue | 32 +- .../list_tourists_registration_add.vue | 6 +- .../list_tourists_registration_edit.vue | 6 +- .../otherOpen/otherOpenDetail.vue | 179 +++++++++ .../otherOpen/otherOpenEdit.vue | 259 ++++++++++++ .../otherOpen/otherOpenList.vue | 379 ++++++++++++++++++ .../registration/registrationEdit.vue | 8 +- 9 files changed, 927 insertions(+), 14 deletions(-) create mode 100644 src/api/sunVillage_info/otherOpen.js create mode 100644 src/views/sunVillage_info/otherOpen/otherOpenDetail.vue create mode 100644 src/views/sunVillage_info/otherOpen/otherOpenEdit.vue create mode 100644 src/views/sunVillage_info/otherOpen/otherOpenList.vue diff --git a/src/api/sunVillage_info/otherOpen.js b/src/api/sunVillage_info/otherOpen.js new file mode 100644 index 00000000..957f0004 --- /dev/null +++ b/src/api/sunVillage_info/otherOpen.js @@ -0,0 +1,45 @@ +import request from '@/utils/request' + +// 查询其他公开列表 +export function listOther(query) { + return request({ + url: '/subcontract/other/list', + method: 'get', + params: query + }) +} + +// 查询其他公开详细 +export function getOther(id) { + return request({ + url: '/subcontract/other/get/' + id, + method: 'get' + }) +} + +// 新增其他公开 +export function addOther(data) { + return request({ + url: '/subcontract/other/add', + method: 'post', + data: data + }) +} + +// 修改其他公开 +export function updateOther(data) { + return request({ + url: '/subcontract/other/edit', + method: 'post', + data: data + }) +} + +// 删除其他公开 +export function delOther(id) { + return request({ + url: '/subcontract/other/remove/' + id, + method: 'get' + }) +} + diff --git a/src/router/index.js b/src/router/index.js index 37044daf..447c1b5f 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -3795,6 +3795,33 @@ export const constantRoutes = [ }, component: (resolve) => require(['@/views/sunVillage_info/registration/registrationEdit'], resolve) }, + { ////阳光村务(新)-- 综合公开 + path: '/sunVillage_info/otherOpenIndex', + name: 'otherOpenIndex', + meta: { + title: '综合公开', + hidden: true, + }, + component: (resolve) => require(['@/views/sunVillage_info/otherOpen/otherOpenList'], resolve) + }, + { ////阳光村务(新)-- 综合公开详情 + path: '/sunVillage_info/otherOpenDetail', + name: 'otherOpenDetail', + meta: { + title: '综合公开详情', + hidden: true, + }, + component: (resolve) => require(['@/views/sunVillage_info/otherOpen/otherOpenDetail'], resolve) + }, + { ////阳光村务(新)-- 新增/编辑综合公开 + path: '/sunVillage_info/otherOpenEdit', + name: 'otherOpenEdit', + meta: { + title: '编辑综合公开', + hidden: true, + }, + component: (resolve) => require(['@/views/sunVillage_info/otherOpen/otherOpenEdit'], resolve) + }, { ////阳光村务(新)-- 发包方审核 path: '/sunVillage_info/list_employer_process', diff --git a/src/views/sunVillage_info/index_code.vue b/src/views/sunVillage_info/index_code.vue index 33cd32b5..c5bf7fdd 100644 --- a/src/views/sunVillage_info/index_code.vue +++ b/src/views/sunVillage_info/index_code.vue @@ -5,7 +5,10 @@
{{deptName}}
-
{{bookName}}
+
{{bookName}}
+ + +
@@ -65,7 +68,7 @@
diff --git a/src/views/sunVillage_info/list_tourists_registration_add.vue b/src/views/sunVillage_info/list_tourists_registration_add.vue index 6c3c365f..0e6fde90 100644 --- a/src/views/sunVillage_info/list_tourists_registration_add.vue +++ b/src/views/sunVillage_info/list_tourists_registration_add.vue @@ -36,7 +36,7 @@ :border="false" > - + - + - + diff --git a/src/views/sunVillage_info/list_tourists_registration_edit.vue b/src/views/sunVillage_info/list_tourists_registration_edit.vue index 7cb5d01a..b079f517 100644 --- a/src/views/sunVillage_info/list_tourists_registration_edit.vue +++ b/src/views/sunVillage_info/list_tourists_registration_edit.vue @@ -36,7 +36,7 @@ :border="false" > - + - + - + diff --git a/src/views/sunVillage_info/otherOpen/otherOpenDetail.vue b/src/views/sunVillage_info/otherOpen/otherOpenDetail.vue new file mode 100644 index 00000000..193ba420 --- /dev/null +++ b/src/views/sunVillage_info/otherOpen/otherOpenDetail.vue @@ -0,0 +1,179 @@ + + + diff --git a/src/views/sunVillage_info/otherOpen/otherOpenEdit.vue b/src/views/sunVillage_info/otherOpen/otherOpenEdit.vue new file mode 100644 index 00000000..8870c9b0 --- /dev/null +++ b/src/views/sunVillage_info/otherOpen/otherOpenEdit.vue @@ -0,0 +1,259 @@ + + + diff --git a/src/views/sunVillage_info/otherOpen/otherOpenList.vue b/src/views/sunVillage_info/otherOpen/otherOpenList.vue new file mode 100644 index 00000000..656240cf --- /dev/null +++ b/src/views/sunVillage_info/otherOpen/otherOpenList.vue @@ -0,0 +1,379 @@ + + + + + diff --git a/src/views/sunVillage_info/registration/registrationEdit.vue b/src/views/sunVillage_info/registration/registrationEdit.vue index 45264d40..f52ef9c4 100644 --- a/src/views/sunVillage_info/registration/registrationEdit.vue +++ b/src/views/sunVillage_info/registration/registrationEdit.vue @@ -30,7 +30,7 @@ :border="false" > - + - + - + @@ -69,7 +69,7 @@ import FieldDatePicker from "@/components/form/FieldDatePicker.vue"; import {Toast} from "vant"; export default { - name: "registrationDetail", + name: "registrationEdit", components: {FieldDatePicker, CommonUpload}, data() { return { From c2c110b264f7f078e7cb22ace4735a31bca47fdd Mon Sep 17 00:00:00 2001 From: zhaodengke Date: Thu, 5 Dec 2024 15:48:34 +0800 Subject: [PATCH 2/5] =?UTF-8?q?Task=20=E7=BB=BC=E5=90=88=E5=85=AC=E5=BC=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/onlineHome/villageAffairs.js | 11 + src/api/sunVillage_info/otherOpen.js | 21 + src/components/common/PagedList.vue | 13 + src/permission.js | 2 + src/router/index.js | 18 + src/views/sunVillage_info/index_code.vue | 8 +- .../otherOpen/otherOpenDetail.vue | 1 - .../otherOpen/otherOpenList.vue | 35 +- .../otherOpen/otherOpenVisitDetail.vue | 187 +++++++++ .../otherOpen/otherOpenVisitList.vue | 378 ++++++++++++++++++ 10 files changed, 667 insertions(+), 7 deletions(-) create mode 100644 src/views/sunVillage_info/otherOpen/otherOpenVisitDetail.vue create mode 100644 src/views/sunVillage_info/otherOpen/otherOpenVisitList.vue diff --git a/src/api/onlineHome/villageAffairs.js b/src/api/onlineHome/villageAffairs.js index f52e05c8..6a31ed94 100644 --- a/src/api/onlineHome/villageAffairs.js +++ b/src/api/onlineHome/villageAffairs.js @@ -17,3 +17,14 @@ export function getVillageAffairs(id) { }) } +// 查询地区下的账套列表 +export function bookListByDept(deptId, bookType) { + return request({ + url: '/open/villageAffairs/public/bookList/' + deptId, + method: 'get', + params: { + bookType, + }, + }) +} + diff --git a/src/api/sunVillage_info/otherOpen.js b/src/api/sunVillage_info/otherOpen.js index 957f0004..305363f7 100644 --- a/src/api/sunVillage_info/otherOpen.js +++ b/src/api/sunVillage_info/otherOpen.js @@ -43,3 +43,24 @@ export function delOther(id) { }) } +// 查询其他公开列表 游客 +export function otherOpenList(query) { + return request({ + url: '/open/villageAffairs/public/otherOpenList', + method: 'get', + params: query + }) +} + +// 查询其他公开详细 游客 +export function otherOpenDetail(bookId, id) { + return request({ + url: '/open/villageAffairs/public/otherOpenDetail', + method: 'get', + params: { + bookId, + id, + }, + }) +} + diff --git a/src/components/common/PagedList.vue b/src/components/common/PagedList.vue index fb997fcc..544399db 100644 --- a/src/components/common/PagedList.vue +++ b/src/components/common/PagedList.vue @@ -48,6 +48,10 @@ export default { type: Function, default: null, }, + reload: { // 变更此值为true则重新加载数据 监听 + type: Boolean, + default: false, + }, }, components: { }, @@ -177,6 +181,15 @@ export default { console.log('[PagedList]: ', ...arguments); }, }, + watch: { + reload(newVal) { + if(newVal) + { + this.$emit('update:reload', false); + this.getList(); + } + }, + }, } diff --git a/src/permission.js b/src/permission.js index c39603a8..8d6bd2cf 100644 --- a/src/permission.js +++ b/src/permission.js @@ -140,6 +140,8 @@ const whiteList = [ '/sunVillage_info/list_contract_ranking', '/sunVillage_info/identity_check', '/sunVillage_info/assetMapOpen', + '/sunVillage_info/otherOpenVisitIndex', + '/sunVillage_info/otherOpenVisitDetail', // 新型经营主体 'newBusinessEntity/newsBulletin', //新闻公告 diff --git a/src/router/index.js b/src/router/index.js index 447c1b5f..52364bd5 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -3822,6 +3822,24 @@ export const constantRoutes = [ }, component: (resolve) => require(['@/views/sunVillage_info/otherOpen/otherOpenEdit'], resolve) }, + { ////阳光村务(新)-- 综合公开 游客 + path: '/sunVillage_info/otherOpenVisitIndex', + name: 'otherOpenVisitIndex', + meta: { + title: '综合公开', + hidden: true, + }, + component: (resolve) => require(['@/views/sunVillage_info/otherOpen/otherOpenVisitList'], resolve) + }, + { ////阳光村务(新)-- 综合公开详情 游客 + path: '/sunVillage_info/otherOpenVisitDetail', + name: 'otherOpenVisitDetail', + meta: { + title: '综合公开详情', + hidden: true, + }, + component: (resolve) => require(['@/views/sunVillage_info/otherOpen/otherOpenVisitDetail'], resolve) + }, { ////阳光村务(新)-- 发包方审核 path: '/sunVillage_info/list_employer_process', diff --git a/src/views/sunVillage_info/index_code.vue b/src/views/sunVillage_info/index_code.vue index c5bf7fdd..21f339db 100644 --- a/src/views/sunVillage_info/index_code.vue +++ b/src/views/sunVillage_info/index_code.vue @@ -68,9 +68,10 @@ diff --git a/src/views/sunVillage_info/otherOpen/otherOpenVisitDetail.vue b/src/views/sunVillage_info/otherOpen/otherOpenVisitDetail.vue new file mode 100644 index 00000000..92bd31b1 --- /dev/null +++ b/src/views/sunVillage_info/otherOpen/otherOpenVisitDetail.vue @@ -0,0 +1,187 @@ + + + diff --git a/src/views/sunVillage_info/otherOpen/otherOpenVisitList.vue b/src/views/sunVillage_info/otherOpen/otherOpenVisitList.vue new file mode 100644 index 00000000..aefffc10 --- /dev/null +++ b/src/views/sunVillage_info/otherOpen/otherOpenVisitList.vue @@ -0,0 +1,378 @@ + + + + + From f74cc7873bce0bccd2804456bd351224cd13539c Mon Sep 17 00:00:00 2001 From: zhaodengke Date: Thu, 5 Dec 2024 17:38:18 +0800 Subject: [PATCH 3/5] =?UTF-8?q?Task=20=E7=BB=BC=E5=90=88=E5=85=AC=E5=BC=80?= =?UTF-8?q?2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/images/icon/index_header_focus.png | Bin 0 -> 988 bytes src/components/form/FieldSelect.vue | 2 + .../otherOpen/otherOpenEdit.vue | 27 +++- .../otherOpen/otherOpenList.vue | 129 ++++++++++++++---- .../otherOpen/otherOpenVisitList.vue | 97 ++++++++++--- 5 files changed, 207 insertions(+), 48 deletions(-) create mode 100644 src/assets/images/icon/index_header_focus.png diff --git a/src/assets/images/icon/index_header_focus.png b/src/assets/images/icon/index_header_focus.png new file mode 100644 index 0000000000000000000000000000000000000000..cbe5e7687e32fad70bb6e3a353e1e86f65f25951 GIT binary patch literal 988 zcmaJ=O>5LZ7*46QS}hbosETFC3iWF^Y_prL4Vt!WS6nm{V<1$3S<@Rb0WQy?N^cp5nN{gj222 znsH6Gh%1;eMu=RWu{myPI`U1ci7BY#RmW5KZ*Si6z_AtnM%EAwzl0mk+*W{>w&ttW zR@0Jfe)=+)iex6>VrqiOUGqXYQuwy6%+B#OZ8m z1e8UY0=fiJB1%Is4N*FYQnDz?C<{6t&%6cpid@mk9be2+_y(oE3}LI)5?X121gj89 zk_5#ROr??xkqkFIYDP&fOmr1A99n_nQ-^pURy6Bmohm$wbUy{x@5y>$r%bG1Ffx6J z1Tjvj3p9-XLtVFr4rv7+#QRU-u)67ESivD#4=mQWl|<~ymrDUQDG92CtaYon*dUaI z4dR1R37j)b%kg6Se4AhxvhIb{^en7v3eO}2$FXHGQ^=@dUeYqf6hgDbf?6(?b1KT@ z#9|udvt6!6taTTAw9B;*xN2W+JPWSRJZm^`Hn3d|hzr^|%TE7T@_qF>T)TfPg}z+K zf`M^o|LS!2ij7Zv?9DARdXtYmHtqqN>!HujFnbdVx~5j6PxYUBdwVy*!$b8UdW@gh zRmLU%M-%(7qI>H!LPfu6OWrqFJEt*8M|u! cn4GyYz@h6q?{0s;I1#@$eRf`ZQCz @@ -46,6 +47,7 @@ export default { 'remoteUrl', // 远程列表加载地址 String 'onRemoteResponse', // 远程获取到结果的处理回调 String|Function 如果是函数需返回数组, 如果是字符串支持.分割 'clearable', // 点击取消时清空绑定值 + 'size', ], watch: { value: function (newVal, oldVal) { diff --git a/src/views/sunVillage_info/otherOpen/otherOpenEdit.vue b/src/views/sunVillage_info/otherOpen/otherOpenEdit.vue index 8870c9b0..3ec8a69f 100644 --- a/src/views/sunVillage_info/otherOpen/otherOpenEdit.vue +++ b/src/views/sunVillage_info/otherOpen/otherOpenEdit.vue @@ -1,13 +1,25 @@ @@ -78,21 +86,27 @@ import {getLoginBook} from "@/api/sunVillage_info/fixedAssets"; otherType: null, }, yearList: [], - title: '综合公开', reload: false, showTab: false, + otherTypeOptions: [], + showType: false, }; }, created() { - this.queryParams.otherType = this.$route.query.type; - if(this.$route.query.type) - { - this.getDicts('other_gk_type').then((resp) => { - const dict = resp.data.find((x) => x.dictValue == this.$route.query.type); - if(dict) - this.title = dict.dictLabel; + this.queryParams.otherType = this.$route.query.type || ''; + this.getDicts('other_gk_type').then((resp) => { + let arr = []; + arr.push({ + dictValue: '', + dictLabel: '综合公开', + name: '全部', }); - } + resp.data.forEach((x) => { + x.name = x.dictLabel; + arr.push(x); + }); + this.otherTypeOptions = arr; + }); getLoginBook().then((resp) => { let startYear = new Date().getFullYear(); let thisYear = startYear; @@ -115,35 +129,50 @@ import {getLoginBook} from "@/api/sunVillage_info/fixedAssets"; }); }); }, - viewItem(id){ + gotoViewItem(id) { + let parms = { + id: id, + intent: 'view', + }; + if(this.queryParams.otherType) + parms.type = this.queryParams.otherType; this.$router.push({ name: 'otherOpenDetail', - query: { - id: id, - intent: 'view', - type: this.$route.query.type, - }, + query: parms, }).catch(() => {}); }, - add() { + viewItem(id){ + this.$router.replace(`/sunVillage_info/otherOpenIndex?type=${this.queryParams.otherType || ''}`, () => this.gotoViewItem(id), () => this.gotoViewItem(id) ); + }, + gotoAdd() { + let parms = { + intent: 'add', + }; + if(this.queryParams.otherType) + parms.type = this.queryParams.otherType; this.$router.push({ name: 'otherOpenEdit', - query: { - intent: 'add', - type: this.$route.query.type, - }, + query: parms, }).catch(() => {}); }, - edit(id) { + add() { + this.$router.replace(`/sunVillage_info/otherOpenIndex?type=${this.queryParams.otherType || ''}`, () => this.gotoAdd(), () => this.gotoAdd() ); + }, + gotoEdit(id) { + let parms = { + id: id, + intent: 'edit', + }; + if(this.queryParams.otherType) + parms.type = this.queryParams.otherType; this.$router.push({ name: 'otherOpenEdit', - query: { - id: id, - intent: 'edit', - type: this.$route.query.type, - }, + query: parms, }).catch(() => {}); }, + edit(id) { + this.$router.replace(`/sunVillage_info/otherOpenIndex?type=${this.queryParams.otherType || ''}`, () => this.gotoEdit(id), () => this.gotoEdit(id) ); + }, remove(id) { Dialog.confirm({ title: '警告', @@ -164,7 +193,7 @@ import {getLoginBook} from "@/api/sunVillage_info/fixedAssets"; .catch(() => {}); }, back() { - this.$router.back(); + this.$router.replace('/sunVillage_info/otherOpenIndex', () => this.$router.back(), () => this.$router.back() ); }, tabClick(year){ this.queryParams.openYear = year; @@ -173,6 +202,24 @@ import {getLoginBook} from "@/api/sunVillage_info/fixedAssets"; tabShow(){ this.showTab = !this.showTab; }, + openTypeChooser() { + this.showType = true; + }, + changeType(action, index) { + this.queryParams.otherType = action.dictValue; + this.reload = true; + }, + }, + computed: { + title() { + if(this.queryParams.otherType) + { + const dict = this.otherTypeOptions.find((x) => x.dictValue == this.queryParams.otherType); + if(dict) + return dict.dictLabel; + } + return '综合公开'; + }, }, } @@ -213,6 +260,32 @@ import {getLoginBook} from "@/api/sunVillage_info/fixedAssets"; right: 38px; top: 36px; } + + .title { + } + .title::before { + display: inline-block; + width: 24px; + height: 24px; + content: ''; + background-image: url('../../../assets/images/icon/index_header_focus.png'); + background-repeat: no-repeat; + background-size: contain; + margin-right: 0.2rem; + transform: rotate( + 180deg + ); + } + .title::after { + width: 0.32rem; + height: 0.32rem; + display: inline-block; + content: ''; + background-image: url('../../../assets/images/icon/index_header_focus.png'); + background-repeat: no-repeat; + background-size: contain; + margin-left: 0.2rem; + } } .record_main{ padding:30px 22px; diff --git a/src/views/sunVillage_info/otherOpen/otherOpenVisitList.vue b/src/views/sunVillage_info/otherOpen/otherOpenVisitList.vue index aefffc10..ac6129ea 100644 --- a/src/views/sunVillage_info/otherOpen/otherOpenVisitList.vue +++ b/src/views/sunVillage_info/otherOpen/otherOpenVisitList.vue @@ -3,7 +3,7 @@
- {{title}} +

{{title}}

@@ -47,6 +47,14 @@
+ + @@ -74,9 +82,10 @@ import Cookies from "js-cookie"; deptId: null, }, yearList: [], - title: '综合公开', reload: false, showTab: false, + otherTypeOptions: [], + showType: false, }; }, created() { @@ -88,15 +97,20 @@ import Cookies from "js-cookie"; return; } - this.queryParams.otherType = this.$route.query.type; - if(this.$route.query.type) - { - this.getDicts('other_gk_type').then((resp) => { - const dict = resp.data.find((x) => x.dictValue == this.$route.query.type); - if(dict) - this.title = dict.dictLabel; + this.queryParams.otherType = this.$route.query.type || ''; + this.getDicts('other_gk_type').then((resp) => { + let arr = []; + arr.push({ + dictValue: '', + dictLabel: '综合公开', + name: '全部', }); - } + resp.data.forEach((x) => { + x.name = x.dictLabel; + arr.push(x); + }); + this.otherTypeOptions = arr; + }); bookInfo(this.queryParams.bookId).then((resp) => { let startYear = new Date().getFullYear(); let thisYear = startYear; @@ -119,18 +133,23 @@ import Cookies from "js-cookie"; }); }); }, - viewItem(id){ + gotoViewItem(id) { + let parms = { + id: id, + intent: 'view', + }; + if(this.queryParams.otherType) + parms.type = this.queryParams.otherType; this.$router.push({ name: 'otherOpenVisitDetail', - query: { - id: id, - intent: 'view', - type: this.$route.query.type, - }, + query: parms, }).catch(() => {}); }, + viewItem(id){ + this.$router.replace(`/sunVillage_info/otherOpenVisitIndex?type=${this.queryParams.otherType || ''}`, () => this.gotoViewItem(id), () => this.gotoViewItem(id) ); + }, back() { - this.$router.back(); + this.$router.replace('/sunVillage_info/otherOpenVisitIndex', () => this.$router.back(), () => this.$router.back() ); }, tabClick(year){ this.queryParams.openYear = year; @@ -139,6 +158,24 @@ import Cookies from "js-cookie"; tabShow(){ this.showTab = !this.showTab; }, + openTypeChooser() { + this.showType = true; + }, + changeType(action, index) { + this.queryParams.otherType = action.dictValue; + this.reload = true; + }, + }, + computed: { + title() { + if(this.queryParams.otherType) + { + const dict = this.otherTypeOptions.find((x) => x.dictValue == this.queryParams.otherType); + if(dict) + return dict.dictLabel; + } + return '综合公开'; + }, }, } @@ -179,6 +216,32 @@ import Cookies from "js-cookie"; right: 38px; top: 36px; } + + .title { + } + .title::before { + display: inline-block; + width: 24px; + height: 24px; + content: ''; + background-image: url('../../../assets/images/icon/index_header_focus.png'); + background-repeat: no-repeat; + background-size: contain; + margin-right: 0.2rem; + transform: rotate( + 180deg + ); + } + .title::after { + width: 0.32rem; + height: 0.32rem; + display: inline-block; + content: ''; + background-image: url('../../../assets/images/icon/index_header_focus.png'); + background-repeat: no-repeat; + background-size: contain; + margin-left: 0.2rem; + } } .record_main{ padding:30px 22px; From d339cd922fcdc92a9ff1024f5ea7257c31a22258 Mon Sep 17 00:00:00 2001 From: zhaodengke Date: Fri, 6 Dec 2024 10:40:56 +0800 Subject: [PATCH 4/5] =?UTF-8?q?Task=20=E7=BB=BC=E5=90=88=E5=85=AC=E5=BC=80?= =?UTF-8?q?2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/sunVillage_info/otherOpen.js | 7 +++---- .../index_block_zonghegongkai.png | Bin 0 -> 3480 bytes .../index_code_btn_zonghegongkai.png | Bin 0 -> 14444 bytes src/views/sunVillage_info/index_code.vue | 1 - .../sunVillage_info/otherOpen/otherOpenEdit.vue | 8 ++++---- .../sunVillage_info/otherOpen/otherOpenList.vue | 14 +++++++------- .../otherOpen/otherOpenVisitDetail.vue | 2 +- .../otherOpen/otherOpenVisitList.vue | 6 +++--- 8 files changed, 18 insertions(+), 20 deletions(-) create mode 100644 src/assets/images/sunVillage_info/index_block_zonghegongkai.png create mode 100644 src/assets/images/sunVillage_info/index_code_btn_zonghegongkai.png diff --git a/src/api/sunVillage_info/otherOpen.js b/src/api/sunVillage_info/otherOpen.js index 305363f7..6f46afd1 100644 --- a/src/api/sunVillage_info/otherOpen.js +++ b/src/api/sunVillage_info/otherOpen.js @@ -46,19 +46,18 @@ export function delOther(id) { // 查询其他公开列表 游客 export function otherOpenList(query) { return request({ - url: '/open/villageAffairs/public/otherOpenList', + url: '/open/villageAffairs/public/otherPublicList', method: 'get', params: query }) } // 查询其他公开详细 游客 -export function otherOpenDetail(bookId, id) { +export function otherOpenDetail(id) { return request({ - url: '/open/villageAffairs/public/otherOpenDetail', + url: '/open/villageAffairs/public/otherPublicDetail', method: 'get', params: { - bookId, id, }, }) diff --git a/src/assets/images/sunVillage_info/index_block_zonghegongkai.png b/src/assets/images/sunVillage_info/index_block_zonghegongkai.png new file mode 100644 index 0000000000000000000000000000000000000000..b12f4364a3c6b517e6743dc34c9c048681998310 GIT binary patch literal 3480 zcmaJ^c|4Ts9-pCXt(HV7V=P%`F~%|o!%PUnM2IlVSdtlLMz)FJqKJ@+2%YS*B%$kA zrm{q`l&pz3r*W)fi>!B?Tj$`uTwbi*pLMMa(0Kg$L zQxiOQHQajz__*H^pMcNYMUswjpkJVP(t`+862OQ^aVLSy{0LqoJc&RI31}zj0RX(R zKDG{Y2TKc-2gMIU*uy}A{rtIX06@L2K@=4 z`|5-LEy}^t8e~kNl0Zm^rkV#_LmQ-}1A%L5zz~|MAaxjA2MW`M!VzjPI0~kTLTZ72 zJYa4#D$x^#H^Kgh#XaeRz3Fs+6cid16a)!EKqyo%C|pN}>q8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xfLvOf-GJ-phmMP7!FN)HrkQe7eYy|MsdfyRtOl { this.otherTypeOptions = resp.data; const dict = resp.data.find((x) => x.dictValue == this.form.otherType); @@ -191,7 +191,7 @@ return this.intent === 'edit' ? '编辑' : '新增'; }, showTypeSelector() { - return this.isAdd && !this.type; + return this.isAdd && !this.otherType; }, }, } diff --git a/src/views/sunVillage_info/otherOpen/otherOpenList.vue b/src/views/sunVillage_info/otherOpen/otherOpenList.vue index 63bbf5de..84808d1d 100644 --- a/src/views/sunVillage_info/otherOpen/otherOpenList.vue +++ b/src/views/sunVillage_info/otherOpen/otherOpenList.vue @@ -93,7 +93,7 @@ import {getLoginBook} from "@/api/sunVillage_info/fixedAssets"; }; }, created() { - this.queryParams.otherType = this.$route.query.type || ''; + this.queryParams.otherType = this.$route.query.otherType || ''; this.getDicts('other_gk_type').then((resp) => { let arr = []; arr.push({ @@ -135,28 +135,28 @@ import {getLoginBook} from "@/api/sunVillage_info/fixedAssets"; intent: 'view', }; if(this.queryParams.otherType) - parms.type = this.queryParams.otherType; + parms.otherType = this.queryParams.otherType; this.$router.push({ name: 'otherOpenDetail', query: parms, }).catch(() => {}); }, viewItem(id){ - this.$router.replace(`/sunVillage_info/otherOpenIndex?type=${this.queryParams.otherType || ''}`, () => this.gotoViewItem(id), () => this.gotoViewItem(id) ); + this.$router.replace(`/sunVillage_info/otherOpenIndex?otherType=${this.queryParams.otherType || ''}`, () => this.gotoViewItem(id), () => this.gotoViewItem(id) ); }, gotoAdd() { let parms = { intent: 'add', }; if(this.queryParams.otherType) - parms.type = this.queryParams.otherType; + parms.otherType = this.queryParams.otherType; this.$router.push({ name: 'otherOpenEdit', query: parms, }).catch(() => {}); }, add() { - this.$router.replace(`/sunVillage_info/otherOpenIndex?type=${this.queryParams.otherType || ''}`, () => this.gotoAdd(), () => this.gotoAdd() ); + this.$router.replace(`/sunVillage_info/otherOpenIndex?otherType=${this.queryParams.otherType || ''}`, () => this.gotoAdd(), () => this.gotoAdd() ); }, gotoEdit(id) { let parms = { @@ -164,14 +164,14 @@ import {getLoginBook} from "@/api/sunVillage_info/fixedAssets"; intent: 'edit', }; if(this.queryParams.otherType) - parms.type = this.queryParams.otherType; + parms.otherType = this.queryParams.otherType; this.$router.push({ name: 'otherOpenEdit', query: parms, }).catch(() => {}); }, edit(id) { - this.$router.replace(`/sunVillage_info/otherOpenIndex?type=${this.queryParams.otherType || ''}`, () => this.gotoEdit(id), () => this.gotoEdit(id) ); + this.$router.replace(`/sunVillage_info/otherOpenIndex?otherType=${this.queryParams.otherType || ''}`, () => this.gotoEdit(id), () => this.gotoEdit(id) ); }, remove(id) { Dialog.confirm({ diff --git a/src/views/sunVillage_info/otherOpen/otherOpenVisitDetail.vue b/src/views/sunVillage_info/otherOpen/otherOpenVisitDetail.vue index 92bd31b1..f71cefef 100644 --- a/src/views/sunVillage_info/otherOpen/otherOpenVisitDetail.vue +++ b/src/views/sunVillage_info/otherOpen/otherOpenVisitDetail.vue @@ -90,7 +90,7 @@ return; } - otherOpenDetail(this.bookId, this.id).then((resp) => { + otherOpenDetail(this.id).then((resp) => { this.form = resp.data; this.getDicts('other_gk_type').then((resp) => { const dict = resp.data.find((x) => x.dictValue == this.form.otherType); diff --git a/src/views/sunVillage_info/otherOpen/otherOpenVisitList.vue b/src/views/sunVillage_info/otherOpen/otherOpenVisitList.vue index ac6129ea..36934d60 100644 --- a/src/views/sunVillage_info/otherOpen/otherOpenVisitList.vue +++ b/src/views/sunVillage_info/otherOpen/otherOpenVisitList.vue @@ -97,7 +97,7 @@ import Cookies from "js-cookie"; return; } - this.queryParams.otherType = this.$route.query.type || ''; + this.queryParams.otherType = this.$route.query.otherType || ''; this.getDicts('other_gk_type').then((resp) => { let arr = []; arr.push({ @@ -139,14 +139,14 @@ import Cookies from "js-cookie"; intent: 'view', }; if(this.queryParams.otherType) - parms.type = this.queryParams.otherType; + parms.otherType = this.queryParams.otherType; this.$router.push({ name: 'otherOpenVisitDetail', query: parms, }).catch(() => {}); }, viewItem(id){ - this.$router.replace(`/sunVillage_info/otherOpenVisitIndex?type=${this.queryParams.otherType || ''}`, () => this.gotoViewItem(id), () => this.gotoViewItem(id) ); + this.$router.replace(`/sunVillage_info/otherOpenVisitIndex?otherType=${this.queryParams.otherType || ''}`, () => this.gotoViewItem(id), () => this.gotoViewItem(id) ); }, back() { this.$router.replace('/sunVillage_info/otherOpenVisitIndex', () => this.$router.back(), () => this.$router.back() ); From bfcb240f73f1bbae9ae91409ad18246d32073078 Mon Sep 17 00:00:00 2001 From: zhaodengke Date: Fri, 6 Dec 2024 13:56:58 +0800 Subject: [PATCH 5/5] =?UTF-8?q?Task=20=E9=9B=B6=E5=B7=A5=E7=99=BB=E8=AE=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/finance.js | 21 +++++++++++++++++++ .../sunVillage_info/list_register_add.vue | 12 ++++++++--- .../sunVillage_info/list_register_edit.vue | 11 ++++++++-- .../list_tourists_registration_add.vue | 11 ++++++++-- .../list_tourists_registration_edit.vue | 11 ++++++++-- 5 files changed, 57 insertions(+), 9 deletions(-) diff --git a/src/utils/finance.js b/src/utils/finance.js index 8dac27d2..d00466a9 100644 --- a/src/utils/finance.js +++ b/src/utils/finance.js @@ -236,6 +236,27 @@ export const FINANCE = { a = new BigNumber(a, 10); return a.isZero(); }, + sub(a, b) { + if(!(a instanceof BigNumber)) + a = new BigNumber(a, 10); + if(!(b instanceof BigNumber)) + b = new BigNumber(b, 10); + return a.minus(b, 10); + }, + mul(a, b) { + if(!(a instanceof BigNumber)) + a = new BigNumber(a, 10); + if(!(b instanceof BigNumber)) + b = new BigNumber(b, 10); + return a.multipliedBy(b, 10); + }, + div(a, b) { + if(!(a instanceof BigNumber)) + a = new BigNumber(a, 10); + if(!(b instanceof BigNumber)) + b = new BigNumber(b, 10); + return a.div(b, 10); + }, toNumber(a) { if(typeof(a) === 'number') return a; diff --git a/src/views/sunVillage_info/list_register_add.vue b/src/views/sunVillage_info/list_register_add.vue index 559b0fd6..6514591f 100644 --- a/src/views/sunVillage_info/list_register_add.vue +++ b/src/views/sunVillage_info/list_register_add.vue @@ -38,9 +38,9 @@ - + - + @@ -61,6 +61,7 @@ import { addOddjob } from "@/api/sunVillage_info/fixedAssets"; import Cookies from "js-cookie"; import request from '@/utils/request' + import {FINANCE} from "@/utils/finance"; export default { name: "certificateList", data() { @@ -113,7 +114,12 @@ this.jobTime = data; this.showBuildTime = false; }, - + calcMoney() { + if(this.form.workNum > 0 && this.form.perMoney > 0) + { + this.form.totalMoney = FINANCE.toNumber(FINANCE.mul(this.form.workNum, this.form.perMoney)); + } + }, }, } diff --git a/src/views/sunVillage_info/list_register_edit.vue b/src/views/sunVillage_info/list_register_edit.vue index b08b22ca..a60a4207 100644 --- a/src/views/sunVillage_info/list_register_edit.vue +++ b/src/views/sunVillage_info/list_register_edit.vue @@ -38,9 +38,9 @@ - + - + @@ -61,6 +61,7 @@ import { addOddjob , getOddjob , updateOddjob } from "@/api/sunVillage_info/fixedAssets"; import Cookies from "js-cookie"; import request from '@/utils/request' + import {FINANCE} from "@/utils/finance"; export default { name: "certificateList", data() { @@ -122,6 +123,12 @@ this.jobTime = data; this.showBuildTime = false; }, + calcMoney() { + if(this.form.workNum > 0 && this.form.perMoney > 0) + { + this.form.totalMoney = FINANCE.toNumber(FINANCE.mul(this.form.workNum, this.form.perMoney)); + } + }, }, } diff --git a/src/views/sunVillage_info/list_tourists_registration_add.vue b/src/views/sunVillage_info/list_tourists_registration_add.vue index 0e6fde90..6782be19 100644 --- a/src/views/sunVillage_info/list_tourists_registration_add.vue +++ b/src/views/sunVillage_info/list_tourists_registration_add.vue @@ -25,8 +25,8 @@ - - + + 0 && this.form.perMoney > 0) + { + this.form.totalMoney = FINANCE.toNumber(FINANCE.mul(this.form.workNum, this.form.perMoney)); + } + }, }, } diff --git a/src/views/sunVillage_info/list_tourists_registration_edit.vue b/src/views/sunVillage_info/list_tourists_registration_edit.vue index b079f517..5c20d17b 100644 --- a/src/views/sunVillage_info/list_tourists_registration_edit.vue +++ b/src/views/sunVillage_info/list_tourists_registration_edit.vue @@ -25,8 +25,8 @@ - - + + 0 && this.form.perMoney > 0) + { + this.form.totalMoney = FINANCE.toNumber(FINANCE.mul(this.form.workNum, this.form.perMoney)); + } + }, }, }