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

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

上级 1d645b1e
流水线 #22977 已通过 ,包含阶段
in 52 second
.tableList[data-v-67c29ded]{display:flex;justify-content:center;flex-wrap:wrap}.tableList .container1[data-v-67c29ded]{border-collapse:collapse}.tableList .container1 .row[data-v-67c29ded]{width:100%;height:100%}.tableList .container1 .colTitle[data-v-67c29ded]{text-align:center;width:200px;height:50px}.tableList .container1 .colContent[data-v-67c29ded]{width:500px;height:50px;text-align:center}.tableList .container1 .aText[data-v-67c29ded]:hover{transform:scale(1.2)}
\ No newline at end of file
.filelist:hover{color:#1e93ff;background-color:#f7f7f7}.fileddelete: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}
\ 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.13fecbcb.js></script><script src=js/app.ae4e5014.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.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 \ No newline at end of file
因为 它太大了无法显示 源差异 。您可以改为 查看blob。
此差异已折叠。
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0b899d19"],{bbca:function(e,t,n){"use strict";n("edf6")},e8c1:function(e,t,n){"use strict";n.r(t);var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("Card",{ref:"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}])},[n("Table",{attrs:{columns:e.columns,data:e.tableData,loading:e.loading},scopedSlots:e._u([{key:"todo",fn:function(t){var a=t.row;return e._l(a.todo,(function(t,a){return n("span",{key:a},[e._v(e._s(t.replace("[","").replace("]","").replace('"',"")))])}))}},{key:"partcipant",fn:function(t){var a=t.row;return e._l(a.partcipant,(function(t,a){return n("span",{key:a},[e._v(e._s(t.replace("[","").replace("]","").replace('"',"")))])}))}},{key:"status",fn:function(t){var n=t.row;return[e._v("\n "+e._s(["草稿","运行中","已结束"][n.status])+"\n ")]}},{key:"action_type",fn:function(t){var a=t.row;return[n("Tag",{attrs:{color:e.publicState.completeFlow.color[a.action_type]}},[e._v("\n "+e._s(e.publicState.completeFlow.action_type[a.action_type])+"\n ")])]}},{key:"action",fn:function(t){var a=t.row;return[2===a.status?n("a",{key:e.cancelKey,staticClass:"cancel",staticStyle:{"margin-right":"15px"}},[e._v("取消")]):n("a",{key:e.cancelKey,staticStyle:{"margin-right":"15px",color:"red"},on:{click:function(t){return e.flowCancel(a)}}},[e._v("取消")]),n("a",{on:{click:function(t){return e.approvalLisFun(a)}}},[e._v("详细")])]}}])}),n("div",{staticStyle:{height:"60px",display:"flex","align-items":"center"}},[n("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)],1)},i=[],r=(n("96cf"),n("1da1")),o=n("967e"),s=n.n(o),c=n("61be"),l=n("7f6b"),u={name:"list",data:function(){return{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 e=Object(r["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.loading=!0,t={page_index:this.init.page_index,page_size:this.init.page_size},e.next=4,l["W"](t);case 4:n=e.sent,this.init.total=n.response.data_count,this.tableData=n.response.data,this.loading=!1;case 8:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),add:function(){this.$refs.addEdit.add()},flowCancel:function(){var e=Object(r["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:c["d"](Object(r["a"])(s.a.mark((function e(){var a;return s.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,l["j"]({runid:t.runid});case 2:return a=e.sent,n.cancelKey++,c["e"](a),e.next=7,n.GetFlowTaskList();case 7:case"end":return e.stop()}}),e)}))));case 1:case"end":return e.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}(),approvalLisFun:function(e){this.$router.push({name:"awaitDoneInformation",query:{runid:e.runid,form_name:e.form_name,flowInfo:"流程详细信息"}}),console.log("🚀🚀🚀,",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.GetFlowTaskList()},handleChangePageSize:function(e){this.init.page_size=e,this.GetFlowTaskList()}}},d=u,p=(n("bbca"),n("2877")),h=Object(p["a"])(d,a,i,!1,null,null,null);t["default"]=h.exports},edf6:function(e,t,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 i=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("Select",{staticStyle:{width:"15vw"},attrs:{placeholder:"请选择流程名称"},on:{"on-change":t.flowSelectOnChnage}},t._l(t.flowSelect,(function(e,i){return n("Option",{key:i,attrs:{value:e.id}},[t._v(t._s(e.name))])})),1)]},proxy:!0}])},[n("Table",{attrs:{columns:t.columns,data:t.tableData,loading:t.loading},scopedSlots:t._u([{key:"todo",fn:function(e){var i=e.row;return t._l(i.todo,(function(e,i){return n("span",{key:i},[t._v(t._s(e.replace("[","").replace("]","").replace('"',"")))])}))}},{key:"partcipant",fn:function(e){var i=e.row;return t._l(i.partcipant,(function(e,i){return n("span",{key:i},[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 i=e.row;return[n("Tag",{attrs:{color:t.publicState.completeFlow.color[i.action_type]}},[t._v("\n "+t._s(t.publicState.completeFlow.action_type[i.action_type])+"\n ")])]}},{key:"action",fn:function(e){var i=e.row;return[n("a",{on:{click:function(e){return t.approvalLisFun(i)}}},[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)},a=[],o=(n("96cf"),n("1da1")),s=n("967e"),r=n.n(s),l=n("61be"),c=n("7f6b"),d={name:"list",data:function(){return{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:[{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,flow_id:""},pageKey:1}},watch:{},created:function(){},mounted:function(){var t=this;this.GetFlowTaskList(),l["f"](Object(o["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:{flowSelectOnChnage:function(t){this.init.flow_id=t,this.GetFlowTaskList()},GetFlowIdSelect:function(){var t=this;l["a"]((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(o["a"])(r.a.mark((function t(){var e,n;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_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()}}},u=d,p=n("2877"),h=Object(p["a"])(u,i,a,!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["c"])(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["c"])(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 i=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}])},[n("Table",{attrs:{columns:t.columns,data:t.tableData,loading:t.loading},scopedSlots:t._u([{key:"todo",fn:function(e){var i=e.row;return t._l(i.todo,(function(e,i){return n("span",{key:i},[t._v(t._s(e.replace("[","").replace("]","").replace('"',"")))])}))}},{key:"partcipant",fn:function(e){var i=e.row;return t._l(i.partcipant,(function(e,i){return n("span",{key:i},[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 i=e.row;return[n("Tag",{attrs:{color:t.publicState.completeFlow.color[i.action_type]}},[t._v("\n "+t._s(t.publicState.completeFlow.action_type[i.action_type])+"\n ")])]}},{key:"action",fn:function(e){var i=e.row;return[n("a",{on:{click:function(e){return t.approvalLisFun(i)}}},[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)},a=[],o=(n("96cf"),n("1da1")),r=n("967e"),s=n.n(r),l=(n("61be"),n("7f6b")),c=n("5ccc"),d={name:"list",computed:{publicState:function(){return c["a"]}},data:function(){return{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(o["a"])(s.a.mark((function t(){var e,n;return s.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,l["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,i,a,!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["c"])(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["c"])(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 r=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,r){return i("Option",{key:r,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,r){return i("Option",{key:r,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,r){return i("div",{key:r,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)},a=[],n=(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(n["a"])(s.a.mark((function t(i){var r,a,o;return s.a.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return r=d.a.cloneDeep(e.formValidate),a=r.files_list,delete r.files_list,o={changecommitid:i,flowid:e.flowid,module_id:e.module_id,module:e.module,notice:r,files_list:a},t.next=6,l["c"](Object(n["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(n["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,r){i.id===e.id&&t.formValidate.files_list.splice(r,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(n["a"])(s.a.mark((function e(t){var i,r;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["tc"](this.formValidate.files_list.module,i);case 5:return r=e.sent,this.formValidate.files_list.push(r.response),l["e"](r),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(n["a"])(s.a.mark((function t(i){var r,a;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,r=d.a.cloneDeep(e.formValidate),t.next=6,c["q"](r);case 6:a=t.sent,l["e"](a),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(n["a"])(s.a.mark((function e(){var t,i,r;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["lc"]();case 6:return i=e.sent,this.teamSelect=i.response,e.next=10,c["Nb"]();case 10:r=e.sent,this.noticeSelect=r.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,r,a,!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["e"](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 r=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 r=t.row;return[n("a",{on:{click:function(t){return e.update(r)}}},[e._v("修改")]),n("a",{staticStyle:{color:"red","margin-left":"10px"},on:{click:function(t){return e.roleDelete(r)}}},[e._v("删除")]),n("Modal",{attrs:{title:""+e.ModalTitleValue,"cancel-text":"取消","ok-text":"确认","mask-closable":!0},on:{"on-ok":function(t){return e.modalOk(r)}},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)},o=[],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["pc"](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,r;return s.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=this.modalOkDataAction(t),e.next=3,l["rc"](n);case 3:return r=e.sent,this.publicMessage(r),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,r,o,!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 r=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,r){return n("Option",{key:r,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,r){return n("div",{key:r,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)},i=[],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,r){n.id===e.id&&t.files_list.splice(r,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,r;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["tc"](this.module,n);case 5:return r=e.sent,this.files_list.push(r.response),l["e"](r),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["c"](Object(a["a"])(s.a.mark((function t(){var n,r;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 r=t.sent,setTimeout((function(){localStorage.setItem("updataEvent","getDataEvent"),window.close()}),1500),t.abrupt("return",r);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,r;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["lc"]();case 6:return n=e.sent,this.teamSelect=n.response,e.next=10,c["Nb"]();case 10:r=e.sent,this.noticeSelect=r.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,r,i,!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
此差异已折叠。
...@@ -15,6 +15,7 @@ ...@@ -15,6 +15,7 @@
"better-scroll": "^1.12.1", "better-scroll": "^1.12.1",
"dayjs": "^1.8.9", "dayjs": "^1.8.9",
"echarts": "^4.1.0", "echarts": "^4.1.0",
"element-ui": "^2.15.14",
"js-cookie": "^2.2.0", "js-cookie": "^2.2.0",
"lodash": "^4.17.21", "lodash": "^4.17.21",
"lowdb": "^1.0.0", "lowdb": "^1.0.0",
...@@ -3700,6 +3701,11 @@ ...@@ -3700,6 +3701,11 @@
"node": ">=0.10.0" "node": ">=0.10.0"
} }
}, },
"node_modules/babel-helper-vue-jsx-merge-props": {
"version": "2.0.3",
"resolved": "https://registry.npmmirror.com/babel-helper-vue-jsx-merge-props/-/babel-helper-vue-jsx-merge-props-2.0.3.tgz",
"integrity": "sha512-gsLiKK7Qrb7zYJNgiXKpXblxbV5ffSwR0f5whkPAaBAR4fhi6bwRZxX9wBlIc5M/v8CCkXUbXZL4N/nSE97cqg=="
},
"node_modules/babel-helpers": { "node_modules/babel-helpers": {
"version": "6.24.1", "version": "6.24.1",
"resolved": "https://registry.npmjs.org/babel-helpers/-/babel-helpers-6.24.1.tgz", "resolved": "https://registry.npmjs.org/babel-helpers/-/babel-helpers-6.24.1.tgz",
...@@ -6425,7 +6431,6 @@ ...@@ -6425,7 +6431,6 @@
"version": "1.3.2", "version": "1.3.2",
"resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-1.3.2.tgz", "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-1.3.2.tgz",
"integrity": "sha512-qjMjTrk+RKv/sp4RPDpV5CnKhxjFI9p+GkLBOls5A8EEElldYWCWA9zceAkmfd0xIo2aU1nxiaLFoiya2sb6Cg==", "integrity": "sha512-qjMjTrk+RKv/sp4RPDpV5CnKhxjFI9p+GkLBOls5A8EEElldYWCWA9zceAkmfd0xIo2aU1nxiaLFoiya2sb6Cg==",
"dev": true,
"engines": { "engines": {
"node": ">=0.10.0" "node": ">=0.10.0"
} }
...@@ -7114,6 +7119,30 @@ ...@@ -7114,6 +7119,30 @@
"batch-processor": "1.0.0" "batch-processor": "1.0.0"
} }
}, },
"node_modules/element-ui": {
"version": "2.15.14",
"resolved": "https://registry.npmmirror.com/element-ui/-/element-ui-2.15.14.tgz",
"integrity": "sha512-2v9fHL0ZGINotOlRIAJD5YuVB8V7WKxrE9Qy7dXhRipa035+kF7WuU/z+tEmLVPBcJ0zt8mOu1DKpWcVzBK8IA==",
"dependencies": {
"async-validator": "~1.8.1",
"babel-helper-vue-jsx-merge-props": "^2.0.0",
"deepmerge": "^1.2.0",
"normalize-wheel": "^1.0.1",
"resize-observer-polyfill": "^1.5.0",
"throttle-debounce": "^1.0.1"
},
"peerDependencies": {
"vue": "^2.5.17"
}
},
"node_modules/element-ui/node_modules/async-validator": {
"version": "1.8.5",
"resolved": "https://registry.npmmirror.com/async-validator/-/async-validator-1.8.5.tgz",
"integrity": "sha512-tXBM+1m056MAX0E8TL2iCjg8WvSyXu0Zc8LNtYqrVeyoL3+esHRZ4SieE9fKQyyU09uONjnMEjrNBMqT0mbvmA==",
"dependencies": {
"babel-runtime": "6.x"
}
},
"node_modules/elliptic": { "node_modules/elliptic": {
"version": "6.5.4", "version": "6.5.4",
"resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz", "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz",
...@@ -14392,6 +14421,11 @@ ...@@ -14392,6 +14421,11 @@
"node": ">=4" "node": ">=4"
} }
}, },
"node_modules/normalize-wheel": {
"version": "1.0.1",
"resolved": "https://registry.npmmirror.com/normalize-wheel/-/normalize-wheel-1.0.1.tgz",
"integrity": "sha512-1OnlAPZ3zgrk8B91HyRj+eVv+kS5u+Z0SCsak6Xil/kmgEia50ga7zfkumayonZrImffAxPU/5WcyGhzetHNPA=="
},
"node_modules/npm-path": { "node_modules/npm-path": {
"version": "2.0.4", "version": "2.0.4",
"resolved": "https://registry.npmjs.org/npm-path/-/npm-path-2.0.4.tgz", "resolved": "https://registry.npmjs.org/npm-path/-/npm-path-2.0.4.tgz",
...@@ -17290,6 +17324,11 @@ ...@@ -17290,6 +17324,11 @@
"integrity": "sha512-b/6tFZCmRhtBMa4xGqiiRp9jh9Aqi2A687Lo265cN0/QohJQEBPiQ52f4QB6i0eF3yp3hmLL21LSGBcML2dlxA==", "integrity": "sha512-b/6tFZCmRhtBMa4xGqiiRp9jh9Aqi2A687Lo265cN0/QohJQEBPiQ52f4QB6i0eF3yp3hmLL21LSGBcML2dlxA==",
"dev": true "dev": true
}, },
"node_modules/resize-observer-polyfill": {
"version": "1.5.1",
"resolved": "https://registry.npmmirror.com/resize-observer-polyfill/-/resize-observer-polyfill-1.5.1.tgz",
"integrity": "sha512-LwZrotdHOo12nQuZlHEmtuXdqGoOD0OhaxopaNFxWzInpEgaLWoVuAMbTzixuosCx2nEG58ngzW3vxdWoxIgdg=="
},
"node_modules/resolve": { "node_modules/resolve": {
"version": "1.22.0", "version": "1.22.0",
"resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.0.tgz", "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.0.tgz",
...@@ -19741,6 +19780,14 @@ ...@@ -19741,6 +19780,14 @@
"integrity": "sha1-iQN8vJLFarGJJua6TLsgDhVnKmo=", "integrity": "sha1-iQN8vJLFarGJJua6TLsgDhVnKmo=",
"dev": true "dev": true
}, },
"node_modules/throttle-debounce": {
"version": "1.1.0",
"resolved": "https://registry.npmmirror.com/throttle-debounce/-/throttle-debounce-1.1.0.tgz",
"integrity": "sha512-XH8UiPCQcWNuk2LYePibW/4qL97+ZQ1AN3FNXwZRBNPPowo/NRU5fAlDCSNBJIYCKbioZfuYtMhG4quqoJhVzg==",
"engines": {
"node": ">=4"
}
},
"node_modules/through": { "node_modules/through": {
"version": "2.3.8", "version": "2.3.8",
"resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz",
...@@ -25084,6 +25131,11 @@ ...@@ -25084,6 +25131,11 @@
} }
} }
}, },
"babel-helper-vue-jsx-merge-props": {
"version": "2.0.3",
"resolved": "https://registry.npmmirror.com/babel-helper-vue-jsx-merge-props/-/babel-helper-vue-jsx-merge-props-2.0.3.tgz",
"integrity": "sha512-gsLiKK7Qrb7zYJNgiXKpXblxbV5ffSwR0f5whkPAaBAR4fhi6bwRZxX9wBlIc5M/v8CCkXUbXZL4N/nSE97cqg=="
},
"babel-helpers": { "babel-helpers": {
"version": "6.24.1", "version": "6.24.1",
"resolved": "https://registry.npmjs.org/babel-helpers/-/babel-helpers-6.24.1.tgz", "resolved": "https://registry.npmjs.org/babel-helpers/-/babel-helpers-6.24.1.tgz",
...@@ -27429,8 +27481,7 @@ ...@@ -27429,8 +27481,7 @@
"deepmerge": { "deepmerge": {
"version": "1.3.2", "version": "1.3.2",
"resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-1.3.2.tgz", "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-1.3.2.tgz",
"integrity": "sha512-qjMjTrk+RKv/sp4RPDpV5CnKhxjFI9p+GkLBOls5A8EEElldYWCWA9zceAkmfd0xIo2aU1nxiaLFoiya2sb6Cg==", "integrity": "sha512-qjMjTrk+RKv/sp4RPDpV5CnKhxjFI9p+GkLBOls5A8EEElldYWCWA9zceAkmfd0xIo2aU1nxiaLFoiya2sb6Cg=="
"dev": true
}, },
"default-gateway": { "default-gateway": {
"version": "5.0.5", "version": "5.0.5",
...@@ -28004,6 +28055,29 @@ ...@@ -28004,6 +28055,29 @@
"batch-processor": "1.0.0" "batch-processor": "1.0.0"
} }
}, },
"element-ui": {
"version": "2.15.14",
"resolved": "https://registry.npmmirror.com/element-ui/-/element-ui-2.15.14.tgz",
"integrity": "sha512-2v9fHL0ZGINotOlRIAJD5YuVB8V7WKxrE9Qy7dXhRipa035+kF7WuU/z+tEmLVPBcJ0zt8mOu1DKpWcVzBK8IA==",
"requires": {
"async-validator": "~1.8.1",
"babel-helper-vue-jsx-merge-props": "^2.0.0",
"deepmerge": "^1.2.0",
"normalize-wheel": "^1.0.1",
"resize-observer-polyfill": "^1.5.0",
"throttle-debounce": "^1.0.1"
},
"dependencies": {
"async-validator": {
"version": "1.8.5",
"resolved": "https://registry.npmmirror.com/async-validator/-/async-validator-1.8.5.tgz",
"integrity": "sha512-tXBM+1m056MAX0E8TL2iCjg8WvSyXu0Zc8LNtYqrVeyoL3+esHRZ4SieE9fKQyyU09uONjnMEjrNBMqT0mbvmA==",
"requires": {
"babel-runtime": "6.x"
}
}
}
},
"elliptic": { "elliptic": {
"version": "6.5.4", "version": "6.5.4",
"resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz", "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz",
...@@ -34063,6 +34137,11 @@ ...@@ -34063,6 +34137,11 @@
"sort-keys": "^1.0.0" "sort-keys": "^1.0.0"
} }
}, },
"normalize-wheel": {
"version": "1.0.1",
"resolved": "https://registry.npmmirror.com/normalize-wheel/-/normalize-wheel-1.0.1.tgz",
"integrity": "sha512-1OnlAPZ3zgrk8B91HyRj+eVv+kS5u+Z0SCsak6Xil/kmgEia50ga7zfkumayonZrImffAxPU/5WcyGhzetHNPA=="
},
"npm-path": { "npm-path": {
"version": "2.0.4", "version": "2.0.4",
"resolved": "https://registry.npmjs.org/npm-path/-/npm-path-2.0.4.tgz", "resolved": "https://registry.npmjs.org/npm-path/-/npm-path-2.0.4.tgz",
...@@ -36497,6 +36576,11 @@ ...@@ -36497,6 +36576,11 @@
"integrity": "sha512-b/6tFZCmRhtBMa4xGqiiRp9jh9Aqi2A687Lo265cN0/QohJQEBPiQ52f4QB6i0eF3yp3hmLL21LSGBcML2dlxA==", "integrity": "sha512-b/6tFZCmRhtBMa4xGqiiRp9jh9Aqi2A687Lo265cN0/QohJQEBPiQ52f4QB6i0eF3yp3hmLL21LSGBcML2dlxA==",
"dev": true "dev": true
}, },
"resize-observer-polyfill": {
"version": "1.5.1",
"resolved": "https://registry.npmmirror.com/resize-observer-polyfill/-/resize-observer-polyfill-1.5.1.tgz",
"integrity": "sha512-LwZrotdHOo12nQuZlHEmtuXdqGoOD0OhaxopaNFxWzInpEgaLWoVuAMbTzixuosCx2nEG58ngzW3vxdWoxIgdg=="
},
"resolve": { "resolve": {
"version": "1.22.0", "version": "1.22.0",
"resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.0.tgz", "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.0.tgz",
...@@ -38550,6 +38634,11 @@ ...@@ -38550,6 +38634,11 @@
"integrity": "sha1-iQN8vJLFarGJJua6TLsgDhVnKmo=", "integrity": "sha1-iQN8vJLFarGJJua6TLsgDhVnKmo=",
"dev": true "dev": true
}, },
"throttle-debounce": {
"version": "1.1.0",
"resolved": "https://registry.npmmirror.com/throttle-debounce/-/throttle-debounce-1.1.0.tgz",
"integrity": "sha512-XH8UiPCQcWNuk2LYePibW/4qL97+ZQ1AN3FNXwZRBNPPowo/NRU5fAlDCSNBJIYCKbioZfuYtMhG4quqoJhVzg=="
},
"through": { "through": {
"version": "2.3.8", "version": "2.3.8",
"resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz",
...@@ -20,6 +20,7 @@ ...@@ -20,6 +20,7 @@
"better-scroll": "^1.12.1", "better-scroll": "^1.12.1",
"dayjs": "^1.8.9", "dayjs": "^1.8.9",
"echarts": "^4.1.0", "echarts": "^4.1.0",
"element-ui": "^2.15.14",
"js-cookie": "^2.2.0", "js-cookie": "^2.2.0",
"lodash": "^4.17.21", "lodash": "^4.17.21",
"lowdb": "^1.0.0", "lowdb": "^1.0.0",
......
...@@ -19,10 +19,10 @@ export const publicState = { ...@@ -19,10 +19,10 @@ export const publicState = {
"1": '审批中', "1": '审批中',
"2": '审批通过', "2": '审批通过',
"3": '审批不通过', "3": '审批不通过',
"4": '驳回', "4": '退回',
}, },
completeFlow: { completeFlow: {
action_type: ['待办', '发送', '退会', '驳回', '结束', '取消', '退回发起人'], action_type: ['待办', '发送', '退会', '退回', '结束', '取消', '退回发起人'],
color: ['default', 'success', 'warning', 'error', 'default', 'primary', 'volcano'] color: ['default', 'success', 'warning', 'error', 'default', 'primary', 'volcano']
} }
......
...@@ -17,6 +17,25 @@ export function publicConfirm(publicFunction) { ...@@ -17,6 +17,25 @@ export function publicConfirm(publicFunction) {
}); });
} }
export function saveForm(ok, cancel) {
// 公共弹窗删除
Modal.confirm({
title: '警告',
content: '<p>是否保存表单再退出?</p>',
cancelText: "否",
okText: '是',
onOk: async () => {
// 接收需执行的方法
await ok()
console.log("🚀🚀🚀,1")
},
onCancel: async () => {
// 接收需执行的方法
await cancel()
},
});
}
export function publicMessage(res) { export function publicMessage(res) {
// 弹窗封装 // 弹窗封装
if (res.code !== 1) { if (res.code !== 1) {
......
...@@ -37,6 +37,18 @@ import {getHeaderName, getMenuSider, getSiderSubmenu} from '@/libs/system'; ...@@ -37,6 +37,18 @@ import {getHeaderName, getMenuSider, getSiderSubmenu} from '@/libs/system';
import iLink from '@/components/link'; import iLink from '@/components/link';
import iFrame from '@/components/frame'; import iFrame from '@/components/frame';
import {Button, Select} from 'element-ui';
Vue.component('el-button', Button)
Vue.component('el-select', Select)
Vue.use(Button)
Vue.use(Select)
/* 或写为
* Vue.use(Button)
* Vue.use(Select)
*/
// 使用样式,修改主题可以在 styles 目录下创建新的主题包并修改 iView 默认的 less 变量 // 使用样式,修改主题可以在 styles 目录下创建新的主题包并修改 iView 默认的 less 变量
// 参考 https://www.iviewui.com/docs/guide/theme // 参考 https://www.iviewui.com/docs/guide/theme
import './styles/index.less'; import './styles/index.less';
...@@ -48,6 +60,7 @@ import VueImagePreview from 'vue-image-preview'; ...@@ -48,6 +60,7 @@ import VueImagePreview from 'vue-image-preview';
import pdf from 'vue-pdf' import pdf from 'vue-pdf'
import Cookies from "js-cookie"; import Cookies from "js-cookie";
import {publicState} from "@/configState"; import {publicState} from "@/configState";
import * as hook from '@/hook/index'
if (window) window.$t = (key, value) => i18n.t(key, value); if (window) window.$t = (key, value) => i18n.t(key, value);
Vue.prototype.protocolHost = 'https://asc.hnasct.cn' Vue.prototype.protocolHost = 'https://asc.hnasct.cn'
...@@ -55,6 +68,7 @@ Vue.prototype.getUserRole = () => { ...@@ -55,6 +68,7 @@ Vue.prototype.getUserRole = () => {
let info = JSON.parse(decodeURIComponent(Cookies.get('admin-competition-userinfo'))) let info = JSON.parse(decodeURIComponent(Cookies.get('admin-competition-userinfo')))
return info ? info.role[0].split('').includes('员') : false return info ? info.role[0].split('').includes('员') : false
} }
Vue.prototype.hooks = hook
Vue.prototype.publicState = publicState Vue.prototype.publicState = publicState
Vue.use(plugins); Vue.use(plugins);
Vue.use(ViewUI, { Vue.use(ViewUI, {
......
...@@ -67,6 +67,8 @@ ...@@ -67,6 +67,8 @@
<template v-slot:action="{row}"> <template v-slot:action="{row}">
<!-- <a @click="importFile(row)">导出</a>--> <!-- <a @click="importFile(row)">导出</a>-->
<a @click="signUpdate(row)" v-if="row.approval_state === 4">编辑</a>
<a style="cursor: not-allowed;color: #9297a1" v-else>编辑</a>
<a @click="edit(row)" style="margin-left: 15px;">详细</a> <a @click="edit(row)" style="margin-left: 15px;">详细</a>
<Poptip confirm transfer title="你确定删除吗?" @on-ok="delCompetition(row)" @on-cancel="cancel"> <Poptip confirm transfer title="你确定删除吗?" @on-ok="delCompetition(row)" @on-cancel="cancel">
<a style="margin-left: 15px;color: red">删除</a> <a style="margin-left: 15px;color: red">删除</a>
...@@ -184,6 +186,21 @@ ...@@ -184,6 +186,21 @@
<!-- <Button type="primary" @click="importOk">确定</Button>--> <!-- <Button type="primary" @click="importOk">确定</Button>-->
</template> </template>
</Modal> </Modal>
<Modal
v-model="updateSignModal"
title="修改"
width="60"
:styles="{top:'10px'}"
>
<Spin fix v-if="importLoading"></Spin>
<div style=" display: flex;justify-content: space-around;">
<UpdateSignModal v-if="updateSignModal" @resultValue="resultValue" :signId="signId"></UpdateSignModal>
</div>
<template #footer>
<Button type="text" @click="importModal =false">关闭</Button>
<!-- <Button type="primary" @click="importOk">确定</Button>-->
</template>
</Modal>
</div> </div>
</template> </template>
...@@ -191,12 +208,17 @@ ...@@ -191,12 +208,17 @@
import * as hook from '../../hook' import * as hook from '../../hook'
import * as api from '../../api/requestUtils' import * as api from '../../api/requestUtils'
import _ from "lodash"; import _ from "lodash";
import UpdateSignModal from './components/UpdateSignModal.vue'
export default { export default {
name: 'list', name: 'list',
components: {
UpdateSignModal,
},
data() { data() {
return { return {
signId: '',
updateSignModal: false,
keys1: 1, keys1: 1,
columnsStudent: [ columnsStudent: [
{ {
...@@ -458,6 +480,7 @@ export default { ...@@ -458,6 +480,7 @@ export default {
{value: 1, label: '审批中'}, {value: 1, label: '审批中'},
{value: 2, label: '审批通过'}, {value: 2, label: '审批通过'},
{value: 3, label: '审批不通过'}, {value: 3, label: '审批不通过'},
{value: 4, label: '退回'},
], ],
levelArray: [ levelArray: [
/* /*
...@@ -496,6 +519,16 @@ export default { ...@@ -496,6 +519,16 @@ export default {
this.GetLevelBySelect() this.GetLevelBySelect()
}, },
methods: { methods: {
resultValue(e) {
this.updateSignModal = e
this.getCompetitionSignList()
},
signUpdate(row) {
this.signId = row.competitionsignid
this.updateSignModal = true
},
async GetLevelBySelect() { async GetLevelBySelect() {
const res = await api.GetLevelBySelect() const res = await api.GetLevelBySelect()
this.search.levelArray = res.response this.search.levelArray = res.response
......
...@@ -648,13 +648,14 @@ export default { ...@@ -648,13 +648,14 @@ export default {
this.teamDrawer = true this.teamDrawer = true
}, },
async ok() { async ok() {
this.btLoad = true
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
const pass = await api.FlowApproval(data) const pass = await api.FlowApproval(data)
this.btLoad = false this.btLoad = false
hook.publicMessage(pass) hook.publicMessage(pass)
...@@ -669,6 +670,7 @@ export default { ...@@ -669,6 +670,7 @@ export default {
case 'revocation': case 'revocation':
this.$refs.formValidate.validate(async (value) => { this.$refs.formValidate.validate(async (value) => {
if (value) { if (value) {
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) {
......
...@@ -7,9 +7,23 @@ ...@@ -7,9 +7,23 @@
</div> </div>
</template> </template>
<template #extra> <template #extra>
<Select style="width: 15vw" @on-change="flowSelectOnChnage" placeholder="请选择流程名称">
<Option v-for="(item,index) in flowSelect" :key="index" :value="item.id">{{ item.name }}</Option> <div style="display: flex;">
</Select> <Button type="primary" style="margin-right: 1vw;">批量审批</Button>
<Select style="width: 12vw;margin-right: 1vw" @on-change="flowSelectOnChnage" placeholder="请选择流程名称">
<Option v-for="(item,index) in flowSelect" :key="index" :value="item.id">{{ item.name }}</Option>
</Select>
<Select style="width: 12vw;margin-right: 1vw">
<Option :label="item.name" v-for="(item,index) in flowStateArray" :key="index"></Option>
</Select>
<Select style="width: 12vw;margin-right: 1vw">
<Option :label="item.name" v-for="(item,index) in flowStateArray" :key="index"></Option>
</Select>
<Input v-model="search" placeholder="请输入标题或流程名称搜索..."
style="width: 12vw;margin-right: 1vw"></Input>
<Input v-model="search" placeholder="请输入姓名或工号搜索..." style="width: 12vw;margin-right: 1vw"></Input>
<Button type="primary">搜索</Button>
</div>
</template> </template>
<!-- <Button type="primary" class="ivu-ml-8" @click="add">--> <!-- <Button type="primary" class="ivu-ml-8" @click="add">-->
<!-- <Icon type="md-add"/>--> <!-- <Icon type="md-add"/>-->
...@@ -74,6 +88,20 @@ export default { ...@@ -74,6 +88,20 @@ export default {
data() { data() {
return { return {
flowStateArray: [
{
name: '草稿',
value: 0,
},
{
name: '运行中',
value: 1,
},
{
name: '已结束',
value: 2,
},
],
flowSelect: [], flowSelect: [],
formData: { formData: {
name: '', name: '',
...@@ -112,12 +140,17 @@ export default { ...@@ -112,12 +140,17 @@ export default {
xs: 24 xs: 24
}, },
columns: [ columns: [
// {
// title: '序号',
// type: 'index',
// align: 'center',
// show: true,
// width: 80
// },
{ {
title: '序号', type: 'selection',
type: 'index', width: 60,
align: 'center', align: 'center'
show: true,
width: 80
}, },
{ {
title: '标题', title: '标题',
......
...@@ -10,6 +10,20 @@ ...@@ -10,6 +10,20 @@
<!-- <Icon type="md-add"/>--> <!-- <Icon type="md-add"/>-->
<!-- 新增--> <!-- 新增-->
<!-- </Button>--> <!-- </Button>-->
<template #extra>
<div style="display: flex;">
<Select style="width: 15vw;margin-right: 1vw">
<Option :label="item.name" v-for="(item,index) in flowStateArray" :key="index"></Option>
</Select>
<Select style="width: 15vw;margin-right: 1vw">
<Option :label="item.name" v-for="(item,index) in flowStateArray" :key="index"></Option>
</Select>
<Input v-model="search" placeholder="请输入标题或流程名称搜索..."
style="width: 15vw;margin-right: 1vw"></Input>
<Input v-model="search" placeholder="请输入姓名或工号搜索..." style="width: 15vw;margin-right: 1vw"></Input>
<Button type="primary">搜索</Button>
</div>
</template>
<Table <Table
:columns="columns" :columns="columns"
:data="tableData" :data="tableData"
...@@ -139,6 +153,20 @@ export default { ...@@ -139,6 +153,20 @@ export default {
data() { data() {
return { return {
flowStateArray: [
{
name: '草稿',
value: 0,
},
{
name: '运行中',
value: 1,
},
{
name: '已结束',
value: 2,
},
],
formData: { formData: {
name: '', name: '',
url: '', url: '',
......
...@@ -2,10 +2,26 @@ ...@@ -2,10 +2,26 @@
<div> <div>
<Card ref="card"> <Card ref="card">
<template #title> <template #title>
<div style="height: 30px;display: flex;align-items: center"> <div style="height:30px;display: flex;align-items: center;flex-wrap: wrap;">
<h3>我的流程列表</h3> <h3>我的流程列表</h3>
</div>
</template>
<template #extra>
<div style="display: flex;">
<Select style="width: 15vw;margin-right: 1vw">
<Option :label="item.name" v-for="(item,index) in flowStateArray" :key="index"></Option>
</Select>
<Select style="width: 15vw;margin-right: 1vw">
<Option :label="item.name" v-for="(item,index) in flowStateArray" :key="index"></Option>
</Select>
<Input v-model="search" placeholder="请输入标题或流程名称搜索..."
style="width: 15vw;margin-right: 1vw"></Input>
<Input v-model="search" placeholder="请输入姓名或工号搜索..." style="width: 15vw;margin-right: 1vw"></Input>
<Button type="primary">搜索</Button>
</div> </div>
</template> </template>
<!-- <Button type="primary" class="ivu-ml-8" @click="add">--> <!-- <Button type="primary" class="ivu-ml-8" @click="add">-->
<!-- <Icon type="md-add"/>--> <!-- <Icon type="md-add"/>-->
<!-- 新增--> <!-- 新增-->
...@@ -141,6 +157,20 @@ export default { ...@@ -141,6 +157,20 @@ export default {
data() { data() {
return { return {
flowStateArray: [
{
name: '草稿',
value: 0,
},
{
name: '运行中',
value: 1,
},
{
name: '已结束',
value: 2,
},
],
cancelKey: 1, cancelKey: 1,
formData: { formData: {
name: '', name: '',
......
Markdown 格式
0% or
您添加了 0 人 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册 或