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

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

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