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

- 20240527

    - 审批流程缩减为三种,赛事审批、赛事申报、师生奖励;
    - 教师奖励和学生奖励融合为师生奖励流程;通过select查询师生奖励类型;
    - 放开师生奖励表单“提交”功能;
上级 447ea173
流水线 #26358 已失败 ,包含阶段
in 8 second
...@@ -11,3 +11,7 @@ ...@@ -11,3 +11,7 @@
- 放开师生奖励提交表单按钮; - 放开师生奖励提交表单按钮;
- 成绩申报和师生奖励详情更新团队数据字段; - 成绩申报和师生奖励详情更新团队数据字段;
- 师生奖励恢复”审批通过“状态才能编辑; - 师生奖励恢复”审批通过“状态才能编辑;
- 20240527
- 审批流程缩减为三种,赛事审批、赛事申报、师生奖励;
- 教师奖励和学生奖励融合为师生奖励流程;通过select查询师生奖励类型;
- 放开师生奖励表单“提交”功能;
因为 它太大了无法显示 源差异 。您可以改为 查看blob。
.teamCardExtraText[data-v-24213048]{font-size:18px;font-weight:600;font-family:宋体;color:#1e93ff}.container[data-v-24213048]{height:100vh;width:100vw}.container .header[data-v-24213048]{display:flex;justify-content:center;align-items:center;position:relative;width:100%;height:8%;border-top:5px solid #2d8cf0}.container .header .h_left[data-v-24213048],.container .header .h_right[data-v-24213048]{width:20%;height:100%;background-color:#fff}.container .header .h_content[data-v-24213048]{width:60%;height:100%;display:flex;align-items:center;justify-content:center;background-color:#fff}.container .content[data-v-24213048]{width:100%;height:92%;display:flex;flex-wrap:wrap;align-content:flex-start;justify-content:center;overflow-y:auto}.container .content .tableList[data-v-24213048]{display:flex;justify-content:center;flex-wrap:wrap;max-width:1200px}.container .content .tableList .container1[data-v-24213048]{border-collapse:collapse;box-sizing:border-box;width:100%}.container .content .tableList .container1 .row[data-v-24213048]{width:100%;height:100%}.container .content .tableList .container1 .colTitle[data-v-24213048]{text-align:center;width:30%;height:50px}.container .content .tableList .container1 .colContent[data-v-24213048]{height:50px;text-align:center}.container .content .card[data-v-24213048]{padding:5px 5px}.container .content .teamInfo[data-v-24213048]{color:#1e93ff;cursor:pointer}.container .content .text[data-v-24213048]:hover{transform:scale(1.3)}.container .content .aText[data-v-24213048]:hover{transform:scale(1.2)}.container .content .Atext[data-v-24213048]{float:right;margin-bottom:.7vw;margin-top:.7vw;font-size:16px}.container .content .Atext[data-v-24213048]:hover{transform:scale(1.2)} .teamCardExtraText[data-v-2b4b8f60]{font-size:18px;font-weight:600;font-family:宋体;color:#1e93ff}.container[data-v-2b4b8f60]{height:100vh;width:100vw}.container .header[data-v-2b4b8f60]{display:flex;justify-content:center;align-items:center;position:relative;width:100%;height:8%;border-top:5px solid #2d8cf0}.container .header .h_left[data-v-2b4b8f60],.container .header .h_right[data-v-2b4b8f60]{width:20%;height:100%;background-color:#fff}.container .header .h_content[data-v-2b4b8f60]{width:60%;height:100%;display:flex;align-items:center;justify-content:center;background-color:#fff}.container .content[data-v-2b4b8f60]{width:100%;height:92%;display:flex;flex-wrap:wrap;align-content:flex-start;justify-content:center;overflow-y:auto}.container .content .tableList[data-v-2b4b8f60]{display:flex;justify-content:center;flex-wrap:wrap;max-width:1200px}.container .content .tableList .container1[data-v-2b4b8f60]{border-collapse:collapse;box-sizing:border-box;width:100%}.container .content .tableList .container1 .row[data-v-2b4b8f60]{width:100%;height:100%}.container .content .tableList .container1 .colTitle[data-v-2b4b8f60]{text-align:center;width:30%;height:50px}.container .content .tableList .container1 .colContent[data-v-2b4b8f60]{height:50px;text-align:center}.container .content .card[data-v-2b4b8f60]{padding:5px 5px}.container .content .teamInfo[data-v-2b4b8f60]{color:#1e93ff;cursor:pointer}.container .content .text[data-v-2b4b8f60]:hover{transform:scale(1.3)}.container .content .aText[data-v-2b4b8f60]:hover{transform:scale(1.2)}.container .content .Atext[data-v-2b4b8f60]{float:right;margin-bottom:.7vw;margin-top:.7vw;font-size:16px}.container .content .Atext[data-v-2b4b8f60]:hover{transform:scale(1.2)}
\ No newline at end of file \ No newline at end of file
<!DOCTYPE html><html><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0"><link rel="shortcut icon" href=favicon.ico><title>竞赛管理</title><link href=css/chunk-vendors.064c214c.css rel=stylesheet><link href=css/app.8edd3c9e.css rel=stylesheet></head><body><script src=/a/manager/identify/identify.js></script><noscript><strong>请开启 JavaScript 功能来使用 竞赛管理。</strong></noscript><div id=app></div><script src=js/chunk-vendors.fa3c8e56.js></script><script src=js/app.ec49173a.js></script></body></html> <!DOCTYPE html><html><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0"><link rel="shortcut icon" href=favicon.ico><title>竞赛管理</title><link href=css/chunk-vendors.064c214c.css rel=stylesheet><link href=css/app.b2432e52.css rel=stylesheet></head><body><script src=/a/manager/identify/identify.js></script><noscript><strong>请开启 JavaScript 功能来使用 竞赛管理。</strong></noscript><div id=app></div><script src=js/chunk-vendors.66401d3f.js></script><script src=js/app.661dbbd3.js></script></body></html>
\ No newline at end of file \ No newline at end of file
因为 它太大了无法显示 源差异 。您可以改为 查看blob。
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-09823a8a"],{"22ab":function(t,e,i){"use strict";i.r(e);var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"container"},[i("div",{staticClass:"content"},["CompetitionReport"===t.form_name?i("Card",{staticStyle:{width:"50%","margin-top":"20px"},attrs:{"dis-hover":!0}},[i("div",{staticClass:"tableList"},[i("h1",{staticStyle:{display:"flex","justify-content":"center"}},[t._v(" "+t._s(t.data.Object.module))]),i("table",{staticClass:"container1",attrs:{border:"1"}},t._l(t.data.keyValueArray,(function(e,a){return i("tr",{key:a},["level"===e[0]?i("th",{staticClass:"colTitle"},[t._v(t._s(e[2]))]):t._e(),"level"===e[0]?i("td",{staticClass:"colContent"},[t._v(t._s(["","国家级","省一级","省二级","国际级"][e[1]])+"\n ")]):t._e(),"way"===e[0]?i("th",{staticClass:"colTitle"},[t._v(t._s(e[2]))]):t._e(),"way"===e[0]?i("td",{staticClass:"colContent"},[t._v(t._s(["团队","个人"][e[1]]))]):t._e(),"approval_state"===e[0]?i("th",{staticClass:"colTitle"},[t._v(t._s(e[2]))]):t._e(),"approval_state"===e[0]?i("td",{staticClass:"colContent"},[t._v("\n "+t._s(["未审批","审批中","审批通过","审批不通过"][e[1]])+"\n ")]):t._e(),"competition_type"===e[0]?i("th",{staticClass:"colTitle"},[t._v(t._s(e[2]))]):t._e(),"competition_type"===e[0]?i("td",{staticClass:"colContent"},[t._v(t._s(["","A类","B类"][e[1]])+"\n ")]):t._e(),"competition_type"!==e[0]&&"level"!==e[0]&&"way"!==e[0]&&"approval_state"!==e[0]?i("th",{staticClass:"colTitle"},[t._v(t._s(e[2])+"\n ")]):t._e(),"competition_type"!==e[0]&&"level"!==e[0]&&"way"!==e[0]&&"approval_state"!==e[0]?i("td",{staticClass:"colContent"},[t._v(t._s(e[1])+"\n ")]):t._e()])})),0)])]):t._e(),"CompetitionSign"===t.form_name?i("Card",{staticStyle:{width:"50%","margin-top":"20px"},attrs:{"dis-hover":!0}},[i("div",{staticClass:"tableList"},[i("h1",{staticStyle:{display:"flex","justify-content":"center"}},[t._v(" "+t._s(t.data.Object.module))]),i("table",{staticClass:"container1",attrs:{border:"1"}},[t._l(t.data.keyValueArray,(function(e,a){return i("tr",{key:a},["level"===e[0]?i("th",{staticClass:"colTitle"},[t._v(t._s(e[2]))]):t._e(),"level"===e[0]?i("td",{staticClass:"colContent"},[t._v(t._s(["","国家级","省一级","省二级"][e[1]]))]):t._e(),"race_level"===e[0]?i("th",{staticClass:"colTitle"},[t._v(t._s(e[2]))]):t._e(),"race_level"===e[0]?i("td",{staticClass:"colContent"},[t._v(t._s(["","国家级","省一级","省二级"][e[1]])+"\n ")]):t._e(),"way"===e[0]?i("th",{staticClass:"colTitle"},[t._v(t._s(e[2]))]):t._e(),"way"===e[0]?i("td",{staticClass:"colContent"},[t._v(t._s(["团队","个人"][e[1]]))]):t._e(),"approval_state"===e[0]?i("th",{staticClass:"colTitle"},[t._v(t._s(e[2]))]):t._e(),"approval_state"===e[0]?i("td",{staticClass:"colContent"},[t._v("\n "+t._s(["未审批","审批中","审批通过","审批不通过"][e[1]])+"\n ")]):t._e(),"race_level"!==e[0]&&"level"!==e[0]&&"way"!==e[0]&&"approval_state"!==e[0]?i("th",{staticClass:"colTitle"},[t._v(t._s(e[2])+"\n ")]):t._e(),"race_level"!==e[0]&&"level"!==e[0]&&"way"!==e[0]&&"approval_state"!==e[0]?i("td",{staticClass:"colContent"},[t._v(t._s(e[1])+"\n ")]):t._e()])})),i("tr",[i("th",[t._v("附件:")]),i("td",{staticClass:"colContent"},t._l(t.data.Object.file_list,(function(e,a){return i("a",{key:a,staticClass:"aText",staticStyle:{display:"flex","flex-wrap":"wrap","justify-content":"center"},on:{click:function(i){return t.viewFile(e)}}},[t._v("\n "+t._s(e.file_name)+"\n ")])})),0)])],2),i("div",{style:"width: 100%;max-height:"+t.unfold.height+"px;overflow-y:hidden ;"},t._l(t.competitionsignTeam,(function(e,a){return i("Card",{key:a,staticStyle:{margin:"0.5vw"},scopedSlots:t._u([{key:"title",fn:function(){return[i("h3",[t._v(t._s(e.teanname)+"(指导教师"),i("span",{staticStyle:{color:"#1e93ff"}},[t._v(t._s(e.guide_teacher_list.length))]),t._v("位,参赛教师\n "),i("span",{staticStyle:{color:"#1e93ff"}},[t._v(t._s(e.contestant_teacher_list.length))]),t._v("位,参赛学生\n "),i("span",{staticStyle:{color:"#1e93ff"}},[t._v(t._s(e.student_list.length))]),t._v("\n 位)")])]},proxy:!0},{key:"extra",fn:function(){},proxy:!0}],null,!0)},[e.guide_teacher_list.length?i("Table",{attrs:{columns:t.guidecolumnsTeacher,data:e.guide_teacher_list}}):t._e(),e.contestant_teacher_list.length?i("Table",{attrs:{columns:t.columnsTeacher,data:e.contestant_teacher_list}}):t._e(),e.student_list.length?i("Table",{attrs:{columns:t.columnsStudent,data:e.student_list}}):t._e()],1)})),1),i("div",{staticClass:"Atext"},[t.competitionsignTeam.length?i("a",{on:{click:t.unfoldTeamCard}},[0===t.unfold.State?i("Icon",{attrs:{type:"ios-arrow-dropdown-circle"}}):i("Icon",{attrs:{type:"ios-arrow-dropup-circle"}}),t._v("\n "+t._s(t.unfold.flag[t.unfold.State])+"\n ")],1):t._e()])])]):t._e(),"Certificate"===t.form_name?i("Card",{staticStyle:{width:"50%","margin-top":"20px"},attrs:{"dis-hover":!0}},[i("div",{staticClass:"tableList"},[i("h1",{staticStyle:{display:"flex","justify-content":"center"}},[t._v(" "+t._s(t.data.Object.module))]),i("table",{staticClass:"container1",attrs:{border:"1"}},[t._l(t.data.array,(function(e,a){return i("tr",{key:a},[i("th",{staticClass:"colTitle"},[t._v(t._s(e.title))]),i("td",{staticClass:"colContent"},[t._v(t._s(e.value))])])})),i("tr",[i("th",[t._v("附件:")]),i("td",{staticClass:"colContent"},t._l(t.data.Object.file_list,(function(e,a){return i("a",{key:a,staticClass:"aText",staticStyle:{display:"flex","flex-wrap":"wrap","justify-content":"center"},on:{click:function(i){return t.viewFile(e)}}},[t._v("\n "+t._s(e.file_name)+"\n ")])})),0)])],2),i("div",{style:"width: 100%;max-height:"+t.unfold.height+"px;overflow-y:hidden ;"},t._l(t.competitionsignTeam,(function(e,a){return i("Card",{key:a,staticStyle:{margin:"0.5vw"},scopedSlots:t._u([{key:"title",fn:function(){return[i("h3",[t._v(t._s(e.teanname)+"(指导教师"),i("span",{staticStyle:{color:"#1e93ff"}},[t._v(t._s(e.guide_teacher_list.length))]),t._v("位,参赛教师\n "),i("span",{staticStyle:{color:"#1e93ff"}},[t._v(t._s(e.contestant_teacher_list.length))]),t._v("位,参赛学生\n "),i("span",{staticStyle:{color:"#1e93ff"}},[t._v(t._s(e.student_list.length))]),t._v("\n 位)")])]},proxy:!0},{key:"extra",fn:function(){return[i("div",{staticClass:"teamCardExtraText"},[t._v(t._s(e.hierarchy_name))])]},proxy:!0}],null,!0)},[e.guide_teacher_list.length?i("Table",{attrs:{columns:t.guidecolumnsTeacher,data:e.guide_teacher_list}}):t._e(),e.contestant_teacher_list.length?i("Table",{attrs:{columns:t.columnsTeacher,data:e.contestant_teacher_list}}):t._e(),e.student_list.length?i("Table",{attrs:{columns:t.columnsStudent,data:e.student_list}}):t._e()],1)})),1),i("div",{staticClass:"Atext"},[t.competitionsignTeam.length?i("a",{on:{click:t.unfoldTeamCard}},[0===t.unfold.State?i("Icon",{attrs:{type:"ios-arrow-dropdown-circle"}}):i("Icon",{attrs:{type:"ios-arrow-dropup-circle"}}),t._v("\n "+t._s(t.unfold.flag[t.unfold.State])+"\n ")],1):t._e()])])]):t._e(),"BonusDeclare"===t.form_name?i("Card",{staticStyle:{width:"50%","margin-top":"20px"},attrs:{"dis-hover":!0}},[i("div",{staticClass:"tableList"},[i("h1",{staticStyle:{display:"flex","justify-content":"center"}},[t._v(" "+t._s(t.data.Object.module))]),i("table",{staticClass:"container1",attrs:{border:"1"}},[t._l(t.data.array,(function(e,a){return i("tr",{key:a},[i("th",{staticClass:"colTitle"},[t._v(t._s(e.title))]),i("td",{staticClass:"colContent"},[t._v(t._s(e.value))])])})),i("tr",[i("th",[t._v("附件:")]),i("td",{staticClass:"colContent"},t._l(t.data.Object.file_list,(function(e,a){return i("a",{key:a,staticClass:"aText",staticStyle:{display:"flex","flex-wrap":"wrap","justify-content":"center"},on:{click:function(i){return t.viewFile(e)}}},[t._v("\n "+t._s(e.file_name)+"\n ")])})),0)])],2),i("div",{style:"width: 100%;max-height:"+t.unfold.height+"px;overflow-y:hidden ;"},[i("div",{staticStyle:{height:"30px",width:"100%",display:"flex","align-items":"center"}},[i("h3",{staticStyle:{"font-size":"20px"}},[t._v("(团队信息)获奖信息:")]),i("h3",{staticStyle:{"margin-left":"auto",color:"#1e93ff","font-family":"楷体","font-size":"20px"}},[t._v("奖金总金额:\n "),i("span",[t._v(t._s(t.data.Object.bonus.bonus_total)+"元")])])]),t._l(t.competitionsignTeam,(function(e,a){return i("Card",{key:a,staticStyle:{margin:"0.5vw"},scopedSlots:t._u([{key:"title",fn:function(){return[i("h3",[t._v(t._s(e.teanname)+"(\n\n "+t._s(["参赛学生","参赛教师"][t.data.Object.bonus.is_tea])+"\n "),i("span",{staticStyle:{color:"#1e93ff"}},[t._v(t._s(e.student_list.length))]),t._v("\n 位);\n "),i("span",[t._v("可分配奖金"),i("span",{staticStyle:{color:"#1e93ff"}},[t._v(t._s([e.allot_money,e.allot_money_teacher][t.data.Object.bonus.is_tea]||0)+"元")])])])]},proxy:!0},{key:"extra",fn:function(){return[i("div",{staticClass:"teamCardExtraText",staticStyle:{"font-family":"楷体","font-size":"20px"}},[t._v(t._s(e.hierarchy_name)+"\n ")])]},proxy:!0}],null,!0)},[e.student_list.length?i("Table",{attrs:{columns:[t.columnsStudentAward,t.columnsTeacherAward][t.data.Object.bonus.is_tea],data:e.student_list},scopedSlots:t._u([{key:"bonus",fn:function(e){var a=e.row;e.index;return[i("div",{staticStyle:{width:"100%",height:"100%",display:"flex","align-items":"center"}},[i("span",{staticStyle:{"font-family":"楷体",color:"#1e93ff","font-weight":"600"}},[t._v(t._s(a.bonus||0)+"元")])])]}}],null,!0)}):t._e()],1)}))],2),i("div",{staticClass:"Atext"},[t.competitionsignTeam.length?i("a",{on:{click:t.unfoldTeamCard}},[0===t.unfold.State?i("Icon",{attrs:{type:"ios-arrow-dropdown-circle"}}):i("Icon",{attrs:{type:"ios-arrow-dropup-circle"}}),t._v("\n "+t._s(t.unfold.flag[t.unfold.State])+"\n ")],1):t._e()])])]):t._e(),"SubsidyDeclare"===t.form_name?i("Card",{staticStyle:{width:"50%","margin-top":"20px"},attrs:{"dis-hover":!0}},[i("div",{staticClass:"tableList"},[i("h1",{staticStyle:{display:"flex","justify-content":"center"}},[t._v(" "+t._s(t.data.Object.module))]),i("table",{staticClass:"container1",attrs:{border:"1"}},[t._l(t.data.array,(function(e,a){return i("tr",{key:a},[i("th",{staticClass:"colTitle"},[t._v(t._s(e.title))]),i("td",{staticClass:"colContent"},[t._v(t._s(e.value))])])})),i("tr",[i("th",[t._v("附件:")]),i("td",{staticClass:"colContent"},t._l(t.data.Object.file_list,(function(e,a){return i("a",{key:a,staticClass:"aText",staticStyle:{display:"flex","flex-wrap":"wrap","justify-content":"center"},attrs:{href:e.path}},[t._v("\n "+t._s(e.file_name)+"\n ")])})),0)])],2),i("div",{style:"width: 100%;max-height:"+t.unfold.height+"px;overflow-y:hidden ;"},[i("div",{staticStyle:{height:"30px",width:"100%",display:"flex","align-items":"center"}},[i("h3",[t._v("(团队信息)补贴信息:")])]),t._l(t.competitionsignTeam,(function(e,a){return i("Card",{key:a,staticStyle:{margin:"0.5vw"},scopedSlots:t._u([{key:"title",fn:function(){return[i("h3",[t._v(t._s(e.teanname)+"(\n 参赛学生\n "),i("span",{staticStyle:{color:"#1e93ff"}},[t._v(t._s(e.student_list.length))]),t._v("\n 位);\n ")])]},proxy:!0},{key:"extra",fn:function(){return[i("div",{staticClass:"teamCardExtraText",staticStyle:{"font-family":"楷体","font-size":"20px"}},[t._v(t._s(e.hierarchy_name)+"\n ")])]},proxy:!0}],null,!0)},[e.student_list.length?i("Table",{attrs:{columns:t.columnsStudentGrands,data:e.student_list},scopedSlots:t._u([{key:"subsidytype_name",fn:function(e){var a=e.row;e.index;return[i("div",{staticStyle:{width:"100%",height:"100%",display:"flex","align-items":"center"}},[i("span",{staticStyle:{"font-family":"楷体",color:"#1e93ff","font-weight":"600"}},[t._v(t._s(a.subsidytype_name||0))])])]}},{key:"subsidy_day",fn:function(e){var a=e.row;e.index;return[i("div",{staticStyle:{width:"100%",height:"100%",display:"flex","align-items":"center"}},[i("span",{staticStyle:{"font-family":"楷体",color:"#1e93ff","font-weight":"600"}},[t._v(t._s(a.subsidy_day||0)+"天")])])]}},{key:"subsidy_num",fn:function(e){var a=e.row;e.index;return[i("div",{staticStyle:{width:"100%",height:"100%",display:"flex","align-items":"center"}},[i("span",{staticStyle:{"font-family":"楷体",color:"#1e93ff","font-weight":"600"}},[t._v(t._s(a.subsidy_num||0)+"分")])])]}}],null,!0)}):t._e()],1)}))],2),i("div",{staticClass:"Atext"},[t.competitionsignTeam.length?i("a",{on:{click:t.unfoldTeamCard}},[0===t.unfold.State?i("Icon",{attrs:{type:"ios-arrow-dropdown-circle"}}):i("Icon",{attrs:{type:"ios-arrow-dropup-circle"}}),t._v("\n "+t._s(t.unfold.flag[t.unfold.State])+"\n ")],1):t._e()])])]):t._e(),"WorkloadDeclare"===t.form_name?i("Card",{staticStyle:{width:"50%","margin-top":"20px"},attrs:{"dis-hover":!0}},[i("div",{staticClass:"tableList"},[i("h1",{staticStyle:{display:"flex","justify-content":"center"}},[t._v(" "+t._s(t.data.Object.module))]),i("table",{staticClass:"container1",attrs:{border:"1"}},[t._l(t.data.array,(function(e,a){return i("tr",{key:a},[i("th",{staticClass:"colTitle"},[t._v(t._s(e.title))]),i("td",{staticClass:"colContent"},[t._v(t._s(e.value))])])})),i("tr",[i("th",[t._v("附件:")]),i("td",{staticClass:"colContent"},t._l(t.data.Object.file_list,(function(e,a){return i("a",{key:a,staticClass:"aText",staticStyle:{display:"flex","flex-wrap":"wrap","justify-content":"center"},attrs:{href:e.path}},[t._v("\n "+t._s(e.file_name)+"\n ")])})),0)])],2),i("div",{style:"width: 100%;max-height:"+t.unfold.height+"px;overflow-y:hidden ;"},[i("div",{staticStyle:{height:"30px",width:"100%",display:"flex","align-items":"center"}},[i("h3",[t._v("(团队信息)工作量信息:")])]),t._l(t.competitionsignTeam,(function(e,a){return i("Card",{key:a,staticStyle:{margin:"0.5vw"},scopedSlots:t._u([{key:"title",fn:function(){return[i("h3",[t._v(t._s(e.teanname)+"(\n 参赛教师\n\n "),i("span",{staticStyle:{color:"#1e93ff"}},[t._v(t._s(e.student_list.length))]),t._v("\n 位);\n ")])]},proxy:!0},{key:"extra",fn:function(){return[i("div",{staticClass:"teamCardExtraText",staticStyle:{"font-family":"楷体","font-size":"20px"}},[t._v(t._s(e.hierarchy_name)+"\n ")])]},proxy:!0}],null,!0)},[e.student_list.length?i("Table",{attrs:{columns:t.columnsTeacherWorkLoad,data:e.student_list},scopedSlots:t._u([{key:"instructionalscore",fn:function(e){var a=e.row;e.index;return[i("div",{staticStyle:{width:"100%",height:"100%",display:"flex","align-items":"center"}},[i("span",{staticStyle:{"font-family":"楷体",color:"#1e93ff","font-weight":"600"}},[t._v(t._s(a.instructionalscore||0)+"分")])])]}}],null,!0)}):t._e()],1)}))],2),i("div",{staticClass:"Atext"},[t.competitionsignTeam.length?i("a",{on:{click:t.unfoldTeamCard}},[0===t.unfold.State?i("Icon",{attrs:{type:"ios-arrow-dropdown-circle"}}):i("Icon",{attrs:{type:"ios-arrow-dropup-circle"}}),t._v("\n "+t._s(t.unfold.flag[t.unfold.State])+"\n ")],1):t._e()])])]):t._e(),"Bursary"===t.form_name?i("Card",{staticStyle:{width:"50%","margin-top":"20px"},attrs:{"dis-hover":!0}},[i("div",{staticClass:"tableList"},[i("h1",{staticStyle:{display:"flex","justify-content":"center"}},[t._v(" "+t._s(t.data.Object.module))]),i("table",{staticClass:"container1",attrs:{border:"1"}},[t._l(t.data.keyValueArray,(function(e,a){return i("tr",{key:a},["level"===e[0]?i("th",{staticClass:"colTitle"},[t._v(t._s(e[2]))]):t._e(),"level"===e[0]?i("td",{staticClass:"colContent"},[t._v(t._s(["","国家级","省一级","省二级"][e[1]]))]):t._e(),"race_level"===e[0]?i("th",{staticClass:"colTitle"},[t._v(t._s(e[2]))]):t._e(),"race_level"===e[0]?i("td",{staticClass:"colContent"},[t._v(t._s(["","国家级","省一级","省二级","国际级"][e[1]])+"\n ")]):t._e(),"way"===e[0]?i("th",{staticClass:"colTitle"},[t._v(t._s(e[2]))]):t._e(),"way"===e[0]?i("td",{staticClass:"colContent"},[t._v(t._s(["团队","个人"][e[1]]))]):t._e(),"approval_state"===e[0]?i("th",{staticClass:"colTitle"},[t._v(t._s(e[2]))]):t._e(),"approval_state"===e[0]?i("td",{staticClass:"colContent"},[t._v("\n "+t._s(["未审批","审批中","审批通过","审批不通过"][e[1]])+"\n ")]):t._e(),"race_level"!==e[0]&&"level"!==e[0]&&"way"!==e[0]&&"approval_state"!==e[0]?i("th",{staticClass:"colTitle"},[t._v(t._s(e[2])+"\n ")]):t._e(),"race_level"!==e[0]&&"level"!==e[0]&&"way"!==e[0]&&"approval_state"!==e[0]?i("td",{staticClass:"colContent"},[t._v(t._s(e[1])+"\n ")]):t._e()])})),i("tr",[i("th",[t._v("附件:")]),i("td",{staticClass:"colContent"},t._l(t.data.Object.file_list,(function(e,a){return i("a",{key:a,staticClass:"aText",staticStyle:{display:"flex","flex-wrap":"wrap","justify-content":"center"},attrs:{href:e.path}},[t._v("\n "+t._s(e.file_name)+"\n ")])})),0)])],2)])]):t._e(),"Notice"===t.form_name?i("Card",{staticStyle:{width:"50%","margin-top":"20px"},attrs:{"dis-hover":!0}},[i("div",{staticClass:"tableList"},[i("h1",{staticStyle:{display:"flex","justify-content":"center"}},[t._v(" "+t._s(t.data.Object.module))]),i("table",{staticClass:"container1",attrs:{border:"1"}},[t._l(t.data.keyValueArray,(function(e,a){return i("tr",{key:a},["is_top"===e[0]?i("th",{staticClass:"colTitle"},[t._v(t._s(e[2]))]):t._e(),"is_top"===e[0]?i("td",{staticClass:"colContent"},[t._v(t._s(["否","是"][e[1]]))]):t._e(),"is_public"===e[0]?i("th",{staticClass:"colTitle"},[t._v(t._s(e[2]))]):t._e(),"is_public"===e[0]?i("td",{staticClass:"colContent"},[t._v(t._s(["否","是"][e[1]]))]):t._e(),"content"===e[0]?i("th",{staticClass:"colTitle"},[t._v(t._s(e[2])+"\n ")]):t._e(),"content"===e[0]?i("td",{staticClass:"colContent"},[i("spin",{staticStyle:{"max-height":"500px","overflow-y":"auto"},domProps:{innerHTML:t._s(e[1])}})],1):t._e(),"approval_state"===e[0]?i("th",{staticClass:"colTitle"},[t._v(t._s(e[2]))]):t._e(),"approval_state"===e[0]?i("td",{staticClass:"colContent"},[t._v("\n "+t._s(["未审批","审批中","审批通过","审批不通过"][e[1]])+"\n ")]):t._e(),"content"!==e[0]&&"race_level"!==e[0]&&"is_top"!==e[0]&&"is_public"!==e[0]&&"way"!==e[0]&&"approval_state"!==e[0]?i("th",{staticClass:"colTitle"},[t._v(t._s(e[2])+"\n ")]):t._e(),"content"!==e[0]&&"race_level"!==e[0]&&"is_top"!==e[0]&&"is_public"!==e[0]&&"way"!==e[0]&&"approval_state"!==e[0]?i("td",{staticClass:"colContent"},[t._v(t._s(e[1])+"\n ")]):t._e()])})),i("tr",[i("th",[t._v("附件:")]),i("td",{staticClass:"colContent"},t._l(t.data.Object.file_list,(function(e,a){return i("a",{key:a,staticClass:"aText",staticStyle:{display:"flex","flex-wrap":"wrap","justify-content":"center"},attrs:{href:e.path}},[t._v("\n "+t._s(e.file_name)+"\n ")])})),0)])],2)])]):t._e(),i("div",{staticStyle:{"overflow-y":"auto","box-sizing":"border-box","border-top":"#1e93ff 0.3vw solid",width:"15%",height:"133vh","margin-top":"20px",padding:"3vw 1vw 3vw 1vw","background-color":"white",display:"flex","justify-content":"center"}},[i("Timeline",t._l(t.timeLineArray,(function(e,a){return i("TimelineItem",{key:a,attrs:{color:["blue","green"][Number(!e.action_name)]},scopedSlots:t._u([Number(!!e.action_name)?{key:"dot",fn:function(){return[i("Icon",{attrs:{type:"ios-checkmark-circle",color:"#1e93ff"}})]},proxy:!0}:null],null,!0)},[Number(!!e.action_name)?i("div",[i("h3",{staticStyle:{"font-family":"'宋体'"}},[t._v(t._s(e.node_name))])]):i("div",[i("div",{staticStyle:{display:"flex","align-items":"center"}},[i("h3",{staticStyle:{"font-family":"'宋体'"}},[t._v(t._s(e.node_name))]),t._v("(当前节点)\n ")])]),i("div",[e.name?i("div",[t._v("\n 用户名:"),i("span",{staticStyle:{color:"#1e93ff"}},[t._v(t._s(e.name))])]):t._e(),e.action_name?i("div",[t._v("\n 审批动作:"),i("span",{staticStyle:{color:"#1e93ff"}},[t._v(t._s(e.action_name))])]):t._e()]),e.comment?i("div",[t._v("审批意见:"+t._s(e.comment))]):t._e(),e.approver_time?i("div",[t._v("处理时间:"+t._s(e.approver_time))]):t._e(),e.elapsed_time?i("div",[t._v("处理耗时:"+t._s(e.elapsed_time))]):t._e()])})),1)],1)],1),i("div",{staticClass:"header"},[i("div",{staticClass:"h_left"}),i("div",{staticClass:"h_content"},[t.flowInfo?"流程详细信息"===t.flowInfo?[i("Button",{staticStyle:{"margin-right":"20px",width:"12vw"},attrs:{type:"primary"},on:{click:function(e){return t.$router.back()}}},[t._v("返回")])]:t._e():[i("Button",{staticStyle:{"margin-right":"20px",width:"12vw","border-top":"1px solid #e8e8e8"},attrs:{type:"primary"},on:{click:function(e){return t.$router.back()}}},[t._v("返回\n ")]),i("Button",{staticStyle:{width:"12vw","margin-right":"20px","border-top":"1px solid #e8e8e8"},attrs:{type:"primary"},on:{click:t.passFlow}},[t._v("通过审批\n ")]),i("Button",{staticStyle:{width:"12vw","border-top":"1px solid #e8e8e8"},attrs:{type:"warning"},on:{click:t.revocationFlow}},[t._v("退回流程\n ")])]],2),i("div",{staticClass:"h_right"})]),i("Modal",{attrs:{title:"审批意见"},scopedSlots:t._u([{key:"footer",fn:function(){return[i("div",{staticStyle:{display:"flex","justify-content":"flex-end"}},[i("Button",{attrs:{type:"text"},on:{click:t.cancel}},[t._v(" 取消")]),i("Button",{staticStyle:{"margin-left":"10px"},attrs:{loading:t.btLoad,type:"primary"},on:{click:t.ok}},[t._v(" 确定")])],1)]},proxy:!0}]),model:{value:t.publicModal,callback:function(e){t.publicModal=e},expression:"publicModal"}},["revocation"===t.publicIdentificatio?i("Form",{ref:"formValidate",attrs:{model:t.formValidate,rules:t.ruleValidate,"label-width":80}},[i("FormItem",{attrs:{label:"退回节点",prop:"publicAction"}},[i("Select",{model:{value:t.formValidate.publicAction,callback:function(e){t.$set(t.formValidate,"publicAction",e)},expression:"formValidate.publicAction"}},t._l(t.publicState.revocationApporval,(function(e,a){return i("Option",{key:a,attrs:{value:e.value}},[t._v(t._s(e.label)+"\n ")])})),1)],1)],1):t._e(),i("Input",{attrs:{type:"textarea",autosize:{minRows:5,maxRows:10},placeholder:"请输入审批意见..."},model:{value:t.publicTextarea,callback:function(e){t.publicTextarea=e},expression:"publicTextarea"}})],1),i("Drawer",{attrs:{title:"团队详细",closable:!1,width:"40%"},model:{value:t.teamDrawer,callback:function(e){t.teamDrawer=e},expression:"teamDrawer"}},[i("div",{staticClass:"demo-drawer-profile"},[i("Row",{staticClass:"row"},[i("Col",{attrs:{span:"12"}},[t._v("\n 团队名称:\n ")]),i("Col",{attrs:{span:"12"}},[t._v("\n "+t._s(t.drawerObject.teamname)+"\n ")])],1),i("Row",{staticClass:"row"},[i("Col",{attrs:{span:"12"}},[t._v("\n 人数:\n ")]),i("Col",{attrs:{span:"12"}},[t._v("\n "+t._s(t.drawerObject.num)+"人\n ")])],1),i("Row",{staticClass:"row"},[i("Col",{attrs:{span:"12"}},[t._v("\n 是否获奖:\n ")]),i("Col",{attrs:{span:"12"}},[t._v("\n "+t._s(t.drawerObject.is_win)+"\n ")])],1)],1),i("Table",{attrs:{columns:t.drawerColumn,data:t.drawerObject.members}})],1),i("Drawer",{attrs:{width:"90",closable:""},scopedSlots:t._u([{key:"header",fn:function(){return[i("div",{staticStyle:{width:"100%","mix-height":"35px","max-height":"auto",position:"relative"}},[i("h3",{staticStyle:{"margin-bottom":"5px"}},[t._v("附件预览")]),t._l(t.data.Object.file_list,(function(e,a){return i("a",{key:a,staticClass:"aText",staticStyle:{"margin-right":"3vw"},on:{click:function(i){return t.updateViewFile(e)}}},[t._v("\n "+t._s(e.file_name)+"\n ")])}))],2)]},proxy:!0}]),model:{value:t.drawerPreview,callback:function(e){t.drawerPreview=e},expression:"drawerPreview"}},[t.src&&"office"===t.fileType?i("VueDocPreview",{key:t.viewFileUpdataKeys,attrs:{value:t.src,url:t.src,language:"JavaScript",type:"office"}}):t._e(),t.src&&"image"===t.fileType?i("i-frame",{key:t.viewFileUpdataKeys,attrs:{src:t.src}}):t._e()],1)],1)},n=[],s=(i("2fdb"),i("ffc1"),i("6762"),i("ac6a"),i("456d"),i("96cf"),i("1da1")),o=i("967e"),r=i.n(o),l=i("61be"),c=i("7f6b"),d=i("5ccc"),u={components:{},data:function(){return{btLoad:!1,viewFileUpdataKeys:1,split:.7,drawerPreview:!1,fileType:"",src:"",unfold:{State:0,height:"500",flag:["展开","收起"]},guidecolumnsTeacher:[{title:"指导教师",minWidth:100,key:"name"},{title:"工号",minWidth:120,key:"card_name"},{title:"身份证号",minWidth:180,key:"sfzh"},{title:"教学院系",minWidth:150,key:"dept"},{title:"性别",minWidth:80,key:"gender"},{title:"联系电话",minWidth:150,key:"phone"}],columnsTeacherWorkLoad:[{title:"教师",minWidth:100,key:"name"},{title:"工号",minWidth:120,key:"card_name"},{title:"身份证号",minWidth:180,key:"sfzh"},{title:"教学院系",minWidth:150,key:"dept"},{title:"性别",minWidth:80,key:"gender"},{title:"联系电话",minWidth:150,key:"phone"},{title:"教学分",minWidth:150,slot:"instructionalscore",fixed:"right"}],columnsStudentGrands:[{title:"参赛学生",minWidth:100,key:"name"},{title:"学号",minWidth:120,key:"card_name"},{title:"身份证号",minWidth:180,key:"sfzh"},{title:"班级",minWidth:150,key:"classname"},{title:"性别",minWidth:80,key:"gender"},{title:"联系电话",minWidth:150,key:"phone"},{title:"学生类型",minWidth:150,slot:"subsidytype_name",fixed:"right"},{title:"补贴天数",minWidth:150,slot:"subsidy_day",fixed:"right"},{title:"补贴金额",minWidth:100,slot:"subsidy_num",fixed:"right"}],columnsStudentAward:[{title:"参赛学生",minWidth:100,key:"name"},{title:"学号",minWidth:120,key:"card_name"},{title:"身份证号",minWidth:180,key:"sfzh"},{title:"班级",minWidth:150,key:"classname"},{title:"性别",minWidth:80,key:"gender"},{title:"联系电话",minWidth:150,key:"phone"},{title:"奖项",minWidth:80,key:"hierarchy_name",fixed:"right"},{title:"奖励金额",minWidth:150,slot:"bonus",fixed:"right"}],columnsTeacherAward:[{title:"指导教师",minWidth:100,key:"name"},{title:"工号",minWidth:120,key:"card_name"},{title:"身份证号",minWidth:180,key:"sfzh"},{title:"教学院系",minWidth:150,key:"dept"},{title:"性别",minWidth:80,key:"gender"},{title:"奖项",minWidth:80,key:"hierarchy_name",fixed:"right"},{title:"奖励金额",minWidth:150,slot:"bonus",fixed:"right"}],columnsStudent:[{title:"参赛学生",minWidth:100,key:"name"},{title:"学号",minWidth:120,key:"card_name"},{title:"身份证号",minWidth:180,key:"sfzh"},{title:"班级",minWidth:150,key:"classname"},{title:"性别",minWidth:80,key:"gender"},{title:"联系电话",minWidth:150,key:"phone"}],columnsTeacher:[{title:"参赛教师",minWidth:100,key:"name"},{title:"工号",minWidth:120,key:"card_name"},{title:"身份证号",minWidth:180,key:"sfzh"},{title:"教学院系",minWidth:150,key:"dept"},{title:"性别",minWidth:80,key:"gender"},{title:"联系电话",minWidth:150,key:"phone"}],competitionsignTeam:[],flowInfo:"",publicIdentificatio:"",publicTextarea:"",formValidate:{publicAction:""},ruleValidate:{publicAction:[{required:!0,type:"number",message:"该项不能为空",trigger:"change"}]},publicModal:!1,data:{keyValueArray:[],Object:{}},runid:"",form_name:"",promiseAllArray:[],drawerObject:{},teamDrawer:!1,drawerColumn:[{title:"姓名",key:"name",align:"center",show:!0,width:80},{title:"成员工号",key:"card_name",align:"center",show:!0,minWidth:120},{title:"是否为教师",key:"is_tea",align:"center",show:!0,minWidth:150},{title:"是否为指导教师",key:"is_lead",align:"center",show:!0,minWidth:100},{title:"班级",key:"classname",align:"center",show:!0,minWidth:120},{title:"部门",key:"dept",align:"center",show:!0,minWidth:120}],drawerData:[],timeLineArray:[]}},computed:{publicState:function(){return d["a"]}},watch:{},methods:{unfoldTeamCard:function(){Boolean(this.unfold.State)?(this.unfold.height="500",this.unfold.State=0):(this.unfold.height="9999",this.unfold.State=1)},updateViewFile:function(t){var e=this,i=function(t,i){e.src=window.location.protocol+"//"+window.location.host+i.path,e.fileType=t,e.viewFileUpdataKeys++};".jpg"===t.suffix||".jpeg"===t.suffix||".png"===t.suffix||".pdf"===t.suffix?i("image",t):".doc"!==t.suffix&&".docx"!==t.suffix&&".xls"!==t.suffix&&".xlsx"!==t.suffix||i("office",t)},viewFile:function(t){var e=this,i=function(t,i){e.src=window.location.protocol+"//"+window.location.host+i.path,e.fileType=t,e.drawerPreview=!0};".jpg"===t.suffix||".jpeg"===t.suffix||".png"===t.suffix||".pdf"===t.suffix?i("image",t):".doc"!==t.suffix&&".docx"!==t.suffix&&".xls"!==t.suffix&&".xlsx"!==t.suffix||i("office",t)},GetFlowLogList:function(t){var e=this;l["getInitListRequest"]((function(){c["GetFlowLogList"]({form_id:t}).then((function(t){e.timeLineArray=t.response}))}))},teamInfo:function(){var t=Object(s["a"])(r.a.mark((function t(){var e;return r.a.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return this.$Spin.show(),t.next=3,c["GetTeamInfo"]({teamid:this.data.Object.certificate.team_id});case 3:e=t.sent,this.drawerObject=e.response,l["publicMessage"](e),this.teamDrawer=!0;case 7:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),ok:function(){var t=Object(s["a"])(r.a.mark((function t(){var e,i,a=this;return r.a.wrap((function(t){while(1)switch(t.prev=t.next){case 0:e={taskid:this.data.Object.taskid,remark:this.publicTextarea},t.t0=this.publicIdentificatio,t.next="pass"===t.t0?4:"revocation"===t.t0?13:15;break;case 4:return this.btLoad=!0,t.next=7,c["FlowApproval"](e);case 7:return i=t.sent,this.btLoad=!1,l["publicMessage"](i),this.publicModal=!1,1===i.code&&setTimeout((function(){localStorage.setItem("updataEvent","getDataEvent"),a.$router.back()}),1500),t.abrupt("break",15);case 13:return this.$refs.formValidate.validate(function(){var t=Object(s["a"])(r.a.mark((function t(i){var n;return r.a.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!i){t.next=8;break}return a.btLoad=!0,e.action=a.formValidate.publicAction,t.next=5,c["FlowRevocation"](e);case 5:n=t.sent,1===n.code?(l["publicMessage"](n),a.publicModal=!1,setTimeout((function(){localStorage.setItem("updataEvent","getDataEvent"),a.$router.back()}),1500)):(a.btLoad=!1,a.$Message.error(n.msg_detail)),a.btLoad=!1;case 8:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),t.abrupt("break",15);case 15:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),cancel:function(){this.publicModal=!1},cancelFlow:function(){var t=Object(s["a"])(r.a.mark((function t(){var e,i;return r.a.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return this.$Spin.show(),e={runid:this.runid},t.next=4,c["FlowCancel"](e);case 4:i=t.sent,1===i.code?l["publicMessage"](i):(this.$Spin.hide(),this.$Message.error(i.msg_detail));case 6:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),revocationFlow:function(){this.publicTextarea="",this.publicIdentificatio="revocation",this.formValidate.publicAction&&this.$refs["formValidate"].resetFields(),this.publicModal=!0},passFlow:function(){this.publicTextarea="",this.publicIdentificatio="pass",this.publicModal=!0},getInitList:function(){var t=Object(s["a"])(r.a.mark((function t(){var e,i,a,n,s,o,l,u,p,_,h,f,m,y,v,b,w,g,x,k=this;return r.a.wrap((function(t){while(1)switch(t.prev=t.next){case 0:e=function(t){1!==t.code&&(k.$Spin.hide(),k.$Message.error("无数据"))},t.t0=this.form_name,t.next="CompetitionReport"===t.t0?4:"CompetitionSign"===t.t0?19:"Certificate"===t.t0?35:"BonusDeclare"===t.t0?48:"SubsidyDeclare"===t.t0?61:"WorkloadDeclare"===t.t0?74:"Bursary"===t.t0?87:"Notice"===t.t0?103:119;break;case 4:return this.$Spin.show(),i={runid:this.runid},t.next=8,c["GetFlowInfo"](i);case 8:return a=t.sent,console.log("🚀🚀🚀,",a),this.GetFlowLogList(a.response.competition_report.competitionreportid),e(a),this.data.Object=a.response,n=["competitionname","sponsor","way","dept","competitionsubitem_name","report_code","competitionbatch_name","competition_type_name","competition_level_name"],Object.keys(a.response.competition_report).map((function(t){return n.includes(t)?"":delete a.response.competition_report[t]})),this.data.keyValueArray=Object.entries(a.response.competition_report),this.data.keyValueArray.map((function(t,e){var i=["赛事名称","主办单位","比赛形式","教学单位","赛项名称","赛事编码","学年名称","赛事类型","赛事级别","相关专业"];t.push(i[e])})),this.$Spin.hide(),t.abrupt("break",119);case 19:return this.$Spin.show(),s={runid:this.runid},t.next=23,c["GetFlowInfo"](s);case 23:return o=t.sent,this.GetFlowLogList(o.response.competition_sign.competitionsignid),e(o),this.data.Object=o.response,this.data.competitionsignid=o.response.competition_sign.competitionsignid,c["TeamAndMemberSel"]({signid:o.response.competition_sign.competitionsignid}).then((function(t){k.competitionsignTeam=t.response})),l=["competitionname","sponsor","competitionsubitem_name","way","class_hour","end_time","competitionsubitem_name","report_code","competition_type_name","competition_level_name","begin_time","money"],Object.keys(o.response.competition_sign).map((function(t){-1===l.indexOf(t)&&delete o.response.competition_sign[t]})),this.data.keyValueArray=Object.entries(o.response.competition_sign),this.data.keyValueArray.map((function(t,e){var i=["赛事编号","赛事名称","赛项名称","主办单位","赛事级别","赛事类别","竞赛形式","比赛开始时间","比赛结束时间","经费预算","计划培训课时"];t.push(i[e])})),this.$Spin.hide(),t.abrupt("break",119);case 35:return this.$Spin.show(),u={runid:this.runid},t.next=39,c["GetFlowInfo"](u);case 39:return p=t.sent,this.GetFlowLogList(p.response.certificate.certificateid),e(p),this.data.Object=p.response,c["TeamAndMemberSel"]({signid:p.response.certificate.competitionsign_id}).then((function(t){k.competitionsignTeam=t.response})),this.data.array=[{title:"赛事名称",value:p.response.certificate.competitionname},{title:"赛事编号",value:p.response.certificate.report_code},{title:"赛项名称",value:p.response.certificate.competitionsubitem_name},{title:"主办单位",value:p.response.certificate.sponsor},{title:"赛事级别",value:p.response.certificate.competition_level_name},{title:"赛事类别",value:p.response.certificate.competition_type_name},{title:"竞赛形式",value:["团队","个人","不限"][p.response.certificate.way]},{title:"比赛开始时间",value:p.response.certificate.begin_time},{title:"比赛结束时间",value:p.response.certificate.end_time},{title:"审批状态",value:d["a"].flowApprovalState[p.response.certificate.approval_state]}],this.data.keyValueArray=Object.entries(p.response.certificate),this.$Spin.hide(),t.abrupt("break",119);case 48:return this.$Spin.show(),_={runid:this.runid},t.next=52,c["GetFlowInfo"](_);case 52:return h=t.sent,this.GetFlowLogList(h.response.bonus.bonusdeclareid),e(h),this.data.Object=h.response,this.asc.getApiTeamApiTeamTeamAndMemberSelCondition({signid:h.response.bonus.competitionsign_id,is_tea:h.response.bonus.is_tea}).then((function(t){k.competitionsignTeam=t.response.map((function(t,e){return t.student_list.forEach((function(e,i){e.hierarchy_id=t.hierarchy_id,e.hierarchy_name=t.hierarchy_name,e.teamFlag=!0})),t}))})),this.data.array=[{title:"赛事名称",value:h.response.bonus.competitionname},{title:"赛事编号",value:h.response.bonus.report_code},{title:"赛项名称",value:h.response.bonus.competitionsubitem_name},{title:"主办单位",value:h.response.bonus.sponsor},{title:"赛事级别",value:h.response.bonus.competition_level_name},{title:"赛事类别",value:h.response.bonus.competition_type_name},{title:"竞赛形式",value:["团队","个人","不限"][h.response.bonus.way]},{title:"比赛开始时间",value:h.response.bonus.begin_time},{title:"比赛结束时间",value:h.response.bonus.end_time},{title:"奖金总金额",value:h.response.bonus.bonus_total},{title:"审批状态",value:d["a"].flowApprovalState[h.response.bonus.approval_state]}],this.data.keyValueArray=Object.entries(h.response.bonus),this.$Spin.hide(),t.abrupt("break",119);case 61:return this.$Spin.show(),f={runid:this.runid},t.next=65,c["GetFlowInfo"](f);case 65:return m=t.sent,this.GetFlowLogList(m.response.subsidy.subsidydeclareid),e(m),this.data.Object=m.response,this.asc.getApiTeamApiTeamTeamAndMemberSelCondition({signid:m.response.subsidy.competitionsign_id,is_tea:0}).then((function(t){k.competitionsignTeam=t.response.map((function(t,e){return t.student_list.forEach((function(e,i){e.hierarchy_id=t.hierarchy_id,e.hierarchy_name=t.hierarchy_name,e.teamFlag=!0})),t}))})),this.data.array=[{title:"赛事名称",value:m.response.subsidy.competitionname},{title:"赛事编号",value:m.response.subsidy.report_code},{title:"赛项名称",value:m.response.subsidy.competitionsubitem_name},{title:"主办单位",value:m.response.subsidy.sponsor},{title:"赛事级别",value:m.response.subsidy.competition_level_name},{title:"赛事类别",value:m.response.subsidy.competition_type_name},{title:"竞赛形式",value:["团队","个人","不限"][m.response.subsidy.way]},{title:"比赛开始时间",value:m.response.subsidy.begin_time},{title:"比赛结束时间",value:m.response.subsidy.end_time},{title:"审批状态",value:d["a"].flowApprovalState[m.response.subsidy.approval_state]},{title:"补贴总金额",value:m.response.subsidy.subsidy_total}],this.data.keyValueArray=Object.entries(m.response.subsidy),this.$Spin.hide(),t.abrupt("break",119);case 74:return this.$Spin.show(),y={runid:this.runid},t.next=78,c["GetFlowInfo"](y);case 78:return v=t.sent,this.GetFlowLogList(v.response.workload.workloaddeclareid),e(v),this.data.Object=v.response,this.asc.getApiTeamApiTeamTeamAndMemberSelCondition({signid:v.response.workload.competitionsign_id,is_tea:1}).then((function(t){k.competitionsignTeam=t.response.map((function(t,e){return t.student_list.forEach((function(e,i){e.hierarchy_id=t.hierarchy_id,e.hierarchy_name=t.hierarchy_name,e.teamFlag=!0})),t}))})),this.data.array=[{title:"赛事名称",value:v.response.workload.competitionname},{title:"赛事编号",value:v.response.workload.report_code},{title:"赛项名称",value:v.response.workload.competitionsubitem_name},{title:"主办单位",value:v.response.workload.sponsor},{title:"赛事级别",value:v.response.workload.competition_level_name},{title:"赛事类别",value:v.response.workload.competition_type_name},{title:"竞赛形式",value:["团队","个人","不限"][v.response.workload.way]},{title:"比赛开始时间",value:v.response.workload.begin_time},{title:"比赛结束时间",value:v.response.workload.end_time},{title:"审批状态",value:d["a"].flowApprovalState[v.response.workload.approval_state]},{title:"计划培训量",value:v.response.workload.class_hour},{title:"实际培训量",value:v.response.workload.actual_class_hour}],this.data.keyValueArray=Object.entries(v.response.workload),this.$Spin.hide(),t.abrupt("break",119);case 87:return this.$Spin.show(),b={runid:this.runid},t.next=91,c["GetFlowInfo"](b);case 91:return w=t.sent,this.GetFlowLogList(w.response.bursary.competitionreportid),e(w),this.data.Object=w.response,delete w.response.bursary.bursaryid,delete w.response.bursary.grant_file,delete w.response.bursary.competitionreportid,delete w.response.bursary.approval_remark,this.data.keyValueArray=Object.entries(w.response.bursary),this.data.keyValueArray.map((function(t,e){var i=["姓名","性别","学号/工号","身份证","专业/班级","竞赛名称","竞赛文件名","竞赛类别","补助时间","补助金额","计划集训时间","实际集训起止时间","参赛具体情况","创建时间","审批状态"];t.push(i[e])})),this.$Spin.hide(),t.abrupt("break",119);case 103:return this.$Spin.show(),g={runid:this.runid},t.next=107,c["GetFlowInfo"](g);case 107:return x=t.sent,e(x),this.data.Object=x.response,delete x.response.notice.noticeid,delete x.response.notice.typeid,delete x.response.notice.grant_file,delete x.response.notice.createtime,delete x.response.notice.competitionreportid,this.data.keyValueArray=Object.entries(x.response.notice),this.data.keyValueArray.map((function(t,e){var i=["公告标题","公告类型","发布时间","发布用户","修改人","修改时间","是否置顶","是否发布","审批状态","公告内容"];t.push(i[e])})),this.$Spin.hide(),t.abrupt("break",119);case 119:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()},beforeCreate:function(){},created:function(){},beforeMount:function(){},mounted:function(){this.runid=this.$route.query.runid,this.form_name=this.$route.query.form_name,this.flowInfo=this.$route.query.flowInfo,this.getInitList()},beforeUpdate:function(){},updated:function(){},beforeDestroy:function(){},destroyed:function(){},activated:function(){}},p=u,_=(i("f076"),i("2877")),h=Object(_["a"])(p,a,n,!1,null,"24213048",null);e["default"]=h.exports},"45fe":function(t,e,i){},"504c":function(t,e,i){var a=i("9e1e"),n=i("0d58"),s=i("6821"),o=i("52a7").f;t.exports=function(t){return function(e){var i,r=s(e),l=n(r),c=l.length,d=0,u=[];while(c>d)i=l[d++],a&&!o.call(r,i)||u.push(t?[i,r[i]]:r[i]);return u}}},f076:function(t,e,i){"use strict";i("45fe")},ffc1:function(t,e,i){var a=i("5ca1"),n=i("504c")(!0);a(a.S,"Object",{entries:function(t){return n(t)}})}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-3a4fee04"],{"0ce8":function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("Card",{ref:"card",scopedSlots:t._u([{key:"title",fn:function(){return[i("div",{staticStyle:{height:"auto"}},[i("cs-search-cond-form",{ref:"search",attrs:{searchCondList:t.searchCondList,labelWidth:120},on:{onSubmit:t.cssearch,onReset:t.csreset}}),i("cs-button",{ref:"batApproval",attrs:{"cs-type":"warning","cs-style":"","cs-click":t.batApproval,"cs-text":"批量审批"}})],1)]},proxy:!0}])},[i("Table",{attrs:{columns:t.columns,data:t.tableData,loading:t.loading},on:{"on-selection-change":t.onSelectionChange},scopedSlots:t._u([{key:"todo",fn:function(e){var n=e.row;return t._l(n.todo,(function(e,n){return i("span",{key:n},[t._v(t._s(e.replace("[","").replace("]","").replace('"',"")))])}))}},{key:"partcipant",fn:function(e){var n=e.row;return t._l(n.partcipant,(function(e,n){return i("span",{key:n},[t._v(t._s(e.replace("[","").replace("]","").replace('"',"")))])}))}},{key:"status",fn:function(e){var i=e.row;return[t._v("\n "+t._s(["草稿","运行中","已结束"][i.status])+"\n ")]}},{key:"action_type",fn:function(e){var n=e.row;return[i("Tag",{attrs:{color:t.publicState.completeFlow.color[n.action_type]}},[t._v("\n "+t._s(t.publicState.completeFlow.action_type[n.action_type])+"\n ")])]}},{key:"action",fn:function(e){var n=e.row;return[i("a",{on:{click:function(e){return t.approvalLisFun(n)}}},[t._v("审批")])]}}])}),i("div",{staticStyle:{height:"60px",display:"flex","align-items":"center"}},[i("Page",{key:t.pageKey,attrs:{total:t.init.total,"show-total":"","show-sizer":"","page-size":t.init.page_size},on:{"on-change":t.handleChangePage,"on-page-size-change":t.handleChangePageSize},model:{value:t.init.page_index,callback:function(e){t.$set(t.init,"page_index",e)},expression:"init.page_index"}})],1)],1)],1)},a=[],o=(i("8e6e"),i("ac6a"),i("456d"),i("ade3")),s=(i("96cf"),i("1da1")),l=(i("386d"),i("6762"),i("2fdb"),i("967e")),r=i.n(l),c=i("61be"),u=i("7f6b"),f=i("5ccc");function d(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function p(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?d(Object(i),!0).forEach((function(e){Object(o["a"])(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):d(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var h={name:"list",computed:{publicState:function(){return f["a"]}},data:function(){var t=this;return{searchCondList:[{id:"key_name",name:"姓名或工号",type:"input",show:!0,optList:[]},{id:"flow_name",name:"赛事名称",type:"input",show:!0,optList:[]},{id:"status",name:"流程状态",type:"select",show:!0,optList:[{label:"草稿",value:0},{label:"运行中",value:1},{label:"已结束",value:2}]},{id:"action_type",name:"操作类型",type:"select",show:!0,optList:[{value:1,label:"发送"},{value:2,label:"退回"},{value:4,label:"结束"},{value:5,label:"取消"},{value:6,label:"退回到发起人"}]}],batApprovalArray:[],ddd:"",ccc:"",bbb:"",aaa:"",flowStateArray:[{name:"草稿",value:0},{name:"运行中",value:1},{name:"已结束",value:2}],flowSelect:[],formData:{name:"",url:"",owner:"",type:"",approver:"",date:"",desc:""},approvalDrawer:!1,formValidate:{runid:"",title:"",flow_name:"",flow_id:"",status:0,action_type:0,starter:"",starter_name:"",start_time:"",current_node_id:"",current_node_name:"",todo:"",partcipant:"",modifyby:"",modifytime:"",form_id:"",form_name:""},grid:{xl:8,lg:12,md:24,sm:24,xs:24},columns:[{type:"selection",width:60,align:"center"},{title:"赛事名称",key:"title",show:!0,minWidth:300},{title:"流程名称",key:"flow_name",show:!0,minWidth:150},{title:"流程状态",slot:"status",show:!0,minWidth:100},{title:"操作类型",slot:"action_type",show:!0,minWidth:120},{title:"当前节点名称",key:"current_node_name",show:!0,minWidth:200},{title:"当前节点待办人员",slot:"todo",show:!0,minWidth:200},{title:"参与人员",slot:"partcipant",show:!0,minWidth:200},{title:"发起人工号",key:"starter",show:!0,minWidth:150},{title:"发起人姓名",key:"starter_name",show:!0,minWidth:120},{title:"发起时间",key:"start_time",show:!0,minWidth:150},{title:"操作",minWidth:180,fixed:"right",show:!0,slot:"action"}],loading:!1,tableData:[{}],tableSize:"default",tableFullscreen:!1,total:0,collapse:!1,params:{pageIndex:1,pageSize:10,college_id:"",grade:"",classId_Name:"",status:""},init:{action_type:"",status:"",key_name:"",flow_name:"",page_index:1,page_size:10,total:0,flow_id:""},pageKey:1,strategy:{"/flow-awaitDoneList-WorkloadDeclare":function(){t.init.flow_id1=109},"/flow-processedList-WorkloadDeclare":function(){t.init.flow_id1=109},"/flow-myFlowList-WorkloadDeclare":function(){t.init.flow_id1=109},"/flow-awaitDoneList-TeacherBonusDeclare":function(){t.init.flow_id1=107},"/flow-processedList-TeacherBonusDeclare":function(){t.init.flow_id1=107},"/flow-myFlowList-TeacherBonusDeclare":function(){t.init.flow_id1=107},"/flow-awaitDoneList-SubsidyDeclare":function(){t.init.flow_id1=108},"/flow-processedList-SubsidyDeclare":function(){t.init.flow_id1=108},"/flow-myFlowList-SubsidyDeclare":function(){t.init.flow_id1=108},"/flow-awaitDoneList-StudentBonusDeclare":function(){t.init.flow_id1=106},"/flow-processedList-StudentBonusDeclare":function(){t.init.flow_id1=106},"/flow-myFlowList-StudentBonusDeclare":function(){t.init.flow_id1=106},"/flow-awaitDoneList-Certificate":function(){t.init.flow_id1=103},"/flow-processedList-Certificate":function(){t.init.flow_id1=103},"/flow-myFlowList-Certificate":function(){t.init.flow_id1=103},"/flow-awaitDoneList":function(){t.init.flow_id1=102,t.searchCondList.map((function(t){return t.id})).includes("flow_id")||t.searchCondList.push({id:"flow_id",name:"流程类别",type:"select",show:!0,optList:[{label:"学生流程",value:102},{label:"教师流程",value:110}]})},"/flow-processedList":function(){t.init.flow_id1=102,t.searchCondList.map((function(t){return t.id})).includes("flow_id")||t.searchCondList.push({id:"flow_id",name:"流程类别",type:"select",show:!0,optList:[{label:"学生流程",value:102},{label:"教师流程",value:110}]})},"/flow-myFlowList":function(){t.init.flow_id1=102,t.searchCondList.map((function(t){return t.id})).includes("flow_id")||t.searchCondList.push({id:"flow_id",name:"流程类别",type:"select",show:!0,optList:[{label:"学生流程",value:102},{label:"教师流程",value:110}]})}}}},updated:function(){console.log("🚀1231🚀,")},watch:{$route:function(t,e){this.init={action_type:"",status:"",key_name:"",flow_name:"",page_index:1,page_size:10,total:0,flow_id:""},this.strategy[t.path](),this.$refs.search.resetBt()}},created:function(){},mounted:function(){var t=this;this.strategy[this.$route.path](),this.GetFlowTaskList(),c["storageAddEventListener"](Object(s["a"])(r.a.mark((function e(){return r.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t.GetFlowTaskList();case 2:case"end":return e.stop()}}),e)})))),this.GetFlowIdSelect()},methods:{cssearch:function(t){console.log("🚀🚀1111🚀,",t.flow_id),this.strategy[this.$route.path](),this.init=p(p(p({},this.init),t),{},{flow_id:t.flow_id?t.flow_id:this.init.flow_id1}),this.init.flow_id1=this.init.flow_id,console.log(this.init.flow_id1,"🚀🚀🚀,",t.flow_id),this.search()},csreset:function(){this.init={action_type:"",status:"",key_name:"",flow_name:"",page_index:1,page_size:10,total:0,flow_id:""},this.strategy[this.$route.path](),this.initData()},getFlowId:function(){this.strategy[this.$route.path]()},initData:function(){this.getFlowId(),this.init.status1=this.init.status="",this.init.key_name1=this.init.key_name="",this.init.action_type1=this.init.action_type="",this.init.flow_name1=this.init.flow_name="",this.GetFlowTaskList()},search:function(){this.init.status1=this.init.status,this.init.key_name1=this.init.key_name,this.init.action_type1=this.init.action_type,this.init.flow_name1=this.init.flow_name,this.GetFlowTaskList()},onSelectionChange:function(t){var e=[];t.map((function(t){e.push(t.runid)})),this.batApprovalArray=e},batApproval:function(){var t=this;c["publicConfirm"]((function(){return c["myEncapsulationFunction"](Object(s["a"])(r.a.mark((function e(){var i;return r.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t.$refs.batApproval.load=!0,e.next=3,u["FlowApprovalBatch"]({runid_list:t.batApprovalArray});case 3:return i=e.sent,t.$refs.batApproval.load=!1,t.GetFlowTaskList(),e.abrupt("return",i);case 7:case"end":return e.stop()}}),e)}))))}))},flowSelectOnChnage:function(t){this.init.flow_id=t,this.GetFlowTaskList()},GetFlowIdSelect:function(){var t=this;c["getInitListRequest"]((function(){u["GetFlowIdSelect"]().then((function(e){e.response.map((function(t,i){"102"===t.id&&(e.response.unshift(t),e.response.splice(i+1,1))})),t.flowSelect=e.response}))}))},GetFlowTaskList:function(){var t=Object(s["a"])(r.a.mark((function t(){var e,i;return r.a.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return console.log("🚀🚀🚀,",this.init.flow_id1),this.loading=!0,e={page_index:this.init.page_index,page_size:this.init.page_size,flow_id:this.init.flow_id1,key_name:this.init.key_name1,action_type:this.init.action_type1,status:this.init.status1,flow_name:this.init.flow_name1},t.next=5,u["GetFlowTaskList"](e);case 5:i=t.sent,this.init.total=i.response.data_count,this.tableData=i.response.data,this.loading=!1;case 9:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),add:function(){this.$refs.addEdit.add()},approvalLisFun:function(t){this.$router.push({name:"awaitDoneInformation",query:{runid:t.runid,form_name:t.form_name}}),console.log("🚀🚀🚀,",t)},del:function(t){console.log("删除"),this.$Message.info("删除成功")},cancel:function(){this.$Message.info("You click cancel")},handleChangePage:function(t){this.init.page_index=t,this.GetFlowTaskList()},handleChangePageSize:function(t){this.init.page_size=t,this.GetFlowTaskList()}}},w=h,_=i("2877"),m=Object(_["a"])(w,n,a,!1,null,null,null);e["default"]=m.exports},"386d":function(t,e,i){"use strict";var n=i("cb7c"),a=i("83a1"),o=i("5f1b");i("214f")("search",1,(function(t,e,i,s){return[function(i){var n=t(this),a=void 0==i?void 0:i[e];return void 0!==a?a.call(i,n):new RegExp(i)[e](String(n))},function(t){var e=s(i,t,this);if(e.done)return e.value;var l=n(t),r=String(this),c=l.lastIndex;a(c,0)||(l.lastIndex=0);var u=o(l,r);return a(l.lastIndex,c)||(l.lastIndex=c),null===u?-1:u.index}]}))},"83a1":function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t===1/e:t!=t&&e!=e}}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-3a4fee04"],{"0ce8":function(t,i,e){"use strict";e.r(i);var n=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("div",[e("Card",{ref:"card",scopedSlots:t._u([{key:"title",fn:function(){return[e("div",{staticStyle:{height:"auto"}},[e("cs-search-cond-form",{ref:"search",attrs:{searchCondList:t.searchCondList,labelWidth:120,params:t.init},on:{onSubmit:t.cssearch,onReset:t.csreset}}),e("cs-button",{ref:"batApproval",attrs:{"cs-type":"warning","cs-style":"","cs-click":t.batApproval,"cs-text":"批量审批"}})],1)]},proxy:!0}])},[e("Table",{attrs:{columns:t.columns,data:t.tableData,loading:t.loading},on:{"on-selection-change":t.onSelectionChange},scopedSlots:t._u([{key:"todo",fn:function(i){var n=i.row;return t._l(n.todo,(function(i,n){return e("span",{key:n},[t._v(t._s(i.replace("[","").replace("]","").replace('"',"")))])}))}},{key:"partcipant",fn:function(i){var n=i.row;return t._l(n.partcipant,(function(i,n){return e("span",{key:n},[t._v(t._s(i.replace("[","").replace("]","").replace('"',"")))])}))}},{key:"status",fn:function(i){var e=i.row;return[t._v("\n "+t._s(["草稿","运行中","已结束"][e.status])+"\n ")]}},{key:"action_type",fn:function(i){var n=i.row;return[e("Tag",{attrs:{color:t.publicState.completeFlow.color[n.action_type]}},[t._v("\n "+t._s(t.publicState.completeFlow.action_type[n.action_type])+"\n ")])]}},{key:"action",fn:function(i){var n=i.row;return[e("a",{on:{click:function(i){return t.approvalLisFun(n)}}},[t._v("审批")])]}}])}),e("div",{staticStyle:{height:"60px",display:"flex","align-items":"center"}},[e("Page",{key:t.pageKey,attrs:{total:t.init.total,"show-total":"","show-sizer":"","page-size":t.init.page_size},on:{"on-change":t.handleChangePage,"on-page-size-change":t.handleChangePageSize},model:{value:t.init.page_index,callback:function(i){t.$set(t.init,"page_index",i)},expression:"init.page_index"}})],1)],1)],1)},a=[],o=(e("8e6e"),e("456d"),e("ade3")),s=(e("96cf"),e("1da1")),r=(e("386d"),e("ac6a"),e("967e")),c=e.n(r),l=e("61be"),d=e("7f6b"),h=e("5ccc");function u(t,i){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);i&&(n=n.filter((function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable}))),e.push.apply(e,n)}return e}function f(t){for(var i=1;i<arguments.length;i++){var e=null!=arguments[i]?arguments[i]:{};i%2?u(Object(e),!0).forEach((function(i){Object(o["a"])(t,i,e[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):u(Object(e)).forEach((function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))}))}return t}var p={name:"list",computed:{publicState:function(){return h["a"]}},data:function(){var t=this;return{searchCondList:[{id:"key_name",name:"姓名或工号",type:"input",show:!0,optList:[]},{id:"flow_name",name:"赛事名称",type:"input",show:!0,optList:[]},{id:"status",name:"流程状态",type:"select",show:!0,optList:[{label:"草稿",value:0},{label:"运行中",value:1},{label:"已结束",value:2}]},{id:"action_type",name:"操作类型",type:"select",show:!0,optList:[{value:1,label:"发送"},{value:2,label:"退回"},{value:4,label:"结束"},{value:5,label:"取消"},{value:6,label:"退回到发起人"}]},{id:"flow_id",name:"流程类别",type:"select",show:!0,optList:[{label:"学生流程",value:102},{label:"教师流程",value:110}]},{id:"rewardType",name:"师生奖励类别",type:"select",show:!0,optList:[{label:"教师奖励",value:107},{label:"学生奖励",value:106}]}],batApprovalArray:[],ddd:"",ccc:"",bbb:"",aaa:"",flowStateArray:[{name:"草稿",value:0},{name:"运行中",value:1},{name:"已结束",value:2}],flowSelect:[],formData:{name:"",url:"",owner:"",type:"",approver:"",date:"",desc:""},approvalDrawer:!1,formValidate:{runid:"",title:"",flow_name:"",flow_id:"",status:0,action_type:0,starter:"",starter_name:"",start_time:"",current_node_id:"",current_node_name:"",todo:"",partcipant:"",modifyby:"",modifytime:"",form_id:"",form_name:""},grid:{xl:8,lg:12,md:24,sm:24,xs:24},columns:[{type:"selection",width:60,align:"center"},{title:"赛事名称",key:"title",show:!0,minWidth:300},{title:"流程名称",key:"flow_name",show:!0,minWidth:150},{title:"流程状态",slot:"status",show:!0,minWidth:100},{title:"操作类型",slot:"action_type",show:!0,minWidth:120},{title:"当前节点名称",key:"current_node_name",show:!0,minWidth:200},{title:"当前节点待办人员",slot:"todo",show:!0,minWidth:200},{title:"参与人员",slot:"partcipant",show:!0,minWidth:200},{title:"发起人工号",key:"starter",show:!0,minWidth:150},{title:"发起人姓名",key:"starter_name",show:!0,minWidth:120},{title:"发起时间",key:"start_time",show:!0,minWidth:150},{title:"操作",minWidth:180,fixed:"right",show:!0,slot:"action"}],loading:!1,tableData:[{}],tableSize:"default",tableFullscreen:!1,total:0,collapse:!1,params:{pageIndex:1,pageSize:10,college_id:"",grade:"",classId_Name:"",status:""},init:{action_type:"",status:"",key_name:"",flow_name:"",page_index:1,page_size:10,total:0,flow_id:"",rewardType:""},pageKey:1,strategy:{"/flow-awaitDoneList-rewardForTeachersAndStudents":function(){t.initSearchCondition(),t.init.flow_id1=107,t.searchCondList.forEach((function(i,e){"flow_id"===i.id&&t.searchCondList.splice(e,1)}))},"/flow-processedList-rewardForTeachersAndStudents":function(){t.initSearchCondition(),t.init.flow_id1=107,t.searchCondList.forEach((function(i,e){"flow_id"===i.id&&t.searchCondList.splice(e,1)}))},"/flow-myFlowList-rewardForTeachersAndStudents":function(){t.initSearchCondition(),t.init.flow_id1=107,t.searchCondList.forEach((function(i,e){"flow_id"===i.id&&t.searchCondList.splice(e,1)}))},"/flow-awaitDoneList-WorkloadDeclare":function(){t.initSearchCondition(),t.init.flow_id1=109,t.searchCondList.forEach((function(i,e){"rewardType"===i.id&&t.searchCondList.splice(e,1)}))},"/flow-processedList-WorkloadDeclare":function(){t.initSearchCondition(),t.init.flow_id1=109,t.searchCondList.forEach((function(i,e){"rewardType"===i.id&&t.searchCondList.splice(e,1)}))},"/flow-myFlowList-WorkloadDeclare":function(){t.initSearchCondition(),t.init.flow_id1=109,t.searchCondList.forEach((function(i,e){"rewardType"===i.id&&t.searchCondList.splice(e,1)}))},"/flow-awaitDoneList-TeacherBonusDeclare":function(){t.initSearchCondition(),t.init.flow_id1=107,t.searchCondList.forEach((function(i,e){"rewardType"===i.id&&t.searchCondList.splice(e,1)}))},"/flow-processedList-TeacherBonusDeclare":function(){t.initSearchCondition(),t.init.flow_id1=107,t.searchCondList.forEach((function(i,e){"rewardType"===i.id&&t.searchCondList.splice(e,1)}))},"/flow-myFlowList-TeacherBonusDeclare":function(){t.initSearchCondition(),t.init.flow_id1=107,t.searchCondList.forEach((function(i,e){"rewardType"===i.id&&t.searchCondList.splice(e,1)}))},"/flow-awaitDoneList-SubsidyDeclare":function(){t.initSearchCondition(),t.init.flow_id1=108,t.searchCondList.forEach((function(i,e){"rewardType"===i.id&&t.searchCondList.splice(e,1)}))},"/flow-processedList-SubsidyDeclare":function(){t.initSearchCondition(),t.init.flow_id1=108,t.searchCondList.forEach((function(i,e){"rewardType"===i.id&&t.searchCondList.splice(e,1)}))},"/flow-myFlowList-SubsidyDeclare":function(){t.initSearchCondition(),t.init.flow_id1=108,t.searchCondList.forEach((function(i,e){"rewardType"===i.id&&t.searchCondList.splice(e,1)}))},"/flow-awaitDoneList-StudentBonusDeclare":function(){t.initSearchCondition(),t.init.flow_id1=106,t.searchCondList.forEach((function(i,e){"rewardType"===i.id&&t.searchCondList.splice(e,1)}))},"/flow-processedList-StudentBonusDeclare":function(){t.initSearchCondition(),t.init.flow_id1=106,t.searchCondList.forEach((function(i,e){"rewardType"===i.id&&t.searchCondList.splice(e,1)}))},"/flow-myFlowList-StudentBonusDeclare":function(){t.initSearchCondition(),t.init.flow_id1=106,t.searchCondList.forEach((function(i,e){"rewardType"===i.id&&t.searchCondList.splice(e,1)}))},"/flow-awaitDoneList-Certificate":function(){t.initSearchCondition(),t.init.flow_id1=103,t.searchCondList.forEach((function(i,e){"rewardType"===i.id&&t.searchCondList.splice(e,1)}))},"/flow-processedList-Certificate":function(){t.initSearchCondition(),t.init.flow_id1=103,t.searchCondList.forEach((function(i,e){"rewardType"===i.id&&t.searchCondList.splice(e,1)}))},"/flow-myFlowList-Certificate":function(){t.initSearchCondition(),t.init.flow_id1=103,t.searchCondList.forEach((function(i,e){"rewardType"===i.id&&t.searchCondList.splice(e,1)}))},"/flow-awaitDoneList":function(){t.initSearchCondition(),t.init.flow_id1=102,t.searchCondList.forEach((function(i,e){"rewardType"===i.id&&t.searchCondList.splice(e,1)}))},"/flow-processedList":function(){t.initSearchCondition(),t.init.flow_id1=102,t.searchCondList.forEach((function(i,e){"rewardType"===i.id&&t.searchCondList.splice(e,1)}))},"/flow-myFlowList":function(){t.initSearchCondition(),t.init.flow_id1=102,t.searchCondList.forEach((function(i,e){"rewardType"===i.id&&t.searchCondList.splice(e,1)}))}}}},updated:function(){console.log("🚀1231🚀,")},watch:{$route:function(t,i){this.init={action_type:"",status:"",key_name:"",flow_name:"",page_index:1,page_size:10,total:0,flow_id:""},this.strategy[t.path](),this.$refs.search.resetBt()}},created:function(){},mounted:function(){var t=this;this.strategy[this.$route.path](),this.GetFlowTaskList(),l["storageAddEventListener"](Object(s["a"])(c.a.mark((function i(){return c.a.wrap((function(i){while(1)switch(i.prev=i.next){case 0:return i.next=2,t.GetFlowTaskList();case 2:case"end":return i.stop()}}),i)})))),this.GetFlowIdSelect()},methods:{deleteSearchArrayData:function(t){var i=this;this.searchCondList.forEach((function(e,n){e.id===t&&i.searchCondList.splice(n,1)}))},initSearchCondition:function(){this.searchCondList=[{id:"key_name",name:"姓名或工号",type:"input",show:!0,optList:[]},{id:"flow_name",name:"赛事名称",type:"input",show:!0,optList:[]},{id:"status",name:"流程状态",type:"select",show:!0,optList:[{label:"草稿",value:0},{label:"运行中",value:1},{label:"已结束",value:2}]},{id:"action_type",name:"操作类型",type:"select",show:!0,optList:[{value:1,label:"发送"},{value:2,label:"退回"},{value:4,label:"结束"},{value:5,label:"取消"},{value:6,label:"退回到发起人"}]},{id:"flow_id",name:"流程类别",type:"select",show:!0,optList:[{label:"学生流程",value:102},{label:"教师流程",value:110}]},{id:"rewardType",name:"师生奖励类别",type:"select",show:!0,optList:[{label:"教师奖励",value:107},{label:"学生奖励",value:106}]}]},cssearch:function(t){t.rewardType?(this.init=f(f(f({},this.init),t),{},{flow_id:t.rewardType}),this.init.flow_id1=this.init.flow_id):(this.strategy[this.$route.path](),this.init=f(f(f({},this.init),t),{},{flow_id:t.flow_id?t.flow_id:this.init.flow_id1}),this.init.flow_id1=this.init.flow_id),this.search()},csreset:function(){this.init={action_type:"",status:"",key_name:"",flow_name:"",page_index:1,page_size:10,total:0,flow_id:""},this.strategy[this.$route.path](),this.initData()},getFlowId:function(){this.strategy[this.$route.path]()},initData:function(){this.getFlowId(),this.init.status1=this.init.status="",this.init.key_name1=this.init.key_name="",this.init.action_type1=this.init.action_type="",this.init.flow_name1=this.init.flow_name="",this.GetFlowTaskList()},search:function(){this.init.status1=this.init.status,this.init.key_name1=this.init.key_name,this.init.action_type1=this.init.action_type,this.init.flow_name1=this.init.flow_name,this.GetFlowTaskList()},onSelectionChange:function(t){var i=[];t.map((function(t){i.push(t.runid)})),this.batApprovalArray=i},batApproval:function(){var t=this;l["publicConfirm"]((function(){return l["myEncapsulationFunction"](Object(s["a"])(c.a.mark((function i(){var e;return c.a.wrap((function(i){while(1)switch(i.prev=i.next){case 0:return t.$refs.batApproval.load=!0,i.next=3,d["FlowApprovalBatch"]({runid_list:t.batApprovalArray});case 3:return e=i.sent,t.$refs.batApproval.load=!1,t.GetFlowTaskList(),i.abrupt("return",e);case 7:case"end":return i.stop()}}),i)}))))}))},flowSelectOnChnage:function(t){this.init.flow_id=t,this.GetFlowTaskList()},GetFlowIdSelect:function(){var t=this;l["getInitListRequest"]((function(){d["GetFlowIdSelect"]().then((function(i){i.response.map((function(t,e){"102"===t.id&&(i.response.unshift(t),i.response.splice(e+1,1))})),t.flowSelect=i.response}))}))},GetFlowTaskList:function(){var t=Object(s["a"])(c.a.mark((function t(){var i,e;return c.a.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return console.log("🚀🚀🚀,",this.init.flow_id1),this.loading=!0,i={page_index:this.init.page_index,page_size:this.init.page_size,flow_id:this.init.flow_id1,key_name:this.init.key_name1,action_type:this.init.action_type1,status:this.init.status1,flow_name:this.init.flow_name1},t.next=5,d["GetFlowTaskList"](i);case 5:e=t.sent,this.init.total=e.response.data_count,this.tableData=e.response.data,this.loading=!1;case 9:case"end":return t.stop()}}),t,this)})));function i(){return t.apply(this,arguments)}return i}(),add:function(){this.$refs.addEdit.add()},approvalLisFun:function(t){this.$router.push({name:"awaitDoneInformation",query:{runid:t.runid,form_name:t.form_name}}),console.log("🚀🚀🚀,",t)},del:function(t){console.log("删除"),this.$Message.info("删除成功")},cancel:function(){this.$Message.info("You click cancel")},handleChangePage:function(t){this.init.page_index=t,this.GetFlowTaskList()},handleChangePageSize:function(t){this.init.page_size=t,this.GetFlowTaskList()}}},w=p,_=e("2877"),y=Object(_["a"])(w,n,a,!1,null,null,null);i["default"]=y.exports},"386d":function(t,i,e){"use strict";var n=e("cb7c"),a=e("83a1"),o=e("5f1b");e("214f")("search",1,(function(t,i,e,s){return[function(e){var n=t(this),a=void 0==e?void 0:e[i];return void 0!==a?a.call(e,n):new RegExp(e)[i](String(n))},function(t){var i=s(e,t,this);if(i.done)return i.value;var r=n(t),c=String(this),l=r.lastIndex;a(l,0)||(r.lastIndex=0);var d=o(r,c);return a(r.lastIndex,l)||(r.lastIndex=l),null===d?-1:d.index}]}))},"83a1":function(t,i){t.exports=Object.is||function(t,i){return t===i?0!==t||1/t===1/i:t!=t&&i!=i}}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-45e8c55e"],{"386d":function(t,e,i){"use strict";var n=i("cb7c"),a=i("83a1"),o=i("5f1b");i("214f")("search",1,(function(t,e,i,s){return[function(i){var n=t(this),a=void 0==i?void 0:i[e];return void 0!==a?a.call(i,n):new RegExp(i)[e](String(n))},function(t){var e=s(i,t,this);if(e.done)return e.value;var l=n(t),r=String(this),c=l.lastIndex;a(c,0)||(l.lastIndex=0);var u=o(l,r);return a(l.lastIndex,c)||(l.lastIndex=c),null===u?-1:u.index}]}))},"83a1":function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t===1/e:t!=t&&e!=e}},"882e":function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("Card",{ref:"card",scopedSlots:t._u([{key:"title",fn:function(){return[i("div",{staticStyle:{height:"auto"}},[i("cs-search-cond-form",{ref:"search",attrs:{searchCondList:t.searchCondList,labelWidth:120},on:{onSubmit:t.cssearch,onReset:t.csreset}})],1)]},proxy:!0}])},[i("Table",{attrs:{columns:t.columns,data:t.tableData,loading:t.loading},scopedSlots:t._u([{key:"todo",fn:function(e){var n=e.row;return t._l(n.todo,(function(e,n){return i("span",{key:n},[t._v(t._s(e.replace("[","").replace("]","").replace('"',"")))])}))}},{key:"partcipant",fn:function(e){var n=e.row;return t._l(n.partcipant,(function(e,n){return i("span",{key:n},[t._v(t._s(e.replace("[","").replace("]","").replace('"',"")))])}))}},{key:"status",fn:function(e){var i=e.row;return[t._v("\n "+t._s(["草稿","运行中","已结束"][i.status])+"\n ")]}},{key:"action_type",fn:function(e){var n=e.row;return[i("Tag",{attrs:{color:t.publicState.completeFlow.color[n.action_type]}},[t._v("\n "+t._s(t.publicState.completeFlow.action_type[n.action_type])+"\n ")])]}},{key:"action",fn:function(e){var n=e.row;return[i("a",{on:{click:function(e){return t.approvalLisFun(n)}}},[t._v("详细")])]}}])}),i("div",{staticStyle:{height:"60px",display:"flex","align-items":"center"}},[i("Page",{key:t.pageKey,attrs:{total:t.init.total,"show-total":"","show-sizer":"","page-size":t.init.page_size},on:{"on-change":t.handleChangePage,"on-page-size-change":t.handleChangePageSize},model:{value:t.init.page_index,callback:function(e){t.$set(t.init,"page_index",e)},expression:"init.page_index"}})],1)],1)],1)},a=[],o=(i("8e6e"),i("ac6a"),i("456d"),i("96cf"),i("1da1")),s=i("ade3"),l=(i("386d"),i("6762"),i("2fdb"),i("967e")),r=i.n(l),c=i("61be"),u=i("7f6b"),d=i("5ccc");i("a18c");function f(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function h(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?f(Object(i),!0).forEach((function(e){Object(s["a"])(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):f(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var p={name:"list",computed:{publicState:function(){return d["a"]}},data:function(){var t=this;return{searchCondList:[{id:"key_name",name:"姓名或工号",type:"input",show:!0,optList:[]},{id:"flow_name",name:"赛事名称",type:"input",show:!0,optList:[]},{id:"status",name:"流程状态",type:"select",show:!0,optList:[{label:"草稿",value:0},{label:"运行中",value:1},{label:"已结束",value:2}]},{id:"action_type",name:"操作类型",type:"select",show:!0,optList:[{value:1,label:"发送"},{value:2,label:"退回"},{value:4,label:"结束"},{value:5,label:"取消"},{value:6,label:"退回到发起人"}]}],flowSelect:[],ddd:"",ccc:"",bbb:"",aaa:"",flowStateArray:[{name:"草稿",value:0},{name:"运行中",value:1},{name:"已结束",value:2}],formData:{name:"",url:"",owner:"",type:"",approver:"",date:"",desc:""},approvalDrawer:!1,formValidate:{runid:"",title:"",flow_name:"",flow_id:"",status:0,action_type:0,starter:"",starter_name:"",start_time:"",current_node_id:"",current_node_name:"",todo:"",partcipant:"",modifyby:"",modifytime:"",form_id:"",form_name:""},grid:{xl:8,lg:12,md:24,sm:24,xs:24},columns:[{title:"序号",type:"index",show:!0,width:80},{title:"赛事名称",key:"title",show:!0,minWidth:300},{title:"流程名称",key:"flow_name",show:!0,minWidth:150},{title:"流程状态",slot:"status",show:!0,minWidth:100},{title:"操作类型",slot:"action_type",show:!0,minWidth:120},{title:"当前节点名称",key:"current_node_name",show:!0,minWidth:200},{title:"当前节点待办人员",slot:"todo",show:!0,minWidth:200},{title:"参与人",slot:"partcipant",show:!0,minWidth:200},{title:"发起人",key:"starter",show:!0,minWidth:150},{title:"发起人姓名",key:"starter_name",show:!0,minWidth:120},{title:"发起时间",key:"start_time",show:!0,minWidth:150},{title:"操作",minWidth:180,fixed:"right",show:!0,slot:"action"}],loading:!1,tableData:[{}],tableSize:"default",tableFullscreen:!1,total:0,collapse:!1,params:{pageIndex:1,pageSize:10,college_id:"",grade:"",classId_Name:"",status:""},init:{flow_id:"",action_type:"",status:"",key_name:"",flow_name:"",page_index:1,page_size:10,total:0},pageKey:1,strategy:{"/flow-awaitDoneList-WorkloadDeclare":function(){t.init.flow_id1=109},"/flow-processedList-WorkloadDeclare":function(){t.init.flow_id1=109},"/flow-myFlowList-WorkloadDeclare":function(){t.init.flow_id1=109},"/flow-awaitDoneList-TeacherBonusDeclare":function(){t.init.flow_id1=107},"/flow-processedList-TeacherBonusDeclare":function(){t.init.flow_id1=107},"/flow-myFlowList-TeacherBonusDeclare":function(){t.init.flow_id1=107},"/flow-awaitDoneList-SubsidyDeclare":function(){t.init.flow_id1=108},"/flow-processedList-SubsidyDeclare":function(){t.init.flow_id1=108},"/flow-myFlowList-SubsidyDeclare":function(){t.init.flow_id1=108},"/flow-awaitDoneList-StudentBonusDeclare":function(){t.init.flow_id1=106},"/flow-processedList-StudentBonusDeclare":function(){t.init.flow_id1=106},"/flow-myFlowList-StudentBonusDeclare":function(){t.init.flow_id1=106},"/flow-awaitDoneList-Certificate":function(){t.init.flow_id1=103},"/flow-processedList-Certificate":function(){t.init.flow_id1=103},"/flow-myFlowList-Certificate":function(){t.init.flow_id1=103},"/flow-awaitDoneList":function(){t.init.flow_id1=102,t.searchCondList.map((function(t){return t.id})).includes("flow_id")||t.searchCondList.push({id:"flow_id",name:"流程类别",type:"select",show:!0,optList:[{label:"学生流程",value:102},{label:"教师流程",value:110}]})},"/flow-processedList":function(){t.init.flow_id1=102,t.searchCondList.map((function(t){return t.id})).includes("flow_id")||t.searchCondList.push({id:"flow_id",name:"流程类别",type:"select",show:!0,optList:[{label:"学生流程",value:102},{label:"教师流程",value:110}]})},"/flow-myFlowList":function(){t.init.flow_id1=102,t.searchCondList.map((function(t){return t.id})).includes("flow_id")||t.searchCondList.push({id:"flow_id",name:"流程类别",type:"select",show:!0,optList:[{label:"学生流程",value:102},{label:"教师流程",value:110}]})}}}},created:function(){},watch:{$route:function(t,e){this.init={action_type:"",status:"",key_name:"",flow_name:"",page_index:1,page_size:10,total:0,flow_id:""},this.strategy[t.path](),this.$refs.search.resetBt()}},mounted:function(){this.strategy[this.$route.path](),this.GetFlowTaskList(),this.GetFlowIdSelect()},methods:{cssearch:function(t){this.strategy[this.$route.path](),this.init=h(h(h({},this.init),t),{},{flow_id:t.flow_id?t.flow_id:this.init.flow_id1}),this.init.flow_id1=this.init.flow_id,this.search()},csreset:function(){this.init={action_type:"",status:"",key_name:"",flow_name:"",page_index:1,page_size:10,total:0,flow_id:""},this.strategy[this.$route.path](),this.initData()},getFlowId:function(){this.strategy[this.$route.path]()},initData:function(){this.getFlowId(),this.init.status1=this.init.status="",this.init.key_name1=this.init.key_name="",this.init.action_type1=this.init.action_type="",this.init.flow_name1=this.init.flow_name="",this.GetFlowTaskList()},search:function(){this.init.status1=this.init.status,this.init.key_name1=this.init.key_name,this.init.action_type1=this.init.action_type,this.init.flow_name1=this.init.flow_name,this.GetFlowTaskList()},GetFlowIdSelect:function(){var t=this;c["getInitListRequest"]((function(){u["GetFlowIdSelect"]().then((function(e){e.response.map((function(t,i){"102"===t.id&&(e.response.unshift(t),e.response.splice(i+1,1))})),t.flowSelect=e.response}))}))},GetFlowTaskList:function(){var t=Object(o["a"])(r.a.mark((function t(){var e,i;return r.a.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return this.loading=!0,e={page_index:this.init.page_index,page_size:this.init.page_size,flow_id:this.init.flow_id1,key_name:this.init.key_name1,action_type:this.init.action_type1,status:this.init.status1,flow_name:this.init.flow_name1},t.next=4,u["GetAlreadyFlowTaskList"](e);case 4:i=t.sent,this.init.total=i.response.data_count,this.tableData=i.response.data,this.loading=!1;case 8:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),add:function(){this.$refs.addEdit.add()},approvalLisFun:function(t){this.$router.push({name:"awaitDoneInformation",query:{runid:t.runid,form_name:t.form_name,flowInfo:"流程详细信息"}}),console.log("🚀🚀🚀,",t)},del:function(t){console.log("删除"),this.$Message.info("删除成功")},cancel:function(){this.$Message.info("You click cancel")},handleChangePage:function(t){this.init.page_index=t,this.GetFlowTaskList()},handleChangePageSize:function(t){this.init.page_size=t,this.GetFlowTaskList()}}},w=p,_=i("2877"),m=Object(_["a"])(w,n,a,!1,null,null,null);e["default"]=m.exports}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-45e8c55e"],{"386d":function(t,i,e){"use strict";var n=e("cb7c"),a=e("83a1"),o=e("5f1b");e("214f")("search",1,(function(t,i,e,s){return[function(e){var n=t(this),a=void 0==e?void 0:e[i];return void 0!==a?a.call(e,n):new RegExp(e)[i](String(n))},function(t){var i=s(e,t,this);if(i.done)return i.value;var r=n(t),c=String(this),l=r.lastIndex;a(l,0)||(r.lastIndex=0);var d=o(r,c);return a(r.lastIndex,l)||(r.lastIndex=l),null===d?-1:d.index}]}))},"83a1":function(t,i){t.exports=Object.is||function(t,i){return t===i?0!==t||1/t===1/i:t!=t&&i!=i}},"882e":function(t,i,e){"use strict";e.r(i);var n=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("div",[e("Card",{ref:"card",scopedSlots:t._u([{key:"title",fn:function(){return[e("div",{staticStyle:{height:"auto"}},[e("cs-search-cond-form",{ref:"search",attrs:{searchCondList:t.searchCondList,labelWidth:120,params:t.init},on:{onSubmit:t.cssearch,onReset:t.csreset}})],1)]},proxy:!0}])},[e("Table",{attrs:{columns:t.columns,data:t.tableData,loading:t.loading},scopedSlots:t._u([{key:"todo",fn:function(i){var n=i.row;return t._l(n.todo,(function(i,n){return e("span",{key:n},[t._v(t._s(i.replace("[","").replace("]","").replace('"',"")))])}))}},{key:"partcipant",fn:function(i){var n=i.row;return t._l(n.partcipant,(function(i,n){return e("span",{key:n},[t._v(t._s(i.replace("[","").replace("]","").replace('"',"")))])}))}},{key:"status",fn:function(i){var e=i.row;return[t._v("\n "+t._s(["草稿","运行中","已结束"][e.status])+"\n ")]}},{key:"action_type",fn:function(i){var n=i.row;return[e("Tag",{attrs:{color:t.publicState.completeFlow.color[n.action_type]}},[t._v("\n "+t._s(t.publicState.completeFlow.action_type[n.action_type])+"\n ")])]}},{key:"action",fn:function(i){var n=i.row;return[e("a",{on:{click:function(i){return t.approvalLisFun(n)}}},[t._v("详细")])]}}])}),e("div",{staticStyle:{height:"60px",display:"flex","align-items":"center"}},[e("Page",{key:t.pageKey,attrs:{total:t.init.total,"show-total":"","show-sizer":"","page-size":t.init.page_size},on:{"on-change":t.handleChangePage,"on-page-size-change":t.handleChangePageSize},model:{value:t.init.page_index,callback:function(i){t.$set(t.init,"page_index",i)},expression:"init.page_index"}})],1)],1)],1)},a=[],o=(e("8e6e"),e("456d"),e("96cf"),e("1da1")),s=e("ade3"),r=(e("386d"),e("ac6a"),e("967e")),c=e.n(r),l=e("61be"),d=e("7f6b"),h=e("5ccc");e("a18c");function f(t,i){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);i&&(n=n.filter((function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable}))),e.push.apply(e,n)}return e}function u(t){for(var i=1;i<arguments.length;i++){var e=null!=arguments[i]?arguments[i]:{};i%2?f(Object(e),!0).forEach((function(i){Object(s["a"])(t,i,e[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):f(Object(e)).forEach((function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))}))}return t}var p={name:"list",computed:{publicState:function(){return h["a"]}},data:function(){var t=this;return{searchCondList:[{id:"key_name",name:"姓名或工号",type:"input",show:!0,optList:[]},{id:"flow_name",name:"赛事名称",type:"input",show:!0,optList:[]},{id:"status",name:"流程状态",type:"select",show:!0,optList:[{label:"草稿",value:0},{label:"运行中",value:1},{label:"已结束",value:2}]},{id:"action_type",name:"操作类型",type:"select",show:!0,optList:[{value:1,label:"发送"},{value:2,label:"退回"},{value:4,label:"结束"},{value:5,label:"取消"},{value:6,label:"退回到发起人"}]},{id:"flow_id",name:"流程类别",type:"select",show:!0,optList:[{label:"学生流程",value:102},{label:"教师流程",value:110}]},{id:"rewardType",name:"师生奖励类别",type:"select",show:!0,optList:[{label:"教师奖励",value:107},{label:"学生奖励",value:106}]}],flowSelect:[],ddd:"",ccc:"",bbb:"",aaa:"",flowStateArray:[{name:"草稿",value:0},{name:"运行中",value:1},{name:"已结束",value:2}],formData:{name:"",url:"",owner:"",type:"",approver:"",date:"",desc:""},approvalDrawer:!1,formValidate:{runid:"",title:"",flow_name:"",flow_id:"",status:0,action_type:0,starter:"",starter_name:"",start_time:"",current_node_id:"",current_node_name:"",todo:"",partcipant:"",modifyby:"",modifytime:"",form_id:"",form_name:""},grid:{xl:8,lg:12,md:24,sm:24,xs:24},columns:[{title:"序号",type:"index",show:!0,width:80},{title:"赛事名称",key:"title",show:!0,minWidth:300},{title:"流程名称",key:"flow_name",show:!0,minWidth:150},{title:"流程状态",slot:"status",show:!0,minWidth:100},{title:"操作类型",slot:"action_type",show:!0,minWidth:120},{title:"当前节点名称",key:"current_node_name",show:!0,minWidth:200},{title:"当前节点待办人员",slot:"todo",show:!0,minWidth:200},{title:"参与人",slot:"partcipant",show:!0,minWidth:200},{title:"发起人",key:"starter",show:!0,minWidth:150},{title:"发起人姓名",key:"starter_name",show:!0,minWidth:120},{title:"发起时间",key:"start_time",show:!0,minWidth:150},{title:"操作",minWidth:180,fixed:"right",show:!0,slot:"action"}],loading:!1,tableData:[{}],tableSize:"default",tableFullscreen:!1,total:0,collapse:!1,params:{pageIndex:1,pageSize:10,college_id:"",grade:"",classId_Name:"",status:""},init:{flow_id:"",action_type:"",status:"",key_name:"",flow_name:"",page_index:1,page_size:10,total:0,rewardType:""},pageKey:1,strategy:{"/flow-awaitDoneList-rewardForTeachersAndStudents":function(){t.initSearchCondition(),t.init.flow_id1=107,t.init.flow_id=107,t.searchCondList.forEach((function(i,e){"flow_id"===i.id&&t.searchCondList.splice(e,1)}))},"/flow-processedList-rewardForTeachersAndStudents":function(){t.initSearchCondition(),t.init.flow_id1=107,t.searchCondList.forEach((function(i,e){"flow_id"===i.id&&t.searchCondList.splice(e,1)}))},"/flow-myFlowList-rewardForTeachersAndStudents":function(){t.initSearchCondition(),t.init.flow_id1=107,t.searchCondList.forEach((function(i,e){"flow_id"===i.id&&t.searchCondList.splice(e,1)}))},"/flow-awaitDoneList-WorkloadDeclare":function(){t.initSearchCondition(),t.init.flow_id1=109,t.searchCondList.forEach((function(i,e){"rewardType"===i.id&&t.searchCondList.splice(e,1)}))},"/flow-processedList-WorkloadDeclare":function(){t.initSearchCondition(),t.init.flow_id1=109,t.searchCondList.forEach((function(i,e){"rewardType"===i.id&&t.searchCondList.splice(e,1)}))},"/flow-myFlowList-WorkloadDeclare":function(){t.initSearchCondition(),t.init.flow_id1=109,t.searchCondList.forEach((function(i,e){"rewardType"===i.id&&t.searchCondList.splice(e,1)}))},"/flow-awaitDoneList-TeacherBonusDeclare":function(){t.initSearchCondition(),t.init.flow_id1=107,t.searchCondList.forEach((function(i,e){"rewardType"===i.id&&t.searchCondList.splice(e,1)}))},"/flow-processedList-TeacherBonusDeclare":function(){t.initSearchCondition(),t.init.flow_id1=107,t.searchCondList.forEach((function(i,e){"rewardType"===i.id&&t.searchCondList.splice(e,1)}))},"/flow-myFlowList-TeacherBonusDeclare":function(){t.initSearchCondition(),t.init.flow_id1=107,t.searchCondList.forEach((function(i,e){"rewardType"===i.id&&t.searchCondList.splice(e,1)}))},"/flow-awaitDoneList-SubsidyDeclare":function(){t.initSearchCondition(),t.init.flow_id1=108,t.searchCondList.forEach((function(i,e){"rewardType"===i.id&&t.searchCondList.splice(e,1)}))},"/flow-processedList-SubsidyDeclare":function(){t.initSearchCondition(),t.init.flow_id1=108,t.searchCondList.forEach((function(i,e){"rewardType"===i.id&&t.searchCondList.splice(e,1)}))},"/flow-myFlowList-SubsidyDeclare":function(){t.initSearchCondition(),t.init.flow_id1=108,t.searchCondList.forEach((function(i,e){"rewardType"===i.id&&t.searchCondList.splice(e,1)}))},"/flow-awaitDoneList-StudentBonusDeclare":function(){t.initSearchCondition(),t.init.flow_id1=106,t.searchCondList.forEach((function(i,e){"rewardType"===i.id&&t.searchCondList.splice(e,1)}))},"/flow-processedList-StudentBonusDeclare":function(){t.initSearchCondition(),t.init.flow_id1=106,t.searchCondList.forEach((function(i,e){"rewardType"===i.id&&t.searchCondList.splice(e,1)}))},"/flow-myFlowList-StudentBonusDeclare":function(){t.initSearchCondition(),t.init.flow_id1=106,t.searchCondList.forEach((function(i,e){"rewardType"===i.id&&t.searchCondList.splice(e,1)}))},"/flow-awaitDoneList-Certificate":function(){t.initSearchCondition(),t.init.flow_id1=103,t.searchCondList.forEach((function(i,e){"rewardType"===i.id&&t.searchCondList.splice(e,1)}))},"/flow-processedList-Certificate":function(){t.initSearchCondition(),t.init.flow_id1=103,t.searchCondList.forEach((function(i,e){"rewardType"===i.id&&t.searchCondList.splice(e,1)}))},"/flow-myFlowList-Certificate":function(){t.initSearchCondition(),t.init.flow_id1=103,t.searchCondList.forEach((function(i,e){"rewardType"===i.id&&t.searchCondList.splice(e,1)}))},"/flow-awaitDoneList":function(){t.initSearchCondition(),t.init.flow_id1=102,t.searchCondList.forEach((function(i,e){"rewardType"===i.id&&t.searchCondList.splice(e,1)}))},"/flow-processedList":function(){t.initSearchCondition(),t.init.flow_id1=102,t.searchCondList.forEach((function(i,e){"rewardType"===i.id&&t.searchCondList.splice(e,1)}))},"/flow-myFlowList":function(){t.initSearchCondition(),t.init.flow_id1=102,t.searchCondList.forEach((function(i,e){"rewardType"===i.id&&t.searchCondList.splice(e,1)}))}}}},created:function(){},watch:{$route:function(t,i){this.init={action_type:"",status:"",key_name:"",flow_name:"",page_index:1,page_size:10,total:0,flow_id:""},this.strategy[t.path](),this.$refs.search.resetBt()}},mounted:function(){this.strategy[this.$route.path](),this.GetFlowTaskList(),this.GetFlowIdSelect()},methods:{initSearchCondition:function(){this.searchCondList=[{id:"key_name",name:"姓名或工号",type:"input",show:!0,optList:[]},{id:"flow_name",name:"赛事名称",type:"input",show:!0,optList:[]},{id:"status",name:"流程状态",type:"select",show:!0,optList:[{label:"草稿",value:0},{label:"运行中",value:1},{label:"已结束",value:2}]},{id:"action_type",name:"操作类型",type:"select",show:!0,optList:[{value:1,label:"发送"},{value:2,label:"退回"},{value:4,label:"结束"},{value:5,label:"取消"},{value:6,label:"退回到发起人"}]},{id:"flow_id",name:"流程类别",type:"select",show:!0,optList:[{label:"学生流程",value:102},{label:"教师流程",value:110}]},{id:"rewardType",name:"师生奖励类别",type:"select",show:!0,optList:[{label:"教师奖励",value:107},{label:"学生奖励",value:106}]}]},cssearch:function(t){t.rewardType?(this.init=u(u(u({},this.init),t),{},{flow_id:t.rewardType}),this.init.flow_id1=this.init.flow_id):(this.strategy[this.$route.path](),this.init=u(u(u({},this.init),t),{},{flow_id:t.flow_id?t.flow_id:this.init.flow_id1}),this.init.flow_id1=this.init.flow_id),this.search()},csreset:function(){this.init={action_type:"",status:"",key_name:"",flow_name:"",page_index:1,page_size:10,total:0,flow_id:""},this.strategy[this.$route.path](),this.initData()},getFlowId:function(){this.strategy[this.$route.path]()},initData:function(){this.getFlowId(),this.init.status1=this.init.status="",this.init.key_name1=this.init.key_name="",this.init.action_type1=this.init.action_type="",this.init.flow_name1=this.init.flow_name="",this.GetFlowTaskList()},search:function(){this.init.status1=this.init.status,this.init.key_name1=this.init.key_name,this.init.action_type1=this.init.action_type,this.init.flow_name1=this.init.flow_name,this.GetFlowTaskList()},GetFlowIdSelect:function(){var t=this;l["getInitListRequest"]((function(){d["GetFlowIdSelect"]().then((function(i){i.response.map((function(t,e){"102"===t.id&&(i.response.unshift(t),i.response.splice(e+1,1))})),t.flowSelect=i.response}))}))},GetFlowTaskList:function(){var t=Object(o["a"])(c.a.mark((function t(){var i,e;return c.a.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return this.loading=!0,i={page_index:this.init.page_index,page_size:this.init.page_size,flow_id:this.init.flow_id1,key_name:this.init.key_name1,action_type:this.init.action_type1,status:this.init.status1,flow_name:this.init.flow_name1},t.next=4,d["GetAlreadyFlowTaskList"](i);case 4:e=t.sent,this.init.total=e.response.data_count,this.tableData=e.response.data,this.loading=!1;case 8:case"end":return t.stop()}}),t,this)})));function i(){return t.apply(this,arguments)}return i}(),add:function(){this.$refs.addEdit.add()},approvalLisFun:function(t){this.$router.push({name:"awaitDoneInformation",query:{runid:t.runid,form_name:t.form_name,flowInfo:"流程详细信息"}}),console.log("🚀🚀🚀,",t)},del:function(t){console.log("删除"),this.$Message.info("删除成功")},cancel:function(){this.$Message.info("You click cancel")},handleChangePage:function(t){this.init.page_index=t,this.GetFlowTaskList()},handleChangePageSize:function(t){this.init.page_size=t,this.GetFlowTaskList()}}},w=p,_=e("2877"),y=Object(_["a"])(w,n,a,!1,null,null,null);i["default"]=y.exports}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-57ac7c9c"],{"0aec":function(t,e,i){},"22ab":function(t,e,i){"use strict";i.r(e);var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"container"},[i("div",{staticClass:"content"},["CompetitionReport"===t.form_name?i("Card",{staticStyle:{width:"50%","margin-top":"20px","margin-bottom":"20px"},attrs:{"dis-hover":!0}},[i("div",{staticClass:"tableList"},[i("h1",{staticStyle:{display:"flex","justify-content":"center"}},[t._v(" "+t._s(t.data.Object.module))]),i("table",{staticClass:"container1",attrs:{border:"1"}},t._l(t.data.keyValueArray,(function(e,a){return i("tr",{key:a},["level"===e[0]?i("th",{staticClass:"colTitle"},[t._v(t._s(e[2]))]):t._e(),"level"===e[0]?i("td",{staticClass:"colContent"},[t._v(t._s(["","国家级","省一级","省二级","国际级"][e[1]])+"\n ")]):t._e(),"way"===e[0]?i("th",{staticClass:"colTitle"},[t._v(t._s(e[2]))]):t._e(),"way"===e[0]?i("td",{staticClass:"colContent"},[t._v(t._s(["团队","个人"][e[1]]))]):t._e(),"approval_state"===e[0]?i("th",{staticClass:"colTitle"},[t._v(t._s(e[2]))]):t._e(),"approval_state"===e[0]?i("td",{staticClass:"colContent"},[t._v("\n "+t._s(["未审批","审批中","审批通过","审批不通过"][e[1]])+"\n ")]):t._e(),"competition_type"===e[0]?i("th",{staticClass:"colTitle"},[t._v(t._s(e[2]))]):t._e(),"competition_type"===e[0]?i("td",{staticClass:"colContent"},[t._v(t._s(["","A类","B类"][e[1]])+"\n ")]):t._e(),"competition_type"!==e[0]&&"level"!==e[0]&&"way"!==e[0]&&"approval_state"!==e[0]?i("th",{staticClass:"colTitle"},[t._v(t._s(e[2])+"\n ")]):t._e(),"competition_type"!==e[0]&&"level"!==e[0]&&"way"!==e[0]&&"approval_state"!==e[0]?i("td",{staticClass:"colContent"},[t._v(t._s(e[1])+"\n ")]):t._e()])})),0)])]):t._e(),"CompetitionSign"===t.form_name?i("Card",{staticStyle:{width:"50%","margin-top":"20px","margin-bottom":"20px"},attrs:{"dis-hover":!0}},[i("div",{staticClass:"tableList"},[i("h1",{staticStyle:{display:"flex","justify-content":"center"}},[t._v(" "+t._s(t.data.Object.module))]),i("table",{staticClass:"container1",attrs:{border:"1"}},[t._l(t.data.keyValueArray,(function(e,a){return i("tr",{key:a},["level"===e[0]?i("th",{staticClass:"colTitle"},[t._v(t._s(e[2]))]):t._e(),"level"===e[0]?i("td",{staticClass:"colContent"},[t._v(t._s(["","国家级","省一级","省二级"][e[1]]))]):t._e(),"race_level"===e[0]?i("th",{staticClass:"colTitle"},[t._v(t._s(e[2]))]):t._e(),"race_level"===e[0]?i("td",{staticClass:"colContent"},[t._v(t._s(["","国家级","省一级","省二级"][e[1]])+"\n ")]):t._e(),"way"===e[0]?i("th",{staticClass:"colTitle"},[t._v(t._s(e[2]))]):t._e(),"way"===e[0]?i("td",{staticClass:"colContent"},[t._v(t._s(["团队","个人"][e[1]]))]):t._e(),"approval_state"===e[0]?i("th",{staticClass:"colTitle"},[t._v(t._s(e[2]))]):t._e(),"approval_state"===e[0]?i("td",{staticClass:"colContent"},[t._v("\n "+t._s(["未审批","审批中","审批通过","审批不通过"][e[1]])+"\n ")]):t._e(),"race_level"!==e[0]&&"level"!==e[0]&&"way"!==e[0]&&"approval_state"!==e[0]?i("th",{staticClass:"colTitle"},[t._v(t._s(e[2])+"\n ")]):t._e(),"race_level"!==e[0]&&"level"!==e[0]&&"way"!==e[0]&&"approval_state"!==e[0]?i("td",{staticClass:"colContent"},[t._v(t._s(e[1])+"\n ")]):t._e()])})),i("tr",[i("th",[t._v("附件:")]),i("td",{staticClass:"colContent"},t._l(t.data.Object.file_list,(function(e,a){return i("a",{key:a,staticClass:"aText",staticStyle:{display:"flex","flex-wrap":"wrap","justify-content":"center"},on:{click:function(i){return t.viewFile(e)}}},[t._v("\n "+t._s(e.file_name)+"\n ")])})),0)])],2),i("div",{style:"width: 100%;max-height:"+t.unfold.height+"px;overflow-y:hidden ;"},t._l(t.competitionsignTeam,(function(e,a){return i("Card",{key:a,staticStyle:{margin:"0.5vw"},scopedSlots:t._u([{key:"title",fn:function(){return[i("h3",[t._v(t._s(e.teanname)+"(指导教师"),i("span",{staticStyle:{color:"#1e93ff"}},[t._v(t._s(e.guide_teacher_list.length))]),t._v("位,参赛教师\n "),i("span",{staticStyle:{color:"#1e93ff"}},[t._v(t._s(e.contestant_teacher_list.length))]),t._v("位,参赛学生\n "),i("span",{staticStyle:{color:"#1e93ff"}},[t._v(t._s(e.student_list.length))]),t._v("\n 位)")])]},proxy:!0},{key:"extra",fn:function(){},proxy:!0}],null,!0)},[e.guide_teacher_list.length?i("Table",{attrs:{columns:t.guidecolumnsTeacherCompetitionSign,data:e.guide_teacher_list}}):t._e(),e.contestant_teacher_list.length?i("Table",{attrs:{columns:t.columnsTeacherCompetitionSign,data:e.contestant_teacher_list}}):t._e(),e.student_list.length?i("Table",{attrs:{columns:t.columnsStudentCompetitionSign,data:e.student_list}}):t._e()],1)})),1),i("div",{staticClass:"Atext"},[t.competitionsignTeam.length?i("a",{on:{click:t.unfoldTeamCard}},[0===t.unfold.State?i("Icon",{attrs:{type:"ios-arrow-dropdown-circle"}}):i("Icon",{attrs:{type:"ios-arrow-dropup-circle"}}),t._v("\n "+t._s(t.unfold.flag[t.unfold.State])+"\n ")],1):t._e()])])]):t._e(),"Certificate"===t.form_name?i("Card",{staticStyle:{width:"50%","margin-top":"20px","margin-bottom":"20px"},attrs:{"dis-hover":!0}},[i("div",{staticClass:"tableList"},[i("h1",{staticStyle:{display:"flex","justify-content":"center"}},[t._v(" "+t._s(t.data.Object.module))]),i("table",{staticClass:"container1",attrs:{border:"1"}},[t._l(t.data.array,(function(e,a){return i("tr",{key:a},[i("th",{staticClass:"colTitle"},[t._v(t._s(e.title))]),i("td",{staticClass:"colContent"},[t._v(t._s(e.value))])])})),i("tr",[i("th",[t._v("附件:")]),i("td",{staticClass:"colContent"},t._l(t.data.Object.file_list,(function(e,a){return i("a",{key:a,staticClass:"aText",staticStyle:{display:"flex","flex-wrap":"wrap","justify-content":"center"},on:{click:function(i){return t.viewFile(e)}}},[t._v("\n "+t._s(e.file_name)+"\n ")])})),0)])],2),i("div",{style:"width: 100%;max-height:"+t.unfold.height+"px;overflow-y:hidden ;"},t._l(t.competitionsignTeam,(function(e,a){return i("Card",{key:a,staticStyle:{margin:"0.5vw"},scopedSlots:t._u([{key:"title",fn:function(){return[i("h3",[t._v(t._s(e.teanname)+"(指导教师"),i("span",{staticStyle:{color:"#1e93ff"}},[t._v(t._s(e.guide_teacher_list.length))]),t._v("位,参赛教师\n "),i("span",{staticStyle:{color:"#1e93ff"}},[t._v(t._s(e.contestant_teacher_list.length))]),t._v("位,参赛学生\n "),i("span",{staticStyle:{color:"#1e93ff"}},[t._v(t._s(e.student_list.length))]),t._v("\n 位)")])]},proxy:!0},{key:"extra",fn:function(){return[i("div",{staticClass:"teamCardExtraText"},[t._v(t._s(e.hierarchy_name))])]},proxy:!0}],null,!0)},[e.guide_teacher_list.length?i("Table",{attrs:{columns:t.guidecolumnsTeacher,data:e.guide_teacher_list},scopedSlots:t._u([{key:"instructionalscore",fn:function(e){var a=e.row;return[i("span",{directives:[{name:"text-color",rawName:"v-text-color"},{name:"text-family",rawName:"v-text-family"}]},[t._v(t._s(a.instructionalscore)+"分")])]}}],null,!0)}):t._e(),e.contestant_teacher_list.length?i("Table",{attrs:{columns:t.columnsTeacher,data:e.contestant_teacher_list},scopedSlots:t._u([{key:"instructionalscore",fn:function(e){var a=e.row;return[i("span",{directives:[{name:"text-color",rawName:"v-text-color"},{name:"text-family",rawName:"v-text-family"}]},[t._v(t._s(a.instructionalscore)+"分")])]}}],null,!0)}):t._e(),e.student_list.length?i("Table",{attrs:{columns:t.columnsStudent,data:e.student_list},scopedSlots:t._u([{key:"subsidytype_name",fn:function(e){var a=e.row;return[i("span",{directives:[{name:"text-color",rawName:"v-text-color"},{name:"text-family",rawName:"v-text-family"}]},[t._v(t._s(a.subsidytype_name))])]}},{key:"subsidy_day",fn:function(e){var a=e.row;return[i("span",{directives:[{name:"text-color",rawName:"v-text-color"},{name:"text-family",rawName:"v-text-family"}]},[t._v(t._s(a.subsidy_day)+"天")])]}},{key:"subsidy_num",fn:function(e){var a=e.row;return[i("span",{directives:[{name:"text-color",rawName:"v-text-color"},{name:"text-family",rawName:"v-text-family"}]},[t._v(t._s(a.subsidy_num)+"元")])]}}],null,!0)}):t._e()],1)})),1),i("div",{staticClass:"Atext"},[t.competitionsignTeam.length?i("a",{on:{click:t.unfoldTeamCard}},[0===t.unfold.State?i("Icon",{attrs:{type:"ios-arrow-dropdown-circle"}}):i("Icon",{attrs:{type:"ios-arrow-dropup-circle"}}),t._v("\n "+t._s(t.unfold.flag[t.unfold.State])+"\n ")],1):t._e()])])]):t._e(),"BonusDeclare"===t.form_name?i("Card",{staticStyle:{width:"50%","margin-top":"20px","margin-bottom":"20px"},attrs:{"dis-hover":!0}},[i("div",{staticClass:"tableList"},[i("h1",{staticStyle:{display:"flex","justify-content":"center"}},[t._v(" "+t._s(t.data.Object.module))]),i("table",{staticClass:"container1",attrs:{border:"1"}},[t._l(t.data.array,(function(e,a){return i("tr",{key:a},[i("th",{staticClass:"colTitle"},[t._v(t._s(e.title))]),i("td",{staticClass:"colContent"},[t._v(t._s(e.value))])])})),i("tr",[i("th",[t._v("附件:")]),i("td",{staticClass:"colContent"},t._l(t.data.Object.file_list,(function(e,a){return i("a",{key:a,staticClass:"aText",staticStyle:{display:"flex","flex-wrap":"wrap","justify-content":"center"},on:{click:function(i){return t.viewFile(e)}}},[t._v("\n "+t._s(e.file_name)+"\n ")])})),0)])],2),i("div",{style:"width: 100%;max-height:"+t.unfold.height+"px;overflow-y:hidden ;"},[i("div",{staticStyle:{height:"30px",width:"100%",display:"flex","align-items":"center"}},[i("h3",{staticStyle:{"font-size":"20px"}},[t._v("(团队信息)获奖信息:")]),i("h3",{staticStyle:{"margin-left":"auto",color:"#1e93ff","font-family":"楷体","font-size":"20px"}},[t._v("奖金总金额:\n "),i("span",[t._v(t._s(t.data.Object.bonus.bonus_total)+"元")])])]),t._l(t.competitionsignTeam,(function(e,a){return i("Card",{key:a,staticStyle:{margin:"0.5vw"},scopedSlots:t._u([{key:"title",fn:function(){return[i("h3",[t._v(t._s(e.teanname)+"(\n\n "+t._s(["参赛学生","参赛教师"][t.data.Object.bonus.is_tea])+"\n "),i("span",{staticStyle:{color:"#1e93ff"}},[t._v(t._s(e.student_list.length))]),t._v("\n 位);\n "),i("span",[t._v("可分配奖金"),i("span",{staticStyle:{color:"#1e93ff"}},[t._v(t._s([e.allot_money,e.allot_money_teacher][t.data.Object.bonus.is_tea]||0)+"元")])])])]},proxy:!0},{key:"extra",fn:function(){return[i("div",{staticClass:"teamCardExtraText",staticStyle:{"font-family":"楷体","font-size":"20px"}},[t._v(t._s(e.hierarchy_name)+"\n ")])]},proxy:!0}],null,!0)},[e.guide_teacher_list.length?i("Table",{attrs:{columns:t.columnsTeacherAward,data:e.guide_teacher_list},scopedSlots:t._u([{key:"hierarchy_name",fn:function(e){var a=e.row;return[i("span",{directives:[{name:"text-color",rawName:"v-text-color"},{name:"text-family",rawName:"v-text-family"}]},[t._v(t._s(a.hierarchy_name))])]}},{key:"bonus_ratio",fn:function(e){var a=e.row;return[i("span",{directives:[{name:"text-color",rawName:"v-text-color"},{name:"text-family",rawName:"v-text-family"}]},[t._v(t._s(a.bonus_ratio)+"%")])]}},{key:"bonus",fn:function(e){var a=e.row;return[i("span",{directives:[{name:"text-color",rawName:"v-text-color"},{name:"text-family",rawName:"v-text-family"}]},[t._v(t._s(a.bonus||0)+"元")])]}}],null,!0)}):t._e(),e.contestant_teacher_list.length?i("Table",{attrs:{columns:t.guidecolumnsTeacherAward,data:e.contestant_teacher_list},scopedSlots:t._u([{key:"hierarchy_name",fn:function(e){var a=e.row;return[i("span",{directives:[{name:"text-color",rawName:"v-text-color"},{name:"text-family",rawName:"v-text-family"}]},[t._v(t._s(a.hierarchy_name))])]}},{key:"bonus_ratio",fn:function(e){var a=e.row;return[i("span",{directives:[{name:"text-color",rawName:"v-text-color"},{name:"text-family",rawName:"v-text-family"}]},[t._v(t._s(a.bonus_ratio)+"%")])]}},{key:"bonus",fn:function(e){var a=e.row;return[i("span",{directives:[{name:"text-color",rawName:"v-text-color"},{name:"text-family",rawName:"v-text-family"}]},[t._v(t._s(a.bonus||0)+"元")])]}}],null,!0)}):t._e(),e.student_list.length?i("Table",{attrs:{columns:t.columnsStudentAward,data:e.student_list},scopedSlots:t._u([{key:"hierarchy_name",fn:function(e){var a=e.row;return[i("span",{directives:[{name:"text-color",rawName:"v-text-color"},{name:"text-family",rawName:"v-text-family"}]},[t._v(t._s(a.hierarchy_name))])]}},{key:"bonus_ratio",fn:function(e){var a=e.row;return[i("span",{directives:[{name:"text-color",rawName:"v-text-color"},{name:"text-family",rawName:"v-text-family"}]},[t._v(t._s(a.bonus_ratio)+"%")])]}},{key:"bonus",fn:function(e){var a=e.row;return[i("span",{directives:[{name:"text-color",rawName:"v-text-color"},{name:"text-family",rawName:"v-text-family"}]},[t._v(t._s(a.bonus||0)+"元")])]}}],null,!0)}):t._e()],1)}))],2),i("div",{staticClass:"Atext"},[t.competitionsignTeam.length?i("a",{on:{click:t.unfoldTeamCard}},[0===t.unfold.State?i("Icon",{attrs:{type:"ios-arrow-dropdown-circle"}}):i("Icon",{attrs:{type:"ios-arrow-dropup-circle"}}),t._v("\n "+t._s(t.unfold.flag[t.unfold.State])+"\n ")],1):t._e()])])]):t._e(),"SubsidyDeclare"===t.form_name?i("Card",{staticStyle:{width:"50%","margin-top":"20px","margin-bottom":"20px"},attrs:{"dis-hover":!0}},[i("div",{staticClass:"tableList"},[i("h1",{staticStyle:{display:"flex","justify-content":"center"}},[t._v(" "+t._s(t.data.Object.module))]),i("table",{staticClass:"container1",attrs:{border:"1"}},[t._l(t.data.array,(function(e,a){return i("tr",{key:a},[i("th",{staticClass:"colTitle"},[t._v(t._s(e.title))]),i("td",{staticClass:"colContent"},[t._v(t._s(e.value))])])})),i("tr",[i("th",[t._v("附件:")]),i("td",{staticClass:"colContent"},t._l(t.data.Object.file_list,(function(e,a){return i("a",{key:a,staticClass:"aText",staticStyle:{display:"flex","flex-wrap":"wrap","justify-content":"center"},attrs:{href:e.path}},[t._v("\n "+t._s(e.file_name)+"\n ")])})),0)])],2),i("div",{style:"width: 100%;max-height:"+t.unfold.height+"px;overflow-y:hidden ;"},[i("div",{staticStyle:{height:"30px",width:"100%",display:"flex","align-items":"center"}},[i("h3",[t._v("(团队信息)补贴信息:")])]),t._l(t.competitionsignTeam,(function(e,a){return i("Card",{key:a,staticStyle:{margin:"0.5vw"},scopedSlots:t._u([{key:"title",fn:function(){return[i("h3",[t._v(t._s(e.teanname)+"(\n 参赛学生\n "),i("span",{staticStyle:{color:"#1e93ff"}},[t._v(t._s(e.student_list.length))]),t._v("\n 位);\n ")])]},proxy:!0},{key:"extra",fn:function(){return[i("div",{staticClass:"teamCardExtraText",staticStyle:{"font-family":"楷体","font-size":"20px"}},[t._v(t._s(e.hierarchy_name)+"\n ")])]},proxy:!0}],null,!0)},[e.student_list.length?i("Table",{attrs:{columns:t.columnsStudentGrands,data:e.student_list},scopedSlots:t._u([{key:"subsidytype_name",fn:function(e){var a=e.row;e.index;return[i("div",{staticStyle:{width:"100%",height:"100%",display:"flex","align-items":"center"}},[i("span",{staticStyle:{"font-family":"楷体",color:"#1e93ff","font-weight":"600"}},[t._v(t._s(a.subsidytype_name||0))])])]}},{key:"subsidy_day",fn:function(e){var a=e.row;e.index;return[i("div",{staticStyle:{width:"100%",height:"100%",display:"flex","align-items":"center"}},[i("span",{staticStyle:{"font-family":"楷体",color:"#1e93ff","font-weight":"600"}},[t._v(t._s(a.subsidy_day||0)+"天")])])]}},{key:"subsidy_num",fn:function(e){var a=e.row;e.index;return[i("div",{staticStyle:{width:"100%",height:"100%",display:"flex","align-items":"center"}},[i("span",{staticStyle:{"font-family":"楷体",color:"#1e93ff","font-weight":"600"}},[t._v(t._s(a.subsidy_num||0)+"分")])])]}}],null,!0)}):t._e()],1)}))],2),i("div",{staticClass:"Atext"},[t.competitionsignTeam.length?i("a",{on:{click:t.unfoldTeamCard}},[0===t.unfold.State?i("Icon",{attrs:{type:"ios-arrow-dropdown-circle"}}):i("Icon",{attrs:{type:"ios-arrow-dropup-circle"}}),t._v("\n "+t._s(t.unfold.flag[t.unfold.State])+"\n ")],1):t._e()])])]):t._e(),"WorkloadDeclare"===t.form_name?i("Card",{staticStyle:{width:"50%","margin-top":"20px","margin-bottom":"20px"},attrs:{"dis-hover":!0}},[i("div",{staticClass:"tableList"},[i("h1",{staticStyle:{display:"flex","justify-content":"center"}},[t._v(" "+t._s(t.data.Object.module))]),i("table",{staticClass:"container1",attrs:{border:"1"}},[t._l(t.data.array,(function(e,a){return i("tr",{key:a},[i("th",{staticClass:"colTitle"},[t._v(t._s(e.title))]),i("td",{staticClass:"colContent"},[t._v(t._s(e.value))])])})),i("tr",[i("th",[t._v("附件:")]),i("td",{staticClass:"colContent"},t._l(t.data.Object.file_list,(function(e,a){return i("a",{key:a,staticClass:"aText",staticStyle:{display:"flex","flex-wrap":"wrap","justify-content":"center"},attrs:{href:e.path}},[t._v("\n "+t._s(e.file_name)+"\n ")])})),0)])],2),i("div",{style:"width: 100%;max-height:"+t.unfold.height+"px;overflow-y:hidden ;"},[i("div",{staticStyle:{height:"30px",width:"100%",display:"flex","align-items":"center"}},[i("h3",[t._v("(团队信息)工作量信息:")])]),t._l(t.competitionsignTeam,(function(e,a){return i("Card",{key:a,staticStyle:{margin:"0.5vw"},scopedSlots:t._u([{key:"title",fn:function(){return[i("h3",[t._v(t._s(e.teanname)+"(\n 参赛教师\n\n "),i("span",{staticStyle:{color:"#1e93ff"}},[t._v(t._s(e.student_list.length))]),t._v("\n 位);\n ")])]},proxy:!0},{key:"extra",fn:function(){return[i("div",{staticClass:"teamCardExtraText",staticStyle:{"font-family":"楷体","font-size":"20px"}},[t._v(t._s(e.hierarchy_name)+"\n ")])]},proxy:!0}],null,!0)},[e.student_list.length?i("Table",{attrs:{columns:t.columnsTeacherWorkLoad,data:e.student_list},scopedSlots:t._u([{key:"instructionalscore",fn:function(e){var a=e.row;e.index;return[i("div",{staticStyle:{width:"100%",height:"100%",display:"flex","align-items":"center"}},[i("span",{staticStyle:{"font-family":"楷体",color:"#1e93ff","font-weight":"600"}},[t._v(t._s(a.instructionalscore||0)+"分")])])]}}],null,!0)}):t._e()],1)}))],2),i("div",{staticClass:"Atext"},[t.competitionsignTeam.length?i("a",{on:{click:t.unfoldTeamCard}},[0===t.unfold.State?i("Icon",{attrs:{type:"ios-arrow-dropdown-circle"}}):i("Icon",{attrs:{type:"ios-arrow-dropup-circle"}}),t._v("\n "+t._s(t.unfold.flag[t.unfold.State])+"\n ")],1):t._e()])])]):t._e(),"Bursary"===t.form_name?i("Card",{staticStyle:{width:"50%","margin-top":"20px","margin-bottom":"20px"},attrs:{"dis-hover":!0}},[i("div",{staticClass:"tableList"},[i("h1",{staticStyle:{display:"flex","justify-content":"center"}},[t._v(" "+t._s(t.data.Object.module))]),i("table",{staticClass:"container1",attrs:{border:"1"}},[t._l(t.data.keyValueArray,(function(e,a){return i("tr",{key:a},["level"===e[0]?i("th",{staticClass:"colTitle"},[t._v(t._s(e[2]))]):t._e(),"level"===e[0]?i("td",{staticClass:"colContent"},[t._v(t._s(["","国家级","省一级","省二级"][e[1]]))]):t._e(),"race_level"===e[0]?i("th",{staticClass:"colTitle"},[t._v(t._s(e[2]))]):t._e(),"race_level"===e[0]?i("td",{staticClass:"colContent"},[t._v(t._s(["","国家级","省一级","省二级","国际级"][e[1]])+"\n ")]):t._e(),"way"===e[0]?i("th",{staticClass:"colTitle"},[t._v(t._s(e[2]))]):t._e(),"way"===e[0]?i("td",{staticClass:"colContent"},[t._v(t._s(["团队","个人"][e[1]]))]):t._e(),"approval_state"===e[0]?i("th",{staticClass:"colTitle"},[t._v(t._s(e[2]))]):t._e(),"approval_state"===e[0]?i("td",{staticClass:"colContent"},[t._v("\n "+t._s(["未审批","审批中","审批通过","审批不通过"][e[1]])+"\n ")]):t._e(),"race_level"!==e[0]&&"level"!==e[0]&&"way"!==e[0]&&"approval_state"!==e[0]?i("th",{staticClass:"colTitle"},[t._v(t._s(e[2])+"\n ")]):t._e(),"race_level"!==e[0]&&"level"!==e[0]&&"way"!==e[0]&&"approval_state"!==e[0]?i("td",{staticClass:"colContent"},[t._v(t._s(e[1])+"\n ")]):t._e()])})),i("tr",[i("th",[t._v("附件:")]),i("td",{staticClass:"colContent"},t._l(t.data.Object.file_list,(function(e,a){return i("a",{key:a,staticClass:"aText",staticStyle:{display:"flex","flex-wrap":"wrap","justify-content":"center"},attrs:{href:e.path}},[t._v("\n "+t._s(e.file_name)+"\n ")])})),0)])],2)])]):t._e(),"Notice"===t.form_name?i("Card",{staticStyle:{width:"50%","margin-top":"20px","margin-bottom":"20px"},attrs:{"dis-hover":!0}},[i("div",{staticClass:"tableList"},[i("h1",{staticStyle:{display:"flex","justify-content":"center"}},[t._v(" "+t._s(t.data.Object.module))]),i("table",{staticClass:"container1",attrs:{border:"1"}},[t._l(t.data.keyValueArray,(function(e,a){return i("tr",{key:a},["is_top"===e[0]?i("th",{staticClass:"colTitle"},[t._v(t._s(e[2]))]):t._e(),"is_top"===e[0]?i("td",{staticClass:"colContent"},[t._v(t._s(["否","是"][e[1]]))]):t._e(),"is_public"===e[0]?i("th",{staticClass:"colTitle"},[t._v(t._s(e[2]))]):t._e(),"is_public"===e[0]?i("td",{staticClass:"colContent"},[t._v(t._s(["否","是"][e[1]]))]):t._e(),"content"===e[0]?i("th",{staticClass:"colTitle"},[t._v(t._s(e[2])+"\n ")]):t._e(),"content"===e[0]?i("td",{staticClass:"colContent"},[i("spin",{staticStyle:{"max-height":"500px","overflow-y":"auto"},domProps:{innerHTML:t._s(e[1])}})],1):t._e(),"approval_state"===e[0]?i("th",{staticClass:"colTitle"},[t._v(t._s(e[2]))]):t._e(),"approval_state"===e[0]?i("td",{staticClass:"colContent"},[t._v("\n "+t._s(["未审批","审批中","审批通过","审批不通过"][e[1]])+"\n ")]):t._e(),"content"!==e[0]&&"race_level"!==e[0]&&"is_top"!==e[0]&&"is_public"!==e[0]&&"way"!==e[0]&&"approval_state"!==e[0]?i("th",{staticClass:"colTitle"},[t._v(t._s(e[2])+"\n ")]):t._e(),"content"!==e[0]&&"race_level"!==e[0]&&"is_top"!==e[0]&&"is_public"!==e[0]&&"way"!==e[0]&&"approval_state"!==e[0]?i("td",{staticClass:"colContent"},[t._v(t._s(e[1])+"\n ")]):t._e()])})),i("tr",[i("th",[t._v("附件:")]),i("td",{staticClass:"colContent"},t._l(t.data.Object.file_list,(function(e,a){return i("a",{key:a,staticClass:"aText",staticStyle:{display:"flex","flex-wrap":"wrap","justify-content":"center"},attrs:{href:e.path}},[t._v("\n "+t._s(e.file_name)+"\n ")])})),0)])],2)])]):t._e(),i("div",{staticStyle:{"overflow-y":"auto","box-sizing":"border-box","border-top":"#1e93ff 0.3vw solid",width:"15%",height:"133vh","margin-top":"20px","margin-bottom":"20px",padding:"3vw 1vw 3vw 1vw","background-color":"white",display:"flex","justify-content":"center"}},[i("Timeline",t._l(t.timeLineArray,(function(e,a){return i("TimelineItem",{key:a,attrs:{color:["blue","green"][Number(!e.action_name)]},scopedSlots:t._u([Number(!!e.action_name)?{key:"dot",fn:function(){return[i("Icon",{attrs:{type:"ios-checkmark-circle",color:"#1e93ff"}})]},proxy:!0}:null],null,!0)},[Number(!!e.action_name)?i("div",[i("h3",{staticStyle:{"font-family":"'宋体'"}},[t._v(t._s(e.node_name))])]):i("div",[i("div",{staticStyle:{display:"flex","align-items":"center"}},[i("h3",{staticStyle:{"font-family":"'宋体'"}},[t._v(t._s(e.node_name))]),t._v("(当前节点)\n ")])]),i("div",[e.name?i("div",[t._v("\n 用户名:"),i("span",{staticStyle:{color:"#1e93ff"}},[t._v(t._s(e.name))])]):t._e(),e.action_name?i("div",[t._v("\n 审批动作:"),i("span",{staticStyle:{color:"#1e93ff"}},[t._v(t._s(e.action_name))])]):t._e()]),e.comment?i("div",[t._v("审批意见:"+t._s(e.comment))]):t._e(),e.approver_time?i("div",[t._v("处理时间:"+t._s(e.approver_time))]):t._e(),e.elapsed_time?i("div",[t._v("处理耗时:"+t._s(e.elapsed_time))]):t._e()])})),1)],1)],1),i("div",{staticClass:"header"},[i("div",{staticClass:"h_left"}),i("div",{staticClass:"h_content"},[t.flowInfo?"流程详细信息"===t.flowInfo?[i("Button",{staticStyle:{"margin-right":"20px",width:"12vw"},attrs:{type:"primary"},on:{click:function(e){return t.$router.back()}}},[t._v("返回")])]:t._e():[i("Button",{staticStyle:{"margin-right":"20px",width:"12vw","border-top":"1px solid #e8e8e8"},attrs:{type:"primary"},on:{click:function(e){return t.$router.back()}}},[t._v("返回\n ")]),i("Button",{staticStyle:{width:"12vw","margin-right":"20px","border-top":"1px solid #e8e8e8"},attrs:{type:"primary"},on:{click:t.passFlow}},[t._v("通过审批\n ")]),i("Button",{staticStyle:{width:"12vw","border-top":"1px solid #e8e8e8"},attrs:{type:"warning"},on:{click:t.revocationFlow}},[t._v("退回流程\n ")])]],2),i("div",{staticClass:"h_right"})]),i("Modal",{attrs:{title:"审批意见"},scopedSlots:t._u([{key:"footer",fn:function(){return[i("div",{staticStyle:{display:"flex","justify-content":"flex-end"}},[i("Button",{attrs:{type:"text"},on:{click:t.cancel}},[t._v(" 取消")]),i("Button",{staticStyle:{"margin-left":"10px"},attrs:{loading:t.btLoad,type:"primary"},on:{click:t.ok}},[t._v(" 确定")])],1)]},proxy:!0}]),model:{value:t.publicModal,callback:function(e){t.publicModal=e},expression:"publicModal"}},["revocation"===t.publicIdentificatio?i("Form",{ref:"formValidate",attrs:{model:t.formValidate,rules:t.ruleValidate,"label-width":80}},[i("FormItem",{attrs:{label:"退回节点",prop:"publicAction"}},[i("Select",{model:{value:t.formValidate.publicAction,callback:function(e){t.$set(t.formValidate,"publicAction",e)},expression:"formValidate.publicAction"}},t._l(t.publicState.revocationApporval,(function(e,a){return i("Option",{key:a,attrs:{value:e.value}},[t._v(t._s(e.label)+"\n ")])})),1)],1)],1):t._e(),i("Input",{attrs:{type:"textarea",autosize:{minRows:5,maxRows:10},placeholder:"请输入审批意见..."},model:{value:t.publicTextarea,callback:function(e){t.publicTextarea=e},expression:"publicTextarea"}})],1),i("Drawer",{attrs:{title:"团队详细",closable:!1,width:"40%"},model:{value:t.teamDrawer,callback:function(e){t.teamDrawer=e},expression:"teamDrawer"}},[i("div",{staticClass:"demo-drawer-profile"},[i("Row",{staticClass:"row"},[i("Col",{attrs:{span:"12"}},[t._v("\n 团队名称:\n ")]),i("Col",{attrs:{span:"12"}},[t._v("\n "+t._s(t.drawerObject.teamname)+"\n ")])],1),i("Row",{staticClass:"row"},[i("Col",{attrs:{span:"12"}},[t._v("\n 人数:\n ")]),i("Col",{attrs:{span:"12"}},[t._v("\n "+t._s(t.drawerObject.num)+"人\n ")])],1),i("Row",{staticClass:"row"},[i("Col",{attrs:{span:"12"}},[t._v("\n 是否获奖:\n ")]),i("Col",{attrs:{span:"12"}},[t._v("\n "+t._s(t.drawerObject.is_win)+"\n ")])],1)],1),i("Table",{attrs:{columns:t.drawerColumn,data:t.drawerObject.members}})],1),i("Drawer",{attrs:{width:"90",closable:""},scopedSlots:t._u([{key:"header",fn:function(){return[i("div",{staticStyle:{width:"100%","mix-height":"35px","max-height":"auto",position:"relative"}},[i("h3",{staticStyle:{"margin-bottom":"5px"}},[t._v("附件预览")]),t._l(t.data.Object.file_list,(function(e,a){return i("a",{key:a,staticClass:"aText",staticStyle:{"margin-right":"3vw"},on:{click:function(i){return t.updateViewFile(e)}}},[t._v("\n "+t._s(e.file_name)+"\n ")])}))],2)]},proxy:!0}]),model:{value:t.drawerPreview,callback:function(e){t.drawerPreview=e},expression:"drawerPreview"}},[t.src&&"office"===t.fileType?i("VueDocPreview",{key:t.viewFileUpdataKeys,attrs:{value:t.src,url:t.src,language:"JavaScript",type:"office"}}):t._e(),t.src&&"image"===t.fileType?i("i-frame",{key:t.viewFileUpdataKeys,attrs:{src:t.src}}):t._e()],1)],1)},n=[],s=(i("2fdb"),i("ffc1"),i("6762"),i("ac6a"),i("456d"),i("96cf"),i("1da1")),o=i("967e"),r=i.n(o),l=i("61be"),c=i("7f6b"),d=i("5ccc"),u={components:{},data:function(){return{btLoad:!1,viewFileUpdataKeys:1,split:.7,drawerPreview:!1,fileType:"",src:"",unfold:{State:0,height:"500",flag:["展开","收起"]},guidecolumnsTeacher:[{title:"指导教师",minWidth:100,key:"name"},{title:"性别",minWidth:80,key:"gender"},{title:"工号",minWidth:120,key:"card_name"},{title:"教学院系",minWidth:150,key:"dept"},{title:"联系电话",minWidth:150,key:"phone"},{title:"开户银行",minWidth:180,key:"bank"},{title:"银行卡号",minWidth:180,key:"bank_card"},{title:"教学分",minWidth:150,slot:"instructionalscore",fixed:"right"}],columnsStudent:[{title:"参赛学生",minWidth:100,key:"name"},{title:"性别",minWidth:80,key:"gender"},{title:"学号",minWidth:120,key:"card_name"},{title:"班级",minWidth:150,key:"classname"},{title:"联系电话",minWidth:150,key:"phone"},{title:"开户银行",minWidth:180,key:"bank"},{title:"银行卡号",minWidth:180,key:"bank_card"},{title:"学生类型",minWidth:150,slot:"subsidytype_name",fixed:"right"},{title:"补贴天数",minWidth:150,slot:"subsidy_day",fixed:"right"},{title:"补贴金额",minWidth:100,slot:"subsidy_num",fixed:"right"}],columnsTeacher:[{title:"参赛教师",minWidth:100,key:"name"},{title:"性别",minWidth:80,key:"gender"},{title:"工号",minWidth:120,key:"card_name"},{title:"教学院系",minWidth:150,key:"dept"},{title:"联系电话",minWidth:150,key:"phone"},{title:"开户银行",minWidth:180,key:"bank"},{title:"银行卡号",minWidth:180,key:"bank_card"},{title:"教学分",minWidth:150,slot:"instructionalscore",fixed:"right"}],columnsTeacherWorkLoad:[{title:"教师",minWidth:100,key:"name"},{title:"工号",minWidth:120,key:"card_name"},{title:"身份证号",minWidth:180,key:"sfzh"},{title:"教学院系",minWidth:150,key:"dept"},{title:"性别",minWidth:80,key:"gender"},{title:"联系电话",minWidth:150,key:"phone"},{title:"教学分",minWidth:150,slot:"instructionalscore",fixed:"right"}],columnsStudentGrands:[{title:"参赛学生",minWidth:100,key:"name"},{title:"学号",minWidth:120,key:"card_name"},{title:"身份证号",minWidth:180,key:"sfzh"},{title:"班级",minWidth:150,key:"classname"},{title:"性别",minWidth:80,key:"gender"},{title:"联系电话",minWidth:150,key:"phone"},{title:"学生类型",minWidth:150,slot:"subsidytype_name",fixed:"right"},{title:"补贴天数",minWidth:150,slot:"subsidy_day",fixed:"right"},{title:"补贴金额",minWidth:100,slot:"subsidy_num",fixed:"right"}],guidecolumnsTeacherCompetitionSign:[{title:"指导教师",minWidth:100,key:"name"},{title:"性别",minWidth:80,key:"gender"},{title:"工号",minWidth:120,key:"card_name"},{title:"教学院系",minWidth:150,key:"dept"},{title:"联系电话",minWidth:150,key:"phone"}],columnsStudentCompetitionSign:[{title:"参赛学生",minWidth:100,key:"name"},{title:"性别",minWidth:80,key:"gender"},{title:"学号",minWidth:120,key:"card_name"},{title:"班级",minWidth:150,key:"classname"},{title:"联系电话",minWidth:150,key:"phone"}],columnsTeacherCompetitionSign:[{title:"参赛教师",minWidth:100,key:"name"},{title:"性别",minWidth:80,key:"gender"},{title:"工号",minWidth:120,key:"card_name"},{title:"教学院系",minWidth:150,key:"dept"},{title:"联系电话",minWidth:150,key:"phone"}],columnsStudentAward:[{title:"参赛学生",minWidth:100,key:"name"},{title:"工号",minWidth:120,key:"card_name"},{title:"身份证号",minWidth:180,key:"sfzh"},{title:"教学院系",minWidth:150,key:"dept"},{title:"性别",minWidth:80,key:"gender"},{title:"联系电话",minWidth:150,key:"phone"},{title:"奖项",minWidth:80,slot:"hierarchy_name",fixed:"right"},{title:"奖励比例",minWidth:100,slot:"bonus_ratio",fixed:"right"},{title:"奖励金额",minWidth:100,slot:"bonus",fixed:"right"}],guidecolumnsTeacherAward:[{title:"指导教师",minWidth:100,key:"name"},{title:"工号",minWidth:120,key:"card_name"},{title:"身份证号",minWidth:180,key:"sfzh"},{title:"教学院系",minWidth:150,key:"dept"},{title:"性别",minWidth:80,key:"gender"},{title:"联系电话",minWidth:150,key:"phone"},{title:"奖项",minWidth:80,slot:"hierarchy_name",fixed:"right"},{title:"奖励比例",minWidth:100,slot:"bonus_ratio",fixed:"right"},{title:"奖励金额",minWidth:100,slot:"bonus",fixed:"right"}],columnsTeacherAward:[{title:"参赛教师",minWidth:100,key:"name"},{title:"工号",minWidth:120,key:"card_name"},{title:"身份证号",minWidth:180,key:"sfzh"},{title:"教学院系",minWidth:150,key:"dept"},{title:"性别",minWidth:80,key:"gender"},{title:"联系电话",minWidth:150,key:"phone"},{title:"奖项",minWidth:80,slot:"hierarchy_name",fixed:"right"},{title:"奖励比例",minWidth:100,slot:"bonus_ratio",fixed:"right"},{title:"奖励金额",minWidth:100,slot:"bonus",fixed:"right"}],competitionsignTeam:[],flowInfo:"",publicIdentificatio:"",publicTextarea:"",formValidate:{publicAction:""},ruleValidate:{publicAction:[{required:!0,type:"number",message:"该项不能为空",trigger:"change"}]},publicModal:!1,data:{keyValueArray:[],Object:{}},runid:"",form_name:"",promiseAllArray:[],drawerObject:{},teamDrawer:!1,drawerColumn:[{title:"姓名",key:"name",align:"center",show:!0,width:80},{title:"成员工号",key:"card_name",align:"center",show:!0,minWidth:120},{title:"是否为教师",key:"is_tea",align:"center",show:!0,minWidth:150},{title:"是否为指导教师",key:"is_lead",align:"center",show:!0,minWidth:100},{title:"班级",key:"classname",align:"center",show:!0,minWidth:120},{title:"部门",key:"dept",align:"center",show:!0,minWidth:120}],drawerData:[],timeLineArray:[]}},computed:{publicState:function(){return d["a"]}},watch:{},methods:{unfoldTeamCard:function(){Boolean(this.unfold.State)?(this.unfold.height="500",this.unfold.State=0):(this.unfold.height="9999",this.unfold.State=1)},updateViewFile:function(t){var e=this,i=function(t,i){e.src=window.location.protocol+"//"+window.location.host+i.path,e.fileType=t,e.viewFileUpdataKeys++};".jpg"===t.suffix||".jpeg"===t.suffix||".png"===t.suffix||".pdf"===t.suffix?i("image",t):".doc"!==t.suffix&&".docx"!==t.suffix&&".xls"!==t.suffix&&".xlsx"!==t.suffix||i("office",t)},viewFile:function(t){var e=this,i=function(t,i){e.src=window.location.protocol+"//"+window.location.host+i.path,e.fileType=t,e.drawerPreview=!0};".jpg"===t.suffix||".jpeg"===t.suffix||".png"===t.suffix||".pdf"===t.suffix?i("image",t):".doc"!==t.suffix&&".docx"!==t.suffix&&".xls"!==t.suffix&&".xlsx"!==t.suffix||i("office",t)},GetFlowLogList:function(t){var e=this;l["getInitListRequest"]((function(){c["GetFlowLogList"]({form_id:t}).then((function(t){e.timeLineArray=t.response}))}))},teamInfo:function(){var t=Object(s["a"])(r.a.mark((function t(){var e;return r.a.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return this.$Spin.show(),t.next=3,c["GetTeamInfo"]({teamid:this.data.Object.certificate.team_id});case 3:e=t.sent,this.drawerObject=e.response,l["publicMessage"](e),this.teamDrawer=!0;case 7:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),ok:function(){var t=Object(s["a"])(r.a.mark((function t(){var e,i,a=this;return r.a.wrap((function(t){while(1)switch(t.prev=t.next){case 0:e={taskid:this.data.Object.taskid,remark:this.publicTextarea},t.t0=this.publicIdentificatio,t.next="pass"===t.t0?4:"revocation"===t.t0?13:15;break;case 4:return this.btLoad=!0,t.next=7,c["FlowApproval"](e);case 7:return i=t.sent,this.btLoad=!1,l["publicMessage"](i),this.publicModal=!1,1===i.code&&setTimeout((function(){localStorage.setItem("updataEvent","getDataEvent"),a.$router.back()}),1500),t.abrupt("break",15);case 13:return this.$refs.formValidate.validate(function(){var t=Object(s["a"])(r.a.mark((function t(i){var n;return r.a.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!i){t.next=8;break}return a.btLoad=!0,e.action=a.formValidate.publicAction,t.next=5,c["FlowRevocation"](e);case 5:n=t.sent,1===n.code?(l["publicMessage"](n),a.publicModal=!1,setTimeout((function(){localStorage.setItem("updataEvent","getDataEvent"),a.$router.back()}),1500)):(a.btLoad=!1,a.$Message.error(n.msg_detail)),a.btLoad=!1;case 8:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),t.abrupt("break",15);case 15:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),cancel:function(){this.publicModal=!1},cancelFlow:function(){var t=Object(s["a"])(r.a.mark((function t(){var e,i;return r.a.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return this.$Spin.show(),e={runid:this.runid},t.next=4,c["FlowCancel"](e);case 4:i=t.sent,1===i.code?l["publicMessage"](i):(this.$Spin.hide(),this.$Message.error(i.msg_detail));case 6:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),revocationFlow:function(){this.publicTextarea="",this.publicIdentificatio="revocation",this.formValidate.publicAction&&this.$refs["formValidate"].resetFields(),this.publicModal=!0},passFlow:function(){this.publicTextarea="",this.publicIdentificatio="pass",this.publicModal=!0},getInitList:function(){var t=Object(s["a"])(r.a.mark((function t(){var e,i,a,n,s,o,l,u,_,p,m,h,f,y,v,b,w,x,g,k=this;return r.a.wrap((function(t){while(1)switch(t.prev=t.next){case 0:e=function(t){1!==t.code&&(k.$Spin.hide(),k.$Message.error("无数据"))},t.t0=this.form_name,t.next="CompetitionReport"===t.t0?4:"CompetitionSign"===t.t0?19:"Certificate"===t.t0?35:"BonusDeclare"===t.t0?48:"SubsidyDeclare"===t.t0?61:"WorkloadDeclare"===t.t0?74:"Bursary"===t.t0?87:"Notice"===t.t0?103:119;break;case 4:return this.$Spin.show(),i={runid:this.runid},t.next=8,c["GetFlowInfo"](i);case 8:return a=t.sent,console.log("🚀🚀🚀,",a),this.GetFlowLogList(a.response.competition_report.competitionreportid),e(a),this.data.Object=a.response,n=["competitionname","sponsor","way","dept","competitionsubitem_name","report_code","competitionbatch_name","competition_type_name","competition_level_name"],Object.keys(a.response.competition_report).map((function(t){return n.includes(t)?"":delete a.response.competition_report[t]})),this.data.keyValueArray=Object.entries(a.response.competition_report),this.data.keyValueArray.map((function(t,e){var i=["赛事名称","主办单位","比赛形式","教学单位","赛项名称","赛事编码","学年名称","赛事类型","赛事级别","相关专业"];t.push(i[e])})),this.$Spin.hide(),t.abrupt("break",119);case 19:return this.$Spin.show(),s={runid:this.runid},t.next=23,c["GetFlowInfo"](s);case 23:return o=t.sent,this.GetFlowLogList(o.response.competition_sign.competitionsignid),e(o),this.data.Object=o.response,this.data.competitionsignid=o.response.competition_sign.competitionsignid,c["TeamAndMemberSel"]({signid:o.response.competition_sign.competitionsignid}).then((function(t){k.competitionsignTeam=t.response})),l=["competitionname","sponsor","competitionsubitem_name","way","class_hour","end_time","competitionsubitem_name","report_code","competition_type_name","competition_level_name","begin_time","money"],Object.keys(o.response.competition_sign).map((function(t){-1===l.indexOf(t)&&delete o.response.competition_sign[t]})),this.data.keyValueArray=Object.entries(o.response.competition_sign),this.data.keyValueArray.map((function(t,e){var i=["赛事编号","赛事名称","赛项名称","主办单位","赛事级别","赛事类别","竞赛形式","比赛开始时间","比赛结束时间","经费预算","计划培训课时"];t.push(i[e])})),this.$Spin.hide(),t.abrupt("break",119);case 35:return this.$Spin.show(),u={runid:this.runid},t.next=39,c["GetFlowInfo"](u);case 39:return _=t.sent,this.GetFlowLogList(_.response.certificate.certificateid),e(_),this.data.Object=_.response,c["TeamAndMemberSel"]({signid:_.response.certificate.competitionsign_id}).then((function(t){k.competitionsignTeam=t.response})),this.data.array=[{title:"赛事名称",value:_.response.certificate.competitionname},{title:"赛事编号",value:_.response.certificate.report_code},{title:"赛项名称",value:_.response.certificate.competitionsubitem_name},{title:"主办单位",value:_.response.certificate.sponsor},{title:"赛事级别",value:_.response.certificate.competition_level_name},{title:"赛事类别",value:_.response.certificate.competition_type_name},{title:"竞赛形式",value:["团队","个人","不限"][_.response.certificate.way]},{title:"比赛开始时间",value:_.response.certificate.begin_time},{title:"比赛结束时间",value:_.response.certificate.end_time},{title:"审批状态",value:d["a"].flowApprovalState[_.response.certificate.approval_state]}],this.data.keyValueArray=Object.entries(_.response.certificate),this.$Spin.hide(),t.abrupt("break",119);case 48:return this.$Spin.show(),p={runid:this.runid},t.next=52,c["GetFlowInfo"](p);case 52:return m=t.sent,this.GetFlowLogList(m.response.bonus.bonusdeclareid),e(m),this.data.Object=m.response,c["TeamAndMemberSel"]({signid:m.response.bonus.competitionsign_id}).then((function(t){k.competitionsignTeam=t.response.map((function(t,e){return t.student_list.forEach((function(e,i){e.hierarchy_id=t.hierarchy_id,e.hierarchy_name=t.hierarchy_name,e.teamFlag=!0})),t.guide_teacher_list.forEach((function(e,i){e.hierarchy_id=t.hierarchy_id,e.hierarchy_name=t.hierarchy_name,e.teamFlag=!0})),t.contestant_teacher_list.forEach((function(e,i){e.hierarchy_id=t.hierarchy_id,e.hierarchy_name=t.hierarchy_name,e.teamFlag=!0})),t}))})),this.data.array=[{title:"赛事名称",value:m.response.bonus.competitionname},{title:"赛事编号",value:m.response.bonus.report_code},{title:"赛项名称",value:m.response.bonus.competitionsubitem_name},{title:"主办单位",value:m.response.bonus.sponsor},{title:"赛事级别",value:m.response.bonus.competition_level_name},{title:"赛事类别",value:m.response.bonus.competition_type_name},{title:"竞赛形式",value:["团队","个人","不限"][m.response.bonus.way]},{title:"比赛开始时间",value:m.response.bonus.begin_time},{title:"比赛结束时间",value:m.response.bonus.end_time},{title:"奖金总金额",value:m.response.bonus.bonus_total},{title:"审批状态",value:d["a"].flowApprovalState[m.response.bonus.approval_state]}],this.data.keyValueArray=Object.entries(m.response.bonus),this.$Spin.hide(),t.abrupt("break",119);case 61:return this.$Spin.show(),h={runid:this.runid},t.next=65,c["GetFlowInfo"](h);case 65:return f=t.sent,this.GetFlowLogList(f.response.subsidy.subsidydeclareid),e(f),this.data.Object=f.response,this.asc.getApiTeamApiTeamTeamAndMemberSelCondition({signid:f.response.subsidy.competitionsign_id,is_tea:0}).then((function(t){k.competitionsignTeam=t.response.map((function(t,e){return t.student_list.forEach((function(e,i){e.hierarchy_id=t.hierarchy_id,e.hierarchy_name=t.hierarchy_name,e.teamFlag=!0})),t}))})),this.data.array=[{title:"赛事名称",value:f.response.subsidy.competitionname},{title:"赛事编号",value:f.response.subsidy.report_code},{title:"赛项名称",value:f.response.subsidy.competitionsubitem_name},{title:"主办单位",value:f.response.subsidy.sponsor},{title:"赛事级别",value:f.response.subsidy.competition_level_name},{title:"赛事类别",value:f.response.subsidy.competition_type_name},{title:"竞赛形式",value:["团队","个人","不限"][f.response.subsidy.way]},{title:"比赛开始时间",value:f.response.subsidy.begin_time},{title:"比赛结束时间",value:f.response.subsidy.end_time},{title:"审批状态",value:d["a"].flowApprovalState[f.response.subsidy.approval_state]},{title:"补贴总金额",value:f.response.subsidy.subsidy_total}],this.data.keyValueArray=Object.entries(f.response.subsidy),this.$Spin.hide(),t.abrupt("break",119);case 74:return this.$Spin.show(),y={runid:this.runid},t.next=78,c["GetFlowInfo"](y);case 78:return v=t.sent,this.GetFlowLogList(v.response.workload.workloaddeclareid),e(v),this.data.Object=v.response,this.asc.getApiTeamApiTeamTeamAndMemberSelCondition({signid:v.response.workload.competitionsign_id,is_tea:1}).then((function(t){k.competitionsignTeam=t.response.map((function(t,e){return t.student_list.forEach((function(e,i){e.hierarchy_id=t.hierarchy_id,e.hierarchy_name=t.hierarchy_name,e.teamFlag=!0})),t}))})),this.data.array=[{title:"赛事名称",value:v.response.workload.competitionname},{title:"赛事编号",value:v.response.workload.report_code},{title:"赛项名称",value:v.response.workload.competitionsubitem_name},{title:"主办单位",value:v.response.workload.sponsor},{title:"赛事级别",value:v.response.workload.competition_level_name},{title:"赛事类别",value:v.response.workload.competition_type_name},{title:"竞赛形式",value:["团队","个人","不限"][v.response.workload.way]},{title:"比赛开始时间",value:v.response.workload.begin_time},{title:"比赛结束时间",value:v.response.workload.end_time},{title:"审批状态",value:d["a"].flowApprovalState[v.response.workload.approval_state]},{title:"计划培训量",value:v.response.workload.class_hour},{title:"实际培训量",value:v.response.workload.actual_class_hour}],this.data.keyValueArray=Object.entries(v.response.workload),this.$Spin.hide(),t.abrupt("break",119);case 87:return this.$Spin.show(),b={runid:this.runid},t.next=91,c["GetFlowInfo"](b);case 91:return w=t.sent,this.GetFlowLogList(w.response.bursary.competitionreportid),e(w),this.data.Object=w.response,delete w.response.bursary.bursaryid,delete w.response.bursary.grant_file,delete w.response.bursary.competitionreportid,delete w.response.bursary.approval_remark,this.data.keyValueArray=Object.entries(w.response.bursary),this.data.keyValueArray.map((function(t,e){var i=["姓名","性别","学号/工号","身份证","专业/班级","竞赛名称","竞赛文件名","竞赛类别","补助时间","补助金额","计划集训时间","实际集训起止时间","参赛具体情况","创建时间","审批状态"];t.push(i[e])})),this.$Spin.hide(),t.abrupt("break",119);case 103:return this.$Spin.show(),x={runid:this.runid},t.next=107,c["GetFlowInfo"](x);case 107:return g=t.sent,e(g),this.data.Object=g.response,delete g.response.notice.noticeid,delete g.response.notice.typeid,delete g.response.notice.grant_file,delete g.response.notice.createtime,delete g.response.notice.competitionreportid,this.data.keyValueArray=Object.entries(g.response.notice),this.data.keyValueArray.map((function(t,e){var i=["公告标题","公告类型","发布时间","发布用户","修改人","修改时间","是否置顶","是否发布","审批状态","公告内容"];t.push(i[e])})),this.$Spin.hide(),t.abrupt("break",119);case 119:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()},beforeCreate:function(){},created:function(){},beforeMount:function(){},mounted:function(){this.runid=this.$route.query.runid,this.form_name=this.$route.query.form_name,this.flowInfo=this.$route.query.flowInfo,this.getInitList()},beforeUpdate:function(){},updated:function(){},beforeDestroy:function(){},destroyed:function(){},activated:function(){}},_=u,p=(i("dbbe"),i("2877")),m=Object(p["a"])(_,a,n,!1,null,"2b4b8f60",null);e["default"]=m.exports},"504c":function(t,e,i){var a=i("9e1e"),n=i("0d58"),s=i("6821"),o=i("52a7").f;t.exports=function(t){return function(e){var i,r=s(e),l=n(r),c=l.length,d=0,u=[];while(c>d)i=l[d++],a&&!o.call(r,i)||u.push(t?[i,r[i]]:r[i]);return u}}},dbbe:function(t,e,i){"use strict";i("0aec")},ffc1:function(t,e,i){var a=i("5ca1"),n=i("504c")(!0);a(a.S,"Object",{entries:function(t){return n(t)}})}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-71123491"],{"386d":function(t,e,i){"use strict";var n=i("cb7c"),a=i("83a1"),o=i("5f1b");i("214f")("search",1,(function(t,e,i,s){return[function(i){var n=t(this),a=void 0==i?void 0:i[e];return void 0!==a?a.call(i,n):new RegExp(i)[e](String(n))},function(t){var e=s(i,t,this);if(e.done)return e.value;var l=n(t),r=String(this),c=l.lastIndex;a(c,0)||(l.lastIndex=0);var u=o(l,r);return a(l.lastIndex,c)||(l.lastIndex=c),null===u?-1:u.index}]}))},"6de6":function(t,e,i){"use strict";i("abd3")},"83a1":function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t===1/e:t!=t&&e!=e}},abd3:function(t,e,i){},bbca:function(t,e,i){"use strict";i("edf6")},e8c1:function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("Card",{ref:"card",scopedSlots:t._u([{key:"title",fn:function(){return[i("div",{staticStyle:{height:"auto"}},[i("cs-search-cond-form",{ref:"search",attrs:{searchCondList:t.searchCondList,labelWidth:120},on:{onSubmit:t.cssearch,onReset:t.csreset}})],1)]},proxy:!0}])},[i("Table",{attrs:{columns:t.columns,data:t.tableData,loading:t.loading},scopedSlots:t._u([{key:"todo",fn:function(e){var n=e.row;return t._l(n.todo,(function(e,n){return i("span",{key:n},[t._v(t._s(e.replace("[","").replace("]","").replace('"',"")))])}))}},{key:"partcipant",fn:function(e){var n=e.row;return t._l(n.partcipant,(function(e,n){return i("span",{key:n},[t._v(t._s(e.replace("[","").replace("]","").replace('"',"")))])}))}},{key:"status",fn:function(e){var i=e.row;return[t._v("\n "+t._s(["草稿","运行中","已结束"][i.status])+"\n ")]}},{key:"action_type",fn:function(e){var n=e.row;return[i("Tag",{attrs:{color:t.publicState.completeFlow.color[n.action_type]}},[t._v("\n "+t._s(t.publicState.completeFlow.action_type[n.action_type])+"\n ")])]}},{key:"action",fn:function(e){var n=e.row;return[2===n.status?i("a",{key:t.cancelKey,staticClass:"cancel",staticStyle:{"margin-right":"15px"}},[t._v("取消")]):i("a",{key:t.cancelKey,staticStyle:{"margin-right":"15px",color:"red"},on:{click:function(e){return t.flowCancel(n)}}},[t._v("取消")]),i("a",{on:{click:function(e){return t.approvalLisFun(n)}}},[t._v("详细")])]}}])}),i("div",{staticStyle:{height:"60px",display:"flex","align-items":"center"}},[i("Page",{key:t.pageKey,attrs:{total:t.init.total,"show-total":"","show-sizer":"","page-size":t.init.page_size},on:{"on-change":t.handleChangePage,"on-page-size-change":t.handleChangePageSize},model:{value:t.init.page_index,callback:function(e){t.$set(t.init,"page_index",e)},expression:"init.page_index"}})],1)],1)],1)},a=[],o=(i("8e6e"),i("ac6a"),i("456d"),i("96cf"),i("1da1")),s=i("ade3"),l=(i("386d"),i("6762"),i("2fdb"),i("967e")),r=i.n(l),c=i("61be"),u=i("7f6b"),d=i("5ccc"),f=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("Card",{ref:"card",scopedSlots:t._u([{key:"title",fn:function(){return[i("div",{staticStyle:{height:"70px"}},[i("h3",[t._v("我的流程列表")]),i("div",{staticStyle:{display:"flex","justify-content":"space-between","align-items":"center","margin-top":"1.5vw"}},[i("Select",{staticStyle:{width:"20vw","margin-right":"1vw"},attrs:{placeholder:"请选择流程名称"},scopedSlots:t._u([{key:"prefix",fn:function(){return[i("span",{staticStyle:{color:"#707575","margin-right":"1vw"}},[t._v("\n 流程名称\n ")])]},proxy:!0}]),model:{value:t.init.flow_id,callback:function(e){t.$set(t.init,"flow_id",e)},expression:"init.flow_id"}},t._l(t.flowSelect,(function(e,n){return i("Option",{key:n,attrs:{value:e.id}},[t._v(t._s(e.name))])})),1),i("Select",{staticStyle:{width:"20vw","margin-right":"1vw"},attrs:{placeholder:"请选择操作类型"},scopedSlots:t._u([{key:"prefix",fn:function(){return[i("span",{staticStyle:{color:"#707575","margin-right":"1vw"}},[t._v("\n 操作类型\n ")])]},proxy:!0}]),model:{value:t.init.action_type,callback:function(e){t.$set(t.init,"action_type",e)},expression:"init.action_type"}},t._l(t.publicState.flowActionClass,(function(e,n){return i("Option",{key:n,attrs:{value:e.value}},[t._v("\n "+t._s(e.label)+"\n ")])})),1),i("Select",{staticStyle:{width:"20vw"},attrs:{placeholder:"请选择流程状态"},scopedSlots:t._u([{key:"prefix",fn:function(){return[i("span",{staticStyle:{color:"#707575","margin-right":"1vw"}},[t._v("\n 流程状态\n ")])]},proxy:!0}]),model:{value:t.init.status,callback:function(e){t.$set(t.init,"status",e)},expression:"init.status"}},t._l(t.publicState.flowState,(function(e,n){return i("Option",{key:n,attrs:{value:e.value}},[t._v(t._s(e.label)+"\n ")])})),1)],1)])]},proxy:!0},{key:"extra",fn:function(){return[i("div",{staticStyle:{display:"flex"}},[i("div",{staticStyle:{display:"flex","align-items":"center"}},[i("span",[t._v("标题:")]),i("Input",{staticStyle:{width:"15vw","margin-right":"1vw"},attrs:{placeholder:"请输入标题"},model:{value:t.init.flow_name,callback:function(e){t.$set(t.init,"flow_name",e)},expression:"init.flow_name"}})],1),i("div",{staticStyle:{display:"flex","align-items":"center"}},[i("span",[t._v("姓名或工号:")]),i("Input",{staticStyle:{width:"15vw","margin-right":"1vw"},attrs:{placeholder:"请输入姓名或工号"},model:{value:t.init.key_name,callback:function(e){t.$set(t.init,"key_name",e)},expression:"init.key_name"}})],1),i("cs-button",{ref:"search",attrs:{"cs-text":"搜索","cs-click":t.search}})],1)]},proxy:!0}])},[i("Table",{attrs:{columns:t.columns,data:t.tableData,loading:t.loading},scopedSlots:t._u([{key:"todo",fn:function(e){var n=e.row;return t._l(n.todo,(function(e,n){return i("span",{key:n},[t._v(t._s(e.replace("[","").replace("]","").replace('"',"")))])}))}},{key:"partcipant",fn:function(e){var n=e.row;return t._l(n.partcipant,(function(e,n){return i("span",{key:n},[t._v(t._s(e.replace("[","").replace("]","").replace('"',"")))])}))}},{key:"status",fn:function(e){var i=e.row;return[t._v("\n "+t._s(["草稿","运行中","已结束"][i.status])+"\n ")]}},{key:"action_type",fn:function(e){var n=e.row;return[i("Tag",{attrs:{color:t.publicState.completeFlow.color[n.action_type]}},[t._v("\n "+t._s(t.publicState.completeFlow.action_type[n.action_type])+"\n ")])]}},{key:"action",fn:function(e){var n=e.row;return[2===n.status?i("a",{key:t.cancelKey,staticClass:"cancel",staticStyle:{"margin-right":"15px"}},[t._v("取消")]):i("a",{key:t.cancelKey,staticStyle:{"margin-right":"15px",color:"red"},on:{click:function(e){return t.flowCancel(n)}}},[t._v("取消")]),i("a",{on:{click:function(e){return t.approvalLisFun(n)}}},[t._v("详细")])]}}])}),i("div",{staticStyle:{height:"60px",display:"flex","align-items":"center"}},[i("Page",{key:t.pageKey,attrs:{total:t.init.total,"show-total":"","show-sizer":"","page-size":t.init.page_size},on:{"on-change":t.handleChangePage,"on-page-size-change":t.handleChangePageSize},model:{value:t.init.page_index,callback:function(e){t.$set(t.init,"page_index",e)},expression:"init.page_index"}})],1)],1)],1)},p=[],h={name:"list",computed:{publicState:function(){return d["a"]}},components:{aaa:y},data:function(){return{flowSelect:[],ddd:"",ccc:"",bbb:"",aaa:"",flowStateArray:[{name:"草稿",value:0},{name:"运行中",value:1},{name:"已结束",value:2}],cancelKey:1,formData:{name:"",url:"",owner:"",type:"",approver:"",date:"",desc:""},approvalDrawer:!1,formValidate:{runid:"",title:"",flow_name:"",flow_id:"",status:0,action_type:0,starter:"",starter_name:"",start_time:"",current_node_id:"",current_node_name:"",todo:"",partcipant:"",modifyby:"",modifytime:"",form_id:"",form_name:""},grid:{xl:8,lg:12,md:24,sm:24,xs:24},columns:[{title:"序号",type:"index",align:"center",show:!0,width:80},{title:"标题",key:"title",align:"center",show:!0,minWidth:300},{title:"流程名称",key:"flow_name",align:"center",show:!0,minWidth:150},{title:"状态",slot:"status",align:"center",show:!0,minWidth:100},{title:"操作类型",slot:"action_type",align:"center",show:!0,minWidth:120},{title:"当前节点名称",key:"current_node_name",align:"center",show:!0,minWidth:200},{title:"当前节点待办人员",slot:"todo",align:"center",show:!0,minWidth:200},{title:"参与人",slot:"partcipant",align:"center",show:!0,minWidth:200},{title:"发起人",key:"starter",align:"center",show:!0,minWidth:150},{title:"发起人姓名",key:"starter_name",align:"center",show:!0,minWidth:120},{title:"发起时间",key:"start_time",align:"center",show:!0,minWidth:150},{title:"操作",align:"center",minWidth:180,fixed:"right",show:!0,slot:"action"}],loading:!1,tableData:[{}],tableSize:"default",tableFullscreen:!1,total:0,collapse:!1,params:{pageIndex:1,pageSize:10,college_id:"",grade:"",classId_Name:"",status:""},init:{flow_id:"",action_type:"",status:"",key_name:"",flow_name:"",page_index:1,page_size:10,total:0},pageKey:1}},created:function(){},mounted:function(){this.GetFlowTaskList(),this.GetFlowIdSelect()},methods:{search:function(){this.$refs.search.load=!0,this.init.status1=this.init.status,this.init.key_name1=this.init.key_name,this.init.action_type1=this.init.action_type,this.init.flow_id1=this.init.flow_id,this.init.flow_name1=this.init.flow_name,this.GetFlowTaskList(),this.$refs.search.load=!1},GetFlowIdSelect:function(){var t=this;c["getInitListRequest"]((function(){u["GetFlowIdSelect"]().then((function(e){e.response.map((function(t,i){"102"===t.id&&(e.response.unshift(t),e.response.splice(i+1,1))})),t.flowSelect=e.response}))}))},GetFlowTaskList:function(){var t=Object(o["a"])(r.a.mark((function t(){var e,i;return r.a.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return this.loading=!0,e={page_index:this.init.page_index,page_size:this.init.page_size,flow_id:this.init.flow_id1,key_name:this.init.key_name1,action_type:this.init.action_type1,status:this.init.status1,flow_name:this.init.flow_name1},t.next=4,u["GetMyFlowTaskList"](e);case 4:i=t.sent,this.init.total=i.response.data_count,this.tableData=i.response.data,this.loading=!1;case 8:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),add:function(){this.$refs.addEdit.add()},flowCancel:function(){var t=Object(o["a"])(r.a.mark((function t(e){var i=this;return r.a.wrap((function(t){while(1)switch(t.prev=t.next){case 0:c["publicConfirm"](Object(o["a"])(r.a.mark((function t(){var n;return r.a.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,u["FlowCancel"]({runid:e.runid});case 2:return n=t.sent,i.cancelKey++,c["publicMessage"](n),t.next=7,i.GetFlowTaskList();case 7:case"end":return t.stop()}}),t)}))));case 1:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),approvalLisFun:function(t){this.$router.push({name:"awaitDoneInformation",query:{runid:t.runid,form_name:t.form_name,flowInfo:"流程详细信息"}}),console.log("🚀🚀🚀,",t)},del:function(t){console.log("删除"),this.$Message.info("删除成功")},cancel:function(){this.$Message.info("You click cancel")},handleChangePage:function(t){this.init.page_index=t,this.GetFlowTaskList()},handleChangePageSize:function(t){this.init.page_size=t,this.GetFlowTaskList()}}},w=h,_=(i("6de6"),i("2877")),m=Object(_["a"])(w,f,p,!1,null,null,null),y=m.exports;function g(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function v(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?g(Object(i),!0).forEach((function(e){Object(s["a"])(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):g(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var k={name:"list",computed:{publicState:function(){return d["a"]}},components:{aaa:y},data:function(){var t=this;return{searchCondList:[{id:"key_name",name:"姓名或工号",type:"input",show:!0,optList:[]},{id:"flow_name",name:"赛事名称",type:"input",show:!0,optList:[]},{id:"status",name:"流程状态",type:"select",show:!0,optList:[{label:"草稿",value:0},{label:"运行中",value:1},{label:"已结束",value:2}]},{id:"action_type",name:"操作类型",type:"select",show:!0,optList:[{value:1,label:"发送"},{value:2,label:"退回"},{value:4,label:"结束"},{value:5,label:"取消"},{value:6,label:"退回到发起人"}]}],flowSelect:[],ddd:"",ccc:"",bbb:"",aaa:"",flowStateArray:[{name:"草稿",value:0},{name:"运行中",value:1},{name:"已结束",value:2}],cancelKey:1,formData:{name:"",url:"",owner:"",type:"",approver:"",date:"",desc:""},approvalDrawer:!1,formValidate:{runid:"",title:"",flow_name:"",flow_id:"",status:0,action_type:0,starter:"",starter_name:"",start_time:"",current_node_id:"",current_node_name:"",todo:"",partcipant:"",modifyby:"",modifytime:"",form_id:"",form_name:""},grid:{xl:8,lg:12,md:24,sm:24,xs:24},columns:[{title:"序号",type:"index",show:!0,width:80},{title:"赛事名称",key:"title",show:!0,minWidth:300},{title:"流程名称",key:"flow_name",show:!0,minWidth:150},{title:"流程状态",slot:"status",show:!0,minWidth:150},{title:"操作类型",slot:"action_type",show:!0,minWidth:150},{title:"当前节点名称",key:"current_node_name",show:!0,minWidth:150},{title:"当前节点待办人员",slot:"todo",show:!0,minWidth:200},{title:"参与人",slot:"partcipant",show:!0,minWidth:200},{title:"发起人",key:"starter",show:!0,minWidth:150},{title:"发起人姓名",key:"starter_name",show:!0,minWidth:120},{title:"发起时间",key:"start_time",show:!0,minWidth:150},{title:"操作",minWidth:180,fixed:"right",show:!0,slot:"action"}],loading:!1,tableData:[{}],tableSize:"default",tableFullscreen:!1,total:0,collapse:!1,params:{pageIndex:1,pageSize:10,college_id:"",grade:"",classId_Name:"",status:""},init:{flow_id:"",action_type:"",status:"",key_name:"",flow_name:"",page_index:1,page_size:10,total:0},pageKey:1,strategy:{"/flow-awaitDoneList-WorkloadDeclare":function(){t.init.flow_id1=109},"/flow-processedList-WorkloadDeclare":function(){t.init.flow_id1=109},"/flow-myFlowList-WorkloadDeclare":function(){t.init.flow_id1=109},"/flow-awaitDoneList-TeacherBonusDeclare":function(){t.init.flow_id1=107},"/flow-processedList-TeacherBonusDeclare":function(){t.init.flow_id1=107},"/flow-myFlowList-TeacherBonusDeclare":function(){t.init.flow_id1=107},"/flow-awaitDoneList-SubsidyDeclare":function(){t.init.flow_id1=108},"/flow-processedList-SubsidyDeclare":function(){t.init.flow_id1=108},"/flow-myFlowList-SubsidyDeclare":function(){t.init.flow_id1=108},"/flow-awaitDoneList-StudentBonusDeclare":function(){t.init.flow_id1=106},"/flow-processedList-StudentBonusDeclare":function(){t.init.flow_id1=106},"/flow-myFlowList-StudentBonusDeclare":function(){t.init.flow_id1=106},"/flow-awaitDoneList-Certificate":function(){t.init.flow_id1=103},"/flow-processedList-Certificate":function(){t.init.flow_id1=103},"/flow-myFlowList-Certificate":function(){t.init.flow_id1=103},"/flow-awaitDoneList":function(){t.init.flow_id1=102,t.searchCondList.map((function(t){return t.id})).includes("flow_id")||t.searchCondList.push({id:"flow_id",name:"流程类别",type:"select",show:!0,optList:[{label:"学生流程",value:102},{label:"教师流程",value:110}]})},"/flow-processedList":function(){t.init.flow_id1=102,t.searchCondList.map((function(t){return t.id})).includes("flow_id")||t.searchCondList.push({id:"flow_id",name:"流程类别",type:"select",show:!0,optList:[{label:"学生流程",value:102},{label:"教师流程",value:110}]})},"/flow-myFlowList":function(){t.init.flow_id1=102,t.searchCondList.map((function(t){return t.id})).includes("flow_id")||t.searchCondList.push({id:"flow_id",name:"流程类别",type:"select",show:!0,optList:[{label:"学生流程",value:102},{label:"教师流程",value:110}]})}}}},created:function(){},watch:{$route:function(t,e){this.init={action_type:"",status:"",key_name:"",flow_name:"",page_index:1,page_size:10,total:0,flow_id:""},this.strategy[t.path](),this.$refs.search.resetBt()}},mounted:function(){this.strategy[this.$route.path](),this.GetFlowTaskList(),this.GetFlowIdSelect()},methods:{cssearch:function(t){this.strategy[this.$route.path](),this.init=v(v(v({},this.init),t),{},{flow_id:t.flow_id?t.flow_id:this.init.flow_id1}),this.init.flow_id1=this.init.flow_id,this.search()},csreset:function(){this.init={action_type:"",status:"",key_name:"",flow_name:"",page_index:1,page_size:10,total:0,flow_id:""},this.strategy[this.$route.path](),this.initData()},getFlowId:function(){this.strategy[this.$route.path]()},initData:function(){this.getFlowId(),this.init.status1=this.init.status="",this.init.key_name1=this.init.key_name="",this.init.action_type1=this.init.action_type="",this.init.flow_name1=this.init.flow_name="",this.GetFlowTaskList()},search:function(){this.init.status1=this.init.status,this.init.key_name1=this.init.key_name,this.init.action_type1=this.init.action_type,this.init.flow_name1=this.init.flow_name,this.GetFlowTaskList()},GetFlowIdSelect:function(){var t=this;c["getInitListRequest"]((function(){u["GetFlowIdSelect"]().then((function(e){e.response.map((function(t,i){"102"===t.id&&(e.response.unshift(t),e.response.splice(i+1,1))})),t.flowSelect=e.response}))}))},GetFlowTaskList:function(){var t=Object(o["a"])(r.a.mark((function t(){var e,i;return r.a.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return this.loading=!0,e={page_index:this.init.page_index,page_size:this.init.page_size,flow_id:this.init.flow_id1,key_name:this.init.key_name1,action_type:this.init.action_type1,status:this.init.status1,flow_name:this.init.flow_name1},t.next=4,u["GetMyFlowTaskList"](e);case 4:i=t.sent,this.init.total=i.response.data_count,this.tableData=i.response.data,this.loading=!1;case 8:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),add:function(){this.$refs.addEdit.add()},flowCancel:function(){var t=Object(o["a"])(r.a.mark((function t(e){var i=this;return r.a.wrap((function(t){while(1)switch(t.prev=t.next){case 0:c["publicConfirm"](Object(o["a"])(r.a.mark((function t(){var n;return r.a.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,u["FlowCancel"]({runid:e.runid});case 2:return n=t.sent,i.cancelKey++,c["publicMessage"](n),t.next=7,i.GetFlowTaskList();case 7:case"end":return t.stop()}}),t)}))));case 1:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),approvalLisFun:function(t){this.$router.push({name:"awaitDoneInformation",query:{runid:t.runid,form_name:t.form_name,flowInfo:"流程详细信息"}}),console.log("🚀🚀🚀,",t)},del:function(t){console.log("删除"),this.$Message.info("删除成功")},cancel:function(){this.$Message.info("You click cancel")},handleChangePage:function(t){this.init.page_index=t,this.GetFlowTaskList()},handleChangePageSize:function(t){this.init.page_size=t,this.GetFlowTaskList()}}},b=k,x=(i("bbca"),Object(_["a"])(b,n,a,!1,null,null,null));e["default"]=x.exports},edf6:function(t,e,i){}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-71123491"],{"386d":function(t,e,i){"use strict";var n=i("cb7c"),a=i("83a1"),o=i("5f1b");i("214f")("search",1,(function(t,e,i,s){return[function(i){var n=t(this),a=void 0==i?void 0:i[e];return void 0!==a?a.call(i,n):new RegExp(i)[e](String(n))},function(t){var e=s(i,t,this);if(e.done)return e.value;var r=n(t),c=String(this),l=r.lastIndex;a(l,0)||(r.lastIndex=0);var d=o(r,c);return a(r.lastIndex,l)||(r.lastIndex=l),null===d?-1:d.index}]}))},"6de6":function(t,e,i){"use strict";i("abd3")},"83a1":function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t===1/e:t!=t&&e!=e}},abd3:function(t,e,i){},bbca:function(t,e,i){"use strict";i("edf6")},e8c1:function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("Card",{ref:"card",scopedSlots:t._u([{key:"title",fn:function(){return[i("div",{staticStyle:{height:"auto"}},[i("cs-search-cond-form",{ref:"search",attrs:{searchCondList:t.searchCondList,labelWidth:120,params:t.init},on:{onSubmit:t.cssearch,onReset:t.csreset}})],1)]},proxy:!0}])},[i("Table",{attrs:{columns:t.columns,data:t.tableData,loading:t.loading},scopedSlots:t._u([{key:"todo",fn:function(e){var n=e.row;return t._l(n.todo,(function(e,n){return i("span",{key:n},[t._v(t._s(e.replace("[","").replace("]","").replace('"',"")))])}))}},{key:"partcipant",fn:function(e){var n=e.row;return t._l(n.partcipant,(function(e,n){return i("span",{key:n},[t._v(t._s(e.replace("[","").replace("]","").replace('"',"")))])}))}},{key:"status",fn:function(e){var i=e.row;return[t._v("\n "+t._s(["草稿","运行中","已结束"][i.status])+"\n ")]}},{key:"action_type",fn:function(e){var n=e.row;return[i("Tag",{attrs:{color:t.publicState.completeFlow.color[n.action_type]}},[t._v("\n "+t._s(t.publicState.completeFlow.action_type[n.action_type])+"\n ")])]}},{key:"action",fn:function(e){var n=e.row;return[2===n.status?i("a",{key:t.cancelKey,staticClass:"cancel",staticStyle:{"margin-right":"15px"}},[t._v("取消")]):i("a",{key:t.cancelKey,staticStyle:{"margin-right":"15px",color:"red"},on:{click:function(e){return t.flowCancel(n)}}},[t._v("取消")]),i("a",{on:{click:function(e){return t.approvalLisFun(n)}}},[t._v("详细")])]}}])}),i("div",{staticStyle:{height:"60px",display:"flex","align-items":"center"}},[i("Page",{key:t.pageKey,attrs:{total:t.init.total,"show-total":"","show-sizer":"","page-size":t.init.page_size},on:{"on-change":t.handleChangePage,"on-page-size-change":t.handleChangePageSize},model:{value:t.init.page_index,callback:function(e){t.$set(t.init,"page_index",e)},expression:"init.page_index"}})],1)],1)],1)},a=[],o=(i("8e6e"),i("456d"),i("96cf"),i("1da1")),s=i("ade3"),r=(i("386d"),i("ac6a"),i("967e")),c=i.n(r),l=i("61be"),d=i("7f6b"),u=i("5ccc"),h=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("Card",{ref:"card",scopedSlots:t._u([{key:"title",fn:function(){return[i("div",{staticStyle:{height:"70px"}},[i("h3",[t._v("我的流程列表")]),i("div",{staticStyle:{display:"flex","justify-content":"space-between","align-items":"center","margin-top":"1.5vw"}},[i("Select",{staticStyle:{width:"20vw","margin-right":"1vw"},attrs:{placeholder:"请选择流程名称"},scopedSlots:t._u([{key:"prefix",fn:function(){return[i("span",{staticStyle:{color:"#707575","margin-right":"1vw"}},[t._v("\n 流程名称\n ")])]},proxy:!0}]),model:{value:t.init.flow_id,callback:function(e){t.$set(t.init,"flow_id",e)},expression:"init.flow_id"}},t._l(t.flowSelect,(function(e,n){return i("Option",{key:n,attrs:{value:e.id}},[t._v(t._s(e.name))])})),1),i("Select",{staticStyle:{width:"20vw","margin-right":"1vw"},attrs:{placeholder:"请选择操作类型"},scopedSlots:t._u([{key:"prefix",fn:function(){return[i("span",{staticStyle:{color:"#707575","margin-right":"1vw"}},[t._v("\n 操作类型\n ")])]},proxy:!0}]),model:{value:t.init.action_type,callback:function(e){t.$set(t.init,"action_type",e)},expression:"init.action_type"}},t._l(t.publicState.flowActionClass,(function(e,n){return i("Option",{key:n,attrs:{value:e.value}},[t._v("\n "+t._s(e.label)+"\n ")])})),1),i("Select",{staticStyle:{width:"20vw"},attrs:{placeholder:"请选择流程状态"},scopedSlots:t._u([{key:"prefix",fn:function(){return[i("span",{staticStyle:{color:"#707575","margin-right":"1vw"}},[t._v("\n 流程状态\n ")])]},proxy:!0}]),model:{value:t.init.status,callback:function(e){t.$set(t.init,"status",e)},expression:"init.status"}},t._l(t.publicState.flowState,(function(e,n){return i("Option",{key:n,attrs:{value:e.value}},[t._v(t._s(e.label)+"\n ")])})),1)],1)])]},proxy:!0},{key:"extra",fn:function(){return[i("div",{staticStyle:{display:"flex"}},[i("div",{staticStyle:{display:"flex","align-items":"center"}},[i("span",[t._v("标题:")]),i("Input",{staticStyle:{width:"15vw","margin-right":"1vw"},attrs:{placeholder:"请输入标题"},model:{value:t.init.flow_name,callback:function(e){t.$set(t.init,"flow_name",e)},expression:"init.flow_name"}})],1),i("div",{staticStyle:{display:"flex","align-items":"center"}},[i("span",[t._v("姓名或工号:")]),i("Input",{staticStyle:{width:"15vw","margin-right":"1vw"},attrs:{placeholder:"请输入姓名或工号"},model:{value:t.init.key_name,callback:function(e){t.$set(t.init,"key_name",e)},expression:"init.key_name"}})],1),i("cs-button",{ref:"search",attrs:{"cs-text":"搜索","cs-click":t.search}})],1)]},proxy:!0}])},[i("Table",{attrs:{columns:t.columns,data:t.tableData,loading:t.loading},scopedSlots:t._u([{key:"todo",fn:function(e){var n=e.row;return t._l(n.todo,(function(e,n){return i("span",{key:n},[t._v(t._s(e.replace("[","").replace("]","").replace('"',"")))])}))}},{key:"partcipant",fn:function(e){var n=e.row;return t._l(n.partcipant,(function(e,n){return i("span",{key:n},[t._v(t._s(e.replace("[","").replace("]","").replace('"',"")))])}))}},{key:"status",fn:function(e){var i=e.row;return[t._v("\n "+t._s(["草稿","运行中","已结束"][i.status])+"\n ")]}},{key:"action_type",fn:function(e){var n=e.row;return[i("Tag",{attrs:{color:t.publicState.completeFlow.color[n.action_type]}},[t._v("\n "+t._s(t.publicState.completeFlow.action_type[n.action_type])+"\n ")])]}},{key:"action",fn:function(e){var n=e.row;return[2===n.status?i("a",{key:t.cancelKey,staticClass:"cancel",staticStyle:{"margin-right":"15px"}},[t._v("取消")]):i("a",{key:t.cancelKey,staticStyle:{"margin-right":"15px",color:"red"},on:{click:function(e){return t.flowCancel(n)}}},[t._v("取消")]),i("a",{on:{click:function(e){return t.approvalLisFun(n)}}},[t._v("详细")])]}}])}),i("div",{staticStyle:{height:"60px",display:"flex","align-items":"center"}},[i("Page",{key:t.pageKey,attrs:{total:t.init.total,"show-total":"","show-sizer":"","page-size":t.init.page_size},on:{"on-change":t.handleChangePage,"on-page-size-change":t.handleChangePageSize},model:{value:t.init.page_index,callback:function(e){t.$set(t.init,"page_index",e)},expression:"init.page_index"}})],1)],1)],1)},f=[],p={name:"list",computed:{publicState:function(){return u["a"]}},components:{aaa:m},data:function(){return{flowSelect:[],ddd:"",ccc:"",bbb:"",aaa:"",flowStateArray:[{name:"草稿",value:0},{name:"运行中",value:1},{name:"已结束",value:2}],cancelKey:1,formData:{name:"",url:"",owner:"",type:"",approver:"",date:"",desc:""},approvalDrawer:!1,formValidate:{runid:"",title:"",flow_name:"",flow_id:"",status:0,action_type:0,starter:"",starter_name:"",start_time:"",current_node_id:"",current_node_name:"",todo:"",partcipant:"",modifyby:"",modifytime:"",form_id:"",form_name:""},grid:{xl:8,lg:12,md:24,sm:24,xs:24},columns:[{title:"序号",type:"index",align:"center",show:!0,width:80},{title:"标题",key:"title",align:"center",show:!0,minWidth:300},{title:"流程名称",key:"flow_name",align:"center",show:!0,minWidth:150},{title:"状态",slot:"status",align:"center",show:!0,minWidth:100},{title:"操作类型",slot:"action_type",align:"center",show:!0,minWidth:120},{title:"当前节点名称",key:"current_node_name",align:"center",show:!0,minWidth:200},{title:"当前节点待办人员",slot:"todo",align:"center",show:!0,minWidth:200},{title:"参与人",slot:"partcipant",align:"center",show:!0,minWidth:200},{title:"发起人",key:"starter",align:"center",show:!0,minWidth:150},{title:"发起人姓名",key:"starter_name",align:"center",show:!0,minWidth:120},{title:"发起时间",key:"start_time",align:"center",show:!0,minWidth:150},{title:"操作",align:"center",minWidth:180,fixed:"right",show:!0,slot:"action"}],loading:!1,tableData:[{}],tableSize:"default",tableFullscreen:!1,total:0,collapse:!1,params:{pageIndex:1,pageSize:10,college_id:"",grade:"",classId_Name:"",status:""},init:{flow_id:"",action_type:"",status:"",key_name:"",flow_name:"",page_index:1,page_size:10,total:0},pageKey:1}},created:function(){},mounted:function(){this.GetFlowTaskList(),this.GetFlowIdSelect()},methods:{search:function(){this.$refs.search.load=!0,this.init.status1=this.init.status,this.init.key_name1=this.init.key_name,this.init.action_type1=this.init.action_type,this.init.flow_id1=this.init.flow_id,this.init.flow_name1=this.init.flow_name,this.GetFlowTaskList(),this.$refs.search.load=!1},GetFlowIdSelect:function(){var t=this;l["getInitListRequest"]((function(){d["GetFlowIdSelect"]().then((function(e){e.response.map((function(t,i){"102"===t.id&&(e.response.unshift(t),e.response.splice(i+1,1))})),t.flowSelect=e.response}))}))},GetFlowTaskList:function(){var t=Object(o["a"])(c.a.mark((function t(){var e,i;return c.a.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return this.loading=!0,e={page_index:this.init.page_index,page_size:this.init.page_size,flow_id:this.init.flow_id1,key_name:this.init.key_name1,action_type:this.init.action_type1,status:this.init.status1,flow_name:this.init.flow_name1},t.next=4,d["GetMyFlowTaskList"](e);case 4:i=t.sent,this.init.total=i.response.data_count,this.tableData=i.response.data,this.loading=!1;case 8:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),add:function(){this.$refs.addEdit.add()},flowCancel:function(){var t=Object(o["a"])(c.a.mark((function t(e){var i=this;return c.a.wrap((function(t){while(1)switch(t.prev=t.next){case 0:l["publicConfirm"](Object(o["a"])(c.a.mark((function t(){var n;return c.a.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,d["FlowCancel"]({runid:e.runid});case 2:return n=t.sent,i.cancelKey++,l["publicMessage"](n),t.next=7,i.GetFlowTaskList();case 7:case"end":return t.stop()}}),t)}))));case 1:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),approvalLisFun:function(t){this.$router.push({name:"awaitDoneInformation",query:{runid:t.runid,form_name:t.form_name,flowInfo:"流程详细信息"}}),console.log("🚀🚀🚀,",t)},del:function(t){console.log("删除"),this.$Message.info("删除成功")},cancel:function(){this.$Message.info("You click cancel")},handleChangePage:function(t){this.init.page_index=t,this.GetFlowTaskList()},handleChangePageSize:function(t){this.init.page_size=t,this.GetFlowTaskList()}}},w=p,_=(i("6de6"),i("2877")),y=Object(_["a"])(w,h,f,!1,null,null,null),m=y.exports;function g(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function v(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?g(Object(i),!0).forEach((function(e){Object(s["a"])(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):g(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var b={name:"list",computed:{publicState:function(){return u["a"]}},components:{aaa:m},data:function(){var t=this;return{searchCondList:[{id:"key_name",name:"姓名或工号",type:"input",show:!0,optList:[]},{id:"flow_name",name:"赛事名称",type:"input",show:!0,optList:[]},{id:"status",name:"流程状态",type:"select",show:!0,optList:[{label:"草稿",value:0},{label:"运行中",value:1},{label:"已结束",value:2}]},{id:"action_type",name:"操作类型",type:"select",show:!0,optList:[{value:1,label:"发送"},{value:2,label:"退回"},{value:4,label:"结束"},{value:5,label:"取消"},{value:6,label:"退回到发起人"}]},{id:"flow_id",name:"流程类别",type:"select",show:!0,optList:[{label:"学生流程",value:102},{label:"教师流程",value:110}]},{id:"rewardType",name:"师生奖励类别",type:"select",show:!0,optList:[{label:"教师奖励",value:107},{label:"学生奖励",value:106}]}],flowSelect:[],ddd:"",ccc:"",bbb:"",aaa:"",flowStateArray:[{name:"草稿",value:0},{name:"运行中",value:1},{name:"已结束",value:2}],cancelKey:1,formData:{name:"",url:"",owner:"",type:"",approver:"",date:"",desc:""},approvalDrawer:!1,formValidate:{runid:"",title:"",flow_name:"",flow_id:"",status:0,action_type:0,starter:"",starter_name:"",start_time:"",current_node_id:"",current_node_name:"",todo:"",partcipant:"",modifyby:"",modifytime:"",form_id:"",form_name:""},grid:{xl:8,lg:12,md:24,sm:24,xs:24},columns:[{title:"序号",type:"index",show:!0,width:80},{title:"赛事名称",key:"title",show:!0,minWidth:300},{title:"流程名称",key:"flow_name",show:!0,minWidth:150},{title:"流程状态",slot:"status",show:!0,minWidth:150},{title:"操作类型",slot:"action_type",show:!0,minWidth:150},{title:"当前节点名称",key:"current_node_name",show:!0,minWidth:150},{title:"当前节点待办人员",slot:"todo",show:!0,minWidth:200},{title:"参与人",slot:"partcipant",show:!0,minWidth:200},{title:"发起人",key:"starter",show:!0,minWidth:150},{title:"发起人姓名",key:"starter_name",show:!0,minWidth:120},{title:"发起时间",key:"start_time",show:!0,minWidth:150},{title:"操作",minWidth:180,fixed:"right",show:!0,slot:"action"}],loading:!1,tableData:[{}],tableSize:"default",tableFullscreen:!1,total:0,collapse:!1,params:{pageIndex:1,pageSize:10,college_id:"",grade:"",classId_Name:"",status:""},init:{flow_id:"",action_type:"",status:"",key_name:"",flow_name:"",page_index:1,page_size:10,total:0,rewardType:""},pageKey:1,strategy:{"/flow-awaitDoneList-rewardForTeachersAndStudents":function(){t.initSearchCondition(),t.init.flow_id1=107,t.$nextTick((function(){return t.init.rewardType=107})),t.searchCondList.forEach((function(e,i){"flow_id"===e.id&&t.searchCondList.splice(i,1)}))},"/flow-processedList-rewardForTeachersAndStudents":function(){t.initSearchCondition(),t.init.flow_id1=107,t.init.rewardType=107,t.searchCondList.forEach((function(e,i){"flow_id"===e.id&&t.searchCondList.splice(i,1)}))},"/flow-myFlowList-rewardForTeachersAndStudents":function(){t.initSearchCondition(),t.init.flow_id1=107,t.init.rewardType=107,t.searchCondList.forEach((function(e,i){"flow_id"===e.id&&t.searchCondList.splice(i,1)}))},"/flow-awaitDoneList-WorkloadDeclare":function(){t.initSearchCondition(),t.init.flow_id1=109,t.searchCondList.forEach((function(e,i){"rewardType"===e.id&&t.searchCondList.splice(i,1)}))},"/flow-processedList-WorkloadDeclare":function(){t.initSearchCondition(),t.init.flow_id1=109,t.searchCondList.forEach((function(e,i){"rewardType"===e.id&&t.searchCondList.splice(i,1)}))},"/flow-myFlowList-WorkloadDeclare":function(){t.initSearchCondition(),t.init.flow_id1=109,t.searchCondList.forEach((function(e,i){"rewardType"===e.id&&t.searchCondList.splice(i,1)}))},"/flow-awaitDoneList-TeacherBonusDeclare":function(){t.initSearchCondition(),t.init.flow_id1=107,t.searchCondList.forEach((function(e,i){"rewardType"===e.id&&t.searchCondList.splice(i,1)}))},"/flow-processedList-TeacherBonusDeclare":function(){t.initSearchCondition(),t.init.flow_id1=107,t.searchCondList.forEach((function(e,i){"rewardType"===e.id&&t.searchCondList.splice(i,1)}))},"/flow-myFlowList-TeacherBonusDeclare":function(){t.initSearchCondition(),t.init.flow_id1=107,t.searchCondList.forEach((function(e,i){"rewardType"===e.id&&t.searchCondList.splice(i,1)}))},"/flow-awaitDoneList-SubsidyDeclare":function(){t.initSearchCondition(),t.init.flow_id1=108,t.searchCondList.forEach((function(e,i){"rewardType"===e.id&&t.searchCondList.splice(i,1)}))},"/flow-processedList-SubsidyDeclare":function(){t.initSearchCondition(),t.init.flow_id1=108,t.searchCondList.forEach((function(e,i){"rewardType"===e.id&&t.searchCondList.splice(i,1)}))},"/flow-myFlowList-SubsidyDeclare":function(){t.initSearchCondition(),t.init.flow_id1=108,t.searchCondList.forEach((function(e,i){"rewardType"===e.id&&t.searchCondList.splice(i,1)}))},"/flow-awaitDoneList-StudentBonusDeclare":function(){t.initSearchCondition(),t.init.flow_id1=106,t.searchCondList.forEach((function(e,i){"rewardType"===e.id&&t.searchCondList.splice(i,1)}))},"/flow-processedList-StudentBonusDeclare":function(){t.initSearchCondition(),t.init.flow_id1=106,t.searchCondList.forEach((function(e,i){"rewardType"===e.id&&t.searchCondList.splice(i,1)}))},"/flow-myFlowList-StudentBonusDeclare":function(){t.initSearchCondition(),t.init.flow_id1=106,t.searchCondList.forEach((function(e,i){"rewardType"===e.id&&t.searchCondList.splice(i,1)}))},"/flow-awaitDoneList-Certificate":function(){t.initSearchCondition(),t.init.flow_id1=103,t.searchCondList.forEach((function(e,i){"rewardType"===e.id&&t.searchCondList.splice(i,1)}))},"/flow-processedList-Certificate":function(){t.initSearchCondition(),t.init.flow_id1=103,t.searchCondList.forEach((function(e,i){"rewardType"===e.id&&t.searchCondList.splice(i,1)}))},"/flow-myFlowList-Certificate":function(){t.initSearchCondition(),t.init.flow_id1=103,t.searchCondList.forEach((function(e,i){"rewardType"===e.id&&t.searchCondList.splice(i,1)}))},"/flow-awaitDoneList":function(){t.initSearchCondition(),t.init.flow_id1=102,t.searchCondList.forEach((function(e,i){"rewardType"===e.id&&t.searchCondList.splice(i,1)}))},"/flow-processedList":function(){t.initSearchCondition(),t.init.flow_id1=102,t.searchCondList.forEach((function(e,i){"rewardType"===e.id&&t.searchCondList.splice(i,1)}))},"/flow-myFlowList":function(){t.initSearchCondition(),t.init.flow_id1=102,t.searchCondList.forEach((function(e,i){"rewardType"===e.id&&t.searchCondList.splice(i,1)}))}}}},created:function(){},watch:{$route:function(t,e){this.init={action_type:"",status:"",key_name:"",flow_name:"",page_index:1,page_size:10,total:0,flow_id:""},this.strategy[t.path](),this.$refs.search.resetBt()}},mounted:function(){this.strategy[this.$route.path](),this.GetFlowTaskList(),this.GetFlowIdSelect()},methods:{initSearchCondition:function(){this.searchCondList=[{id:"key_name",name:"姓名或工号",type:"input",show:!0,optList:[]},{id:"flow_name",name:"赛事名称",type:"input",show:!0,optList:[]},{id:"status",name:"流程状态",type:"select",show:!0,optList:[{label:"草稿",value:0},{label:"运行中",value:1},{label:"已结束",value:2}]},{id:"action_type",name:"操作类型",type:"select",show:!0,optList:[{value:1,label:"发送"},{value:2,label:"退回"},{value:4,label:"结束"},{value:5,label:"取消"},{value:6,label:"退回到发起人"}]},{id:"flow_id",name:"流程类别",type:"select",show:!0,optList:[{label:"学生流程",value:102},{label:"教师流程",value:110}]},{id:"rewardType",name:"师生奖励类别",type:"select",show:!0,optList:[{label:"教师奖励",value:107},{label:"学生奖励",value:106}]}]},cssearch:function(t){t.rewardType?(this.init=v(v(v({},this.init),t),{},{flow_id:t.rewardType}),this.init.flow_id1=this.init.flow_id):(this.strategy[this.$route.path](),this.init=v(v(v({},this.init),t),{},{flow_id:t.flow_id?t.flow_id:this.init.flow_id1}),this.init.flow_id1=this.init.flow_id),this.search()},csreset:function(){this.init={action_type:"",status:"",key_name:"",flow_name:"",page_index:1,page_size:10,total:0,flow_id:""},this.strategy[this.$route.path](),this.initData()},getFlowId:function(){this.strategy[this.$route.path]()},initData:function(){this.getFlowId(),this.init.status1=this.init.status="",this.init.key_name1=this.init.key_name="",this.init.action_type1=this.init.action_type="",this.init.flow_name1=this.init.flow_name="",this.GetFlowTaskList()},search:function(){this.init.status1=this.init.status,this.init.key_name1=this.init.key_name,this.init.action_type1=this.init.action_type,this.init.flow_name1=this.init.flow_name,this.GetFlowTaskList()},GetFlowIdSelect:function(){var t=this;l["getInitListRequest"]((function(){d["GetFlowIdSelect"]().then((function(e){e.response.map((function(t,i){"102"===t.id&&(e.response.unshift(t),e.response.splice(i+1,1))})),t.flowSelect=e.response}))}))},GetFlowTaskList:function(){var t=Object(o["a"])(c.a.mark((function t(){var e,i;return c.a.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return this.loading=!0,e={page_index:this.init.page_index,page_size:this.init.page_size,flow_id:this.init.flow_id1,key_name:this.init.key_name1,action_type:this.init.action_type1,status:this.init.status1,flow_name:this.init.flow_name1},t.next=4,d["GetMyFlowTaskList"](e);case 4:i=t.sent,this.init.total=i.response.data_count,this.tableData=i.response.data,this.loading=!1;case 8:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),add:function(){this.$refs.addEdit.add()},flowCancel:function(){var t=Object(o["a"])(c.a.mark((function t(e){var i=this;return c.a.wrap((function(t){while(1)switch(t.prev=t.next){case 0:l["publicConfirm"](Object(o["a"])(c.a.mark((function t(){var n;return c.a.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,d["FlowCancel"]({runid:e.runid});case 2:return n=t.sent,i.cancelKey++,l["publicMessage"](n),t.next=7,i.GetFlowTaskList();case 7:case"end":return t.stop()}}),t)}))));case 1:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),approvalLisFun:function(t){this.$router.push({name:"awaitDoneInformation",query:{runid:t.runid,form_name:t.form_name,flowInfo:"流程详细信息"}}),console.log("🚀🚀🚀,",t)},del:function(t){console.log("删除"),this.$Message.info("删除成功")},cancel:function(){this.$Message.info("You click cancel")},handleChangePage:function(t){this.init.page_index=t,this.GetFlowTaskList()},handleChangePageSize:function(t){this.init.page_size=t,this.GetFlowTaskList()}}},k=b,L=(i("bbca"),Object(_["a"])(k,n,a,!1,null,null,null));e["default"]=L.exports},edf6:function(t,e,i){}}]);
\ No newline at end of file
...@@ -42,7 +42,7 @@ function r(e){var t=Number(e.version.split(".")[0]);if(t>=2)e.mixin({beforeCreat ...@@ -42,7 +42,7 @@ function r(e){var t=Number(e.version.split(".")[0]);if(t>=2)e.mixin({beforeCreat
* @internal * @internal
* @license Modernizr 3.0.0pre (Custom Build) | MIT * @license Modernizr 3.0.0pre (Custom Build) | MIT
*/ */
function a(e,t){if(!i.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,a=n in document;if(!a){var o=document.createElement("div");o.setAttribute(n,"return;"),a="function"===typeof o[n]}return!a&&r&&"wheel"===e&&(a=document.implementation.hasFeature("Events.wheel","3.0")),a}i.canUseDOM&&(r=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("","")),e.exports=a},"7cd6":function(e,t,n){var r=n("40c3"),i=n("5168")("iterator"),a=n("481b");e.exports=n("584a").getIteratorMethod=function(e){if(void 0!=e)return e[i]||e["@@iterator"]||a[r(e)]}},"7e90":function(e,t,n){var r=n("d9f6"),i=n("e4ae"),a=n("c3a1");e.exports=n("8e60")?Object.defineProperties:function(e,t){i(e);var n,o=a(t),s=o.length,l=0;while(s>l)r.f(e,n=o[l++],t[n]);return e}},"7f20":function(e,t,n){var r=n("86cc").f,i=n("69a8"),a=n("2b4c")("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,a)&&r(e,a,{configurable:!0,value:t})}},"7f4d":function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){for(var t=1,n=arguments.length;t<n;t++){var r=arguments[t]||{};for(var i in r)if(r.hasOwnProperty(i)){var a=r[i];void 0!==a&&(e[i]=a)}}return e}},"7f7f":function(e,t,n){var r=n("86cc").f,i=Function.prototype,a=/^\s*function ([^ (]*)/,o="name";o in i||n("9e1e")&&r(i,o,{configurable:!0,get:function(){try{return(""+this).match(a)[1]}catch(e){return""}}})},"7fc1":function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=93)}({0:function(e,t,n){"use strict";function r(e,t,n,r,i,a,o,s){var l,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),a&&(u._scopeId="data-v-"+a),o?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},u._ssrRegister=l):i&&(l=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,l):[l]}return{exports:e,options:u}}n.d(t,"a",(function(){return r}))},4:function(e,t){e.exports=n("d010")},93:function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-checkbox-group",attrs:{role:"group","aria-label":"checkbox-group"}},[e._t("default")],2)},i=[];r._withStripped=!0;var a=n(4),o=n.n(a),s={name:"ElCheckboxGroup",componentName:"ElCheckboxGroup",mixins:[o.a],inject:{elFormItem:{default:""}},props:{value:{},disabled:Boolean,min:Number,max:Number,size:String,fill:String,textColor:String},computed:{_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},checkboxGroupSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size}},watch:{value:function(e){this.dispatch("ElFormItem","el.form.change",[e])}}},l=s,u=n(0),c=Object(u["a"])(l,r,i,!1,null,null,null);c.options.__file="packages/checkbox/src/checkbox-group.vue";var d=c.exports;d.install=function(e){e.component(d.name,d)};t["default"]=d}})},8079:function(e,t,n){var r=n("7726"),i=n("1991").set,a=r.MutationObserver||r.WebKitMutationObserver,o=r.process,s=r.Promise,l="process"==n("2d95")(o);e.exports=function(){var e,t,n,u=function(){var r,i;l&&(r=o.domain)&&r.exit();while(e){i=e.fn,e=e.next;try{i()}catch(a){throw e?n():t=void 0,a}}t=void 0,r&&r.enter()};if(l)n=function(){o.nextTick(u)};else if(!a||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var c=s.resolve(void 0);n=function(){c.then(u)}}else n=function(){i.call(r,u)};else{var d=!0,f=document.createTextNode("");new a(u).observe(f,{characterData:!0}),n=function(){f.data=d=!d}}return function(r){var i={fn:r,next:void 0};t&&(t.next=i),e||(e=i,n()),t=i}}},8122:function(e,t,n){"use strict";t.__esModule=!0,t.isMac=t.isEmpty=t.isEqual=t.arrayEquals=t.looseEqual=t.capitalize=t.kebabCase=t.autoprefixer=t.isFirefox=t.isEdge=t.isIE=t.coerceTruthyValueToArray=t.arrayFind=t.arrayFindIndex=t.escapeRegexpString=t.valueEquals=t.generateId=t.getValueByPath=void 0;var r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.noop=u,t.hasOwn=c,t.toObject=f,t.getPropByPath=h,t.rafThrottle=y,t.objToArray=b;var i=n("a026"),a=s(i),o=n("a742");function s(e){return e&&e.__esModule?e:{default:e}}var l=Object.prototype.hasOwnProperty;function u(){}function c(e,t){return l.call(e,t)}function d(e,t){for(var n in t)e[n]=t[n];return e}function f(e){for(var t={},n=0;n<e.length;n++)e[n]&&d(t,e[n]);return t}t.getValueByPath=function(e,t){t=t||"";for(var n=t.split("."),r=e,i=null,a=0,o=n.length;a<o;a++){var s=n[a];if(!r)break;if(a===o-1){i=r[s];break}r=r[s]}return i};function h(e,t,n){var r=e;t=t.replace(/\[(\w+)\]/g,".$1"),t=t.replace(/^\./,"");for(var i=t.split("."),a=0,o=i.length;a<o-1;++a){if(!r&&!n)break;var s=i[a];if(!(s in r)){if(n)throw new Error("please transfer a valid prop path to form item!");break}r=r[s]}return{o:r,k:i[a],v:r?r[i[a]]:null}}t.generateId=function(){return Math.floor(1e4*Math.random())},t.valueEquals=function(e,t){if(e===t)return!0;if(!(e instanceof Array))return!1;if(!(t instanceof Array))return!1;if(e.length!==t.length)return!1;for(var n=0;n!==e.length;++n)if(e[n]!==t[n])return!1;return!0},t.escapeRegexpString=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return String(e).replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")};var p=t.arrayFindIndex=function(e,t){for(var n=0;n!==e.length;++n)if(t(e[n]))return n;return-1},v=(t.arrayFind=function(e,t){var n=p(e,t);return-1!==n?e[n]:void 0},t.coerceTruthyValueToArray=function(e){return Array.isArray(e)?e:e?[e]:[]},t.isIE=function(){return!a.default.prototype.$isServer&&!isNaN(Number(document.documentMode))},t.isEdge=function(){return!a.default.prototype.$isServer&&navigator.userAgent.indexOf("Edge")>-1},t.isFirefox=function(){return!a.default.prototype.$isServer&&!!window.navigator.userAgent.match(/firefox/i)},t.autoprefixer=function(e){if("object"!==("undefined"===typeof e?"undefined":r(e)))return e;var t=["transform","transition","animation"],n=["ms-","webkit-"];return t.forEach((function(t){var r=e[t];t&&r&&n.forEach((function(n){e[n+t]=r}))})),e},t.kebabCase=function(e){var t=/([^-])([A-Z])/g;return e.replace(t,"$1-$2").replace(t,"$1-$2").toLowerCase()},t.capitalize=function(e){return(0,o.isString)(e)?e.charAt(0).toUpperCase()+e.slice(1):e},t.looseEqual=function(e,t){var n=(0,o.isObject)(e),r=(0,o.isObject)(t);return n&&r?JSON.stringify(e)===JSON.stringify(t):!n&&!r&&String(e)===String(t)}),m=t.arrayEquals=function(e,t){if(e=e||[],t=t||[],e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!v(e[n],t[n]))return!1;return!0},g=(t.isEqual=function(e,t){return Array.isArray(e)&&Array.isArray(t)?m(e,t):v(e,t)},t.isEmpty=function(e){if(null==e)return!0;if("boolean"===typeof e)return!1;if("number"===typeof e)return!e;if(e instanceof Error)return""===e.message;switch(Object.prototype.toString.call(e)){case"[object String]":case"[object Array]":return!e.length;case"[object File]":case"[object Map]":case"[object Set]":return!e.size;case"[object Object]":return!Object.keys(e).length}return!1});function y(e){var t=!1;return function(){for(var n=this,r=arguments.length,i=Array(r),a=0;a<r;a++)i[a]=arguments[a];t||(t=!0,window.requestAnimationFrame((function(r){e.apply(n,i),t=!1})))}}function b(e){return Array.isArray(e)?e:g(e)?[]:[e]}t.isMac=function(){return!a.default.prototype.$isServer&&/macintosh|mac os x/i.test(navigator.userAgent)}},8378:function(e,t){var n=e.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},8436:function(e,t){e.exports=function(){}},"845f":function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=97)}({0:function(e,t,n){"use strict";function r(e,t,n,r,i,a,o,s){var l,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),a&&(u._scopeId="data-v-"+a),o?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},u._ssrRegister=l):i&&(l=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,l):[l]}return{exports:e,options:u}}n.d(t,"a",(function(){return r}))},97:function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-button-group"},[e._t("default")],2)},i=[];r._withStripped=!0;var a={name:"ElButtonGroup"},o=a,s=n(0),l=Object(s["a"])(o,r,i,!1,null,null,null);l.options.__file="packages/button/src/button-group.vue";var u=l.exports;u.install=function(e){e.component(u.name,u)};t["default"]=u}})},"84f2":function(e,t){e.exports={}},"858e":function(e,t,n){"use strict";var r,i,a={props:{initial:{type:Boolean,default:!1}},data:function(){return{size:{width:-1,height:-1}}},methods:{reset:function(){var e=this.$el.firstChild,t=this.$el.lastChild;e.scrollLeft=1e5,e.scrollTop=1e5,t.scrollLeft=1e5,t.scrollTop=1e5},update:function(){this.size.width=this.$el.offsetWidth,this.size.height=this.$el.offsetHeight}},watch:{size:{deep:!0,handler:function(e){this.reset(),this.$emit("resize",{width:this.size.width,height:this.size.height})}}},render:function(e){var t="position: absolute; left: 0; top: 0; right: 0; bottom: 0; overflow: hidden; z-index: -1; visibility: hidden;",n="position: absolute; left: 0; top: 0;";return e("div",{style:t+"animation-name: resizeSensorVisibility;",on:{"~animationstart":this.update}},[e("div",{style:t,on:{scroll:this.update}},[e("div",{style:n+"width: 100000px; height: 100000px;"})]),e("div",{style:t,on:{scroll:this.update}},[e("div",{style:n+"width: 200%; height: 200%;"})])])},beforeDestroy:function(){this.$emit("resize",{width:0,height:0}),this.$emit("resizeSensorBeforeDestroy")},mounted:function(){if(!0===this.initial&&this.$nextTick(this.update),this.$el.offsetParent!==this.$el.parentNode&&(this.$el.parentNode.style.position="relative"),"attachEvent"in this.$el&&!("AnimationEvent"in window)){var e=function(){this.update(),t()}.bind(this),t=function(){this.$el.detachEvent("onresize",e),this.$off("resizeSensorBeforeDestroy",t)}.bind(this);this.$el.attachEvent("onresize",e),this.$on("resizeSensorBeforeDestroy",t),this.reset()}}},o=a,s=(n("c0ef"),n("2877")),l=Object(s["a"])(o,r,i,!1,null,null,null),u=l.exports,c=function(e){var t=e.createLoadingTask,n=e.PDFJSWrapper;return{createLoadingTask:t,render:function(e){return e("span",{attrs:{style:"position: relative; display: block"}},[e("canvas",{attrs:{style:"display: inline-block; width: 100%; height: 100%; vertical-align: top"},ref:"canvas"}),e("span",{style:"display: inline-block; width: 100%; height: 100%",class:"annotationLayer",ref:"annotationLayer"}),e(u,{props:{initial:!0},on:{resize:this.resize}})])},props:{src:{type:[String,Object,Uint8Array],default:""},page:{type:Number,default:1},rotate:{type:Number}},watch:{src:function(){this.pdf.loadDocument(this.src)},page:function(){this.pdf.loadPage(this.page,this.rotate)},rotate:function(){this.pdf.renderPage(this.rotate)}},methods:{resize:function(e){if(null!==this.$el.parentNode&&(0!==e.width||0!==e.height)){this.$refs.canvas.style.height=this.$refs.canvas.offsetWidth*(this.$refs.canvas.height/this.$refs.canvas.width)+"px";var t=this.pdf.getResolutionScale();(t<.85||t>1.15)&&this.pdf.renderPage(this.rotate)}},print:function(e,t){this.pdf.printPage(e,t)}},mounted:function(){this.pdf=new n(this.$refs.canvas,this.$refs.annotationLayer,this.$emit.bind(this)),this.$on("loaded",(function(){this.pdf.loadPage(this.page,this.rotate)})),this.$on("page-size",(function(e,t){this.$refs.canvas.style.height=this.$refs.canvas.offsetWidth*(t/e)+"px"})),this.pdf.loadDocument(this.src)},destroyed:function(){this.pdf.destroy()}}};if("server"!==Object({NODE_ENV:"production",VUE_APP_BUILD_TIME:"2024-5-20 23:08:39",VUE_APP_TITLE:"竞赛管理",VUE_APP_VERSION:"2.7.0",BASE_URL:""}).VUE_ENV){var d=n("a068").default,f=n("4383");if("undefined"!==typeof window&&"Worker"in window&&-1===navigator.appVersion.indexOf("MSIE 10")){var h=n("2639");f.GlobalWorkerOptions.workerPort=new h}var p=c(d(f))}else p=c({});var v,m,g=p,y=g,b=(n("f9a3"),Object(s["a"])(y,v,m,!1,null,null,null));t["a"]=b.exports},"85f2":function(e,t,n){e.exports=n("454f")},"86cc":function(e,t,n){var r=n("cb7c"),i=n("c69a"),a=n("6a99"),o=Object.defineProperty;t.f=n("9e1e")?Object.defineProperty:function(e,t,n){if(r(e),t=a(t,!0),r(n),i)try{return o(e,t,n)}catch(s){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},8993:function(e,t,n){var r=n("67bb"),i=n("5d58");function a(t){return e.exports=a="function"==typeof r&&"symbol"==typeof i?function(e){return typeof e}:function(e){return e&&"function"==typeof r&&e.constructor===r&&e!==r.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports["default"]=e.exports,a(t)}e.exports=a,e.exports.__esModule=!0,e.exports["default"]=e.exports},"8b97":function(e,t,n){var r=n("d3f4"),i=n("cb7c"),a=function(e,t){if(i(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{r=n("9b43")(Function.call,n("11e9").f(Object.prototype,"__proto__").set,2),r(e,[]),t=!(e instanceof Array)}catch(i){t=!0}return function(e,n){return a(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:a}},"8bbc":function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=132)}({0:function(e,t,n){"use strict";function r(e,t,n,r,i,a,o,s){var l,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),a&&(u._scopeId="data-v-"+a),o?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},u._ssrRegister=l):i&&(l=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,l):[l]}return{exports:e,options:u}}n.d(t,"a",(function(){return r}))},132:function(e,t,n){"use strict";n.r(t);var r,i,a={name:"ElTag",props:{text:String,closable:Boolean,type:String,hit:Boolean,disableTransitions:Boolean,color:String,size:String,effect:{type:String,default:"light",validator:function(e){return-1!==["dark","light","plain"].indexOf(e)}}},methods:{handleClose:function(e){e.stopPropagation(),this.$emit("close",e)},handleClick:function(e){this.$emit("click",e)}},computed:{tagSize:function(){return this.size||(this.$ELEMENT||{}).size}},render:function(e){var t=this.type,n=this.tagSize,r=this.hit,i=this.effect,a=["el-tag",t?"el-tag--"+t:"",n?"el-tag--"+n:"",i?"el-tag--"+i:"",r&&"is-hit"],o=e("span",{class:a,style:{backgroundColor:this.color},on:{click:this.handleClick}},[this.$slots.default,this.closable&&e("i",{class:"el-tag__close el-icon-close",on:{click:this.handleClose}})]);return this.disableTransitions?o:e("transition",{attrs:{name:"el-zoom-in-center"}},[o])}},o=a,s=n(0),l=Object(s["a"])(o,r,i,!1,null,null,null);l.options.__file="packages/tag/src/tag.vue";var u=l.exports;u.install=function(e){e.component(u.name,u)};t["default"]=u}})},"8c4f":function(e,t,n){"use strict"; function a(e,t){if(!i.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,a=n in document;if(!a){var o=document.createElement("div");o.setAttribute(n,"return;"),a="function"===typeof o[n]}return!a&&r&&"wheel"===e&&(a=document.implementation.hasFeature("Events.wheel","3.0")),a}i.canUseDOM&&(r=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("","")),e.exports=a},"7cd6":function(e,t,n){var r=n("40c3"),i=n("5168")("iterator"),a=n("481b");e.exports=n("584a").getIteratorMethod=function(e){if(void 0!=e)return e[i]||e["@@iterator"]||a[r(e)]}},"7e90":function(e,t,n){var r=n("d9f6"),i=n("e4ae"),a=n("c3a1");e.exports=n("8e60")?Object.defineProperties:function(e,t){i(e);var n,o=a(t),s=o.length,l=0;while(s>l)r.f(e,n=o[l++],t[n]);return e}},"7f20":function(e,t,n){var r=n("86cc").f,i=n("69a8"),a=n("2b4c")("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,a)&&r(e,a,{configurable:!0,value:t})}},"7f4d":function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){for(var t=1,n=arguments.length;t<n;t++){var r=arguments[t]||{};for(var i in r)if(r.hasOwnProperty(i)){var a=r[i];void 0!==a&&(e[i]=a)}}return e}},"7f7f":function(e,t,n){var r=n("86cc").f,i=Function.prototype,a=/^\s*function ([^ (]*)/,o="name";o in i||n("9e1e")&&r(i,o,{configurable:!0,get:function(){try{return(""+this).match(a)[1]}catch(e){return""}}})},"7fc1":function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=93)}({0:function(e,t,n){"use strict";function r(e,t,n,r,i,a,o,s){var l,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),a&&(u._scopeId="data-v-"+a),o?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},u._ssrRegister=l):i&&(l=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,l):[l]}return{exports:e,options:u}}n.d(t,"a",(function(){return r}))},4:function(e,t){e.exports=n("d010")},93:function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-checkbox-group",attrs:{role:"group","aria-label":"checkbox-group"}},[e._t("default")],2)},i=[];r._withStripped=!0;var a=n(4),o=n.n(a),s={name:"ElCheckboxGroup",componentName:"ElCheckboxGroup",mixins:[o.a],inject:{elFormItem:{default:""}},props:{value:{},disabled:Boolean,min:Number,max:Number,size:String,fill:String,textColor:String},computed:{_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},checkboxGroupSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size}},watch:{value:function(e){this.dispatch("ElFormItem","el.form.change",[e])}}},l=s,u=n(0),c=Object(u["a"])(l,r,i,!1,null,null,null);c.options.__file="packages/checkbox/src/checkbox-group.vue";var d=c.exports;d.install=function(e){e.component(d.name,d)};t["default"]=d}})},8079:function(e,t,n){var r=n("7726"),i=n("1991").set,a=r.MutationObserver||r.WebKitMutationObserver,o=r.process,s=r.Promise,l="process"==n("2d95")(o);e.exports=function(){var e,t,n,u=function(){var r,i;l&&(r=o.domain)&&r.exit();while(e){i=e.fn,e=e.next;try{i()}catch(a){throw e?n():t=void 0,a}}t=void 0,r&&r.enter()};if(l)n=function(){o.nextTick(u)};else if(!a||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var c=s.resolve(void 0);n=function(){c.then(u)}}else n=function(){i.call(r,u)};else{var d=!0,f=document.createTextNode("");new a(u).observe(f,{characterData:!0}),n=function(){f.data=d=!d}}return function(r){var i={fn:r,next:void 0};t&&(t.next=i),e||(e=i,n()),t=i}}},8122:function(e,t,n){"use strict";t.__esModule=!0,t.isMac=t.isEmpty=t.isEqual=t.arrayEquals=t.looseEqual=t.capitalize=t.kebabCase=t.autoprefixer=t.isFirefox=t.isEdge=t.isIE=t.coerceTruthyValueToArray=t.arrayFind=t.arrayFindIndex=t.escapeRegexpString=t.valueEquals=t.generateId=t.getValueByPath=void 0;var r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.noop=u,t.hasOwn=c,t.toObject=f,t.getPropByPath=h,t.rafThrottle=y,t.objToArray=b;var i=n("a026"),a=s(i),o=n("a742");function s(e){return e&&e.__esModule?e:{default:e}}var l=Object.prototype.hasOwnProperty;function u(){}function c(e,t){return l.call(e,t)}function d(e,t){for(var n in t)e[n]=t[n];return e}function f(e){for(var t={},n=0;n<e.length;n++)e[n]&&d(t,e[n]);return t}t.getValueByPath=function(e,t){t=t||"";for(var n=t.split("."),r=e,i=null,a=0,o=n.length;a<o;a++){var s=n[a];if(!r)break;if(a===o-1){i=r[s];break}r=r[s]}return i};function h(e,t,n){var r=e;t=t.replace(/\[(\w+)\]/g,".$1"),t=t.replace(/^\./,"");for(var i=t.split("."),a=0,o=i.length;a<o-1;++a){if(!r&&!n)break;var s=i[a];if(!(s in r)){if(n)throw new Error("please transfer a valid prop path to form item!");break}r=r[s]}return{o:r,k:i[a],v:r?r[i[a]]:null}}t.generateId=function(){return Math.floor(1e4*Math.random())},t.valueEquals=function(e,t){if(e===t)return!0;if(!(e instanceof Array))return!1;if(!(t instanceof Array))return!1;if(e.length!==t.length)return!1;for(var n=0;n!==e.length;++n)if(e[n]!==t[n])return!1;return!0},t.escapeRegexpString=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return String(e).replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")};var p=t.arrayFindIndex=function(e,t){for(var n=0;n!==e.length;++n)if(t(e[n]))return n;return-1},v=(t.arrayFind=function(e,t){var n=p(e,t);return-1!==n?e[n]:void 0},t.coerceTruthyValueToArray=function(e){return Array.isArray(e)?e:e?[e]:[]},t.isIE=function(){return!a.default.prototype.$isServer&&!isNaN(Number(document.documentMode))},t.isEdge=function(){return!a.default.prototype.$isServer&&navigator.userAgent.indexOf("Edge")>-1},t.isFirefox=function(){return!a.default.prototype.$isServer&&!!window.navigator.userAgent.match(/firefox/i)},t.autoprefixer=function(e){if("object"!==("undefined"===typeof e?"undefined":r(e)))return e;var t=["transform","transition","animation"],n=["ms-","webkit-"];return t.forEach((function(t){var r=e[t];t&&r&&n.forEach((function(n){e[n+t]=r}))})),e},t.kebabCase=function(e){var t=/([^-])([A-Z])/g;return e.replace(t,"$1-$2").replace(t,"$1-$2").toLowerCase()},t.capitalize=function(e){return(0,o.isString)(e)?e.charAt(0).toUpperCase()+e.slice(1):e},t.looseEqual=function(e,t){var n=(0,o.isObject)(e),r=(0,o.isObject)(t);return n&&r?JSON.stringify(e)===JSON.stringify(t):!n&&!r&&String(e)===String(t)}),m=t.arrayEquals=function(e,t){if(e=e||[],t=t||[],e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!v(e[n],t[n]))return!1;return!0},g=(t.isEqual=function(e,t){return Array.isArray(e)&&Array.isArray(t)?m(e,t):v(e,t)},t.isEmpty=function(e){if(null==e)return!0;if("boolean"===typeof e)return!1;if("number"===typeof e)return!e;if(e instanceof Error)return""===e.message;switch(Object.prototype.toString.call(e)){case"[object String]":case"[object Array]":return!e.length;case"[object File]":case"[object Map]":case"[object Set]":return!e.size;case"[object Object]":return!Object.keys(e).length}return!1});function y(e){var t=!1;return function(){for(var n=this,r=arguments.length,i=Array(r),a=0;a<r;a++)i[a]=arguments[a];t||(t=!0,window.requestAnimationFrame((function(r){e.apply(n,i),t=!1})))}}function b(e){return Array.isArray(e)?e:g(e)?[]:[e]}t.isMac=function(){return!a.default.prototype.$isServer&&/macintosh|mac os x/i.test(navigator.userAgent)}},8378:function(e,t){var n=e.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},8436:function(e,t){e.exports=function(){}},"845f":function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=97)}({0:function(e,t,n){"use strict";function r(e,t,n,r,i,a,o,s){var l,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),a&&(u._scopeId="data-v-"+a),o?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},u._ssrRegister=l):i&&(l=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,l):[l]}return{exports:e,options:u}}n.d(t,"a",(function(){return r}))},97:function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-button-group"},[e._t("default")],2)},i=[];r._withStripped=!0;var a={name:"ElButtonGroup"},o=a,s=n(0),l=Object(s["a"])(o,r,i,!1,null,null,null);l.options.__file="packages/button/src/button-group.vue";var u=l.exports;u.install=function(e){e.component(u.name,u)};t["default"]=u}})},"84f2":function(e,t){e.exports={}},"858e":function(e,t,n){"use strict";var r,i,a={props:{initial:{type:Boolean,default:!1}},data:function(){return{size:{width:-1,height:-1}}},methods:{reset:function(){var e=this.$el.firstChild,t=this.$el.lastChild;e.scrollLeft=1e5,e.scrollTop=1e5,t.scrollLeft=1e5,t.scrollTop=1e5},update:function(){this.size.width=this.$el.offsetWidth,this.size.height=this.$el.offsetHeight}},watch:{size:{deep:!0,handler:function(e){this.reset(),this.$emit("resize",{width:this.size.width,height:this.size.height})}}},render:function(e){var t="position: absolute; left: 0; top: 0; right: 0; bottom: 0; overflow: hidden; z-index: -1; visibility: hidden;",n="position: absolute; left: 0; top: 0;";return e("div",{style:t+"animation-name: resizeSensorVisibility;",on:{"~animationstart":this.update}},[e("div",{style:t,on:{scroll:this.update}},[e("div",{style:n+"width: 100000px; height: 100000px;"})]),e("div",{style:t,on:{scroll:this.update}},[e("div",{style:n+"width: 200%; height: 200%;"})])])},beforeDestroy:function(){this.$emit("resize",{width:0,height:0}),this.$emit("resizeSensorBeforeDestroy")},mounted:function(){if(!0===this.initial&&this.$nextTick(this.update),this.$el.offsetParent!==this.$el.parentNode&&(this.$el.parentNode.style.position="relative"),"attachEvent"in this.$el&&!("AnimationEvent"in window)){var e=function(){this.update(),t()}.bind(this),t=function(){this.$el.detachEvent("onresize",e),this.$off("resizeSensorBeforeDestroy",t)}.bind(this);this.$el.attachEvent("onresize",e),this.$on("resizeSensorBeforeDestroy",t),this.reset()}}},o=a,s=(n("c0ef"),n("2877")),l=Object(s["a"])(o,r,i,!1,null,null,null),u=l.exports,c=function(e){var t=e.createLoadingTask,n=e.PDFJSWrapper;return{createLoadingTask:t,render:function(e){return e("span",{attrs:{style:"position: relative; display: block"}},[e("canvas",{attrs:{style:"display: inline-block; width: 100%; height: 100%; vertical-align: top"},ref:"canvas"}),e("span",{style:"display: inline-block; width: 100%; height: 100%",class:"annotationLayer",ref:"annotationLayer"}),e(u,{props:{initial:!0},on:{resize:this.resize}})])},props:{src:{type:[String,Object,Uint8Array],default:""},page:{type:Number,default:1},rotate:{type:Number}},watch:{src:function(){this.pdf.loadDocument(this.src)},page:function(){this.pdf.loadPage(this.page,this.rotate)},rotate:function(){this.pdf.renderPage(this.rotate)}},methods:{resize:function(e){if(null!==this.$el.parentNode&&(0!==e.width||0!==e.height)){this.$refs.canvas.style.height=this.$refs.canvas.offsetWidth*(this.$refs.canvas.height/this.$refs.canvas.width)+"px";var t=this.pdf.getResolutionScale();(t<.85||t>1.15)&&this.pdf.renderPage(this.rotate)}},print:function(e,t){this.pdf.printPage(e,t)}},mounted:function(){this.pdf=new n(this.$refs.canvas,this.$refs.annotationLayer,this.$emit.bind(this)),this.$on("loaded",(function(){this.pdf.loadPage(this.page,this.rotate)})),this.$on("page-size",(function(e,t){this.$refs.canvas.style.height=this.$refs.canvas.offsetWidth*(t/e)+"px"})),this.pdf.loadDocument(this.src)},destroyed:function(){this.pdf.destroy()}}};if("server"!==Object({NODE_ENV:"production",VUE_APP_BUILD_TIME:"2024-5-27 15:36:05",VUE_APP_TITLE:"竞赛管理",VUE_APP_VERSION:"2.7.0",BASE_URL:""}).VUE_ENV){var d=n("a068").default,f=n("4383");if("undefined"!==typeof window&&"Worker"in window&&-1===navigator.appVersion.indexOf("MSIE 10")){var h=n("2639");f.GlobalWorkerOptions.workerPort=new h}var p=c(d(f))}else p=c({});var v,m,g=p,y=g,b=(n("f9a3"),Object(s["a"])(y,v,m,!1,null,null,null));t["a"]=b.exports},"85f2":function(e,t,n){e.exports=n("454f")},"86cc":function(e,t,n){var r=n("cb7c"),i=n("c69a"),a=n("6a99"),o=Object.defineProperty;t.f=n("9e1e")?Object.defineProperty:function(e,t,n){if(r(e),t=a(t,!0),r(n),i)try{return o(e,t,n)}catch(s){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},8993:function(e,t,n){var r=n("67bb"),i=n("5d58");function a(t){return e.exports=a="function"==typeof r&&"symbol"==typeof i?function(e){return typeof e}:function(e){return e&&"function"==typeof r&&e.constructor===r&&e!==r.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports["default"]=e.exports,a(t)}e.exports=a,e.exports.__esModule=!0,e.exports["default"]=e.exports},"8b97":function(e,t,n){var r=n("d3f4"),i=n("cb7c"),a=function(e,t){if(i(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{r=n("9b43")(Function.call,n("11e9").f(Object.prototype,"__proto__").set,2),r(e,[]),t=!(e instanceof Array)}catch(i){t=!0}return function(e,n){return a(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:a}},"8bbc":function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=132)}({0:function(e,t,n){"use strict";function r(e,t,n,r,i,a,o,s){var l,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),a&&(u._scopeId="data-v-"+a),o?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},u._ssrRegister=l):i&&(l=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,l):[l]}return{exports:e,options:u}}n.d(t,"a",(function(){return r}))},132:function(e,t,n){"use strict";n.r(t);var r,i,a={name:"ElTag",props:{text:String,closable:Boolean,type:String,hit:Boolean,disableTransitions:Boolean,color:String,size:String,effect:{type:String,default:"light",validator:function(e){return-1!==["dark","light","plain"].indexOf(e)}}},methods:{handleClose:function(e){e.stopPropagation(),this.$emit("close",e)},handleClick:function(e){this.$emit("click",e)}},computed:{tagSize:function(){return this.size||(this.$ELEMENT||{}).size}},render:function(e){var t=this.type,n=this.tagSize,r=this.hit,i=this.effect,a=["el-tag",t?"el-tag--"+t:"",n?"el-tag--"+n:"",i?"el-tag--"+i:"",r&&"is-hit"],o=e("span",{class:a,style:{backgroundColor:this.color},on:{click:this.handleClick}},[this.$slots.default,this.closable&&e("i",{class:"el-tag__close el-icon-close",on:{click:this.handleClose}})]);return this.disableTransitions?o:e("transition",{attrs:{name:"el-zoom-in-center"}},[o])}},o=a,s=n(0),l=Object(s["a"])(o,r,i,!1,null,null,null);l.options.__file="packages/tag/src/tag.vue";var u=l.exports;u.install=function(e){e.component(u.name,u)};t["default"]=u}})},"8c4f":function(e,t,n){"use strict";
/*! /*!
* vue-router v3.5.4 * vue-router v3.5.4
* (c) 2022 Evan You * (c) 2022 Evan You
...@@ -105,9 +105,11 @@ ...@@ -105,9 +105,11 @@
}, },
computed: {}, computed: {},
created() { created() {
}, },
mounted() { mounted() {
console.log("🚀🚀1🚀,", this.params)
console.log("🚀🚀2🚀,", this.searchCondObj)
}, },
methods: { methods: {
// 搜索 // 搜索
......
...@@ -46,115 +46,135 @@ export default { ...@@ -46,115 +46,135 @@ export default {
} }
] ]
}, },
// {
// path: `/5-2`,
// title: '学生奖励申请',
// children: [
// // {
// // path: `/CertificateForm?id=103&remark=Certificate&entrance=flow`,
// // title: '获奖材料上传',
// // },
// // {
// // path: `/BursaryForm?id=104&remark=Bursary&entrance=flow`,
// // title: '补助金申请',
// // },
// {
// path: `/flow-awaitDoneList-StudentBonusDeclare`,
// title: '待办流程',
// auth: ['admin'],
// },
// {
// path: `/flow-processedList-StudentBonusDeclare`,
// title: '已办流程',
// auth: ['admin'],
// },
// {
// path: `/flow-myFlowList-StudentBonusDeclare`,
// title: '我的流程'
// }
// ]
// },
// {
// path: `/5-3`,
// title: '学生补助申请',
// children: [
// // {
// // path: `/CertificateForm?id=103&remark=Certificate&entrance=flow`,
// // title: '获奖材料上传',
// // },
// // {
// // path: `/BursaryForm?id=104&remark=Bursary&entrance=flow`,
// // title: '补助金申请',
// // },
// {
// path: `/flow-awaitDoneList-SubsidyDeclare`,
// title: '待办流程',
// auth: ['admin'],
// },
// {
// path: `/flow-processedList-SubsidyDeclare`,
// title: '已办流程',
// auth: ['admin'],
// },
// {
// path: `/flow-myFlowList-SubsidyDeclare`,
// title: '我的流程'
// }
// ]
// },
// {
// path: `/5-4`,
// title: '教师奖励申请',
// children: [
// // {
// // path: `/CertificateForm?id=103&remark=Certificate&entrance=flow`,
// // title: '获奖材料上传',
// // },
// // {
// // path: `/BursaryForm?id=104&remark=Bursary&entrance=flow`,
// // title: '补助金申请',
// // },
// {
// path: `/flow-awaitDoneList-TeacherBonusDeclare`,
// title: '待办流程',
// auth: ['admin'],
// },
// {
// path: `/flow-processedList-TeacherBonusDeclare`,
// title: '已办流程',
// auth: ['admin'],
// },
// {
// path: `/flow-myFlowList-TeacherBonusDeclare`,
// title: '我的流程'
// }
// ]
// },
// {
// path: `/5-5`,
// title: '教师工作量申请',
//
// children: [
// // {
// // path: `/CertificateForm?id=103&remark=Certificate&entrance=flow`,
// // title: '获奖材料上传',
// // },
// // {
// // path: `/BursaryForm?id=104&remark=Bursary&entrance=flow`,
// // title: '补助金申请',
// // },
// {
// path: `/flow-awaitDoneList-WorkloadDeclare`,
// title: '待办流程',
// auth: ['admin'],
// },
// {
// path: `/flow-processedList-WorkloadDeclare`,
// title: '已办流程',
// auth: ['admin'],
// },
// {
// path: `/flow-myFlowList-WorkloadDeclare`,
// title: '我的流程'
// }
// ]
// },
{ {
path: `/5-2`, path: `/5-6`,
title: '学生奖励申请', title: '师生奖励申请',
children: [
// {
// path: `/CertificateForm?id=103&remark=Certificate&entrance=flow`,
// title: '获奖材料上传',
// },
// {
// path: `/BursaryForm?id=104&remark=Bursary&entrance=flow`,
// title: '补助金申请',
// },
{
path: `/flow-awaitDoneList-StudentBonusDeclare`,
title: '待办流程',
auth: ['admin'],
},
{
path: `/flow-processedList-StudentBonusDeclare`,
title: '已办流程',
auth: ['admin'],
},
{
path: `/flow-myFlowList-StudentBonusDeclare`,
title: '我的流程'
}
]
},
{
path: `/5-3`,
title: '学生补助申请',
children: [
// {
// path: `/CertificateForm?id=103&remark=Certificate&entrance=flow`,
// title: '获奖材料上传',
// },
// {
// path: `/BursaryForm?id=104&remark=Bursary&entrance=flow`,
// title: '补助金申请',
// },
{
path: `/flow-awaitDoneList-SubsidyDeclare`,
title: '待办流程',
auth: ['admin'],
},
{
path: `/flow-processedList-SubsidyDeclare`,
title: '已办流程',
auth: ['admin'],
},
{
path: `/flow-myFlowList-SubsidyDeclare`,
title: '我的流程'
}
]
},
{
path: `/5-4`,
title: '教师奖励申请',
children: [
// {
// path: `/CertificateForm?id=103&remark=Certificate&entrance=flow`,
// title: '获奖材料上传',
// },
// {
// path: `/BursaryForm?id=104&remark=Bursary&entrance=flow`,
// title: '补助金申请',
// },
{
path: `/flow-awaitDoneList-TeacherBonusDeclare`,
title: '待办流程',
auth: ['admin'],
},
{
path: `/flow-processedList-TeacherBonusDeclare`,
title: '已办流程',
auth: ['admin'],
},
{
path: `/flow-myFlowList-TeacherBonusDeclare`,
title: '我的流程'
}
]
},
{
path: `/5-5`,
title: '教师工作量申请',
children: [ children: [
// {
// path: `/CertificateForm?id=103&remark=Certificate&entrance=flow`,
// title: '获奖材料上传',
// },
// {
// path: `/BursaryForm?id=104&remark=Bursary&entrance=flow`,
// title: '补助金申请',
// },
{ {
path: `/flow-awaitDoneList-WorkloadDeclare`, path: `/flow-awaitDoneList-rewardForTeachersAndStudents`,
title: '待办流程', title: '待办流程',
auth: ['admin'], auth: ['admin'],
}, },
{ {
path: `/flow-processedList-WorkloadDeclare`, path: `/flow-processedList-rewardForTeachersAndStudents`,
title: '已办流程', title: '已办流程',
auth: ['admin'], auth: ['admin'],
}, },
{ {
path: `/flow-myFlowList-WorkloadDeclare`, path: `/flow-myFlowList-rewardForTeachersAndStudents`,
title: '我的流程' title: '我的流程'
} }
] ]
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<div class="content"> <div class="content">
<Card :dis-hover="true" style="width: 50%;margin-top: 20px;" <Card :dis-hover="true" style="width: 50%;margin-top: 20px;margin-bottom: 20px;"
v-if="form_name === 'CompetitionReport'"> v-if="form_name === 'CompetitionReport'">
<div class="tableList"> <div class="tableList">
<h1 style="display: flex;justify-content: center"> {{ data.Object.module }}</h1> <h1 style="display: flex;justify-content: center"> {{ data.Object.module }}</h1>
...@@ -66,7 +66,7 @@ ...@@ -66,7 +66,7 @@
</Card> </Card>
<Card :dis-hover="true" style="width: 50%;margin-top: 20px;" <Card :dis-hover="true" style="width: 50%;margin-top: 20px;margin-bottom: 20px;"
v-if="form_name === 'CompetitionSign'"> v-if="form_name === 'CompetitionSign'">
<div class="tableList"> <div class="tableList">
...@@ -82,7 +82,6 @@ ...@@ -82,7 +82,6 @@
}} }}
</td> </td>
<th v-if="item[0]==='way'" class="colTitle">{{ item[2] }}</th> <th v-if="item[0]==='way'" class="colTitle">{{ item[2] }}</th>
<td v-if="item[0]==='way'" class="colContent">{{ ['团队', '个人'][item[1]] }}</td> <td v-if="item[0]==='way'" class="colContent">{{ ['团队', '个人'][item[1]] }}</td>
...@@ -126,11 +125,11 @@ ...@@ -126,11 +125,11 @@
位)</h3> 位)</h3>
</template> </template>
<template #extra></template> <template #extra></template>
<Table v-if="!!item.guide_teacher_list.length" :columns="guidecolumnsTeacher" <Table v-if="!!item.guide_teacher_list.length" :columns="guidecolumnsTeacherCompetitionSign"
:data="item.guide_teacher_list"></Table> :data="item.guide_teacher_list"></Table>
<Table v-if="!!item.contestant_teacher_list.length" :columns="columnsTeacher" <Table v-if="!!item.contestant_teacher_list.length" :columns="columnsTeacherCompetitionSign"
:data="item.contestant_teacher_list"></Table> :data="item.contestant_teacher_list"></Table>
<Table v-if="!!item.student_list.length" :columns="columnsStudent" <Table v-if="!!item.student_list.length" :columns="columnsStudentCompetitionSign"
:data="item.student_list"></Table> :data="item.student_list"></Table>
</Card> </Card>
<!-- 展开卡片--> <!-- 展开卡片-->
...@@ -145,7 +144,7 @@ ...@@ -145,7 +144,7 @@
</div> </div>
</div> </div>
</Card> </Card>
<Card :dis-hover="true" style="width: 50%;margin-top: 20px;" <Card :dis-hover="true" style="width: 50%;margin-top: 20px;margin-bottom: 20px;"
v-if="form_name === 'Certificate'"> v-if="form_name === 'Certificate'">
<div class="tableList"> <div class="tableList">
<h1 style="display: flex;justify-content: center"> {{ data.Object.module }}</h1> <h1 style="display: flex;justify-content: center"> {{ data.Object.module }}</h1>
...@@ -182,11 +181,30 @@ ...@@ -182,11 +181,30 @@
<!-- <a @click="deleteTeam(item)" style="color: red;margin-left: 1vw">删除本团队</a>--> <!-- <a @click="deleteTeam(item)" style="color: red;margin-left: 1vw">删除本团队</a>-->
</template> </template>
<Table v-if="!!item.guide_teacher_list.length" :columns="guidecolumnsTeacher" <Table v-if="!!item.guide_teacher_list.length" :columns="guidecolumnsTeacher"
:data="item.guide_teacher_list"></Table> :data="item.guide_teacher_list">
<template #instructionalscore="{row}">
<span v-text-color v-text-family>{{ row.instructionalscore }}分</span>
</template>
</Table>
<Table v-if="!!item.contestant_teacher_list.length" :columns="columnsTeacher" <Table v-if="!!item.contestant_teacher_list.length" :columns="columnsTeacher"
:data="item.contestant_teacher_list"></Table> :data="item.contestant_teacher_list">
<template #instructionalscore="{row}">
<span v-text-color v-text-family>{{ row.instructionalscore }}分</span>
</template>
</Table>
<Table v-if="!!item.student_list.length" :columns="columnsStudent" <Table v-if="!!item.student_list.length" :columns="columnsStudent"
:data="item.student_list"></Table> :data="item.student_list">
<template #subsidytype_name="{row}">
<span v-text-color v-text-family>{{ row.subsidytype_name }}</span>
</template>
<template #subsidy_day="{row}">
<span v-text-color v-text-family>{{ row.subsidy_day }}天</span>
</template>
<template #subsidy_num="{row}">
<span v-text-color v-text-family>{{ row.subsidy_num }}元</span>
</template>
</Table>
</Card> </Card>
<!-- 展开卡片--> <!-- 展开卡片-->
</div> </div>
...@@ -200,7 +218,7 @@ ...@@ -200,7 +218,7 @@
</div> </div>
</div> </div>
</Card> </Card>
<Card :dis-hover="true" style="width: 50%;margin-top: 20px;" <Card :dis-hover="true" style="width: 50%;margin-top: 20px;margin-bottom: 20px;"
v-if="form_name === 'BonusDeclare'"> v-if="form_name === 'BonusDeclare'">
<!-- 学生奖励--> <!-- 学生奖励-->
<div class="tableList"> <div class="tableList">
...@@ -251,17 +269,46 @@ ...@@ -251,17 +269,46 @@
}} }}
</div> </div>
</template> </template>
<Table v-if="!!item.guide_teacher_list.length" :columns="columnsTeacherAward"
:data="item.guide_teacher_list">
<template #hierarchy_name="{row}">
<span v-text-color v-text-family>{{ row.hierarchy_name }}</span>
</template>
<template #bonus_ratio="{row}">
<span v-text-color v-text-family>{{ row.bonus_ratio }}%</span>
</template>
<template #bonus="{row}">
<span v-text-color v-text-family>{{ row.bonus || 0 }}元</span>
</template>
<Table v-if="!!item.student_list.length"
:columns="[columnsStudentAward,columnsTeacherAward][data.Object.bonus.is_tea]" </Table>
<Table v-if="!!item.contestant_teacher_list.length" :columns="guidecolumnsTeacherAward"
:data="item.contestant_teacher_list">
<template #hierarchy_name="{row}">
<span v-text-color v-text-family>{{ row.hierarchy_name }}</span>
</template>
<template #bonus_ratio="{row}">
<span v-text-color v-text-family>{{ row.bonus_ratio }}%</span>
</template>
<template #bonus="{row}">
<span v-text-color v-text-family>{{ row.bonus || 0 }}元</span>
</template>
</Table>
<Table v-if="!!item.student_list.length" :columns="columnsStudentAward"
:data="item.student_list"> :data="item.student_list">
<template #bonus="{row,index}"> <template #hierarchy_name="{row}">
<div style="width: 100%;height: 100%;display: flex;align-items: center;"> <span v-text-color v-text-family>{{ row.hierarchy_name }}</span>
<span </template>
style="font-family: 楷体;color: #1e93ff;font-weight: 600;">{{ (row.bonus || 0) }}元</span> <template #bonus_ratio="{row}">
</div> <span v-text-color v-text-family>{{ row.bonus_ratio }}%</span>
</template>
<template #bonus="{row}">
<span v-text-color v-text-family>{{ row.bonus || 0 }}元</span>
</template> </template>
</Table> </Table>
</Card> </Card>
</div> </div>
...@@ -275,7 +322,7 @@ ...@@ -275,7 +322,7 @@
</div> </div>
</div> </div>
</Card> </Card>
<Card :dis-hover="true" style="width: 50%;margin-top: 20px;" <Card :dis-hover="true" style="width: 50%;margin-top: 20px;margin-bottom: 20px;"
v-if="form_name === 'SubsidyDeclare'"> v-if="form_name === 'SubsidyDeclare'">
<!-- 学生补助--> <!-- 学生补助-->
<div class="tableList"> <div class="tableList">
...@@ -361,7 +408,7 @@ ...@@ -361,7 +408,7 @@
</div> </div>
</div> </div>
</Card> </Card>
<Card :dis-hover="true" style="width: 50%;margin-top: 20px;" <Card :dis-hover="true" style="width: 50%;margin-top: 20px;margin-bottom: 20px;"
v-if="form_name === 'WorkloadDeclare'"> v-if="form_name === 'WorkloadDeclare'">
<!-- 教师工作量--> <!-- 教师工作量-->
<div class="tableList"> <div class="tableList">
...@@ -430,7 +477,7 @@ ...@@ -430,7 +477,7 @@
</div> </div>
</Card> </Card>
<Card :dis-hover="true" style="width: 50%;margin-top: 20px;" v-if="form_name === 'Bursary'"> <Card :dis-hover="true" style="width: 50%;margin-top: 20px;margin-bottom: 20px;" v-if="form_name === 'Bursary'">
<div class="tableList"> <div class="tableList">
<h1 style="display: flex;justify-content: center"> {{ data.Object.module }}</h1> <h1 style="display: flex;justify-content: center"> {{ data.Object.module }}</h1>
<table border="1" class="container1"> <table border="1" class="container1">
...@@ -477,7 +524,7 @@ ...@@ -477,7 +524,7 @@
</div> </div>
</Card> </Card>
<Card :dis-hover="true" style="width: 50%;margin-top: 20px;" v-if="form_name === 'Notice'"> <Card :dis-hover="true" style="width: 50%;margin-top: 20px;margin-bottom: 20px;" v-if="form_name === 'Notice'">
<div class="tableList"> <div class="tableList">
<h1 style="display: flex;justify-content: center"> {{ data.Object.module }}</h1> <h1 style="display: flex;justify-content: center"> {{ data.Object.module }}</h1>
<table border="1" class="container1"> <table border="1" class="container1">
...@@ -527,7 +574,7 @@ ...@@ -527,7 +574,7 @@
</div> </div>
</Card> </Card>
<div <div
style="overflow-y: auto; box-sizing: border-box; border-top: #1e93ff 0.3vw solid; width: 15%;height: 133vh;margin-top:20px; style="overflow-y: auto; box-sizing: border-box; border-top: #1e93ff 0.3vw solid; width: 15%;height: 133vh;margin-top:20px;margin-bottom: 20px;
padding:3vw 1vw 3vw 1vw;background-color: white;display: flex;justify-content: center"> padding:3vw 1vw 3vw 1vw;background-color: white;display: flex;justify-content: center">
<Timeline> <Timeline>
<TimelineItem :color="['blue','green'][Number(!item.action_name)]" <TimelineItem :color="['blue','green'][Number(!item.action_name)]"
...@@ -674,957 +721,1208 @@ ...@@ -674,957 +721,1208 @@
</template> </template>
<script> <script>
import * as hook from '../../../hook' import * as hook from '../../../hook'
import * as api from '../../../api/requestUtils' import * as api from '../../../api/requestUtils'
import {publicState} from "@/configState"; import {publicState} from "@/configState";
//这里可以导入其他文件(比如:组件,工具js,第三方插件js,json文件,图片文件等等) //这里可以导入其他文件(比如:组件,工具js,第三方插件js,json文件,图片文件等等)
//例如:import 《组件名称》 from '《组件路径》'; //例如:import 《组件名称》 from '《组件路径》';
export default { export default {
//import引入的组件需要注入到对象中才能使用", //import引入的组件需要注入到对象中才能使用",
components: {}, components: {},
data() { data() {
//这里存放数据", //这里存放数据",
return { return {
btLoad: false, btLoad: false,
viewFileUpdataKeys: 1, viewFileUpdataKeys: 1,
split: 0.7, split: 0.7,
drawerPreview: false, drawerPreview: false,
fileType: '', fileType: '',
src: '', src: '',
unfold: { unfold: {
State: 0, State: 0,
height: '500', height: '500',
flag: ['展开', '收起'], flag: ['展开', '收起'],
},
guidecolumnsTeacher: [
{
title: '指导教师',
minWidth: 100,
key: 'name'
},
{
title: '工号',
minWidth: 120,
key: 'card_name'
},
{
title: '身份证号',
minWidth: 180,
key: 'sfzh'
},
{
title: '教学院系',
minWidth: 150,
key: 'dept'
},
{
title: '性别',
minWidth: 80,
key: 'gender'
},
{
title: '联系电话',
minWidth: 150,
key: 'phone'
}, },
],
columnsTeacherWorkLoad: [
{
title: '教师',
minWidth: 100,
key: 'name'
},
{
title: '工号',
minWidth: 120,
key: 'card_name'
},
{
title: '身份证号',
minWidth: 180,
key: 'sfzh'
},
{
title: '教学院系',
minWidth: 150,
key: 'dept'
},
{
title: '性别',
minWidth: 80,
key: 'gender'
},
{
title: '联系电话',
minWidth: 150,
key: 'phone'
},
{ guidecolumnsTeacher: [
title: '教学分', {
minWidth: 150, title: '指导教师',
slot: 'instructionalscore', minWidth: 100,
fixed: 'right', key: 'name'
}, },
{
title: '性别',
minWidth: 80,
key: 'gender'
},
{
title: '工号',
minWidth: 120,
key: 'card_name'
},
// {
// title: '身份证号',
// minWidth: 180,
// key: 'sfzh'
// },
{
title: '教学院系',
minWidth: 150,
key: 'dept'
},
{
title: '联系电话',
minWidth: 150,
key: 'phone'
},
{
title: '开户银行',
minWidth: 180,
key: 'bank'
},
{
title: '银行卡号',
minWidth: 180,
key: 'bank_card'
},
{
title: '教学分',
minWidth: 150,
slot: 'instructionalscore',
fixed: 'right',
},
],
columnsStudent: [
{
title: '参赛学生',
minWidth: 100,
key: 'name'
},
{
title: '性别',
minWidth: 80,
key: 'gender'
},
{
title: '学号',
minWidth: 120,
key: 'card_name'
},
// {
// title: '身份证号',
// minWidth: 180,
// key: 'sfzh'
// },
{
title: '班级',
minWidth: 150,
key: 'classname'
},
{
title: '联系电话',
minWidth: 150,
key: 'phone'
},
{
title: '开户银行',
minWidth: 180,
key: 'bank'
},
{
title: '银行卡号',
minWidth: 180,
key: 'bank_card'
},
{
title: '学生类型',
minWidth: 150,
slot: 'subsidytype_name',
fixed: 'right'
},
{
title: '补贴天数',
minWidth: 150,
slot: 'subsidy_day',
fixed: 'right',
},
{
title: '补贴金额',
minWidth: 100,
slot: 'subsidy_num',
fixed: 'right',
},
// {
// title: '操作',
// minWidth: 80,
// slot: 'action',
// fixed: 'right'
// },
],
columnsTeacher: [
{
title: '参赛教师',
minWidth: 100,
key: 'name'
},
{
title: '性别',
minWidth: 80,
key: 'gender'
},
{
title: '工号',
minWidth: 120,
key: 'card_name'
},
// {
// title: '身份证号',
// minWidth: 180,
// key: 'sfzh'
// },
{
title: '教学院系',
minWidth: 150,
key: 'dept'
},
{
title: '联系电话',
minWidth: 150,
key: 'phone'
},
{
title: '开户银行',
minWidth: 180,
key: 'bank'
},
{
title: '银行卡号',
minWidth: 180,
key: 'bank_card'
},
{
title: '教学分',
minWidth: 150,
slot: 'instructionalscore',
fixed: 'right',
},
],
columnsStudentGrands: [
{
title: '参赛学生',
minWidth: 100,
key: 'name'
},
{
title: '学号',
minWidth: 120,
key: 'card_name'
},
{
title: '身份证号',
minWidth: 180,
key: 'sfzh'
},
{
title: '班级',
minWidth: 150,
key: 'classname'
},
{
title: '性别',
minWidth: 80,
key: 'gender'
},
{
title: '联系电话',
minWidth: 150,
key: 'phone'
},
{
title: '学生类型',
minWidth: 150,
slot: 'subsidytype_name',
fixed: 'right'
},
{
title: '补贴天数',
minWidth: 150,
slot: 'subsidy_day',
fixed: 'right',
},
{
title: '补贴金额',
minWidth: 100,
slot: 'subsidy_num',
fixed: 'right',
},
// {
// title: '操作',
// minWidth: 80,
// slot: 'action',
// fixed: 'right'
// },
],
columnsStudentAward: [
{
title: '参赛学生',
minWidth: 100,
key: 'name'
},
{
title: '学号',
minWidth: 120,
key: 'card_name'
},
{
title: '身份证号',
minWidth: 180,
key: 'sfzh'
},
{
title: '班级',
minWidth: 150,
key: 'classname'
},
{
title: '性别',
minWidth: 80,
key: 'gender'
},
{
title: '联系电话',
minWidth: 150,
key: 'phone'
},
{
title: '奖项',
minWidth: 80,
key: 'hierarchy_name',
fixed: 'right'
},
{
title: '奖励金额',
minWidth: 150,
slot: 'bonus',
fixed: 'right',
},
// { ],
// title: '操作',
// minWidth: 80,
// slot: 'action',
// fixed: 'right'
// },
],
columnsTeacherAward: [
{
title: '指导教师',
minWidth: 100,
key: 'name'
},
{
title: '工号',
minWidth: 120,
key: 'card_name'
},
{
title: '身份证号',
minWidth: 180,
key: 'sfzh'
},
{
title: '教学院系',
minWidth: 150,
key: 'dept'
},
{
title: '性别',
minWidth: 80,
key: 'gender'
},
{
title: '奖项',
minWidth: 80,
key: 'hierarchy_name',
fixed: 'right'
},
{
title: '奖励金额',
minWidth: 150,
slot: 'bonus',
fixed: 'right',
},
// { columnsTeacherWorkLoad: [
// title: '操作', {
// minWidth: 80, title: '教师',
// slot: 'action', minWidth: 100,
// fixed: 'right' key: 'name'
// }, },
], {
title: '工号',
columnsStudent: [ minWidth: 120,
{ key: 'card_name'
title: '参赛学生', },
minWidth: 100, {
key: 'name' title: '身份证号',
}, minWidth: 180,
{ key: 'sfzh'
title: '学号', },
minWidth: 120, {
key: 'card_name' title: '教学院系',
}, minWidth: 150,
{ key: 'dept'
title: '身份证号', },
minWidth: 180, {
key: 'sfzh' title: '性别',
}, minWidth: 80,
{ key: 'gender'
title: '班级', },
minWidth: 150, {
key: 'classname' title: '联系电话',
}, minWidth: 150,
{ key: 'phone'
title: '性别', },
minWidth: 80,
key: 'gender' {
}, title: '教学分',
{ minWidth: 150,
title: '联系电话', slot: 'instructionalscore',
minWidth: 150, fixed: 'right',
key: 'phone' },
},
],
columnsTeacher: [
{
title: '参赛教师',
minWidth: 100,
key: 'name'
},
{
title: '工号',
minWidth: 120,
key: 'card_name'
},
{
title: '身份证号',
minWidth: 180,
key: 'sfzh'
},
{
title: '教学院系',
minWidth: 150,
key: 'dept'
},
{
title: '性别',
minWidth: 80,
key: 'gender'
},
{
title: '联系电话',
minWidth: 150,
key: 'phone'
},
],
competitionsignTeam: [],
flowInfo: '',
publicIdentificatio: '',
publicTextarea: '',
formValidate: {
publicAction: "",
},
ruleValidate: {
publicAction: [
{required: true, type: 'number', message: '该项不能为空', trigger: 'change'}
], ],
}, columnsStudentGrands: [
{
title: '参赛学生',
minWidth: 100,
key: 'name'
},
{
title: '学号',
minWidth: 120,
key: 'card_name'
},
{
title: '身份证号',
minWidth: 180,
key: 'sfzh'
},
{
title: '班级',
minWidth: 150,
key: 'classname'
},
{
title: '性别',
minWidth: 80,
key: 'gender'
},
{
title: '联系电话',
minWidth: 150,
key: 'phone'
},
{
title: '学生类型',
minWidth: 150,
slot: 'subsidytype_name',
fixed: 'right'
},
{
title: '补贴天数',
minWidth: 150,
slot: 'subsidy_day',
fixed: 'right',
},
{
title: '补贴金额',
minWidth: 100,
slot: 'subsidy_num',
fixed: 'right',
},
// {
// title: '操作',
// minWidth: 80,
// slot: 'action',
// fixed: 'right'
// },
],
publicModal: false, guidecolumnsTeacherCompetitionSign: [
data: { {
keyValueArray: [], title: '指导教师',
Object: {} minWidth: 100,
}, key: 'name'
runid: '', },
form_name: '', {
promiseAllArray: [], title: '性别',
drawerObject: {}, minWidth: 80,
teamDrawer: false, key: 'gender'
drawerColumn: [ },
{ {
title: '姓名', title: '工号',
key: 'name', minWidth: 120,
align: 'center', key: 'card_name'
show: true, },
width: 80
}, {
{ title: '教学院系',
title: '成员工号', minWidth: 150,
key: 'card_name', key: 'dept'
align: 'center', },
show: true,
minWidth: 120, {
}, title: '联系电话',
{ minWidth: 150,
title: '是否为教师', key: 'phone'
key: 'is_tea', },
align: 'center',
show: true,
minWidth: 150, ],
}, columnsStudentCompetitionSign: [
{ {
title: '是否为指导教师', title: '参赛学生',
key: 'is_lead', minWidth: 100,
align: 'center', key: 'name'
show: true, },
minWidth: 100, {
}, title: '性别',
{ minWidth: 80,
title: '班级', key: 'gender'
key: 'classname', },
align: 'center', {
show: true, title: '学号',
minWidth: 120, minWidth: 120,
key: 'card_name'
},
// {
// title: '身份证号',
// minWidth: 180,
// key: 'sfzh'
// },
{
title: '班级',
minWidth: 150,
key: 'classname'
},
{
title: '联系电话',
minWidth: 150,
key: 'phone'
},
// {
// title: '操作',
// minWidth: 80,
// slot: 'action',
// fixed: 'right'
// },
],
columnsTeacherCompetitionSign: [
{
title: '参赛教师',
minWidth: 100,
key: 'name'
},
{
title: '性别',
minWidth: 80,
key: 'gender'
},
{
title: '工号',
minWidth: 120,
key: 'card_name'
},
// {
// title: '身份证号',
// minWidth: 180,
// key: 'sfzh'
// },
{
title: '教学院系',
minWidth: 150,
key: 'dept'
},
{
title: '联系电话',
minWidth: 150,
key: 'phone'
},
],
columnsStudentAward: [
{
title: '参赛学生',
minWidth: 100,
key: 'name'
},
{
title: '工号',
minWidth: 120,
key: 'card_name'
},
{
title: '身份证号',
minWidth: 180,
key: 'sfzh'
},
{
title: '教学院系',
minWidth: 150,
key: 'dept'
},
{
title: '性别',
minWidth: 80,
key: 'gender'
},
{
title: '联系电话',
minWidth: 150,
key: 'phone'
},
{
title: '奖项',
minWidth: 80,
slot: 'hierarchy_name',
fixed: 'right'
},
{
title: '奖励比例',
minWidth: 100,
slot: 'bonus_ratio',
fixed: 'right',
},
{
title: '奖励金额',
minWidth: 100,
slot: 'bonus',
fixed: 'right',
},
// {
// title: '操作',
// minWidth: 80,
// slot: 'action',
// fixed: 'right'
// },
],
guidecolumnsTeacherAward: [
{
title: '指导教师',
minWidth: 100,
key: 'name'
},
{
title: '工号',
minWidth: 120,
key: 'card_name'
},
{
title: '身份证号',
minWidth: 180,
key: 'sfzh'
},
{
title: '教学院系',
minWidth: 150,
key: 'dept'
},
{
title: '性别',
minWidth: 80,
key: 'gender'
},
{
title: '联系电话',
minWidth: 150,
key: 'phone'
},
{
title: '奖项',
minWidth: 80,
slot: 'hierarchy_name',
fixed: 'right'
},
{
title: '奖励比例',
minWidth: 100,
slot: 'bonus_ratio',
fixed: 'right',
},
{
title: '奖励金额',
minWidth: 100,
slot: 'bonus',
fixed: 'right',
},
],
columnsTeacherAward: [
{
title: '参赛教师',
minWidth: 100,
key: 'name'
},
{
title: '工号',
minWidth: 120,
key: 'card_name'
},
{
title: '身份证号',
minWidth: 180,
key: 'sfzh'
},
{
title: '教学院系',
minWidth: 150,
key: 'dept'
},
{
title: '性别',
minWidth: 80,
key: 'gender'
},
{
title: '联系电话',
minWidth: 150,
key: 'phone'
},
{
title: '奖项',
minWidth: 80,
slot: 'hierarchy_name',
fixed: 'right'
},
{
title: '奖励比例',
minWidth: 100,
slot: 'bonus_ratio',
fixed: 'right',
},
{
title: '奖励金额',
minWidth: 100,
slot: 'bonus',
fixed: 'right',
},
],
competitionsignTeam: [],
flowInfo: '',
publicIdentificatio: '',
publicTextarea: '',
formValidate: {
publicAction: "",
}, },
{ ruleValidate: {
title: '部门', publicAction: [
key: 'dept', {required: true, type: 'number', message: '该项不能为空', trigger: 'change'}
align: 'center', ],
show: true,
minWidth: 120,
}, },
// {
// title: '操作',
// align: 'center',
// minWidth: 200,
// fixed: 'right',
// slot: 'action'
// }
],
drawerData: [],
timeLineArray: [],
}
},
//监听属性 类似于data概念",
computed: {
publicState() {
return publicState
}
},
//监控data中的数据变化",
watch: {},
//方法集合",
methods: {
unfoldTeamCard() {
if (Boolean(this.unfold.State)) {
this.unfold.height = '500'
this.unfold.State = 0
} else {
this.unfold.height = '9999'
this.unfold.State = 1
}
}, publicModal: false,
data: {
updateViewFile(e) { keyValueArray: [],
const fun = (e, url) => { Object: {}
this.src = window.location.protocol + '//' + window.location.host + url.path },
// this.src = 'https://asc.hnasct.cn/' + url.path runid: '',
this.fileType = e form_name: '',
this.viewFileUpdataKeys++ promiseAllArray: [],
} drawerObject: {},
if (e.suffix === '.jpg' || e.suffix === '.jpeg' || e.suffix === '.png' || e.suffix === '.pdf') { teamDrawer: false,
fun('image', e) drawerColumn: [
} else if (e.suffix === '.doc' || e.suffix === '.docx' || e.suffix === '.xls' {
|| e.suffix === '.xlsx') { title: '姓名',
fun('office', e) key: 'name',
align: 'center',
show: true,
width: 80
},
{
title: '成员工号',
key: 'card_name',
align: 'center',
show: true,
minWidth: 120,
},
{
title: '是否为教师',
key: 'is_tea',
align: 'center',
show: true,
minWidth: 150,
},
{
title: '是否为指导教师',
key: 'is_lead',
align: 'center',
show: true,
minWidth: 100,
},
{
title: '班级',
key: 'classname',
align: 'center',
show: true,
minWidth: 120,
},
{
title: '部门',
key: 'dept',
align: 'center',
show: true,
minWidth: 120,
},
// {
// title: '操作',
// align: 'center',
// minWidth: 200,
// fixed: 'right',
// slot: 'action'
// }
],
drawerData: [],
timeLineArray: [],
} }
}, },
viewFile(e) { //监听属性 类似于data概念",
const fun = (e, url) => { computed: {
this.src = window.location.protocol + '//' + window.location.host + url.path publicState() {
// this.src = 'https://asc.hnasct.cn/' + url.path return publicState
this.fileType = e
this.drawerPreview = true
}
if (e.suffix === '.jpg' || e.suffix === '.jpeg' || e.suffix === '.png' || e.suffix === '.pdf') {
fun('image', e)
} else if (e.suffix === '.doc' || e.suffix === '.docx' || e.suffix === '.xls'
|| e.suffix === '.xlsx') {
fun('office', e)
} }
}, },
GetFlowLogList(form_id) { //监控data中的数据变化",
hook.getInitListRequest(() => { watch: {},
api.GetFlowLogList({form_id: form_id}).then((res) => { //方法集合",
this.timeLineArray = res.response methods: {
unfoldTeamCard() {
if (Boolean(this.unfold.State)) {
this.unfold.height = '500'
this.unfold.State = 0
} else {
this.unfold.height = '9999'
this.unfold.State = 1
}
},
updateViewFile(e) {
const fun = (e, url) => {
this.src = window.location.protocol + '//' + window.location.host + url.path
// this.src = 'https://asc.hnasct.cn/' + url.path
this.fileType = e
this.viewFileUpdataKeys++
}
if (e.suffix === '.jpg' || e.suffix === '.jpeg' || e.suffix === '.png' || e.suffix === '.pdf') {
fun('image', e)
} else if (e.suffix === '.doc' || e.suffix === '.docx' || e.suffix === '.xls'
|| e.suffix === '.xlsx') {
fun('office', e)
}
},
viewFile(e) {
const fun = (e, url) => {
this.src = window.location.protocol + '//' + window.location.host + url.path
// this.src = 'https://asc.hnasct.cn/' + url.path
this.fileType = e
this.drawerPreview = true
}
if (e.suffix === '.jpg' || e.suffix === '.jpeg' || e.suffix === '.png' || e.suffix === '.pdf') {
fun('image', e)
} else if (e.suffix === '.doc' || e.suffix === '.docx' || e.suffix === '.xls'
|| e.suffix === '.xlsx') {
fun('office', e)
}
},
GetFlowLogList(form_id) {
hook.getInitListRequest(() => {
api.GetFlowLogList({form_id: form_id}).then((res) => {
this.timeLineArray = res.response
})
}) })
}) },
}, async teamInfo() {
async teamInfo() { this.$Spin.show()
this.$Spin.show() const res = await api.GetTeamInfo({teamid: this.data.Object.certificate.team_id})
const res = await api.GetTeamInfo({teamid: this.data.Object.certificate.team_id}) this.drawerObject = res.response
this.drawerObject = res.response hook.publicMessage(res)
hook.publicMessage(res) this.teamDrawer = true
this.teamDrawer = true },
}, async ok() {
async ok() {
const data = { const data = {
taskid: this.data.Object.taskid, taskid: this.data.Object.taskid,
remark: this.publicTextarea remark: this.publicTextarea
} }
switch (this.publicIdentificatio) { switch (this.publicIdentificatio) {
case 'pass': case 'pass':
this.btLoad = true this.btLoad = true
const pass = await api.FlowApproval(data) const pass = await api.FlowApproval(data)
this.btLoad = false this.btLoad = false
hook.publicMessage(pass) hook.publicMessage(pass)
this.publicModal = false this.publicModal = false
if (pass.code === 1) { if (pass.code === 1) {
setTimeout(() => { setTimeout(() => {
localStorage.setItem('updataEvent', 'getDataEvent'); localStorage.setItem('updataEvent', 'getDataEvent');
this.$router.back() this.$router.back()
}, 1500) }, 1500)
} }
break; break;
case 'revocation': case 'revocation':
this.$refs.formValidate.validate(async (value) => { this.$refs.formValidate.validate(async (value) => {
if (value) { if (value) {
this.btLoad = true this.btLoad = true
data.action = this.formValidate.publicAction data.action = this.formValidate.publicAction
const Revocation = await api.FlowRevocation(data) const Revocation = await api.FlowRevocation(data)
if (Revocation.code === 1) { if (Revocation.code === 1) {
hook.publicMessage(Revocation) hook.publicMessage(Revocation)
this.publicModal = false this.publicModal = false
setTimeout(() => { setTimeout(() => {
localStorage.setItem('updataEvent', 'getDataEvent'); localStorage.setItem('updataEvent', 'getDataEvent');
this.$router.back() this.$router.back()
}, 1500) }, 1500)
} else { } else {
this.btLoad = false
this.$Message.error(Revocation.msg_detail)
}
this.btLoad = false this.btLoad = false
this.$Message.error(Revocation.msg_detail)
} }
this.btLoad = false })
}
})
break; break;
}
},
cancel() {
this.publicModal = false
},
async cancelFlow() {
this.$Spin.show()
const data = {
runid: this.runid
}
const res = await api.FlowCancel(data)
if (res.code === 1) {
hook.publicMessage(res)
} else {
this.$Spin.hide()
this.$Message.error(res.msg_detail)
}
},
revocationFlow() {
this.publicTextarea = ''
this.publicIdentificatio = 'revocation'
if (this.formValidate.publicAction) this.$refs['formValidate'].resetFields()
this.publicModal = true
},
passFlow() {
this.publicTextarea = ''
this.publicIdentificatio = 'pass'
this.publicModal = true
},
async getInitList() {
const downSpin = (res) => {
if (res.code !== 1) {
this.$Spin.hide();
this.$Message.error('无数据')
} }
} },
switch (this.form_name) { cancel() {
case "CompetitionReport": this.publicModal = false
this.$Spin.show() },
let data = { async cancelFlow() {
runid: this.runid this.$Spin.show()
} const data = {
let res = await api.GetFlowInfo(data) runid: this.runid
console.log("🚀🚀🚀,", res) }
this.GetFlowLogList(res.response.competition_report.competitionreportid) const res = await api.FlowCancel(data)
downSpin(res) if (res.code === 1) {
this.data.Object = res.response hook.publicMessage(res)
let Key = [ } else {
"competitionname",
"sponsor",
"way",
"dept",
"competitionsubitem_name",
"report_code",
"competitionbatch_name",
"competition_type_name",
"competition_level_name",
];
Object.keys(res.response.competition_report).map(cur => Key.includes(cur) ? '' : delete res.response.competition_report[cur])
this.data.keyValueArray = Object.entries(res.response.competition_report)
this.data.keyValueArray.map((cur, index) => {
let array = [
'赛事名称',
'主办单位',
'比赛形式',
'教学单位',
'赛项名称',
'赛事编码',
'学年名称',
'赛事类型',
// '承办单位/秘书处',
'赛事级别',
'相关专业',
// '正常比赛时间与天数',
// '参赛对象',
// '组队方式',
// '比赛规模',
// '近三年参赛平均数量',
// '获奖比例',
// '赛事及竞赛方案简介',
// '拟参赛专业和相关课程',
// '参赛理由',
// '创建时间',
// '审批状态',
// '竞赛类型',
// '院系',
// '赛事奖金',
// '竞赛开始时间',
// '竞赛结束时间',
// '参赛对象',
// '审批意见',
]
cur.push(array[index])
})
this.$Spin.hide() this.$Spin.hide()
// hook.publicMessage(res) this.$Message.error(res.msg_detail)
break; }
case "CompetitionSign": },
this.$Spin.show() revocationFlow() {
let data1 = { this.publicTextarea = ''
runid: this.runid this.publicIdentificatio = 'revocation'
if (this.formValidate.publicAction) this.$refs['formValidate'].resetFields()
this.publicModal = true
},
passFlow() {
this.publicTextarea = ''
this.publicIdentificatio = 'pass'
this.publicModal = true
},
async getInitList() {
const downSpin = (res) => {
if (res.code !== 1) {
this.$Spin.hide();
this.$Message.error('无数据')
} }
let res1 = await api.GetFlowInfo(data1) }
this.GetFlowLogList(res1.response.competition_sign.competitionsignid) switch (this.form_name) {
downSpin(res1) case "CompetitionReport":
this.data.Object = res1.response this.$Spin.show()
this.data.competitionsignid = res1.response.competition_sign.competitionsignid let data = {
api.TeamAndMemberSel({signid: res1.response.competition_sign.competitionsignid}).then(res => { runid: this.runid
this.competitionsignTeam = res.response }
}) let res = await api.GetFlowInfo(data)
let keys = [ console.log("🚀🚀🚀,", res)
// 'competitionsignid', this.GetFlowLogList(res.response.competition_report.competitionreportid)
'competitionname', downSpin(res)
'sponsor', this.data.Object = res.response
'competitionsubitem_name', let Key = [
'way', "competitionname",
'class_hour', "sponsor",
'end_time', "way",
'competitionsubitem_name', "dept",
'report_code', "competitionsubitem_name",
'competition_type_name', "report_code",
'competition_level_name', "competitionbatch_name",
'begin_time', "competition_type_name",
'money', "competition_level_name",
] ];
Object.keys(res1.response.competition_sign).map(cur => { Object.keys(res.response.competition_report).map(cur => Key.includes(cur) ? '' : delete res.response.competition_report[cur])
if (keys.indexOf(cur) === -1) delete res1.response.competition_sign[cur] this.data.keyValueArray = Object.entries(res.response.competition_report)
}) this.data.keyValueArray.map((cur, index) => {
this.data.keyValueArray = Object.entries(res1.response.competition_sign) let array = [
this.data.keyValueArray.map((cur, index) => { '赛事名称',
let array1 = [ '主办单位',
'赛事编号', '比赛形式',
'赛事名称', '教学单位',
'赛项名称', '赛项名称',
'主办单位', '赛事编码',
'赛事级别', '学年名称',
'赛事类别', '赛事类型',
'竞赛形式', // '承办单位/秘书处',
'比赛开始时间', '赛事级别',
'比赛结束时间', '相关专业',
'经费预算', // '正常比赛时间与天数',
'计划培训课时', // '参赛对象',
// '组队方式',
// '比赛规模',
// '近三年参赛平均数量',
// '获奖比例',
// '赛事及竞赛方案简介',
// '拟参赛专业和相关课程',
// '参赛理由',
// '创建时间',
// '审批状态',
// '竞赛类型',
// '院系',
// '赛事奖金',
// '竞赛开始时间',
// '竞赛结束时间',
// '参赛对象',
// '审批意见',
]
cur.push(array[index])
})
this.$Spin.hide()
// hook.publicMessage(res)
break;
case "CompetitionSign":
this.$Spin.show()
let data1 = {
runid: this.runid
}
let res1 = await api.GetFlowInfo(data1)
this.GetFlowLogList(res1.response.competition_sign.competitionsignid)
downSpin(res1)
this.data.Object = res1.response
this.data.competitionsignid = res1.response.competition_sign.competitionsignid
api.TeamAndMemberSel({signid: res1.response.competition_sign.competitionsignid}).then(res => {
this.competitionsignTeam = res.response
})
let keys = [
// 'competitionsignid',
'competitionname',
'sponsor',
'competitionsubitem_name',
'way',
'class_hour',
'end_time',
'competitionsubitem_name',
'report_code',
'competition_type_name',
'competition_level_name',
'begin_time',
'money',
] ]
cur.push(array1[index]) Object.keys(res1.response.competition_sign).map(cur => {
}) if (keys.indexOf(cur) === -1) delete res1.response.competition_sign[cur]
this.$Spin.hide() })
// hook.publicMessage(res1) this.data.keyValueArray = Object.entries(res1.response.competition_sign)
break; this.data.keyValueArray.map((cur, index) => {
case 'Certificate': let array1 = [
this.$Spin.show() '赛事编号',
let data2 = { '赛事名称',
runid: this.runid '赛项名称',
} '主办单位',
let res2 = await api.GetFlowInfo(data2) '赛事级别',
this.GetFlowLogList(res2.response.certificate.certificateid) '赛事类别',
downSpin(res2) '竞赛形式',
this.data.Object = res2.response '比赛开始时间',
api.TeamAndMemberSel({signid: res2.response.certificate.competitionsign_id}).then(resjl => { '比赛结束时间',
this.competitionsignTeam = resjl.response '经费预算',
}) '计划培训课时',
this.data.array = [ ]
{title: '赛事名称', value: res2.response.certificate.competitionname}, cur.push(array1[index])
{title: '赛事编号', value: res2.response.certificate.report_code}, })
{title: '赛项名称', value: res2.response.certificate.competitionsubitem_name}, this.$Spin.hide()
{title: '主办单位', value: res2.response.certificate.sponsor}, // hook.publicMessage(res1)
{title: '赛事级别', value: res2.response.certificate.competition_level_name}, break;
// {title: '赛事类型', value: ['学生赛', '教师赛'][res2.response.certificate.competition_method]}, case 'Certificate':
{title: '赛事类别', value: res2.response.certificate.competition_type_name}, this.$Spin.show()
// {title: '奖金', value: res2.response.certificate.money}, let data2 = {
{title: '竞赛形式', value: ['团队', '个人', '不限'][res2.response.certificate.way]}, runid: this.runid
}
{title: '比赛开始时间', value: res2.response.certificate.begin_time}, let res2 = await api.GetFlowInfo(data2)
{title: '比赛结束时间', value: res2.response.certificate.end_time}, this.GetFlowLogList(res2.response.certificate.certificateid)
{title: '审批状态', value: publicState.flowApprovalState[res2.response.certificate.approval_state]}, downSpin(res2)
this.data.Object = res2.response
api.TeamAndMemberSel({signid: res2.response.certificate.competitionsign_id}).then(resjl => {
// {title: '批次', value: res2.response.certificate.competitionbatch_name}, this.competitionsignTeam = resjl.response
] })
this.data.keyValueArray = Object.entries(res2.response.certificate) this.data.array = [
this.$Spin.hide() {title: '赛事名称', value: res2.response.certificate.competitionname},
// hook.publicMessage(res2) {title: '赛事编号', value: res2.response.certificate.report_code},
break; {title: '赛项名称', value: res2.response.certificate.competitionsubitem_name},
case 'BonusDeclare': {title: '主办单位', value: res2.response.certificate.sponsor},
this.$Spin.show() {title: '赛事级别', value: res2.response.certificate.competition_level_name},
let datax = { // {title: '赛事类型', value: ['学生赛', '教师赛'][res2.response.certificate.competition_method]},
runid: this.runid {title: '赛事类别', value: res2.response.certificate.competition_type_name},
} // {title: '奖金', value: res2.response.certificate.money},
let resx = await api.GetFlowInfo(datax) {title: '竞赛形式', value: ['团队', '个人', '不限'][res2.response.certificate.way]},
this.GetFlowLogList(resx.response.bonus.bonusdeclareid)
downSpin(resx) {title: '比赛开始时间', value: res2.response.certificate.begin_time},
this.data.Object = resx.response {title: '比赛结束时间', value: res2.response.certificate.end_time},
{title: '审批状态', value: publicState.flowApprovalState[res2.response.certificate.approval_state]},
this.asc.getApiTeamApiTeamTeamAndMemberSelCondition({
signid: resx.response.bonus.competitionsign_id,
is_tea: resx.response.bonus.is_tea // {title: '批次', value: res2.response.certificate.competitionbatch_name},
}).then(res => { ]
this.competitionsignTeam = res.response.map((cur, index) => { this.data.keyValueArray = Object.entries(res2.response.certificate)
//遍历团队成员奖项 this.$Spin.hide()
cur.student_list.forEach((cu, inde) => { // hook.publicMessage(res2)
cu.hierarchy_id = cur.hierarchy_id break;
cu.hierarchy_name = cur.hierarchy_name case 'BonusDeclare':
cu.teamFlag = true this.$Spin.show()
let datax = {
runid: this.runid
}
let resx = await api.GetFlowInfo(datax)
this.GetFlowLogList(resx.response.bonus.bonusdeclareid)
downSpin(resx)
this.data.Object = resx.response
// this.asc.getApiTeamApiTeamTeamAndMemberSelCondition({
// signid: resx.response.bonus.competitionsign_id,
// is_tea: resx.response.bonus.is_tea
// })
api.TeamAndMemberSel({signid: resx.response.bonus.competitionsign_id}).then(res => {
this.competitionsignTeam = res.response.map((cur, index) => {
//遍历团队成员奖项
cur.student_list.forEach((cu, inde) => {
cu.hierarchy_id = cur.hierarchy_id
cu.hierarchy_name = cur.hierarchy_name
cu.teamFlag = true
})
cur.guide_teacher_list.forEach((cu, inde) => {
cu.hierarchy_id = cur.hierarchy_id
cu.hierarchy_name = cur.hierarchy_name
cu.teamFlag = true
})
cur.contestant_teacher_list.forEach((cu, inde) => {
cu.hierarchy_id = cur.hierarchy_id
cu.hierarchy_name = cur.hierarchy_name
cu.teamFlag = true
})
return cur
}) })
return cur
}) })
}) this.data.array = [
this.data.array = [ {title: '赛事名称', value: resx.response.bonus.competitionname},
{title: '赛事名称', value: resx.response.bonus.competitionname}, {title: '赛事编号', value: resx.response.bonus.report_code},
{title: '赛事编号', value: resx.response.bonus.report_code}, {title: '赛项名称', value: resx.response.bonus.competitionsubitem_name},
{title: '赛项名称', value: resx.response.bonus.competitionsubitem_name},
// {title: '赛事类型', value: ['学生赛', '教师赛'][resx.response.bonus.competition_method]},
{title: '主办单位', value: resx.response.bonus.sponsor},
{title: '赛事级别', value: resx.response.bonus.competition_level_name},
{title: '赛事类别', value: resx.response.bonus.competition_type_name},
{title: '竞赛形式', value: ['团队', '个人', '不限'][resx.response.bonus.way]},
{title: '比赛开始时间', value: resx.response.bonus.begin_time},
{title: '比赛结束时间', value: resx.response.bonus.end_time},
{title: '奖金总金额', value: resx.response.bonus.bonus_total},
{title: '审批状态', value: publicState.flowApprovalState[resx.response.bonus.approval_state]},
// {title: '批次', value: resx.response.bonus.competitionbatch_name},
]
this.data.keyValueArray = Object.entries(resx.response.bonus)
this.$Spin.hide()
break; // {title: '赛事类型', value: ['学生赛', '教师赛'][resx.response.bonus.competition_method]},
{title: '主办单位', value: resx.response.bonus.sponsor},
{title: '赛事级别', value: resx.response.bonus.competition_level_name},
{title: '赛事类别', value: resx.response.bonus.competition_type_name},
case 'SubsidyDeclare': {title: '竞赛形式', value: ['团队', '个人', '不限'][resx.response.bonus.way]},
this.$Spin.show()
let datays = { {title: '比赛开始时间', value: resx.response.bonus.begin_time},
runid: this.runid {title: '比赛结束时间', value: resx.response.bonus.end_time},
} {title: '奖金总金额', value: resx.response.bonus.bonus_total},
let resys = await api.GetFlowInfo(datays) {title: '审批状态', value: publicState.flowApprovalState[resx.response.bonus.approval_state]},
this.GetFlowLogList(resys.response.subsidy.subsidydeclareid)
downSpin(resys) // {title: '批次', value: resx.response.bonus.competitionbatch_name},
this.data.Object = resys.response ]
this.data.keyValueArray = Object.entries(resx.response.bonus)
this.asc.getApiTeamApiTeamTeamAndMemberSelCondition({ this.$Spin.hide()
signid: resys.response.subsidy.competitionsign_id,
is_tea: 0 break;
}).then(res => {
this.competitionsignTeam = res.response.map((cur, index) => { case 'SubsidyDeclare':
//遍历团队成员奖项 this.$Spin.show()
cur.student_list.forEach((cu, inde) => { let datays = {
cu.hierarchy_id = cur.hierarchy_id runid: this.runid
cu.hierarchy_name = cur.hierarchy_name }
cu.teamFlag = true let resys = await api.GetFlowInfo(datays)
this.GetFlowLogList(resys.response.subsidy.subsidydeclareid)
downSpin(resys)
this.data.Object = resys.response
this.asc.getApiTeamApiTeamTeamAndMemberSelCondition({
signid: resys.response.subsidy.competitionsign_id,
is_tea: 0
}).then(res => {
this.competitionsignTeam = res.response.map((cur, index) => {
//遍历团队成员奖项
cur.student_list.forEach((cu, inde) => {
cu.hierarchy_id = cur.hierarchy_id
cu.hierarchy_name = cur.hierarchy_name
cu.teamFlag = true
})
return cur
}) })
return cur
}) })
})
this.data.array = [ this.data.array = [
{title: '赛事名称', value: resys.response.subsidy.competitionname}, {title: '赛事名称', value: resys.response.subsidy.competitionname},
{title: '赛事编号', value: resys.response.subsidy.report_code}, {title: '赛事编号', value: resys.response.subsidy.report_code},
{title: '赛项名称', value: resys.response.subsidy.competitionsubitem_name}, {title: '赛项名称', value: resys.response.subsidy.competitionsubitem_name},
// {title: '赛事类型', value: ['学生赛', '教师赛'][resy.response.subsidy.competition_method]},
{title: '主办单位', value: resys.response.subsidy.sponsor},
{title: '赛事级别', value: resys.response.subsidy.competition_level_name},
{title: '赛事类别', value: resys.response.subsidy.competition_type_name},
{title: '竞赛形式', value: ['团队', '个人', '不限'][resys.response.subsidy.way]},
{title: '比赛开始时间', value: resys.response.subsidy.begin_time},
{title: '比赛结束时间', value: resys.response.subsidy.end_time},
{title: '审批状态', value: publicState.flowApprovalState[resys.response.subsidy.approval_state]},
{title: '补贴总金额', value: resys.response.subsidy.subsidy_total},
// {title: '批次', value: resys.response.subsidy.competitionbatch_name},
]
this.data.keyValueArray = Object.entries(resys.response.subsidy)
this.$Spin.hide()
break; // {title: '赛事类型', value: ['学生赛', '教师赛'][resy.response.subsidy.competition_method]},
case 'WorkloadDeclare': {title: '主办单位', value: resys.response.subsidy.sponsor},
this.$Spin.show() {title: '赛事级别', value: resys.response.subsidy.competition_level_name},
let datays1 = { {title: '赛事类别', value: resys.response.subsidy.competition_type_name},
runid: this.runid {title: '竞赛形式', value: ['团队', '个人', '不限'][resys.response.subsidy.way]},
} {title: '比赛开始时间', value: resys.response.subsidy.begin_time},
let resys1 = await api.GetFlowInfo(datays1) {title: '比赛结束时间', value: resys.response.subsidy.end_time},
this.GetFlowLogList(resys1.response.workload.workloaddeclareid) {title: '审批状态', value: publicState.flowApprovalState[resys.response.subsidy.approval_state]},
downSpin(resys1) {title: '补贴总金额', value: resys.response.subsidy.subsidy_total},
this.data.Object = resys1.response
this.asc.getApiTeamApiTeamTeamAndMemberSelCondition({ // {title: '批次', value: resys.response.subsidy.competitionbatch_name},
signid: resys1.response.workload.competitionsign_id, ]
is_tea: 1 this.data.keyValueArray = Object.entries(resys.response.subsidy)
}).then(res => { this.$Spin.hide()
this.competitionsignTeam = res.response.map((cur, index) => {
//遍历团队成员奖项 break;
cur.student_list.forEach((cu, inde) => { case 'WorkloadDeclare':
cu.hierarchy_id = cur.hierarchy_id this.$Spin.show()
cu.hierarchy_name = cur.hierarchy_name let datays1 = {
cu.teamFlag = true runid: this.runid
}
let resys1 = await api.GetFlowInfo(datays1)
this.GetFlowLogList(resys1.response.workload.workloaddeclareid)
downSpin(resys1)
this.data.Object = resys1.response
this.asc.getApiTeamApiTeamTeamAndMemberSelCondition({
signid: resys1.response.workload.competitionsign_id,
is_tea: 1
}).then(res => {
this.competitionsignTeam = res.response.map((cur, index) => {
//遍历团队成员奖项
cur.student_list.forEach((cu, inde) => {
cu.hierarchy_id = cur.hierarchy_id
cu.hierarchy_name = cur.hierarchy_name
cu.teamFlag = true
})
return cur
}) })
return cur
}) })
})
this.data.array = [ this.data.array = [
{title: '赛事名称', value: resys1.response.workload.competitionname}, {title: '赛事名称', value: resys1.response.workload.competitionname},
{title: '赛事编号', value: resys1.response.workload.report_code}, {title: '赛事编号', value: resys1.response.workload.report_code},
{title: '赛项名称', value: resys1.response.workload.competitionsubitem_name}, {title: '赛项名称', value: resys1.response.workload.competitionsubitem_name},
// {title: '赛事类型', value: ['学生赛', '教师赛'][resy.response.workload.competition_method]},
{title: '主办单位', value: resys1.response.workload.sponsor},
{title: '赛事级别', value: resys1.response.workload.competition_level_name},
{title: '赛事类别', value: resys1.response.workload.competition_type_name},
{title: '竞赛形式', value: ['团队', '个人', '不限'][resys1.response.workload.way]},
{title: '比赛开始时间', value: resys1.response.workload.begin_time},
{title: '比赛结束时间', value: resys1.response.workload.end_time},
{title: '审批状态', value: publicState.flowApprovalState[resys1.response.workload.approval_state]},
// {title: '批次', value: resys1.response.workload.competitionbatch_name},
{title: '计划培训量', value: resys1.response.workload.class_hour},
{title: '实际培训量', value: resys1.response.workload.actual_class_hour},
]
this.data.keyValueArray = Object.entries(resys1.response.workload)
this.$Spin.hide()
break; // {title: '赛事类型', value: ['学生赛', '教师赛'][resy.response.workload.competition_method]},
{title: '主办单位', value: resys1.response.workload.sponsor},
{title: '赛事级别', value: resys1.response.workload.competition_level_name},
{title: '赛事类别', value: resys1.response.workload.competition_type_name},
{title: '竞赛形式', value: ['团队', '个人', '不限'][resys1.response.workload.way]},
case 'Bursary': {title: '比赛开始时间', value: resys1.response.workload.begin_time},
this.$Spin.show() {title: '比赛结束时间', value: resys1.response.workload.end_time},
let data3 = { {title: '审批状态', value: publicState.flowApprovalState[resys1.response.workload.approval_state]},
runid: this.runid
}
let res3 = await api.GetFlowInfo(data3)
this.GetFlowLogList(res3.response.bursary.competitionreportid)
downSpin(res3)
this.data.Object = res3.response
delete res3.response.bursary.bursaryid
delete res3.response.bursary.grant_file
// delete res3.response.bursary.approval_remark
delete res3.response.bursary.competitionreportid
delete res3.response.bursary.approval_remark
this.data.keyValueArray = Object.entries(res3.response.bursary)
this.data.keyValueArray.map((cur, index) => {
let array3 = [
// 'bursaryid',
'姓名',
'性别',
'学号/工号',
'身份证',
'专业/班级',
// '身份证',
// '赛事id',
'竞赛名称',
'竞赛文件名',
'竞赛类别',
'补助时间',
'补助金额',
'计划集训时间',
'实际集训起止时间',
'参赛具体情况',
// '附件',
'创建时间',
'审批状态',
// '审批意见',
// {title: '批次', value: resys1.response.workload.competitionbatch_name},
{title: '计划培训量', value: resys1.response.workload.class_hour},
{title: '实际培训量', value: resys1.response.workload.actual_class_hour},
] ]
cur.push(array3[index]) this.data.keyValueArray = Object.entries(resys1.response.workload)
}) this.$Spin.hide()
this.$Spin.hide()
// hook.publicMessage(res3)
break;
case 'Notice':
this.$Spin.show()
let data4 = {
runid: this.runid
}
let res4 = await api.GetFlowInfo(data4)
downSpin(res4)
this.data.Object = res4.response
delete res4.response.notice.noticeid
delete res4.response.notice.typeid
delete res4.response.notice.grant_file
delete res4.response.notice.createtime
// delete res3.response.bursary.approval_remark
delete res4.response.notice.competitionreportid
this.data.keyValueArray = Object.entries(res4.response.notice)
this.data.keyValueArray.map((cur, index) => {
let array4 = [
// 'bursaryid',
'公告标题',
'公告类型',
'发布时间',
'发布用户',
'修改人',
'修改时间',
'是否置顶',
'是否发布',
'审批状态',
'公告内容',
]
cur.push(array4[index])
})
this.$Spin.hide()
// hook.publicMessage(res4)
break;
}
break;
} case 'Bursary':
}, this.$Spin.show()
//生命周期 - 创建之前",数据模型未加载,方法未加载,html模板未加载 let data3 = {
beforeCreate() { runid: this.runid
}, }
let res3 = await api.GetFlowInfo(data3)
this.GetFlowLogList(res3.response.bursary.competitionreportid)
downSpin(res3)
this.data.Object = res3.response
delete res3.response.bursary.bursaryid
delete res3.response.bursary.grant_file
// delete res3.response.bursary.approval_remark
delete res3.response.bursary.competitionreportid
delete res3.response.bursary.approval_remark
this.data.keyValueArray = Object.entries(res3.response.bursary)
this.data.keyValueArray.map((cur, index) => {
let array3 = [
// 'bursaryid',
'姓名',
'性别',
'学号/工号',
'身份证',
'专业/班级',
// '身份证',
// '赛事id',
'竞赛名称',
'竞赛文件名',
'竞赛类别',
'补助时间',
'补助金额',
'计划集训时间',
'实际集训起止时间',
'参赛具体情况',
// '附件',
'创建时间',
'审批状态',
// '审批意见',
]
cur.push(array3[index])
})
this.$Spin.hide()
// hook.publicMessage(res3)
break;
case 'Notice':
this.$Spin.show()
let data4 = {
runid: this.runid
}
let res4 = await api.GetFlowInfo(data4)
downSpin(res4)
this.data.Object = res4.response
delete res4.response.notice.noticeid
delete res4.response.notice.typeid
delete res4.response.notice.grant_file
delete res4.response.notice.createtime
// delete res3.response.bursary.approval_remark
delete res4.response.notice.competitionreportid
this.data.keyValueArray = Object.entries(res4.response.notice)
this.data.keyValueArray.map((cur, index) => {
let array4 = [
// 'bursaryid',
'公告标题',
'公告类型',
'发布时间',
'发布用户',
'修改人',
'修改时间',
'是否置顶',
'是否发布',
'审批状态',
'公告内容',
]
cur.push(array4[index])
})
this.$Spin.hide()
// hook.publicMessage(res4)
break;
}
//生命周期 - 创建完成(可以访问当前this实例)",数据模型已加载,方法已加载,html模板已加载,html模板未渲染
created() {
}, }
//生命周期 - 挂载之前",html模板未渲染 },
beforeMount() { //生命周期 - 创建之前",数据模型未加载,方法未加载,html模板未加载
beforeCreate() {
},
}, //生命周期 - 创建完成(可以访问当前this实例)",数据模型已加载,方法已加载,html模板已加载,html模板未渲染
created() {
//生命周期 - 挂载完成(可以访问DOM元素)",html模板已渲染 },
mounted() { //生命周期 - 挂载之前",html模板未渲染
this.runid = this.$route.query.runid beforeMount() {
this.form_name = this.$route.query.form_name
this.flowInfo = this.$route.query.flowInfo
this.getInitList()
},
//生命周期 - 更新之前",数据模型已更新,html模板未更新 },
beforeUpdate() {
}, //生命周期 - 挂载完成(可以访问DOM元素)",html模板已渲染
//生命周期 - 更新之后",数据模型已更新,html模板已更新 mounted() {
updated() { this.runid = this.$route.query.runid
this.form_name = this.$route.query.form_name
this.flowInfo = this.$route.query.flowInfo
this.getInitList()
},
}, //生命周期 - 更新之前",数据模型已更新,html模板未更新
//生命周期 - 销毁之前", beforeUpdate() {
beforeDestroy() {
}, },
destroyed() { //生命周期 - 更新之后",数据模型已更新,html模板已更新
updated() {
}, },
//生命周期 - 销毁完成", //生命周期 - 销毁之前",
//如果页面有keep-alive缓存功能,这个函数会触发", beforeDestroy() {
activated() {
}, },
} destroyed() {
},
//生命周期 - 销毁完成",
//如果页面有keep-alive缓存功能,这个函数会触发",
activated() {
},
}
</script> </script>
......
...@@ -89,6 +89,7 @@ ...@@ -89,6 +89,7 @@
:labelWidth="120" :labelWidth="120"
@onSubmit="cssearch" @onSubmit="cssearch"
@onReset="csreset" @onReset="csreset"
:params="init"
></cs-search-cond-form> ></cs-search-cond-form>
<cs-button ref="batApproval" cs-type="warning" cs-style="" <cs-button ref="batApproval" cs-type="warning" cs-style=""
:cs-click="batApproval" :cs-click="batApproval"
...@@ -152,361 +153,591 @@ ...@@ -152,361 +153,591 @@
</template> </template>
<script> <script>
import * as hook from '../../hook' import * as hook from '../../hook'
import * as api from '../../api/requestUtils' import * as api from '../../api/requestUtils'
import {publicState} from "@/configState"; import {publicState} from "@/configState";
export default { export default {
name: 'list', name: 'list',
computed: { computed: {
publicState() { publicState() {
return publicState return publicState
} }
}, },
data() { data() {
return { return {
// 搜索项 // 搜索项
searchCondList: [ searchCondList: [
{ {
id: 'key_name', id: 'key_name',
name: '姓名或工号', name: '姓名或工号',
type: 'input', type: 'input',
show: true, show: true,
optList: [] optList: []
}, },
{ {
id: 'flow_name', id: 'flow_name',
name: '赛事名称', name: '赛事名称',
type: 'input', type: 'input',
show: true, show: true,
optList: [] optList: []
},
{
id: 'status',
name: '流程状态',
type: 'select',
show: true,
optList: [{
label: '草稿',
value: 0,
}, },
{ {
label: '运行中', id: 'status',
value: 1, name: '流程状态',
type: 'select',
show: true,
optList: [{
label: '草稿',
value: 0,
}, },
{ {
label: '已结束', label: '运行中',
value: 2, value: 1,
},] },
}, {
{ label: '已结束',
id: 'action_type', value: 2,
name: '操作类型', },]
type: 'select', },
show: true, {
optList: [{ id: 'action_type',
name: '操作类型',
type: 'select',
show: true,
optList: [
{
value: 1,
label: '发送'
},
{
value: 2,
label: '退回'
},
{
value: 4,
label: '结束'
},
{
value: 5,
label: '取消'
},
{
value: 6,
label: '退回到发起人'
}
]
},
{
id: 'flow_id',
name: '流程类别',
type: 'select',
show: true,
optList: [
{
label: '学生流程',
value: 102,
},
{
label: '教师流程',
value: 110,
}
]
},
{
id: 'rewardType',
name: '师生奖励类别',
type: 'select',
show: true,
optList: [
{
label: '教师奖励',
value: 107,
},
{
label: '学生奖励',
value: 106,
},
]
},
],
batApprovalArray: [],
ddd: '',
ccc: '',
bbb: '',
aaa: '',
flowStateArray: [
{
name: '草稿',
value: 0,
},
{
name: '运行中',
value: 1, value: 1,
label: '发送'
}, },
{ {
value: 2, name: '已结束',
label: '退回' value: 2,
}, },
{ ],
value: 4, flowSelect: [],
label: '结束' formData: {
}, name: '',
{ url: '',
value: 5, owner: '',
label: '取消' type: '',
}, approver: '',
{ date: '',
value: 6, desc: ''
label: '退回到发起人' },
},] approvalDrawer: false,
}, formValidate: {
"runid": "",
"title": "",
"flow_name": "",
"flow_id": "",
"status": 0,
"action_type": 0,
"starter": "",
"starter_name": "",
"start_time": "",
"current_node_id": "",
"current_node_name": "",
"todo": "",
"partcipant": "",
"modifyby": "",
"modifytime": "",
"form_id": "",
"form_name": ""
},
grid: {
xl: 8,
lg: 12,
md: 24,
sm: 24,
xs: 24
},
columns: [
// {
// title: '序号',
// type: 'index',
//
// show: true,
// width: 80
// },
{
type: 'selection',
width: 60,
align: 'center'
},
{
title: '赛事名称',
key: 'title',
], show: true,
batApprovalArray: [], minWidth: 300,
ddd: '', },
ccc: '', {
bbb: '', title: '流程名称',
aaa: '', key: 'flow_name',
flowStateArray: [
{
name: '草稿',
value: 0,
},
{
name: '运行中',
value: 1,
},
{
name: '已结束',
value: 2,
},
],
flowSelect: [],
formData: {
name: '',
url: '',
owner: '',
type: '',
approver: '',
date: '',
desc: ''
},
approvalDrawer: false,
formValidate: {
"runid": "",
"title": "",
"flow_name": "",
"flow_id": "",
"status": 0,
"action_type": 0,
"starter": "",
"starter_name": "",
"start_time": "",
"current_node_id": "",
"current_node_name": "",
"todo": "",
"partcipant": "",
"modifyby": "",
"modifytime": "",
"form_id": "",
"form_name": ""
},
grid: {
xl: 8,
lg: 12,
md: 24,
sm: 24,
xs: 24
},
columns: [
// {
// title: '序号',
// type: 'index',
//
// show: true,
// width: 80
// },
{
type: 'selection',
width: 60,
align: 'center'
},
{
title: '赛事名称',
key: 'title',
show: true, show: true,
minWidth: 300, minWidth: 150,
}, },
{ {
title: '流程名称', title: '流程状态',
key: 'flow_name', slot: 'status',
show: true, show: true,
minWidth: 150, minWidth: 100,
}, },
{ {
title: '流程状态', title: '操作类型',
slot: 'status', slot: 'action_type',
show: true, show: true,
minWidth: 100, minWidth: 120,
}, },
{ {
title: '操作类型', title: '当前节点名称',
slot: 'action_type', key: 'current_node_name',
show: true, show: true,
minWidth: 120, minWidth: 200,
}, },
{ {
title: '当前节点名称', title: '当前节点待办人员',
key: 'current_node_name', slot: 'todo',
show: true, show: true,
minWidth: 200, minWidth: 200,
}, },
{ {
title: '当前节点待办人员', title: '参与人员',
slot: 'todo', slot: 'partcipant',
show: true, show: true,
minWidth: 200, minWidth: 200,
}, },
{ {
title: '参与人员', title: '发起人工号',
slot: 'partcipant', key: 'starter',
show: true, show: true,
minWidth: 200, minWidth: 150,
}, },
{ {
title: '发起人工号', title: '发起人姓名',
key: 'starter', key: 'starter_name',
show: true, show: true,
minWidth: 150, minWidth: 120,
}, },
{ {
title: '发起人姓名', title: '发起时间',
key: 'starter_name', key: 'start_time',
show: true, show: true,
minWidth: 120, minWidth: 150,
}, },
{
title: '发起时间',
key: 'start_time',
show: true,
minWidth: 150,
},
// {
// title: '修改人',
// key: 'modifyby',
//
// show: true,
// minWidth: 200,
// },
// {
// title: '修改时间',
// key: 'modifytime',
//
// show: true,
// minWidth: 200,
// },
// {
// title: '关联模块',
// key: 'form_name',
//
// show: true,
// minWidth: 200,
// },
{
title: '操作',
minWidth: 180,
fixed: 'right',
show: true,
slot: 'action'
}
],
// { loading: false,
// title: '修改人',
// key: 'modifyby', tableData: [
// {},
// show: true, ],
// minWidth: 200, tableSize: 'default',
// }, tableFullscreen: false,
// {
// title: '修改时间',
// key: 'modifytime',
//
// show: true,
// minWidth: 200,
// },
// {
// title: '关联模块',
// key: 'form_name',
//
// show: true,
// minWidth: 200,
// },
{
title: '操作',
minWidth: 180,
fixed: 'right',
show: true,
slot: 'action'
}
],
loading: false,
tableData: [
{},
],
tableSize: 'default',
tableFullscreen: false,
total: 0,
collapse: false,
params: {
pageIndex: 1,
pageSize: 10,
college_id: '',
grade: '',
classId_Name: '',
status: ''
},
init: {
action_type: '',
status: "",
key_name: '',
flow_name: '',
page_index: 1,
page_size: 10,
total: 0, total: 0,
flow_id: '', collapse: false,
}, params: {
pageKey: 1, pageIndex: 1,
strategy: { pageSize: 10,
// 教师工作量三项 college_id: '',
"/flow-awaitDoneList-WorkloadDeclare": () => { grade: '',
this.init.flow_id1 = 109 classId_Name: '',
}, status: ''
"/flow-processedList-WorkloadDeclare": () => { },
this.init.flow_id1 = 109 init: {
}, action_type: '',
"/flow-myFlowList-WorkloadDeclare": () => { status: "",
this.init.flow_id1 = 109 key_name: '',
}, flow_name: '',
// 教师奖励三项 page_index: 1,
"/flow-awaitDoneList-TeacherBonusDeclare": () => { page_size: 10,
this.init.flow_id1 = 107 total: 0,
}, flow_id: '',
"/flow-processedList-TeacherBonusDeclare": () => { rewardType: '',
this.init.flow_id1 = 107 },
}, pageKey: 1,
"/flow-myFlowList-TeacherBonusDeclare": () => { strategy: {
this.init.flow_id1 = 107 // 师生奖励三项t
}, "/flow-awaitDoneList-rewardForTeachersAndStudents": () => {
// 学生补助三项 this.initSearchCondition()
"/flow-awaitDoneList-SubsidyDeclare": () => { this.init.flow_id1 = 107
this.init.flow_id1 = 108 this.searchCondList.forEach((cur, index) => {
}, if (cur.id === 'flow_id') this.searchCondList.splice(index, 1)
"/flow-processedList-SubsidyDeclare": () => { })
this.init.flow_id1 = 108 },
}, "/flow-processedList-rewardForTeachersAndStudents": () => {
"/flow-myFlowList-SubsidyDeclare": () => { this.initSearchCondition()
this.init.flow_id1 = 108 this.init.flow_id1 = 107
}, this.searchCondList.forEach((cur, index) => {
// 学生奖励三项 if (cur.id === 'flow_id') this.searchCondList.splice(index, 1)
"/flow-awaitDoneList-StudentBonusDeclare": () => { })
this.init.flow_id1 = 106 },
}, "/flow-myFlowList-rewardForTeachersAndStudents": () => {
"/flow-processedList-StudentBonusDeclare": () => { this.initSearchCondition()
this.init.flow_id1 = 106 this.init.flow_id1 = 107
}, this.searchCondList.forEach((cur, index) => {
"/flow-myFlowList-StudentBonusDeclare": () => { if (cur.id === 'flow_id') this.searchCondList.splice(index, 1)
this.init.flow_id1 = 106 })
}, },
// 获奖材料三项 // 教师工作量三项
"/flow-awaitDoneList-Certificate": () => { "/flow-awaitDoneList-WorkloadDeclare": () => {
this.init.flow_id1 = 103 this.initSearchCondition()
}, this.init.flow_id1 = 109
"/flow-processedList-Certificate": () => { this.searchCondList.forEach((cur, index) => {
this.init.flow_id1 = 103 if (cur.id === 'rewardType') this.searchCondList.splice(index, 1)
}, })
"/flow-myFlowList-Certificate": () => { },
this.init.flow_id1 = 103 "/flow-processedList-WorkloadDeclare": () => {
}, this.initSearchCondition()
// 赛事审批三项 this.init.flow_id1 = 109
// 赛事审批三项 this.searchCondList.forEach((cur, index) => {
"/flow-awaitDoneList": () => { if (cur.id === 'rewardType') this.searchCondList.splice(index, 1)
this.init.flow_id1 = 102 })
if (this.searchCondList.map(cur => cur.id).includes('flow_id')) { },
"/flow-myFlowList-WorkloadDeclare": () => {
this.initSearchCondition()
this.init.flow_id1 = 109
this.searchCondList.forEach((cur, index) => {
if (cur.id === 'rewardType') this.searchCondList.splice(index, 1)
})
},
// 教师奖励三项
"/flow-awaitDoneList-TeacherBonusDeclare": () => {
this.initSearchCondition()
this.init.flow_id1 = 107
this.searchCondList.forEach((cur, index) => {
if (cur.id === 'rewardType') this.searchCondList.splice(index, 1)
})
},
"/flow-processedList-TeacherBonusDeclare": () => {
this.initSearchCondition()
this.init.flow_id1 = 107
this.searchCondList.forEach((cur, index) => {
if (cur.id === 'rewardType') this.searchCondList.splice(index, 1)
})
},
"/flow-myFlowList-TeacherBonusDeclare": () => {
this.initSearchCondition()
this.init.flow_id1 = 107
this.searchCondList.forEach((cur, index) => {
if (cur.id === 'rewardType') this.searchCondList.splice(index, 1)
})
},
// 学生补助三项
"/flow-awaitDoneList-SubsidyDeclare": () => {
this.initSearchCondition()
this.init.flow_id1 = 108
this.searchCondList.forEach((cur, index) => {
if (cur.id === 'rewardType') this.searchCondList.splice(index, 1)
})
},
"/flow-processedList-SubsidyDeclare": () => {
this.initSearchCondition()
this.init.flow_id1 = 108
this.searchCondList.forEach((cur, index) => {
if (cur.id === 'rewardType') this.searchCondList.splice(index, 1)
})
},
"/flow-myFlowList-SubsidyDeclare": () => {
this.initSearchCondition()
this.init.flow_id1 = 108
this.searchCondList.forEach((cur, index) => {
if (cur.id === 'rewardType') this.searchCondList.splice(index, 1)
})
},
// 学生奖励三项
"/flow-awaitDoneList-StudentBonusDeclare": () => {
this.initSearchCondition()
this.init.flow_id1 = 106;
this.searchCondList.forEach((cur, index) => {
if (cur.id === 'rewardType') this.searchCondList.splice(index, 1)
})
},
"/flow-processedList-StudentBonusDeclare": () => {
this.initSearchCondition()
this.init.flow_id1 = 106
this.searchCondList.forEach((cur, index) => {
if (cur.id === 'rewardType') this.searchCondList.splice(index, 1)
})
},
"/flow-myFlowList-StudentBonusDeclare": () => {
this.initSearchCondition()
this.init.flow_id1 = 106
this.searchCondList.forEach((cur, index) => {
if (cur.id === 'rewardType') this.searchCondList.splice(index, 1)
})
},
// 获奖材料三项
"/flow-awaitDoneList-Certificate": () => {
this.initSearchCondition()
this.init.flow_id1 = 103
this.searchCondList.forEach((cur, index) => {
if (cur.id === 'rewardType') this.searchCondList.splice(index, 1)
})
},
"/flow-processedList-Certificate": () => {
this.initSearchCondition()
this.init.flow_id1 = 103
this.searchCondList.forEach((cur, index) => {
if (cur.id === 'rewardType') this.searchCondList.splice(index, 1)
})
},
"/flow-myFlowList-Certificate": () => {
this.initSearchCondition()
this.init.flow_id1 = 103
this.searchCondList.forEach((cur, index) => {
if (cur.id === 'rewardType') this.searchCondList.splice(index, 1)
})
},
// 赛事审批三项
"/flow-awaitDoneList": () => {
this.initSearchCondition()
this.init.flow_id1 = 102
this.searchCondList.forEach((cur, index) => {
if (cur.id === 'rewardType') this.searchCondList.splice(index, 1)
})
},
"/flow-processedList": () => {
this.initSearchCondition()
this.init.flow_id1 = 102
this.searchCondList.forEach((cur, index) => {
if (cur.id === 'rewardType') this.searchCondList.splice(index, 1)
})
},
"/flow-myFlowList": () => {
this.initSearchCondition()
this.init.flow_id1 = 102
this.searchCondList.forEach((cur, index) => {
if (cur.id === 'rewardType') this.searchCondList.splice(index, 1)
})
},
} //基于路由获取流程id
}
},
updated() {
console.log("🚀1231🚀,")
},
watch: {
$route(to, from) {
//基于路由路径 获取flowid
this.init = {
action_type: '',
status: "",
key_name: '',
flow_name: '',
page_index: 1,
page_size: 10,
total: 0,
flow_id: '',
}
this.strategy[to.path]()
this.$refs.search.resetBt()
// this.GetFlowTaskList()
} else this.searchCondList.push({ }
id: 'flow_id', },
name: '流程类别', // 查询条件初始化
created() {
},
mounted() {
//基于路由路径 获取flowid
this.strategy[this.$route.path]()
this.GetFlowTaskList()
hook.storageAddEventListener(async () => {
await this.GetFlowTaskList()
})
// // 监听storage事件,当主页面修改数据时,触发该事件
// window.addEventListener('storage', (event) => {
// if (event.key === 'updataEvent' && event.newValue === 'getDataEvent') {
// //刷新主窗口
// // 执行你的逻辑
// // 重置存储的值,以便下次触发事件
// localStorage.setItem('updataEvent', '');
// this.GetFlowTaskList()
// }
// });
this.GetFlowIdSelect()
},
methods: {
deleteSearchArrayData(key) {
//删除查询下拉框数据
this.searchCondList.forEach((cur, index) => {
if (cur.id === key) this.searchCondList.splice(index, 1)
})
},
initSearchCondition() {
//初始化查询条件
this.searchCondList = [
{
id: 'key_name',
name: '姓名或工号',
type: 'input',
show: true,
optList: []
},
{
id: 'flow_name',
name: '赛事名称',
type: 'input',
show: true,
optList: []
},
{
id: 'status',
name: '流程状态',
type: 'select',
show: true,
optList: [{
label: '草稿',
value: 0,
},
{
label: '运行中',
value: 1,
},
{
label: '已结束',
value: 2,
},]
},
{
id: 'action_type',
name: '操作类型',
type: 'select', type: 'select',
show: true, show: true,
optList: [ optList: [
{ {
label: '学生流程', value: 1,
value: 102, label: '发送'
}, },
{ {
label: '教师流程', value: 2,
value: 110, label: '退回'
},
{
value: 4,
label: '结束'
},
{
value: 5,
label: '取消'
},
{
value: 6,
label: '退回到发起人'
} }
] ]
}) },
{
},
"/flow-processedList": () => {
this.init.flow_id1 = 102
if (this.searchCondList.map(cur => cur.id).includes('flow_id')) {
} else this.searchCondList.push({
id: 'flow_id', id: 'flow_id',
name: '流程类别', name: '流程类别',
type: 'select', type: 'select',
...@@ -521,226 +752,175 @@ export default { ...@@ -521,226 +752,175 @@ export default {
value: 110, value: 110,
} }
] ]
}) },
}, {
"/flow-myFlowList": () => { id: 'rewardType',
this.init.flow_id1 = 102 name: '师生奖励类别',
if (this.searchCondList.map(cur => cur.id).includes('flow_id')) {
} else this.searchCondList.push({
id: 'flow_id',
name: '流程类别',
type: 'select', type: 'select',
show: true, show: true,
optList: [ optList: [
{ {
label: '学生流程', label: '教师奖励',
value: 102, value: 107,
}, },
{ {
label: '教师流程', label: '学生奖励',
value: 110, value: 106,
} },
] ]
}) },
}, ]
} //基于路由获取流程id },
} cssearch(val) {
},
updated() { // 搜索
console.log("🚀1231🚀,") if (val.rewardType) {
}, // this.strategy[this.$route.path]()
watch: { this.init = {
$route(to, from) { ...this.init, ...val, flow_id: val.rewardType
//基于路由路径 获取flowid }
this.init = { this.init.flow_id1 = this.init.flow_id
action_type: '', } else {
status: "", this.strategy[this.$route.path]()
key_name: '', this.init = {
flow_name: '', ...this.init, ...val, flow_id: val.flow_id ? val.flow_id : this.init.flow_id1
page_index: 1, }
page_size: 10, this.init.flow_id1 = this.init.flow_id
total: 0, }
flow_id: '', this.search()
} },
this.strategy[to.path]() csreset() {
this.$refs.search.resetBt() // 重置
this.init = {
// this.GetFlowTaskList() action_type: '',
status: "",
} key_name: '',
}, flow_name: '',
// 查询条件初始化 page_index: 1,
created() { page_size: 10,
total: 0,
}, flow_id: '',
mounted() { }
this.strategy[this.$route.path]()
//基于路由路径 获取flowid this.initData()
},
this.strategy[this.$route.path]() getFlowId() {
this.GetFlowTaskList() //基于路由获取流程id
hook.storageAddEventListener(async () => {
await this.GetFlowTaskList()
})
// // 监听storage事件,当主页面修改数据时,触发该事件
// window.addEventListener('storage', (event) => {
// if (event.key === 'updataEvent' && event.newValue === 'getDataEvent') {
// //刷新主窗口
// // 执行你的逻辑
// // 重置存储的值,以便下次触发事件
// localStorage.setItem('updataEvent', '');
// this.GetFlowTaskList()
// }
// });
this.GetFlowIdSelect()
},
methods: {
cssearch(val) {
console.log("🚀🚀1111🚀,", val.flow_id)
// 搜索
this.strategy[this.$route.path]()
this.init = {
...this.init, ...val, flow_id: val.flow_id ? val.flow_id : this.init.flow_id1
}
this.init.flow_id1 = this.init.flow_id
// if (this.init.flow_id === void 0) this.strategy[this.$route.path]()
// else this.init.flow_id1 = val.flow_id
console.log(this.init.flow_id1, "🚀🚀🚀,", val.flow_id)
this.search()
},
csreset() {
// 重置
this.init = {
action_type: '',
status: "",
key_name: '',
flow_name: '',
page_index: 1,
page_size: 10,
total: 0,
flow_id: '',
}
this.strategy[this.$route.path]()
this.initData()
},
getFlowId() {
//基于路由获取流程id
this.strategy[this.$route.path]() this.strategy[this.$route.path]()
}, },
initData() { initData() {
this.getFlowId() this.getFlowId()
this.init.status1 = this.init.status = '' this.init.status1 = this.init.status = ''
this.init.key_name1 = this.init.key_name = '' this.init.key_name1 = this.init.key_name = ''
this.init.action_type1 = this.init.action_type = '' this.init.action_type1 = this.init.action_type = ''
this.init.flow_name1 = this.init.flow_name = '' this.init.flow_name1 = this.init.flow_name = ''
// this.init.flow_id1 = this.init.flow_id // this.init.flow_id1 = this.init.flow_id
this.GetFlowTaskList()
},
search() {
// this.getFlowId()
this.init.status1 = this.init.status
this.init.key_name1 = this.init.key_name
this.init.action_type1 = this.init.action_type
// this.init.flow_id1 = this.init.flow_id
this.init.flow_name1 = this.init.flow_name
this.GetFlowTaskList()
},
onSelectionChange(selection) {
let array = []
selection.map((cur) => {
array.push(cur.runid)
})
this.batApprovalArray = array
},
batApproval() {
//批量审批流程
hook.publicConfirm(() => hook.myEncapsulationFunction(async () => {
this.$refs.batApproval.load = true
const res = await api.FlowApprovalBatch({runid_list: this.batApprovalArray})
this.$refs.batApproval.load = false
this.GetFlowTaskList() this.GetFlowTaskList()
// if (res.code === 1) this.GetFlowTaskList() },
return res search() {
})) // this.getFlowId()
},
flowSelectOnChnage(e) { this.init.status1 = this.init.status
this.init.flow_id = e this.init.key_name1 = this.init.key_name
this.GetFlowTaskList() this.init.action_type1 = this.init.action_type
}, // this.init.flow_id1 = this.init.flow_id
GetFlowIdSelect() { this.init.flow_name1 = this.init.flow_name
hook.getInitListRequest(() => { this.GetFlowTaskList()
api.GetFlowIdSelect().then((res) => { },
res.response.map((cur, index) => { onSelectionChange(selection) {
if (cur.id === '102') { let array = []
res.response.unshift(cur) selection.map((cur) => {
res.response.splice(index + 1, 1) array.push(cur.runid)
} })
this.batApprovalArray = array
},
batApproval() {
//批量审批流程
hook.publicConfirm(() => hook.myEncapsulationFunction(async () => {
this.$refs.batApproval.load = true
const res = await api.FlowApprovalBatch({runid_list: this.batApprovalArray})
this.$refs.batApproval.load = false
this.GetFlowTaskList()
// if (res.code === 1) this.GetFlowTaskList()
return res
}))
},
flowSelectOnChnage(e) {
this.init.flow_id = e
this.GetFlowTaskList()
},
GetFlowIdSelect() {
hook.getInitListRequest(() => {
api.GetFlowIdSelect().then((res) => {
res.response.map((cur, index) => {
if (cur.id === '102') {
res.response.unshift(cur)
res.response.splice(index + 1, 1)
}
})
this.flowSelect = res.response
}) })
this.flowSelect = res.response
}) })
}) },
}, // 查询
// 查询 async GetFlowTaskList() {
async GetFlowTaskList() { console.log("🚀🚀🚀,", this.init.flow_id1)
console.log("🚀🚀🚀,", this.init.flow_id1) this.loading = true
this.loading = true let data = {
let data = { page_index: this.init.page_index,
page_index: this.init.page_index, page_size: this.init.page_size,
page_size: this.init.page_size, flow_id: this.init.flow_id1,
flow_id: this.init.flow_id1, key_name: this.init.key_name1,
key_name: this.init.key_name1, action_type: this.init.action_type1,
action_type: this.init.action_type1, status: this.init.status1,
status: this.init.status1, flow_name: this.init.flow_name1,
flow_name: this.init.flow_name1,
}
const res = await api.GetFlowTaskList(data)
this.init.total = res.response.data_count
this.tableData = res.response.data
this.loading = false
},
// 新增
add() {
this.$refs.addEdit.add()
},
// 修改
approvalLisFun(row) {
this.$router.push({
name: 'awaitDoneInformation',
query: {
runid: row.runid,
form_name: row.form_name,
} }
}) const res = await api.GetFlowTaskList(data)
// window.open(url.href, '_blank') this.init.total = res.response.data_count
// this.approvalDrawer = true this.tableData = res.response.data
console.log("🚀🚀🚀,", row) this.loading = false
}, },
// 删除 // 新增
del(row) { add() {
console.log('删除'); this.$refs.addEdit.add()
this.$Message.info('删除成功'); },
}, // 修改
// 取消删除 approvalLisFun(row) {
cancel() { this.$router.push({
this.$Message.info('You click cancel'); name: 'awaitDoneInformation',
}, query: {
runid: row.runid,
form_name: row.form_name,
}
})
// window.open(url.href, '_blank')
// this.approvalDrawer = true
console.log("🚀🚀🚀,", row)
},
// 删除
del(row) {
console.log('删除');
this.$Message.info('删除成功');
},
// 取消删除
cancel() {
this.$Message.info('You click cancel');
},
// 切换第几页 // 切换第几页
handleChangePage(pageNumber) { handleChangePage(pageNumber) {
this.init.page_index = pageNumber this.init.page_index = pageNumber
this.GetFlowTaskList() this.GetFlowTaskList()
}, },
// 切换每页条数 // 切换每页条数
handleChangePageSize(size) { handleChangePageSize(size) {
this.init.page_size = size this.init.page_size = size
this.GetFlowTaskList() this.GetFlowTaskList()
}, },
}
} }
}
</script> </script>
...@@ -81,6 +81,7 @@ ...@@ -81,6 +81,7 @@
:labelWidth="120" :labelWidth="120"
@onSubmit="cssearch" @onSubmit="cssearch"
@onReset="csreset" @onReset="csreset"
:params="init"
></cs-search-cond-form> ></cs-search-cond-form>
<!-- <cs-button ref="batApproval" cs-type="warning" cs-style="" style="margin-left: 1vw;"--> <!-- <cs-button ref="batApproval" cs-type="warning" cs-style="" style="margin-left: 1vw;"-->
<!-- :cs-click="batApproval"--> <!-- :cs-click="batApproval"-->
...@@ -207,357 +208,565 @@ ...@@ -207,357 +208,565 @@
</template> </template>
<script> <script>
import * as hook from '../../hook' import * as hook from '../../hook'
import * as api from '../../api/requestUtils' import * as api from '../../api/requestUtils'
import {publicState} from "@/configState"; import {publicState} from "@/configState";
import router from "@/router"; import router from "@/router";
export default { export default {
name: 'list', name: 'list',
computed: { computed: {
publicState() { publicState() {
return publicState return publicState
} }
}, },
data() { data() {
return { return {
// 搜索项 // 搜索项
searchCondList: [ searchCondList: [
{ {
id: 'key_name', id: 'key_name',
name: '姓名或工号', name: '姓名或工号',
type: 'input', type: 'input',
show: true, show: true,
optList: [] optList: []
},
{
id: 'flow_name',
name: '赛事名称',
type: 'input',
show: true,
optList: []
},
{
id: 'status',
name: '流程状态',
type: 'select',
show: true,
optList: [{
label: '草稿',
value: 0,
}, },
{ {
label: '运行中', id: 'flow_name',
value: 1, name: '赛事名称',
type: 'input',
show: true,
optList: []
},
{
id: 'status',
name: '流程状态',
type: 'select',
show: true,
optList: [{
label: '草稿',
value: 0,
}, },
{ {
label: '已结束', label: '运行中',
value: 2, value: 1,
},] },
}, {
{ label: '已结束',
id: 'action_type', value: 2,
name: '操作类型', },]
type: 'select', },
show: true, {
optList: [{ id: 'action_type',
name: '操作类型',
type: 'select',
show: true,
optList: [
{
value: 1,
label: '发送'
},
{
value: 2,
label: '退回'
},
{
value: 4,
label: '结束'
},
{
value: 5,
label: '取消'
},
{
value: 6,
label: '退回到发起人'
}
]
},
{
id: 'flow_id',
name: '流程类别',
type: 'select',
show: true,
optList: [
{
label: '学生流程',
value: 102,
},
{
label: '教师流程',
value: 110,
}
]
},
{
id: 'rewardType',
name: '师生奖励类别',
type: 'select',
show: true,
optList: [
{
label: '教师奖励',
value: 107,
},
{
label: '学生奖励',
value: 106,
},
]
},
],
flowSelect: [],
ddd: '',
ccc: '',
bbb: '',
aaa: '',
flowStateArray: [
{
name: '草稿',
value: 0,
},
{
name: '运行中',
value: 1, value: 1,
label: '发送'
}, },
{ {
value: 2, name: '已结束',
label: '退回' value: 2,
}, },
{ ],
value: 4, formData: {
label: '结束' name: '',
}, url: '',
{ owner: '',
value: 5, type: '',
label: '取消' approver: '',
}, date: '',
{ desc: ''
value: 6, },
label: '退回到发起人' approvalDrawer: false,
},] formValidate: {
}, "runid": "",
"title": "",
"flow_name": "",
"flow_id": "",
"status": 0,
"action_type": 0,
"starter": "",
"starter_name": "",
"start_time": "",
"current_node_id": "",
"current_node_name": "",
"todo": "",
"partcipant": "",
"modifyby": "",
"modifytime": "",
"form_id": "",
"form_name": ""
},
grid: {
xl: 8,
lg: 12,
md: 24,
sm: 24,
xs: 24
},
columns: [
{
title: '序号',
type: 'index',
], show: true,
flowSelect: [], width: 80
ddd: '', },
ccc: '', {
bbb: '', title: '赛事名称',
aaa: '', key: 'title',
flowStateArray: [
{
name: '草稿',
value: 0,
},
{
name: '运行中',
value: 1,
},
{
name: '已结束',
value: 2,
},
],
formData: {
name: '',
url: '',
owner: '',
type: '',
approver: '',
date: '',
desc: ''
},
approvalDrawer: false,
formValidate: {
"runid": "",
"title": "",
"flow_name": "",
"flow_id": "",
"status": 0,
"action_type": 0,
"starter": "",
"starter_name": "",
"start_time": "",
"current_node_id": "",
"current_node_name": "",
"todo": "",
"partcipant": "",
"modifyby": "",
"modifytime": "",
"form_id": "",
"form_name": ""
},
grid: {
xl: 8,
lg: 12,
md: 24,
sm: 24,
xs: 24
},
columns: [
{
title: '序号',
type: 'index',
show: true, show: true,
width: 80 minWidth: 300,
}, },
{ {
title: '赛事名称', title: '流程名称',
key: 'title', key: 'flow_name',
show: true, show: true,
minWidth: 300, minWidth: 150,
}, },
{ {
title: '流程名称', title: '流程状态',
key: 'flow_name', slot: 'status',
show: true, show: true,
minWidth: 150, minWidth: 100,
}, },
{ {
title: '流程状态', title: '操作类型',
slot: 'status', slot: 'action_type',
show: true, show: true,
minWidth: 100, minWidth: 120,
}, },
{ {
title: '操作类型', title: '当前节点名称',
slot: 'action_type', key: 'current_node_name',
show: true, show: true,
minWidth: 120, minWidth: 200,
}, },
{ {
title: '当前节点名称', title: '当前节点待办人员',
key: 'current_node_name', slot: 'todo',
show: true, show: true,
minWidth: 200, minWidth: 200,
}, },
{ {
title: '当前节点待办人员', title: '参与人',
slot: 'todo', slot: 'partcipant',
show: true, show: true,
minWidth: 200, minWidth: 200,
}, },
{ {
title: '参与人', title: '发起人',
slot: 'partcipant', key: 'starter',
show: true, show: true,
minWidth: 200, minWidth: 150,
}, },
{ {
title: '发起人', title: '发起人姓名',
key: 'starter', key: 'starter_name',
show: true, show: true,
minWidth: 150, minWidth: 120,
}, },
{ {
title: '发起人姓名', title: '发起时间',
key: 'starter_name', key: 'start_time',
show: true, show: true,
minWidth: 120, minWidth: 150,
}, },
{
title: '发起时间',
key: 'start_time',
show: true,
minWidth: 150,
},
// {
// title: '修改人',
// key: 'modifyby',
//
// show: true,
// minWidth: 200,
// },
// {
// title: '修改时间',
// key: 'modifytime',
//
// show: true,
// minWidth: 200,
// },
// {
// title: '关联模块',
// key: 'form_name',
//
// show: true,
// minWidth: 200,
// },
{
title: '操作',
minWidth: 180,
fixed: 'right',
show: true,
slot: 'action'
}
],
// { loading: false,
// title: '修改人',
// key: 'modifyby', tableData: [
// {},
// show: true, ],
// minWidth: 200, tableSize: 'default',
// }, tableFullscreen: false,
// {
// title: '修改时间',
// key: 'modifytime',
//
// show: true,
// minWidth: 200,
// },
// {
// title: '关联模块',
// key: 'form_name',
//
// show: true,
// minWidth: 200,
// },
{
title: '操作',
minWidth: 180,
fixed: 'right',
show: true,
slot: 'action'
}
],
loading: false,
tableData: [
{},
],
tableSize: 'default',
tableFullscreen: false,
total: 0,
collapse: false,
params: {
pageIndex: 1,
pageSize: 10,
college_id: '',
grade: '',
classId_Name: '',
status: ''
},
init: {
flow_id: '',
action_type: '',
status: "",
key_name: '',
flow_name: '',
page_index: 1,
page_size: 10,
total: 0, total: 0,
}, collapse: false,
pageKey: 1, params: {
strategy: { pageIndex: 1,
// 教师工作量三项 pageSize: 10,
"/flow-awaitDoneList-WorkloadDeclare": () => { college_id: '',
this.init.flow_id1 = 109 grade: '',
}, classId_Name: '',
"/flow-processedList-WorkloadDeclare": () => { status: ''
this.init.flow_id1 = 109 },
}, init: {
"/flow-myFlowList-WorkloadDeclare": () => { flow_id: '',
this.init.flow_id1 = 109 action_type: '',
}, status: "",
// 教师奖励三项 key_name: '',
"/flow-awaitDoneList-TeacherBonusDeclare": () => { flow_name: '',
this.init.flow_id1 = 107 page_index: 1,
}, page_size: 10,
"/flow-processedList-TeacherBonusDeclare": () => { total: 0,
this.init.flow_id1 = 107 rewardType: '',
}, },
"/flow-myFlowList-TeacherBonusDeclare": () => { pageKey: 1,
this.init.flow_id1 = 107 strategy: {
}, // 师生奖励三项t
// 学生补助三项 "/flow-awaitDoneList-rewardForTeachersAndStudents": () => {
"/flow-awaitDoneList-SubsidyDeclare": () => { this.initSearchCondition()
this.init.flow_id1 = 108 this.init.flow_id1 = 107
}, this.init.flow_id = 107
"/flow-processedList-SubsidyDeclare": () => {
this.init.flow_id1 = 108 this.searchCondList.forEach((cur, index) => {
}, if (cur.id === 'flow_id') this.searchCondList.splice(index, 1)
"/flow-myFlowList-SubsidyDeclare": () => { })
this.init.flow_id1 = 108 },
}, "/flow-processedList-rewardForTeachersAndStudents": () => {
// 学生奖励三项 this.initSearchCondition()
"/flow-awaitDoneList-StudentBonusDeclare": () => { this.init.flow_id1 = 107
this.init.flow_id1 = 106 this.searchCondList.forEach((cur, index) => {
}, if (cur.id === 'flow_id') this.searchCondList.splice(index, 1)
"/flow-processedList-StudentBonusDeclare": () => { })
this.init.flow_id1 = 106 },
}, "/flow-myFlowList-rewardForTeachersAndStudents": () => {
"/flow-myFlowList-StudentBonusDeclare": () => { this.initSearchCondition()
this.init.flow_id1 = 106 this.init.flow_id1 = 107
}, this.searchCondList.forEach((cur, index) => {
// 获奖材料三项 if (cur.id === 'flow_id') this.searchCondList.splice(index, 1)
"/flow-awaitDoneList-Certificate": () => { })
this.init.flow_id1 = 103 },
}, // 教师工作量三项
"/flow-processedList-Certificate": () => { "/flow-awaitDoneList-WorkloadDeclare": () => {
this.init.flow_id1 = 103 this.initSearchCondition()
}, this.init.flow_id1 = 109
"/flow-myFlowList-Certificate": () => { this.searchCondList.forEach((cur, index) => {
this.init.flow_id1 = 103 if (cur.id === 'rewardType') this.searchCondList.splice(index, 1)
}, })
// 赛事审批三项 },
// 赛事审批三项 "/flow-processedList-WorkloadDeclare": () => {
"/flow-awaitDoneList": () => { this.initSearchCondition()
this.init.flow_id1 = 102 this.init.flow_id1 = 109
if (this.searchCondList.map(cur => cur.id).includes('flow_id')) { this.searchCondList.forEach((cur, index) => {
if (cur.id === 'rewardType') this.searchCondList.splice(index, 1)
})
},
"/flow-myFlowList-WorkloadDeclare": () => {
this.initSearchCondition()
this.init.flow_id1 = 109
this.searchCondList.forEach((cur, index) => {
if (cur.id === 'rewardType') this.searchCondList.splice(index, 1)
})
},
// 教师奖励三项
"/flow-awaitDoneList-TeacherBonusDeclare": () => {
this.initSearchCondition()
this.init.flow_id1 = 107
this.searchCondList.forEach((cur, index) => {
if (cur.id === 'rewardType') this.searchCondList.splice(index, 1)
})
},
"/flow-processedList-TeacherBonusDeclare": () => {
this.initSearchCondition()
this.init.flow_id1 = 107
this.searchCondList.forEach((cur, index) => {
if (cur.id === 'rewardType') this.searchCondList.splice(index, 1)
})
},
"/flow-myFlowList-TeacherBonusDeclare": () => {
this.initSearchCondition()
this.init.flow_id1 = 107
this.searchCondList.forEach((cur, index) => {
if (cur.id === 'rewardType') this.searchCondList.splice(index, 1)
})
},
// 学生补助三项
"/flow-awaitDoneList-SubsidyDeclare": () => {
this.initSearchCondition()
this.init.flow_id1 = 108
this.searchCondList.forEach((cur, index) => {
if (cur.id === 'rewardType') this.searchCondList.splice(index, 1)
})
},
"/flow-processedList-SubsidyDeclare": () => {
this.initSearchCondition()
this.init.flow_id1 = 108
this.searchCondList.forEach((cur, index) => {
if (cur.id === 'rewardType') this.searchCondList.splice(index, 1)
})
},
"/flow-myFlowList-SubsidyDeclare": () => {
this.initSearchCondition()
this.init.flow_id1 = 108
this.searchCondList.forEach((cur, index) => {
if (cur.id === 'rewardType') this.searchCondList.splice(index, 1)
})
},
// 学生奖励三项
"/flow-awaitDoneList-StudentBonusDeclare": () => {
this.initSearchCondition()
this.init.flow_id1 = 106;
this.searchCondList.forEach((cur, index) => {
if (cur.id === 'rewardType') this.searchCondList.splice(index, 1)
})
},
"/flow-processedList-StudentBonusDeclare": () => {
this.initSearchCondition()
this.init.flow_id1 = 106
this.searchCondList.forEach((cur, index) => {
if (cur.id === 'rewardType') this.searchCondList.splice(index, 1)
})
},
"/flow-myFlowList-StudentBonusDeclare": () => {
this.initSearchCondition()
this.init.flow_id1 = 106
this.searchCondList.forEach((cur, index) => {
if (cur.id === 'rewardType') this.searchCondList.splice(index, 1)
})
},
// 获奖材料三项
"/flow-awaitDoneList-Certificate": () => {
this.initSearchCondition()
this.init.flow_id1 = 103
this.searchCondList.forEach((cur, index) => {
if (cur.id === 'rewardType') this.searchCondList.splice(index, 1)
})
},
"/flow-processedList-Certificate": () => {
this.initSearchCondition()
this.init.flow_id1 = 103
this.searchCondList.forEach((cur, index) => {
if (cur.id === 'rewardType') this.searchCondList.splice(index, 1)
})
},
"/flow-myFlowList-Certificate": () => {
this.initSearchCondition()
this.init.flow_id1 = 103
this.searchCondList.forEach((cur, index) => {
if (cur.id === 'rewardType') this.searchCondList.splice(index, 1)
})
},
// 赛事审批三项
"/flow-awaitDoneList": () => {
this.initSearchCondition()
this.init.flow_id1 = 102
this.searchCondList.forEach((cur, index) => {
if (cur.id === 'rewardType') this.searchCondList.splice(index, 1)
})
},
"/flow-processedList": () => {
this.initSearchCondition()
this.init.flow_id1 = 102
this.searchCondList.forEach((cur, index) => {
if (cur.id === 'rewardType') this.searchCondList.splice(index, 1)
})
},
"/flow-myFlowList": () => {
this.initSearchCondition()
this.init.flow_id1 = 102
this.searchCondList.forEach((cur, index) => {
if (cur.id === 'rewardType') this.searchCondList.splice(index, 1)
})
},
} //基于路由获取流程id
}
},
// 查询条件初始化
created() {
} else this.searchCondList.push({ },
id: 'flow_id', watch: {
name: '流程类别', $route(to, from) {
//基于路由路径 获取flowid
this.init = {
action_type: '',
status: "",
key_name: '',
flow_name: '',
page_index: 1,
page_size: 10,
total: 0,
flow_id: '',
}
this.strategy[to.path]()
this.$refs.search.resetBt()
// this.GetFlowTaskList()
}
},
mounted() {
//基于路由路径 获取flowid
this.strategy[this.$route.path]()
this.GetFlowTaskList()
this.GetFlowIdSelect()
},
methods: {
initSearchCondition() {
//初始化查询条件
this.searchCondList = [
{
id: 'key_name',
name: '姓名或工号',
type: 'input',
show: true,
optList: []
},
{
id: 'flow_name',
name: '赛事名称',
type: 'input',
show: true,
optList: []
},
{
id: 'status',
name: '流程状态',
type: 'select',
show: true,
optList: [{
label: '草稿',
value: 0,
},
{
label: '运行中',
value: 1,
},
{
label: '已结束',
value: 2,
},]
},
{
id: 'action_type',
name: '操作类型',
type: 'select', type: 'select',
show: true, show: true,
optList: [ optList: [
{ {
label: '学生流程', value: 1,
value: 102, label: '发送'
}, },
{ {
label: '教师流程', value: 2,
value: 110, label: '退回'
},
{
value: 4,
label: '结束'
},
{
value: 5,
label: '取消'
},
{
value: 6,
label: '退回到发起人'
} }
] ]
}) },
{
},
"/flow-processedList": () => {
this.init.flow_id1 = 102
if (this.searchCondList.map(cur => cur.id).includes('flow_id')) {
} else this.searchCondList.push({
id: 'flow_id', id: 'flow_id',
name: '流程类别', name: '流程类别',
type: 'select', type: 'select',
...@@ -572,187 +781,158 @@ export default { ...@@ -572,187 +781,158 @@ export default {
value: 110, value: 110,
} }
] ]
}) },
}, {
"/flow-myFlowList": () => { id: 'rewardType',
this.init.flow_id1 = 102 name: '师生奖励类别',
if (this.searchCondList.map(cur => cur.id).includes('flow_id')) {
} else this.searchCondList.push({
id: 'flow_id',
name: '流程类别',
type: 'select', type: 'select',
show: true, show: true,
optList: [ optList: [
{ {
label: '学生流程', label: '教师奖励',
value: 102, value: 107,
}, },
{ {
label: '教师流程', label: '学生奖励',
value: 110, value: 106,
} },
] ]
}) },
}, ]
} //基于路由获取流程id },
} cssearch(val) {
},
// 查询条件初始化 if (val.rewardType) {
created() { // this.strategy[this.$route.path]()
this.init = {
}, ...this.init, ...val, flow_id: val.rewardType
watch: { }
$route(to, from) { this.init.flow_id1 = this.init.flow_id
//基于路由路径 获取flowid } else {
this.init = { this.strategy[this.$route.path]()
action_type: '', this.init = {
status: "", ...this.init, ...val, flow_id: val.flow_id ? val.flow_id : this.init.flow_id1
key_name: '', }
flow_name: '', this.init.flow_id1 = this.init.flow_id
page_index: 1, }
page_size: 10, // 搜索
total: 0,
flow_id: '',
}
this.strategy[to.path]()
this.$refs.search.resetBt()
// this.GetFlowTaskList()
} this.search()
}, },
mounted() { csreset() {
//基于路由路径 获取flowid // 重置
this.strategy[this.$route.path]() this.init = {
this.GetFlowTaskList() action_type: '',
this.GetFlowIdSelect() status: "",
}, key_name: '',
methods: { flow_name: '',
cssearch(val) { page_index: 1,
// 搜索 page_size: 10,
this.strategy[this.$route.path]() total: 0,
this.init = { flow_id: '',
...this.init, ...val, flow_id: val.flow_id ? val.flow_id : this.init.flow_id1 }
} this.strategy[this.$route.path]()
this.init.flow_id1 = this.init.flow_id this.initData()
// if (this.init.flow_id === void 0) this.strategy[this.$route.path]() },
// else this.init.flow_id1 = val.flow_id getFlowId() {
this.search() //基于路由获取流程id
},
csreset() {
// 重置
this.init = {
action_type: '',
status: "",
key_name: '',
flow_name: '',
page_index: 1,
page_size: 10,
total: 0,
flow_id: '',
}
this.strategy[this.$route.path]()
this.initData()
},
getFlowId() {
//基于路由获取流程id
this.strategy[this.$route.path]() this.strategy[this.$route.path]()
}, },
initData() { initData() {
this.getFlowId() this.getFlowId()
// this.$refs.initData.load = true // this.$refs.initData.load = true
this.init.status1 = this.init.status = '' this.init.status1 = this.init.status = ''
this.init.key_name1 = this.init.key_name = '' this.init.key_name1 = this.init.key_name = ''
this.init.action_type1 = this.init.action_type = '' this.init.action_type1 = this.init.action_type = ''
this.init.flow_name1 = this.init.flow_name = '' this.init.flow_name1 = this.init.flow_name = ''
this.GetFlowTaskList() this.GetFlowTaskList()
// this.$refs.initData.load = false // this.$refs.initData.load = false
}, },
search() { search() {
// this.$refs.search.load = true // this.$refs.search.load = true
this.init.status1 = this.init.status this.init.status1 = this.init.status
this.init.key_name1 = this.init.key_name this.init.key_name1 = this.init.key_name
this.init.action_type1 = this.init.action_type this.init.action_type1 = this.init.action_type
// this.init.flow_id1 = this.init.flow_id // this.init.flow_id1 = this.init.flow_id
this.init.flow_name1 = this.init.flow_name this.init.flow_name1 = this.init.flow_name
this.GetFlowTaskList() this.GetFlowTaskList()
// this.$refs.search.load = false // this.$refs.search.load = false
}, },
GetFlowIdSelect() { GetFlowIdSelect() {
hook.getInitListRequest(() => { hook.getInitListRequest(() => {
api.GetFlowIdSelect().then((res) => { api.GetFlowIdSelect().then((res) => {
res.response.map((cur, index) => { res.response.map((cur, index) => {
if (cur.id === '102') { if (cur.id === '102') {
res.response.unshift(cur) res.response.unshift(cur)
res.response.splice(index + 1, 1) res.response.splice(index + 1, 1)
} }
})
this.flowSelect = res.response
}) })
this.flowSelect = res.response
}) })
}) },
}, // 查询
// 查询 async GetFlowTaskList() {
async GetFlowTaskList() { this.loading = true
this.loading = true let data = {
let data = { page_index: this.init.page_index,
page_index: this.init.page_index, page_size: this.init.page_size,
page_size: this.init.page_size, flow_id: this.init.flow_id1,
flow_id: this.init.flow_id1, key_name: this.init.key_name1,
key_name: this.init.key_name1, action_type: this.init.action_type1,
action_type: this.init.action_type1, status: this.init.status1,
status: this.init.status1, flow_name: this.init.flow_name1,
flow_name: this.init.flow_name1,
}
const res = await api.GetAlreadyFlowTaskList(data)
this.init.total = res.response.data_count
this.tableData = res.response.data
this.loading = false
},
// 新增
add() {
this.$refs.addEdit.add()
},
// 修改
approvalLisFun(row) {
// const url =
this.$router.push({
name: 'awaitDoneInformation',
query: {
runid: row.runid,
form_name: row.form_name,
flowInfo: '流程详细信息'
} }
})
// window.open(url.href, '_blank')
// this.approvalDrawer = true
console.log("🚀🚀🚀,", row)
},
// 删除
del(row) {
console.log('删除');
this.$Message.info('删除成功');
},
// 取消删除
cancel() {
this.$Message.info('You click cancel');
},
// 切换第几页 const res = await api.GetAlreadyFlowTaskList(data)
handleChangePage(pageNumber) { this.init.total = res.response.data_count
this.init.page_index = pageNumber this.tableData = res.response.data
this.GetFlowTaskList() this.loading = false
}, },
// 切换每页条数 // 新增
handleChangePageSize(size) { add() {
this.init.page_size = size this.$refs.addEdit.add()
this.GetFlowTaskList() },
}, // 修改
approvalLisFun(row) {
// const url =
this.$router.push({
name: 'awaitDoneInformation',
query: {
runid: row.runid,
form_name: row.form_name,
flowInfo: '流程详细信息'
}
})
// window.open(url.href, '_blank')
// this.approvalDrawer = true
console.log("🚀🚀🚀,", row)
},
// 删除
del(row) {
console.log('删除');
this.$Message.info('删除成功');
},
// 取消删除
cancel() {
this.$Message.info('You click cancel');
},
// 切换第几页
handleChangePage(pageNumber) {
this.init.page_index = pageNumber
this.GetFlowTaskList()
},
// 切换每页条数
handleChangePageSize(size) {
this.init.page_size = size
this.GetFlowTaskList()
},
}
} }
}
</script> </script>
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
:labelWidth="120" :labelWidth="120"
@onSubmit="cssearch" @onSubmit="cssearch"
@onReset="csreset" @onReset="csreset"
:params="init"
></cs-search-cond-form> ></cs-search-cond-form>
<!-- <cs-button ref="batApproval" cs-type="warning" cs-style="" style="margin-left: 1vw;"--> <!-- <cs-button ref="batApproval" cs-type="warning" cs-style="" style="margin-left: 1vw;"-->
<!-- :cs-click="batApproval"--> <!-- :cs-click="batApproval"-->
...@@ -146,358 +147,565 @@ ...@@ -146,358 +147,565 @@
</template> </template>
<script> <script>
import * as hook from '../../hook' import * as hook from '../../hook'
import * as api from '../../api/requestUtils' import * as api from '../../api/requestUtils'
import {publicState} from "@/configState"; import {publicState} from "@/configState";
import aaa from './aaa.vue' import aaa from './aaa.vue'
export default { export default {
name: 'list', name: 'list',
computed: { computed: {
publicState() { publicState() {
return publicState return publicState
} }
}, },
components: { components: {
aaa, aaa,
}, },
data() { data() {
return { return {
// 搜索项 // 搜索项
searchCondList: [ searchCondList: [
{ {
id: 'key_name', id: 'key_name',
name: '姓名或工号', name: '姓名或工号',
type: 'input', type: 'input',
show: true, show: true,
optList: [] optList: []
},
{
id: 'flow_name',
name: '赛事名称',
type: 'input',
show: true,
optList: []
},
{
id: 'status',
name: '流程状态',
type: 'select',
show: true,
optList: [{
label: '草稿',
value: 0,
}, },
{ {
label: '运行中', id: 'flow_name',
value: 1, name: '赛事名称',
}, type: 'input',
{ show: true,
label: '已结束', optList: []
value: 2, },
},] {
}, id: 'status',
{ name: '流程状态',
id: 'action_type', type: 'select',
name: '操作类型', show: true,
type: 'select', optList: [{
show: true, label: '草稿',
optList: [ value: 0,
{
value: 1,
label: '发送'
},
{
value: 2,
label: '退回'
},
{
value: 4,
label: '结束'
},
{
value: 5,
label: '取消'
}, },
{ {
value: 6, label: '运行中',
label: '退回到发起人' value: 1,
} },
] {
}, label: '已结束',
value: 2,
},]
},
{
id: 'action_type',
name: '操作类型',
type: 'select',
show: true,
optList: [
{
value: 1,
label: '发送'
},
{
value: 2,
label: '退回'
},
{
value: 4,
label: '结束'
},
{
value: 5,
label: '取消'
},
{
value: 6,
label: '退回到发起人'
}
]
},
{
id: 'flow_id',
name: '流程类别',
type: 'select',
show: true,
optList: [
{
label: '学生流程',
value: 102,
},
{
label: '教师流程',
value: 110,
}
]
},
{
id: 'rewardType',
name: '师生奖励类别',
type: 'select',
show: true,
optList: [
{
label: '教师奖励',
value: 107,
},
{
label: '学生奖励',
value: 106,
},
]
},
],
flowSelect: [],
ddd: '',
ccc: '',
bbb: '',
aaa: '',
flowStateArray: [
{
name: '草稿',
value: 0,
},
{
name: '运行中',
value: 1,
},
{
name: '已结束',
value: 2,
},
],
cancelKey: 1,
formData: {
name: '',
url: '',
owner: '',
type: '',
approver: '',
date: '',
desc: ''
},
approvalDrawer: false,
formValidate: {
"runid": "",
"title": "",
"flow_name": "",
"flow_id": "",
"status": 0,
"action_type": 0,
"starter": "",
"starter_name": "",
"start_time": "",
"current_node_id": "",
"current_node_name": "",
"todo": "",
"partcipant": "",
"modifyby": "",
"modifytime": "",
"form_id": "",
"form_name": ""
},
grid: {
xl: 8,
lg: 12,
md: 24,
sm: 24,
xs: 24
},
columns: [
{
title: '序号',
type: 'index',
show: true,
width: 80
},
{
title: '赛事名称',
key: 'title',
show: true,
minWidth: 300,
},
{
title: '流程名称',
key: 'flow_name',
show: true,
minWidth: 150,
},
{
title: '流程状态',
slot: 'status',
show: true,
minWidth: 150,
},
{
title: '操作类型',
slot: 'action_type',
show: true,
minWidth: 150,
},
{
title: '当前节点名称',
key: 'current_node_name',
], show: true,
flowSelect: [], minWidth: 150,
ddd: '', },
ccc: '', {
bbb: '', title: '当前节点待办人员',
aaa: '', slot: 'todo',
flowStateArray: [
{
name: '草稿',
value: 0,
},
{
name: '运行中',
value: 1,
},
{
name: '已结束',
value: 2,
},
],
cancelKey: 1,
formData: {
name: '',
url: '',
owner: '',
type: '',
approver: '',
date: '',
desc: ''
},
approvalDrawer: false,
formValidate: {
"runid": "",
"title": "",
"flow_name": "",
"flow_id": "",
"status": 0,
"action_type": 0,
"starter": "",
"starter_name": "",
"start_time": "",
"current_node_id": "",
"current_node_name": "",
"todo": "",
"partcipant": "",
"modifyby": "",
"modifytime": "",
"form_id": "",
"form_name": ""
},
grid: {
xl: 8,
lg: 12,
md: 24,
sm: 24,
xs: 24
},
columns: [
{
title: '序号',
type: 'index',
show: true,
width: 80
},
{
title: '赛事名称',
key: 'title',
show: true,
minWidth: 300,
},
{
title: '流程名称',
key: 'flow_name',
show: true,
minWidth: 150,
},
{
title: '流程状态',
slot: 'status',
show: true,
minWidth: 150,
},
{
title: '操作类型',
slot: 'action_type',
show: true,
minWidth: 150,
},
{
title: '当前节点名称',
key: 'current_node_name',
show: true, show: true,
minWidth: 150, minWidth: 200,
}, },
{
title: '当前节点待办人员',
slot: 'todo',
show: true, {
minWidth: 200, title: '参与人',
}, slot: 'partcipant',
{ show: true,
title: '参与人', minWidth: 200,
slot: 'partcipant', },
{
title: '发起人',
key: 'starter',
show: true, show: true,
minWidth: 200, minWidth: 150,
}, },
{ {
title: '发起人', title: '发起人姓名',
key: 'starter', key: 'starter_name',
show: true, show: true,
minWidth: 150, minWidth: 120,
}, },
{ {
title: '发起人姓名', title: '发起时间',
key: 'starter_name', key: 'start_time',
show: true, show: true,
minWidth: 120, minWidth: 150,
}, },
{
title: '发起时间',
key: 'start_time',
show: true,
minWidth: 150,
},
// {
// title: '修改人',
// key: 'modifyby',
//
// show: true,
// minWidth: 200,
// },
// {
// title: '修改时间',
// key: 'modifytime',
//
// show: true,
// minWidth: 200,
// },
// {
// title: '关联模块',
// key: 'form_name',
//
// show: true,
// minWidth: 200,
// },
{
title: '操作',
minWidth: 180,
fixed: 'right',
show: true,
slot: 'action'
}
],
// { loading: false,
// title: '修改人',
// key: 'modifyby', tableData: [
// {},
// show: true, ],
// minWidth: 200, tableSize: 'default',
// }, tableFullscreen: false,
// {
// title: '修改时间',
// key: 'modifytime',
//
// show: true,
// minWidth: 200,
// },
// {
// title: '关联模块',
// key: 'form_name',
//
// show: true,
// minWidth: 200,
// },
{
title: '操作',
minWidth: 180,
fixed: 'right',
show: true,
slot: 'action'
}
],
loading: false,
tableData: [
{},
],
tableSize: 'default',
tableFullscreen: false,
total: 0,
collapse: false,
params: {
pageIndex: 1,
pageSize: 10,
college_id: '',
grade: '',
classId_Name: '',
status: ''
},
init: {
flow_id: '',
action_type: '',
status: "",
key_name: '',
flow_name: '',
page_index: 1,
page_size: 10,
total: 0, total: 0,
}, collapse: false,
pageKey: 1, params: {
strategy: { pageIndex: 1,
// 教师工作量三项 pageSize: 10,
"/flow-awaitDoneList-WorkloadDeclare": () => { college_id: '',
this.init.flow_id1 = 109 grade: '',
}, classId_Name: '',
"/flow-processedList-WorkloadDeclare": () => { status: ''
this.init.flow_id1 = 109 },
}, init: {
"/flow-myFlowList-WorkloadDeclare": () => { flow_id: '',
this.init.flow_id1 = 109 action_type: '',
}, status: "",
// 教师奖励三项 key_name: '',
"/flow-awaitDoneList-TeacherBonusDeclare": () => { flow_name: '',
this.init.flow_id1 = 107 page_index: 1,
}, page_size: 10,
"/flow-processedList-TeacherBonusDeclare": () => { total: 0,
this.init.flow_id1 = 107 rewardType: '',
}, },
"/flow-myFlowList-TeacherBonusDeclare": () => { pageKey: 1,
this.init.flow_id1 = 107 strategy: {
}, // 师生奖励三项t
// 学生补助三项 "/flow-awaitDoneList-rewardForTeachersAndStudents": () => {
"/flow-awaitDoneList-SubsidyDeclare": () => { this.initSearchCondition();
this.init.flow_id1 = 108 this.init.flow_id1 = 107;
}, this.$nextTick(() => this.init.rewardType = 107)
"/flow-processedList-SubsidyDeclare": () => { this.searchCondList.forEach((cur, index) => {
this.init.flow_id1 = 108 if (cur.id === 'flow_id') this.searchCondList.splice(index, 1)
}, })
"/flow-myFlowList-SubsidyDeclare": () => { },
this.init.flow_id1 = 108 "/flow-processedList-rewardForTeachersAndStudents": () => {
}, this.initSearchCondition()
// 学生奖励三项 this.init.flow_id1 = 107;
"/flow-awaitDoneList-StudentBonusDeclare": () => { this.init.rewardType = 107;
this.init.flow_id1 = 106 this.searchCondList.forEach((cur, index) => {
}, if (cur.id === 'flow_id') this.searchCondList.splice(index, 1)
"/flow-processedList-StudentBonusDeclare": () => { })
this.init.flow_id1 = 106 },
}, "/flow-myFlowList-rewardForTeachersAndStudents": () => {
"/flow-myFlowList-StudentBonusDeclare": () => { this.initSearchCondition()
this.init.flow_id1 = 106 this.init.flow_id1 = 107;
}, this.init.rewardType = 107;
// 获奖材料三项 this.searchCondList.forEach((cur, index) => {
"/flow-awaitDoneList-Certificate": () => { if (cur.id === 'flow_id') this.searchCondList.splice(index, 1)
this.init.flow_id1 = 103 })
}, },
"/flow-processedList-Certificate": () => { // 教师工作量三项
this.init.flow_id1 = 103 "/flow-awaitDoneList-WorkloadDeclare": () => {
}, this.initSearchCondition()
"/flow-myFlowList-Certificate": () => { this.init.flow_id1 = 109
this.init.flow_id1 = 103 this.searchCondList.forEach((cur, index) => {
}, if (cur.id === 'rewardType') this.searchCondList.splice(index, 1)
// 赛事审批三项 })
// 赛事审批三项 },
"/flow-awaitDoneList": () => { "/flow-processedList-WorkloadDeclare": () => {
this.init.flow_id1 = 102 this.initSearchCondition()
if (this.searchCondList.map(cur => cur.id).includes('flow_id')) { this.init.flow_id1 = 109
this.searchCondList.forEach((cur, index) => {
if (cur.id === 'rewardType') this.searchCondList.splice(index, 1)
})
},
"/flow-myFlowList-WorkloadDeclare": () => {
this.initSearchCondition()
this.init.flow_id1 = 109
this.searchCondList.forEach((cur, index) => {
if (cur.id === 'rewardType') this.searchCondList.splice(index, 1)
})
},
// 教师奖励三项
"/flow-awaitDoneList-TeacherBonusDeclare": () => {
this.initSearchCondition()
this.init.flow_id1 = 107
this.searchCondList.forEach((cur, index) => {
if (cur.id === 'rewardType') this.searchCondList.splice(index, 1)
})
},
"/flow-processedList-TeacherBonusDeclare": () => {
this.initSearchCondition()
this.init.flow_id1 = 107
this.searchCondList.forEach((cur, index) => {
if (cur.id === 'rewardType') this.searchCondList.splice(index, 1)
})
},
"/flow-myFlowList-TeacherBonusDeclare": () => {
this.initSearchCondition()
this.init.flow_id1 = 107
this.searchCondList.forEach((cur, index) => {
if (cur.id === 'rewardType') this.searchCondList.splice(index, 1)
})
},
// 学生补助三项
"/flow-awaitDoneList-SubsidyDeclare": () => {
this.initSearchCondition()
this.init.flow_id1 = 108
this.searchCondList.forEach((cur, index) => {
if (cur.id === 'rewardType') this.searchCondList.splice(index, 1)
})
},
"/flow-processedList-SubsidyDeclare": () => {
this.initSearchCondition()
this.init.flow_id1 = 108
this.searchCondList.forEach((cur, index) => {
if (cur.id === 'rewardType') this.searchCondList.splice(index, 1)
})
},
"/flow-myFlowList-SubsidyDeclare": () => {
this.initSearchCondition()
this.init.flow_id1 = 108
this.searchCondList.forEach((cur, index) => {
if (cur.id === 'rewardType') this.searchCondList.splice(index, 1)
})
},
// 学生奖励三项
"/flow-awaitDoneList-StudentBonusDeclare": () => {
this.initSearchCondition()
this.init.flow_id1 = 106;
this.searchCondList.forEach((cur, index) => {
if (cur.id === 'rewardType') this.searchCondList.splice(index, 1)
})
},
"/flow-processedList-StudentBonusDeclare": () => {
this.initSearchCondition()
this.init.flow_id1 = 106
this.searchCondList.forEach((cur, index) => {
if (cur.id === 'rewardType') this.searchCondList.splice(index, 1)
})
},
"/flow-myFlowList-StudentBonusDeclare": () => {
this.initSearchCondition()
this.init.flow_id1 = 106
this.searchCondList.forEach((cur, index) => {
if (cur.id === 'rewardType') this.searchCondList.splice(index, 1)
})
},
// 获奖材料三项
"/flow-awaitDoneList-Certificate": () => {
this.initSearchCondition()
this.init.flow_id1 = 103
this.searchCondList.forEach((cur, index) => {
if (cur.id === 'rewardType') this.searchCondList.splice(index, 1)
})
},
"/flow-processedList-Certificate": () => {
this.initSearchCondition()
this.init.flow_id1 = 103
this.searchCondList.forEach((cur, index) => {
if (cur.id === 'rewardType') this.searchCondList.splice(index, 1)
})
},
"/flow-myFlowList-Certificate": () => {
this.initSearchCondition()
this.init.flow_id1 = 103
this.searchCondList.forEach((cur, index) => {
if (cur.id === 'rewardType') this.searchCondList.splice(index, 1)
})
},
// 赛事审批三项
"/flow-awaitDoneList": () => {
this.initSearchCondition()
this.init.flow_id1 = 102
this.searchCondList.forEach((cur, index) => {
if (cur.id === 'rewardType') this.searchCondList.splice(index, 1)
})
},
"/flow-processedList": () => {
this.initSearchCondition()
this.init.flow_id1 = 102
this.searchCondList.forEach((cur, index) => {
if (cur.id === 'rewardType') this.searchCondList.splice(index, 1)
})
},
"/flow-myFlowList": () => {
this.initSearchCondition()
this.init.flow_id1 = 102
this.searchCondList.forEach((cur, index) => {
if (cur.id === 'rewardType') this.searchCondList.splice(index, 1)
})
},
} //基于路由获取流程id
}
},
// 查询条件初始化
created() {
} else this.searchCondList.push({ },
id: 'flow_id', watch: {
name: '流程类别', $route(to, from) {
//基于路由路径 获取flowid
this.init = {
action_type: '',
status: "",
key_name: '',
flow_name: '',
page_index: 1,
page_size: 10,
total: 0,
flow_id: '',
}
this.strategy[to.path]()
this.$refs.search.resetBt()
// this.GetFlowTaskList()
}
},
mounted() {
//基于路由获取流程id
this.strategy[this.$route.path]()
this.GetFlowTaskList()
this.GetFlowIdSelect()
},
methods: {
initSearchCondition() {
//初始化查询条件
this.searchCondList = [
{
id: 'key_name',
name: '姓名或工号',
type: 'input',
show: true,
optList: []
},
{
id: 'flow_name',
name: '赛事名称',
type: 'input',
show: true,
optList: []
},
{
id: 'status',
name: '流程状态',
type: 'select',
show: true,
optList: [{
label: '草稿',
value: 0,
},
{
label: '运行中',
value: 1,
},
{
label: '已结束',
value: 2,
},]
},
{
id: 'action_type',
name: '操作类型',
type: 'select', type: 'select',
show: true, show: true,
optList: [ optList: [
{ {
label: '学生流程', value: 1,
value: 102, label: '发送'
}, },
{ {
label: '教师流程', value: 2,
value: 110, label: '退回'
},
{
value: 4,
label: '结束'
},
{
value: 5,
label: '取消'
},
{
value: 6,
label: '退回到发起人'
} }
] ]
}) },
{
},
"/flow-processedList": () => {
this.init.flow_id1 = 102
if (this.searchCondList.map(cur => cur.id).includes('flow_id')) {
} else this.searchCondList.push({
id: 'flow_id', id: 'flow_id',
name: '流程类别', name: '流程类别',
type: 'select', type: 'select',
...@@ -512,197 +720,166 @@ export default { ...@@ -512,197 +720,166 @@ export default {
value: 110, value: 110,
} }
] ]
}) },
}, {
"/flow-myFlowList": () => { id: 'rewardType',
this.init.flow_id1 = 102 name: '师生奖励类别',
if (this.searchCondList.map(cur => cur.id).includes('flow_id')) {
} else this.searchCondList.push({
id: 'flow_id',
name: '流程类别',
type: 'select', type: 'select',
show: true, show: true,
optList: [ optList: [
{ {
label: '学生流程', label: '教师奖励',
value: 102, value: 107,
}, },
{ {
label: '教师流程', label: '学生奖励',
value: 110, value: 106,
} },
] ]
}) },
}, ]
} //基于路由获取流程id },
} cssearch(val) {
}, // 搜索
// 查询条件初始化 if (val.rewardType) {
created() { // this.strategy[this.$route.path]()
this.init = {
}, ...this.init, ...val, flow_id: val.rewardType
watch: { }
$route(to, from) { this.init.flow_id1 = this.init.flow_id
//基于路由路径 获取flowid } else {
this.init = { this.strategy[this.$route.path]()
action_type: '', this.init = {
status: "", ...this.init, ...val, flow_id: val.flow_id ? val.flow_id : this.init.flow_id1
key_name: '', }
flow_name: '', this.init.flow_id1 = this.init.flow_id
page_index: 1, }
page_size: 10, this.search()
total: 0, },
flow_id: '', csreset() {
} // 重置
this.strategy[to.path]() this.init = {
this.$refs.search.resetBt() action_type: '',
// this.GetFlowTaskList() status: "",
key_name: '',
flow_name: '',
page_index: 1,
page_size: 10,
total: 0,
flow_id: '',
}
this.strategy[this.$route.path]()
this.initData()
},
getFlowId() {
//基于路由获取流程id
this.strategy[this.$route.path]()
},
initData() {
this.getFlowId()
// this.$refs.initData.load = true
this.init.status1 = this.init.status = ''
this.init.key_name1 = this.init.key_name = ''
this.init.action_type1 = this.init.action_type = ''
this.init.flow_name1 = this.init.flow_name = ''
}
},
mounted() {
//基于路由获取流程id
this.strategy[this.$route.path]()
this.GetFlowTaskList()
this.GetFlowIdSelect()
},
methods: {
cssearch(val) {
// 搜索
this.strategy[this.$route.path]()
this.init = {
...this.init, ...val, flow_id: val.flow_id ? val.flow_id : this.init.flow_id1
}
this.init.flow_id1 = this.init.flow_id
// if (this.init.flow_id === void 0) this.strategy[this.$route.path]()
// else this.init.flow_id1 = val.flow_id
this.search()
},
csreset() {
// 重置
this.init = {
action_type: '',
status: "",
key_name: '',
flow_name: '',
page_index: 1,
page_size: 10,
total: 0,
flow_id: '',
}
this.strategy[this.$route.path]()
this.initData()
},
getFlowId() {
//基于路由获取流程id
this.strategy[this.$route.path]()
},
initData() {
this.getFlowId()
// this.$refs.initData.load = true
this.init.status1 = this.init.status = ''
this.init.key_name1 = this.init.key_name = ''
this.init.action_type1 = this.init.action_type = ''
this.init.flow_name1 = this.init.flow_name = ''
this.GetFlowTaskList()
// this.$refs.initData.load = false
},
search() {
// this.$refs.search.load = true
this.init.status1 = this.init.status
this.init.key_name1 = this.init.key_name
this.init.action_type1 = this.init.action_type
this.GetFlowTaskList() this.init.flow_name1 = this.init.flow_name
// this.$refs.initData.load = false this.GetFlowTaskList()
}, // this.$refs.search.load = false
search() {
// this.$refs.search.load = true
this.init.status1 = this.init.status
this.init.key_name1 = this.init.key_name
this.init.action_type1 = this.init.action_type
this.init.flow_name1 = this.init.flow_name },
this.GetFlowTaskList() GetFlowIdSelect() {
// this.$refs.search.load = false hook.getInitListRequest(() => {
api.GetFlowIdSelect().then((res) => {
}, res.response.map((cur, index) => {
GetFlowIdSelect() { if (cur.id === '102') {
hook.getInitListRequest(() => { res.response.unshift(cur)
api.GetFlowIdSelect().then((res) => { res.response.splice(index + 1, 1)
res.response.map((cur, index) => { }
if (cur.id === '102') { })
res.response.unshift(cur) this.flowSelect = res.response
res.response.splice(index + 1, 1)
}
}) })
this.flowSelect = res.response
}) })
}) },
}, // 查询
// 查询 async GetFlowTaskList() {
async GetFlowTaskList() { this.loading = true
this.loading = true let data = {
let data = { page_index: this.init.page_index,
page_index: this.init.page_index, page_size: this.init.page_size,
page_size: this.init.page_size, flow_id: this.init.flow_id1,
flow_id: this.init.flow_id1, key_name: this.init.key_name1,
key_name: this.init.key_name1, action_type: this.init.action_type1,
action_type: this.init.action_type1, status: this.init.status1,
status: this.init.status1, flow_name: this.init.flow_name1,
flow_name: this.init.flow_name1, }
} const res = await api.GetMyFlowTaskList(data)
const res = await api.GetMyFlowTaskList(data) this.init.total = res.response.data_count
this.init.total = res.response.data_count this.tableData = res.response.data
this.tableData = res.response.data this.loading = false
this.loading = false },
}, // 新增
// 新增 add() {
add() { this.$refs.addEdit.add()
this.$refs.addEdit.add() },
}, async flowCancel(row) {
async flowCancel(row) { hook.publicConfirm(async () => {
hook.publicConfirm(async () => { const res = await api.FlowCancel({runid: row.runid})
const res = await api.FlowCancel({runid: row.runid}) this.cancelKey++
this.cancelKey++ hook.publicMessage(res)
hook.publicMessage(res) await this.GetFlowTaskList()
await this.GetFlowTaskList()
}) })
}, },
// 修改 // 修改
approvalLisFun(row) { approvalLisFun(row) {
// const url = // const url =
this.$router.push({ this.$router.push({
name: 'awaitDoneInformation', name: 'awaitDoneInformation',
query: { query: {
runid: row.runid, runid: row.runid,
form_name: row.form_name, form_name: row.form_name,
flowInfo: '流程详细信息' flowInfo: '流程详细信息'
} }
}) })
// window.open(url.href, '_blank') // window.open(url.href, '_blank')
// this.approvalDrawer = true // this.approvalDrawer = true
console.log("🚀🚀🚀,", row) console.log("🚀🚀🚀,", row)
}, },
// 删除 // 删除
del(row) { del(row) {
console.log('删除'); console.log('删除');
this.$Message.info('删除成功'); this.$Message.info('删除成功');
}, },
// 取消删除 // 取消删除
cancel() { cancel() {
this.$Message.info('You click cancel'); this.$Message.info('You click cancel');
}, },
// 切换第几页 // 切换第几页
handleChangePage(pageNumber) { handleChangePage(pageNumber) {
this.init.page_index = pageNumber this.init.page_index = pageNumber
this.GetFlowTaskList() this.GetFlowTaskList()
}, },
// 切换每页条数 // 切换每页条数
handleChangePageSize(size) { handleChangePageSize(size) {
this.init.page_size = size this.init.page_size = size
this.GetFlowTaskList() this.GetFlowTaskList()
}, },
}
} }
}
</script> </script>
<style> <style>
.cancel { .cancel {
......
...@@ -216,5 +216,38 @@ export default { ...@@ -216,5 +216,38 @@ export default {
}, },
component: () => import('@/pages/flowAssemble/myFlow.vue') component: () => import('@/pages/flowAssemble/myFlow.vue')
}, },
/**师生奖励项列表 */
{
path: `flow-awaitDoneList-rewardForTeachersAndStudents`,
name: `flow-awaitDoneList-rewardForTeachersAndStudents`,
meta: {
...meta,
title: '待办列表',
closable: false
},
component: () => import('@/pages/flowAssemble/awaitDoneList.vue')
},
{
path: `flow-processedList-rewardForTeachersAndStudents`,
name: `flow-processedList-rewardForTeachersAndStudents`,
meta: {
...meta,
title: '已办流程',
closable: false
},
component: () => import('@/pages/flowAssemble/completeFlow.vue')
},
{
path: `flow-myFlowList-rewardForTeachersAndStudents`,
name: `flow-myFlowList-rewardForTeachersAndStudents`,
meta: {
...meta,
title: '我的流程',
closable: false
},
component: () => import('@/pages/flowAssemble/myFlow.vue')
},
] ]
}; };
Markdown 格式
0% or
您添加了 0 人 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册 或