From 9d8bcb2694aace1d92d1d39ac5548bc69e9b0b71 Mon Sep 17 00:00:00 2001 From: wesley88 <9519127+wesley88@user.noreply.gitee.com> Date: Tue, 24 Dec 2024 02:18:58 +0800 Subject: [PATCH] 2 --- admin-web-master/src/api/newly.js | 10 ++++++++++ admin-web-master/src/components/add/addht.vue | 24 ++++++++++++------------ admin-web-master/src/components/add/addremoveht.vue | 44 +++++++++++++++++++++++++++----------------- admin-web-master/src/components/add/addss.vue | 57 +++++++++++++++++++++++++++++++++++++-------------------- admin-web-master/src/components/buscha/busCha.vue | 87 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------- admin-web-master/src/components/chakan/zl.vue | 38 ++++++++++++++++++++++++++++++++++++++ admin-web-master/src/components/change/cl.vue | 102 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ admin-web-master/src/components/merchantInformation/index.vue | 6 +++--- admin-web-master/src/layout/index.vue | 4 ++-- admin-web-master/src/views/business/autd/index.vue | 14 ++++++++------ admin-web-master/src/views/business/businessList/index.vue | 17 +++++++++-------- admin-web-master/src/views/detect/admap copy 3.vue | 916 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ admin-web-master/src/views/detect/admap.vue | 52 +++++++++++----------------------------------------- admin-web-master/src/views/rent/audit/index.vue | 7 ++++--- 14 files changed, 1245 insertions(+), 133 deletions(-) create mode 100644 admin-web-master/src/components/change/cl.vue create mode 100644 admin-web-master/src/views/detect/admap copy 3.vue diff --git a/admin-web-master/src/api/newly.js b/admin-web-master/src/api/newly.js index 34233f4..891c653 100644 --- a/admin-web-master/src/api/newly.js +++ b/admin-web-master/src/api/newly.js @@ -35,6 +35,14 @@ export function cerePlatformMerchantadd(data) { data }) } +// 详情 +export function cerePlatformMerchantinfo(data) { + return requestnew({ + url: '/cerePlatformMerchant/queryById', + method: 'post', + data + }) +} // 修改 export function cerePlatformMerchantedit(data) { return requestnew({ @@ -44,4 +52,6 @@ export function cerePlatformMerchantedit(data) { }) } + + \ No newline at end of file diff --git a/admin-web-master/src/components/add/addht.vue b/admin-web-master/src/components/add/addht.vue index 8c89663..3a75e01 100644 --- a/admin-web-master/src/components/add/addht.vue +++ b/admin-web-master/src/components/add/addht.vue @@ -95,7 +95,7 @@ - @@ -251,6 +251,9 @@ contractinsertAdd } from '@/api/manage.js' + import { + cerePlatformMerchant + } from '@/api/newly.js' export default { components: { upimg @@ -391,12 +394,9 @@ }], }, shopfrom: { - shopName: '', // 店铺名称 - shopCode: '', // 店铺编码 - chargePersonName: '', // 店铺负责人 - contractState: '1', // 合同状态 1-有效 0-无效 - page: '1', // 当前页 - pageSize: '1000' // 每页记录数 + checkState:'2', + pageNumber: 0, + pageSize: 1000, }, pageindex: { pageNumber: 1, @@ -414,8 +414,8 @@ } }, created() { - businessListGetAll(this.shopfrom).then(res => { - this.shopList = res.data.list + cerePlatformMerchant(this.shopfrom).then(res => { + this.shopList = res.data.content console.error(this.shopList) }) }, @@ -543,9 +543,9 @@ }, changeRelatedMerchants(e) { console.error(e) - this.shopId = this.shopList[e].shopId - this.formInline.tenantName = this.shopList[e].chargePersonName - this.formInline.tenantTelephone = this.shopList[e].shopPhone + this.shopId = this.shopList[e].id + this.formInline.tenantName = this.shopList[e].name + this.formInline.tenantTelephone = this.shopList[e].phone }, hefuRemove() { this.hefuData = [] diff --git a/admin-web-master/src/components/add/addremoveht.vue b/admin-web-master/src/components/add/addremoveht.vue index 3eba278..e60fd6c 100644 --- a/admin-web-master/src/components/add/addremoveht.vue +++ b/admin-web-master/src/components/add/addremoveht.vue @@ -92,14 +92,14 @@ - + - - + @@ -123,7 +123,7 @@ - +
@@ -250,6 +250,9 @@ import { cereContractInformation } from '@/api/commodityLease.js' + import { + cerePlatformMerchant + } from '@/api/newly.js' export default { components: { upimg @@ -390,12 +393,9 @@ }], }, shopfrom: { - shopName: '', // 店铺名称 - shopCode: '', // 店铺编码 - chargePersonName: '', // 店铺负责人 - contractState: '1', // 合同状态 1-有效 0-无效 - page: '1', // 当前页 - pageSize: '1000' // 每页记录数 + checkState:'2', + pageNumber: 0, + pageSize: 1000, }, pageindex: { pageNumber: 1, @@ -414,8 +414,8 @@ }, }, created() { - businessListGetAll(this.shopfrom).then(res => { - this.shopList = res.data.list + cerePlatformMerchant(this.shopfrom).then(res => { + this.shopList = res.data.content console.error(this.shopList) }) }, @@ -480,7 +480,13 @@ relatedMerchants: this.shopId, contractChangeReason: this.contractChangeReason, dataStatus: dataStatus, - originalContractCode: this.info.contractNumber + originalContractCode: this.info.contractNumber, + + relatedMerchants: this.info.relatedMerchants, + tenantName: this.info.tenantName, + tenantTelephone: this.info.tenantTelephone, + shopNumber: this.info.shopNumber, + }) // return if (valid) { @@ -495,7 +501,11 @@ updateDate: this.gettime(), createDate: this.gettime(), contractChangeTime: this.gettime(), - updateUser:localStorage.getItem('roleName') + updateUser:localStorage.getItem('roleName'), + relatedMerchants: this.info.relatedMerchants, + tenantName: this.info.tenantName, + tenantTelephone: this.info.tenantTelephone, + shopNumber: this.info.shopNumber, }).then(res => { console.error(res) if (res.code == 200) { @@ -598,9 +608,9 @@ }, changeRelatedMerchants(e) { console.error(e) - this.shopId = this.shopList[e].shopId - this.formInline.tenantName = this.shopList[e].chargePersonName - this.formInline.tenantTelephone = this.shopList[e].shopPhone + this.shopId = this.shopList[e].id + this.formInline.tenantName = this.shopList[e].name + this.formInline.tenantTelephone = this.shopList[e].phone }, hefuRemove() { this.hefuData = [] diff --git a/admin-web-master/src/components/add/addss.vue b/admin-web-master/src/components/add/addss.vue index cee3c12..94c31ca 100644 --- a/admin-web-master/src/components/add/addss.vue +++ b/admin-web-master/src/components/add/addss.vue @@ -19,7 +19,7 @@ - + @@ -192,27 +192,43 @@ }) }, methods: { + //获取当前时间 + updateCurrentTime() { + const now = new Date(); + const year = now.getFullYear(); + const month = (now.getMonth() + 1).toString().padStart(2, '0'); + const day = now.getDate().toString().padStart(2, '0'); + const hours = now.getHours().toString().padStart(2, '0'); + const minutes = now.getMinutes().toString().padStart(2, '0'); + const seconds = now.getSeconds().toString().padStart(2, '0'); + + return `${year}-${month}-${day} ${hours}:${minutes}:${seconds}`; + }, add() { - console.log({...this.formInline}) + console.log({ + ...this.formInline + }) this.$refs.heForm.validate((valid) => { if (valid) { - - // cerePlatformMerchantadd({ - // ...this.formInline, - // }).then(res => { - // if (res.code == 200) { - // this.$message({ - // message: '添加成功', - // type: 'success' - // }) - // this.$emit('removeonaction', '1') - // } else { - // this.$message({ - // message: res.msg, - // type: 'error' - // }) - // } - // }) + + cerePlatformMerchantadd({ + ...this.formInline, + checkState: '2', + applyTime: this.updateCurrentTime() + }).then(res => { + if (res.code == 200) { + this.$message({ + message: '添加成功', + type: 'success' + }) + this.$emit('removeonaction', '1') + } else { + this.$message({ + message: res.msg, + type: 'error' + }) + } + }) } else { this.$message({ message: '请填写完整信息', @@ -257,7 +273,7 @@ this.formInline.tenantTelephone = this.shopList[e].shopPhone }, hefuRemove(e) { - this.formInline[e] = '' + // this.formInline[e] = '' }, hefuSuccess(response, e) { console.error(response) @@ -267,6 +283,7 @@ fd.append('file', response.raw) fd.append('filePath', 'yh') miniioupload(fd).then(res => { + console.error(res) this.formInline[e] = res.data }) } diff --git a/admin-web-master/src/components/buscha/busCha.vue b/admin-web-master/src/components/buscha/busCha.vue index b5c2751..2371d1e 100644 --- a/admin-web-master/src/components/buscha/busCha.vue +++ b/admin-web-master/src/components/buscha/busCha.vue @@ -135,22 +135,39 @@
- - -
{{shop.shopName}}
+ + +
{{shop.name}}
+
+
+ + +
{{shop.phone}}
- - -
{{shop.shopPhone}}
+
+ + + +
{{shop.idCardType}}
- - -
{{shop.shopAdress}}
+ + +
{{shop.idCardNumber}}
+ +
+ +
+
+ +
+ +
+
@@ -300,22 +317,39 @@
- - -
{{newshop.shopName}}
+ + +
{{newshop.name}}
- - -
{{newshop.shopPhone}}
+ + +
{{newshop.phone}}
- - -
{{newshop.shopAdress}}
+
+ + + +
{{newshop.idCardType}}
+
+
+ + +
{{newshop.idCardNumber}}
+ +
+ +
+
+ +
+ +
+
@@ -338,6 +372,9 @@ businessListGetById } from '../../api/business.js' import TitleWithCircle from '@/components/top/index'; + import { + cerePlatformMerchantinfo + } from '../../api/newly.js' export default { components: { TitleWithCircle @@ -372,13 +409,17 @@ contractNumber: this.info.contractNumber }).then(res => { console.error(res) - this.shop = res.data.shop + // this.shop = res.data.shop this.siteIds = res.data.siteIds this.shopIds = res.data.shopIds this.advIds = res.data.advIds this.list = res.data.list this.tableData = [...res.data.siteIds, ...res.data.shopIds, ...res.data.advIds] }) + cerePlatformMerchantinfo({id:this.info.relatedMerchants}).then(res => { + console.error(res) + this.shop = res.data + }) }, computed: { @@ -408,8 +449,12 @@ console.error(row) this.type = '2' this.newinfo = row - businessListGetById ({shopId:row.relatedMerchants}).then(res => { - console.log(res) + // businessListGetById ({shopId:row.relatedMerchants}).then(res => { + // console.log(res) + // this.newshop = res.data + // }) + cerePlatformMerchantinfo({id:row.relatedMerchants}).then(res => { + console.error(res) this.newshop = res.data }) }, diff --git a/admin-web-master/src/components/chakan/zl.vue b/admin-web-master/src/components/chakan/zl.vue index 521ac3b..59aa82d 100644 --- a/admin-web-master/src/components/chakan/zl.vue +++ b/admin-web-master/src/components/chakan/zl.vue @@ -469,7 +469,20 @@ + +
+
+ 同意 + 拒绝 +
+ + + + + +
+ 确定 返回 @@ -486,6 +499,10 @@ } from '../../api/business.js' import TitleWithCircle from '@/components/top/index'; import MapXian from "@/components/MapContainer/MapXian"; + import { + msgedit, + + } from '@/api/cereBusinessInfo' export default { components: { TitleWithCircle, @@ -501,6 +518,7 @@ }, data() { return { + radio:'2', ontype:'线上广告位', url:'', type:'1', @@ -526,6 +544,26 @@ }, methods: { + minSev(){ + console.error(this.info) + console.error(this.radio) + + msgedit({id:this.info.id,'auditStatus':this.radio,reviewComments:this.info.reviewComments}).then(res => { + console.error(res) + if (res.code == 200) { + this.$message({ + message: '处理成功', + type: 'success' + }) + this.info.auditStatus= this.radio + } else { + this.$message({ + message: '处理失败', + type: 'error' + }) + } + }) + }, openfile(e) { if (e) { const fullUrl = this.url + e; diff --git a/admin-web-master/src/components/change/cl.vue b/admin-web-master/src/components/change/cl.vue new file mode 100644 index 0000000..cbca4c9 --- /dev/null +++ b/admin-web-master/src/components/change/cl.vue @@ -0,0 +1,102 @@ + + + + + \ No newline at end of file diff --git a/admin-web-master/src/components/merchantInformation/index.vue b/admin-web-master/src/components/merchantInformation/index.vue index 6a22b51..7f28536 100644 --- a/admin-web-master/src/components/merchantInformation/index.vue +++ b/admin-web-master/src/components/merchantInformation/index.vue @@ -33,12 +33,12 @@
- +
- +
@@ -56,7 +56,7 @@
- +
{{info.checkOpinion}}
diff --git a/admin-web-master/src/layout/index.vue b/admin-web-master/src/layout/index.vue index c23b12e..de8a3d8 100644 --- a/admin-web-master/src/layout/index.vue +++ b/admin-web-master/src/layout/index.vue @@ -259,7 +259,7 @@ export default { // msg:['招商服务系统','推广策划系统','在线商城系统','支付服务模块','票务'], listMune:[], list:[ - ['招商资源监测','商家管理','商铺租赁服务','系统设置','招商方案管理','招商租赁管理','广告服务'], + ['招商资源监测','商家管理','商铺租赁服务','系统设置','招商方案管理','招商租赁管理'], // ['问卷调查'], // ['招商资源监测','商家管理','招商方案管理','招商租赁管理','广告服务','客服服务管理','系统设置','商铺租赁服务','问卷调查','招商过程管理','商户寻租管理','轮播图设置','平台活动','客服配置','优惠券管理'], // ['品牌策划','活动策划','氛围策划','媒体推广'], @@ -638,7 +638,7 @@ this.listMune[0] = All let list5=[] this.listMune = [] this.list=[ - ['招商资源监测','商家管理','商铺租赁服务','系统设置','招商方案管理','招商租赁管理','广告服务'], + ['招商资源监测','商家管理','商铺租赁服务','系统设置','招商方案管理','招商租赁管理'], // ['问卷调查'], // ['招商资源监测','商家管理','招商方案管理','招商租赁管理','广告服务','客服服务管理','系统设置','商铺租赁服务','问卷调查','招商过程管理','商户寻租管理','轮播图设置','平台活动','客服配置','优惠券管理'], // ['品牌策划','活动策划','氛围策划','媒体推广'], diff --git a/admin-web-master/src/views/business/autd/index.vue b/admin-web-master/src/views/business/autd/index.vue index 5d5e6b8..81d446b 100644 --- a/admin-web-master/src/views/business/autd/index.vue +++ b/admin-web-master/src/views/business/autd/index.vue @@ -10,8 +10,8 @@
- - + + @@ -160,8 +160,8 @@ pagequery: { pageNumber: 0, pageSize: 10, - dataStatus:'1', - contractName: '', + checkState:'1', + name: '', }, tableData: [], @@ -198,6 +198,7 @@ message: '处理成功', type: 'success' }) + this.onSubmit() this.yujingSet = false } else { this.$message({ @@ -239,6 +240,7 @@ removeonaction(e) { console.error(e) this.onaction = e + this.onSubmit() }, handleCurrentChange(val) { this.pagequery.pageNumber = val - 1 @@ -257,8 +259,8 @@ this.pagequery = { pageNumber: 0, pageSize: 10, - dataStatus:'1', - contractName: '' + checkState:'1', + name: '' }, this.getAll() }, diff --git a/admin-web-master/src/views/business/businessList/index.vue b/admin-web-master/src/views/business/businessList/index.vue index 9dbce56..b60579c 100644 --- a/admin-web-master/src/views/business/businessList/index.vue +++ b/admin-web-master/src/views/business/businessList/index.vue @@ -10,8 +10,8 @@
- - + + @@ -76,7 +76,7 @@ @@ -173,13 +173,13 @@ pagequery: { pageNumber: 0, pageSize: 10, - dataStatus:'1', - contractName: '', + checkState:'2', + name: '', }, tableData: [], total: 0, - onaction: '2', + onaction: '1', info: {} } }, @@ -253,6 +253,7 @@ removeonaction(e) { console.error(e) this.onaction = e + this.onSubmit() }, handleCurrentChange(val) { this.pagequery.pageNumber = val - 1 @@ -271,8 +272,8 @@ this.pagequery = { pageNumber: 0, pageSize: 10, - dataStatus:'1', - contractName: '' + checkState:'2', + name: '' }, this.getAll() }, diff --git a/admin-web-master/src/views/detect/admap copy 3.vue b/admin-web-master/src/views/detect/admap copy 3.vue new file mode 100644 index 0000000..3355493 --- /dev/null +++ b/admin-web-master/src/views/detect/admap copy 3.vue @@ -0,0 +1,916 @@ + + + + + + diff --git a/admin-web-master/src/views/detect/admap.vue b/admin-web-master/src/views/detect/admap.vue index 3355493..85cc7d1 100644 --- a/admin-web-master/src/views/detect/admap.vue +++ b/admin-web-master/src/views/detect/admap.vue @@ -279,43 +279,9 @@
- -
- - - - - - - - - - - - - - - - - - - - - -
- +
@@ -345,6 +311,7 @@ import addcd from '../../components/add/addcd' import chakanmap from '../../components/chakan/map' import chakancd from '../../components/chakan/cd' + import cl from '@/components/change/cl.vue' import { on } from 'screenfull'; @@ -379,6 +346,7 @@ } }, components: { + cl, chakancd, addcd, addmap, @@ -391,8 +359,8 @@ this.getAll() }, methods: { - minSev() { - + minSev(e) { + this.multipleSelection = e console.error(this.multipleSelection) let ids = [] for (let index = 0; index < this.multipleSelection.length; index++) { @@ -429,8 +397,7 @@ async opencl(row,e) { this.oncetype = e this.oninfo = row - const celue = await ceGetAll(this.pageindex) - this.celueData = celue.data.content + this.multipleSelection = [] this.addcl = true }, handleSelectionChange(val) { @@ -904,7 +871,7 @@ diff --git a/admin-web-master/src/views/rent/audit/index.vue b/admin-web-master/src/views/rent/audit/index.vue index f7ae8cc..09db966 100644 --- a/admin-web-master/src/views/rent/audit/index.vue +++ b/admin-web-master/src/views/rent/audit/index.vue @@ -79,9 +79,10 @@ -- libgit2 0.21.4