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

优化报名表单、审批退回到申请人等

上级 d2b1f20c
流水线 #22978 已通过 ,包含阶段
in 50 second
.container[data-v-2ec05960]{height:100vh;width:100vw}.container .header[data-v-2ec05960]{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-2ec05960],.container .header .h_right[data-v-2ec05960]{width:20%;height:100%;background-color:#fff}.container .header .h_content[data-v-2ec05960]{width:60%;height:100%;display:flex;align-items:center;justify-content:center;background-color:#fff}.container .content[data-v-2ec05960]{width:100%;height:92%;align-content:flex-start;overflow-y:auto}.container .content .tableList[data-v-2ec05960],.container .content[data-v-2ec05960]{display:flex;flex-wrap:wrap;justify-content:center}.container .content .tableList .container1[data-v-2ec05960]{border-collapse:collapse;box-sizing:border-box;width:100%}.container .content .tableList .container1 .row[data-v-2ec05960]{width:100%;height:100%}.container .content .tableList .container1 .colTitle[data-v-2ec05960]{text-align:center;width:30%;height:50px}.container .content .tableList .container1 .colContent[data-v-2ec05960]{height:50px;text-align:center}.container .content .card[data-v-2ec05960]{padding:5px 5px}.container .content .teamInfo[data-v-2ec05960]{color:#1e93ff;cursor:pointer}.container .content .text[data-v-2ec05960]:hover{transform:scale(1.3)}.container .content .aText[data-v-2ec05960]:hover{transform:scale(1.2)}
\ No newline at end of file
.container[data-v-3c97c9f2]{height:100vh;width:100vw}.container .header[data-v-3c97c9f2]{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-3c97c9f2],.container .header .h_right[data-v-3c97c9f2]{width:20%;height:100%;background-color:#fff}.container .header .h_content[data-v-3c97c9f2]{width:60%;height:100%;display:flex;align-items:center;justify-content:center;background-color:#fff}.container .content[data-v-3c97c9f2]{width:100%;height:92%;align-content:flex-start;overflow-y:auto}.container .content .tableList[data-v-3c97c9f2],.container .content[data-v-3c97c9f2]{display:flex;flex-wrap:wrap;justify-content:center}.container .content .tableList .container1[data-v-3c97c9f2]{border-collapse:collapse;box-sizing:border-box;width:100%}.container .content .tableList .container1 .row[data-v-3c97c9f2]{width:100%;height:100%}.container .content .tableList .container1 .colTitle[data-v-3c97c9f2]{text-align:center;width:30%;height:50px}.container .content .tableList .container1 .colContent[data-v-3c97c9f2]{height:50px;text-align:center}.container .content .card[data-v-3c97c9f2]{padding:5px 5px}.container .content .teamInfo[data-v-3c97c9f2]{color:#1e93ff;cursor:pointer}.container .content .text[data-v-3c97c9f2]:hover{transform:scale(1.3)}.container .content .aText[data-v-3c97c9f2]:hover{transform:scale(1.2)}
\ No newline at end of file
[data-v-197bf149] .ivu-select-single .ivu-select-selection .ivu-select-placeholder{color:#515a6e}[data-v-197bf149] .ivu-select-dropdown{width:inherit;max-height:600px;overflow:auto;margin:5px 0;padding:5px 0;background-color:#fff;box-sizing:border-box;border-radius:4px;box-shadow:0 1px 6px rgba(0,0,0,.2);position:absolute;z-index:900}.filelist[data-v-197bf149]:hover{color:#1e93ff;background-color:#f7f7f7}.fileddelete[data-v-197bf149]:hover{color:red;transform:scale(1.5)}.competitionClassIcon{display:flex;align-items:center;cursor:pointer}.competitionClassIcon:hover{transform:scale(1.5);color:red}.container{overflow-y:auto;width:100%;//min-height:987px;display:flex;align-content:center;justify-content:center;flex-wrap:wrap}.Atext{float:right;margin-bottom:.7vw;margin-top:.7vw;font-size:20px}.Atext:hover{transform:scale(1.2)}
\ No newline at end of file
[data-v-44d069b4] .ivu-select-single .ivu-select-selection .ivu-select-placeholder{color:#515a6e}[data-v-44d069b4] .ivu-select-dropdown{width:inherit;max-height:600px;overflow:auto;margin:5px 0;padding:5px 0;background-color:#fff;box-sizing:border-box;border-radius:4px;box-shadow:0 1px 6px rgba(0,0,0,.2);position:absolute;z-index:900}.filelist[data-v-44d069b4]:hover{color:#1e93ff;background-color:#f7f7f7}.fileddelete[data-v-44d069b4]:hover{color:red;transform:scale(1.5)}.competitionClassIcon{display:flex;align-items:center;cursor:pointer}.competitionClassIcon:hover{transform:scale(1.5);color:red}.container{overflow-y:auto;width:100%;//min-height:987px;display:flex;align-content:center;justify-content:center;flex-wrap:wrap}.Atext{float:right;margin-bottom:.7vw;margin-top:.7vw;font-size:20px}.Atext:hover{transform:scale(1.2)}.tableList[data-v-534dfc90]{display:flex;justify-content:center;flex-wrap:wrap}.tableList .container1[data-v-534dfc90]{border-collapse:collapse}.tableList .container1 .row[data-v-534dfc90]{width:100%;height:100%}.tableList .container1 .colTitle[data-v-534dfc90]{text-align:center;width:200px;height:50px}.tableList .container1 .colContent[data-v-534dfc90]{width:500px;height:50px;text-align:center}.tableList .container1 .aText[data-v-534dfc90]:hover{transform:scale(1.2)}
\ 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.1af866c1.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.47171c21.js></script><script src=js/app.adbfae6b.js></script></body></html>
\ 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.1af866c1.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.2a0ddaa7.js></script><script src=js/app.adbfae6b.js></script></body></html>
\ No newline at end of file
因为 它太大了无法显示 源差异 。您可以改为 查看blob。
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0b899d19"],{bbca:function(t,e,n){"use strict";n("edf6")},e8c1:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("Card",{ref:"card",scopedSlots:t._u([{key:"title",fn:function(){return[n("div",{staticStyle:{height:"30px",display:"flex","align-items":"center","flex-wrap":"wrap"}},[n("h3",[t._v("我的流程列表")])])]},proxy:!0},{key:"extra",fn:function(){return[n("div",{staticStyle:{display:"flex"}},[n("Select",{staticStyle:{width:"15vw","margin-right":"1vw"}},t._l(t.flowStateArray,(function(t,e){return n("Option",{key:e,attrs:{label:t.name}})})),1),n("Select",{staticStyle:{width:"15vw","margin-right":"1vw"}},t._l(t.flowStateArray,(function(t,e){return n("Option",{key:e,attrs:{label:t.name}})})),1),n("Input",{staticStyle:{width:"15vw","margin-right":"1vw"},attrs:{placeholder:"请输入标题或流程名称搜索..."},model:{value:t.search,callback:function(e){t.search=e},expression:"search"}}),n("Input",{staticStyle:{width:"15vw","margin-right":"1vw"},attrs:{placeholder:"请输入姓名或工号搜索..."},model:{value:t.search,callback:function(e){t.search=e},expression:"search"}}),n("Button",{attrs:{type:"primary"}},[t._v("搜索")])],1)]},proxy:!0}])},[n("Table",{attrs:{columns:t.columns,data:t.tableData,loading:t.loading},scopedSlots:t._u([{key:"todo",fn:function(e){var a=e.row;return t._l(a.todo,(function(e,a){return n("span",{key:a},[t._v(t._s(e.replace("[","").replace("]","").replace('"',"")))])}))}},{key:"partcipant",fn:function(e){var a=e.row;return t._l(a.partcipant,(function(e,a){return n("span",{key:a},[t._v(t._s(e.replace("[","").replace("]","").replace('"',"")))])}))}},{key:"status",fn:function(e){var n=e.row;return[t._v("\n "+t._s(["草稿","运行中","已结束"][n.status])+"\n ")]}},{key:"action_type",fn:function(e){var a=e.row;return[n("Tag",{attrs:{color:t.publicState.completeFlow.color[a.action_type]}},[t._v("\n "+t._s(t.publicState.completeFlow.action_type[a.action_type])+"\n ")])]}},{key:"action",fn:function(e){var a=e.row;return[2===a.status?n("a",{key:t.cancelKey,staticClass:"cancel",staticStyle:{"margin-right":"15px"}},[t._v("取消")]):n("a",{key:t.cancelKey,staticStyle:{"margin-right":"15px",color:"red"},on:{click:function(e){return t.flowCancel(a)}}},[t._v("取消")]),n("a",{on:{click:function(e){return t.approvalLisFun(a)}}},[t._v("详细")])]}}])}),n("div",{staticStyle:{height:"60px",display:"flex","align-items":"center"}},[n("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)},i=[],r=(n("96cf"),n("1da1")),o=n("967e"),l=n.n(o),s=n("61be"),c=n("7f6b"),u={name:"list",data:function(){return{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:{page_index:1,page_size:10,total:0},pageKey:1}},created:function(){},mounted:function(){this.GetFlowTaskList()},methods:{GetFlowTaskList:function(){var t=Object(r["a"])(l.a.mark((function t(){var e,n;return l.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},t.next=4,c["W"](e);case 4:n=t.sent,this.init.total=n.response.data_count,this.tableData=n.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(r["a"])(l.a.mark((function t(e){var n=this;return l.a.wrap((function(t){while(1)switch(t.prev=t.next){case 0:s["publicConfirm"](Object(r["a"])(l.a.mark((function t(){var a;return l.a.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,c["j"]({runid:e.runid});case 2:return a=t.sent,n.cancelKey++,s["publicMessage"](a),t.next=7,n.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()}}},p=u,d=(n("bbca"),n("2877")),h=Object(d["a"])(p,a,i,!1,null,null,null);e["default"]=h.exports},edf6:function(t,e,n){}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0af2dc"],{"0ce8":function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("Card",{ref:"card",scopedSlots:t._u([{key:"title",fn:function(){return[n("div",{staticStyle:{height:"30px",display:"flex","align-items":"center"}},[n("h3",[t._v("流程待办列表")])])]},proxy:!0},{key:"extra",fn:function(){return[n("div",{staticStyle:{display:"flex"}},[n("Button",{staticStyle:{"margin-right":"1vw"},attrs:{type:"primary"}},[t._v("批量审批")]),n("Select",{staticStyle:{width:"12vw","margin-right":"1vw"},attrs:{placeholder:"请选择流程名称"},on:{"on-change":t.flowSelectOnChnage}},t._l(t.flowSelect,(function(e,a){return n("Option",{key:a,attrs:{value:e.id}},[t._v(t._s(e.name))])})),1),n("Select",{staticStyle:{width:"12vw","margin-right":"1vw"}},t._l(t.flowStateArray,(function(t,e){return n("Option",{key:e,attrs:{label:t.name}})})),1),n("Select",{staticStyle:{width:"12vw","margin-right":"1vw"}},t._l(t.flowStateArray,(function(t,e){return n("Option",{key:e,attrs:{label:t.name}})})),1),n("Input",{staticStyle:{width:"12vw","margin-right":"1vw"},attrs:{placeholder:"请输入标题或流程名称搜索..."},model:{value:t.search,callback:function(e){t.search=e},expression:"search"}}),n("Input",{staticStyle:{width:"12vw","margin-right":"1vw"},attrs:{placeholder:"请输入姓名或工号搜索..."},model:{value:t.search,callback:function(e){t.search=e},expression:"search"}}),n("Button",{attrs:{type:"primary"}},[t._v("搜索")])],1)]},proxy:!0}])},[n("Table",{attrs:{columns:t.columns,data:t.tableData,loading:t.loading},scopedSlots:t._u([{key:"todo",fn:function(e){var a=e.row;return t._l(a.todo,(function(e,a){return n("span",{key:a},[t._v(t._s(e.replace("[","").replace("]","").replace('"',"")))])}))}},{key:"partcipant",fn:function(e){var a=e.row;return t._l(a.partcipant,(function(e,a){return n("span",{key:a},[t._v(t._s(e.replace("[","").replace("]","").replace('"',"")))])}))}},{key:"status",fn:function(e){var n=e.row;return[t._v("\n "+t._s(["草稿","运行中","已结束"][n.status])+"\n ")]}},{key:"action_type",fn:function(e){var a=e.row;return[n("Tag",{attrs:{color:t.publicState.completeFlow.color[a.action_type]}},[t._v("\n "+t._s(t.publicState.completeFlow.action_type[a.action_type])+"\n ")])]}},{key:"action",fn:function(e){var a=e.row;return[n("a",{on:{click:function(e){return t.approvalLisFun(a)}}},[t._v("审批")])]}}])}),n("div",{staticStyle:{height:"60px",display:"flex","align-items":"center"}},[n("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)},i=[],r=(n("96cf"),n("1da1")),o=n("967e"),l=n.n(o),s=n("61be"),c=n("7f6b"),u={name:"list",data:function(){return{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",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:{page_index:1,page_size:10,total:0,flow_id:""},pageKey:1}},watch:{},created:function(){},mounted:function(){var t=this;this.GetFlowTaskList(),s["storageAddEventListener"](Object(r["a"])(l.a.mark((function e(){return l.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:{flowSelectOnChnage:function(t){this.init.flow_id=t,this.GetFlowTaskList()},GetFlowIdSelect:function(){var t=this;s["getInitListRequest"]((function(){c["J"]().then((function(e){e.response.map((function(t,n){"102"===t.id&&(e.response.unshift(t),e.response.splice(n+1,1))})),t.flowSelect=e.response}))}))},GetFlowTaskList:function(){var t=Object(r["a"])(l.a.mark((function t(){var e,n;return l.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_id},t.next=4,c["P"](e);case 4:n=t.sent,this.init.total=n.response.data_count,this.tableData=n.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}}),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()}}},d=u,p=n("2877"),h=Object(p["a"])(d,a,i,!1,null,null,null);e["default"]=h.exports}}]);
\ No newline at end of file
此差异已折叠。
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0b287e"],{2505:function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("Card",{ref:"card",scopedSlots:e._u([{key:"title",fn:function(){return[i("div",{staticStyle:{height:"30px",display:"flex","align-items":"center"}},[i("h3",[e._v("流程列表")])])]},proxy:!0}])},[i("div",{staticStyle:{display:"flex","justify-content":"flex-start","flex-wrap":"wrap"}},e._l(e.init.data,(function(t,n){return i("Card",{key:n,staticStyle:{width:"150px","min-height":"150px",margin:"10px 5px"},nativeOn:{click:function(i){return e.flowAssembleFun(t)}}},[i("div",{staticStyle:{display:"flex","align-items":"center","flex-wrap":"wrap","justify-content":"center"}},[i("Icon",{attrs:{type:t.icon,size:"100"}}),i("span",[e._v("\n "+e._s(t.flowname)+"\n ")])],1)])})),1),i("div",{staticClass:"ivu-text-center ivu-mt"},[i("div",{staticStyle:{height:"60px",display:"flex","align-items":"center"}},[i("Page",{key:e.pageKey,attrs:{total:e.init.total,"show-total":"","show-sizer":"","page-size":e.init.page_size},on:{"on-change":e.handleChangePage,"on-page-size-change":e.handleChangePageSize},model:{value:e.init.page_index,callback:function(t){e.$set(e.init,"page_index",t)},expression:"init.page_index"}})],1)])])],1)},a=[],s=(i("96cf"),i("1da1")),l=i("967e"),o=i.n(l),c=(i("61be"),i("7f6b")),r={name:"list",data:function(){return{grid:{xl:8,lg:12,md:24,sm:24,xs:24},columns:[{title:"序号",type:"index",align:"center",show:!0,width:80},{title:"班级编号",key:"class_code",align:"center",show:!0,minWidth:100},{title:"班级名称",key:"class_name",align:"center",show:!0,minWidth:150},{title:"年级",key:"grade",align:"center",show:!0,minWidth:100},{title:"培养层次",key:"training",align:"center",show:!0,minWidth:120},{title:"辅导员工号",key:"counselor_card",align:"center",show:!0,minWidth:150},{title:"辅导员姓名",key:"counselor_name",align:"center",show:!0,minWidth:120},{title:"班主任工号",key:"head_teacher_card",align:"center",show:!0,minWidth:150},{title:"班主任姓名",key:"head_teacher_name",align:"center",show:!0,minWidth:120},{title:"院系名称",key:"college_name",align:"center",show:!0,minWidth:200},{title:"状态",key:"status",align:"center",slot:"status",show:!0,minWidth:130},{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:{page_index:1,page_size:10,total:0,data:[]},pageKey:1}},created:function(){},mounted:function(){this.GetFlowDesignList()},methods:{flowAssembleFun:function(e){this.$router.push({path:"/".concat(e.remark,"Form"),query:{id:e.flowid,remark:e.remark,entrance:"flow"}})},GetFlowDesignList:function(){var e=Object(s["a"])(o.a.mark((function e(){var t,i,n;return o.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return this.$Spin.show(),t={page_index:this.init.page_index,page_size:this.init.page_size},e.next=4,c["H"](t);case 4:i=e.sent,n=["ios-ribbon","md-trophy","md-list-box","logo-usd","md-chatboxes"],i.response.data.map((function(e,t){e.icon=n[t]})),this.init.data=i.response.data,this.init.total=i.response.data_count,this.$Spin.hide();case 10:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),add:function(){this.$refs.addEdit.add()},edit:function(e){this.$refs.addEdit.edit(e)},del:function(e){console.log("删除"),this.$Message.info("删除成功")},cancel:function(){this.$Message.info("You click cancel")},handleChangePage:function(e){this.init.page_index=e,this.GetFlowDesignList()},handleChangePageSize:function(e){this.current=1,this.init.page_size=e,this.GetFlowDesignList()}}},d=r,h=i("2877"),g=Object(h["a"])(d,n,a,!1,null,null,null);t["default"]=g.exports}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0d0041"],{"65d0":function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("Card",{ref:"card",scopedSlots:e._u([{key:"title",fn:function(){return[i("div",{staticStyle:{height:"80px"}},[i("h3",[e._v("日志记录")]),i("Row",{staticStyle:{"margin-top":"30px"}},[i("Col",{attrs:{span:"8"}},[e._v("\n 结束时间:\n "),i("DatePicker",{staticStyle:{width:"200px"},attrs:{type:"daterange",placement:"bottom-end",placeholder:"请选择结束时间"},on:{"on-change":e.selectTimeRange}})],1),i("Col",{attrs:{span:"8"}},[i("div",{staticStyle:{display:"flex","align-items":"center"}},[e._v("\n 是否成功:\n "),i("Select",{staticStyle:{width:"10vw"},model:{value:e.init.is_succeed,callback:function(t){e.$set(e.init,"is_succeed",t)},expression:"init.is_succeed"}},e._l(e.is_succeedArray,(function(t,n){return i("Option",{key:n,attrs:{value:t.value}},[e._v("\n "+e._s(t.name)+"\n ")])})),1)],1)]),i("Col",{attrs:{span:"8"}},[i("div",{staticStyle:{display:"flex","align-items":"center","justify-content":"flex-end"}},[i("Input",{staticStyle:{width:"20vw"},attrs:{placeholder:"请输入姓名或卡号查找..."},model:{value:e.init.key,callback:function(t){e.$set(e.init,"key",t)},expression:"init.key"}}),i("Button",{staticClass:"ivu-ml-8",attrs:{type:"primary"},on:{click:e.resetSearchSelect}},[e._v("\n 查找\n ")])],1)])],1)],1)]},proxy:!0},{key:"extra",fn:function(){},proxy:!0}])},[i("Table",{staticClass:"ivu-mt",attrs:{columns:e.columns,data:e.tableData,loading:e.loading,size:e.tableSize},scopedSlots:e._u([{key:"is_succeed",fn:function(t){var n=t.row;return[i("tag",{attrs:{color:["","error","success"][n.is_succeed]}},[e._v(" "+e._s(["","失败","成功"][n.is_succeed]))])]}}])}),i("div",{staticStyle:{height:"60px",display:"flex","align-items":"center"}},[i("Page",{attrs:{total:e.init.total,current:e.init.page_index,"show-total":"","show-sizer":"","page-size":e.init.page_size},on:{"update:current":function(t){return e.$set(e.init,"page_index",t)},"on-change":e.handleChangePage,"on-page-size-change":e.handleChangepage_size}})],1)],1),i("Modal",{attrs:{title:"编辑"},scopedSlots:e._u([{key:"footer",fn:function(){return[i("Button",{attrs:{type:"text"},on:{click:function(t){e.scoreModal=!1}}},[e._v("取消")]),i("Button",{attrs:{type:"primary"},on:{click:e.scoreOk}},[e._v("确定")])]},proxy:!0}]),model:{value:e.scoreModal,callback:function(t){e.scoreModal=t},expression:"scoreModal"}},[i("Form",{ref:"formValidate",attrs:{model:e.formValidate,rules:e.ruleValidate,"label-width":80}},[i("FormItem",{attrs:{label:"竞赛成绩",prop:"score"}},[i("InputNumber",{staticStyle:{width:"100%"},attrs:{min:0,max:100,placeholder:"请输入竞赛成绩"},model:{value:e.formValidate.score,callback:function(t){e.$set(e.formValidate,"score",t)},expression:"formValidate.score"}})],1),i("FormItem",{attrs:{label:"是否获奖",prop:"is_win"}},[i("Select",{staticStyle:{width:"100%"},attrs:{placeholder:"请输入竞赛成绩"},model:{value:e.formValidate.is_win,callback:function(t){e.$set(e.formValidate,"is_win",t)},expression:"formValidate.is_win"}},e._l(e.is_winArray,(function(t,n){return i("Option",{key:n,attrs:{value:t.value}},[e._v(e._s(t.name))])})),1)],1),i("FormItem",{attrs:{label:"奖项名称",prop:"prizes"}},[i("Input",{staticStyle:{width:"100%"},attrs:{disabled:e.prizesDis,placeholder:"请输入奖项名称"},model:{value:e.formValidate.prizes,callback:function(t){e.$set(e.formValidate,"prizes",t)},expression:"formValidate.prizes"}})],1)],1)],1)],1)},a=[],s=(i("96cf"),i("1da1")),r=i("967e"),c=i.n(r),l=i("7f6b"),o=i("61be"),d={name:"list",data:function(){return{prizesDis:!1,personageCompetitionSelect:[],grid:{xl:8,lg:12,md:24,sm:24,xs:24},columns:[{title:"序号",type:"index",align:"center",show:!0,width:80},{title:"消息内容",key:"messageinfo",align:"center",show:!0,minWidth:100},{title:"发送时间",key:"send_time",align:"center",show:!0,minWidth:150},{title:"创建时间",key:"createtime",align:"center",show:!0,minWidth:100},{title:"接收人卡号",key:"reception_card",align:"center",show:!0,minWidth:120},{title:"接收人",key:"reception_man",align:"center",show:!0,minWidth:150},{title:"是否成功",slot:"is_succeed",align:"center",show:!0,minWidth:120},{title:"内容",key:"content",align:"center",show:!0,minWidth:120},{title:"链接",key:"meg_link",align:"center",show:!0,minWidth:150},{title:"失败原因",key:"remark",align:"center",show:!0,minWidth:120},{title:"关联表id",key:"relevance_id",align:"center",show:!0,minWidth:200},{title:"关联表名称",key:"relevance_name",align:"center",show:!0,minWidth:200}],loading:!1,tableData:[],tableSize:"default",tableFullscreen:!1,total:0,collapse:!1,init:{begin_time:"",end_time:"",key:"",is_succeed:"",page_index:1,page_size:10,total:0},init1:{begin_time:"",end_time:"",key:"",is_succeed:"",page_index:1,page_size:10,total:0},is_succeedArray:[{name:"失败",value:1},{name:"成功",value:2}],is_winArray:[{name:"否",value:0},{name:"是",value:1}],scoreModal:!1,ruleValidate:{score:[{type:"number",required:!0,message:"该项不能为空",trigger:"blur"}],prizes:[{type:"string",required:!0,message:"该项不能为空",trigger:"blur"}],is_win:[{type:"number",required:!0,message:"该项不能为空",trigger:"change"}]},formValidate:{score:0,id:"",prizes:"",is_win:""}}},watch:{"init.reportid":function(e,t){this.init.reportid=e,e&&this.getData()},"formValidate.is_win":function(e,t){Boolean(e)?this.prizesDis=!1:this.prizesDis=!0}},created:function(){},mounted:function(){this.GetMessageList()},methods:{selectTimeRange:function(e){this.init.begin_time=e[0],this.init.end_time=e[1]},scoreOk:function(){var e=this;this.$refs["formValidate"].validate((function(t){t&&Object(o["myEncapsulationFunction"])(Object(s["a"])(c.a.mark((function t(){var i,n;return c.a.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return i=e.formValidate,t.next=3,l["ac"](i);case 3:return n=t.sent,t.next=6,e.getData();case 6:return e.scoreModal=!1,t.abrupt("return",n);case 8:case"end":return t.stop()}}),t)}))))}))},resetSearchSelect:function(){this.init1.begin_time=this.init.begin_time,this.init1.end_time=this.init.end_time,this.init1.is_succeed=this.init.is_succeed,this.init1.key=this.init.key,this.GetMessageList()},GetMessageList:function(){var e=Object(s["a"])(c.a.mark((function e(){var t,i;return c.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return this.loading=!0,t={begin_time:this.init1.begin_time,end_time:this.init1.end_time,key:this.init1.key,is_succeed:this.init1.is_succeed,page_index:this.init.page_index,page_size:this.init.page_size},e.next=4,l["V"](t);case 4:i=e.sent;try{this.init.total=i.response.data_count,this.tableData=i.response.data,this.loading=!1}catch(n){this.loading=!1}case 6:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),getData:function(){var e=Object(s["a"])(c.a.mark((function e(){var t,i;return c.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return this.loading=!0,t={page_index:this.init.page_index,page_size:this.init.page_size,reportid:this.init.reportid},e.next=4,l["jb"](t);case 4:i=e.sent;try{this.init.total=i.response.data_count,this.tableData=i.response.data,this.loading=!1}catch(n){this.loading=!1}case 6:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),add:function(){this.$refs.addEdit.add()},edit:function(e){this.$refs.addEdit.edit(e)},importScore:function(e){this.scoreModal=!0,this.formValidate={},this.formValidate.id=e.scoreid},del:function(e){var t=this;Object(o["myEncapsulationFunction"])(Object(s["a"])(c.a.mark((function i(){var n;return c.a.wrap((function(i){while(1)switch(i.prev=i.next){case 0:return i.next=2,l["Zb"]({id:e.scoreid});case 2:return n=i.sent,t.getData(),i.abrupt("return",n);case 5:case"end":return i.stop()}}),i)}))))},cancel:function(){this.$Message.info("You click cancel")},handleChangePage:function(e){this.init.page_index=e,this.GetMessageList()},handleChangepage_size:function(e){this.init.page_size=e,this.GetMessageList()}}},u=d,h=i("2877"),p=Object(h["a"])(u,n,a,!1,null,null,null);t["default"]=p.exports}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0dee69"],{"882e":function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("Card",{ref:"card",scopedSlots:t._u([{key:"title",fn:function(){return[n("div",{staticStyle:{height:"30px",display:"flex","align-items":"center"}},[n("h3",[t._v("流程已办列表")])])]},proxy:!0},{key:"extra",fn:function(){return[n("div",{staticStyle:{display:"flex"}},[n("Select",{staticStyle:{width:"15vw","margin-right":"1vw"}},t._l(t.flowStateArray,(function(t,e){return n("Option",{key:e,attrs:{label:t.name}})})),1),n("Select",{staticStyle:{width:"15vw","margin-right":"1vw"}},t._l(t.flowStateArray,(function(t,e){return n("Option",{key:e,attrs:{label:t.name}})})),1),n("Input",{staticStyle:{width:"15vw","margin-right":"1vw"},attrs:{placeholder:"请输入标题或流程名称搜索..."},model:{value:t.search,callback:function(e){t.search=e},expression:"search"}}),n("Input",{staticStyle:{width:"15vw","margin-right":"1vw"},attrs:{placeholder:"请输入姓名或工号搜索..."},model:{value:t.search,callback:function(e){t.search=e},expression:"search"}}),n("Button",{attrs:{type:"primary"}},[t._v("搜索")])],1)]},proxy:!0}])},[n("Table",{attrs:{columns:t.columns,data:t.tableData,loading:t.loading},scopedSlots:t._u([{key:"todo",fn:function(e){var a=e.row;return t._l(a.todo,(function(e,a){return n("span",{key:a},[t._v(t._s(e.replace("[","").replace("]","").replace('"',"")))])}))}},{key:"partcipant",fn:function(e){var a=e.row;return t._l(a.partcipant,(function(e,a){return n("span",{key:a},[t._v(t._s(e.replace("[","").replace("]","").replace('"',"")))])}))}},{key:"status",fn:function(e){var n=e.row;return[t._v("\n "+t._s(["草稿","运行中","已结束"][n.status])+"\n ")]}},{key:"action_type",fn:function(e){var a=e.row;return[n("Tag",{attrs:{color:t.publicState.completeFlow.color[a.action_type]}},[t._v("\n "+t._s(t.publicState.completeFlow.action_type[a.action_type])+"\n ")])]}},{key:"action",fn:function(e){var a=e.row;return[n("a",{on:{click:function(e){return t.approvalLisFun(a)}}},[t._v("详细")])]}}])}),n("div",{staticStyle:{height:"60px",display:"flex","align-items":"center"}},[n("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)},i=[],r=(n("96cf"),n("1da1")),o=n("967e"),l=n.n(o),s=(n("61be"),n("7f6b")),c=n("5ccc"),d={name:"list",computed:{publicState:function(){return c["a"]}},data:function(){return{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",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:{page_index:1,page_size:10,total:0},pageKey:1}},created:function(){},mounted:function(){this.GetFlowTaskList()},methods:{GetFlowTaskList:function(){var t=Object(r["a"])(l.a.mark((function t(){var e,n;return l.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},t.next=4,s["x"](e);case 4:n=t.sent,this.init.total=n.response.data_count,this.tableData=n.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()}}},u=d,p=n("2877"),h=Object(p["a"])(u,a,i,!1,null,null,null);e["default"]=h.exports}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d20ec35"],{b16f:function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("Card",{ref:"card",scopedSlots:e._u([{key:"title",fn:function(){return[i("div",{staticStyle:{height:"30px",display:"flex","align-items":"center"}},[i("h3",[e._v("竞赛成绩")])])]},proxy:!0},{key:"extra",fn:function(){return[e._v("\n 参与方式:\n "),i("Select",{staticStyle:{width:"10vw"},model:{value:e.init.reportid,callback:function(t){e.$set(e.init,"reportid",t)},expression:"init.reportid"}},e._l(e.personageCompetitionSelect,(function(t,n){return i("Option",{key:n,attrs:{value:t.id}},[e._v(" "+e._s(t.name)+"\n ")])})),1),i("Button",{staticClass:"ivu-ml-8",on:{click:e.resetSearchSelect}},[e._v("\n\n 重置\n ")])]},proxy:!0}])},[i("Table",{staticClass:"ivu-mt",attrs:{columns:e.columns,data:e.tableData,loading:e.loading,size:e.tableSize},scopedSlots:e._u([{key:"way",fn:function(t){var n=t.row;return[i("tag",{attrs:{color:["success","primary"][n.way]}},[e._v(" "+e._s(["团队","个人"][n.way]))])]}},{key:"is_win",fn:function(t){var n=t.row;return[i("tag",{attrs:{color:["primary","success"][n.is_win]}},[e._v(" "+e._s(["否","是"][n.is_win]))])]}},{key:"action",fn:function(t){var n=t.row;return[i("a",{on:{click:function(t){return e.importScore(n)}}},[e._v("录入成绩")]),i("Poptip",{attrs:{confirm:"",transfer:"",title:"你确定删除吗?"},on:{"on-ok":function(t){return e.importScore(n)},"on-cancel":e.cancel}},[i("a",{staticStyle:{"margin-left":"15px",color:"red"}},[e._v("删除成绩")])])]}}])}),i("div",{staticStyle:{height:"60px",display:"flex","align-items":"center"}},[i("Page",{attrs:{total:e.init.total,current:e.init.page_index,"show-total":"","show-sizer":"","page-size":e.init.page_size},on:{"update:current":function(t){return e.$set(e.init,"page_index",t)},"on-change":e.handleChangePage,"on-page-size-change":e.handleChangepage_size}})],1)],1),i("Modal",{attrs:{title:"编辑"},scopedSlots:e._u([{key:"footer",fn:function(){return[i("Button",{attrs:{type:"text"},on:{click:function(t){e.scoreModal=!1}}},[e._v("取消")]),i("Button",{attrs:{type:"primary"},on:{click:e.scoreOk}},[e._v("确定")])]},proxy:!0}]),model:{value:e.scoreModal,callback:function(t){e.scoreModal=t},expression:"scoreModal"}},[i("Form",{ref:"formValidate",attrs:{model:e.formValidate,rules:e.ruleValidate,"label-width":80}},[i("FormItem",{attrs:{label:"竞赛成绩",prop:"score"}},[i("InputNumber",{staticStyle:{width:"100%"},attrs:{min:0,max:100,placeholder:"请输入竞赛成绩"},model:{value:e.formValidate.score,callback:function(t){e.$set(e.formValidate,"score",t)},expression:"formValidate.score"}})],1),i("FormItem",{attrs:{label:"是否获奖",prop:"is_win"}},[i("Select",{staticStyle:{width:"100%"},attrs:{placeholder:"请输入竞赛成绩"},model:{value:e.formValidate.is_win,callback:function(t){e.$set(e.formValidate,"is_win",t)},expression:"formValidate.is_win"}},e._l(e.is_winArray,(function(t,n){return i("Option",{key:n,attrs:{value:t.value}},[e._v(e._s(t.name))])})),1)],1),i("FormItem",{attrs:{label:"奖项名称",prop:"prizes1"}},[i("Input",{staticStyle:{width:"100%"},attrs:{disabled:e.prizesDis,placeholder:"请输入奖项名称"},model:{value:e.formValidate.prizes,callback:function(t){e.$set(e.formValidate,"prizes",t)},expression:"formValidate.prizes"}})],1)],1)],1)],1)},a=[],r=(i("96cf"),i("1da1")),s=i("967e"),o=i.n(s),c=i("7f6b"),l=i("61be"),u={name:"list",data:function(){return{prizesDis:!1,personageCompetitionSelect:[],grid:{xl:8,lg:12,md:24,sm:24,xs:24},columns:[{title:"序号",type:"index",align:"center",show:!0,width:80},{title:"赛事名称",key:"competitionname",align:"center",show:!0,minWidth:100},{title:"报名者",key:"sign_name",align:"center",show:!0,minWidth:150},{title:"竞赛形式(团/个人)",slot:"way",align:"center",show:!0,minWidth:200},{title:"成绩",key:"score",align:"center",show:!0,minWidth:120},{title:"是否获奖",slot:"is_win",align:"center",show:!0,minWidth:150},{title:"奖项",key:"prizes",align:"center",show:!0,minWidth:120},{title:"操作",align:"center",minWidth:180,fixed:"right",show:!0,slot:"action"}],loading:!1,tableData:[],tableSize:"default",tableFullscreen:!1,total:0,collapse:!1,init:{select:"",page_index:1,page_size:10,total:0,reportid:"",score:0},is_winArray:[{name:"否",value:0},{name:"是",value:1}],scoreModal:!1,ruleValidate:{score:[{type:"number",required:!0,message:"该项不能为空",trigger:"blur"}],prizes:[{type:"string",required:!0,message:"该项不能为空",trigger:"blur"}],is_win:[{type:"number",required:!0,message:"该项不能为空",trigger:"change"}]},formValidate:{score:0,id:"",prizes:"",is_win:""}}},watch:{"init.reportid":function(e,t){this.init.reportid=e,e&&this.getData()},"formValidate.is_win":function(e,t){Boolean(e)?this.prizesDis=!1:this.prizesDis=!0}},created:function(){},mounted:function(){this.GetScoreBySignSelect()},methods:{scoreOk:function(){var e=this;this.$refs["formValidate"].validate((function(t){t&&Object(l["myEncapsulationFunction"])(Object(r["a"])(o.a.mark((function t(){var i,n;return o.a.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return i=e.formValidate,t.next=3,c["ac"](i);case 3:return n=t.sent,t.next=6,e.getData();case 6:return e.scoreModal=!1,t.abrupt("return",n);case 8:case"end":return t.stop()}}),t)}))))}))},resetSearchSelect:function(){this.init.reportid=""},GetScoreBySignSelect:function(){var e=Object(r["a"])(o.a.mark((function e(){var t;return o.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,c["ib"]();case 2:t=e.sent,this.personageCompetitionSelect=t.response;case 4:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),getData:function(){var e=Object(r["a"])(o.a.mark((function e(){var t,i;return o.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return this.loading=!0,t={page_index:this.init.page_index,page_size:this.init.page_size,reportid:this.init.reportid},e.next=4,c["jb"](t);case 4:i=e.sent;try{this.init.total=i.response.data_count,this.tableData=i.response.data,this.loading=!1}catch(n){this.loading=!1}case 6:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),add:function(){this.$refs.addEdit.add()},edit:function(e){this.$refs.addEdit.edit(e)},importScore:function(e){this.scoreModal=!0,this.formValidate={},this.formValidate.id=e.scoreid},del:function(e){var t=this;Object(l["myEncapsulationFunction"])(Object(r["a"])(o.a.mark((function i(){var n;return o.a.wrap((function(i){while(1)switch(i.prev=i.next){case 0:return i.next=2,c["Zb"]({id:e.scoreid});case 2:return n=i.sent,t.getData(),i.abrupt("return",n);case 5:case"end":return i.stop()}}),i)}))))},cancel:function(){this.$Message.info("You click cancel")},handleChangePage:function(e){this.init.page_index=e,this.getData()},handleChangepage_size:function(e){this.current=1,this.init.page_size=e,this.getData()}}},d=u,p=i("2877"),h=Object(p["a"])(d,n,a,!1,null,null,null);t["default"]=h.exports}}]);
\ No newline at end of file
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-6579a95c"],{"0618":function(e,t,i){},"3f65":function(e,t,i){"use strict";i("0618")},b13e:function(e,t,i){"use strict";i("b390")},b390:function(e,t,i){},dc0a:function(e,t,i){"use strict";i.r(t);var a=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"container"},[i("Card",{staticStyle:{width:"50%"},scopedSlots:e._u([{key:"title",fn:function(){return[i("h2",{staticStyle:{"text-align":"center"}},[e._v("\n 竞赛公告流程")])]},proxy:!0}])},[i("Form",{ref:"formValidate",attrs:{model:e.formValidate,rules:e.ruleValidate,"label-width":80}},[i("Row",[i("Col",{attrs:{span:12}},[i("FormItem",{attrs:{label:"公告标题",prop:"title"}},[i("Input",{attrs:{placeholder:"请输入公告标题"},model:{value:e.formValidate.title,callback:function(t){e.$set(e.formValidate,"title",t)},expression:"formValidate.title"}})],1)],1),i("Col",{attrs:{span:12}},[i("FormItem",{attrs:{label:"公告类型",prop:"typeid"}},[i("Select",{attrs:{placeholder:"请选择公告类型"},model:{value:e.formValidate.typeid,callback:function(t){e.$set(e.formValidate,"typeid",t)},expression:"formValidate.typeid"}},e._l(e.noticeSelect,(function(t,a){return i("Option",{key:a,attrs:{value:t.id}},[e._v("\n "+e._s(t.name)+"\n ")])})),1)],1)],1)],1),i("Row",[i("Col",{attrs:{span:12}},[i("FormItem",{attrs:{label:"公告是否置顶",prop:"is_top"}},[i("Select",{attrs:{placeholder:"请选择是否置顶"},model:{value:e.formValidate.is_top,callback:function(t){e.$set(e.formValidate,"is_top",t)},expression:"formValidate.is_top"}},e._l(e.noticeIsTop,(function(t,a){return i("Option",{key:a,attrs:{value:t.value}},[e._v("\n "+e._s(t.name)+"\n ")])})),1)],1)],1)],1),i("richText",{attrs:{value:e.formValidate.content,minHeight:500},on:{setRichTextValue:e.getRichTextValue}}),i("Upload",{key:e.fileKey,attrs:{multiple:!0,"before-upload":e.beforeUpload,"on-error":e.onError,"on-success":e.onsuccess,"on-format-error":e.onFormatError,"show-upload-list":!0,type:"drag",action:""}},[i("div",{staticStyle:{padding:"20px 0",width:"100%"}},[i("Icon",{staticStyle:{color:"#3399ff"},attrs:{type:"ios-cloud-upload",size:"52"}}),i("p",[e._v("附件上传")])],1)]),e._l(e.formValidate.files_list,(function(t,a){return i("div",{key:a,staticClass:"filelist"},[e._v("\n "+e._s(t.file_name)+"\n "),t.file_name?i("Icon",{staticClass:"fileddelete",attrs:{type:"ios-trash"},on:{click:function(i){return e.fileDelete(t)}}}):e._e()],1)})),i("FormItem",[i("Button",{staticStyle:{"margin-right":"10px"},attrs:{type:"primary"},on:{click:e.handleSubmit}},[e._v("提交流程\n ")]),i("Button",{attrs:{type:"primary"},on:{click:e.save}},[e._v("保存")]),i("Button",{staticStyle:{"margin-left":"8px"},on:{click:e.handleReset}},[e._v("重置")])],1)],2)],1)],1)},n=[],r=(i("96cf"),i("1da1")),o=i("967e"),s=i.n(o),l=i("61be"),c=i("7f6b"),u=i("2ef0"),d=i.n(u),f=i("9446"),p={components:{richText:f["a"]},data:function(){return{noticeIsTop:[{value:0,name:"否"},{value:1,name:"是"}],noticeSelect:[],teamSelect:[],competitionNameArray:[],approval_stateArray:[{value:0,label:"未审批"},{value:1,label:"审批中"},{value:2,label:"审批通过"},{value:3,label:"审批不通过"}],levelArray:[{value:1,label:"国家级"},{value:2,label:"省一级"},{value:3,label:"省二级"}],wayArray:[{value:0,label:"团队"},{value:1,label:"个人"}],competitionnameValue:"",flowid:"",module_id:"",module:"",fileKey:1,formValidate:{flowid:"",title:"",content:"",typeid:"",is_top:0,is_public:0,files_list:[]},ruleValidate:{title:[{type:"string",required:!0,message:"该项不能为空",trigger:"blur"}],typeid:[{type:"string",required:!0,message:"该项不能为空",trigger:"change"}],is_top:[{type:"number",required:!0,message:"该项不能为空",trigger:"change"}],competitionname:[{type:"string",required:!0,message:"该项不能为空",trigger:"change"}],sponsor:[{type:"string",required:!0,message:"该项不能为空",trigger:"change"}],race_level:[{type:"number",required:!0,message:"该项不能为空",trigger:"change"}],team_id:[{type:"string",required:!0,message:"该项不能为空",trigger:"change"}],certificate_name:[{type:"string",required:!0,message:"该项不能为空",trigger:"blur"}],certificate_description:[{type:"string",required:!0,message:"该项不能为空",trigger:"blur"}]}}},computed:{},watch:{"formValidate.content":function(e,t){console.log("🚀🚀newValue🚀,",e)}},methods:{save:function(){var e=this,t=function(){var t=Object(r["a"])(s.a.mark((function t(i){var a,n,o;return s.a.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=d.a.cloneDeep(e.formValidate),n=a.files_list,delete a.files_list,o={changecommitid:i,flowid:e.flowid,module_id:e.module_id,module:e.module,notice:a,files_list:n},t.next=6,l["myEncapsulationFunction"](Object(r["a"])(s.a.mark((function e(){return s.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,c["l"](o);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))));case 6:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}();switch(this.changecommitid){case void 0:t(this.changecommitid);break;default:t(this.changecommitid);break}},FlowInit:function(){var e=Object(r["a"])(s.a.mark((function e(){var t;return s.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,c["n"]({flowid:this.flowid});case 2:t=e.sent,e.t0=t.response.changecommitid,e.next=null===e.t0?6:7;break;case 6:return e.abrupt("break",14);case 7:return this.formValidate=t.response.notice,this.formValidate.files_list=t.response.files_list,this.changecommitid=t.response.changecommitid,this.flowid=t.response.flowid,this.module_id=t.response.module_id,this.module=t.response.module,e.abrupt("break",14);case 14:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),getRichTextValue:function(e){this.formValidate.content=e},fileDelete:function(e){var t=this;this.formValidate.files_list.map((function(i,a){i.id===e.id&&t.formValidate.files_list.splice(a,1)})),this.fileKey++},onError:function(e,t,i){console.log("🚀🚀🚀,onError",e,t,i)},onsuccess:function(e,t,i){console.log("🚀🚀🚀,onsuccess",e,t,i)},onFormatError:function(e,t,i){this.$Message.info("文件类型错误!")},beforeUpload:function(){var e=Object(r["a"])(s.a.mark((function e(t){var i,a;return s.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return this.$Spin.show(),i=new FormData,i.append("file",t),e.next=5,c["uc"](this.formValidate.files_list.module,i);case 5:return a=e.sent,this.formValidate.files_list.push(a.response),l["publicMessage"](a),this.fileKey++,e.abrupt("return",!1);case 10:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}(),handleSubmit:function(){var e=this;this.$refs["formValidate"].validate(function(){var t=Object(r["a"])(s.a.mark((function t(i){var a,n;return s.a.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!i){t.next=9;break}return e.$Spin.show(),e.formValidate.flowid=e.flowid,a=d.a.cloneDeep(e.formValidate),t.next=6,c["q"](a);case 6:n=t.sent,l["publicMessage"](n),setTimeout((function(){window.open("about:blank","_top").close()}),1500);case 9:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}())},handleReset:function(){this.formValidate={}},getCompetiotionName:function(){var e=Object(r["a"])(s.a.mark((function e(){var t,i,a;return s.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,c["hb"]();case 2:return t=e.sent,this.competitionNameArray=t.response,e.next=6,c["mc"]();case 6:return i=e.sent,this.teamSelect=i.response,e.next=10,c["Nb"]();case 10:a=e.sent,this.noticeSelect=a.response;case 12:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},beforeCreate:function(){},created:function(){},beforeMount:function(){},mounted:function(){this.getCompetiotionName(),this.formValidate.flowid=this.$route.query.id,this.formValidate.files_list.module=this.$route.query.remark,this.flowid=this.$route.query.id,this.module=this.$route.query.remark,this.FlowInit()},beforeUpdate:function(){},updated:function(){},beforeDestroy:function(){},destroyed:function(){},activated:function(){}},m=p,h=(i("b13e"),i("3f65"),i("2877")),g=Object(h["a"])(m,a,n,!1,null,null,null);t["default"]=g.exports}}]);
\ No newline at end of file
此差异已折叠。
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7367a265"],{"0937":function(t,e,n){},"0e59":function(t,e,n){"use strict";n("0937")},"3b49":function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"container"},[n("div",{staticClass:"header"},[n("h1",{staticStyle:{display:"flex","justify-content":"center"}},[t._v(" 竞赛公告详细")]),n("div",{staticStyle:{"margin-left":"20px",display:"flex","align-items":"center"}},[n("Notification",{attrs:{count:t.data.length,"scroll-to-load":!0,"show-clear":!1,"clear-close":!0,locale:t.loading},on:{"on-load-more":t.handleLoadMore,"on-clear":t.handleClear}},[n("NotificationTab",{attrs:{title:"需阅读用户列表",name:"message"},scopedSlots:t._u([{key:"clear",fn:function(){return[t._v("\n 关闭\n ")]},proxy:!0}])},t._l(t.data.publicList,(function(t,e){return n("NotificationItem",{key:e,attrs:{title:t.public_name,content:["未读","已读"][t.is_read],read:t.is_read,tag:"Team"===t.public_type?"团队":"UserInfo"===t.public_type?"个人":"公告用户组"}})})),1)],1),t._v("\n (阅读列表)\n\n ")],1)]),n("div",{staticClass:"content"},[n("Card",{staticStyle:{width:"50%","margin-top":"20px","border-radius":"20px","box-sizing":"border-box"}},[n("div",{staticClass:"tableList"},[n("table",{staticClass:"container1",attrs:{border:"1"}},[t._l(t.data.keyValueArray,(function(e,a){return n("tr",{key:a},["is_top"===e[0]?n("th",{staticClass:"colTitle"},[t._v(t._s(e[2]))]):t._e(),"is_top"===e[0]?n("td",{staticClass:"colContent"},[t._v(t._s(["否","是"][e[1]]))]):t._e(),"is_public"===e[0]?n("th",{staticClass:"colTitle"},[t._v(t._s(e[2]))]):t._e(),"is_public"===e[0]?n("td",{staticClass:"colContent"},[t._v(t._s(["否","是"][e[1]]))]):t._e(),"content"===e[0]?n("th",{staticClass:"colTitle"},[t._v(t._s(e[2])+"\n ")]):t._e(),"content"===e[0]?n("td",{staticClass:"colContent"},[n("spin",{staticStyle:{"max-height":"500px","overflow-y":"auto"},domProps:{innerHTML:t._s(e[1])}})],1):t._e(),"approval_state"===e[0]?n("th",{staticClass:"colTitle"},[t._v(t._s(e[2]))]):t._e(),"approval_state"===e[0]?n("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]?n("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]?n("td",{staticClass:"colContent"},[t._v(t._s(e[1])+"\n ")]):t._e()])})),n("tr",[n("th",[t._v("附件:")]),n("td",{staticClass:"colContent"},t._l(t.data.fileList,(function(e,a){return n("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)])])],1)])},i=[],s=(n("ac6a"),n("ffc1"),n("96cf"),n("1da1")),o=n("967e"),c=n.n(o),r=n("7f6b"),l=n("61be"),u={components:{},data:function(){return{init:{noticeid:"",is_readTrue:0,is_readFalse:0},data:{Object:{}}}},computed:{},watch:{},methods:{handleLoadMore:function(){},handleClear:function(t){console.log("🚀🚀🚀,",t)},getNoticeInfo:function(){var t=Object(s["a"])(c.a.mark((function t(){var e,n,a=this;return c.a.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return this.$Spin.show(),e=function(t){1!==t.code&&(a.$Spin.hide(),a.$Message.error("无数据"))},this.init.noticeid=this.$route.query.id,t.next=5,r["X"]({id:this.$route.query.id});case 5:n=t.sent,this.data=n.response,this.data.length=n.response.publicList.length,e(n),this.data.Object=n.response,delete n.response.noticeInfo.noticeid,delete n.response.noticeInfo.typeid,delete n.response.noticeInfo.createtime,delete n.response.noticeInfo.competitionreportid,this.data.keyValueArray=Object.entries(n.response.noticeInfo),this.data.keyValueArray.map((function(t,e){var n=["公告标题","公告类型","发布时间","发布用户","是否置顶","是否发布","审批状态","修改人","修改时间","公告内容"];t.push(n[e])})),l["publicMessage"](n);case 17: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.getNoticeInfo()},beforeUpdate:function(){},updated:function(){},beforeDestroy:function(){},destroyed:function(){},activated:function(){}},d=u,p=(n("0e59"),n("2877")),f=Object(p["a"])(d,a,i,!1,null,"55ed4c5e",null);e["default"]=f.exports},"504c":function(t,e,n){var a=n("9e1e"),i=n("0d58"),s=n("6821"),o=n("52a7").f;t.exports=function(t){return function(e){var n,c=s(e),r=i(c),l=r.length,u=0,d=[];while(l>u)n=r[u++],a&&!o.call(c,n)||d.push(t?[n,c[n]]:c[n]);return d}}},ffc1:function(t,e,n){var a=n("5ca1"),i=n("504c")(!0);a(a.S,"Object",{entries:function(t){return i(t)}})}}]);
\ No newline at end of file
此差异已折叠。
此差异已折叠。
此差异已折叠。
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-c389d98c"],{"0c29":function(e,t,n){"use strict";n.r(t);var o=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("Card",{scopedSlots:e._u([{key:"title",fn:function(){return[n("div",{staticStyle:{height:"30px",display:"flex","align-items":"center"}},[n("h3",[e._v("权限分配")])])]},proxy:!0},{key:"extra",fn:function(){return[n("div",{staticStyle:{display:"flex","flex-wrap":"nowrap","align-items":"center"}},[n("Input",{attrs:{placeholder:"请输入权限名称进行查找..."},model:{value:e.searchValue,callback:function(t){e.searchValue=t},expression:"searchValue"}}),n("Button",{staticStyle:{"margin-left":"10px"},attrs:{type:"primary",disabled:""===e.searchValue},on:{click:e.searchEvent}},[e._v("查找\n ")]),n("Button",{staticStyle:{"margin-left":"10px"},attrs:{type:"primary"},on:{click:e.addRoleClass}},[e._v("增添权限类型")])],1)]},proxy:!0}])},[n("Table",{attrs:{columns:e.columns,data:e.data,loading:e.loading1},scopedSlots:e._u([{key:"action",fn:function(t){var o=t.row;return[n("a",{on:{click:function(t){return e.update(o)}}},[e._v("修改")]),n("a",{staticStyle:{color:"red","margin-left":"10px"},on:{click:function(t){return e.roleDelete(o)}}},[e._v("删除")]),n("Modal",{attrs:{title:""+e.ModalTitleValue,"cancel-text":"取消","ok-text":"确认","mask-closable":!0},on:{"on-ok":function(t){return e.modalOk(o)}},model:{value:e.modal,callback:function(t){e.modal=t},expression:"modal"}},[n("Form",{ref:"updateRoleValue",attrs:{model:e.formTop,"label-width":80}},[n("FormItem",{attrs:{label:"权限名称",prop:"input1"}},[n("Input",{model:{value:e.formTop.input1,callback:function(t){e.$set(e.formTop,"input1",t)},expression:"formTop.input1"}})],1),n("FormItem",{attrs:{label:"备注",prop:"input2"}},[n("Input",{model:{value:e.formTop.input2,callback:function(t){e.$set(e.formTop,"input2",t)},expression:"formTop.input2"}})],1)],1)],1)]}}])}),n("div",{staticStyle:{width:"100%",height:"70px",display:"flex","align-items":"center"}},[n("Page",{attrs:{"show-total":"","show-sizer":"","show-elevator":"",total:e.total,"page-size":e.page_size,"model-value":"page_index"},on:{"on-change":e.currentPage,"on-page-size-change":e.currentPageCount}})],1)],1)],1)},r=[],a=(n("96cf"),n("1da1")),i=n("967e"),s=n.n(i),l=n("7f6b"),c={components:{},data:function(){return{loading1:!1,searchValue:"",total:null,page_size:10,page_index:1,ruleValidate:{input1:[{required:!0,message:"不能为空!",trigger:"blur"}],input2:[{required:!0,message:"不能为空!",trigger:"blur"}]},formTop_roleId:"",formTop:{input1:"",input2:"",roleId:"",roleCreateTime:""},modal:!1,columns:[{title:"序号",type:"index",align:"center"},{title:"权限名称",key:"role_name"},{title:"备注",key:"role_remark"},{title:"操作",slot:"action",align:"center"}],data:[]}},computed:{ModalTitleValue:function(){return""===this.formTop.input1?"增添权限类型":"信息修改"}},watch:{"formTop.input1":function(e,t){console.log(e)}},methods:{searchEvent:function(){this.page_index=1,this.GetUserRoleList()},currentPage:function(e){console.log(e),this.page_index=e,this.GetUserRoleList()},currentPageCount:function(e){console.log(e,"currentPageCount"),this.page_size=e,this.GetUserRoleList()},publicConfirm:function(e){this.$Modal.confirm({title:"警告",content:"<p>是否继续此操作?</p>",cancelText:"取消",okText:"确定",onOk:function(){var t=Object(a["a"])(s.a.mark((function t(){return s.a.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e();case 2:case"end":return t.stop()}}),t)})));function n(){return t.apply(this,arguments)}return n}()})},publicMessage:function(e){1!==e.code?this.$Message["warning"]({background:!0,content:"操作异常"}):(this.$Spin.hide(),this.$Message["success"]({background:!0,content:"操作成功"}))},roleDeleteEvent:function(){var e=Object(a["a"])(s.a.mark((function e(){var t,n;return s.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t={id:this.formTop.roleId},e.next=3,l["qc"](t);case 3:return n=e.sent,this.publicMessage(n),e.next=7,this.GetUserRoleList();case 7:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),roleDelete:function(){var e=Object(a["a"])(s.a.mark((function e(t){var n=this;return s.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:this.formTop.roleId=t.roleid,this.publicConfirm((function(){return n.roleDeleteEvent()}));case 2:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}(),addRoleClass:function(){this.formTop.input1="",this.formTop.input2="",this.formTop.roleId="",this.modal=!0},update:function(e){this.modal=!0,this.formTop.input1=e.role_name,this.formTop.input2=e.role_remark,this.formTop.roleId=e.roleid,this.formTop.roleCreateTime=e.createtime},modalOkDataAction:function(e){var t;return t=e?{roleid:this.formTop.roleId,role_name:this.formTop.input1,role_remark:this.formTop.input2,createtime:this.formTop.roleCreateTime}:{role_name:this.formTop.input1,role_remark:this.formTop.input2},t},modalOk:function(){var e=Object(a["a"])(s.a.mark((function e(t){var n,o;return s.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=this.modalOkDataAction(t),e.next=3,l["sc"](n);case 3:return o=e.sent,this.publicMessage(o),e.next=7,this.GetUserRoleList();case 7:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}(),GetUserRoleList:function(){var e=Object(a["a"])(s.a.mark((function e(){var t,n;return s.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return this.loading1=!0,t={page_index:this.page_index,page_size:this.page_size,name:this.searchValue},e.next=4,l["Db"](t);case 4:n=e.sent,this.data=[],this.data=n.response.data,this.total=n.response.data_count,this.loading1=!1;case 9:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},beforeCreate:function(){},created:function(){},beforeMount:function(){},mounted:function(){this.GetUserRoleList()},beforeUpdate:function(){},updated:function(){},beforeDestroy:function(){},destroyed:function(){},activated:function(){}},u=c,p=(n("a8be"),n("2877")),f=Object(p["a"])(u,o,r,!1,null,"65fda89a",null);t["default"]=f.exports},4834:function(e,t,n){},a8be:function(e,t,n){"use strict";n("4834")}}]);
\ No newline at end of file
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-fb6ae7e2"],{2150:function(e,t,n){},"63fe":function(e,t,n){},bf53:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"container"},[n("Card",{staticStyle:{width:"50%"},scopedSlots:e._u([{key:"title",fn:function(){return[n("h2",{staticStyle:{"text-align":"center"}},[e._v("\n 竞赛公告编辑")])]},proxy:!0}])},[n("Form",{ref:"formValidate",attrs:{model:e.formValidate,rules:e.ruleValidate,"label-width":80}},[n("Row",[n("Col",{attrs:{span:12}},[n("FormItem",{attrs:{label:"公告标题",prop:"title"}},[n("Input",{attrs:{placeholder:"请输入公告标题"},model:{value:e.formValidate.title,callback:function(t){e.$set(e.formValidate,"title",t)},expression:"formValidate.title"}})],1)],1),n("Col",{attrs:{span:12}},[n("FormItem",{attrs:{label:"公告类型",prop:"typeid"}},[n("Select",{attrs:{placeholder:"请选择公告类型"},model:{value:e.formValidate.typeid,callback:function(t){e.$set(e.formValidate,"typeid",t)},expression:"formValidate.typeid"}},e._l(e.noticeSelect,(function(t,i){return n("Option",{key:i,attrs:{value:t.id}},[e._v("\n "+e._s(t.name)+"\n ")])})),1)],1)],1)],1),n("richText",{attrs:{value:e.formValidate.content,minHeight:500},on:{setRichTextValue:e.getRichTextValue}}),n("Upload",{attrs:{multiple:!0,"before-upload":e.beforeUpload,"on-error":e.onError,"on-success":e.onsuccess,"on-format-error":e.onFormatError,"show-upload-list":!0,type:"drag",action:""}},[n("div",{staticStyle:{padding:"20px 0",width:"100%"}},[n("Icon",{staticStyle:{color:"#3399ff"},attrs:{type:"ios-cloud-upload",size:"52"}}),n("p",[e._v("附件上传")])],1)]),e._l(e.files_list,(function(t,i){return n("div",{key:i,staticClass:"filelist"},[e._v("\n "+e._s(t.file_name)+"\n "),t.file_name?n("Icon",{staticClass:"fileddelete",attrs:{type:"ios-trash"},on:{click:function(n){return e.fileDelete(t)}}}):e._e()],1)})),n("FormItem",[n("Button",{staticStyle:{"margin-right":"10px"},attrs:{type:"primary"},on:{click:e.handleSubmit}},[e._v("保存\n ")]),n("Button",{staticStyle:{"margin-left":"8px"},on:{click:e.handleReset}},[e._v("重置")])],1)],2)],1)],1)},r=[],a=(n("96cf"),n("1da1")),o=n("967e"),s=n.n(o),l=n("61be"),c=n("7f6b"),u=n("2ef0"),f=n.n(u),p=n("9446"),d={components:{richText:p["a"]},data:function(){return{noticeIsTop:[{value:0,name:"否"},{value:1,name:"是"}],noticeSelect:[],teamSelect:[],competitionNameArray:[],approval_stateArray:[{value:0,label:"未审批"},{value:1,label:"审批中"},{value:2,label:"审批通过"},{value:3,label:"审批不通过"}],levelArray:[{value:1,label:"国家级"},{value:2,label:"省一级"},{value:3,label:"省二级"}],wayArray:[{value:0,label:"团队"},{value:1,label:"个人"}],competitionnameValue:"",formValidate:{noticeid:"",title:"",typeid:"",content:""},module:"",files_list:[],ruleValidate:{title:[{type:"string",required:!0,message:"该项不能为空",trigger:"blur"}],typeid:[{type:"string",required:!0,message:"该项不能为空",trigger:"change"}],is_top:[{type:"number",required:!0,message:"该项不能为空",trigger:"change"}],competitionname:[{type:"string",required:!0,message:"该项不能为空",trigger:"change"}],sponsor:[{type:"string",required:!0,message:"该项不能为空",trigger:"change"}],race_level:[{type:"number",required:!0,message:"该项不能为空",trigger:"change"}],team_id:[{type:"string",required:!0,message:"该项不能为空",trigger:"change"}],certificate_name:[{type:"string",required:!0,message:"该项不能为空",trigger:"blur"}],certificate_description:[{type:"string",required:!0,message:"该项不能为空",trigger:"blur"}]}}},computed:{},watch:{"formValidate.content":function(e,t){console.log("🚀🚀newValue🚀,",e)}},methods:{getRichTextValue:function(e){this.formValidate.content=e},fileDelete:function(e){var t=this;this.files_list.map((function(n,i){n.id===e.id&&t.files_list.splice(i,1)}))},onError:function(e,t,n){console.log("🚀🚀🚀,onError",e,t,n)},onsuccess:function(e,t,n){console.log("🚀🚀🚀,onsuccess",e,t,n)},onFormatError:function(e,t,n){this.$Message.info("文件类型错误!")},beforeUpload:function(){var e=Object(a["a"])(s.a.mark((function e(t){var n,i;return s.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return this.$Spin.show(),n=new FormData,n.append("file",t),e.next=5,c["uc"](this.module,n);case 5:return i=e.sent,this.files_list.push(i.response),l["publicMessage"](i),e.abrupt("return",!1);case 9:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}(),handleSubmit:function(){var e=this;this.$refs["formValidate"].validate(function(){var t=Object(a["a"])(s.a.mark((function t(n){return s.a.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!n){t.next=3;break}return t.next=3,l["myEncapsulationFunction"](Object(a["a"])(s.a.mark((function t(){var n,i;return s.a.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.formValidate.files_list=e.files_list,n=f.a.cloneDeep(e.formValidate),t.next=4,c["Jb"](n);case 4:return i=t.sent,setTimeout((function(){localStorage.setItem("updataEvent","getDataEvent"),window.close()}),1500),t.abrupt("return",i);case 7:case"end":return t.stop()}}),t)}))));case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}())},handleReset:function(){this.formValidate={}},getCompetiotionName:function(){var e=Object(a["a"])(s.a.mark((function e(){var t,n,i;return s.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,c["hb"]();case 2:return t=e.sent,this.competitionNameArray=t.response,e.next=6,c["mc"]();case 6:return n=e.sent,this.teamSelect=n.response,e.next=10,c["Nb"]();case 10:i=e.sent,this.noticeSelect=i.response;case 12:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),GetNoticeInfo:function(){var e=Object(a["a"])(s.a.mark((function e(){var t;return s.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return this.$Spin.show(),e.next=3,c["X"]({id:this.formValidate.noticeid});case 3:t=e.sent;try{this.formValidate=t.response.noticeInfo,this.files_list=t.response.fileList,this.$Spin.hide()}catch(n){this.$Spin.hide()}case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},beforeCreate:function(){},created:function(){},beforeMount:function(){},mounted:function(){this.getCompetiotionName(),this.formValidate.noticeid=this.$route.query.id,this.module=this.$route.query.remark,console.log("🚀🚀🚀,",this.module),this.GetNoticeInfo()},beforeUpdate:function(){},updated:function(){},beforeDestroy:function(){},destroyed:function(){},activated:function(){}},m=d,h=(n("c65a"),n("efa8"),n("2877")),g=Object(h["a"])(m,i,r,!1,null,null,null);t["default"]=g.exports},c65a:function(e,t,n){"use strict";n("63fe")},efa8:function(e,t,n){"use strict";n("2150")}}]);
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 人 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册 或