Commit d00d03f9 by songchangcheng

修正代码合并后地址请求问题

1 parent 18c5805e
......@@ -160,11 +160,11 @@ export function getJiShuZhengCeJieGouHuaTable(params) {
}
// 技术政策结构化-新增
export function addJiShuZhengCeJieGouHuaTable(params) {
return post('/kl-tech-policy/adKlTechPolicy', params);
return post('/kl-tech-policy/add', params);
}
// 技术政策结构化-编辑,删除,启用,停用
export function editJiShuZhengCeJieGouHuaTable(params) {
return post('/kl-tech-policy/updKlTechPolicy', params);
return post('/kl-tech-policy/upd', params);
}
// 典型案例库管理-所有下拉值
export function getDianXingAnLiSelectData(params) {
......@@ -261,7 +261,7 @@ export function getDocPoolAdd(params) {
}
// 技术政策结构化,批量删除
export function deleteAllJiShuZhengCeJieGouHua(params) {
return post('/kl-tech-policy/updKlTechPolicyBatch', params);
return post('/kl-tech-policy/upd-batch', params);
}
// 报告模版结构化,批量删除
export function deleteAllBaoGaoMoBanJieGouHua(params) {
......
......@@ -400,7 +400,7 @@ export default {
getViewNameList().then(res => {
if (res.code == 200) {
let arr = JSON.parse(res.msg);
let viewStr = arr[0].viewName;
let viewStr = arr && arr[0]? arr[0].viewName:'';
this.viewNameList = viewStr.split(",");
}
});
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!