|
@@ -384,6 +384,7 @@ export const changeTitleAsyncAdmin = (obj) => { //改标题
|
|
|
dispatch(changeTitleAdmin(obj));
|
|
|
Notify.success('标题修改成功');
|
|
|
store.dispatch(changeVisible(false))
|
|
|
+ dispatch(getFloderListAll())
|
|
|
} else {
|
|
|
// console.log(data)
|
|
|
Notify.error(data.msg)
|
|
@@ -402,13 +403,15 @@ export const changeTitleAsync = (obj) => { //改标题
|
|
|
"hospitalId": state.hospitalId,
|
|
|
"id": obj.id,
|
|
|
"modeName": obj.title,
|
|
|
- "type": whichSign
|
|
|
+ "type": whichSign,
|
|
|
+ "spell": obj.spell
|
|
|
}).then((res) => {
|
|
|
let data = res.data;
|
|
|
if (data.code == 0) {
|
|
|
dispatch(changeTitle(obj));
|
|
|
Notify.success('标题修改成功');
|
|
|
store.dispatch(changeVisible(false))
|
|
|
+ store.dispatch(initCommonItemList(1,""))
|
|
|
} else {
|
|
|
// console.log(data)
|
|
|
Notify.error(data.msg)
|