Commit c9bfeaad authored by zhengke's avatar zhengke

修改

parent e95a4d59
...@@ -127,6 +127,11 @@ ...@@ -127,6 +127,11 @@
style="display:none" /> style="display:none" />
</div> </div>
</div> </div>
<div class="row wrap">
<div class="col-12 q-pr-lg q-pb-lg">
<q-input v-model="objOption.ContractInfo" filled type="textarea" placeholder="合同补充协议" />
</div>
</div>
<div class="text-caption q-my-md q-px-xs text-grey-6">课程介绍</div> <div class="text-caption q-my-md q-px-xs text-grey-6">课程介绍</div>
<ext-editor :defaultMsg="objOption.CourseIntro" classStr="col-12" @getEditValue="getEditValue"></ext-editor> <ext-editor :defaultMsg="objOption.CourseIntro" classStr="col-12" @getEditValue="getEditValue"></ext-editor>
<div class="row wrap"> <div class="row wrap">
...@@ -218,6 +223,7 @@ ...@@ -218,6 +223,7 @@
B2BIcon: '', //图标 B2BIcon: '', //图标
B2BBackground: '', //背景 B2BBackground: '', //背景
CourseEmphasis: [], //课程重点 多选 英文逗号分隔 CourseEmphasis: [], //课程重点 多选 英文逗号分隔
ContractInfo:'' //合同补充协议
}, },
CourseEmphasis: [], //数据临时存放 CourseEmphasis: [], //数据临时存放
optionTitle: "", optionTitle: "",
...@@ -446,6 +452,7 @@ ...@@ -446,6 +452,7 @@
this.objOption.CourseSubject = res.Data.CourseSubject; this.objOption.CourseSubject = res.Data.CourseSubject;
this.objOption.B2BIcon = res.Data.B2BIcon; this.objOption.B2BIcon = res.Data.B2BIcon;
this.objOption.B2BBackground = res.Data.B2BBackground; this.objOption.B2BBackground = res.Data.B2BBackground;
this.objOption.ContractInfo = res.Data.ContractInfo;
this.CourseEmphasis = [] this.CourseEmphasis = []
setTimeout(() => { //Todo 暂时不知道什么原因 偶尔会出现2个 所以加了一个延迟 setTimeout(() => { //Todo 暂时不知道什么原因 偶尔会出现2个 所以加了一个延迟
if (res.Data.CourseEmphasis && res.Data.CourseEmphasis != '') { if (res.Data.CourseEmphasis && res.Data.CourseEmphasis != '') {
...@@ -498,6 +505,7 @@ ...@@ -498,6 +505,7 @@
this.objOption.Saleplat = ""; this.objOption.Saleplat = "";
this.objOption.IsKCourse = 0; this.objOption.IsKCourse = 0;
this.objOption.CourseRate = ""; this.objOption.CourseRate = "";
this.objOption.ContractInfo = '';
this.getCategorytree(); this.getCategorytree();
} }
}, },
......
...@@ -79,6 +79,10 @@ ...@@ -79,6 +79,10 @@
GenerateOrder GenerateOrder
} from '../api/sale/contract' } from '../api/sale/contract'
import QRCode from 'qrcodejs2' import QRCode from 'qrcodejs2'
import {
Encrypt,
Decrypt
} from '../utils/encrypt'
export default { export default {
data() { data() {
...@@ -94,8 +98,9 @@ ...@@ -94,8 +98,9 @@
}, },
mounted() { mounted() {
if (this.$route.query.contractId) { if (this.$route.query.a) {
this.msg.contractId = this.$route.query.contractId; let ContractId = Decrypt(decodeURIComponent(this.$route.query.a));
this.msg.ContractId = ContractId;
this.getList(); this.getList();
} }
if(this.$route.query.Money){ if(this.$route.query.Money){
...@@ -127,7 +132,9 @@ ...@@ -127,7 +132,9 @@
this.$router.push({ this.$router.push({
path: 'contractConfirm', path: 'contractConfirm',
query: { query: {
ContractId: this.msg.contractId query: {
a: encodeURIComponent(Encrypt(this.msg.ContractId.toString())),
}
} }
}); });
} }
......
...@@ -297,7 +297,7 @@ ...@@ -297,7 +297,7 @@
this.$router.push({ this.$router.push({
path: '/contractPay', path: '/contractPay',
query: { query: {
contractId: this.msg.ContractId, a: encodeURIComponent(Encrypt(this.msg.ContractId.toString())),
Money: this.Money Money: this.Money
} }
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment