提交 1f1d3555 编写于 作者: 张磊's avatar 张磊

add callback map

上级 38db53a5
...@@ -1741,13 +1741,19 @@ export default { ...@@ -1741,13 +1741,19 @@ export default {
if (option == "edit" || option == "storageEdit") { if (option == "edit" || option == "storageEdit") {
notifyData.notifyId = this.formData.notifyId; notifyData.notifyId = this.formData.notifyId;
} }
// 中医项目
const projectType = vm.getUrlSearch(window.location.href, "projectType");
console.log('--projectType', projectType);
if(projectType == 5){
projectModel.projectType = 5;
}
let postData = { let postData = {
projectModel: JSON.stringify(projectModel), projectModel: JSON.stringify(projectModel),
attachmentModel: JSON.stringify(attachmentModel), attachmentModel: JSON.stringify(attachmentModel),
attachmentPDFModel: JSON.stringify(attachmentPDFModel), attachmentPDFModel: JSON.stringify(attachmentPDFModel),
notifyData: JSON.stringify(notifyData) notifyData: JSON.stringify(notifyData)
}; };
//console.log(postData); console.log('JSON.stringify(projectModel)', projectModel, attachmentModel, attachmentPDFModel, notifyData);
openLoading(vm); openLoading(vm);
vm.POST("portal/portalInfo/insertOrUpdate", postData).then(res => { vm.POST("portal/portalInfo/insertOrUpdate", postData).then(res => {
closeLoading(vm); closeLoading(vm);
......
...@@ -213,7 +213,7 @@ ...@@ -213,7 +213,7 @@
<el-dialog <el-dialog
title="请选择项目类型" title="请选择项目类型"
:visible.sync="centerDialogVisible" :visible.sync="centerDialogVisible"
width="600px" width="750px"
:close-on-click-modal="false" :close-on-click-modal="false"
@close="handleTypeClose" @close="handleTypeClose"
center center
...@@ -675,14 +675,16 @@ export default { ...@@ -675,14 +675,16 @@ export default {
}, },
//改变状态 //改变状态
changeStatus(row, type) { changeStatus(row, type) {
console.log('--row', row);
let projectId = row.id; let projectId = row.id;
let level = row.level; let level = row.level;
if (type === 0) { if (type === 0) {
this.updateItemManager(this.formInline); this.updateItemManager(this.formInline);
//编辑 //编辑
if (row.projectType === 1) { if (row.projectType === 1 || row.projectType === 5 ) {
this.$router.push( this.$router.push(
"edit-manager?projectType=1&projectId=" + "edit-manager?projectType=" + row.projectType +"&projectId=" +
projectId + projectId +
"&level=" + "&level=" +
level + level +
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册