后台页面调整
This commit is contained in:
parent
15a8e249c5
commit
744fb9267e
|
@ -99,6 +99,16 @@
|
||||||
width="120"
|
width="120"
|
||||||
>
|
>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="level"
|
||||||
|
label="等级"
|
||||||
|
width="120"
|
||||||
|
>
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span v-if="scope.row.level == 1">一级</span>
|
||||||
|
<span v-if="scope.row.level == 2">二级</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="agent"
|
prop="agent"
|
||||||
label="所属代理商"
|
label="所属代理商"
|
||||||
|
@ -250,6 +260,17 @@
|
||||||
:disabled="true"
|
:disabled="true"
|
||||||
></el-input>
|
></el-input>
|
||||||
</div>
|
</div>
|
||||||
|
<div style="margin-bottom: 10px">
|
||||||
|
<span style="width: 200px; display: inline-block; text-align: right">等级:</span>
|
||||||
|
<el-select
|
||||||
|
clearable
|
||||||
|
v-model="level"
|
||||||
|
style="width: 150px;"
|
||||||
|
:disabled="true">
|
||||||
|
<el-option :value="1" :key="1" label="一级"></el-option>
|
||||||
|
<el-option :value="2" :key="2" label="二级"></el-option>
|
||||||
|
</el-select>
|
||||||
|
</div>
|
||||||
<div style="margin-bottom: 10px">
|
<div style="margin-bottom: 10px">
|
||||||
<span style="width: 200px; display: inline-block; text-align: right"
|
<span style="width: 200px; display: inline-block; text-align: right"
|
||||||
>备注:</span
|
>备注:</span
|
||||||
|
@ -341,6 +362,16 @@
|
||||||
placeholder="请输入手机号"
|
placeholder="请输入手机号"
|
||||||
></el-input>
|
></el-input>
|
||||||
</div>
|
</div>
|
||||||
|
<div style="margin-bottom: 10px">
|
||||||
|
<span style="width: 200px; display: inline-block; text-align: right">等级:</span>
|
||||||
|
<el-select
|
||||||
|
clearable
|
||||||
|
v-model="level"
|
||||||
|
style="width: 150px;">
|
||||||
|
<el-option :value="1" :key="1" label="一级"></el-option>
|
||||||
|
<el-option :value="2" :key="2" label="二级"></el-option>
|
||||||
|
</el-select>
|
||||||
|
</div>
|
||||||
<div style="margin-bottom: 10px">
|
<div style="margin-bottom: 10px">
|
||||||
<span style="width: 200px; display: inline-block; text-align: right"
|
<span style="width: 200px; display: inline-block; text-align: right"
|
||||||
>备注:</span
|
>备注:</span
|
||||||
|
@ -498,6 +529,17 @@
|
||||||
:disabled="true"
|
:disabled="true"
|
||||||
></el-input>
|
></el-input>
|
||||||
</div>
|
</div>
|
||||||
|
<div style="margin-bottom: 10px">
|
||||||
|
<span style="width: 200px; display: inline-block; text-align: right">等级:</span>
|
||||||
|
<el-select
|
||||||
|
clearable
|
||||||
|
v-model="level"
|
||||||
|
style="width: 150px;"
|
||||||
|
:disabled="true">
|
||||||
|
<el-option :value="1" :key="1" label="一级"></el-option>
|
||||||
|
<el-option :value="2" :key="2" label="二级"></el-option>
|
||||||
|
</el-select>
|
||||||
|
</div>
|
||||||
<div style="margin-bottom: 10px">
|
<div style="margin-bottom: 10px">
|
||||||
<span style="width: 200px; display: inline-block; text-align: right"
|
<span style="width: 200px; display: inline-block; text-align: right"
|
||||||
>备注:</span
|
>备注:</span
|
||||||
|
@ -552,6 +594,7 @@ export default {
|
||||||
userName: "",
|
userName: "",
|
||||||
name: "",
|
name: "",
|
||||||
phone: "",
|
phone: "",
|
||||||
|
level: "",
|
||||||
remarks: "",
|
remarks: "",
|
||||||
status: "",
|
status: "",
|
||||||
opinion: "",
|
opinion: "",
|
||||||
|
@ -636,6 +679,7 @@ export default {
|
||||||
this.userId = row.userId;
|
this.userId = row.userId;
|
||||||
this.name = row.name;
|
this.name = row.name;
|
||||||
this.phone = row.phone;
|
this.phone = row.phone;
|
||||||
|
this.level = row.level;
|
||||||
this.avatar = row.avatar;
|
this.avatar = row.avatar;
|
||||||
this.userName = row.userName;
|
this.userName = row.userName;
|
||||||
this.remarks = row.remarks;
|
this.remarks = row.remarks;
|
||||||
|
@ -649,6 +693,7 @@ export default {
|
||||||
this.userId = row.userId;
|
this.userId = row.userId;
|
||||||
this.name = row.name;
|
this.name = row.name;
|
||||||
this.phone = row.phone;
|
this.phone = row.phone;
|
||||||
|
this.level = row.level;
|
||||||
this.avatar = row.avatar;
|
this.avatar = row.avatar;
|
||||||
this.userName = row.userName;
|
this.userName = row.userName;
|
||||||
this.remarks = row.remarks;
|
this.remarks = row.remarks;
|
||||||
|
@ -665,6 +710,7 @@ export default {
|
||||||
this.userId = row.userId;
|
this.userId = row.userId;
|
||||||
this.name = row.name;
|
this.name = row.name;
|
||||||
this.phone = row.phone;
|
this.phone = row.phone;
|
||||||
|
this.level = row.level;
|
||||||
this.avatar = row.avatar;
|
this.avatar = row.avatar;
|
||||||
this.userName = row.userName;
|
this.userName = row.userName;
|
||||||
this.remarks = row.remarks;
|
this.remarks = row.remarks;
|
||||||
|
@ -676,6 +722,7 @@ export default {
|
||||||
this.userId = "";
|
this.userId = "";
|
||||||
this.name = "";
|
this.name = "";
|
||||||
this.phone = "";
|
this.phone = "";
|
||||||
|
this.level = "";
|
||||||
this.avatar = "";
|
this.avatar = "";
|
||||||
this.userName = "";
|
this.userName = "";
|
||||||
this.remarks = "";
|
this.remarks = "";
|
||||||
|
@ -708,6 +755,15 @@ export default {
|
||||||
});
|
});
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (this.level == "") {
|
||||||
|
this.$notify({
|
||||||
|
title: "提示",
|
||||||
|
duration: 1800,
|
||||||
|
message: "请选择等级",
|
||||||
|
type: "warning",
|
||||||
|
});
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (this.userId == "") {
|
if (this.userId == "") {
|
||||||
this.$notify({
|
this.$notify({
|
||||||
title: "提示",
|
title: "提示",
|
||||||
|
@ -739,6 +795,7 @@ export default {
|
||||||
userId: this.userId,
|
userId: this.userId,
|
||||||
name: this.name,
|
name: this.name,
|
||||||
phone: this.phone,
|
phone: this.phone,
|
||||||
|
level: this.level,
|
||||||
remarks: this.remarks,
|
remarks: this.remarks,
|
||||||
}),
|
}),
|
||||||
}).then(({data}) => {
|
}).then(({data}) => {
|
||||||
|
@ -829,7 +886,8 @@ export default {
|
||||||
id: this.id,
|
id: this.id,
|
||||||
opinion: this.opinion,
|
opinion: this.opinion,
|
||||||
status: this.status,
|
status: this.status,
|
||||||
userId: this.userId
|
userId: this.userId,
|
||||||
|
level: this.level,
|
||||||
}),
|
}),
|
||||||
}).then(({data}) => {
|
}).then(({data}) => {
|
||||||
if (data.code == 0) {
|
if (data.code == 0) {
|
||||||
|
@ -895,6 +953,7 @@ export default {
|
||||||
this.id= "";
|
this.id= "";
|
||||||
this.name= "";
|
this.name= "";
|
||||||
this.phone= "";
|
this.phone= "";
|
||||||
|
this.level= "";
|
||||||
this.status= "";
|
this.status= "";
|
||||||
this.startTime= "";
|
this.startTime= "";
|
||||||
this.endTime= "";
|
this.endTime= "";
|
||||||
|
|
|
@ -189,33 +189,33 @@
|
||||||
</el-switch>
|
</el-switch>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="qyType" label="是否企业预约项目">
|
<!-- <el-table-column prop="qyType" label="是否企业预约项目">-->
|
||||||
<template slot-scope="scope">
|
<!-- <template slot-scope="scope">-->
|
||||||
<el-switch
|
<!-- <el-switch-->
|
||||||
v-model="scope.row.qyType"
|
<!-- v-model="scope.row.qyType"-->
|
||||||
@change="changeQy(scope.row.massageTypeId, scope.row.qyType)"
|
<!-- @change="changeQy(scope.row.massageTypeId, scope.row.qyType)"-->
|
||||||
:active-value="openValue3"
|
<!-- :active-value="openValue3"-->
|
||||||
:inactive-value="closeValue3"
|
<!-- :inactive-value="closeValue3"-->
|
||||||
active-color="#13ce66"
|
<!-- active-color="#13ce66"-->
|
||||||
inactive-color="#ff4949"
|
<!-- inactive-color="#ff4949"-->
|
||||||
>
|
<!-- >-->
|
||||||
</el-switch>
|
<!-- </el-switch>-->
|
||||||
</template>
|
<!-- </template>-->
|
||||||
</el-table-column>
|
<!-- </el-table-column>-->
|
||||||
<el-table-column prop="qyMinNum" label="企业预约最小次数" width="150">
|
<!-- <el-table-column prop="qyMinNum" label="企业预约最小次数" width="150">-->
|
||||||
<template slot-scope="scope">
|
<!-- <template slot-scope="scope">-->
|
||||||
<span>{{ scope.row.qyMinNum }}</span>
|
<!-- <span>{{ scope.row.qyMinNum }}</span>-->
|
||||||
<el-button
|
<!-- <el-button-->
|
||||||
size="mini"
|
<!-- size="mini"-->
|
||||||
type="primary"
|
<!-- type="primary"-->
|
||||||
plain
|
<!-- plain-->
|
||||||
:disabled="!isAuth('locality:update')"
|
<!-- :disabled="!isAuth('locality:update')"-->
|
||||||
@click="updateQyMin(scope.row)"
|
<!-- @click="updateQyMin(scope.row)"-->
|
||||||
style="margin: 5px"
|
<!-- style="margin: 5px"-->
|
||||||
>修改</el-button
|
<!-- >修改</el-button-->
|
||||||
>
|
<!-- >-->
|
||||||
</template>
|
<!-- </template>-->
|
||||||
</el-table-column>
|
<!-- </el-table-column>-->
|
||||||
<!-- <el-table-column prop="createTime" label="创建时间">
|
<!-- <el-table-column prop="createTime" label="创建时间">
|
||||||
</el-table-column> -->
|
</el-table-column> -->
|
||||||
<el-table-column label="操作" prop="id" width="260" fixed="right">
|
<el-table-column label="操作" prop="id" width="260" fixed="right">
|
||||||
|
@ -1528,25 +1528,25 @@
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
<!-- 修改企业最小预约数量 -->
|
<!-- 修改企业最小预约数量 -->
|
||||||
<el-dialog title="企业最小预约数量" :visible.sync="dialogFormVisibleBz" center>
|
<!-- <el-dialog title="企业最小预约数量" :visible.sync="dialogFormVisibleBz" center>-->
|
||||||
<div style="margin-bottom: 10px">
|
<!-- <div style="margin-bottom: 10px">-->
|
||||||
<span style="width: 200px; display: inline-block; text-align: right"
|
<!-- <span style="width: 200px; display: inline-block; text-align: right"-->
|
||||||
>企业最小预约数量:</span
|
<!-- >企业最小预约数量:</span-->
|
||||||
>
|
<!-- >-->
|
||||||
<el-input
|
<!-- <el-input-->
|
||||||
style="width: 50%"
|
<!-- style="width: 50%"-->
|
||||||
v-model="qyMinNum"
|
<!-- v-model="qyMinNum"-->
|
||||||
type="number"
|
<!-- type="number"-->
|
||||||
min="0"
|
<!-- min="0"-->
|
||||||
placeholder="请输入数量"
|
<!-- placeholder="请输入数量"-->
|
||||||
>
|
<!-- >-->
|
||||||
</el-input>
|
<!-- </el-input>-->
|
||||||
</div>
|
<!-- </div>-->
|
||||||
<div slot="footer" class="dialog-footer">
|
<!-- <div slot="footer" class="dialog-footer">-->
|
||||||
<el-button @click="dialogFormVisibleBz = false">取 消</el-button>
|
<!-- <el-button @click="dialogFormVisibleBz = false">取 消</el-button>-->
|
||||||
<el-button type="primary" @click="replyNoticeTo()">确 定</el-button>
|
<!-- <el-button type="primary" @click="replyNoticeTo()">确 定</el-button>-->
|
||||||
</div>
|
<!-- </div>-->
|
||||||
</el-dialog>
|
<!-- </el-dialog>-->
|
||||||
</el-tabs>
|
</el-tabs>
|
||||||
<el-dialog
|
<el-dialog
|
||||||
title="物料包列表"
|
title="物料包列表"
|
||||||
|
@ -1857,7 +1857,7 @@
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<el-dialog title="新增评论" :visible.sync="dialogSaveVisible" center>
|
<el-dialog title="新增评论" :visible.sync="dialogSaveVisible" center>
|
||||||
<el-form :model="saveForm">
|
<el-form :model="saveForm">
|
||||||
|
@ -2155,7 +2155,7 @@ export default {
|
||||||
materialId: "",
|
materialId: "",
|
||||||
materialPackageClassifyId: "",
|
materialPackageClassifyId: "",
|
||||||
getMaterialPackageDataOfRow: {},
|
getMaterialPackageDataOfRow: {},
|
||||||
|
|
||||||
//新增评论内容
|
//新增评论内容
|
||||||
saveForm:{
|
saveForm:{
|
||||||
massageTypeId: '',
|
massageTypeId: '',
|
||||||
|
@ -2466,7 +2466,7 @@ export default {
|
||||||
this.childPage = val;
|
this.childPage = val;
|
||||||
this.selectMassageTypeChildrenPage();
|
this.selectMassageTypeChildrenPage();
|
||||||
},
|
},
|
||||||
|
|
||||||
handleSizeChange1(val) {
|
handleSizeChange1(val) {
|
||||||
this.limit = val;
|
this.limit = val;
|
||||||
this.InformationSelect();
|
this.InformationSelect();
|
||||||
|
@ -3571,7 +3571,7 @@ export default {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
// 企业预约项目是否启用
|
// 企业预约项目是否启用
|
||||||
changeQy(massageTypeId, qyType) {
|
changeQy(massageTypeId, qyType) {
|
||||||
this.$http({
|
this.$http({
|
||||||
|
@ -4453,15 +4453,15 @@ export default {
|
||||||
// 修改销量
|
// 修改销量
|
||||||
updateBz(row) {
|
updateBz(row) {
|
||||||
this.ordersId = row.massageTypeId;
|
this.ordersId = row.massageTypeId;
|
||||||
this.content = row.sales;
|
this.ordersales = row.sales;
|
||||||
this.dialogFormVisibleBz = true;
|
this.dialogFormVisibleBz = true;
|
||||||
},
|
},
|
||||||
// 企业预约最小数量
|
// 企业预约最小数量
|
||||||
updateQyMin(row) {
|
// updateQyMin(row) {
|
||||||
this.ordersId = row.massageTypeId;
|
// this.ordersId = row.massageTypeId;
|
||||||
this.qyMinNum = row.qyMinNum;
|
// this.qyMinNum = row.qyMinNum;
|
||||||
this.dialogFormVisibleBz = true;
|
// this.dialogFormVisibleBz = true;
|
||||||
},
|
// },
|
||||||
// 修改
|
// 修改
|
||||||
replyNoticeTo() {
|
replyNoticeTo() {
|
||||||
this.$http({
|
this.$http({
|
||||||
|
@ -4493,38 +4493,38 @@ export default {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
// 修改
|
// 修改
|
||||||
replyNoticeTo() {
|
// replyNoticeTo() {
|
||||||
this.$http({
|
// this.$http({
|
||||||
url: this.$http.adornUrl("artificer/updateMassageType"),
|
// url: this.$http.adornUrl("artificer/updateMassageType"),
|
||||||
method: "post",
|
// method: "post",
|
||||||
// params: this.$http.adornParams({
|
// // params: this.$http.adornParams({
|
||||||
data: this.$http.adornData({
|
// data: this.$http.adornData({
|
||||||
massageTypeId: this.ordersId,
|
// massageTypeId: this.ordersId,
|
||||||
qyMinNum: this.qyMinNum,
|
// qyMinNum: this.qyMinNum,
|
||||||
}),
|
// }),
|
||||||
}).then(({ data }) => {
|
// }).then(({ data }) => {
|
||||||
if (data.code == 0) {
|
// if (data.code == 0) {
|
||||||
this.$message({
|
// this.$message({
|
||||||
message: "修改成功",
|
// message: "修改成功",
|
||||||
type: "success",
|
// type: "success",
|
||||||
duration: 1500,
|
// duration: 1500,
|
||||||
onClose: () => {
|
// onClose: () => {
|
||||||
this.classSelect();
|
// this.classSelect();
|
||||||
},
|
// },
|
||||||
});
|
// });
|
||||||
this.dialogFormVisibleBz = false;
|
// this.dialogFormVisibleBz = false;
|
||||||
} else {
|
// } else {
|
||||||
this.$message({
|
// this.$message({
|
||||||
message: data.msg,
|
// message: data.msg,
|
||||||
type: "warning",
|
// type: "warning",
|
||||||
duration: 1500,
|
// duration: 1500,
|
||||||
onClose: () => {},
|
// onClose: () => {},
|
||||||
});
|
// });
|
||||||
}
|
// }
|
||||||
});
|
// });
|
||||||
},
|
// },
|
||||||
// 查询物料包列表
|
// 查询物料包列表
|
||||||
getMaterialPackageDataList(row) {
|
getMaterialPackageDataList(row) {
|
||||||
this.$http({
|
this.$http({
|
||||||
|
|
Loading…
Reference in New Issue