提交 f6b2a9c8 authored 作者: 王鹏飞's avatar 王鹏飞

merge...

......@@ -4,7 +4,8 @@ module.exports = {
apiBaseURL: 'https://learn-api2.ezijing.com',
others: {
url: '/app/learn/course',
loginUrl: 'https://login2.ezijing.com/bluestar/login/index'
loginUrl: 'https://login2.ezijing.com/sofia/login/index',
messageBaseURL: 'https://test-microservices-message-service-api.ezijing.com'
},
webpack: {
externals: {
......
......@@ -5,7 +5,8 @@ module.exports = {
// apiBaseURL: '/',
others: {
url: '/app/learn/course',
loginUrl: 'https://login.ezijing.com/bluestar/login/index'
loginUrl: 'https://login.ezijing.com/sofia/login/index',
messageBaseURL: ''
},
webpack: {
externals: {
......
......@@ -5,7 +5,8 @@ module.exports = {
// apiBaseURL: '/',
others: {
url: '/app/learn/course',
loginUrl: 'https://login2.ezijing.com/bluestar/login/index'
loginUrl: 'https://login2.ezijing.com/sofia/login/index',
messageBaseURL: 'https://test-microservices-message-service-api.ezijing.com'
},
isUploadStatic: false,
webpack: {
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -72,16 +72,17 @@
"webpack-merge": "^4.2.2"
},
"dependencies": {
"@ckeditor/ckeditor5-build-classic": "^24.0.0",
"@ckeditor/ckeditor5-build-classic": "^25.0.0",
"@ckeditor/ckeditor5-vue2": "^1.0.5",
"axios": "^0.21.0",
"core-js": "^3.8.1",
"@ezijing/web-message-sdk": "^0.2.1",
"axios": "^0.21.1",
"core-js": "^3.9.0",
"cross-env": "^7.0.3",
"element-ui": "^2.14.1",
"element-ui": "^2.15.1",
"js-cookie": "^2.2.1",
"lodash": "^4.17.20",
"lodash": "^4.17.21",
"qrcode.vue": "^1.7.0",
"qs": "^6.9.4",
"qs": "^6.9.6",
"vue": "^2.6.12",
"vue-i18n": "^8.22.2",
"vue-loader": "^15.9.5",
......
......@@ -5,10 +5,11 @@
<div class="text-title" @click="setStatus">{{ $t('components.learnSysLayout.navigation.title') }}</div>
</div>
<div class="nav-right">
<div class="notify" @click="goNotify()">
<div class="nav-message"></div>
<!-- <div class="notify" @click="goNotify()">
{{ $t('components.learnSysLayout.navigation.tip') }}
<div class="num" v-if="this.$store.getters.myMsg != 0">{{ this.$store.getters.myMsg }}</div>
</div>
</div> -->
<!-- <language-switch /> -->
</div>
</div>
......@@ -16,8 +17,8 @@
<script>
import LanguageSwitch from '@/components/languageSwitch/index.vue'
import cAction from '../../action'
// import cAction from '../../action'
import Message from '@ezijing/web-message-sdk'
export default {
components: { LanguageSwitch },
data() {
......@@ -26,14 +27,15 @@ export default {
}
},
mounted() {
cAction.Other.getNavMsg()
.then(data => {
this.$store.commit('myMsg', data.num)
})
.catch(e => {
this.$message.error(e.message)
})
.finally(() => {})
// cAction.Other.getNavMsg()
// .then(data => {
// this.$store.commit('myMsg', data.num)
// })
// .catch(e => {
// this.$message.error(e.message)
// })
// 新版通知
Message({ container: '.nav-message', source: 'SOFIA_WEB', baseURL: webConf.others.messageBaseURL })
},
methods: {
goNotify() {
......
......@@ -25,5 +25,9 @@
<!-- 解决iframe嵌套,CC视频在safri中打开免登陆兼容问题 -->
<script src="//view.csslcloud.net/js/_fix_.js"></script>
<!-- <script src="//view.csslcloud.net/js/sdk/3.1.0/liveSDK.js" type="text/javascript"></script> -->
<!-- 日志采集 -->
<script src="https://zws-imgs-pub.ezijing.com/static/plugin/mqtt_msg.godzyx-1.0.3.js"></script>
<script src="https://zws-imgs-pub.ezijing.com/static/plugin/error.godzyx-1.0.3.js"></script>
</body>
</html>
......@@ -43,19 +43,25 @@ export default {
computed: {
qrcodeValue() {
return this.order.url
},
pid() {
return this.$route.params.id
},
notifyUrl() {
return `${webConf.apiBaseURL}/api/lms/v2/lobby/update-status-api/${this.pid}`
}
},
methods: {
// 创建微信订单
createWxPayOrder(productId, num = 1) {
return api.createWxpayOrder('ezijing', productId, { num }).then(response => {
return api.createWxpayOrder('ezijing', productId, { num, notify_url: this.notifyUrl }).then(response => {
this.order = response
return response
})
},
// 创建支付宝订单
createAliPayOrder(productId, num = 1) {
return api.createAlipayOrder(productId, { type: 2, num }).then(response => {
return api.createAlipayOrder(productId, { type: 2, num, notify_url: this.notifyUrl }).then(response => {
this.order = response
return response
})
......
......@@ -2,7 +2,7 @@ import TableList from '@/components/comTable/tableList'
import * as api from '../api'
export default {
props: { affairId: { type: String, required: true } },
props: { affairId: { type: String, required: true }, hasAdd: { type: Boolean, default: true } },
components: { TableList },
data() {
return {
......
<template>
<div>
<el-button type="primary" @click="handleAdd">申请新的活动</el-button>
<el-button type="primary" @click="handleAdd" v-if="hasAdd">申请新的活动</el-button>
<div style="height: 20px"></div>
<table-list :remote="remote" :columns="columns" ref="tableList"></table-list>
</div>
......
<template>
<div>
<el-button type="primary" @click="handleAdd">申请索菲亚在读证明</el-button>
<el-button type="primary" @click="handleAdd" v-if="hasAdd">申请索菲亚在读证明</el-button>
<div style="height: 20px"></div>
<table-list :remote="remote" :columns="columns" ref="tableList"></table-list>
</div>
......
<template>
<div>
<el-button type="primary" @click="handleAdd">申请紫荆在读证明</el-button>
<el-button type="primary" @click="handleAdd" v-if="hasAdd">申请紫荆在读证明</el-button>
<div style="height: 20px"></div>
<table-list :remote="remote" :columns="columns" ref="tableList"></table-list>
</div>
......
......@@ -5,7 +5,7 @@
</div>
<Tap :tapParam="tapParam" @tapParam="tapIndexs"></Tap>
<div class="con-box" v-if="affairId">
<component :is="currentComponent" :affairId="affairId"></component>
<component :is="currentComponent" :affairId="affairId" :hasAdd="hasAdd"></component>
</div>
</div>
</template>
......@@ -64,6 +64,9 @@ export default {
affairId() {
return this.active ? this.active.id : ''
},
hasAdd() {
return this.active ? this.active.close !== '1' : false
},
currentComponent() {
const components = {
symposium: 'ActivityList',
......
<template>
<div>
<el-button type="primary" @click="handleAdd">申请电子成绩单</el-button>
<el-button type="primary" @click="handleAdd" v-if="hasAdd">申请电子成绩单</el-button>
<div style="height: 20px"></div>
<table-list :remote="remote" :columns="columns" ref="tableList"></table-list>
</div>
......
......@@ -111,9 +111,9 @@ export default {
email: [{ required: true, message: '请输入邮寄地址', trigger: 'blur' }]
},
productList: [
{ label: '1份—¥126元', value: '1', product_id: '6747325185390542848' },
{ label: '2份—¥201元', value: '2', product_id: '6747325279879823360' },
{ label: '3份—¥276元', value: '3', product_id: '6747325351686307840' }
{ label: '1份—¥127元', value: '1', product_id: '6747325185390542848' },
{ label: '2份—¥203元', value: '2', product_id: '6747325279879823360' },
{ label: '3份—¥278元', value: '3', product_id: '6747325351686307840' }
],
payVisible: false
}
......
<template>
<div>
<el-button type="primary" @click="handleAdd">申请纸质成绩单</el-button>
<el-button type="primary" @click="handleAdd" v-if="hasAdd">申请纸质成绩单</el-button>
<div style="height: 20px"></div>
<table-list :remote="remote" :columns="columns" ref="tableList"></table-list>
</div>
......
<template>
<div>
<el-button type="primary" @click="handleAdd">申请重修</el-button>
<el-button type="primary" @click="handleAdd" v-if="hasAdd">申请重修</el-button>
<div style="height: 20px"></div>
<table-list :remote="remote" :columns="columns" ref="tableList"></table-list>
</div>
......
<template>
<div>
<el-button type="primary" @click="handleAdd">申请新乐分享</el-button>
<el-button type="primary" @click="handleAdd" v-if="hasAdd">申请新乐分享</el-button>
<div style="height: 20px"></div>
<table-list :remote="remote" :columns="columns" ref="tableList"></table-list>
</div>
......
<template>
<div>
<el-button type="primary" @click="handleAdd">申请复学</el-button>
<el-button type="primary" @click="handleAdd" v-if="hasAdd">申请复学</el-button>
<div style="height: 20px"></div>
<table-list :remote="remote" :columns="columns" ref="tableList"></table-list>
</div>
......
<template>
<div>
<el-button type="primary" @click="handleAdd">申请休学</el-button>
<el-button type="primary" @click="handleAdd" v-if="hasAdd">申请休学</el-button>
<div style="height: 20px"></div>
<table-list :remote="remote" :columns="columns" ref="tableList"></table-list>
</div>
......
......@@ -5,7 +5,7 @@
<el-step :title="$t('viewerWork.workStep1')" status="process">
<template v-slot:description>
<div v-html="data.curriculum.curriculum_essay"></div>
<p>{{ $t('viewerWork.workDeadline') }}{{ data.end_date }}</p>
<p>{{ $t('viewerWork.workDeadline') }}{{ data.essay_date }}</p>
</template>
</el-step>
<el-step :title="$t('viewerWork.workStep2')" status="process">
......@@ -40,7 +40,7 @@
</template>
</el-step>
<el-step :title="$t('viewerWork.workStep3')" status="process">
<template #title>{{ $t('viewerWork.workStep3') }}{{ data.end_date }}</p></template>
<template #title>{{ $t('viewerWork.workStep3') }}{{ data.essay_date }}</p></template>
<template v-slot:description>
<div class="work-bottom" v-if="detail">
<div class="info">
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论