-
@@ -56,7 +56,7 @@
-
@@ -66,6 +66,19 @@
+
+
+
+
+
+
+
+
+
+
@@ -128,12 +141,13 @@
import {
miniioupload
} from '../../api/commodityLease.js'
- import {
- gongyuan,
- addList,
- editList
- } from '../../api/map1.js';
+ import { addList } from '@/api/map1.js';
import wangEditor from "@/components/editor/index"
+ import {
+ lvdaoduan,
+ parkTrails,
+ gongyuan
+ } from '@/api/information.js';
export default {
components: {
upimg,
@@ -186,9 +200,12 @@
playDuration: null, // 播放时长
pushAddress: '', // 推送地址
memo: '', // 备注信息
- onlineType: '' // 线上类型
+ onlineType: '' ,// 线上类型
+ belongingGreenwaySection: '', // 所属绿道段
+ belongingParkTrail: '', // 所属公园/步道
},
rules: {
+
advertisingType: [{
required: true,
message: '请选择广告类型',
@@ -216,6 +233,11 @@
}],
},
rulesSt: {
+ belongingGreenwaySection: [{
+ required: true,
+ message: '请填写所属绿道段',
+ trigger: 'blur'
+ }, ],
advertisingType: [{
required: true,
message: '请选择广告类型',
@@ -258,7 +280,8 @@
fileData: [],
parentMessage: {},
edit: true,
- iShsow:true
+ iShsow:true,
+ lvdaoList: [],
};
},
props: {
@@ -303,6 +326,9 @@
this.formInline.advertisingType = '实体广告位'
}
}
+ const lvdao = await lvdaoduan()
+ const gongyua = await parkTrails()
+ this.lvdaoList = lvdao.data.concat(gongyua.data)
},
methods: {
validateNumber(field, value) {
diff --git a/admin-web-master/src/components/buscha/busCha.vue b/admin-web-master/src/components/buscha/busCha.vue
index 81620fd..a19cf9e 100644
--- a/admin-web-master/src/components/buscha/busCha.vue
+++ b/admin-web-master/src/components/buscha/busCha.vue
@@ -228,7 +228,7 @@
-
+
-
确定
{
+ }
+ if(this.info.dataStatus == 1) {
+ infonew.dataStatus = '1'
+ }
+ queryByContractcontractNumber(infonew).then(res => {
console.error(res)
// this.shop = res.data.shop
this.siteIds = res.data.siteIds
@@ -376,6 +380,7 @@
methods: {
minSev() {
editById({
+ isInterior:'1',
contractNumber: this.info.contractNumber,
dataStatus: this.radio,
reviewComments: this.reviewComments?this.reviewComments:null
diff --git a/admin-web-master/src/components/buscha/busChanew.vue b/admin-web-master/src/components/buscha/busChanew.vue
index d14f5ee..a502651 100644
--- a/admin-web-master/src/components/buscha/busChanew.vue
+++ b/admin-web-master/src/components/buscha/busChanew.vue
@@ -13,7 +13,7 @@
{{newinfo.reasonForApplication || '-'}}
-
+
{{newinfo.applicationTime || '-'}}
@@ -162,7 +162,7 @@
-
+
-
确定
{
console.error(res)
if (res.code == 200) {
diff --git a/admin-web-master/src/components/chakan/cd.vue b/admin-web-master/src/components/chakan/cd.vue
index bdcb5bf..7b635af 100644
--- a/admin-web-master/src/components/chakan/cd.vue
+++ b/admin-web-master/src/components/chakan/cd.vue
@@ -31,6 +31,16 @@
+
+ {{getLvdaoNameByCode(editbgid.belongingGreenwaySection) || '无'}}
+
+
+
+
+ {{getLvdaoNameByCode(editbgid.belongingParkTrail) || '无' }}
+
+
+
{{editbgid.department || '无'}}
@@ -114,17 +124,30 @@
-
+
{
- console.error(res)
+ // cereBusinessPlan(c1).then(res => {
+ // console.error(res)
+ // this.datalist1 = res.data
+ // })
+ resourcesFindPlan( {resourceManagement: 'cd' + this.editbgid.id}).then(res => {
+ if (!Array.isArray(res.data)) {
+ this.datalist1 = [];
+ return;
+ }
this.datalist1 = res.data
})
this.getAllxsj()
this.getAllzl()
+ this.getAll()
}
},
@@ -339,6 +376,30 @@
},
methods: {
+ async getAll(){
+ const lvdao = await lvdaoduan()
+ const gongyua = await parkTrails()
+ const budao = await gongyuan()
+ const lvList = lvdao.data.concat(gongyua.data)
+
+ this.lvdaoList = lvList.concat(budao.data)
+ },
+ getLvdaoNameByCode(code) {
+ // 若传入的 code 为空,直接返回空字符串
+ if (!code) {
+ return '';
+ }
+ // 遍历 this.lvdaoList 数组
+ for (let i = 0; i < this.lvdaoList.length; i++) {
+ const item = this.lvdaoList[i];
+ // 当传入的 code 等于 item 的 code 时,返回 item 的 name
+ if (item.code === code) {
+ return item.name;
+ }
+ }
+ // 若遍历完数组都没找到匹配的 code,返回空字符串
+ return '无';
+ },
open(row) {
console.error(row)
this.xiangTab= 'first'
diff --git a/admin-web-master/src/components/chakan/map.vue b/admin-web-master/src/components/chakan/map.vue
index 91ed52b..9b3d326 100644
--- a/admin-web-master/src/components/chakan/map.vue
+++ b/admin-web-master/src/components/chakan/map.vue
@@ -6,7 +6,7 @@
-
+
@@ -59,6 +59,16 @@
+
+ {{getLvdaoNameByCode(editbgid.belongingGreenwaySection) || '无'}}
+
+
+
+
+ {{getLvdaoNameByCode(editbgid.belongingParkTrail) || '无' }}
+
+
+
{{editbgid.deviceType || '无'}}
@@ -125,17 +135,30 @@
-
+
{
- console.error(res)
+ // cereBusinessPlan(c1).then(res => {
+ // console.error(res)
+ // if (!Array.isArray(res.data)) {
+ // this.datalist1 = [];
+ // return;
+ // }
+ // this.datalist1 = res.data
+ // })
+ resourcesFindPlan( {resourceManagement: 'gg' + this.editbgid.id}).then(res => {
if (!Array.isArray(res.data)) {
this.datalist1 = [];
return;
@@ -353,12 +389,37 @@
this.getAllzl()
}
-
+ this.getAll()
},
computed: {
},
methods: {
+ async getAll(){
+ const lvdao = await lvdaoduan()
+ const gongyua = await parkTrails()
+ const budao = await gongyuan()
+ const lvList = lvdao.data.concat(gongyua.data)
+
+ this.lvdaoList = lvList.concat(budao.data)
+ },
+
+ getLvdaoNameByCode(code) {
+ // 若传入的 code 为空,直接返回空字符串
+ if (!code) {
+ return '';
+ }
+ // 遍历 this.lvdaoList 数组
+ for (let i = 0; i < this.lvdaoList.length; i++) {
+ const item = this.lvdaoList[i];
+ // 当传入的 code 等于 item 的 code 时,返回 item 的 name
+ if (item.code === code) {
+ return item.name;
+ }
+ }
+ // 若遍历完数组都没找到匹配的 code,返回空字符串
+ return '无';
+ },
open(row) {
console.error(row)
this.xiangTab= 'first'
diff --git a/admin-web-master/src/components/resourceCommodity/index.vue b/admin-web-master/src/components/resourceCommodity/index.vue
index bb1895b..d358e08 100644
--- a/admin-web-master/src/components/resourceCommodity/index.vue
+++ b/admin-web-master/src/components/resourceCommodity/index.vue
@@ -49,12 +49,12 @@
- {{getLvdaoNameByCode(editbgid.belongingGreenwaySection)}}
+ {{getLvdaoNameByCode(editbgid.belongingGreenwaySection) || '无'}}
- {{getLvdaoNameByCode(editbgid.belongingParkTrail)}}
+ {{getLvdaoNameByCode(editbgid.belongingParkTrail) || '无'}}
@@ -146,17 +146,30 @@
-
+
{
+ // cereBusinessPlan(c1).then(res => {
+ // if (!Array.isArray(res.data)) {
+ // this.datalist1 = [];
+ // return;
+ // }
+ // this.datalist1 = res.data
+ // })
+ resourcesFindPlan( {resourceManagement: 'sp' + this.editbgid.id}).then(res => {
if (!Array.isArray(res.data)) {
this.datalist1 = [];
return;
diff --git a/admin-web-master/src/main.js b/admin-web-master/src/main.js
index a06cfd4..392cfce 100644
--- a/admin-web-master/src/main.js
+++ b/admin-web-master/src/main.js
@@ -32,8 +32,39 @@ Vue.prototype.$echarts = echarts
// Vue.prototype.$API = 'https://h5.028wlkj.com/cdwlMall/meserver/api'
Vue.prototype.$hostUrl =`${window.location.protocol}//${window.location.host}/cdwlMall`
+import {
+ sendToUser
+} from '@/api/newly.js'
+Vue.prototype.$setmsg = async function() {
-
+ let info = {
+ "content": "测试消息内容", // 消息内容
+ "messageClass": 1, // 消息类型(1:指定用户发送)
+ "messageType": "通知", // 消息类型描述
+ "cereMessageReceipts": [ // 接收人列表
+ {
+ "phone": '18121815567', // 用户ID
+ "messageType": "通知", // 消息类型
+ "content": "测试内容" // 消息内容
+ }
+ ]
+ }
+ await sendToUser(info).then(res => {
+ console.error(res)
+ if (res.code == 200) {
+ this.$message({
+ message: '发送成功',
+ type: 'success'
+ })
+ this.$emit('removeonaction', '1')
+ } else {
+ this.$message({
+ message: '发送失败',
+ type: 'error'
+ })
+ }
+ })
+};
let host = window.location.host;
if(host === 'localhost:8080' || host === 'localhost:8081' || host === 'localhost:9528'|| host === '192.168.31.45:9528'|| host === 'localhost:9529' ) {
diff --git a/admin-web-master/src/utils/request.js b/admin-web-master/src/utils/request.js
index b492344..b1a41fe 100644
--- a/admin-web-master/src/utils/request.js
+++ b/admin-web-master/src/utils/request.js
@@ -16,13 +16,13 @@ let hostall = window.location.href;
let baseURL = ''
if(host === 'localhost:8080' || host === 'localhost:8081' || host === 'localhost:9528'|| host === '192.168.31.45:9528'|| host === 'localhost:9529' ) {
- baseURL = 'https://jy.scjysm.asia:18086/cdwlMall/meserver/admin-server';
+ // baseURL = 'https://jy.scjysm.asia:18086/cdwlMall/meserver/admin-server';
// baseURL = 'https://zhgw-uat.028wlkj.com/cdwlMall/meserver/admin-server';
// baseURL = process.env.VUE_APP_DOMAIN_PREFIX_1;
- // baseURL = 'http://128.10.249.26:9003';
+ baseURL = 'http://128.10.249.47:9003';
} else {
diff --git a/admin-web-master/src/utils/request2.js b/admin-web-master/src/utils/request2.js
index f788a54..8f9fefd 100644
--- a/admin-web-master/src/utils/request2.js
+++ b/admin-web-master/src/utils/request2.js
@@ -17,9 +17,9 @@ let baseURL = ''
// || host === 'localhost:9528'
if(host === 'localhost:8080' || host === 'localhost:8081' || host === 'localhost:9528'|| host === '192.168.31.45:9528'|| host === 'localhost:9529' ) {
// baseURL = process.env.VUE_APP_DOMAIN_PREFIX_1;
- baseURL = 'https://zhgw-uat.028wlkj.com/cdwlMall/meserver/business-server';
+ // baseURL = 'https://zhgw-uat.028wlkj.com/cdwlMall/meserver/business-server';
// baseURL = 'http://172.16.61.125:9004';
- // baseURL = 'https://jy.scjysm.asia:18086/cdwlMall/business-server';
+ baseURL = 'https://jy.scjysm.asia:18086/cdwlMall/business-server';
// baseURL = 'http://128.10.249.20:9004';
} else {
console.error('---------------------')
diff --git a/admin-web-master/src/views/couponmanagement/capitalpool.vue b/admin-web-master/src/views/couponmanagement/capitalpool.vue
index c7dce7b..81f6b1a 100644
--- a/admin-web-master/src/views/couponmanagement/capitalpool.vue
+++ b/admin-web-master/src/views/couponmanagement/capitalpool.vue
@@ -566,7 +566,7 @@
async getAll() {
const res = await getcereFundsPoolData(this.query)
this.tableData = res.data.content
- this.total = res.data.numberOfElements
+ this.total = res.data.totalElements
},
handleSizeChange(val) {
this.query.pageSize = val
@@ -664,7 +664,7 @@