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

V20240119 添加奖项等

上级 3e35ac6c
流水线 #23779 已通过 ,包含阶段
in 37 second
[data-v-ebfbe842] .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-ebfbe842]:hover{color:#1e93ff;background-color:#f7f7f7}.fileddelete[data-v-ebfbe842]:hover{color:red;transform:scale(1.5)}.teamCardExtraText[data-v-ebfbe842]{font-size:18px;font-weight:600;font-family:宋体;color:#1e93ff}.Atext[data-v-ebfbe842]{margin-bottom:.7vw;margin-top:.7vw;font-size:16px;position:absolute}.Atext[data-v-ebfbe842]:hover{transform:scale(1.2)}.container[data-v-ebfbe842]{width:100%;min-height:687px;height:auto;align-content:center;overflow-y:auto}.container[data-v-ebfbe842],.tableList[data-v-22369d68]{display:flex;justify-content:center;flex-wrap:wrap}.tableList .container1[data-v-22369d68]{border-collapse:collapse}.tableList .container1 .row[data-v-22369d68]{width:100%;height:100%}.tableList .container1 .colTitle[data-v-22369d68]{text-align:center;width:200px;height:50px}.tableList .container1 .colContent[data-v-22369d68]{width:500px;height:50px;text-align:center}.Atext[data-v-22369d68]{margin-bottom:.7vw;margin-top:.7vw;font-size:16px}.teamCardExtraText[data-v-22369d68]{font-size:18px;font-weight:600;font-family:宋体;color:#1e93ff} [data-v-ebfbe842] .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-ebfbe842]:hover{color:#1e93ff;background-color:#f7f7f7}.fileddelete[data-v-ebfbe842]:hover{color:red;transform:scale(1.5)}.teamCardExtraText[data-v-ebfbe842]{font-size:18px;font-weight:600;font-family:宋体;color:#1e93ff}.Atext[data-v-ebfbe842]{margin-bottom:.7vw;margin-top:.7vw;font-size:16px;position:absolute}.Atext[data-v-ebfbe842]:hover{transform:scale(1.2)}.container[data-v-ebfbe842]{width:100%;min-height:687px;height:auto;align-content:center;overflow-y:auto}.container[data-v-ebfbe842],.tableList[data-v-a7bd839a]{display:flex;justify-content:center;flex-wrap:wrap}.tableList .container1[data-v-a7bd839a]{border-collapse:collapse}.tableList .container1 .row[data-v-a7bd839a]{width:100%;height:100%}.tableList .container1 .colTitle[data-v-a7bd839a]{text-align:center;width:200px;height:50px}.tableList .container1 .colContent[data-v-a7bd839a]{width:500px;height:50px;text-align:center}.Atext[data-v-a7bd839a]{margin-bottom:.7vw;margin-top:.7vw;font-size:16px}.teamCardExtraText[data-v-a7bd839a]{font-size:18px;font-weight:600;font-family:宋体;color:#1e93ff}
\ No newline at end of file \ No newline at end of file
[data-v-5d489080] .ivu-select-single .ivu-select-selection .ivu-select-placeholder{color:#515a6e}[data-v-5d489080] .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-5d489080]:hover{color:#1e93ff;background-color:#f7f7f7}.fileddelete[data-v-5d489080]: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{margin-left:auto;margin-bottom:.7vw;margin-top:.7vw;font-size:16px} [data-v-0def2d6d] .ivu-select-single .ivu-select-selection .ivu-select-placeholder{color:#515a6e}[data-v-0def2d6d] .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-0def2d6d]:hover{color:#1e93ff;background-color:#f7f7f7}.fileddelete[data-v-0def2d6d]: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{margin-left:auto;margin-bottom:.7vw;margin-top:.7vw;font-size:16px}
\ No newline at end of file \ No newline at end of file
[data-v-63fdc058] .ivu-select-single .ivu-select-selection .ivu-select-placeholder{color:#515a6e}[data-v-63fdc058] .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-63fdc058]:hover{color:#1e93ff;background-color:#f7f7f7}.fileddelete[data-v-63fdc058]: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:16px}.Atext:hover{transform:scale(1.2)}.tableList[data-v-abaf4d0c]{display:flex;justify-content:center;flex-wrap:wrap}.tableList .container1[data-v-abaf4d0c]{border-collapse:collapse}.tableList .container1 .row[data-v-abaf4d0c]{width:100%;height:100%}.tableList .container1 .colTitle[data-v-abaf4d0c]{text-align:center;width:200px;height:50px}.tableList .container1 .colContent[data-v-abaf4d0c]{width:500px;height:50px;text-align:center}.tableList .container1 .aText[data-v-abaf4d0c]:hover{transform:scale(1.2)}.tableList .container1 .Atext[data-v-abaf4d0c]{float:right;margin-bottom:.7vw;margin-top:.7vw;font-size:16px}.tableList .container1 .Atext[data-v-abaf4d0c]:hover{transform:scale(1.2)} [data-v-63fdc058] .ivu-select-single .ivu-select-selection .ivu-select-placeholder{color:#515a6e}[data-v-63fdc058] .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-63fdc058]:hover{color:#1e93ff;background-color:#f7f7f7}.fileddelete[data-v-63fdc058]: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:16px}.Atext:hover{transform:scale(1.2)}.tableList[data-v-55214261]{display:flex;justify-content:center;flex-wrap:wrap}.tableList .container1[data-v-55214261]{border-collapse:collapse}.tableList .container1 .row[data-v-55214261]{width:100%;height:100%}.tableList .container1 .colTitle[data-v-55214261]{text-align:center;width:200px;height:50px}.tableList .container1 .colContent[data-v-55214261]{width:500px;height:50px;text-align:center}.tableList .container1 .aText[data-v-55214261]:hover{transform:scale(1.2)}.tableList .container1 .Atext[data-v-55214261]{float:right;margin-bottom:.7vw;margin-top:.7vw;font-size:16px}.tableList .container1 .Atext[data-v-55214261]:hover{transform:scale(1.2)}
\ No newline at end of file \ No newline at end of file
<!DOCTYPE html><html><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0"><link rel="shortcut icon" href=favicon.ico><title>竞赛管理</title><link href=css/chunk-vendors.064c214c.css rel=stylesheet><link href=css/app.d0d2fa97.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.deb832fb.js></script><script src=js/app.049ace83.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.d0d2fa97.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.77a3c389.js></script><script src=js/app.5336f666.js></script></body></html>
\ No newline at end of file \ No newline at end of file
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-3a4fee04"],{"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:"auto"}},[n("Row",[n("Col",{attrs:{span:"6"}},[n("div",{staticStyle:{display:"flex","justify-content":"start"}},[n("Select",{staticStyle:{width:"15vw","margin-right":"1vw"},attrs:{placeholder:"请选择操作类型"},scopedSlots:t._u([{key:"prefix",fn:function(){return[n("div",{staticStyle:{width:"5vw",color:"#9C9C9C"}},[t._v("操作类型")])]},proxy:!0}]),model:{value:t.init.action_type,callback:function(e){t.$set(t.init,"action_type",e)},expression:"init.action_type"}},t._l(t.publicState.flowActionClass,(function(e,i){return n("Option",{key:i,attrs:{value:e.value}},[t._v("\n "+t._s(e.label)+"\n ")])})),1)],1)]),n("Col",{attrs:{span:"6"}},[n("div",{staticStyle:{display:"flex","justify-content":"center"}},[n("Select",{staticStyle:{width:"15vw"},attrs:{placeholder:"请选择流程状态"},scopedSlots:t._u([{key:"prefix",fn:function(){return[n("div",{staticStyle:{width:"5vw",color:"#9C9C9C"}},[t._v("流程状态")])]},proxy:!0}]),model:{value:t.init.status,callback:function(e){t.$set(t.init,"status",e)},expression:"init.status"}},t._l(t.publicState.flowState,(function(e,i){return n("Option",{key:i,attrs:{value:e.value}},[t._v(t._s(e.label)+"\n ")])})),1)],1)]),n("Col",{attrs:{span:"6"}},[n("div",{staticStyle:{display:"flex","justify-content":"center"}},[n("Input",{staticStyle:{width:"15vw"},attrs:{placeholder:"请输入标题"},scopedSlots:t._u([{key:"prepend",fn:function(){return[n("div",{staticStyle:{color:"#9C9C9C"}},[t._v("标题")])]},proxy:!0}]),model:{value:t.init.flow_name,callback:function(e){t.$set(t.init,"flow_name",e)},expression:"init.flow_name"}})],1)]),n("Col",{attrs:{span:"6"}},[n("div",{staticStyle:{display:"flex","justify-content":"flex-end"}},[n("Input",{staticStyle:{width:"15vw","margin-right":"1vw"},attrs:{placeholder:"请输入姓名或工号"},scopedSlots:t._u([{key:"prepend",fn:function(){return[n("div",{staticStyle:{color:"#9C9C9C"}},[t._v("姓名或工号")])]},proxy:!0}]),model:{value:t.init.key_name,callback:function(e){t.$set(t.init,"key_name",e)},expression:"init.key_name"}})],1)])],1),n("Row",{staticStyle:{"margin-top":"1vh"}},[n("Col",{attrs:{span:"6"}},[n("div",{staticStyle:{display:"flex","justify-content":"flex-start"}},[n("cs-button",{ref:"search",attrs:{"cs-text":"搜索","cs-click":t.search}}),n("cs-button",{ref:"batApproval",staticStyle:{"margin-left":"1vw"},attrs:{"cs-type":"warning","cs-style":"","cs-click":t.batApproval,"cs-text":"批量审批"}},[t._v("\n 批量审批\n ")])],1)]),n("Col",{attrs:{span:"6"}})],1)],1)]},proxy:!0}])},[n("Table",{attrs:{columns:t.columns,data:t.tableData,loading:t.loading},on:{"on-selection-change":t.onSelectionChange},scopedSlots:t._u([{key:"todo",fn:function(e){var 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("386d"),n("96cf"),n("1da1")),s=n("967e"),l=n.n(s),r=n("61be"),c=n("7f6b"),u=n("5ccc"),p={name:"list",computed:{publicState:function(){return u["a"]}},data:function(){return{batApprovalArray:[],ddd:"",ccc:"",bbb:"",aaa:"",flowStateArray:[{name:"草稿",value:0},{name:"运行中",value:1},{name:"已结束",value:2}],flowSelect:[],formData:{name:"",url:"",owner:"",type:"",approver:"",date:"",desc:""},approvalDrawer:!1,formValidate:{runid:"",title:"",flow_name:"",flow_id:"",status:0,action_type:0,starter:"",starter_name:"",start_time:"",current_node_id:"",current_node_name:"",todo:"",partcipant:"",modifyby:"",modifytime:"",form_id:"",form_name:""},grid:{xl:8,lg:12,md:24,sm:24,xs:24},columns:[{type:"selection",width:60,align:"center"},{title:"标题",key:"title",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:{action_type:"",status:"",key_name:"",flow_name:"",page_index:1,page_size:10,total:0,flow_id:""},pageKey:1}},watch:{$route:function(t,e){var n=this,i={"/flow-awaitDoneList-Certificate":function(){n.init.flow_id1=103,n.GetFlowTaskList()},"/flow-awaitDoneList":function(){n.init.flow_id1=102,n.GetFlowTaskList()}};i[t.path]()}},created:function(){},mounted:function(){var t=this,e={"/flow-awaitDoneList-Certificate":function(){t.init.flow_id1=103},"/flow-awaitDoneList":function(){t.init.flow_id1=102}};e[this.$route.path](),this.GetFlowTaskList(),r["storageAddEventListener"](Object(o["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:{search:function(){this.$refs.search.load=!0,this.init.status1=this.init.status,this.init.key_name1=this.init.key_name,this.init.action_type1=this.init.action_type,this.init.flow_id1=this.init.flow_id,this.init.flow_name1=this.init.flow_name,this.GetFlowTaskList(),this.$refs.search.load=!1},onSelectionChange:function(t){var e=[];t.map((function(t){e.push(t.runid)})),this.batApprovalArray=e},batApproval:function(){var t=this;r["publicConfirm"]((function(){return r["myEncapsulationFunction"](Object(o["a"])(l.a.mark((function e(){var n;return l.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t.$refs.batApproval.load=!0,e.next=3,c["FlowApprovalBatch"]({runid_list:t.batApprovalArray});case 3:return n=e.sent,t.$refs.batApproval.load=!1,t.GetFlowTaskList(),e.abrupt("return",n);case 7:case"end":return e.stop()}}),e)}))))}))},flowSelectOnChnage:function(t){this.init.flow_id=t,this.GetFlowTaskList()},GetFlowIdSelect:function(){var t=this;r["getInitListRequest"]((function(){c["GetFlowIdSelect"]().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"])(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_id1,key_name:this.init.key_name1,action_type:this.init.action_type1,status:this.init.status1,flow_name:this.init.flow_name1},t.next=4,c["GetFlowTaskList"](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=p,f=n("2877"),h=Object(f["a"])(d,i,a,!1,null,null,null);e["default"]=h.exports},"386d":function(t,e,n){"use strict";var i=n("cb7c"),a=n("83a1"),o=n("5f1b");n("214f")("search",1,(function(t,e,n,s){return[function(n){var i=t(this),a=void 0==n?void 0:n[e];return void 0!==a?a.call(n,i):new RegExp(n)[e](String(i))},function(t){var e=s(n,t,this);if(e.done)return e.value;var l=i(t),r=String(this),c=l.lastIndex;a(c,0)||(l.lastIndex=0);var u=o(l,r);return a(l.lastIndex,c)||(l.lastIndex=c),null===u?-1:u.index}]}))},"83a1":function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t===1/e:t!=t&&e!=e}}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-3a4fee04"],{"0ce8":function(t,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:"70px"}},[n("h3",[t._v("流程待办列表")]),n("div",{staticStyle:{display:"flex","justify-content":"space-between","align-items":"center","margin-top":"1.5vw"}},[n("Select",{staticStyle:{width:"20vw","margin-right":"1vw"},attrs:{disabled:!0,placeholder:"请选择流程名称"},scopedSlots:t._u([{key:"prefix",fn:function(){return[n("span",{staticStyle:{color:"#707575","margin-right":"1vw"}},[t._v("\n 流程名称\n ")])]},proxy:!0}]),model:{value:t.init.flow_id,callback:function(e){t.$set(t.init,"flow_id",e)},expression:"init.flow_id"}},t._l(t.flowSelect,(function(e,i){return n("Option",{key:i,attrs:{value:e.id}},[t._v(t._s(e.name))])})),1),n("Select",{staticStyle:{width:"20vw","margin-right":"1vw"},attrs:{placeholder:"请选择操作类型"},scopedSlots:t._u([{key:"prefix",fn:function(){return[n("span",{staticStyle:{color:"#707575","margin-right":"1vw"}},[t._v("\n 操作类型\n ")])]},proxy:!0}]),model:{value:t.init.action_type,callback:function(e){t.$set(t.init,"action_type",e)},expression:"init.action_type"}},t._l(t.publicState.flowActionClass,(function(e,i){return n("Option",{key:i,attrs:{value:e.value}},[t._v("\n "+t._s(e.label)+"\n ")])})),1),n("Select",{staticStyle:{width:"20vw"},attrs:{placeholder:"请选择流程状态"},scopedSlots:t._u([{key:"prefix",fn:function(){return[n("span",{staticStyle:{color:"#707575","margin-right":"1vw"}},[t._v("\n 流程状态\n ")])]},proxy:!0}]),model:{value:t.init.status,callback:function(e){t.$set(t.init,"status",e)},expression:"init.status"}},t._l(t.publicState.flowState,(function(e,i){return n("Option",{key:i,attrs:{value:e.value}},[t._v(t._s(e.label)+"\n ")])})),1)],1)])]},proxy:!0},{key:"extra",fn:function(){return[n("div",{staticStyle:{display:"flex"}},[n("div",{staticStyle:{display:"flex","align-items":"center"}},[n("span",[t._v("标题:")]),n("Input",{staticStyle:{width:"15vw","margin-right":"1vw"},attrs:{placeholder:"请输入标题"},model:{value:t.init.flow_name,callback:function(e){t.$set(t.init,"flow_name",e)},expression:"init.flow_name"}})],1),n("div",{staticStyle:{display:"flex","align-items":"center"}},[n("span",[t._v("姓名或工号:")]),n("Input",{staticStyle:{width:"15vw","margin-right":"1vw"},attrs:{placeholder:"请输入姓名或工号"},model:{value:t.init.key_name,callback:function(e){t.$set(t.init,"key_name",e)},expression:"init.key_name"}})],1),n("cs-button",{ref:"search",attrs:{"cs-text":"搜索","cs-click":t.search}}),n("cs-button",{ref:"batApproval",staticStyle:{"margin-left":"1vw"},attrs:{"cs-type":"warning","cs-style":"","cs-click":t.batApproval,"cs-text":"批量审批"}},[t._v("\n 批量审批\n ")])],1)]},proxy:!0}])},[n("Table",{attrs:{columns:t.columns,data:t.tableData,loading:t.loading},on:{"on-selection-change":t.onSelectionChange},scopedSlots:t._u([{key:"todo",fn:function(e){var 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=[],s=(n("386d"),n("96cf"),n("1da1")),o=n("967e"),r=n.n(o),l=n("61be"),c=n("7f6b"),u={name:"list",data:function(){return{batApprovalArray:[],ddd:"",ccc:"",bbb:"",aaa:"",flowStateArray:[{name:"草稿",value:0},{name:"运行中",value:1},{name:"已结束",value:2}],flowSelect:[],formData:{name:"",url:"",owner:"",type:"",approver:"",date:"",desc:""},approvalDrawer:!1,formValidate:{runid:"",title:"",flow_name:"",flow_id:"",status:0,action_type:0,starter:"",starter_name:"",start_time:"",current_node_id:"",current_node_name:"",todo:"",partcipant:"",modifyby:"",modifytime:"",form_id:"",form_name:""},grid:{xl:8,lg:12,md:24,sm:24,xs:24},columns:[{type:"selection",width:60,align:"center"},{title:"标题",key:"title",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:{action_type:"",status:"",key_name:"",flow_name:"",page_index:1,page_size:10,total:0,flow_id:""},pageKey:1}},watch:{},created:function(){},mounted:function(){var t=this,e={"/flow-awaitDoneList-Certificate":function(){t.init.flow_id1=103},"/flow-awaitDoneList":function(){t.init.flow_id1=102}};e[this.$route.path](),this.GetFlowTaskList(),l["storageAddEventListener"](Object(s["a"])(r.a.mark((function e(){return r.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t.GetFlowTaskList();case 2:case"end":return e.stop()}}),e)})))),this.GetFlowIdSelect()},methods:{search:function(){this.$refs.search.load=!0,this.init.status1=this.init.status,this.init.key_name1=this.init.key_name,this.init.action_type1=this.init.action_type,this.init.flow_id1=this.init.flow_id,this.init.flow_name1=this.init.flow_name,this.GetFlowTaskList(),this.$refs.search.load=!1},onSelectionChange:function(t){var e=[];t.map((function(t){e.push(t.runid)})),this.batApprovalArray=e},batApproval:function(){var t=this;l["publicConfirm"]((function(){return l["myEncapsulationFunction"](Object(s["a"])(r.a.mark((function e(){var n;return r.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t.$refs.batApproval.load=!0,e.next=3,c["FlowApprovalBatch"]({runid_list:t.batApprovalArray});case 3:return n=e.sent,t.$refs.batApproval.load=!1,t.GetFlowTaskList(),e.abrupt("return",n);case 7:case"end":return e.stop()}}),e)}))))}))},flowSelectOnChnage:function(t){this.init.flow_id=t,this.GetFlowTaskList()},GetFlowIdSelect:function(){var t=this;l["getInitListRequest"]((function(){c["GetFlowIdSelect"]().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(s["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_id1,key_name:this.init.key_name1,action_type:this.init.action_type1,status:this.init.status1,flow_name:this.init.flow_name1},t.next=4,c["GetFlowTaskList"](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()}}},p=u,d=n("2877"),f=Object(d["a"])(p,i,a,!1,null,null,null);e["default"]=f.exports},"386d":function(t,e,n){"use strict";var i=n("cb7c"),a=n("83a1"),s=n("5f1b");n("214f")("search",1,(function(t,e,n,o){return[function(n){var i=t(this),a=void 0==n?void 0:n[e];return void 0!==a?a.call(n,i):new RegExp(n)[e](String(i))},function(t){var e=o(n,t,this);if(e.done)return e.value;var r=i(t),l=String(this),c=r.lastIndex;a(c,0)||(r.lastIndex=0);var u=s(r,l);return a(r.lastIndex,c)||(r.lastIndex=c),null===u?-1:u.index}]}))},"83a1":function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t===1/e:t!=t&&e!=e}}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-45e8c55e"],{"386d":function(t,e,i){"use strict";var n=i("cb7c"),a=i("83a1"),s=i("5f1b");i("214f")("search",1,(function(t,e,i,o){return[function(i){var n=t(this),a=void 0==i?void 0:i[e];return void 0!==a?a.call(i,n):new RegExp(i)[e](String(n))},function(t){var e=o(i,t,this);if(e.done)return e.value;var l=n(t),r=String(this),c=l.lastIndex;a(c,0)||(l.lastIndex=0);var u=s(l,r);return a(l.lastIndex,c)||(l.lastIndex=c),null===u?-1:u.index}]}))},"83a1":function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t===1/e:t!=t&&e!=e}},"882e":function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("Card",{ref:"card",scopedSlots:t._u([{key:"title",fn:function(){return[i("div",{staticStyle:{height:"70px"}},[i("h3",[t._v("流程已办列表")]),i("div",{staticStyle:{display:"flex","justify-content":"space-between","align-items":"center","margin-top":"1.5vw"}},[i("Select",{staticStyle:{width:"20vw","margin-right":"1vw"},attrs:{disabled:!0,placeholder:"请选择流程名称"},scopedSlots:t._u([{key:"prefix",fn:function(){return[i("span",{staticStyle:{color:"#707575","margin-right":"1vw"}},[t._v("\n 流程名称\n ")])]},proxy:!0}]),model:{value:t.init.flow_id,callback:function(e){t.$set(t.init,"flow_id",e)},expression:"init.flow_id"}},t._l(t.flowSelect,(function(e,n){return i("Option",{key:n,attrs:{value:e.id}},[t._v(t._s(e.name))])})),1),i("Select",{staticStyle:{width:"20vw","margin-right":"1vw"},attrs:{placeholder:"请选择操作类型"},scopedSlots:t._u([{key:"prefix",fn:function(){return[i("span",{staticStyle:{color:"#707575","margin-right":"1vw"}},[t._v("\n 操作类型\n ")])]},proxy:!0}]),model:{value:t.init.action_type,callback:function(e){t.$set(t.init,"action_type",e)},expression:"init.action_type"}},t._l(t.publicState.flowActionClass,(function(e,n){return i("Option",{key:n,attrs:{value:e.value}},[t._v("\n "+t._s(e.label)+"\n ")])})),1),i("Select",{staticStyle:{width:"20vw"},attrs:{placeholder:"请选择流程状态"},scopedSlots:t._u([{key:"prefix",fn:function(){return[i("span",{staticStyle:{color:"#707575","margin-right":"1vw"}},[t._v("\n 流程状态\n ")])]},proxy:!0}]),model:{value:t.init.status,callback:function(e){t.$set(t.init,"status",e)},expression:"init.status"}},t._l(t.publicState.flowState,(function(e,n){return i("Option",{key:n,attrs:{value:e.value}},[t._v(t._s(e.label)+"\n ")])})),1)],1)])]},proxy:!0},{key:"extra",fn:function(){return[i("div",{staticStyle:{display:"flex"}},[i("div",{staticStyle:{display:"flex","align-items":"center"}},[i("span",[t._v("标题:")]),i("Input",{staticStyle:{width:"15vw","margin-right":"1vw"},attrs:{placeholder:"请输入标题"},model:{value:t.init.flow_name,callback:function(e){t.$set(t.init,"flow_name",e)},expression:"init.flow_name"}})],1),i("div",{staticStyle:{display:"flex","align-items":"center"}},[i("span",[t._v("姓名或工号:")]),i("Input",{staticStyle:{width:"15vw","margin-right":"1vw"},attrs:{placeholder:"请输入姓名或工号"},model:{value:t.init.key_name,callback:function(e){t.$set(t.init,"key_name",e)},expression:"init.key_name"}})],1),i("cs-button",{ref:"search",attrs:{"cs-text":"搜索","cs-click":t.search}})],1)]},proxy:!0}])},[i("Table",{attrs:{columns:t.columns,data:t.tableData,loading:t.loading},scopedSlots:t._u([{key:"todo",fn:function(e){var n=e.row;return t._l(n.todo,(function(e,n){return i("span",{key:n},[t._v(t._s(e.replace("[","").replace("]","").replace('"',"")))])}))}},{key:"partcipant",fn:function(e){var n=e.row;return t._l(n.partcipant,(function(e,n){return i("span",{key:n},[t._v(t._s(e.replace("[","").replace("]","").replace('"',"")))])}))}},{key:"status",fn:function(e){var i=e.row;return[t._v("\n "+t._s(["草稿","运行中","已结束"][i.status])+"\n ")]}},{key:"action_type",fn:function(e){var n=e.row;return[i("Tag",{attrs:{color:t.publicState.completeFlow.color[n.action_type]}},[t._v("\n "+t._s(t.publicState.completeFlow.action_type[n.action_type])+"\n ")])]}},{key:"action",fn:function(e){var n=e.row;return[i("a",{on:{click:function(e){return t.approvalLisFun(n)}}},[t._v("详细")])]}}])}),i("div",{staticStyle:{height:"60px",display:"flex","align-items":"center"}},[i("Page",{key:t.pageKey,attrs:{total:t.init.total,"show-total":"","show-sizer":"","page-size":t.init.page_size},on:{"on-change":t.handleChangePage,"on-page-size-change":t.handleChangePageSize},model:{value:t.init.page_index,callback:function(e){t.$set(t.init,"page_index",e)},expression:"init.page_index"}})],1)],1)],1)},a=[],s=(i("96cf"),i("1da1")),o=(i("386d"),i("967e")),l=i.n(o),r=i("61be"),c=i("7f6b"),u=i("5ccc"),d={name:"list",computed:{publicState:function(){return u["a"]}},data:function(){return{flowSelect:[],ddd:"",ccc:"",bbb:"",aaa:"",flowStateArray:[{name:"草稿",value:0},{name:"运行中",value:1},{name:"已结束",value:2}],formData:{name:"",url:"",owner:"",type:"",approver:"",date:"",desc:""},approvalDrawer:!1,formValidate:{runid:"",title:"",flow_name:"",flow_id:"",status:0,action_type:0,starter:"",starter_name:"",start_time:"",current_node_id:"",current_node_name:"",todo:"",partcipant:"",modifyby:"",modifytime:"",form_id:"",form_name:""},grid:{xl:8,lg:12,md:24,sm:24,xs:24},columns:[{title:"序号",type:"index",align:"center",show:!0,width:80},{title:"标题",key:"title",align:"center",show:!0,minWidth:300},{title:"流程名称",key:"flow_name",align:"center",show:!0,minWidth:150},{title:"状态",slot:"status",align:"center",show:!0,minWidth:100},{title:"操作类型",slot:"action_type",align:"center",show:!0,minWidth:120},{title:"当前节点名称",key:"current_node_name",align:"center",show:!0,minWidth:200},{title:"当前节点待办人员",slot:"todo",align:"center",show:!0,minWidth:200},{title:"参与人",slot:"partcipant",align:"center",show:!0,minWidth:200},{title:"发起人",key:"starter",align:"center",show:!0,minWidth:150},{title:"发起人姓名",key:"starter_name",align:"center",show:!0,minWidth:120},{title:"发起时间",key:"start_time",align:"center",show:!0,minWidth:150},{title:"操作",align:"center",minWidth:180,fixed:"right",show:!0,slot:"action"}],loading:!1,tableData:[{}],tableSize:"default",tableFullscreen:!1,total:0,collapse:!1,params:{pageIndex:1,pageSize:10,college_id:"",grade:"",classId_Name:"",status:""},init:{flow_id:"",action_type:"",status:"",key_name:"",flow_name:"",page_index:1,page_size:10,total:0},pageKey:1}},created:function(){},mounted:function(){var t=this,e={"/flow-processedList-Certificate":function(){t.init.flow_id1=103},"/flow-processedList ":function(){t.init.flow_id1=102}};e[this.$route.path](),this.GetFlowTaskList(),this.GetFlowIdSelect()},methods:{search:function(){this.$refs.search.load=!0,this.init.status1=this.init.status,this.init.key_name1=this.init.key_name,this.init.action_type1=this.init.action_type,this.init.flow_id1=this.init.flow_id,this.init.flow_name1=this.init.flow_name,this.GetFlowTaskList(),this.$refs.search.load=!1},GetFlowIdSelect:function(){var t=this;r["getInitListRequest"]((function(){c["GetFlowIdSelect"]().then((function(e){e.response.map((function(t,i){"102"===t.id&&(e.response.unshift(t),e.response.splice(i+1,1))})),t.flowSelect=e.response}))}))},GetFlowTaskList:function(){var t=Object(s["a"])(l.a.mark((function t(){var e,i;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_id1,key_name:this.init.key_name1,action_type:this.init.action_type1,status:this.init.status1,flow_name:this.init.flow_name1},t.next=4,c["GetAlreadyFlowTaskList"](e);case 4:i=t.sent,this.init.total=i.response.data_count,this.tableData=i.response.data,this.loading=!1;case 8:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),add:function(){this.$refs.addEdit.add()},approvalLisFun:function(t){this.$router.push({name:"awaitDoneInformation",query:{runid:t.runid,form_name:t.form_name,flowInfo:"流程详细信息"}}),console.log("🚀🚀🚀,",t)},del:function(t){console.log("删除"),this.$Message.info("删除成功")},cancel:function(){this.$Message.info("You click cancel")},handleChangePage:function(t){this.init.page_index=t,this.GetFlowTaskList()},handleChangePageSize:function(t){this.init.page_size=t,this.GetFlowTaskList()}}},p=d,f=i("2877"),h=Object(f["a"])(p,n,a,!1,null,null,null);e["default"]=h.exports}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-45e8c55e"],{"386d":function(t,e,i){"use strict";var n=i("cb7c"),a=i("83a1"),s=i("5f1b");i("214f")("search",1,(function(t,e,i,o){return[function(i){var n=t(this),a=void 0==i?void 0:i[e];return void 0!==a?a.call(i,n):new RegExp(i)[e](String(n))},function(t){var e=o(i,t,this);if(e.done)return e.value;var l=n(t),r=String(this),c=l.lastIndex;a(c,0)||(l.lastIndex=0);var u=s(l,r);return a(l.lastIndex,c)||(l.lastIndex=c),null===u?-1:u.index}]}))},"83a1":function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t===1/e:t!=t&&e!=e}},"882e":function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("Card",{ref:"card",scopedSlots:t._u([{key:"title",fn:function(){return[i("div",{staticStyle:{height:"auto"}},[i("Row",[i("Col",{attrs:{span:6}},[i("div",{staticStyle:{display:"flex","justify-content":"flex-start"}},[i("Select",{staticStyle:{width:"15vw","margin-right":"1vw"},attrs:{placeholder:"请选择操作类型"},scopedSlots:t._u([{key:"prefix",fn:function(){return[i("div",{staticStyle:{width:"5vw",color:"#9C9C9C"}},[t._v("操作类型")])]},proxy:!0}]),model:{value:t.init.action_type,callback:function(e){t.$set(t.init,"action_type",e)},expression:"init.action_type"}},t._l(t.publicState.flowActionClass,(function(e,n){return i("Option",{key:n,attrs:{value:e.value}},[t._v("\n "+t._s(e.label)+"\n ")])})),1)],1)]),i("Col",{attrs:{span:6}},[i("div",{staticStyle:{display:"flex","justify-content":"center"}},[i("Select",{staticStyle:{width:"15vw"},attrs:{placeholder:"请选择流程状态"},scopedSlots:t._u([{key:"prefix",fn:function(){return[i("div",{staticStyle:{width:"5vw",color:"#9C9C9C"}},[t._v("流程状态")])]},proxy:!0}]),model:{value:t.init.status,callback:function(e){t.$set(t.init,"status",e)},expression:"init.status"}},t._l(t.publicState.flowState,(function(e,n){return i("Option",{key:n,attrs:{value:e.value}},[t._v(t._s(e.label)+"\n ")])})),1)],1)]),i("Col",{attrs:{span:6}},[i("div",{staticStyle:{display:"flex","justify-content":"center"}},[i("Input",{staticStyle:{width:"15vw"},attrs:{placeholder:"请输入标题"},scopedSlots:t._u([{key:"prepend",fn:function(){return[i("div",{staticStyle:{color:"#9C9C9C"}},[t._v("标题")])]},proxy:!0}]),model:{value:t.init.flow_name,callback:function(e){t.$set(t.init,"flow_name",e)},expression:"init.flow_name"}})],1)]),i("Col",{attrs:{span:6}},[i("div",{staticStyle:{display:"flex","justify-content":"flex-end"}},[i("Input",{staticStyle:{width:"15vw"},attrs:{placeholder:"请输入姓名或工号"},scopedSlots:t._u([{key:"prepend",fn:function(){return[i("div",{staticStyle:{color:"#9C9C9C"}},[t._v("姓名或工号")])]},proxy:!0}]),model:{value:t.init.key_name,callback:function(e){t.$set(t.init,"key_name",e)},expression:"init.key_name"}})],1)])],1),i("Row",{staticStyle:{"margin-top":"1vh"}},[i("Col",{attrs:{span:6}},[i("cs-button",{ref:"search",attrs:{"cs-text":"搜索","cs-click":t.search}})],1),i("Col",{attrs:{span:6}})],1)],1)]},proxy:!0}])},[i("Table",{attrs:{columns:t.columns,data:t.tableData,loading:t.loading},scopedSlots:t._u([{key:"todo",fn:function(e){var n=e.row;return t._l(n.todo,(function(e,n){return i("span",{key:n},[t._v(t._s(e.replace("[","").replace("]","").replace('"',"")))])}))}},{key:"partcipant",fn:function(e){var n=e.row;return t._l(n.partcipant,(function(e,n){return i("span",{key:n},[t._v(t._s(e.replace("[","").replace("]","").replace('"',"")))])}))}},{key:"status",fn:function(e){var i=e.row;return[t._v("\n "+t._s(["草稿","运行中","已结束"][i.status])+"\n ")]}},{key:"action_type",fn:function(e){var n=e.row;return[i("Tag",{attrs:{color:t.publicState.completeFlow.color[n.action_type]}},[t._v("\n "+t._s(t.publicState.completeFlow.action_type[n.action_type])+"\n ")])]}},{key:"action",fn:function(e){var n=e.row;return[i("a",{on:{click:function(e){return t.approvalLisFun(n)}}},[t._v("详细")])]}}])}),i("div",{staticStyle:{height:"60px",display:"flex","align-items":"center"}},[i("Page",{key:t.pageKey,attrs:{total:t.init.total,"show-total":"","show-sizer":"","page-size":t.init.page_size},on:{"on-change":t.handleChangePage,"on-page-size-change":t.handleChangePageSize},model:{value:t.init.page_index,callback:function(e){t.$set(t.init,"page_index",e)},expression:"init.page_index"}})],1)],1)],1)},a=[],s=(i("96cf"),i("1da1")),o=(i("386d"),i("967e")),l=i.n(o),r=i("61be"),c=i("7f6b"),u=i("5ccc"),d={name:"list",computed:{publicState:function(){return u["a"]}},data:function(){return{flowSelect:[],ddd:"",ccc:"",bbb:"",aaa:"",flowStateArray:[{name:"草稿",value:0},{name:"运行中",value:1},{name:"已结束",value:2}],formData:{name:"",url:"",owner:"",type:"",approver:"",date:"",desc:""},approvalDrawer:!1,formValidate:{runid:"",title:"",flow_name:"",flow_id:"",status:0,action_type:0,starter:"",starter_name:"",start_time:"",current_node_id:"",current_node_name:"",todo:"",partcipant:"",modifyby:"",modifytime:"",form_id:"",form_name:""},grid:{xl:8,lg:12,md:24,sm:24,xs:24},columns:[{title:"序号",type:"index",align:"center",show:!0,width:80},{title:"标题",key:"title",align:"center",show:!0,minWidth:300},{title:"流程名称",key:"flow_name",align:"center",show:!0,minWidth:150},{title:"状态",slot:"status",align:"center",show:!0,minWidth:100},{title:"操作类型",slot:"action_type",align:"center",show:!0,minWidth:120},{title:"当前节点名称",key:"current_node_name",align:"center",show:!0,minWidth:200},{title:"当前节点待办人员",slot:"todo",align:"center",show:!0,minWidth:200},{title:"参与人",slot:"partcipant",align:"center",show:!0,minWidth:200},{title:"发起人",key:"starter",align:"center",show:!0,minWidth:150},{title:"发起人姓名",key:"starter_name",align:"center",show:!0,minWidth:120},{title:"发起时间",key:"start_time",align:"center",show:!0,minWidth:150},{title:"操作",align:"center",minWidth:180,fixed:"right",show:!0,slot:"action"}],loading:!1,tableData:[{}],tableSize:"default",tableFullscreen:!1,total:0,collapse:!1,params:{pageIndex:1,pageSize:10,college_id:"",grade:"",classId_Name:"",status:""},init:{flow_id:"",action_type:"",status:"",key_name:"",flow_name:"",page_index:1,page_size:10,total:0},pageKey:1}},created:function(){},watch:{$route:function(t,e){var i=this,n={"/flow-processedList-Certificate":function(){i.init.flow_id1=103,i.GetFlowTaskList()},"/flow-processedList ":function(){i.init.flow_id1=102,i.GetFlowTaskList()}};n[t.path]()}},mounted:function(){var t=this,e={"/flow-processedList-Certificate":function(){t.init.flow_id1=103},"/flow-processedList ":function(){t.init.flow_id1=102}};e[this.$route.path](),this.GetFlowTaskList(),this.GetFlowIdSelect()},methods:{search:function(){this.$refs.search.load=!0,this.init.status1=this.init.status,this.init.key_name1=this.init.key_name,this.init.action_type1=this.init.action_type,this.init.flow_id1=this.init.flow_id,this.init.flow_name1=this.init.flow_name,this.GetFlowTaskList(),this.$refs.search.load=!1},GetFlowIdSelect:function(){var t=this;r["getInitListRequest"]((function(){c["GetFlowIdSelect"]().then((function(e){e.response.map((function(t,i){"102"===t.id&&(e.response.unshift(t),e.response.splice(i+1,1))})),t.flowSelect=e.response}))}))},GetFlowTaskList:function(){var t=Object(s["a"])(l.a.mark((function t(){var e,i;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_id1,key_name:this.init.key_name1,action_type:this.init.action_type1,status:this.init.status1,flow_name:this.init.flow_name1},t.next=4,c["GetAlreadyFlowTaskList"](e);case 4:i=t.sent,this.init.total=i.response.data_count,this.tableData=i.response.data,this.loading=!1;case 8:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),add:function(){this.$refs.addEdit.add()},approvalLisFun:function(t){this.$router.push({name:"awaitDoneInformation",query:{runid:t.runid,form_name:t.form_name,flowInfo:"流程详细信息"}}),console.log("🚀🚀🚀,",t)},del:function(t){console.log("删除"),this.$Message.info("删除成功")},cancel:function(){this.$Message.info("You click cancel")},handleChangePage:function(t){this.init.page_index=t,this.GetFlowTaskList()},handleChangePageSize:function(t){this.init.page_size=t,this.GetFlowTaskList()}}},p=d,f=i("2877"),h=Object(f["a"])(p,n,a,!1,null,null,null);e["default"]=h.exports}}]);
\ No newline at end of file
此差异已折叠。
此差异已折叠。
此差异已折叠。
...@@ -6,29 +6,35 @@ ...@@ -6,29 +6,35 @@
<div style="height:auto"> <div style="height:auto">
<!-- <h3>证书列表</h3>--> <!-- <h3>证书列表</h3>-->
<Row> <Row>
<Col span="6"> <!-- <Col span="6">-->
<Select :disabled="true" v-model="search.way" style="width: 15vw;"> <!-- <Select :disabled="true" v-model="search.way" style="width: 15vw;">-->
<template #prefix>参与方式</template> <!-- <template #prefix>-->
<Option v-for="(item,index) in search.wayArray" :value="item.value" :key="index"> {{ item.label }} <!-- <div style="width: 5vw;">参与方式</div>-->
</Option> <!-- </template>-->
</Select> <!-- <Option v-for="(item,index) in search.wayArray" :value="item.value" :key="index"> {{ item.label }}-->
</Col> <!-- </Option>-->
<!-- </Select>-->
<!-- </Col>-->
<Col span="6"> <Col span="6">
<div style="display: flex;align-items: center;justify-content: center"> <div style="display: flex;align-items: center;justify-content: start">
<Select v-model="search.level" style="width: 15vw;"> <Select v-model="search.level" style="width: 15vw;">
<template #prefix>赛事级别</template> <template #prefix>
<div style="width: 5vw;color: #9C9C9C">赛事级别</div>
</template>
<Option v-for="(item,index) in search.levelArray" :value="item.id" :key="index"> {{ item.name }} <Option v-for="(item,index) in search.levelArray" :value="item.id" :key="index"> {{ item.name }}
</Option> </Option>
</Select> </Select>
</div> </div>
</Col> </Col>
<Col span="6"> <Col span="6">
<div style="display: flex;align-items: center;justify-content: flex-end;"> <div style="display: flex;align-items: center;justify-content: center;">
<Select v-model="search.h_id" style="width: 15vw;"> <Select v-model="search.h_id" style="width: 15vw;">
<template #prefix>奖项</template> <template #prefix>
<div style="width: 5vw;color: #9C9C9C">奖项</div>
</template>
<Option v-for="(item,index) in search.awards" :value="item.id" :key="index"> <Option v-for="(item,index) in search.awards" :value="item.id" :key="index">
{{ item.name }} {{ item.name }}
</Option> </Option>
...@@ -38,22 +44,27 @@ ...@@ -38,22 +44,27 @@
<Col span="6"> <Col span="6">
<div style="display: flex;align-items: center;justify-content: flex-end;"> <div style="display: flex;align-items: center;justify-content: flex-end;">
<Select v-model="search.approval_state" style="width: 15vw;"> <Select v-model="search.approval_state" style="width: 15vw;">
<template #prefix>审批状态</template> <template #prefix>
<div style="width: 5vw;color: #9C9C9C">审批状态</div>
</template>
<Option v-for="(item,index) in search.approval_stateArray" :value="item.value" :key="index"> <Option v-for="(item,index) in search.approval_stateArray" :value="item.value" :key="index">
{{ item.label }} {{ item.label }}
</Option> </Option>
</Select> </Select>
</div> </div>
</Col> </Col>
</Row>
<Row style="margin-top: 1vh;">
<Col span="6"> <Col span="6">
<div style="display: flex;align-items: center;justify-content: flex-end;">
<Input v-model="search.name" placeholder="请输入竞赛名称..." style="width: 15vw;"> <Input v-model="search.name" placeholder="请输入竞赛名称..." style="width: 15vw;">
<template #prepend> <template #prepend>
竞赛名称 <div style="color: #9C9C9C">竞赛名称</div>
</template> </template>
</Input> </Input>
</div>
</Col> </Col>
</Row>
<Row style="margin-top: 1vh;">
</Row> </Row>
<Row style="margin-top: 1vh;"> <Row style="margin-top: 1vh;">
<Col span="6"> <Col span="6">
...@@ -102,11 +113,8 @@ ...@@ -102,11 +113,8 @@
<template #approval_state="{row}"> <template #approval_state="{row}">
{{ ['未审批', '审批中', '审批通过', '审批不通过'][row.approval_state] }} {{ ['未审批', '审批中', '审批通过', '审批不通过'][row.approval_state] }}
</template> </template>
<template #team_info> <template #team_info="{row}">
<p>一等奖</p> <Ellipsis :text="row.team_info" :height="60" tooltip/>
<p>二等奖</p>
<p>三等奖</p>
</template> </template>
<template v-slot:action="{row}"> <template v-slot:action="{row}">
<a @click="compile(row)" style="margin-left: 15px;">填报获奖信息</a> <a @click="compile(row)" style="margin-left: 15px;">填报获奖信息</a>
...@@ -549,6 +557,13 @@ export default { ...@@ -549,6 +557,13 @@ export default {
show: true, show: true,
minWidth: 120, minWidth: 120,
}, },
{
title: '奖项',
slot: 'team_info',
align: 'center',
show: true,
minWidth: 150,
},
// { // {
// title: '证书名称', // title: '证书名称',
// key: 'certificate_name', // key: 'certificate_name',
...@@ -585,13 +600,7 @@ export default { ...@@ -585,13 +600,7 @@ export default {
show: true, show: true,
minWidth: 150, minWidth: 150,
}, },
{
title: '奖项',
slot: 'team_info',
align: 'center',
show: true,
minWidth: 150,
},
{ {
title: '操作', title: '操作',
align: 'center', align: 'center',
...@@ -670,6 +679,7 @@ export default { ...@@ -670,6 +679,7 @@ export default {
status: '' status: ''
}, },
search: { search: {
currentH_id: '',
h_id: '', h_id: '',
way: '', way: '',
name: '', name: '',
...@@ -761,6 +771,7 @@ export default { ...@@ -761,6 +771,7 @@ export default {
importData() { importData() {
hook.myEncapsulationFunction(async () => { hook.myEncapsulationFunction(async () => {
let data = { let data = {
h_id: this.search.currentH_id,
"name": this.search.wayCurrentValuethis, "name": this.search.wayCurrentValuethis,
"level": this.search.levelCurrentValue, "level": this.search.levelCurrentValue,
"way": this.search.wayCurrentValue, "way": this.search.wayCurrentValue,
......
...@@ -7,21 +7,20 @@ ...@@ -7,21 +7,20 @@
<div style="height: auto"> <div style="height: auto">
<!-- <h3>报名列表</h3>--> <!-- <h3>报名列表</h3>-->
<Row> <Row>
<!-- <Col span="6">-->
<!-- <Select v-model="search.way" style="width: 15vw;">-->
<!-- <template #prefix>-->
<!-- 参与方式-->
<!-- </template>-->
<!-- <Option v-for="(item,index) in search.wayArray" :value="item.value" :key="index"> {{ item.label }}-->
<!-- </Option>-->
<!-- </Select>-->
<!-- </Col>-->
<Col span="6"> <Col span="6">
<Select v-model="search.way" style="width: 15vw;"> <div style="display: flex;align-items: center;justify-content: flex-start">
<template #prefix>
参与方式
</template>
<Option v-for="(item,index) in search.wayArray" :value="item.value" :key="index"> {{ item.label }}
</Option>
</Select>
</Col>
<Col span="6">
<div style="display: flex;align-items: center;justify-content: center">
<Select v-model="search.level" style="width: 15vw;"> <Select v-model="search.level" style="width: 15vw;">
<template #prefix> <template #prefix>
竞赛等级 <div style="width: 5vw;color: #9C9C9C">竞赛等级</div>
</template> </template>
<Option v-for="(item,index) in search.levelArray" :value="item.id" :key="index"> {{ item.name }} <Option v-for="(item,index) in search.levelArray" :value="item.id" :key="index"> {{ item.name }}
</Option> </Option>
...@@ -29,10 +28,10 @@ ...@@ -29,10 +28,10 @@
</div> </div>
</Col> </Col>
<Col span="6"> <Col span="6">
<div style="display: flex;align-items: center;justify-content: flex-end;"> <div style="display: flex;align-items: center;justify-content:center;">
<Select v-model="search.approval_state" style="width: 15vw;"> <Select v-model="search.approval_state" style="width: 15vw;">
<template #prefix> <template #prefix>
审批状态 <div style="width: 5vw;color: #9C9C9C">审批状态</div>
</template> </template>
<Option v-for="(item,index) in search.approval_stateArray" :value="item.value" :key="index"> <Option v-for="(item,index) in search.approval_stateArray" :value="item.value" :key="index">
{{ item.label }} {{ item.label }}
...@@ -43,17 +42,20 @@ ...@@ -43,17 +42,20 @@
<Col span="6"> <Col span="6">
<div style="display: flex;align-items: center;justify-content: flex-end;"> <div style="display: flex;align-items: center;justify-content: flex-end;">
<Input v-model="search.name" placeholder="请输入竞赛名称..." style="width: 15vw;"> <Input v-model="search.name" placeholder="请输入竞赛名称..." style="width: 15vw;">
<template #prepend>竞赛名称</template> <template #prepend>
<div style="color: #9C9C9C">竞赛名称</div>
</template>
</Input> </Input>
</div> </div>
</Col> </Col>
</Row>
<Row style="margin-top: 1vh;">
<Col span="6"> <Col span="6">
<div style="display: flex;align-items: center;justify-content: flex-end;">
<Button type="primary" :disabled="searchButton" @click="searchFun">查找</Button> <Button type="primary" :disabled="searchButton" @click="searchFun">查找</Button>
</div>
</Col> </Col>
</Row> </Row>
</div> </div>
<!-- <Button type="primary" class="ivu-ml-8" @click="add"><Icon type="md-add"/>新增竞赛</Button>--> <!-- <Button type="primary" class="ivu-ml-8" @click="add"><Icon type="md-add"/>新增竞赛</Button>-->
......
...@@ -2,62 +2,86 @@ ...@@ -2,62 +2,86 @@
<div> <div>
<Card ref="card"> <Card ref="card">
<template #title> <template #title>
<div style="height: 70px;"> <div style="height: auto;">
<h3>流程待办列表</h3> <!-- <h3>流程待办列表</h3>-->
<div style="display: flex;justify-content: space-between;align-items: center;margin-top: 1.5vw;"> <Row>
<!-- @on-change="flowSelectOnChnage"--> <!-- <Col span="6">-->
<Select :disabled="true" v-model="init.flow_id" style="width: 20vw;margin-right: 1vw" <!-- <div style="display: flex;align-items: center;justify-content: flex-start">-->
placeholder="请选择流程名称"> <!-- <Select :disabled="true" v-model="init.flow_id" style="width: 15vw;margin-right: 1vw"-->
<!-- placeholder="请选择流程名称">-->
<!-- <template #prefix>-->
<!-- <div style="width: 5vw;color: #9C9C9C">流程名称</div>-->
<!-- </template>-->
<!-- <Option v-for="(item,index) in flowSelect" :key="index" :value="item.id">{{ item.name }}</Option>-->
<!-- </Select>-->
<!-- </div>-->
<!-- </Col>-->
<Col span="6">
<div style="display: flex;justify-content: start">
<Select v-model="init.action_type" style="width: 15vw;margin-right: 1vw" placeholder="请选择操作类型">
<template #prefix> <template #prefix>
<span style="color: #707575;margin-right: 1vw;"> <div style="width: 5vw;color: #9C9C9C">操作类型</div>
流程名称
</span>
</template>
<Option v-for="(item,index) in flowSelect" :key="index" :value="item.id">{{ item.name }}</Option>
</Select>
<Select v-model="init.action_type" style="width: 20vw;margin-right: 1vw" placeholder="请选择操作类型">
<template #prefix>
<span style="color: #707575;margin-right: 1vw;">
操作类型
</span>
</template> </template>
<Option :value="item.value" v-for="(item,index) in publicState.flowActionClass" :key="index"> <Option :value="item.value" v-for="(item,index) in publicState.flowActionClass" :key="index">
{{ item.label }} {{ item.label }}
</Option> </Option>
</Select> </Select>
<Select v-model="init.status" style="width: 20vw;" placeholder="请选择流程状态"> </div>
</Col>
<Col span="6">
<div style="display: flex;justify-content: center">
<Select v-model="init.status" style="width: 15vw;" placeholder="请选择流程状态">
<template #prefix> <template #prefix>
<span style="color: #707575;margin-right: 1vw;"> <div style="width: 5vw;color: #9C9C9C">流程状态</div>
流程状态
</span>
</template> </template>
<Option :value="item.value" v-for="(item,index) in publicState.flowState" :key="index">{{ item.label }} <Option :value="item.value" v-for="(item,index) in publicState.flowState" :key="index">{{
item.label
}}
</Option> </Option>
</Select> </Select>
</div> </div>
</div> </Col>
</template> <Col span="6">
<template #extra>
<div style="display: flex;">
<div style="display: flex;justify-content: center">
<div style="display: flex;align-items: center"> <Input style="width: 15vw;" v-model="init.flow_name" placeholder="请输入标题">
<span>标题:</span> <template #prepend>
<Input v-model="init.flow_name" placeholder="请输入标题" <div style="color: #9C9C9C">标题</div>
style="width: 15vw;margin-right: 1vw"></Input> </template>
</Input>
</div> </div>
<div style="display: flex;align-items: center"> </Col>
<span>姓名或工号:</span> <Col span="6">
<Input v-model="init.key_name" placeholder="请输入姓名或工号" style="width: 15vw;margin-right: 1vw"></Input> <div style="display: flex;justify-content: flex-end">
<Input v-model="init.key_name" placeholder="请输入姓名或工号" style="width: 15vw;margin-right: 1vw">
<template #prepend>
<div style="color: #9C9C9C">姓名或工号</div>
</template>
</Input>
</div> </div>
</Col>
</Row>
<Row style="margin-top: 1vh">
<Col span="6">
<div style="display: flex;justify-content: flex-start">
<cs-button ref="search" cs-text="搜索" :cs-click="search"></cs-button> <cs-button ref="search" cs-text="搜索" :cs-click="search"></cs-button>
<cs-button ref="batApproval" cs-type="warning" cs-style="" style="margin-left: 1vw;" :cs-click="batApproval" <cs-button ref="batApproval" cs-type="warning" cs-style="" style="margin-left: 1vw;"
:cs-click="batApproval"
cs-text="批量审批"> cs-text="批量审批">
批量审批 批量审批
</cs-button> </cs-button>
</div> </div>
</Col>
<Col span="6">
</Col>
</Row>
</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"/>-->
<!-- 新增--> <!-- 新增-->
...@@ -116,10 +140,15 @@ ...@@ -116,10 +140,15 @@
<script> <script>
import * as hook from '../../hook' import * as hook from '../../hook'
import * as api from '../../api/requestUtils' import * as api from '../../api/requestUtils'
import {publicState} from "@/configState";
export default { export default {
name: 'list', name: 'list',
computed: {
publicState() {
return publicState
}
},
data() { data() {
return { return {
batApprovalArray: [], batApprovalArray: [],
...@@ -325,7 +354,22 @@ export default { ...@@ -325,7 +354,22 @@ export default {
} }
}, },
watch: {}, watch: {
$route(to, from) {
let object = {
"/flow-awaitDoneList-Certificate": () => {
this.init.flow_id1 = 103
this.GetFlowTaskList()
},
"/flow-awaitDoneList": () => {
this.init.flow_id1 = 102
this.GetFlowTaskList()
}
}
object[to.path]()
}
},
// 查询条件初始化 // 查询条件初始化
created() { created() {
......
...@@ -2,38 +2,72 @@ ...@@ -2,38 +2,72 @@
<div> <div>
<Card ref="card"> <Card ref="card">
<template #title> <template #title>
<div style="height: 70px;"> <div style="height:auto;">
<h3>流程已办列表</h3> <!-- <h3>流程已办列表</h3>-->
<div style="display: flex;justify-content: space-between;align-items: center;margin-top: 1.5vw;"> <Row>
<Select :disabled="true" v-model="init.flow_id" style="width: 20vw;margin-right: 1vw" <!-- <Col :span="6">-->
placeholder="请选择流程名称"> <!-- <Select :disabled="true" v-model="init.flow_id" style="width: 15vw;"-->
<template #prefix> <!-- placeholder="请选择流程名称">-->
<span style="color: #707575;margin-right: 1vw;"> <!-- <template #prefix>-->
流程名称 <!-- <div style="width: 5vw;color: #9C9C9C">流程名称</div>-->
</span> <!-- </template>-->
</template> <!-- <Option v-for="(item,index) in flowSelect" :key="index" :value="item.id">{{ item.name }}</Option>-->
<Option v-for="(item,index) in flowSelect" :key="index" :value="item.id">{{ item.name }}</Option> <!-- </Select>-->
</Select> <!-- </Col>-->
<Select v-model="init.action_type" style="width: 20vw;margin-right: 1vw" placeholder="请选择操作类型">
<Col :span="6">
<div style="display:flex;justify-content: flex-start">
<Select v-model="init.action_type" style="width: 15vw;margin-right: 1vw" placeholder="请选择操作类型">
<template #prefix> <template #prefix>
<span style="color: #707575;margin-right: 1vw;"> <div style="width: 5vw;color: #9C9C9C">操作类型</div>
操作类型
</span>
</template> </template>
<Option :value="item.value" v-for="(item,index) in publicState.flowActionClass" :key="index"> <Option :value="item.value" v-for="(item,index) in publicState.flowActionClass" :key="index">
{{ item.label }} {{ item.label }}
</Option> </Option>
</Select> </Select>
<Select v-model="init.status" style="width: 20vw;" placeholder="请选择流程状态"> </div>
</Col>
<Col :span="6">
<div style="display:flex;justify-content: center">
<Select v-model="init.status" style="width: 15vw;" placeholder="请选择流程状态">
<template #prefix> <template #prefix>
<span style="color: #707575;margin-right: 1vw;"> <div style="width: 5vw;color: #9C9C9C">流程状态</div>
流程状态
</span>
</template> </template>
<Option :value="item.value" v-for="(item,index) in publicState.flowState" :key="index">{{ item.label }} <Option :value="item.value" v-for="(item,index) in publicState.flowState" :key="index">{{
item.label
}}
</Option> </Option>
</Select> </Select>
</div> </div>
</Col>
<Col :span="6">
<div style="display: flex;justify-content:center">
<Input v-model="init.flow_name" placeholder="请输入标题"
style="width: 15vw;">
<template #prepend>
<div style="color: #9C9C9C">标题</div>
</template>
</Input>
</div>
</Col>
<Col :span="6">
<div style="display: flex;justify-content:flex-end">
<Input v-model="init.key_name" placeholder="请输入姓名或工号"
style="width: 15vw;">
<template #prepend>
<div style="color: #9C9C9C">姓名或工号</div>
</template>
</Input>
</div>
</Col>
</Row>
<Row style="margin-top: 1vh">
<Col :span="6">
<cs-button ref="search" cs-text="搜索" :cs-click="search"></cs-button>
</Col>
<Col :span="6"></Col>
</Row>
</div> </div>
</template> </template>
...@@ -41,21 +75,7 @@ ...@@ -41,21 +75,7 @@
<!-- <Icon type="md-add"/>--> <!-- <Icon type="md-add"/>-->
<!-- 新增--> <!-- 新增-->
<!-- </Button>--> <!-- </Button>-->
<template #extra>
<div style="display: flex;">
<div style="display: flex;align-items: center">
<span>标题:</span>
<Input v-model="init.flow_name" placeholder="请输入标题"
style="width: 15vw;margin-right: 1vw"></Input>
</div>
<div style="display: flex;align-items: center">
<span>姓名或工号:</span>
<Input v-model="init.key_name" placeholder="请输入姓名或工号" style="width: 15vw;margin-right: 1vw"></Input>
</div>
<cs-button ref="search" cs-text="搜索" :cs-click="search"></cs-button>
</div>
</template>
<Table <Table
:columns="columns" :columns="columns"
:data="tableData" :data="tableData"
...@@ -384,6 +404,22 @@ export default { ...@@ -384,6 +404,22 @@ export default {
// 查询条件初始化 // 查询条件初始化
created() { created() {
},
watch: {
$route(to, from) {
let object = {
"/flow-processedList-Certificate": () => {
this.init.flow_id1 = 103
this.GetFlowTaskList()
},
"/flow-processedList ": () => {
this.init.flow_id1 = 102
this.GetFlowTaskList()
}
}
object[to.path]()
}
}, },
mounted() { mounted() {
let object = { let object = {
......
...@@ -139,9 +139,8 @@ ...@@ -139,9 +139,8 @@
<span>元</span> <span>元</span>
</template> </template>
</Input> </Input>
</FormItem> </FormItem>
<FormItem label="计划培训量:" prop="class_hour1" style="width: 50%"> <FormItem label="计划培训量:" prop="class_hour" style="width: 50%">
<div style="display: flex"> <div style="display: flex">
<Input :disabled="formValidate.competition_type_name !== 'A类'" v-model="formValidate.class_hour" <Input :disabled="formValidate.competition_type_name !== 'A类'" v-model="formValidate.class_hour"
placeholder="请输入计划培训量"> placeholder="请输入计划培训量">
...@@ -1309,6 +1308,9 @@ export default { ...@@ -1309,6 +1308,9 @@ export default {
"files_list": [] "files_list": []
}, },
ruleValidate: { ruleValidate: {
money: [
{type: 'string', required: true, message: '该项不能为空', trigger: 'change'}
],
report_code: [ report_code: [
{type: 'string', required: true, message: '该项不能为空', trigger: 'change'} {type: 'string', required: true, message: '该项不能为空', trigger: 'change'}
], ],
...@@ -1352,7 +1354,8 @@ export default { ...@@ -1352,7 +1354,8 @@ export default {
{type: 'string', required: true, message: '该项不能为空', trigger: 'blur'} {type: 'string', required: true, message: '该项不能为空', trigger: 'blur'}
], ],
class_hour: [ class_hour: [
{type: 'string', required: true, message: '该项不能为空', trigger: 'blur'} {type: 'string', required: true, message: '该项不能为空', trigger: 'change'},
], ],
curriculum: [ curriculum: [
{type: 'string', required: true, message: '该项不能为空', trigger: 'blur'} {type: 'string', required: true, message: '该项不能为空', trigger: 'blur'}
...@@ -2036,7 +2039,7 @@ export default { ...@@ -2036,7 +2039,7 @@ export default {
}, },
saveTheEventSingleOption() { saveTheEventSingleOption() {
this.formValidate = {...this.formValidate, ...this.selectTheNumberMedian} this.formValidate = {...this.formValidate, ...this.selectTheNumberMedian}
this.formValidate.competition_type_name !== 'A类' ? this.formValidate.class_hour = '' : null this.formValidate.competition_type_name !== 'A类' ? this.formValidate.class_hour = String(0) : null
this.$refs.select.visible = false this.$refs.select.visible = false
this.selectionOfEvents = false this.selectionOfEvents = false
}, },
...@@ -2119,7 +2122,8 @@ export default { ...@@ -2119,7 +2122,8 @@ export default {
res.response.competition_sign.level = Number(res.response.competition_sign.level) res.response.competition_sign.level = Number(res.response.competition_sign.level)
res.response.competition_sign.race_level = Number(res.response.competition_sign.race_level) res.response.competition_sign.race_level = Number(res.response.competition_sign.race_level)
this.formValidate = res.response.competition_sign this.formValidate = {...res.response.competition_sign, money: String(res.response.competition_sign.money)}
if (res.response.competition_sign.competition_type_name !== 'A类') this.formValidate.class_hour = String(0)
this.formValidate.competitionTimeRange = [ this.formValidate.competitionTimeRange = [
res.response.competition_sign.begin_time !== null ? res.response.competition_sign.begin_time.split(' 00:00')[0] : undefined, res.response.competition_sign.begin_time !== null ? res.response.competition_sign.begin_time.split(' 00:00')[0] : undefined,
res.response.competition_sign.end_time !== null ? res.response.competition_sign.end_time.split(' 00:00')[0] : undefined] res.response.competition_sign.end_time !== null ? res.response.competition_sign.end_time.split(' 00:00')[0] : undefined]
...@@ -2132,6 +2136,7 @@ export default { ...@@ -2132,6 +2136,7 @@ export default {
this.flowid = res.response.flowid this.flowid = res.response.flowid
this.module_id = res.response.module_id this.module_id = res.response.module_id
this.module = res.response.module this.module = res.response.module
break; break;
} }
}, },
...@@ -2225,6 +2230,7 @@ export default { ...@@ -2225,6 +2230,7 @@ export default {
clearTimeout(this.timer) clearTimeout(this.timer)
this.timer = setTimeout(async () => { this.timer = setTimeout(async () => {
this.formValidate.flowid = this.flowid this.formValidate.flowid = this.flowid
if (this.formValidate.competition_type_name !== 'A类') this.formValidate.class_hour = String(0)
let data = _.cloneDeep(this.formValidate) let data = _.cloneDeep(this.formValidate)
const res = await api.FlowSignSubmit(data) const res = await api.FlowSignSubmit(data)
this.$refs.handleSubmit.load = false this.$refs.handleSubmit.load = false
......
...@@ -3,55 +3,77 @@ ...@@ -3,55 +3,77 @@
<Card ref="card"> <Card ref="card">
<template #title> <template #title>
<div style="height:70px;"> <div style="height:auto;">
<h3>我的流程列表</h3> <!-- <h3>我的流程列表</h3>-->
<div style="display: flex;justify-content: space-between;align-items: center;margin-top: 1.5vw;"> <Row>
<Select :disabled="true" v-model="init.flow_id" style="width: 20vw;margin-right: 1vw" <!-- <Col span="6">-->
placeholder="请选择流程名称"> <!-- <div style="display: flex;align-items: center;justify-content: flex-start">-->
<template #prefix> <!-- <Select :disabled="true" v-model="init.flow_id" style="width: 15vw;margin-right: 1vw"-->
<span style="color: #707575;margin-right: 1vw;"> <!-- placeholder="请选择流程名称">-->
流程名称 <!-- <template #prefix>-->
</span> <!-- <div style="width: 5vw;color: #9C9C9C">流程名称</div>-->
</template> <!-- </template>-->
<Option v-for="(item,index) in flowSelect" :key="index" :value="item.id">{{ item.name }}</Option> <!-- <Option v-for="(item,index) in flowSelect" :key="index" :value="item.id">{{ item.name }}</Option>-->
</Select> <!-- </Select>-->
<Select v-model="init.action_type" style="width: 20vw;margin-right: 1vw" placeholder="请选择操作类型"> <!-- </div>-->
<!-- </Col>-->
<Col span="6">
<div style="display: flex;align-items: center;justify-content: flex-start">
<Select v-model="init.action_type" style="width: 15vw;margin-right: 1vw" placeholder="请选择操作类型">
<template #prefix> <template #prefix>
<span style="color: #707575;margin-right: 1vw;"> <div style="width: 5vw;color: #9C9C9C">操作类型</div>
操作类型
</span>
</template> </template>
<Option :value="item.value" v-for="(item,index) in publicState.flowActionClass" :key="index"> <Option :value="item.value" v-for="(item,index) in publicState.flowActionClass" :key="index">
{{ item.label }} {{ item.label }}
</Option> </Option>
</Select> </Select>
<Select v-model="init.status" style="width: 20vw;" placeholder="请选择流程状态"> </div>
</Col>
<Col span="6">
<div style="display: flex;align-items: center;justify-content: center">
<Select v-model="init.status" style="width: 15vw;" placeholder="请选择流程状态">
<template #prefix> <template #prefix>
<span style="color: #707575;margin-right: 1vw;"> <div style="width: 5vw;color: #9C9C9C">流程状态</div>
流程状态
</span>
</template> </template>
<Option :value="item.value" v-for="(item,index) in publicState.flowState" :key="index">{{ item.label }} <Option :value="item.value" v-for="(item,index) in publicState.flowState" :key="index">{{
item.label
}}
</Option> </Option>
</Select> </Select>
</div> </div>
</div> </Col>
</template> <Col span="6">
<template #extra> <div style="display: flex;justify-content: center">
<div style="display: flex;">
<div style="display: flex;align-items: center">
<span>标题:</span>
<Input v-model="init.flow_name" placeholder="请输入标题" <Input v-model="init.flow_name" placeholder="请输入标题"
style="width: 15vw;margin-right: 1vw"></Input> style="width: 15vw;margin-right: 1vw">
<template #prepend>
<div style="color: #9C9C9C">标题</div>
</template>
</Input>
</div> </div>
<div style="display: flex;align-items: center"> </Col>
<span>姓名或工号:</span> <Col :span="6">
<Input v-model="init.key_name" placeholder="请输入姓名或工号" style="width: 15vw;margin-right: 1vw"></Input> <div style="display: flex;justify-content: flex-end">
<Input v-model="init.key_name" placeholder="请输入姓名或工号"
style="width: 15vw;">
<template #prepend>
<div style="color: #9C9C9C">姓名或工号</div>
</template>
</Input>
</div> </div>
</Col>
</Row>
<Row style="margin-top: 1vh">
<Col :span="6">
<cs-button ref="search" cs-text="搜索" :cs-click="search"></cs-button> <cs-button ref="search" cs-text="搜索" :cs-click="search"></cs-button>
</Col>
<Col :span="6"></Col>
</Row>
</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"/>-->
<!-- 新增--> <!-- 新增-->
...@@ -396,6 +418,22 @@ export default { ...@@ -396,6 +418,22 @@ export default {
// 查询条件初始化 // 查询条件初始化
created() { created() {
},
watch: {
$route(to, from) {
let object = {
"/flow-myFlowList-Certificate": () => {
this.init.flow_id1 = 103
this.GetFlowTaskList()
},
"/flow-myFlowList": () => {
this.init.flow_id1 = 102
this.GetFlowTaskList()
}
}
object[to.path]()
}
}, },
mounted() { mounted() {
let object = { let object = {
......
Markdown 格式
0% or
您添加了 0 人 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册 或