From 3947c8a497ac1b08399cebd7b81ce387332fbba9 Mon Sep 17 00:00:00 2001
From: Your Name <123456>
Date: Thu, 01 Sep 2022 17:42:22 +0800
Subject: [PATCH] lct
---
src/api/sgyhpczl/troubleshooting.js | 70 ++++++++++++++++++++++++-----------
1 files changed, 48 insertions(+), 22 deletions(-)
diff --git a/src/api/sgyhpczl/troubleshooting.js b/src/api/sgyhpczl/troubleshooting.js
index 63bbf4a..faae69d 100644
--- a/src/api/sgyhpczl/troubleshooting.js
+++ b/src/api/sgyhpczl/troubleshooting.js
@@ -12,6 +12,10 @@
if(data.form.HOST!=null && data.form.HOST!=''){
arr.push({field:"HOST",value:data.form.HOST,type:'TXT'})
}
+ /*会议专业*/
+ if(data.form.CONFERENCE_PROFESSIONAL!=null && data.form.CONFERENCE_PROFESSIONAL!='' && data.form.CONFERENCE_PROFESSIONAL!='0'){
+ arr.push({field:"CONFERENCE_PROFESSIONAL",value:data.form.CONFERENCE_PROFESSIONAL,type:'OPT'})
+ }
/*召开时间*/
if(data.form.Conference_TimeStart!=null && data.form.Conference_TimeStart!='' && data.form.Conference_TimeEnd!=null && data.form.Conference_TimeEnd!=''){
arr.push({field:"Conference_Time",value:data.form.Conference_TimeStart+"至"+data.form.Conference_TimeEnd,type:'DAT'})
@@ -28,32 +32,54 @@
data
});
}
-//导出
-export function analogy_export_do(data) {
+//新增/编辑
+export function addOrEdit(data) {
return request({
- headers: {
+ headers:{
'token': getTokenAndVerify().token,
- 'verify': getTokenAndVerify().verify
+ 'verify':getTokenAndVerify().verify
},
- url: '/taboi/excel/analogy_export_do',
- method: 'POST',
- responseType: 'arraybuffer',
- data
- });
-}
-
-//添加/取消关注
-export function focus_do(data) {
- return request({
- headers: {
- 'token': getTokenAndVerify().token,
- 'verify': getTokenAndVerify().verify
- },
- url: '/taboi/danger/focus_do',
- method: 'POST',
+ url: "/taboi/conference/save_do",
contentType: "application/json",
+ method: 'POST',
data
});
}
-
-
+//删除
+export function del(data) {
+ return request({
+ headers:{
+ 'token': getTokenAndVerify().token,
+ 'verify':getTokenAndVerify().verify
+ },
+ url: "/taboi/conference/del_do?id=" + data,
+ contentType: "multipart/form-data",
+ method: 'POST'
+ });
+}
+//上报
+export function upload_do(data) {
+ return request({
+ headers:{
+ 'token': getTokenAndVerify().token,
+ 'verify':getTokenAndVerify().verify
+ },
+ url: "/taboi/conference/upload_do",
+ contentType: "multipart/form-data",
+ method: 'POST',
+ data
+ });
+}
+//撤销
+export function revoke(data) {
+ return request({
+ headers:{
+ 'token': getTokenAndVerify().token,
+ 'verify':getTokenAndVerify().verify
+ },
+ contentType: "multipart/form-data",
+ url: "/taboi/conference/revoke_do",
+ method: 'POST',
+ data
+ });
+}
--
Gitblit v1.9.2