提交 f8302dfb 编写于 作者: 刘英杰's avatar 刘英杰

V20240919 附件预览方式,换成服务器上fileReader预览

上级 182c8086
流水线 #29368 已通过 ,包含阶段
in 48 second
import{u as e,a as s,p as t,g as o,b as r,c as n}from"./index-5iIji00-.js";import{u as a}from"./vue-router-D7VJKUVi.js";import{a0 as u,z as c,D as l,E as p,aj as i,o as m,V as d}from"./vant-9Jajd0QU.js";import"./viewui-CuWbutFq.js";import"./axios-BylxcknJ.js";const f={style:{display:"flex","justify-content":"center","margin-top":"50%"}},y={__name:"SSO",setup(y){const v=e();s();const j=a();function k(){n().then((e=>{e.response.role.some((e=>"管理员"===e.role_name))?v.setUserCurrentRole(e.response.role[e.response.role.findIndex((e=>"管理员"===e.role_name))]):v.setUserCurrentRole(e.response.role[0]),v.setUserInfo({...e.response}),j.replace({name:"welcome"})}))}function R(){j.replace({name:"403"})}return u((()=>{(async()=>{({wx:()=>{(void 0)({token:j.currentRoute.value.query.token}).then((e=>{1!==e.code?R():(v.setToken(e.response),k())}))},asc:async()=>{t({token:j.currentRoute.value.query.token}).then((e=>{1!==e.code?R():(v.setToken(e.response),k())}))},first:()=>{let e={sign:j.currentRoute.value.query.sign,code:j.currentRoute.value.query.code,timestamp:j.currentRoute.value.query.timestamp};o(e).then((e=>{1!==e.code?R():(v.setToken(e.response),k())}))},test:()=>{r({name:"syjs295"}).then((e=>{1!==e.code?R():(v.setToken(e.response),k())}))}})[j.currentRoute.value.query.type]()})()})),(e,s)=>{const t=i;return m(),c("div",f,[l(t,{size:"38px",color:"#1989fa",vertical:""},{default:p((()=>[d(" 登录中")])),_:1})])}}};export{y as default}; import{u as e,a as s,p as t,g as o,b as r,c as n}from"./index-Cv8A0x_b.js";import{u as a}from"./vue-router-D7VJKUVi.js";import{a0 as u,z as c,D as l,E as p,aj as i,o as m,V as d}from"./vant-9Jajd0QU.js";import"./viewui-CuWbutFq.js";import"./axios-BylxcknJ.js";const f={style:{display:"flex","justify-content":"center","margin-top":"50%"}},y={__name:"SSO",setup(y){const v=e();s();const j=a();function k(){n().then((e=>{e.response.role.some((e=>"管理员"===e.role_name))?v.setUserCurrentRole(e.response.role[e.response.role.findIndex((e=>"管理员"===e.role_name))]):v.setUserCurrentRole(e.response.role[0]),v.setUserInfo({...e.response}),j.replace({name:"welcome"})}))}function R(){j.replace({name:"403"})}return u((()=>{(async()=>{({wx:()=>{(void 0)({token:j.currentRoute.value.query.token}).then((e=>{1!==e.code?R():(v.setToken(e.response),k())}))},asc:async()=>{t({token:j.currentRoute.value.query.token}).then((e=>{1!==e.code?R():(v.setToken(e.response),k())}))},first:()=>{let e={sign:j.currentRoute.value.query.sign,code:j.currentRoute.value.query.code,timestamp:j.currentRoute.value.query.timestamp};o(e).then((e=>{1!==e.code?R():(v.setToken(e.response),k())}))},test:()=>{r({name:"syjs295"}).then((e=>{1!==e.code?R():(v.setToken(e.response),k())}))}})[j.currentRoute.value.query.type]()})()})),(e,s)=>{const t=i;return m(),c("div",f,[l(t,{size:"38px",color:"#1989fa",vertical:""},{default:p((()=>[d(" 登录中")])),_:1})])}}};export{y as default};
import{u as e,a as t,p as o,g as a,b as r,c as s,d as n}from"./index-5iIji00-.js";import{u as i}from"./vue-router-D7VJKUVi.js";import{r as l,a0 as u,z as p,D as c,E as d,aj as f,o as m,V as y,Q as v}from"./vant-9Jajd0QU.js";import"./viewui-CuWbutFq.js";import"./axios-BylxcknJ.js";const D={style:{display:"flex","justify-content":"center","margin-top":"50%"}},w={__name:"SSOInfo",setup(w){const h=e();t();const g=i(),_=l({formData:{}});function q(){s().then((e=>{e.response.role.some((e=>"管理员"===e.role_name))?h.setUserCurrentRole(e.response.role[e.response.role.findIndex((e=>"管理员"===e.role_name))]):h.setUserCurrentRole(e.response.role[0]),h.setUserInfo({...e.response}),function(){const e={101:"/eventCatalogDetails",112:"/eventCatalogDetails",113:"/eventCatalogDetails",114:"/eventCatalogDetails",102:"/competitionApplyDetails",110:"/competitionApplyDetails",103:"/achievementDeclaration",111:"/achievementDeclaration",106:"/awardApplicationDetails",107:"/awardApplicationDetails"};let t=_.formData;n({runid:_.formData.runid}).then((o=>{if(1!==o.code)g.replace({name:"403"});else{let a=""!==o.response.todo?JSON.parse(o.response.todo):[],r=""!==o.response.partcipant?JSON.parse(o.response.partcipant):[],s=h.getUserInfo().card_number;a.includes(s)?g.replace({path:e[_.formData.flowid],query:{runid:t.runid,flowid:t.flowid,flowType:"await",form_id:t.form_id,pushMessage:!0}}):r.includes(s)?g.replace({path:e[_.formData.flowid],query:{runid:t.runid,flowid:t.flowid,flowType:"info",form_id:t.form_id,pushMessage:!0}}):(v("该流程您无权跳转"),R())}}))}()}))}function R(){g.replace({name:"403"})}return u((()=>{_.formData=g.currentRoute.value.query,(async()=>{({wx:()=>{(void 0)({token:g.currentRoute.value.query.token}).then((e=>{1!==e.code?R():(h.setToken(e.response),q())}))},asc:async()=>{o({token:g.currentRoute.value.query.token}).then((e=>{1!==e.code?R():(h.setToken(e.response),q())}))},first:()=>{let e={sign:g.currentRoute.value.query.sign,code:g.currentRoute.value.query.code,timestamp:g.currentRoute.value.query.timestamp};a(e).then((e=>{1!==e.code?R():(h.setToken(e.response),q())}))},test:()=>{r({card:"syjs295"}).then((e=>{1!==e.code?R():(h.setToken(e.response),q())}))}})[g.currentRoute.value.query.type]()})()})),(e,t)=>{const o=f;return m(),p("div",D,[c(o,{color:"#1989fa",size:"38px",vertical:""},{default:d((()=>[y(" 登录中")])),_:1})])}}};export{w as default}; import{u as e,a as t,p as o,g as a,b as r,c as s,d as n}from"./index-Cv8A0x_b.js";import{u as i}from"./vue-router-D7VJKUVi.js";import{r as l,a0 as u,z as p,D as c,E as d,aj as f,o as m,V as y,Q as v}from"./vant-9Jajd0QU.js";import"./viewui-CuWbutFq.js";import"./axios-BylxcknJ.js";const D={style:{display:"flex","justify-content":"center","margin-top":"50%"}},w={__name:"SSOInfo",setup(w){const h=e();t();const g=i(),_=l({formData:{}});function q(){s().then((e=>{e.response.role.some((e=>"管理员"===e.role_name))?h.setUserCurrentRole(e.response.role[e.response.role.findIndex((e=>"管理员"===e.role_name))]):h.setUserCurrentRole(e.response.role[0]),h.setUserInfo({...e.response}),function(){const e={101:"/eventCatalogDetails",112:"/eventCatalogDetails",113:"/eventCatalogDetails",114:"/eventCatalogDetails",102:"/competitionApplyDetails",110:"/competitionApplyDetails",103:"/achievementDeclaration",111:"/achievementDeclaration",106:"/awardApplicationDetails",107:"/awardApplicationDetails"};let t=_.formData;n({runid:_.formData.runid}).then((o=>{if(1!==o.code)g.replace({name:"403"});else{let a=""!==o.response.todo?JSON.parse(o.response.todo):[],r=""!==o.response.partcipant?JSON.parse(o.response.partcipant):[],s=h.getUserInfo().card_number;a.includes(s)?g.replace({path:e[_.formData.flowid],query:{runid:t.runid,flowid:t.flowid,flowType:"await",form_id:t.form_id,pushMessage:!0}}):r.includes(s)?g.replace({path:e[_.formData.flowid],query:{runid:t.runid,flowid:t.flowid,flowType:"info",form_id:t.form_id,pushMessage:!0}}):(v("该流程您无权跳转"),R())}}))}()}))}function R(){g.replace({name:"403"})}return u((()=>{_.formData=g.currentRoute.value.query,(async()=>{({wx:()=>{(void 0)({token:g.currentRoute.value.query.token}).then((e=>{1!==e.code?R():(h.setToken(e.response),q())}))},asc:async()=>{o({token:g.currentRoute.value.query.token}).then((e=>{1!==e.code?R():(h.setToken(e.response),q())}))},first:()=>{let e={sign:g.currentRoute.value.query.sign,code:g.currentRoute.value.query.code,timestamp:g.currentRoute.value.query.timestamp};a(e).then((e=>{1!==e.code?R():(h.setToken(e.response),q())}))},test:()=>{r({card:"syjs295"}).then((e=>{1!==e.code?R():(h.setToken(e.response),q())}))}})[g.currentRoute.value.query.type]()})()})),(e,t)=>{const o=f;return m(),p("div",D,[c(o,{color:"#1989fa",size:"38px",vertical:""},{default:d((()=>[y(" 登录中")])),_:1})])}}};export{w as default};
import{m as e,d as t,aB as a}from"./index-5iIji00-.js";import{u as o}from"./formInfo-C3VrisMq.js";import{b as r,B as s,r as l,a0 as p,o as i,z as n,D as m,aD as u}from"./vant-9Jajd0QU.js";import"./vue-router-D7VJKUVi.js";import"./viewui-CuWbutFq.js";import"./axios-BylxcknJ.js";const c={__name:"activityData",props:{runid:{type:String},flowid:{type:String},flowType:{type:String},showButton:{type:Boolean}},emits:["getInitObject"],setup(c,{emit:f}){const b=c,y=o();r({x:0,y:400}),s().appContext.config.globalProperties;const v=l({info:{},key:{show:!1,src:""},data:{keys:[],respObject:{},values:[]},array:[]});return p((()=>{e((()=>t({runid:b.runid}).then((e=>{let t=e.response.competition_report?e.response.competition_report:e.response.report_temp_update;y.setFormData(e.response),v.array=[{label:"赛事名称",value:t.competitionname,mt:"10px"},{label:"赛事编号",value:t.report_code},{label:"赛项名称",value:t.competitionsubitem_name},{label:"批次",value:t.competitionbatch_name,mt:"10px"},{label:"主办单位",value:t.sponsor},{label:"院系",value:t.dept},{label:"赛事级别",value:t.competition_level_name},{label:"赛事类别",value:t.competition_type_name},{label:"附件",files:e.response.file_list,mt:"10px"}]}))),!0,"加载中...")})),(e,t)=>{const o=a;return i(),n("div",{class:u([""+("await"===b.flowType?"h-[calc(100%-64px)]":"h-full"),"w-full h-full flex content-start flex-wrap bg-[#F5F6F8]"])},[m(o,{array:v.array},null,8,["array"])],2)}}};export{c as default}; import{m as e,d as t,aB as a}from"./index-Cv8A0x_b.js";import{u as o}from"./formInfo-CrNxjLWe.js";import{b as r,B as s,r as l,a0 as p,o as i,z as n,D as m,aD as u}from"./vant-9Jajd0QU.js";import"./vue-router-D7VJKUVi.js";import"./viewui-CuWbutFq.js";import"./axios-BylxcknJ.js";const c={__name:"activityData",props:{runid:{type:String},flowid:{type:String},flowType:{type:String},showButton:{type:Boolean}},emits:["getInitObject"],setup(c,{emit:f}){const b=c,y=o();r({x:0,y:400}),s().appContext.config.globalProperties;const v=l({info:{},key:{show:!1,src:""},data:{keys:[],respObject:{},values:[]},array:[]});return p((()=>{e((()=>t({runid:b.runid}).then((e=>{let t=e.response.competition_report?e.response.competition_report:e.response.report_temp_update;y.setFormData(e.response),v.array=[{label:"赛事名称",value:t.competitionname,mt:"10px"},{label:"赛事编号",value:t.report_code},{label:"赛项名称",value:t.competitionsubitem_name},{label:"批次",value:t.competitionbatch_name,mt:"10px"},{label:"主办单位",value:t.sponsor},{label:"院系",value:t.dept},{label:"赛事级别",value:t.competition_level_name},{label:"赛事类别",value:t.competition_type_name},{label:"附件",files:e.response.file_list,mt:"10px"}]}))),!0,"加载中...")})),(e,t)=>{const o=a;return i(),n("div",{class:u([""+("await"===b.flowType?"h-[calc(100%-64px)]":"h-full"),"w-full h-full flex content-start flex-wrap bg-[#F5F6F8]"])},[m(o,{array:v.array},null,8,["array"])],2)}}};export{c as default};
import{m as e,ai as a,C as t,aB as l}from"./index-5iIji00-.js";import{u as o}from"./formInfo-C3VrisMq.js";import{b as s,B as r,r as i,a0 as p,o as n,z as m,D as u,aD as v}from"./vant-9Jajd0QU.js";import"./vue-router-D7VJKUVi.js";import"./viewui-CuWbutFq.js";import"./axios-BylxcknJ.js";const b={__name:"activityData",props:{runid:{type:String},flowid:{type:String},flowType:{type:String},showButton:{type:Boolean}},emits:["getInitObject"],setup(b,{emit:c}){const f=b,y=o();s({x:0,y:400}),r().appContext.config.globalProperties;const x=i({info:{},key:{show:!1,src:""},data:{keys:[],respObject:{},values:[]},array:[]});return p((()=>{e((()=>a({id:f.runid}).then((e=>{let a=e.response;y.setFormData(e.response),x.array=[{label:"赛事名称",value:a.competitionname,mt:"10px"},{label:"赛事编号",value:a.report_code},{label:"赛项名称",value:a.competitionsubitem_name},{label:"主办单位",value:a.sponsor,mt:"10px"},{label:"赛事级别",value:a.competition_level_name},{label:"赛事类别",value:a.competition_type_name},{label:"竞赛形式",value:t.wayState[a.way]},{label:"比赛开始时间",value:a.begin_time,mt:"10px"},{label:"比赛结束时间",value:a.end_time},{label:"审批状态",value:t.approvalState[a.approval_state]},{label:"附件",files:e.response.files_list,mt:"10px"}]}))),!0,"加载中...")})),(e,a)=>{const t=l;return n(),m("div",{class:v([""+("await"===f.flowType?"h-[calc(100%-64px)]":"h-full"),"w-full h-full flex content-start flex-wrap bg-[#F5F6F8]"])},[u(t,{array:x.array},null,8,["array"])],2)}}};export{b as default}; import{m as e,ai as a,C as t,aB as l}from"./index-Cv8A0x_b.js";import{u as o}from"./formInfo-CrNxjLWe.js";import{b as s,B as r,r as i,a0 as p,o as n,z as m,D as u,aD as v}from"./vant-9Jajd0QU.js";import"./vue-router-D7VJKUVi.js";import"./viewui-CuWbutFq.js";import"./axios-BylxcknJ.js";const b={__name:"activityData",props:{runid:{type:String},flowid:{type:String},flowType:{type:String},showButton:{type:Boolean}},emits:["getInitObject"],setup(b,{emit:c}){const f=b,y=o();s({x:0,y:400}),r().appContext.config.globalProperties;const x=i({info:{},key:{show:!1,src:""},data:{keys:[],respObject:{},values:[]},array:[]});return p((()=>{e((()=>a({id:f.runid}).then((e=>{let a=e.response;y.setFormData(e.response),x.array=[{label:"赛事名称",value:a.competitionname,mt:"10px"},{label:"赛事编号",value:a.report_code},{label:"赛项名称",value:a.competitionsubitem_name},{label:"主办单位",value:a.sponsor,mt:"10px"},{label:"赛事级别",value:a.competition_level_name},{label:"赛事类别",value:a.competition_type_name},{label:"竞赛形式",value:t.wayState[a.way]},{label:"比赛开始时间",value:a.begin_time,mt:"10px"},{label:"比赛结束时间",value:a.end_time},{label:"审批状态",value:t.approvalState[a.approval_state]},{label:"附件",files:e.response.files_list,mt:"10px"}]}))),!0,"加载中...")})),(e,a)=>{const t=l;return n(),m("div",{class:v([""+("await"===f.flowType?"h-[calc(100%-64px)]":"h-full"),"w-full h-full flex content-start flex-wrap bg-[#F5F6F8]"])},[u(t,{array:x.array},null,8,["array"])],2)}}};export{b as default};
import{m as e,d as a,C as t,aB as l}from"./index-5iIji00-.js";import{u as o}from"./formInfo-C3VrisMq.js";import{b as r,B as s,r as i,a0 as n,o as p,z as m,D as u,aD as c}from"./vant-9Jajd0QU.js";import"./vue-router-D7VJKUVi.js";import"./viewui-CuWbutFq.js";import"./axios-BylxcknJ.js";const f={__name:"activityData",props:{runid:{type:String},flowid:{type:String},flowType:{type:String},showButton:{type:Boolean}},emits:["getInitObject"],setup(f,{emit:v}){const b=f,y=o();r({x:0,y:400}),s().appContext.config.globalProperties;const d=i({info:{},key:{show:!1,src:""},data:{keys:[],respObject:{},values:[]},array:[]});return n((()=>{e((()=>a({runid:b.runid}).then((e=>{let a=e.response.certificate;y.setFormData(e.response),d.array=[{label:"赛事名称",value:a.competitionname,mt:"10px"},{label:"赛事编号",value:a.report_code},{label:"赛项名称",value:a.competitionsubitem_name},{label:"主办单位",value:a.sponsor,mt:"10px"},{label:"赛事级别",value:a.competition_level_name},{label:"赛事类别",value:a.competition_type_name},{label:"竞赛形式",value:t.wayState[a.way]},{label:"比赛开始时间",value:a.begin_time,mt:"10px"},{label:"比赛结束时间",value:a.end_time},{label:"审批状态",value:t.approvalState[a.approval_state]},{label:"附件",files:e.response.file_list,mt:"10px"}]}))),!0,"加载中...")})),(e,a)=>{const t=l;return p(),m("div",{class:c([""+("await"===b.flowType?"h-[calc(100%-64px)]":"h-full"),"w-full h-full flex content-start flex-wrap bg-[#F5F6F8]"])},[u(t,{array:d.array},null,8,["array"])],2)}}};export{f as default}; import{m as e,d as a,C as t,aB as l}from"./index-Cv8A0x_b.js";import{u as o}from"./formInfo-CrNxjLWe.js";import{b as r,B as s,r as i,a0 as n,o as p,z as m,D as u,aD as c}from"./vant-9Jajd0QU.js";import"./vue-router-D7VJKUVi.js";import"./viewui-CuWbutFq.js";import"./axios-BylxcknJ.js";const f={__name:"activityData",props:{runid:{type:String},flowid:{type:String},flowType:{type:String},showButton:{type:Boolean}},emits:["getInitObject"],setup(f,{emit:v}){const b=f,y=o();r({x:0,y:400}),s().appContext.config.globalProperties;const d=i({info:{},key:{show:!1,src:""},data:{keys:[],respObject:{},values:[]},array:[]});return n((()=>{e((()=>a({runid:b.runid}).then((e=>{let a=e.response.certificate;y.setFormData(e.response),d.array=[{label:"赛事名称",value:a.competitionname,mt:"10px"},{label:"赛事编号",value:a.report_code},{label:"赛项名称",value:a.competitionsubitem_name},{label:"主办单位",value:a.sponsor,mt:"10px"},{label:"赛事级别",value:a.competition_level_name},{label:"赛事类别",value:a.competition_type_name},{label:"竞赛形式",value:t.wayState[a.way]},{label:"比赛开始时间",value:a.begin_time,mt:"10px"},{label:"比赛结束时间",value:a.end_time},{label:"审批状态",value:t.approvalState[a.approval_state]},{label:"附件",files:e.response.file_list,mt:"10px"}]}))),!0,"加载中...")})),(e,a)=>{const t=l;return p(),m("div",{class:c([""+("await"===b.flowType?"h-[calc(100%-64px)]":"h-full"),"w-full h-full flex content-start flex-wrap bg-[#F5F6F8]"])},[u(t,{array:d.array},null,8,["array"])],2)}}};export{f as default};
import{m as e,d as a,C as l,aB as t}from"./index-5iIji00-.js";import{u as o}from"./formInfo-C3VrisMq.js";import{b as s,B as i,r,a0 as n,o as p,z as m,D as u,aD as b}from"./vant-9Jajd0QU.js";import"./vue-router-D7VJKUVi.js";import"./viewui-CuWbutFq.js";import"./axios-BylxcknJ.js";const v={__name:"activityData",props:{runid:{type:String},flowid:{type:String},flowType:{type:String},showButton:{type:Boolean}},emits:["getInitObject"],setup(v,{emit:c}){const y=v,_=o();s({x:0,y:400}),i().appContext.config.globalProperties;const f=r({info:{},key:{show:!1,src:""},data:{keys:[],respObject:{},values:[]},array:[]});return n((()=>{e((()=>a({runid:y.runid}).then((e=>{let a=e.response.competition_sign;_.setFormData(e.response),"102"===e.response.flowid?f.array=[{label:"赛事名称",value:a.competitionname,mt:"10px"},{label:"赛事编号",value:a.report_code},{label:"赛项名称",value:a.competitionsubitem_name},{label:"主办单位",value:a.sponsor,mt:"10px"},{label:"赛事级别",value:a.competition_level_name},{label:"赛事类别",value:a.competition_type_name},{label:"竞赛形式",value:l.wayState[a.way]},{label:"比赛开始时间",value:a.begin_time,mt:"10px"},{label:"比赛结束时间",value:a.end_time},{label:"经费预算",value:a.money,mt:"10px"},{label:"计划培训课时",value:a.class_hour},{label:"关联课程",value:a.course},{label:"是否邀请专家",value:l.specialistState[a.is_specialist]},{label:"附件",files:e.response.file_list,mt:"10px"}]:f.array=[{label:"赛事名称",value:a.competitionname,mt:"10px"},{label:"赛事编号",value:a.report_code},{label:"赛项名称",value:a.competitionsubitem_name},{label:"主办单位",value:a.sponsor,mt:"10px"},{label:"赛事级别",value:a.competition_level_name},{label:"赛事类别",value:a.competition_type_name},{label:"竞赛形式",value:l.wayState[a.way]},{label:"比赛开始时间",value:a.begin_time,mt:"10px"},{label:"比赛结束时间",value:a.end_time},{label:"经费预算",value:a.money,mt:"10px"},{label:"计划培训课时",value:a.class_hour},{label:"附件",files:e.response.file_list,mt:"10px"}]}))),!0,"加载中...")})),(e,a)=>{const l=t;return p(),m("div",{class:b([""+("await"===y.flowType?"h-[calc(100%-64px)]":"h-full"),"w-full h-full flex content-start flex-wrap bg-[#F5F6F8]"])},[u(l,{array:f.array},null,8,["array"])],2)}}};export{v as default}; import{m as e,d as a,C as l,aB as t}from"./index-Cv8A0x_b.js";import{u as o}from"./formInfo-CrNxjLWe.js";import{b as s,B as i,r,a0 as n,o as p,z as m,D as u,aD as b}from"./vant-9Jajd0QU.js";import"./vue-router-D7VJKUVi.js";import"./viewui-CuWbutFq.js";import"./axios-BylxcknJ.js";const v={__name:"activityData",props:{runid:{type:String},flowid:{type:String},flowType:{type:String},showButton:{type:Boolean}},emits:["getInitObject"],setup(v,{emit:c}){const y=v,_=o();s({x:0,y:400}),i().appContext.config.globalProperties;const f=r({info:{},key:{show:!1,src:""},data:{keys:[],respObject:{},values:[]},array:[]});return n((()=>{e((()=>a({runid:y.runid}).then((e=>{let a=e.response.competition_sign;_.setFormData(e.response),"102"===e.response.flowid?f.array=[{label:"赛事名称",value:a.competitionname,mt:"10px"},{label:"赛事编号",value:a.report_code},{label:"赛项名称",value:a.competitionsubitem_name},{label:"主办单位",value:a.sponsor,mt:"10px"},{label:"赛事级别",value:a.competition_level_name},{label:"赛事类别",value:a.competition_type_name},{label:"竞赛形式",value:l.wayState[a.way]},{label:"比赛开始时间",value:a.begin_time,mt:"10px"},{label:"比赛结束时间",value:a.end_time},{label:"经费预算",value:a.money,mt:"10px"},{label:"计划培训课时",value:a.class_hour},{label:"关联课程",value:a.course},{label:"是否邀请专家",value:l.specialistState[a.is_specialist]},{label:"附件",files:e.response.file_list,mt:"10px"}]:f.array=[{label:"赛事名称",value:a.competitionname,mt:"10px"},{label:"赛事编号",value:a.report_code},{label:"赛项名称",value:a.competitionsubitem_name},{label:"主办单位",value:a.sponsor,mt:"10px"},{label:"赛事级别",value:a.competition_level_name},{label:"赛事类别",value:a.competition_type_name},{label:"竞赛形式",value:l.wayState[a.way]},{label:"比赛开始时间",value:a.begin_time,mt:"10px"},{label:"比赛结束时间",value:a.end_time},{label:"经费预算",value:a.money,mt:"10px"},{label:"计划培训课时",value:a.class_hour},{label:"附件",files:e.response.file_list,mt:"10px"}]}))),!0,"加载中...")})),(e,a)=>{const l=t;return p(),m("div",{class:b([""+("await"===y.flowType?"h-[calc(100%-64px)]":"h-full"),"w-full h-full flex content-start flex-wrap bg-[#F5F6F8]"])},[u(l,{array:f.array},null,8,["array"])],2)}}};export{v as default};
import{m as e,ao as a,C as t,aB as l}from"./index-5iIji00-.js";import{u as o}from"./formInfo-C3VrisMq.js";import{b as s,B as r,r as i,a0 as n,o as p,z as m,D as u,aD as b}from"./vant-9Jajd0QU.js";import"./vue-router-D7VJKUVi.js";import"./viewui-CuWbutFq.js";import"./axios-BylxcknJ.js";const v={__name:"activityData",props:{runid:{type:String},flowid:{type:String},flowType:{type:String},showButton:{type:Boolean}},emits:["getInitObject"],setup(v,{emit:c}){const f=v,y=o();s({x:0,y:400}),r().appContext.config.globalProperties;const _=i({info:{},key:{show:!1,src:""},data:{keys:[],respObject:{},values:[]},array:[]});return n((()=>{e((()=>a({id:f.runid}).then((e=>{let a=e.response;y.setFormData(e.response),_.array=[{label:"赛事名称",value:a.competitionname,mt:"10px"},{label:"赛事编号",value:a.report_code},{label:"赛项名称",value:a.competitionsubitem_name},{label:"主办单位",value:a.sponsor,mt:"10px"},{label:"赛事级别",value:a.competition_level_name},{label:"赛事类别",value:a.competition_type_name},{label:"竞赛形式",value:t.wayState[a.way]},{label:"比赛开始时间",value:a.begin_time,mt:"10px"},{label:"比赛结束时间",value:a.end_time},{label:"奖金总金额",value:a.bonus_total},{label:"审批状态",value:t.approvalState[a.approval_state]},{label:"附件",files:e.response.files_list,mt:"10px"}]}))),!0,"加载中...")})),(e,a)=>{const t=l;return p(),m("div",{class:b([""+("await"===f.flowType?"h-[calc(100%-64px)]":"h-full"),"w-full h-full flex content-start flex-wrap bg-[#F5F6F8]"])},[u(t,{array:_.array},null,8,["array"])],2)}}};export{v as default}; import{m as e,ao as a,C as t,aB as l}from"./index-Cv8A0x_b.js";import{u as o}from"./formInfo-CrNxjLWe.js";import{b as s,B as r,r as i,a0 as n,o as p,z as m,D as u,aD as b}from"./vant-9Jajd0QU.js";import"./vue-router-D7VJKUVi.js";import"./viewui-CuWbutFq.js";import"./axios-BylxcknJ.js";const v={__name:"activityData",props:{runid:{type:String},flowid:{type:String},flowType:{type:String},showButton:{type:Boolean}},emits:["getInitObject"],setup(v,{emit:c}){const f=v,y=o();s({x:0,y:400}),r().appContext.config.globalProperties;const _=i({info:{},key:{show:!1,src:""},data:{keys:[],respObject:{},values:[]},array:[]});return n((()=>{e((()=>a({id:f.runid}).then((e=>{let a=e.response;y.setFormData(e.response),_.array=[{label:"赛事名称",value:a.competitionname,mt:"10px"},{label:"赛事编号",value:a.report_code},{label:"赛项名称",value:a.competitionsubitem_name},{label:"主办单位",value:a.sponsor,mt:"10px"},{label:"赛事级别",value:a.competition_level_name},{label:"赛事类别",value:a.competition_type_name},{label:"竞赛形式",value:t.wayState[a.way]},{label:"比赛开始时间",value:a.begin_time,mt:"10px"},{label:"比赛结束时间",value:a.end_time},{label:"奖金总金额",value:a.bonus_total},{label:"审批状态",value:t.approvalState[a.approval_state]},{label:"附件",files:e.response.files_list,mt:"10px"}]}))),!0,"加载中...")})),(e,a)=>{const t=l;return p(),m("div",{class:b([""+("await"===f.flowType?"h-[calc(100%-64px)]":"h-full"),"w-full h-full flex content-start flex-wrap bg-[#F5F6F8]"])},[u(t,{array:_.array},null,8,["array"])],2)}}};export{v as default};
import{m as e,ax as a,C as l,aB as t}from"./index-5iIji00-.js";import{u as o}from"./formInfo-C3VrisMq.js";import{b as s,B as i,r,a0 as n,o as p,z as m,D as u,aD as b}from"./vant-9Jajd0QU.js";import"./vue-router-D7VJKUVi.js";import"./viewui-CuWbutFq.js";import"./axios-BylxcknJ.js";const v={__name:"activityData",props:{runid:{type:String},competition_method:{type:String},flowType:{type:String},showButton:{type:Boolean}},emits:["getInitObject"],setup(v,{emit:c}){const _=v,y=o();s({x:0,y:400}),i().appContext.config.globalProperties;const f=r({info:{},key:{show:!1,src:""},data:{keys:[],respObject:{},values:[]},array:[]});return n((()=>{e((()=>a({id:_.runid}).then((e=>{let a=e.response;y.setFormData(e.response),"0"==e.response.competition_method?f.array=[{label:"赛事名称",value:a.competitionname,mt:"10px"},{label:"赛事编号",value:a.report_code},{label:"赛项名称",value:a.competitionsubitem_name},{label:"主办单位",value:a.sponsor,mt:"10px"},{label:"赛事级别",value:a.competition_level_name},{label:"赛事类别",value:a.competition_type_name},{label:"竞赛形式",value:l.wayState[a.way]},{label:"比赛开始时间",value:a.begin_time,mt:"10px"},{label:"比赛结束时间",value:a.end_time},{label:"经费预算",value:a.money,mt:"10px"},{label:"计划培训课时",value:a.class_hour},{label:"关联课程",value:a.course},{label:"是否邀请专家",value:l.specialistState[a.is_specialist]},{label:"附件",files:e.response.files_list,mt:"10px"}]:f.array=[{label:"赛事名称",value:a.competitionname,mt:"10px"},{label:"赛事编号",value:a.report_code},{label:"赛项名称",value:a.competitionsubitem_name},{label:"主办单位",value:a.sponsor,mt:"10px"},{label:"赛事级别",value:a.competition_level_name},{label:"赛事类别",value:a.competition_type_name},{label:"竞赛形式",value:l.wayState[a.way]},{label:"比赛开始时间",value:a.begin_time,mt:"10px"},{label:"比赛结束时间",value:a.end_time},{label:"经费预算",value:a.money,mt:"10px"},{label:"计划培训课时",value:a.class_hour},{label:"关联课程",value:a.course},{label:"附件",files:e.response.files_list,mt:"10px"}]}))),!0,"加载中...")})),(e,a)=>{const l=t;return p(),m("div",{class:b([""+("await"===_.flowType?"h-[calc(100%-64px)]":"h-full"),"w-full h-full flex content-start flex-wrap bg-[#F5F6F8]"])},[u(l,{array:f.array},null,8,["array"])],2)}}};export{v as default}; import{m as e,ax as a,C as l,aB as t}from"./index-Cv8A0x_b.js";import{u as o}from"./formInfo-CrNxjLWe.js";import{b as s,B as i,r,a0 as n,o as p,z as m,D as u,aD as b}from"./vant-9Jajd0QU.js";import"./vue-router-D7VJKUVi.js";import"./viewui-CuWbutFq.js";import"./axios-BylxcknJ.js";const v={__name:"activityData",props:{runid:{type:String},competition_method:{type:String},flowType:{type:String},showButton:{type:Boolean}},emits:["getInitObject"],setup(v,{emit:c}){const _=v,y=o();s({x:0,y:400}),i().appContext.config.globalProperties;const f=r({info:{},key:{show:!1,src:""},data:{keys:[],respObject:{},values:[]},array:[]});return n((()=>{e((()=>a({id:_.runid}).then((e=>{let a=e.response;y.setFormData(e.response),"0"==e.response.competition_method?f.array=[{label:"赛事名称",value:a.competitionname,mt:"10px"},{label:"赛事编号",value:a.report_code},{label:"赛项名称",value:a.competitionsubitem_name},{label:"主办单位",value:a.sponsor,mt:"10px"},{label:"赛事级别",value:a.competition_level_name},{label:"赛事类别",value:a.competition_type_name},{label:"竞赛形式",value:l.wayState[a.way]},{label:"比赛开始时间",value:a.begin_time,mt:"10px"},{label:"比赛结束时间",value:a.end_time},{label:"经费预算",value:a.money,mt:"10px"},{label:"计划培训课时",value:a.class_hour},{label:"关联课程",value:a.course},{label:"是否邀请专家",value:l.specialistState[a.is_specialist]},{label:"附件",files:e.response.files_list,mt:"10px"}]:f.array=[{label:"赛事名称",value:a.competitionname,mt:"10px"},{label:"赛事编号",value:a.report_code},{label:"赛项名称",value:a.competitionsubitem_name},{label:"主办单位",value:a.sponsor,mt:"10px"},{label:"赛事级别",value:a.competition_level_name},{label:"赛事类别",value:a.competition_type_name},{label:"竞赛形式",value:l.wayState[a.way]},{label:"比赛开始时间",value:a.begin_time,mt:"10px"},{label:"比赛结束时间",value:a.end_time},{label:"经费预算",value:a.money,mt:"10px"},{label:"计划培训课时",value:a.class_hour},{label:"关联课程",value:a.course},{label:"附件",files:e.response.files_list,mt:"10px"}]}))),!0,"加载中...")})),(e,a)=>{const l=t;return p(),m("div",{class:b([""+("await"===_.flowType?"h-[calc(100%-64px)]":"h-full"),"w-full h-full flex content-start flex-wrap bg-[#F5F6F8]"])},[u(l,{array:f.array},null,8,["array"])],2)}}};export{v as default};
import{m as e,d as a,C as t,aB as l}from"./index-5iIji00-.js";import{u as o}from"./formInfo-C3VrisMq.js";import{b as s,B as r,r as i,a0 as n,o as p,z as u,D as m,aD as b}from"./vant-9Jajd0QU.js";import"./vue-router-D7VJKUVi.js";import"./viewui-CuWbutFq.js";import"./axios-BylxcknJ.js";const v={__name:"activityData",props:{runid:{type:String},flowid:{type:String},flowType:{type:String},showButton:{type:Boolean}},emits:["getInitObject"],setup(v,{emit:c}){const f=v,y=o();s({x:0,y:400}),r().appContext.config.globalProperties;const _=i({info:{},key:{show:!1,src:""},data:{keys:[],respObject:{},values:[]},array:[]});return n((()=>{e((()=>a({runid:f.runid}).then((e=>{let a=e.response.bonus;y.setFormData(e.response),_.array=[{label:"赛事名称",value:a.competitionname,mt:"10px"},{label:"赛事编号",value:a.report_code},{label:"赛项名称",value:a.competitionsubitem_name},{label:"主办单位",value:a.sponsor,mt:"10px"},{label:"赛事级别",value:a.competition_level_name},{label:"赛事类别",value:a.competition_type_name},{label:"竞赛形式",value:t.wayState[a.way]},{label:"比赛开始时间",value:a.begin_time,mt:"10px"},{label:"比赛结束时间",value:a.end_time},{label:"奖金总金额",value:a.bonus_total},{label:"审批状态",value:t.approvalState[a.approval_state]},{label:"附件",files:e.response.file_list,mt:"10px"}]}))),!0,"加载中...")})),(e,a)=>{const t=l;return p(),u("div",{class:b([""+("await"===f.flowType?"h-[calc(100%-64px)]":"h-full"),"w-full h-full flex content-start flex-wrap bg-[#F5F6F8]"])},[m(t,{array:_.array},null,8,["array"])],2)}}};export{v as default}; import{m as e,d as a,C as t,aB as l}from"./index-Cv8A0x_b.js";import{u as o}from"./formInfo-CrNxjLWe.js";import{b as s,B as r,r as i,a0 as n,o as p,z as u,D as m,aD as b}from"./vant-9Jajd0QU.js";import"./vue-router-D7VJKUVi.js";import"./viewui-CuWbutFq.js";import"./axios-BylxcknJ.js";const v={__name:"activityData",props:{runid:{type:String},flowid:{type:String},flowType:{type:String},showButton:{type:Boolean}},emits:["getInitObject"],setup(v,{emit:c}){const f=v,y=o();s({x:0,y:400}),r().appContext.config.globalProperties;const _=i({info:{},key:{show:!1,src:""},data:{keys:[],respObject:{},values:[]},array:[]});return n((()=>{e((()=>a({runid:f.runid}).then((e=>{let a=e.response.bonus;y.setFormData(e.response),_.array=[{label:"赛事名称",value:a.competitionname,mt:"10px"},{label:"赛事编号",value:a.report_code},{label:"赛项名称",value:a.competitionsubitem_name},{label:"主办单位",value:a.sponsor,mt:"10px"},{label:"赛事级别",value:a.competition_level_name},{label:"赛事类别",value:a.competition_type_name},{label:"竞赛形式",value:t.wayState[a.way]},{label:"比赛开始时间",value:a.begin_time,mt:"10px"},{label:"比赛结束时间",value:a.end_time},{label:"奖金总金额",value:a.bonus_total},{label:"审批状态",value:t.approvalState[a.approval_state]},{label:"附件",files:e.response.file_list,mt:"10px"}]}))),!0,"加载中...")})),(e,a)=>{const t=l;return p(),u("div",{class:b([""+("await"===f.flowType?"h-[calc(100%-64px)]":"h-full"),"w-full h-full flex content-start flex-wrap bg-[#F5F6F8]"])},[m(t,{array:_.array},null,8,["array"])],2)}}};export{v as default};
import{_ as e,u as s,r as a,m as o,j as r}from"./index-5iIji00-.js";import"./seat-4ZgUykSM.js";import"./footerTabbar-CgcoRoVL.js";import{a0 as t,z as n,o as i,a4 as c,a5 as u,C as m}from"./vant-9Jajd0QU.js";import"./vue-router-D7VJKUVi.js";import"./viewui-CuWbutFq.js";import"./axios-BylxcknJ.js";const p={class:"container ccFlex"},d=[(e=>(c("data-v-e42d50e3"),e=e(),u(),e))((()=>m("div",{class:"im"},null,-1)))],v=e({__name:"downloadTransfer",setup(e){const c=s();return t((()=>{"micromessenger"!=window.navigator.userAgent.toLowerCase().match(/MicroMessenger/i)&&function(){c.tokenInfo.access_token.token_content=a.currentRoute.value.query.xxx;const e=JSON.parse(a.currentRoute.value.query.params);o((()=>(void 0)(e,{responseType:"blob"}).then((e=>(r(e),e)))),!0,"正在导出...")}()})),(e,s)=>(i(),n("div",p,d))}},[["__scopeId","data-v-e42d50e3"]]);export{v as default}; import{_ as e,u as s,r as a,m as o,j as r}from"./index-Cv8A0x_b.js";import"./seat-BKQKQq7W.js";import"./footerTabbar-3kMNGrtZ.js";import{a0 as t,z as n,o as i,a4 as c,a5 as u,C as m}from"./vant-9Jajd0QU.js";import"./vue-router-D7VJKUVi.js";import"./viewui-CuWbutFq.js";import"./axios-BylxcknJ.js";const p={class:"container ccFlex"},d=[(e=>(c("data-v-e42d50e3"),e=e(),u(),e))((()=>m("div",{class:"im"},null,-1)))],v=e({__name:"downloadTransfer",setup(e){const c=s();return t((()=>{"micromessenger"!=window.navigator.userAgent.toLowerCase().match(/MicroMessenger/i)&&function(){c.tokenInfo.access_token.token_content=a.currentRoute.value.query.xxx;const e=JSON.parse(a.currentRoute.value.query.params);o((()=>(void 0)(e,{responseType:"blob"}).then((e=>(r(e),e)))),!0,"正在导出...")}()})),(e,s)=>(i(),n("div",p,d))}},[["__scopeId","data-v-e42d50e3"]]);export{v as default};
import{E as e}from"./index-5iIji00-.js";const t=e({id:"competitionFooterTabbar",state:()=>({currentIndex:0}),actions:{resetCurrentIndex(){this.currentIndex=0},setCurrentIndex(e){this.currentIndex=e},getCurrentIndex(){return this.currentIndex}},getters:{},persist:{storage:sessionStorage,paths:["currentIndex"]}});export{t as u}; import{E as e}from"./index-Cv8A0x_b.js";const t=e({id:"competitionFooterTabbar",state:()=>({currentIndex:0}),actions:{resetCurrentIndex(){this.currentIndex=0},setCurrentIndex(e){this.currentIndex=e},getCurrentIndex(){return this.currentIndex}},getters:{},persist:{storage:sessionStorage,paths:["currentIndex"]}});export{t as u};
import{E as t}from"./index-5iIji00-.js";const a=t({id:"competitionFormInfo",state:()=>({formData:{}}),actions:{resetFormData(){this.formData={}},setFormData(t){this.formData=t},getFormData(){return this.formData}},getters:{},persist:{storage:sessionStorage,paths:["formData"]}});export{a as u}; import{E as t}from"./index-Cv8A0x_b.js";const a=t({id:"competitionFormInfo",state:()=>({formData:{}}),actions:{resetFormData(){this.formData={}},setFormData(t){this.formData=t},getFormData(){return this.formData}},getters:{},persist:{storage:sessionStorage,paths:["formData"]}});export{a as u};
import"./index-5iIji00-.js";/* empty css */import{u as t}from"./vue-router-D7VJKUVi.js";import{c as e}from"./index-tIL06ss9.js";import{a0 as o,z as r,D as i,Z as s,o as a,ai as n,ac as m}from"./vant-9Jajd0QU.js";import"./viewui-CuWbutFq.js";import"./axios-BylxcknJ.js";import"./index-C_JTZikD.js";const p={__name:"index",setup(e){t();const p=()=>{window.location.href="/TeacherMobOA"};return o((()=>{})),(t,e)=>{const o=n,c=m;return a(),r(s,null,[i(o,{"left-text":"返回","left-arrow":"",onClickLeft:p}),i(c,{style:{width:"100%",height:"100%"},image:"error",description:"异常"})],64)}}};export{p as default}; import"./index-Cv8A0x_b.js";/* empty css */import{u as t}from"./vue-router-D7VJKUVi.js";import{c as e}from"./index-D9DAQzIu.js";import{a0 as o,z as r,D as i,Z as s,o as a,ai as n,ac as m}from"./vant-9Jajd0QU.js";import"./viewui-CuWbutFq.js";import"./axios-BylxcknJ.js";import"./index-C_JTZikD.js";const p={__name:"index",setup(e){t();const p=()=>{window.location.href="/TeacherMobOA"};return o((()=>{})),(t,e)=>{const o=n,c=m;return a(),r(s,null,[i(o,{"left-text":"返回","left-arrow":"",onClickLeft:p}),i(c,{style:{width:"100%",height:"100%"},image:"error",description:"异常"})],64)}}};export{p as default};
import"./index-5iIji00-.js";/* empty css */import{u as e}from"./vue-router-D7VJKUVi.js";import{z as t,D as r,Z as s,o,ai as i,ac as a}from"./vant-9Jajd0QU.js";import"./viewui-CuWbutFq.js";import"./axios-BylxcknJ.js";const n={__name:"index",setup(n){const m=e(),p=()=>m.replace({name:"welcome"});return(e,n)=>{const m=i,l=a;return o(),t(s,null,[r(m,{"left-text":"返回","left-arrow":"",onClickLeft:p}),r(l,{style:{width:"100%",height:"100%"},image:"error",description:"暂无权限!"})],64)}}};export{n as default}; import"./index-Cv8A0x_b.js";/* empty css */import{u as e}from"./vue-router-D7VJKUVi.js";import{z as t,D as r,Z as s,o,ai as i,ac as a}from"./vant-9Jajd0QU.js";import"./viewui-CuWbutFq.js";import"./axios-BylxcknJ.js";const n={__name:"index",setup(n){const m=e(),p=()=>m.replace({name:"welcome"});return(e,n)=>{const m=i,l=a;return o(),t(s,null,[r(m,{"left-text":"返回","left-arrow":"",onClickLeft:p}),r(l,{style:{width:"100%",height:"100%"},image:"error",description:"暂无权限!"})],64)}}};export{n as default};
import{E as e}from"./index-5iIji00-.js";const t=e({id:"competitionSearchItem",state:()=>({searchItem:{}}),actions:{resetSearchItem(){this.searchItem={}},setSearchItem(e,t){this.searchItem[e]=t},getSearchItem(e){return this.searchItem[e]}},getters:{},persist:{storage:sessionStorage,paths:["searchItem"]}});export{t as u}; import{E as e}from"./index-Cv8A0x_b.js";const t=e({id:"competitionSearchItem",state:()=>({searchItem:{}}),actions:{resetSearchItem(){this.searchItem={}},setSearchItem(e,t){this.searchItem[e]=t},getSearchItem(e){return this.searchItem[e]}},getters:{},persist:{storage:sessionStorage,paths:["searchItem"]}});export{t as u};
此差异已折叠。
此差异已折叠。
此差异已折叠。
Markdown 格式
0% or
您添加了 0 人 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册 或