diff --git a/package-lock.json b/package-lock.json index c403dafe..1fe58925 100644 --- a/package-lock.json +++ b/package-lock.json @@ -20888,7 +20888,7 @@ "fastclick": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/fastclick/-/fastclick-1.0.6.tgz", - "integrity": "sha512-cXyDBT4g0uWl/Xe75QspBDAgAWQ0lkPi/zgp6YFEUHj6WV6VIZl7R6TiDZhdOVU3W4ehp/8tG61Jev1jit+ztQ==", + "integrity": "sha1-FhYlsnsaWAZAWTa9qaLBkm0Gvmo=", "dev": true }, "fastparse": { @@ -21041,7 +21041,7 @@ "font-awesome.css": { "version": "4.7.2", "resolved": "https://registry.npmjs.org/font-awesome.css/-/font-awesome.css-4.7.2.tgz", - "integrity": "sha512-FIyRbig4PDY15NGzejM3b8OQ/lWvId8PHnE4CnuDtc8/YYs07cvnqLCyfvIJPwJl5SA/Rq+9jAe9W+Fr1pv0DA==" + "integrity": "sha1-B1pCARQo8gJyVO9phgx1ergWyVI=" }, "for-in": { "version": "1.0.2", @@ -28866,7 +28866,7 @@ "vue-html5-editor": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/vue-html5-editor/-/vue-html5-editor-1.1.1.tgz", - "integrity": "sha512-Ckmb8djta+XQMUQaxRcCUNBXEzjPF5p6c2nQ5ICcIuR8eYz4b0HAGzXlSDfL3ZxkrVHO2Hx0VrUORLu2Lwem4g==", + "integrity": "sha1-WRAhCoMNjI00eaHx/shHMZKqA7M=", "dev": true }, "vue-lazyload": { diff --git a/src/api/sunVillage_info/fixedAssets.js b/src/api/sunVillage_info/fixedAssets.js index d70982fe..f176adac 100644 --- a/src/api/sunVillage_info/fixedAssets.js +++ b/src/api/sunVillage_info/fixedAssets.js @@ -791,7 +791,7 @@ export function signProcessArchive(id) { // 签署合同下载 export function signedContractDownload(id) { return request({ - url: '/service/cbht/sign/download/' + id, + url: '/open/villageAffairs/public/sign/download/' + id, method: 'get' }); } @@ -799,7 +799,7 @@ export function signedContractDownload(id) { // 签字合同预览 export function viewSignedContract(id) { return request({ - url: '/service/cbht/sign/view/' + id, + url: '/open/villageAffairs/public/sign/view/' + id, method: 'get' }); } diff --git a/src/api/sunVillage_info/sysCbf.js b/src/api/sunVillage_info/sysCbf.js index a2465f01..bf4cca86 100644 --- a/src/api/sunVillage_info/sysCbf.js +++ b/src/api/sunVillage_info/sysCbf.js @@ -16,7 +16,13 @@ export function getCbfList(data){ params:data }) } - +// 获取承包方详情 +export function getCbfById(id) { + return request({ + url: '/service/cbf/get/' + id, + method: 'get' + }); +} //查询承包地块列表 export function getCbdkms(data){ return request({ @@ -90,4 +96,30 @@ export function cbfDataStatistics(){ }) } +// 承包方家庭成员 +export function listFamilyMember(params){ + return request({ + url: '/open/villageAffairs/public/familyMember/list', + method: 'get', + params: params + }) +} + +// 获取承包合同 +export function getContractByCode(params) { + return request({ + url: '/open/villageAffairs/public/contract/detail', + method: 'get', + params: params + }); +} + +// 获取承包地块信息 +export function listContractedLand(params) { + return request({ + url: '/open/villageAffairs/public/contractedLand/list', + method: 'get', + params: params + }); +} diff --git a/src/assets/images/sunVillage_info/cbfwsh.png b/src/assets/images/sunVillage_info/cbfwsh.png new file mode 100644 index 00000000..31e5f8c1 Binary files /dev/null and b/src/assets/images/sunVillage_info/cbfwsh.png differ diff --git a/src/assets/images/sunVillage_info/cbfwsq.png b/src/assets/images/sunVillage_info/cbfwsq.png new file mode 100644 index 00000000..49d9d90e Binary files /dev/null and b/src/assets/images/sunVillage_info/cbfwsq.png differ diff --git a/src/router/index.js b/src/router/index.js index 3405220b..ff538b07 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -4056,6 +4056,15 @@ export const constantRoutes = [ }, component: (resolve) => require(['@/views/sunVillage_info/list_cbfsq'], resolve) }, + { + path: '/sunVillage_info/list_cbfsq_view', + name: 'sunVillageInfoListCbfsqView', + meta: { + title: '承包方授权', + hidden: true, + }, + component: (resolve) => require(['@/views/sunVillage_info/list_cbfsq_view'], resolve) + }, { ////阳光村务(新)-- 合同信息 path: '/sunVillage_info/list_vote_detail', name: 'sunVillageInfoListVoteDetail', diff --git a/src/views/homesteadSurvey/add.vue b/src/views/homesteadSurvey/add.vue index 22f58a05..419f4f26 100644 --- a/src/views/homesteadSurvey/add.vue +++ b/src/views/homesteadSurvey/add.vue @@ -852,10 +852,13 @@ export default { if(this.form.id == null){ let surveyItem = JSON.parse(localStorage.getItem("surveyItem")); - this.$set(this.form, 'theGeomJson', JSON.parse( this.form.theGeomJson)); - if(this.form.theGeomJson.hasOwnProperty('coordinates')) // 从后台获取的 - this.$set(this.form, 'theGeomJson',this.form.theGeomJson.coordinates); - this.$set(this.form, 'theGeomJson', JSON.stringify( this.form.theGeomJson)); + if(this.form.theGeomJson instanceof Array){ + this.$set(this.form, 'theGeomJson', JSON.stringify( this.form.theGeomJson)); + }else if(typeof this.form.theGeomJson === 'string'){ + let theGeometry = JSON.parse( this.form.theGeomJson); + if(theGeometry.hasOwnProperty('coordinates')) // 从后台获取的 + this.$set(this.form, 'theGeomJson', JSON.stringify(theGeometry.coordinates)); + } this.$set(this.form, 'surveyId', surveyItem.id) addZjdzd(this.form).then(response => { let _this =this; diff --git a/src/views/homesteadSurvey/fsssAdd.vue b/src/views/homesteadSurvey/fsssAdd.vue index b768c4f9..daf1039c 100644 --- a/src/views/homesteadSurvey/fsssAdd.vue +++ b/src/views/homesteadSurvey/fsssAdd.vue @@ -44,7 +44,7 @@ - +

