Parcourir la source

1.增加导入其他模板项目
2.增加从excel导入模板项目

yanliming il y a 3 mois
Parent
commit
6443cd07f2
1 fichiers modifiés avec 9 ajouts et 1 suppressions
  1. 9 1
      src/api/base/templateOption.js

+ 9 - 1
src/api/base/templateOption.js

@@ -91,7 +91,15 @@ function batchRemove(idList) {
   });
 }
 
+function copyOptionList(formData) {
+  return request.post(constant.serverUrl + "/base/templateOption/copyOptionList", formData);
+}
+
+
+
+
+
 export default {
   pageList, create, edit, add, update, remove, batchRemove,templateDepartmentEdit,departmentDetailEdit,
-  updateItem,createFundIncome,addAndFundIncome,editItem,updateNameAndFundIncome
+  updateItem,createFundIncome,addAndFundIncome,editItem,updateNameAndFundIncome,copyOptionList
 }