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