附属设施信息

@@ -124,12 +105,14 @@ import { listTown, getTown } from "@/api/homesteadSurvey/town"; import { listVillage} from "@/api/homesteadSurvey/village"; import {deptGetId,} from "@/api/homestead/index"; + import wcnhList from "@/views/homesteadSurvey/wcnhList"; import $ from "jquery"; import {Dialog} from "vant"; import {ref} from "vue"; import axios from "axios"; export default { name: "homesteadList", + components: { wcnhList}, data() { return { loading1:false, @@ -819,9 +802,7 @@ }, /** 新增外村农户按钮操作 */ onClickWcnh(){ - this.getWcnhList().then((resp) => { - this.outsideOpen = true; - }); + this.outsideOpen = true; }, getWcnhList() { return queryHomesteadnhhncyList({ @@ -4940,15 +4921,32 @@ value.indexOf('zrzSx') == -1 ? this.zrzSx = false : this.zrzSx = true; value.indexOf('fsssSx') == -1 ? this.fsssSx = false : this.fsssSx = true; }, + /** 外村农户关闭事件 */ + outsideCancel(){ + this.$refs.wcnh.clearSelection(); + }, /** 外村农户提交按钮 */ outsideSubmitForm() { - addOutsidenhhncy(this.outsideForm).then(response => { - if(response.code != 200) throw response.msg; - this.$toast("新增成功"); - this.outsideOpen = false; - this.getList(); - this.outDiglogStatus = true; - }).catch(() => this.outDiglogStatus = true); + let wcnhData = this.$refs.wcnh.wcnhData; + if(wcnhData == null){ + this.$toast("请选择外村农户!"); + }else { + this.$toast.loading({ + message: "数据处理中", + forbidClick: true, + duration: 100000, + }); + addOutsidenhhncy(wcnhData).then(response => { + if(response.code != 200) throw response.msg; + this.$toast.clear(); + this.$toast("新增成功"); + this.$refs.wcnh.clearSelection(); + this.outsideOpen = false; + this.getList(); + this.outDiglogStatus = true; + }).catch(() => this.outDiglogStatus = true); + } + }, closeSearchBox(){ this.showSearch = false ; diff --git a/src/views/homesteadSurvey/list4.vue b/src/views/homesteadSurvey/list4.vue index 883e12e3..de0608e6 100644 --- a/src/views/homesteadSurvey/list4.vue +++ b/src/views/homesteadSurvey/list4.vue @@ -495,10 +495,10 @@ - - - Alternative Content--> - + @@ -141,6 +138,7 @@ htqsShow:false, noticeUrl:"", fileList: [], + signingStatusData:[], listLength: '0', queryParams: { pageNum: 1, @@ -172,6 +170,9 @@ if (this.$route.query.type == 'code') { this.showBtn = false; } + this.houseGetDicts("signing_status").then((res) => { + this.signingStatusData = res.data; + }); this.height = window.screen.height * 1.28 - 20; }, methods: { @@ -181,7 +182,7 @@ getList() { this.loading = true; let wcStatus = this.$route.query.wcStatus; - if(wcStatus){ + if(wcStatus === 'true'){ this.$set(this.queryParams, 'signingStatus',"3"); }else{ this.$set(this.queryParams, 'signingStatus',null); @@ -200,6 +201,15 @@ }); }, + formatDict(item){ + let colorval = ""; + this.signingStatusData.map(function (e){ + if(item.signingStatus === e.dictLabel){ + colorval = e.remark; + } + }) + return colorval; + }, goDetail(id) { this.$router.push({ path: '/sunVillage_info/list_cbht_detail', @@ -340,7 +350,7 @@ // 签署合同下载 handleDownload(id) { this.$dialog.confirm({ - message: '是否确认下载签署合同?', + message: '是否下载承包合同?', }).then(() => { // on confirm signedContractDownload(id).then(res => { @@ -533,7 +543,7 @@ background: #ffedcd; border-radius: 8px; font-size: 24px; - color: #f8a83d; + color: #ffffff; text-align: center; line-height: 34px; flex-shrink: 0; diff --git a/src/views/sunVillage_info/list_cbht_detail.vue b/src/views/sunVillage_info/list_cbht_detail.vue index 84ff7675..e945c33b 100644 --- a/src/views/sunVillage_info/list_cbht_detail.vue +++ b/src/views/sunVillage_info/list_cbht_detail.vue @@ -5,7 +5,7 @@
- 承包合同合同信息 + 承包合同信息 @@ -23,19 +23,19 @@ - 甲方信息 - - - - - - - - 乙方信息 - - - - + + + + + + + + + + + + +
diff --git a/src/views/sunVillage_info/list_chronicles_process.vue b/src/views/sunVillage_info/list_chronicles_process.vue index 9b9ac602..46648fba 100644 --- a/src/views/sunVillage_info/list_chronicles_process.vue +++ b/src/views/sunVillage_info/list_chronicles_process.vue @@ -37,7 +37,9 @@
- + +
{{form.gsjs}}
+