|
@@ -454,16 +454,6 @@
|
|
|
></el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
- <el-form-item
|
|
|
- label="是否支持注册"
|
|
|
- prop="isSupportUserRegister"
|
|
|
- label-width="120px"
|
|
|
- >
|
|
|
- <el-radio-group v-model="maskForm1.isSupportUserRegister" :disabled="!isNew1">
|
|
|
- <el-radio :label="1">支持</el-radio>
|
|
|
- <el-radio :label="0">不支持</el-radio>
|
|
|
- </el-radio-group>
|
|
|
- </el-form-item>
|
|
|
<el-form-item label="查看链接" v-if="!isNew1">
|
|
|
<el-input
|
|
|
style="width: 400px !important"
|
|
@@ -638,7 +628,6 @@ export default {
|
|
|
desc: null,
|
|
|
title: null,
|
|
|
code: null,
|
|
|
- isSupportUserRegister: 0,
|
|
|
musicGroupId: null,
|
|
|
studentId: null,
|
|
|
studentName: null
|
|
@@ -661,7 +650,8 @@ export default {
|
|
|
{ required: true, message: "请输入学员编号", trigger: "blur" }
|
|
|
],
|
|
|
desc: [{ required: true, message: "请输入收费详情" }]
|
|
|
- }
|
|
|
+ },
|
|
|
+ tenantId: "",
|
|
|
};
|
|
|
},
|
|
|
mounted() {
|
|
@@ -670,6 +660,8 @@ export default {
|
|
|
// this.organList = res.data;
|
|
|
// }
|
|
|
// })
|
|
|
+
|
|
|
+ this.tenantId = this.$helpers.tenantId
|
|
|
this.$store.dispatch("setBranchs");
|
|
|
this.getList();
|
|
|
this.getAgreement();
|
|
@@ -730,7 +722,6 @@ export default {
|
|
|
desc: null,
|
|
|
title: null,
|
|
|
code: null,
|
|
|
- isSupportUserRegister: 0,
|
|
|
studentId: null,
|
|
|
studentName: null
|
|
|
};
|
|
@@ -766,7 +757,7 @@ export default {
|
|
|
this.title1 = "查看个人收费";
|
|
|
let url =
|
|
|
vaildStudentUrl() +
|
|
|
- `/#/sporadicPay?id=${row.id}&userId=${row.userId}&isRegister=${row.isSupportUserRegister? 1 : 0}`;
|
|
|
+ `/#/sporadicPay?id=${row.id}&userId=${row.userId}`;
|
|
|
this.qrCodeUrl = url;
|
|
|
maskForm.code = url;
|
|
|
maskForm.studentId = row.userId;
|
|
@@ -776,7 +767,8 @@ export default {
|
|
|
this.isNew = false;
|
|
|
this.zeroVisible = true;
|
|
|
this.title = "查看公用收费";
|
|
|
- let url = vaildStudentUrl() + `/#/sporadicLogin?id=${row.id}&isRegister=${row.isSupportUserRegister? 1 : 0}`;
|
|
|
+ const firstOrganId = row.organId ? row.organId.split(",")[0] : "";
|
|
|
+ let url = vaildStudentUrl() + `/#/sporadicLogin?id=${row.id}&isRegister=${row.isSupportUserRegister? 1 : 0}&tenantId=${this.tenantId}&organId=${firstOrganId}`;
|
|
|
this.qrCodeUrl = url;
|
|
|
maskForm.code = url;
|
|
|
}
|