提交 38db53a5 编写于 作者: 张磊's avatar 张磊

add tcm project'

上级 11195270
...@@ -2822,7 +2822,6 @@ export default { ...@@ -2822,7 +2822,6 @@ export default {
projectId: this.projectId, projectId: this.projectId,
administrativeId: "", administrativeId: "",
hospitalLevel: "", hospitalLevel: "",
hospitalLevel: "",
scope: this.getScope("administrative"), scope: this.getScope("administrative"),
pageNum: this.formOrganization.pageNum, pageNum: this.formOrganization.pageNum,
pageSize: this.formOrganization.pageSize pageSize: this.formOrganization.pageSize
......
...@@ -224,6 +224,7 @@ ...@@ -224,6 +224,7 @@
<el-radio :label="2">CME项目</el-radio> <el-radio :label="2">CME项目</el-radio>
<el-radio :label="3">开放模板</el-radio> <el-radio :label="3">开放模板</el-radio>
<el-radio :label="5">职称考试</el-radio> <el-radio :label="5">职称考试</el-radio>
<el-radio :label="6">中医项目</el-radio>
</el-radio-group> </el-radio-group>
<span slot="footer" class="dialog-footer"> <span slot="footer" class="dialog-footer">
<el-button @click="centerDialogVisible = false">取 消</el-button> <el-button @click="centerDialogVisible = false">取 消</el-button>
...@@ -295,7 +296,6 @@ export default { ...@@ -295,7 +296,6 @@ export default {
data() { data() {
return { return {
changeStatusVisible: false, changeStatusVisible: false,
currentRow: null,
currentType: 4, currentType: 4,
changeStatusConfig: { changeStatusConfig: {
title: "确认通过该项目模版审核吗?", title: "确认通过该项目模版审核吗?",
...@@ -460,6 +460,9 @@ export default { ...@@ -460,6 +460,9 @@ export default {
toPage(isPreview = 0) { toPage(isPreview = 0) {
this.$router.push("edit-manager?projectType=1&isPreview=" + isPreview); this.$router.push("edit-manager?projectType=1&isPreview=" + isPreview);
}, },
toTCMPage(isPreview = 0) {
this.$router.push("edit-manager?projectType=5&isPreview=" + isPreview);
},
toCmePage(isPreview = 0) { toCmePage(isPreview = 0) {
this.$router.push("edit-cme?projectType=2&isPreview=" + isPreview); this.$router.push("edit-cme?projectType=2&isPreview=" + isPreview);
}, },
...@@ -490,6 +493,8 @@ export default { ...@@ -490,6 +493,8 @@ export default {
this.toTemplatePage(); this.toTemplatePage();
} else if (this.newProjectType == 5) { } else if (this.newProjectType == 5) {
this.toProfessionalExamPage(); this.toProfessionalExamPage();
}else if (this.newProjectType == 6) {
this.toTCMPage();
} }
}, },
...@@ -505,16 +510,6 @@ export default { ...@@ -505,16 +510,6 @@ export default {
} }
}, },
// handleCreateProject(isPreview) {
// if (this.newProjectType == 1) { // 1 普通项目 2 CME项目
// this.toPage(isPreview);
// } else if (this.newProjectType == 2) {
// this.toCmePage(isPreview);
// } else if(this.newProjectType == 3) {
// this.toTemplatePage(isPreview);
// }
// },
hanldeCmeClick(row) { hanldeCmeClick(row) {
this.currentRow = row; this.currentRow = row;
let status = row.projectStatus; let status = row.projectStatus;
...@@ -661,13 +656,10 @@ export default { ...@@ -661,13 +656,10 @@ export default {
return text; return text;
// return true / false; // return true / false;
}, },
changeStatusPre() { changeStatusPre() {
this.changeStatus(this.currentRow, this.currentType); this.changeStatus(this.currentRow, this.currentType);
this.changeStatusVisible = false; this.changeStatusVisible = false;
}, },
//
changeStatusForSP(row, type) { changeStatusForSP(row, type) {
this.currentRow = row; this.currentRow = row;
this.currentType = type; this.currentType = type;
...@@ -681,7 +673,6 @@ export default { ...@@ -681,7 +673,6 @@ export default {
} }
this.changeStatusVisible = true; this.changeStatusVisible = true;
}, },
//改变状态 //改变状态
changeStatus(row, type) { changeStatus(row, type) {
let projectId = row.id; let projectId = row.id;
...@@ -799,9 +790,6 @@ export default { ...@@ -799,9 +790,6 @@ export default {
this.deleteVisible = true; this.deleteVisible = true;
this.currentRow = row; this.currentRow = row;
}, },
hideDeleteFrom() {
this.deleteVisible = false;
},
// 删除项目 // 删除项目
confirmDelete() { confirmDelete() {
let req = {}; let req = {};
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册