提交 79fff021 编写于 作者: haochangdi's avatar haochangdi

修复未加入机构提示和获取发起机构字段

上级 90c57c70
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
width="600px" width="600px"
center> center>
<p style="text-align: center;">{{dialogObj.message}}</p> <p style="text-align: center;">{{dialogObj.message}}</p>
<p class="tip" v-if="dialogObj.tip">{{dialogObj.tip}}</p>
<span slot="footer" class="dialog-footer"> <span slot="footer" class="dialog-footer">
<el-button @click="confirm" v-if="dialogObj.confirmMsg">{{dialogObj.confirmMsg}}</el-button> <el-button @click="confirm" v-if="dialogObj.confirmMsg">{{dialogObj.confirmMsg}}</el-button>
<el-button type="primary" @click="hide" v-if="dialogObj.hideMsg">{{dialogObj.hideMsg}}</el-button> <el-button type="primary" @click="hide" v-if="dialogObj.hideMsg">{{dialogObj.hideMsg}}</el-button>
...@@ -43,4 +44,9 @@ export default { ...@@ -43,4 +44,9 @@ export default {
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.tip {
margin-top: 20px;
text-align: center;
color: #C0C0C0;
}
</style> </style>
...@@ -41,6 +41,7 @@ ...@@ -41,6 +41,7 @@
<img @click="deleteOrg(index)" v-if="index >= 1 && isPreview!=1" class="edit-img" src="../../../assets/image/trash.png" /> <img @click="deleteOrg(index)" v-if="index >= 1 && isPreview!=1" class="edit-img" src="../../../assets/image/trash.png" />
</el-col> </el-col>
<el-popover <el-popover
v-if="formData.creatorOrganizationName"
class="popover-content" :style="{'top': orgListIndex * 41 + 'px'}" class="popover-content" :style="{'top': orgListIndex * 41 + 'px'}"
placement="bottom" placement="bottom"
:content="organizationContent" :content="organizationContent"
...@@ -341,6 +342,7 @@ export default { ...@@ -341,6 +342,7 @@ export default {
dialogObj: { dialogObj: {
visible: false, visible: false,
title: '该项目模版已下架', title: '该项目模版已下架',
tip: '',
message: '模版已下架,请重新选择其他项目模版', message: '模版已下架,请重新选择其他项目模版',
confirmMsg: '取消', confirmMsg: '取消',
hideMsg: '重新选择' hideMsg: '重新选择'
...@@ -388,6 +390,8 @@ export default { ...@@ -388,6 +390,8 @@ export default {
.then(res => { .then(res => {
closeLoading(vm); closeLoading(vm);
if (res.code == "000000") { if (res.code == "000000") {
let data = res.data;
data.projectData.organizationNameList = [data.projectData.creatorOrganizationName]
this.$emit('hideSave',res.data.projectData.projectStatus) this.$emit('hideSave',res.data.projectData.projectStatus)
vm.setBaseMessage(res.data); vm.setBaseMessage(res.data);
} else { } else {
......
...@@ -55,7 +55,7 @@ service.interceptors.request.use(config => { ...@@ -55,7 +55,7 @@ service.interceptors.request.use(config => {
if( process.env.BUILD_ENV == "development" ){ // 本地开发环境 if( process.env.BUILD_ENV == "development" ){ // 本地开发环境
// console.log('环境变量>>>> ', process.env.BUILD_ENV); // console.log('环境变量>>>> ', process.env.BUILD_ENV);
// config.headers['token'] = '29D71EAAB92E4580AFB16A8011BE7206'; // config.headers['token'] = '29D71EAAB92E4580AFB16A8011BE7206';
config.headers['token'] = '20A318FC22CA4539BBBF73D50B8ECC45'; config.headers['token'] = 'AD54CD17A280499EB8DDA0F1318AEF8D';
// config.headers['token'] = localStorage.getItem('storageToken') // config.headers['token'] = localStorage.getItem('storageToken')
}else{ }else{
config.headers['token'] = localStorage.getItem('storageToken') config.headers['token'] = localStorage.getItem('storageToken')
......
...@@ -92,22 +92,26 @@ export default { ...@@ -92,22 +92,26 @@ export default {
visible: false, visible: false,
title: '', title: '',
message: '', message: '',
tip: '',
hideMsg: '' hideMsg: ''
}, },
statusObj: { statusObj: {
status_10: { status_10: {
title: '您暂未加入机构', title: '您暂未加入机构',
message: '请前往云鹊医App-个人中心完善机构信息,加入机构后,可创建项目', message: '请前往云鹊医APP-个人中心-我的资料-填写工作所属机构。加入机构后,可创建项目',
tip: '(如为新创建机构,请等待机构审核通过)',
hideMsg: '我知道了' hideMsg: '我知道了'
}, },
status_11: { status_11: {
title: '您创建的机构正在审核中', title: '您暂未加入机构',
message: '请前往云鹊医App-个人中心查看审核进度,审核通过后,可创建机构', message: '请前往云鹊医APP-个人中心-我的资料-填写工作所属机构。加入机构后,可创建项目',
tip: '(如为新创建机构,请等待机构审核通过)',
hideMsg: '我知道了' hideMsg: '我知道了'
}, },
status_12: { status_12: {
title: '您创建的机构审核不通过', title: '您暂未加入机构',
message: '请前往云鹊医App-个人中心查看原因,审核通过后,可创建机构', message: '请前往云鹊医APP-个人中心-我的资料-填写工作所属机构。加入机构后,可创建项目',
tip: '(如为新创建机构,请等待机构审核通过)',
hideMsg: '我知道了' hideMsg: '我知道了'
}, },
status_20: { status_20: {
...@@ -125,6 +129,7 @@ export default { ...@@ -125,6 +129,7 @@ export default {
visible: false, visible: false,
title: '确定发布吗?', title: '确定发布吗?',
message: '发布后,项目将进入审核中,待审核完成后学员可在云鹊医App上参加培训学习', message: '发布后,项目将进入审核中,待审核完成后学员可在云鹊医App上参加培训学习',
tip: '',
confirmMsg: '取消', confirmMsg: '取消',
hideMsg: '确定发布' hideMsg: '确定发布'
}, },
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册