fix: 圈子bug修复

This commit is contained in:
kaizheng(郑凯) 2025-02-27 21:05:58 +08:00
parent 3d0288a713
commit ef5d8cc4ed

View File

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