Commit f5cf67b8 by liuyong

Merge branch 'develop' of http://47.97.176.204:19000/wangwansu/iact_jiagou_drowio into develop

2 parents 5a539968 a4b76b27
......@@ -210,10 +210,22 @@ export function getETPManageAdd(params) {
export function getETPManageUpdate(params) {
return post('/kl-talent-pool/updKlTalentPool', params);
}
// 编辑专家人才库
// 删除专家人才库
export function getETPManageDel(params) {
return post('/kl-talent-pool/delKlTalentPool', params);
}
// 批量删除专家人才库
export function getETPManageDelBatch(params) {
return post('/kl-talent-pool/updKlTalentPoolBatch', params);
}
// 专家库名称下拉
export function getETPManagePoolName(params) {
return post('/kl-talent-pool/gtklPoolName', params);
}
// 新增专家库名称
export function getETPManagePoolNameAdd(params) {
return post('/kl-talent-pool/adklPoolName', params);
}
// 典型案例库管理
......
......@@ -261,7 +261,6 @@ export default {
if (this.formData.ktcId) {
// 编辑保存
getTypicalExampleUpdate(this.formData).then(res => {
console.log(this.formData,res);
if (res.code == 200) {
this.$message.success("保存成功");
this.add_dialog = false;
......@@ -280,7 +279,6 @@ export default {
this.getList();
}else{
this.add_dialog = false;
console.log(res);
this.$message.error(res.msg);
}
});
......@@ -361,9 +359,9 @@ export default {
},
handleFileUploadSuccess(res, file, fileList) {//文件上传
this.formData.fileId = res.data.fileId;
console.log(res);
console.log(file);
console.log(fileList);
// console.log(res);
// console.log(file);
// console.log(fileList);
},
getFileTypeSelect() {//案例类型下拉
......@@ -373,7 +371,6 @@ export default {
getDianXingAnLiSelectData(params).then(res => {
if(res.code == 200) {
this.selectData1 = res.data;
console.log(this.selectData1);
}
})
},
......
......@@ -306,11 +306,14 @@ export default {
this.add_dialog = true;
this.title = "编辑案例";
this.formData = item;
this.formData.tcType = String(this.formData.tcType);
this.formData.problemType = String(this.formData.problemType);
this.formData.prjType = String(this.formData.prjType);
this.formData.problemLevel = String(this.formData.problemLevel);
}else if (type == "create") {
if (this.formData.ktcId) {
// 编辑保存
getTypicalExampleUpdate(this.formData).then(res => {
console.log(this.formData,res);
if (res.code == 200) {
this.$message.success("保存成功");
this.add_dialog = false;
......
......@@ -242,7 +242,6 @@ export default {
if (this.formData.ktcId) {
// 编辑保存
getTypicalExampleUpdate(this.formData).then(res => {
console.log(this.formData,res);
if (res.code == 200) {
this.$message.success("保存成功");
this.add_dialog = false;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!