经纪人等级
This commit is contained in:
parent
9b44ab92aa
commit
8da31d6c7c
|
@ -823,7 +823,8 @@ export default {
|
||||||
params: this.$http.adornParams({
|
params: this.$http.adornParams({
|
||||||
id: this.id,
|
id: this.id,
|
||||||
opinion: this.opinion,
|
opinion: this.opinion,
|
||||||
status: this.status,
|
status: 1,
|
||||||
|
userId: this.userId,
|
||||||
}),
|
}),
|
||||||
}).then(({data}) => {
|
}).then(({data}) => {
|
||||||
if (data.code == 0) {
|
if (data.code == 0) {
|
||||||
|
@ -858,6 +859,7 @@ export default {
|
||||||
id: id,
|
id: id,
|
||||||
opinion: '系统取消授权',
|
opinion: '系统取消授权',
|
||||||
status: 0,
|
status: 0,
|
||||||
|
userId: this.userId,
|
||||||
}),
|
}),
|
||||||
}).then(({data}) => {
|
}).then(({data}) => {
|
||||||
if (data.code == 0) {
|
if (data.code == 0) {
|
||||||
|
|
|
@ -75,12 +75,22 @@
|
||||||
</el-input>
|
</el-input>
|
||||||
</div>
|
</div>
|
||||||
<div style="margin-bottom: 10px">
|
<div style="margin-bottom: 10px">
|
||||||
<span style="width: 200px; display: inline-block; text-align: right">邀请技师人数:</span>
|
<span style="width: 200px; display: inline-block; text-align: right">最小邀请技师人数:</span>
|
||||||
<el-input
|
<el-input
|
||||||
style="width: 50%"
|
style="width: 50%"
|
||||||
v-model="peopleNumber"
|
v-model="minNumber"
|
||||||
type="text"
|
type="text"
|
||||||
placeholder="请输入邀请技师人数"
|
placeholder="请输入最小邀请技师人数"
|
||||||
|
:disabled="true"
|
||||||
|
></el-input>
|
||||||
|
</div>
|
||||||
|
<div style="margin-bottom: 10px">
|
||||||
|
<span style="width: 200px; display: inline-block; text-align: right">最大邀请技师人数:</span>
|
||||||
|
<el-input
|
||||||
|
style="width: 50%"
|
||||||
|
v-model="maxNumber"
|
||||||
|
type="text"
|
||||||
|
placeholder="请输入最大邀请技师人数"
|
||||||
:disabled="true"
|
:disabled="true"
|
||||||
></el-input>
|
></el-input>
|
||||||
</div>
|
</div>
|
||||||
|
@ -111,11 +121,19 @@
|
||||||
</el-input>
|
</el-input>
|
||||||
</div>
|
</div>
|
||||||
<div style="margin-bottom: 10px">
|
<div style="margin-bottom: 10px">
|
||||||
<span style="width: 200px; display: inline-block; text-align: right">邀请技师人数:</span>
|
<span style="width: 200px; display: inline-block; text-align: right">最小邀请技师人数:</span>
|
||||||
<el-input
|
<el-input
|
||||||
style="width: 50%"
|
style="width: 50%"
|
||||||
v-model="peopleNumber"
|
v-model="minNumber"
|
||||||
placeholder="请输入邀请技师人数"
|
placeholder="请输入最小邀请技师人数"
|
||||||
|
></el-input>
|
||||||
|
</div>
|
||||||
|
<div style="margin-bottom: 10px">
|
||||||
|
<span style="width: 200px; display: inline-block; text-align: right">最大邀请技师人数:</span>
|
||||||
|
<el-input
|
||||||
|
style="width: 50%"
|
||||||
|
v-model="maxNumber"
|
||||||
|
placeholder="请输入最大邀请技师人数"
|
||||||
></el-input>
|
></el-input>
|
||||||
</div>
|
</div>
|
||||||
<div style="margin-bottom: 10px">
|
<div style="margin-bottom: 10px">
|
||||||
|
@ -141,6 +159,8 @@ export default {
|
||||||
tableData: [],
|
tableData: [],
|
||||||
id: "",
|
id: "",
|
||||||
level: "",
|
level: "",
|
||||||
|
minNumber: "",
|
||||||
|
maxNumber: "",
|
||||||
peopleNumber: "",
|
peopleNumber: "",
|
||||||
rate: "",
|
rate: "",
|
||||||
dialogFormVisible: false,
|
dialogFormVisible: false,
|
||||||
|
@ -159,7 +179,6 @@ export default {
|
||||||
}).then(({data}) => {
|
}).then(({data}) => {
|
||||||
if (data.code == 0) {
|
if (data.code == 0) {
|
||||||
this.tableData = data.data;
|
this.tableData = data.data;
|
||||||
console.log(this.tableData);
|
|
||||||
} else {
|
} else {
|
||||||
this.$notify({
|
this.$notify({
|
||||||
title: "提示",
|
title: "提示",
|
||||||
|
@ -177,6 +196,8 @@ export default {
|
||||||
this.id = row.id;
|
this.id = row.id;
|
||||||
this.level = row.level;
|
this.level = row.level;
|
||||||
this.peopleNumber = row.peopleNumber;
|
this.peopleNumber = row.peopleNumber;
|
||||||
|
this.minNumber = row.minNumber;
|
||||||
|
this.maxNumber = row.maxNumber;
|
||||||
this.rate = row.rate;
|
this.rate = row.rate;
|
||||||
this.dialogFormViewVisible = true;
|
this.dialogFormViewVisible = true;
|
||||||
},
|
},
|
||||||
|
@ -188,12 +209,16 @@ export default {
|
||||||
this.id = row.id;
|
this.id = row.id;
|
||||||
this.level = row.level;
|
this.level = row.level;
|
||||||
this.peopleNumber = row.peopleNumber;
|
this.peopleNumber = row.peopleNumber;
|
||||||
|
this.minNumber = row.minNumber;
|
||||||
|
this.maxNumber = row.maxNumber;
|
||||||
this.rate = row.rate;
|
this.rate = row.rate;
|
||||||
} else {
|
} else {
|
||||||
this.titles = "添加";
|
this.titles = "添加";
|
||||||
this.id = "";
|
this.id = "";
|
||||||
this.level = "";
|
this.level = "";
|
||||||
this.peopleNumber = "";
|
this.peopleNumber = "";
|
||||||
|
this.minNumber = "";
|
||||||
|
this.maxNumber = "";
|
||||||
this.rate = "";
|
this.rate = "";
|
||||||
}
|
}
|
||||||
this.dialogFormVisible = true;
|
this.dialogFormVisible = true;
|
||||||
|
@ -210,11 +235,20 @@ export default {
|
||||||
});
|
});
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (this.peopleNumber == "") {
|
if (this.minNumber == "") {
|
||||||
this.$notify({
|
this.$notify({
|
||||||
title: "提示",
|
title: "提示",
|
||||||
duration: 1800,
|
duration: 1800,
|
||||||
message: "请输入邀请技师人数",
|
message: "请输入最小邀请技师人数",
|
||||||
|
type: "warning",
|
||||||
|
});
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if (this.maxNumber == "") {
|
||||||
|
this.$notify({
|
||||||
|
title: "提示",
|
||||||
|
duration: 1800,
|
||||||
|
message: "请输入最大邀请技师人数",
|
||||||
type: "warning",
|
type: "warning",
|
||||||
});
|
});
|
||||||
return;
|
return;
|
||||||
|
@ -239,7 +273,8 @@ export default {
|
||||||
params: this.$http.adornParams({
|
params: this.$http.adornParams({
|
||||||
id: this.id,
|
id: this.id,
|
||||||
level: this.level,
|
level: this.level,
|
||||||
peopleNumber: this.peopleNumber,
|
minNumber: this.minNumber,
|
||||||
|
maxNumber: this.maxNumber,
|
||||||
rate: this.rate,
|
rate: this.rate,
|
||||||
}),
|
}),
|
||||||
}).then(({data}) => {
|
}).then(({data}) => {
|
||||||
|
|
Loading…
Reference in New Issue