fix: 圈子bug修复
This commit is contained in:
parent
3d0288a713
commit
ef5d8cc4ed
@ -162,6 +162,7 @@
|
|||||||
:visible.sync="dialog"
|
:visible.sync="dialog"
|
||||||
:close-on-click-modal="false"
|
:close-on-click-modal="false"
|
||||||
:title="dialogTitle"
|
:title="dialogTitle"
|
||||||
|
top="0"
|
||||||
append-to-body
|
append-to-body
|
||||||
width="700px"
|
width="700px"
|
||||||
>
|
>
|
||||||
@ -271,7 +272,7 @@
|
|||||||
:disabled="isAdjust || isReadOnly"
|
:disabled="isAdjust || isReadOnly"
|
||||||
>
|
>
|
||||||
<el-radio label="1">收费</el-radio>
|
<el-radio label="1">收费</el-radio>
|
||||||
<el-radio label="0">免费</el-radio>
|
<!-- <el-radio label="0">免费</el-radio> -->
|
||||||
</el-radio-group>
|
</el-radio-group>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item
|
<el-form-item
|
||||||
@ -325,7 +326,7 @@
|
|||||||
<el-form-item label="活动价" prop="activityPrice">
|
<el-form-item label="活动价" prop="activityPrice">
|
||||||
<el-input-number
|
<el-input-number
|
||||||
v-model="form.activityPrice"
|
v-model="form.activityPrice"
|
||||||
min="0"
|
:min="0"
|
||||||
:max="form.originalPrice"
|
:max="form.originalPrice"
|
||||||
:disabled="isAdjust || isReadOnly"
|
:disabled="isAdjust || isReadOnly"
|
||||||
/>
|
/>
|
||||||
@ -485,7 +486,7 @@ export default {
|
|||||||
coverImage: "",
|
coverImage: "",
|
||||||
pageId: "",
|
pageId: "",
|
||||||
paymentUrl: "",
|
paymentUrl: "",
|
||||||
authorityId: "",
|
authorityId: null,
|
||||||
riskLevel: "",
|
riskLevel: "",
|
||||||
privateChatStatus: 1
|
privateChatStatus: 1
|
||||||
},
|
},
|
||||||
@ -520,8 +521,8 @@ export default {
|
|||||||
{ required: true, message: "请输入链接地址", trigger: "blur" }
|
{ required: true, message: "请输入链接地址", trigger: "blur" }
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
authority: "1",
|
authority: "2",
|
||||||
linkType: "1",
|
linkType: "2",
|
||||||
adjustForm: {
|
adjustForm: {
|
||||||
event: 103,
|
event: 103,
|
||||||
reason: ""
|
reason: ""
|
||||||
@ -616,15 +617,15 @@ export default {
|
|||||||
coverImage: "",
|
coverImage: "",
|
||||||
pageId: "",
|
pageId: "",
|
||||||
paymentUrl: "",
|
paymentUrl: "",
|
||||||
authorityId: "",
|
authorityId: null,
|
||||||
riskLevel: "",
|
riskLevel: "",
|
||||||
privateChatStatus: "1"
|
privateChatStatus: 1
|
||||||
};
|
};
|
||||||
if (!this.form.advisorId && this.user.advisorInfo) {
|
if (!this.form.advisorId && this.user.advisorInfo) {
|
||||||
this.form.advisorId = this.user.advisorInfo.id;
|
this.form.advisorId = this.user.advisorInfo.id;
|
||||||
}
|
}
|
||||||
this.authority = "1";
|
this.authority = "1";
|
||||||
this.linkType = "1";
|
this.linkType = "2";
|
||||||
this.adjustForm = {
|
this.adjustForm = {
|
||||||
event: 103,
|
event: 103,
|
||||||
reason: ""
|
reason: ""
|
||||||
@ -658,11 +659,11 @@ export default {
|
|||||||
this.$refs.ruleForm.validate(async valid => {
|
this.$refs.ruleForm.validate(async valid => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
if (this.authority === "0") {
|
if (this.authority === "0") {
|
||||||
this.form.authorityId = "";
|
this.form.authorityId = null;
|
||||||
this.form.pageId = "";
|
this.form.pageId = "";
|
||||||
this.form.paymentUrl = "";
|
this.form.paymentUrl = "";
|
||||||
this.form.originalPrice = "";
|
this.form.originalPrice = null;
|
||||||
this.form.discountPrice = "";
|
this.form.discountPrice = null;
|
||||||
} else if (!this.form.authorityId) {
|
} else if (!this.form.authorityId) {
|
||||||
this.$message({
|
this.$message({
|
||||||
message: "请输入权限号",
|
message: "请输入权限号",
|
||||||
@ -741,9 +742,9 @@ export default {
|
|||||||
},
|
},
|
||||||
async copyUrl(event, item) {
|
async copyUrl(event, item) {
|
||||||
const currentTarget = event.currentTarget;
|
const currentTarget = event.currentTarget;
|
||||||
const url = item.authorityId
|
const url = `/circle/interact?id=${item.id}&saleUserId=${
|
||||||
? `/circle?id=${item.id}&saleUserId=${this.user.user.id}`
|
this.user.user.id
|
||||||
: `/circle/interact?id=${item.id}&saleUserId=${this.user.user.id}`;
|
}`;
|
||||||
const ret = await urlResize({
|
const ret = await urlResize({
|
||||||
url
|
url
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user