diff --git a/App.vue b/App.vue
index 8fc0564..4b0f72f 100644
--- a/App.vue
+++ b/App.vue
@@ -5,7 +5,7 @@
this.checkUpdate();
},
onShow: function() {
-
+ this.$store.commit('initConfig')
},
onHide: function() {
diff --git a/common/config.js b/common/config.js
index cefa564..441833e 100644
--- a/common/config.js
+++ b/common/config.js
@@ -3,7 +3,7 @@ module.exports = {
// baseUrl:"https://employadmin.hhlm1688.com"
// baseUrl:"http://h5.xzaiyp.top", //测试环境
// baseUrl:"http://youyi-test.natapp1.cc",
- baseUrl:"http://127.0.0.1:8001",
+ baseUrl:"http://127.0.0.1:8002",
// baseUrl:"https://admin.zhixuanlietou.com",
// http://youyi-test.natapp1.cc
diff --git a/components/list/enterprise.vue b/components/list/enterprise.vue
index f7dcdba..a1c55ff 100644
--- a/components/list/enterprise.vue
+++ b/components/list/enterprise.vue
@@ -35,8 +35,11 @@
-->
-
-
+
+
@@ -44,6 +47,7 @@
{{items.employResume.name?items.employResume.name:items.hanHaiMember.nickName}}日薪:{{items.dayMoney}}
{{items.employResume.sex==1?"男":"女"}}-{{items.employResume.nation?items.employResume.nation:"未知"}}族-{{items.employResume.age}}岁
+
{{items.categoryOne_dictText}}
@@ -58,6 +62,8 @@
{{items.salaryMin}}-{{items.salaryMax}}元
+ {{items.employResume.brief}}
+ 暂无个人介绍
{{items.createTime}}
@@ -68,7 +74,7 @@
{{items.address}}
-
+
立即聘用
diff --git a/config.js b/config.js
index 0fa37c4..0bad194 100644
--- a/config.js
+++ b/config.js
@@ -16,7 +16,7 @@ const config = {
baseUrl : 'http://augcl.natapp1.cc/employ-api',
},
prod : {
- baseUrl : 'https://employadmin.augcl.com/employ-api',
+ baseUrl : 'https://admin.zhixuanlietou.com/employ-api',
}
}
diff --git a/pages.json b/pages.json
index e87b5b7..aea3fc8 100644
--- a/pages.json
+++ b/pages.json
@@ -77,6 +77,15 @@
"navigationBarTextStyle": "white"
}
},
+ {
+ "path": "hire/order-list",
+ "style": {
+ "navigationBarTitleText": "订单列表",
+ "navigationStyle":"default",
+ "navigationBarBackgroundColor": "#FF7A31",
+ "navigationBarTextStyle": "white"
+ }
+ },
{
"path": "job-hunt/index",
"style": {
diff --git a/pages_subpack/employ-progress/index.vue b/pages_subpack/employ-progress/index.vue
index a731a49..4938732 100644
--- a/pages_subpack/employ-progress/index.vue
+++ b/pages_subpack/employ-progress/index.vue
@@ -40,8 +40,8 @@
methods:{
onOrderDetail(){
let that = this;
- uni.navigateTo({
- url:"/pages_subpack/job-order-detail/index?orderId="+that.id
+ uni.redirectTo({
+ url:`/pages_subpack/job-order-detail/index?orderId=${that.id}`
})
},
onCancel(){
diff --git a/pages_subpack/enterprise/index.vue b/pages_subpack/enterprise/index.vue
index d8e4499..47cad55 100644
--- a/pages_subpack/enterprise/index.vue
+++ b/pages_subpack/enterprise/index.vue
@@ -19,8 +19,8 @@
-
-
+
+
地图
@@ -37,6 +37,20 @@
+
+
+
+
+
+ 企业logo上传
+
+
+
+
+
+
+
@@ -92,6 +106,7 @@
industryId:'',
industryName:'',
status:'',
+ headImg:[],
businessLicenseFile:[]
},
rules: {
@@ -140,6 +155,18 @@
message: '请选择行业',
trigger: ['blur', 'change']
}],
+ headImg:[
+ {
+ validator: (rule, value, callback) => {
+ if (value === null || value === undefined || value === '' || (Array.isArray(value) && value.length === 0)) {
+ callback(new Error('请上传企业logo'));
+ } else {
+ callback();
+ }
+ },
+ trigger: 'blur'
+ }
+ ],
businessLicenseFile:[
{
validator: (rule, value, callback) => {
@@ -183,6 +210,7 @@
this.form.industryId = company.industry
this.form.industryName = company.industryName
this.form.status = company.status
+ this.form.headImg = this.stringToKeyValueArray(company.headImg)
this.form.businessLicenseFile = this.stringToKeyValueArray(company.license)
}
}).catch(error=>{
@@ -235,6 +263,7 @@
address:that.form.address,
industry:that.form.industryId,
industryName:that.form.industryName,
+ headImg:that.form.headImg.map(item => item.url).join(','),
license:that.form.businessLicenseFile.map(item => item.url).join(','),
}
// if(that.form.id){
@@ -272,6 +301,9 @@
deletePic(event) {
this.form.businessLicenseFile.splice(event.index, 1)
},
+ deleteLogoImg(event) {
+ this.form.headImg.splice(event.index, 1)
+ },
async afterRead(e) {
let self = this
e.file.forEach(file => {
@@ -283,38 +315,67 @@
})
})
},
- handleAreaChange(){
+ async afterReadLogo(e) {
+ let self = this
+ self.$Oss.ossUpload(e.file.url).then(url => {
+ console.info(url)
+ self.form.headImg.push({
+ url
+ })
+ })
+ },
+ handleAreaChange(){
const that = this;
wx.chooseLocation({
+ type: 'gcj02',
// type: 'wgs84',
success: function (res) {
- const qqmapsdk = new QQMapWX({
- key: 'BJKBZ-W46K3-6S43C-OFLJB-FW6FQ-RMBYP' // 必填
- });
- uni.showLoading({
- title:"获取中...."
- })
- qqmapsdk.reverseGeocoder({
- location: {
- latitude: res.latitude,
- longitude: res.longitude
- },
- success: function(response) {
- console.log('逆地理编码结果:', response);
- uni.hideLoading()
- that.form.longitude = response.result.location.lng
- that.form.latitude = response.result.location.lat
- that.form.address = response.result.address
- },
- fail: function(error) {
- uni.hideLoading()
- console.error('逆地理编码失败:', error);
- }
- });
+
+ that.form.latitude = res.latitude
+ that.form.longitude = res.longitude
+
+ if (!res.address && res.name) { //用户直接选择城市的逻辑
+ return that.form.address = res.name
+ }
+ if (res.address || res.name) {
+ return that.form.address = res.address + res.name
+ }
+ that.form.address = '' //用户啥都没选就点击勾选
}
})
- // this.$refs.citySelectRef.open()
},
+ // handleAreaChange(){
+ // const that = this;
+ // wx.chooseLocation({
+ // // type: 'wgs84',
+ // success: function (res) {
+ // const qqmapsdk = new QQMapWX({
+ // key: 'BJKBZ-W46K3-6S43C-OFLJB-FW6FQ-RMBYP' // 必填
+ // });
+ // uni.showLoading({
+ // title:"获取中...."
+ // })
+ // qqmapsdk.reverseGeocoder({
+ // location: {
+ // latitude: res.latitude,
+ // longitude: res.longitude
+ // },
+ // success: function(response) {
+ // console.log('逆地理编码结果:', response);
+ // uni.hideLoading()
+ // that.form.longitude = response.result.location.lng
+ // that.form.latitude = response.result.location.lat
+ // that.form.address = response.result.address
+ // },
+ // fail: function(error) {
+ // uni.hideLoading()
+ // console.error('逆地理编码失败:', error);
+ // }
+ // });
+ // }
+ // })
+ // // this.$refs.citySelectRef.open()
+ // },
}
}
diff --git a/pages_subpack/hire/index.vue b/pages_subpack/hire/index.vue
index 8792e05..bcc948c 100644
--- a/pages_subpack/hire/index.vue
+++ b/pages_subpack/hire/index.vue
@@ -31,17 +31,20 @@
{{items.createTime | formatTime}}
-
修改
-
删除
- 已接单
+ {{ items.employOrder.length }}人接单
@@ -54,9 +57,6 @@
queryJobListByUserId
} from "@/common/api.js"
-
-
-
export default {
data() {
return {
@@ -125,22 +125,23 @@
return (R * c).toFixed(2); // 返回保留两位小数的公里数
}
},
- onLoad() {
+ onShow() {
this.onQueryJobListByUserId();
},
methods: {
onMasterDetail(event) {
-
- if(event.employOrder){
+ // 如果有订单,跳转到订单列表页面
+ if(event.employOrder && event.employOrder.length > 0){
+ // 传递工作ID
uni.navigateTo({
- url: "/pages_subpack/order-detail/boss?orderId=" + event.employOrder.id
- })
+ url: "/pages_subpack/hire/order-list?jobId=" + event.id
+ });
}else{
+ // 没有订单,跳转到工作详情页面
uni.navigateTo({
url: "/pages_subpack/work-detail/index?id=" + event.id
- })
+ });
}
-
},
onQueryJobListByUserId() {
console.log("进入了我发布的招聘页面")
diff --git a/pages_subpack/hire/order-list.vue b/pages_subpack/hire/order-list.vue
new file mode 100644
index 0000000..f5b946c
--- /dev/null
+++ b/pages_subpack/hire/order-list.vue
@@ -0,0 +1,176 @@
+
+
+
+
+
+
+ {{jobInfo.title}}
+
+ 日薪:{{jobInfo.salaryDay}}
+
+
+ {{jobInfo.salaryMin}}-{{jobInfo.salaryMax}}k
+
+
+
+ {{jobInfo.categoryOne_dictText}}
+ {{jobInfo.categoryTwo_dictText}}
+
+
+
+
+ {{jobInfo.address}}
+
+
+ 共{{orderList.length}}个订单
+
+
+
+
+
+
+
+
+
+
+
+ {{getStatusText(item.status)}}
+
+
+
+
+
+
+
+ 求职者:{{item.jobName}}
+ 联系电话:{{item.jobPhone}}
+ 接单时间:{{item.createTime | formatTime}}
+ 工作地址:{{item.jobAddress}}
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages_subpack/job-hunt/index.vue b/pages_subpack/job-hunt/index.vue
index 79a6270..d6d2e0a 100644
--- a/pages_subpack/job-hunt/index.vue
+++ b/pages_subpack/job-hunt/index.vue
@@ -1,8 +1,9 @@
-
+
@@ -41,9 +42,19 @@
{{items.address}}
- 已聘用
+ v-if="items"
+ class="se-flex se-flex-h-c se-py-10 se-px-20 se-br-12 se-fs-22 se-fw-6"
+ :class="{
+ 'se-c-99 se-bgc-f5': items.seekStatus == 0,
+ 'se-c-orange se-bgc-ffd': items.seekStatus == 1,
+ 'se-c-green se-bgc-green-light': items.seekStatus == 2
+ }">
+
+ 待确认
+
+
+ {{ items.seekStatus == 0 ? '待聘用' : items.seekStatus == 1 ? '已聘用' : '已完成' }}
+
@@ -73,9 +84,10 @@
uni.navigateTo({
url: `/pages_subpack/job-order-detail/index?orderId=${event.employOrder.id}&type=true`
})
- }else{
+ }else if(event.seekStatus == 0){
+ // 待聘用状态,跳转到编辑页面
uni.navigateTo({
- url: "/pages_subpack/master-detail/index?id=" + event.id
+ url: `/pages_subpack/release/index?status=2&editId=${event.id}`
})
}
},
diff --git a/pages_subpack/job-order-detail/index.vue b/pages_subpack/job-order-detail/index.vue
index 87b1f41..7b0d27a 100644
--- a/pages_subpack/job-order-detail/index.vue
+++ b/pages_subpack/job-order-detail/index.vue
@@ -6,42 +6,36 @@
聘用师傅-师傅求职-等待师傅确认
- 12:45:30有效
订单进行中
- 12:45:30有效
企业待确认
- 12:45:30有效
企业待支付
- 12:45:30有效
求职者待确认
- 12:45:30有效
订单已完成
- 12:45:30有效
@@ -58,8 +52,8 @@
-
+
- 12:45:30有效
订单进行中
- 12:45:30有效
试工完成
- 12:45:30有效
企业待支付
- 12:45:30有效
订单待完成
- 12:45:30有效
订单已完成
- 12:45:30有效
+
@@ -58,7 +53,76 @@
-
+
+
+
+
+
+
+
+ 接收该员工
+
+
+ 取消
+
+
+
+
+
+ 企业确认
+
+
+
+
+ 去支付
+
+
+
+
+
+
+
+
+
+
+
+ 取消
+
+
+
+
+
+ 确认试工完成
+
+
+
+
+ 确认到账
+
+
+
+
+
+
@@ -165,6 +229,12 @@
+
+
+
+ 求职者简历信息
+
+
@@ -173,10 +243,9 @@
{{items.employResume.name?items.employResume.name:items.hanHaiMember.nickName}}
+ class="se-fw-6 se-c-black se-fs-30">{{items.employResume.name?items.employResume.name:items.hanHaiMember.nickName}}
{{items.employResume.sex==1?"男":"女"}}-{{items.employResume.nation?items.employResume.nation:"未知"}}族-{{items.employResume.age}}岁
+ class="se-fs-24 se-c-text-third se-mt-5">{{items.employResume.sex==1?"男":"女"}}-{{items.employResume.nation?items.employResume.nation:"未知"}}族-{{items.employResume.age}}岁
联系他
-
- {{items.createTime}}
-
- 确认
+
+
+
+ 联系电话
+ {{items.employResume.phone || '暂未'}}
+
+
+ 期望薪资
+ {{items.employResume.salaryMin}}-{{items.employResume.salaryMax}}k
+ 暂未
+
+
+ 期望工作地址
+ {{items.employResume.address || '暂未'}}
+
+
+ 支付方式偏好
+ 提前支付
+ 试用后支付
+ 暂未
+
+
+ 专业类别
+ {{items.employResume.categoryOneName || '暂未'}}
+
+
+
+ 个人简介
+
+
+ {{items.employResume.brief}}
+
+
+
+ 接单时间:{{items.createTime}}
+
@@ -243,11 +342,13 @@
4、热爱设计,平面基本功扎实,拥有优良的审美与创意想法,对版式、色彩把控能力强;对工作富有责任心,具备团队沟通与协作能力;
5、精通 PS、AI、CDR 等平面设计软件,能独立完成日常平面设计工作内容,熟练使用 PPT/Keynote,能完成提案内容的材料美化工作。
`,
- obj: {}
+ obj: {},
+ type : '',
}
},
onLoad(options) {
this.orderId = options.orderId
+ this.type = options.type || ''
},
onShow() {
this.onOrderDetail()
@@ -338,4 +439,10 @@
\ No newline at end of file
diff --git a/pages_subpack/order-detail/index.vue b/pages_subpack/order-detail/index.vue
index 95112ae..fc7be88 100644
--- a/pages_subpack/order-detail/index.vue
+++ b/pages_subpack/order-detail/index.vue
@@ -6,42 +6,36 @@
招聘发布-师傅接单-等待企业确认
- 12:45:30有效
订单进行中
- 12:45:30有效
试工完成
- 12:45:30有效
企业待确认
- 12:45:30有效
企业待支付
- 12:45:30有效
订单已完成
- 12:45:30有效
diff --git a/pages_subpack/pay/index.vue b/pages_subpack/pay/index.vue
index a90778d..74f0e43 100644
--- a/pages_subpack/pay/index.vue
+++ b/pages_subpack/pay/index.vue
@@ -26,36 +26,49 @@
{{ detail.workUser }}
- $ {{ detail.orderNoMoney }}
+ $ {{ detail.payMoney }}
-
-
-
- 师傅试工交通费用
-
-
-
- {{ detail.employSeek.selectGo }}
-
- $10
-
-
-
-
- 全程共
- 5
- 公里
-
-
- 从师傅出发地到用工目的地总全程为5公里,5公里x¥2=¥10
-
-
- 1.公交/地铁出行费用:按站xxxxxxxxx
- 2.出租车出行费用:按公里xxxxxxxxx
- 3.网约车出行费用:按xxxxxxxxxxxxxx
-
+
+
+
+
+
+ 保险费
+
+
+ ¥{{ detail.premium }}
+
+
+
+
+
+ 师傅试工交通费用
+
+
+
+ {{ detail.employSeek.selectGo }}
+
+ $ {{ fare }}
+
+
+
+
+ 全程共
+ {{ distance }}
+ 公里
+
+
+ 从师傅出发地到用工目的地总全程为5公里,{{ distance }}公里x¥{{ farePerKm }}=¥{{ fare }}
+
+
+ 1.公交/地铁出行费用:每公里¥{{ trafficPrice.bus }}
+ 2.出租车出行费用:每公里¥{{ trafficPrice.taxi }}
+ 3.网约车出行费用:每公里¥{{ trafficPrice.online }}
+
+
@@ -107,19 +120,45 @@
payOrderCompany,
userInfo,
} from "@/common/api.js"
+ import position from "@/utils/position.js"
export default {
data() {
return {
- amount: 0,
+ amount: 0,
payRadio: "1",
orderId : 0,
checked : 0,
detail : {},
+
+ // type 0企业发布招聘,企业不需要支付保险、交通费,由个人承担
+ // type 1个人发布求职,企业承担保险费、交通费用
+
+ // 出行价格定义
+ trafficPrice: {
+ bus: 2, // 公交/地铁单价
+ taxi: 3, // 出租车每公里单价
+ online: 2.5 // 网约车每公里单价
+ },
+ fare : 0,//出行费
+ distance : 0,//距离
+ farePerKm : 2,//每公里单价
}
},
computed : {
price(){
- return 440
+ // type 0企业发布招聘,企业不需要支付保险、交通费,由个人承担
+ // type 1个人发布求职,企业承担保险费、交通费用
+ let basePrice = Number(this.detail.payMoney) || 0;
+ let premiumFee = Number(this.detail.premium) || 0;
+ let trafficFee = Number(this.fare) || 0;
+
+ if (this.detail.type == 1) {
+ // 个人发布求职,企业承担保险费、交通费用
+ return basePrice + premiumFee + trafficFee;
+ } else {
+ // 企业发布招聘,企业不需要支付保险、交通费,由个人承担
+ return basePrice;
+ }
},
},
onLoad(options) {
@@ -145,10 +184,60 @@
}
orderDetail(params).then(response => {
that.detail = response.result
- }).catch(error => {
+ that.calcDistance()
+ that.calcFare()
+
+ }).catch(error => {
+ console.log(error)
})
},
+ //计算距离
+ calcDistance(){
+ console.log('calcDistance-计算距离')
+ let distance = 0;
+ if (this.detail.type == 1) {
+ let seek = this.detail.employSeek
+ let company = this.detail.employAuthenticationCompany
+ distance = position.calculateDistance(seek.latitude, seek.longitude, company.latitude, company.longitude)
+ }
+ this.distance = distance;
+ },
+ //计算路费
+ calcFare(){
+ console.log('calcFare-计算费用')
+ let fare = 0;
+ if (this.detail.type == 1) {
+ // 个人发布求职,企业承担保险费、交通费用
+ let seek = this.detail.employSeek
+
+ if(!seek) return
+
+ // console.log(this.$store.state.data.configList);
+
+ let configList = this.$store.state.data.configList
+
+ // if(seek.selectGo.includes('出租车')){
+ // this.farePerKm = this.trafficPrice.taxi
+ // }else if(seek.selectGo.includes('网约车')){
+ // this.farePerKm = this.trafficPrice.online
+ // }else if(seek.selectGo.includes('公交')){
+ // this.farePerKm = this.trafficPrice.bus
+ // }
+
+ if(seek.selectGo.includes('出租车')){
+ this.farePerKm = configList.taxi_price
+ }else if(seek.selectGo.includes('网约车')){
+ this.farePerKm = configList.online_price
+ }else if(seek.selectGo.includes('公交')){
+ this.farePerKm = configList.bus_price
+ }
+
+ fare = this.farePerKm * this.distance;
+
+ }
+ this.fare = fare;
+ },
onDetail() {
uni.navigateTo({
url: "/pages_subpack/order-detail/index"
@@ -168,6 +257,7 @@
let data = {
orderId: this.orderId,
payType: this.payRadio,
+ fare : this.fare || 0,//出行费
}
payOrderCompany(data)
diff --git a/pages_subpack/payment/index.vue b/pages_subpack/payment/index.vue
index deb75b1..25175c2 100644
--- a/pages_subpack/payment/index.vue
+++ b/pages_subpack/payment/index.vue
@@ -3,7 +3,9 @@
-
+
{{items.title}}
@@ -64,7 +66,7 @@
合计
- ¥{{items.payMoney}}元
+ ¥{{items.premium}}元
立即支付
diff --git a/pages_subpack/release/component/enterprise.vue b/pages_subpack/release/component/enterprise.vue
index 5deb911..56d3c83 100644
--- a/pages_subpack/release/component/enterprise.vue
+++ b/pages_subpack/release/component/enterprise.vue
@@ -44,8 +44,8 @@
-
-
+
+
@@ -219,7 +219,7 @@
{
type: 'string',
required: true,
- message: '期望日薪',
+ message: '试工日薪',
trigger: ['blur', 'change']
}
],
diff --git a/pages_subpack/release/component/master.vue b/pages_subpack/release/component/master.vue
index 11304c6..1765d60 100644
--- a/pages_subpack/release/component/master.vue
+++ b/pages_subpack/release/component/master.vue
@@ -4,7 +4,7 @@
-
+
@@ -45,9 +45,9 @@
-
+
-
+
-
+
@@ -18,11 +18,13 @@
data() {
return {
status:0,
+ editId: null,
}
},
onLoad(options) {
console.info(`options`,options)
this.status = options.status
+ this.editId = options.editId || null
},
watch: {
diff --git a/pages_subpack/work-detail/index.vue b/pages_subpack/work-detail/index.vue
index 42a724f..0fb0630 100644
--- a/pages_subpack/work-detail/index.vue
+++ b/pages_subpack/work-detail/index.vue
@@ -9,7 +9,7 @@
- 日薪:
+ 试工日薪:
{{ items.salaryDay }}元
@@ -107,16 +107,7 @@
// 个人认证通过,继续检查简历状态
this.$store.dispatch('onResumeComplete', {
success: (resume) => {
- // 简历已完成,执行接单操作
- addOrderWork({id:this.id}).then(response=>{
- uni.hideLoading()
- console.log("下单成功");
- uni.navigateTo({
- url:"/pages_subpack/payment/index?id="+response.result.id
- })
- }).catch(error=>{
- uni.hideLoading()
- })
+ this.addOrderWork()
},
fail: (resume) => {
uni.hideLoading()
@@ -156,6 +147,32 @@
}
})
},
+ addOrderWork(){
+ // 简历已完成,执行接单操作
+ addOrderWork({id:this.id}).then(response=>{
+ uni.hideLoading()
+ console.log("下单成功");
+ uni.navigateTo({
+ url:"/pages_subpack/payment/index?id="+response.result.id
+ })
+ }).catch(error=>{
+ console.log(error);
+ setTimeout(()=>{
+ if (error.result && error.result.id) {
+ if(error.result.orderStatusSeek == 'Y'){
+ uni.navigateTo({
+ url:"/pages_subpack/order-detail/index?orderId="+error.result.id
+ })
+ }else{
+ uni.navigateTo({
+ url:"/pages_subpack/payment/index?id="+error.result.id
+ })
+ }
+ }
+ }, 800);
+ uni.hideLoading()
+ })
+ },
openAddress(){
let that = this
console.info(that.items.latitude)
diff --git a/store/modules/data.js b/store/modules/data.js
index d32f521..0dc97a1 100644
--- a/store/modules/data.js
+++ b/store/modules/data.js
@@ -1,7 +1,10 @@
+
+
export default {
state: {
isTurntableShow:false,
isShareShow:false,
+ configList : {},
},
mutations: {
@@ -11,6 +14,34 @@ export default {
mutationsShareShow(state,status) {
state.isShareShow = status
},
+ initConfig(state){
+ console.log('initConfig 开始执行')
+
+ import('@/common/api.js').then(api=>{
+ api.queryConfigList({}).then(res=>{
+ console.log('getConfig 请求成功:', res)
+ uni.setStorageSync('configList', res.result)
+
+ const configList = {
+ ...state.configList,
+ }
+ if (res.code == 200) {
+ res.result.forEach(n => {
+ configList[n.paramCode] = n.paramValueText ||
+ n.paramValue ||
+ n.paramValueImage
+ });
+ }
+ state.configList = configList
+ uni.$emit('initConfig', state.configList)
+ console.log('配置初始化完成:', state.configList)
+
+ }).catch(error=>{
+ console.error('getConfig 请求失败:', error)
+ })
+ })
+
+ },
},
actions: {}