diff --git a/src/views/circle/list/index.vue b/src/views/circle/list/index.vue
index 6dd0e77..c372b53 100644
--- a/src/views/circle/list/index.vue
+++ b/src/views/circle/list/index.vue
@@ -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"
>
收费
- 免费
+
@@ -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
});