技师管理,技师所属项目优化
This commit is contained in:
parent
161a27bd01
commit
7f34dd2601
|
@ -14,7 +14,7 @@ module.exports = {
|
||||||
// 代理列表, 是否开启代理通过[./dev.env.js]配置
|
// 代理列表, 是否开启代理通过[./dev.env.js]配置
|
||||||
proxyTable: devEnv.OPEN_PROXY === false ? {} : {
|
proxyTable: devEnv.OPEN_PROXY === false ? {} : {
|
||||||
'/proxyApi': {
|
'/proxyApi': {
|
||||||
target: "http://192.168.2.222:8187/sqx_fast/",
|
target: "http://47.75.182.93:8090/sqx_fast/",
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
pathRewrite: {
|
pathRewrite: {
|
||||||
'^/proxyApi': ''
|
'^/proxyApi': ''
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import Vue from 'vue'
|
import Vue from 'vue'
|
||||||
|
|
||||||
// const serverUrl = "https://admin.sjajk.com/sqx_fast/";//生产需替换
|
// const serverUrl = "https://admin.sjajk.com/sqx_fast/";//生产需替换
|
||||||
const serverUrl = "http://localhost:8187/sqx_fast/";
|
const serverUrl = "http://47.75.182.93:8090/sqx_fast/";
|
||||||
|
|
||||||
export const serverPaths = {
|
export const serverPaths = {
|
||||||
serverUrl ,
|
serverUrl ,
|
||||||
|
|
|
@ -259,7 +259,7 @@
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-switch
|
<el-switch
|
||||||
v-model="scope.row.isHot"
|
v-model="scope.row.isHot"
|
||||||
@change="changeS(scope.row.isHot, scope.row.artificerId)"
|
@change="changeR(scope.row.isHot, scope.row.artificerId)"
|
||||||
:active-value="openValue"
|
:active-value="openValue"
|
||||||
:disabled="!isAuth('locality:update')"
|
:disabled="!isAuth('locality:update')"
|
||||||
:inactive-value="closeValue"
|
:inactive-value="closeValue"
|
||||||
|
@ -278,7 +278,7 @@
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-switch
|
<el-switch
|
||||||
v-model="scope.row.isStart"
|
v-model="scope.row.isStart"
|
||||||
@change="changeR(scope.row.isStart, scope.row.artificerId)"
|
@change="changeM(scope.row.isStart, scope.row.artificerId)"
|
||||||
:active-value="openValue"
|
:active-value="openValue"
|
||||||
:disabled="!isAuth('locality:update')"
|
:disabled="!isAuth('locality:update')"
|
||||||
:inactive-value="closeValue"
|
:inactive-value="closeValue"
|
||||||
|
@ -1874,7 +1874,7 @@ export default {
|
||||||
title: "全部",
|
title: "全部",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
classify: 2,
|
// classify: 2,
|
||||||
classifyList: [
|
classifyList: [
|
||||||
// {
|
// {
|
||||||
// id: '',
|
// id: '',
|
||||||
|
@ -1935,7 +1935,7 @@ export default {
|
||||||
gameId: "", //项目id
|
gameId: "", //项目id
|
||||||
oldMoney: "", //发布价格
|
oldMoney: "", //发布价格
|
||||||
money: "", //普通用户价格
|
money: "", //普通用户价格
|
||||||
orderLevel: "", //经验
|
// orderLevel: "", //经验
|
||||||
memberMoney: "", //会员价格
|
memberMoney: "", //会员价格
|
||||||
latitude: "", //纬度
|
latitude: "", //纬度
|
||||||
longitude: "", //经度
|
longitude: "", //经度
|
||||||
|
@ -1994,9 +1994,9 @@ export default {
|
||||||
|
|
||||||
// 师傅分类参数
|
// 师傅分类参数
|
||||||
labels1: [], //标签集合
|
labels1: [], //标签集合
|
||||||
bq: "", //输入的标签名
|
// bq: "", //输入的标签名
|
||||||
artificerPrice: "", //师傅价格
|
artificerPrice: "", //师傅价格
|
||||||
city: "", //师傅城市
|
// city: "", //师傅城市
|
||||||
content: "", //内容
|
content: "", //内容
|
||||||
contentImg: [], //详情图
|
contentImg: [], //详情图
|
||||||
duration: "", //时长
|
duration: "", //时长
|
||||||
|
@ -2005,7 +2005,7 @@ export default {
|
||||||
applyPeople: "", //适用人群
|
applyPeople: "", //适用人群
|
||||||
labels: "", //标签
|
labels: "", //标签
|
||||||
massageImg: "", //图片
|
massageImg: "", //图片
|
||||||
massageTypeId: "", //师傅分类Id
|
// massageTypeId: "", //师傅分类Id
|
||||||
memberPrice: "", //会员价
|
memberPrice: "", //会员价
|
||||||
oldPrice: "", //原价
|
oldPrice: "", //原价
|
||||||
price: "", //现价
|
price: "", //现价
|
||||||
|
@ -2796,7 +2796,7 @@ export default {
|
||||||
let photost = this.contentImg.toString();
|
let photost = this.contentImg.toString();
|
||||||
let certificateImgs = this.certificateImg.toString();
|
let certificateImgs = this.certificateImg.toString();
|
||||||
let workImgs = this.workImg.toString();
|
let workImgs = this.workImg.toString();
|
||||||
let detailsImgs = this.contentImg.toString();
|
// let detailsImgs = this.contentImg.toString();
|
||||||
let storeAddress1 = this.storeAddress.toString();
|
let storeAddress1 = this.storeAddress.toString();
|
||||||
console.log(this.userIdss, this.gameId, photost);
|
console.log(this.userIdss, this.gameId, photost);
|
||||||
if (this.gameId == "") {
|
if (this.gameId == "") {
|
||||||
|
@ -2890,7 +2890,6 @@ export default {
|
||||||
orderTakingTime: times,
|
orderTakingTime: times,
|
||||||
oldMoney: that.oldMoney,
|
oldMoney: that.oldMoney,
|
||||||
money: that.money,
|
money: that.money,
|
||||||
orderLevel: that.orderLevel,
|
|
||||||
memberMoney: that.memberMoney,
|
memberMoney: that.memberMoney,
|
||||||
region: storeAddress1,
|
region: storeAddress1,
|
||||||
describes: that.describes,
|
describes: that.describes,
|
||||||
|
@ -2905,7 +2904,7 @@ export default {
|
||||||
detailsImg: photost,
|
detailsImg: photost,
|
||||||
certificateImg: certificateImgs,
|
certificateImg: certificateImgs,
|
||||||
workImg: workImgs,
|
workImg: workImgs,
|
||||||
detailsImg: detailsImgs,
|
// detailsImg: detailsImgs,
|
||||||
authentication: that.authentication,
|
authentication: that.authentication,
|
||||||
}),
|
}),
|
||||||
})
|
})
|
||||||
|
@ -3256,6 +3255,7 @@ export default {
|
||||||
url: this.$http.adornUrl(`artificer/updateMassageType`),
|
url: this.$http.adornUrl(`artificer/updateMassageType`),
|
||||||
method: "post",
|
method: "post",
|
||||||
data: this.$http.adornData({
|
data: this.$http.adornData({
|
||||||
|
artificerId: this.artificerId,
|
||||||
massageTypeId: massageTypeId,
|
massageTypeId: massageTypeId,
|
||||||
status: status,
|
status: status,
|
||||||
}),
|
}),
|
||||||
|
@ -3519,9 +3519,9 @@ export default {
|
||||||
handleChange(file, fileList) {
|
handleChange(file, fileList) {
|
||||||
this.hideUpload = fileList.length >= this.limit;
|
this.hideUpload = fileList.length >= this.limit;
|
||||||
},
|
},
|
||||||
handleRemove(file, fileList) {
|
// handleRemove(file, fileList) {
|
||||||
this.hideUpload = fileList.length >= this.limit;
|
// this.hideUpload = fileList.length >= this.limit;
|
||||||
},
|
// },
|
||||||
handleAvatarSuccess2(file, fileList) {
|
handleAvatarSuccess2(file, fileList) {
|
||||||
this.contentImg = file.data;
|
this.contentImg = file.data;
|
||||||
},
|
},
|
||||||
|
@ -4073,7 +4073,7 @@ export default {
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
// 是否明星技师
|
// 是否明星技师
|
||||||
changeR(val, artificerId) {
|
changeM(val, artificerId) {
|
||||||
this.$http({
|
this.$http({
|
||||||
url: this.$http.adornUrl("artificer/updateArtificers"),
|
url: this.$http.adornUrl("artificer/updateArtificers"),
|
||||||
method: "post",
|
method: "post",
|
||||||
|
|
Loading…
Reference in New Issue