diff --git a/src/api/login/index.js b/src/api/login/index.js index a82d8ed8..024e49dc 100644 --- a/src/api/login/index.js +++ b/src/api/login/index.js @@ -111,3 +111,27 @@ export function registerOn(mobile) { data: mobile }) } + +// 春耕app登录: 用户 +export function chungengUserLogin(code) { + return request({ + url: '/chungeng/userLogin', + method: 'post', + data: {code}, + headers: { + isToken: false + } + }) +} + +// 春耕app登录: 农户 +export function chungengFarmerLogin(code) { + return request({ + url: '/chungeng/farmerLogin', + method: 'post', + data: {code}, + headers: { + isToken: false + } + }) +} diff --git a/src/api/onlineHome/homestead/reporting.js b/src/api/onlineHome/homestead/reporting.js index f46d04b9..69913cf5 100644 --- a/src/api/onlineHome/homestead/reporting.js +++ b/src/api/onlineHome/homestead/reporting.js @@ -100,3 +100,12 @@ export function getJg(id){ method:'get' }) } + +// 查询任务上报列表 +export function listHomeuseshangbao(query) { + return request({ + url: '/home/homeuseshangbao/list', + method: 'get', + params: query + }) +} diff --git a/src/api/sunVillage_info/fixedAssets.js b/src/api/sunVillage_info/fixedAssets.js index e86dc26f..488d4273 100644 --- a/src/api/sunVillage_info/fixedAssets.js +++ b/src/api/sunVillage_info/fixedAssets.js @@ -747,7 +747,7 @@ export function getMultiplelotsNh(query, id) { // 标段合同乙方签字 export function multipleLotsSecondSign(data, id) { return request({ - url: '/transaction/multiplelotsnh/secondSign/' + id, + url: '/home/mobile/multiplelotsnh/secondSign/' + id, method: 'post', data: data }) @@ -765,7 +765,7 @@ export function listCbht(query) { // 承包合同甲方签名 export function cbhtFirstSign(data,id) { return request({ - url: '/service/cbht/sign/first/' + id, + url: '/home/mobile/cbht/sign/first/' + id, method: 'post', data: data }) @@ -774,7 +774,7 @@ export function cbhtFirstSign(data,id) { // 查询承包合同详细 export function getCbht(query, id) { return request({ - url: '/service/cbht/get/' + id, + url: '/home/mobile/cbht/get/' + id, method: 'get', params: query }) @@ -800,8 +800,44 @@ export function getCbhtList(query) { // 承包合同乙方签名 export function cbhtSecondSign(data,id) { return request({ - url: '/service/cbht/sign/second/' + id, + url: '/home/mobile/cbht/sign/second/' + id, method: 'post', data: data }) } + +// 附件查询 +export function attachmentQuery(query) { + return request({ + url: '/home/mobile/attach/query', + method: 'get', + params: query + }) +} + +// 附件删除 +export function attachmentRemove(ids) { + return request({ + url: '/home/mobile/attach/remove/' + ids, + method: 'get' + }) +} + +// 附件上传 +export function attachmentUpload(data) { + return request({ + url: '/home/mobile/common/attach', + method: 'post', + header: { "Content-Type": 'application/x-www-form-urlencoded' }, + data: data + }) +} + +// 投诉建议列表 +export function adviceList(query) { + return request({ + url: '/villageAffairs/public/adviceList', + method: 'get', + params: query + }) +} diff --git a/src/assets/images/sunVillage_info/complaint_add_icon_01.jpg b/src/assets/images/sunVillage_info/complaint_add_icon_01.jpg new file mode 100644 index 00000000..e4964fee Binary files /dev/null and b/src/assets/images/sunVillage_info/complaint_add_icon_01.jpg differ diff --git a/src/assets/images/sunVillage_info/complaint_add_icon_02.jpg b/src/assets/images/sunVillage_info/complaint_add_icon_02.jpg new file mode 100644 index 00000000..7a429ada Binary files /dev/null and b/src/assets/images/sunVillage_info/complaint_add_icon_02.jpg differ diff --git a/src/assets/images/sunVillage_info/index_block_5_rights.png b/src/assets/images/sunVillage_info/index_block_5_rights.png new file mode 100644 index 00000000..f25cac9f Binary files /dev/null and b/src/assets/images/sunVillage_info/index_block_5_rights.png differ diff --git a/src/components/form/FieldCascader.vue b/src/components/form/FieldCascader.vue index 61e00782..d65499d9 100644 --- a/src/components/form/FieldCascader.vue +++ b/src/components/form/FieldCascader.vue @@ -54,6 +54,7 @@ export default { 'parentName', // 父的值键名 String 如果不为空 则自动转数组为树树结构数组 String 'showTextAndValue', // 是否显示值和键 Bool|String 字符串为分隔符, true为空字符串 'showHasChildren', // 是否显示存在子级的标识 Bool|String 字符串为标识符, true为` >` + 'clearable', // 点击取消时清空绑定值 ], watch: { value: function (newVal, oldVal) { @@ -121,6 +122,12 @@ export default { onCancel() { this.closePopup(); this.$emit('cancel'); + if(this.clearable) + { + this.visibleValue = ''; + this.internalValue = null; + this.$emit('input', this.internalValue); + } }, getValue(data) { return typeof(data) === 'object' && this.valueName ? data[this.valueName] : data; diff --git a/src/components/form/FieldDatePicker.vue b/src/components/form/FieldDatePicker.vue index d9f60342..db34c8a5 100644 --- a/src/components/form/FieldDatePicker.vue +++ b/src/components/form/FieldDatePicker.vue @@ -44,6 +44,7 @@ export default { 'name', 'readonly', 'value', 'label', 'placeholder', 'required', 'rules', 'labelWidth', 'type', // 类型, 仅支持 datetime date time year-month month-day datehour 'formatter', // value的格式化 String|Function|undefined 字符串为格式字符串, 函数则必须有返回 undefined则不转换 + 'clearable', // 点击取消时清空绑定值 ], watch: { value: function (newVal, oldVal) { @@ -108,6 +109,12 @@ export default { onCancel() { this.closePopup(); this.$emit('cancel'); + if(this.clearable) + { + this.visibleValue = ''; + this.internalValue = null; + this.$emit('input', this.internalValue); + } }, onChanged(data) { this.$emit('change', this.getValue(data), data); diff --git a/src/components/form/FieldSelect.vue b/src/components/form/FieldSelect.vue index 39a4edd6..ee2608c0 100644 --- a/src/components/form/FieldSelect.vue +++ b/src/components/form/FieldSelect.vue @@ -45,6 +45,7 @@ export default { 'dataKey', // 值键名 String 'remoteUrl', // 远程列表加载地址 String 'onRemoteResponse', // 远程获取到结果的处理回调 String|Function 如果是函数需返回数组, 如果是字符串支持.分割 + 'clearable', // 点击取消时清空绑定值 ], watch: { value: function (newVal, oldVal) { @@ -102,6 +103,12 @@ export default { onCancel() { this.closePopup(); this.$emit('cancel'); + if(this.clearable) + { + this.visibleValue = ''; + this.internalValue = null; + this.$emit('input', this.internalValue); + } }, getValue(data) { return typeof(data) === 'object' && this.dataKey ? data[this.dataKey] : data; diff --git a/src/permission.js b/src/permission.js index ce67350e..0e79cded 100644 --- a/src/permission.js +++ b/src/permission.js @@ -19,6 +19,8 @@ const whiteList = [ '/notice/inviteTendersDetail', '/notice/winTheBiddingDetail', '/project/projectNeedsDetail', + '/chungeng/userSSOLogin', + '/chungeng/farmerSSOLogin', '/supply/index', '/interaction/index', @@ -136,6 +138,8 @@ const whiteList = [ '/sunVillage_info/list_vote', //详情页 '/sunVillage_info/list_vote_detail', //详情页 '/sunVillage_info/list_vote_form', //详情页 + '/sunVillage_info/list_complaint', //详情页 + '/sunVillage_info/list_complaint_add', //详情页 '/sunVillage_info/homeApplication/applicationList', //列表页面 '/sunVillage_info/proposerLite', '/sunVillage_info/paidExit/paidExitList', //列表页面 @@ -149,6 +153,10 @@ const whiteList = [ '/sunVillage_info/list_signature', '/sunVillage_info/list_official', '/sunVillage_info/list_signature_add', + '/sunVillage_info/list_multipleLotsNh', + '/sunVillage_info/list_multipleLotsNh_detail', + '/sunVillage_info/list_cbf', + '/sunVillage_info/list_cbht_detail', // 新型经营主体 'newBusinessEntity/newsBulletin', //新闻公告 diff --git a/src/router/index.js b/src/router/index.js index 968e5c01..ad4403c8 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -3335,6 +3335,24 @@ export const constantRoutes = [ }, component: (resolve) => require(['@/views/zjdLogin'], resolve) }, + { + path: '/chungeng/userSSOLogin', + name: 'chungengUserSSOLogin', + meta: { + title: '春耕App用户登录入口', + hidden: true, + }, + component: (resolve) => require(['@/views/chungengUserSSOLogin'], resolve) + }, + { + path: '/chungeng/farmerSSOLogin', + name: 'chungengFarmerSSOLogin', + meta: { + title: '春耕App农户登录入口', + hidden: true, + }, + component: (resolve) => require(['@/views/chungengFarmerSSOLogin'], resolve) + }, { path: '/onlineHome/arbitrationList', name: 'arbitrationList', @@ -3813,6 +3831,24 @@ export const constantRoutes = [ }, component: (resolve) => require(['@/views/sunVillage_info/list_vote'], resolve) }, + { ////阳光村务(新)-- 合同信息 + path: '/sunVillage_info/list_complaint', + name: 'sunVillageInfoListComplaint', + meta: { + title: '投诉建议', + hidden: true, + }, + component: (resolve) => require(['@/views/sunVillage_info/list_complaint'], resolve) + }, + { ////阳光村务(新)-- 合同信息 + path: '/sunVillage_info/list_complaint_add', + name: 'sunVillageInfoListComplaintAdd', + meta: { + title: '投诉建议', + hidden: true, + }, + component: (resolve) => require(['@/views/sunVillage_info/list_complaint_add'], resolve) + }, { ////阳光村务(新)-- 合同网签 path: '/sunVillage_info/list_signature', name: 'sunVillageInfoListSignature', diff --git a/src/store/modules/user.js b/src/store/modules/user.js index c5c912ba..6006a5f0 100644 --- a/src/store/modules/user.js +++ b/src/store/modules/user.js @@ -1,4 +1,4 @@ -import { login, logout, getInfo, smsLogin } from '@/api/login'; +import {login, logout, getInfo, smsLogin, chungengUserLogin, chungengFarmerLogin} from '@/api/login'; import { registerOn } from "@/api/register"; import { getToken, setToken, removeToken } from '@/utils/auth' import { getSystemAttachmentUrl } from '@/api/system/config' @@ -171,6 +171,33 @@ const user = { // 更新用户信息 + // 春耕App用户登录 + ChungengLogin({ commit }, userInfo) { + const code = userInfo.code; + return new Promise((resolve, reject) => { + chungengUserLogin(code).then(res => { + setToken(res.token) + commit('SET_TOKEN', res.token) + Cookies.set("_Login_url", window.location.href); + resolve(res.data) + }).catch(error => { + reject(error) + }) + }) + }, + + // 春耕App用户登录 + ChungengFarmerLogin({ commit }, userInfo) { + const code = userInfo.code; + return new Promise((resolve, reject) => { + chungengFarmerLogin(code).then(res => { + Cookies.set("user", res.data, { expires: 30 }); + resolve(res.data) + }).catch(error => { + reject(error) + }) + }) + }, } } diff --git a/src/views/biddingHall/index.vue b/src/views/biddingHall/index.vue index 511d51bc..10cd3cfd 100644 --- a/src/views/biddingHall/index.vue +++ b/src/views/biddingHall/index.vue @@ -94,7 +94,7 @@ />
第六步
-成家确认
+成交确认
标的物图片
-竞价记录
出价人账号 | 姓名 | @@ -270,7 +274,8 @@ export default { price:null, userAccount:"", userName:"", - userId:"" + userId:"", + timeConfig:'' }; }, computed: { @@ -463,6 +468,7 @@ export default { } }); getWebConfig().then(response =>{ + this.timeConfig = response.data[8].configValue; response.data.map(item =>{ if(item.configKey=="cqjy.website.bidInfo"){ this.webConfig += item.configValue diff --git a/src/views/sunVillage_info/index_code.vue b/src/views/sunVillage_info/index_code.vue index 852e00a5..bb1d2835 100644 --- a/src/views/sunVillage_info/index_code.vue +++ b/src/views/sunVillage_info/index_code.vue @@ -100,6 +100,8 @@ }, created() { + if(this.$route.query.bookId) + { bookInfo(this.$route.query.bookId).then((res) => { if (res.code == 200) { Cookies.set("bookName", res.data.bookName, { @@ -115,6 +117,7 @@ Cookies.set("bookId", this.$route.query.bookId, { expires: 30, }); + } Cookies.set("deptId", this.$route.query.deptId, { expires: 30, }); diff --git a/src/views/sunVillage_info/index_code_rights.vue b/src/views/sunVillage_info/index_code_rights.vue index f4f7c099..271f07f5 100644 --- a/src/views/sunVillage_info/index_code_rights.vue +++ b/src/views/sunVillage_info/index_code_rights.vue @@ -75,12 +75,15 @@ created() { this.deptId = Cookies.get('deptId') this.bookId = Cookies.get('bookId') - bookInfo(this.bookId).then((res) => { - if (res.code == 200) { - this.deptName = res.data.deptName; - this.bookName = res.data.bookName; - } - }); + if(this.bookId) + { + bookInfo(this.bookId).then((res) => { + if (res.code == 200) { + this.deptName = res.data.deptName; + this.bookName = res.data.bookName; + } + }); + } if(Cookies.get('user')){ this.userName = JSON.parse(Cookies.get('user')).memberName } @@ -220,12 +223,17 @@ display: flex; align-items: center; justify-content: center; - padding-top: 40PX; + padding-top: 45PX; width: 25%; - margin-top: 10PX; &:nth-child(3){ margin-right: 0; } + &:nth-child(4n+1){ + margin-top: 15PX; + } + &:nth-child(1){ + margin-top: 0PX; + } &.n_1{ background: url('../../assets/images/sunVillage_info/index_block_1_rights.png') no-repeat center top; background-size: 34.5PX; @@ -263,7 +271,7 @@ } } .footer{ - position: absolute; + margin-top: 15PX; bottom: 5.5vh; width: 100%; font-size: 22px; diff --git a/src/views/sunVillage_info/list_cbf.vue b/src/views/sunVillage_info/list_cbf.vue index 693f399a..ac005a0a 100644 --- a/src/views/sunVillage_info/list_cbf.vue +++ b/src/views/sunVillage_info/list_cbf.vue @@ -90,17 +90,14 @@ + + diff --git a/src/views/sunVillage_info/list_complaint_add.vue b/src/views/sunVillage_info/list_complaint_add.vue new file mode 100644 index 00000000..27d09697 --- /dev/null +++ b/src/views/sunVillage_info/list_complaint_add.vue @@ -0,0 +1,269 @@ + +