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

更新获奖材料上传

上级 faa4df47
因为 它太大了无法显示 源差异 。您可以改为 查看blob。
[data-v-1b6ba47a] .ivu-select-single .ivu-select-selection .ivu-select-placeholder{color:#515a6e}[data-v-1b6ba47a] .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-1b6ba47a]:hover{color:#1e93ff;background-color:#f7f7f7}.fileddelete[data-v-1b6ba47a]: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)} [data-v-3e5d8fe1] .ivu-select-single .ivu-select-selection .ivu-select-placeholder{color:#515a6e}[data-v-3e5d8fe1] .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-3e5d8fe1]:hover{color:#1e93ff;background-color:#f7f7f7}.fileddelete[data-v-3e5d8fe1]: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
.container[data-v-1ac8d51a]{height:100vh;width:100vw}.container .header[data-v-1ac8d51a]{display:flex;justify-content:center;align-items:center;position:relative;width:100%;height:8%;border-top:5px solid #2d8cf0}.container .header .h_left[data-v-1ac8d51a],.container .header .h_right[data-v-1ac8d51a]{width:20%;height:100%;background-color:#fff}.container .header .h_content[data-v-1ac8d51a]{width:60%;height:100%;display:flex;align-items:center;justify-content:center;background-color:#fff}.container .content[data-v-1ac8d51a]{width:100%;height:92%;align-content:flex-start;overflow-y:auto}.container .content .tableList[data-v-1ac8d51a],.container .content[data-v-1ac8d51a]{display:flex;flex-wrap:wrap;justify-content:center}.container .content .tableList .container1[data-v-1ac8d51a]{border-collapse:collapse;box-sizing:border-box;width:100%}.container .content .tableList .container1 .row[data-v-1ac8d51a]{width:100%;height:100%}.container .content .tableList .container1 .colTitle[data-v-1ac8d51a]{text-align:center;width:30%;height:50px}.container .content .tableList .container1 .colContent[data-v-1ac8d51a]{height:50px;text-align:center}.container .content .card[data-v-1ac8d51a]{padding:5px 5px}.container .content .teamInfo[data-v-1ac8d51a]{color:#1e93ff;cursor:pointer}.container .content .text[data-v-1ac8d51a]:hover{transform:scale(1.3)}.container .content .aText[data-v-1ac8d51a]:hover{transform:scale(1.2)}.container .content .Atext[data-v-1ac8d51a]{float:right;margin-bottom:.7vw;margin-top:.7vw;font-size:16px}.container .content .Atext[data-v-1ac8d51a]:hover{transform:scale(1.2)}
\ No newline at end of file
[data-v-59af190a] .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-59af190a]:hover{color:#1e93ff;background-color:#f7f7f7}.fileddelete[data-v-59af190a]:hover{color:red;transform:scale(1.5)}.teamCardExtraText[data-v-59af190a]{font-size:18px;font-weight:600;font-family:宋体;color:#1e93ff}.Atext[data-v-59af190a]{margin-bottom:.7vw;margin-top:.7vw;font-size:16px;position:absolute}.Atext[data-v-59af190a]:hover{transform:scale(1.2)}.container[data-v-59af190a]{width:100%;min-height:687px;height:auto;align-content:center;overflow-y:auto}.container[data-v-59af190a],.tableList[data-v-76aefa75]{display:flex;justify-content:center;flex-wrap:wrap}.tableList .container1[data-v-76aefa75]{border-collapse:collapse}.tableList .container1 .row[data-v-76aefa75]{width:100%;height:100%}.tableList .container1 .colTitle[data-v-76aefa75]{text-align:center;width:200px;height:50px}.tableList .container1 .colContent[data-v-76aefa75]{width:500px;height:50px;text-align:center}.Atext[data-v-76aefa75]{margin-bottom:.7vw;margin-top:.7vw;font-size:16px}.teamCardExtraText[data-v-76aefa75]{font-size:18px;font-weight:600;font-family:宋体;color:#1e93ff}
\ No newline at end of file
[data-v-300484fa] .ivu-select-single .ivu-select-selection .ivu-select-placeholder{color:#515a6e}[data-v-300484fa] .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-300484fa]:hover{color:#1e93ff;background-color:#f7f7f7}.fileddelete[data-v-300484fa]: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-5772ae76]{display:flex;justify-content:center;flex-wrap:wrap}.tableList .container1[data-v-5772ae76]{border-collapse:collapse}.tableList .container1 .row[data-v-5772ae76]{width:100%;height:100%}.tableList .container1 .colTitle[data-v-5772ae76]{text-align:center;width:200px;height:50px}.tableList .container1 .colContent[data-v-5772ae76]{width:500px;height:50px;text-align:center}.tableList .container1 .aText[data-v-5772ae76]:hover{transform:scale(1.2)}.tableList .container1 .Atext[data-v-5772ae76]{float:right;margin-bottom:.7vw;margin-top:.7vw;font-size:16px}.tableList .container1 .Atext[data-v-5772ae76]:hover{transform:scale(1.2)} [data-v-2ed664e1] .ivu-select-single .ivu-select-selection .ivu-select-placeholder{color:#515a6e}[data-v-2ed664e1] .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-2ed664e1]:hover{color:#1e93ff;background-color:#f7f7f7}.fileddelete[data-v-2ed664e1]: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-3d2deff7]{display:flex;justify-content:center;flex-wrap:wrap}.tableList .container1[data-v-3d2deff7]{border-collapse:collapse}.tableList .container1 .row[data-v-3d2deff7]{width:100%;height:100%}.tableList .container1 .colTitle[data-v-3d2deff7]{text-align:center;width:200px;height:50px}.tableList .container1 .colContent[data-v-3d2deff7]{width:500px;height:50px;text-align:center}.tableList .container1 .aText[data-v-3d2deff7]:hover{transform:scale(1.2)}.tableList .container1 .Atext[data-v-3d2deff7]{float:right;margin-bottom:.7vw;margin-top:.7vw;font-size:16px}.tableList .container1 .Atext[data-v-3d2deff7]:hover{transform:scale(1.2)}
\ No newline at end of file \ No newline at end of file
.tableList[data-v-429eb8ed]{display:flex;justify-content:center;flex-wrap:wrap}.tableList .container[data-v-429eb8ed]{border-collapse:collapse}.tableList .container .row[data-v-429eb8ed]{width:100%;height:100%}.tableList .container .colTitle[data-v-429eb8ed]{text-align:center;width:200px;height:50px}.tableList .container .colContent[data-v-429eb8ed]{width:500px;height:50px;text-align:center}
\ No newline at end of file
.container[data-v-4615f50c]{height:100vh;width:100vw}.container .header[data-v-4615f50c]{display:flex;justify-content:center;align-items:center;position:relative;width:100%;height:8%;border-top:5px solid #2d8cf0}.container .header .h_left[data-v-4615f50c],.container .header .h_right[data-v-4615f50c]{width:20%;height:100%;background-color:#fff}.container .header .h_content[data-v-4615f50c]{width:60%;height:100%;display:flex;align-items:center;justify-content:center;background-color:#fff}.container .content[data-v-4615f50c]{width:100%;height:92%;align-content:flex-start;overflow-y:auto}.container .content .tableList[data-v-4615f50c],.container .content[data-v-4615f50c]{display:flex;flex-wrap:wrap;justify-content:center}.container .content .tableList .container1[data-v-4615f50c]{border-collapse:collapse;box-sizing:border-box;width:100%}.container .content .tableList .container1 .row[data-v-4615f50c]{width:100%;height:100%}.container .content .tableList .container1 .colTitle[data-v-4615f50c]{text-align:center;width:30%;height:50px}.container .content .tableList .container1 .colContent[data-v-4615f50c]{height:50px;text-align:center}.container .content .card[data-v-4615f50c]{padding:5px 5px}.container .content .teamInfo[data-v-4615f50c]{color:#1e93ff;cursor:pointer}.container .content .text[data-v-4615f50c]:hover{transform:scale(1.3)}.container .content .aText[data-v-4615f50c]:hover{transform:scale(1.2)}.container .content .Atext[data-v-4615f50c]{float:right;margin-bottom:.7vw;margin-top:.7vw;font-size:16px}.container .content .Atext[data-v-4615f50c]:hover{transform:scale(1.2)}
\ No newline at end of file
<!DOCTYPE html><html><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0"><link rel="shortcut icon" href=favicon.ico><title>竞赛管理</title><link href=css/chunk-vendors.064c214c.css rel=stylesheet><link href=css/app.1af866c1.css rel=stylesheet></head><body><script src=/a/manager/identify/identify.js></script><noscript><strong>请开启 JavaScript 功能来使用 竞赛管理。</strong></noscript><div id=app></div><script src=js/chunk-vendors.fbb52dff.js></script><script src=js/app.267409d1.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.2662da83.js></script><script src=js/app.4b2049f3.js></script></body></html>
\ No newline at end of file \ No newline at end of file
因为 它太大了无法显示 源差异 。您可以改为 查看blob。
此差异已折叠。
(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["I"](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}}]); (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["GetFlowDesignList"](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 \ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d212ff7"],{ab99:function(e,a,t){"use strict";t.r(a);var n=function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",[t("Card",{ref:"card"},[t("Button",{staticClass:"ivu-ml-8",attrs:{type:"primary"},on:{click:e.add}},[t("Icon",{attrs:{type:"md-add"}}),e._v("\n 新增\n ")],1),t("Table",{staticClass:"ivu-mt",attrs:{columns:e.columns,data:e.tableData,loading:e.loading,size:e.tableSize},scopedSlots:e._u([{key:"is_enabled",fn:function(a){var n=a.row;return[t("Tag",{attrs:{color:["blue","error"][n.is_enabled]}},[e._v(" "+e._s(["启用","停用"][n.is_enabled]))])]}},{key:"is_del",fn:function(a){var n=a.row;return[t("Tag",{attrs:{color:["success","error"][n.is_del]}},[e._v(" "+e._s(["否","是"][n.is_del]))])]}},{key:"action",fn:function(a){var n=a.row;return[t("a",{on:{click:function(a){return e.edit(n)}}},[e._v("编辑")]),t("Poptip",{attrs:{confirm:"",transfer:"",title:"你确定删除吗?"},on:{"on-ok":function(a){return e.del(n)},"on-cancel":e.cancel}},[t("a",{staticStyle:{"margin-left":"20px",color:"red"}},[e._v("删除")])])]}}])})],1),t("Modal",{attrs:{title:"添加团队获奖奖项",width:"40"},scopedSlots:e._u([{key:"footer",fn:function(){return[t("div",{staticStyle:{display:"flex","justify-content":"flex-end"}},[t("Button",{attrs:{type:"text"},on:{click:function(a){e.addTeamAwardsModal=!1}}},[e._v("关闭")]),t("cs-button",{ref:"addTeamAwards",attrs:{"cs-click":e.addTeamAwards,"cs-text":"确定"}})],1)]},proxy:!0}]),model:{value:e.addTeamAwardsModal,callback:function(a){e.addTeamAwardsModal=a},expression:"addTeamAwardsModal"}},[t("Form",{ref:"formValidate",attrs:{model:e.formValidate,rules:e.ruleValidate,"label-width":120}},[t("FormItem",{attrs:{label:"奖项名称",prop:"hierarchy_name"}},[t("Input",{attrs:{placeholder:"奖项名称"},model:{value:e.formValidate.hierarchy_name,callback:function(a){e.$set(e.formValidate,"hierarchy_name",a)},expression:"formValidate.hierarchy_name"}})],1),t("FormItem",{attrs:{prop:"is_enabled",label:"是否启用"}},[t("i-switch",{attrs:{"true-value":0,"false-value":1,"true-color":"#13ce66","false-color":"#ff4949"},on:{"on-change":e.switchChange},scopedSlots:e._u([{key:"open",fn:function(){return[t("span",[e._v("开")])]},proxy:!0},{key:"close",fn:function(){return[t("span",[e._v("关")])]},proxy:!0}]),model:{value:e.formValidate.is_enabled,callback:function(a){e.$set(e.formValidate,"is_enabled",a)},expression:"formValidate.is_enabled"}})],1),e.delFlag?t("FormItem",{attrs:{prop:"is_del",label:"是否删除"}},[t("i-switch",{attrs:{"false-value":0,"true-value":1,"true-color":"#ff4949","false-color":"#13ce66"},on:{"on-change":e.switchChange},scopedSlots:e._u([{key:"close",fn:function(){return[t("span",[e._v("否")])]},proxy:!0},{key:"open",fn:function(){return[t("span",[e._v("是")])]},proxy:!0}],null,!1,2279945762),model:{value:e.formValidate.is_del,callback:function(a){e.$set(e.formValidate,"is_del",a)},expression:"formValidate.is_del"}})],1):e._e()],1)],1)],1)},r=[],i=(t("96cf"),t("1da1")),s=t("967e"),l=t.n(s),o=(t("7f6b"),t("2ef0")),d={name:"list",components:{},data:function(){return{delFlag:!1,ruleValidate:{hierarchy_name:[{type:"string",required:!0,message:"该项不能为空",trigger:"blur"}],is_enabled:[{type:"number",required:!0,message:"该项不能为空",trigger:"change"}]},addTeamAwardsModal:!1,formValidate:{hierarchyid:"",hierarchy_name:"",sort:0,is_enabled:0,is_del:0,createby:"",createtime:""},grid:{xl:8,lg:12,md:24,sm:24,xs:24},columns:[{title:"序号",type:"index",align:"center",show:!0,width:80},{title:"名称",key:"hierarchy_name",align:"center",show:!0,minWidth:150},{title:"排序",key:"sort",align:"center",show:!0,minWidth:100},{title:"是否启用",slot:"is_enabled",align:"center",show:!0,minWidth:120},{title:"是否删除",slot:"is_del",align:"center",show:!0,minWidth:150},{title:"操作",align:"center",minWidth:120,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:""}}},created:function(){},mounted:function(){this.getData()},methods:{addTeamAwards:function(){var e=this;this.$refs.formValidate.validate((function(a){a&&e.hooks.myEncapsulationFunction(Object(i["a"])(l.a.mark((function a(){var t;return l.a.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return e.$refs.addTeamAwards.load=!0,a.next=3,e.api.HierarchySave(e.formValidate);case 3:return t=a.sent,1===t.code&&function(){e.addTeamAwardsModal=!1,e.getData()}(),e.$refs.addTeamAwards.load=!1,a.abrupt("return",t);case 7:case"end":return a.stop()}}),a)}))))}))},switchChange:function(e){console.log(this.formValidate,"🚀🚀🚀,",e)},getData:function(){var e=this;this.hooks.getInitListRequest(Object(i["a"])(l.a.mark((function a(){var t;return l.a.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.next=2,e.api.GetHierarchyList();case 2:return t=a.sent,e.tableData=t.response,a.abrupt("return",t);case 5:case"end":return a.stop()}}),a)}))))},add:function(){this.delFlag=!1,this.addTeamAwardsModal=!0,this.$refs.formValidate.resetFields()},edit:function(e){this.delFlag=!0,this.formValidate=o["cloneDeep"](e),this.addTeamAwardsModal=!0},del:function(e){var a=this;this.hooks.myEncapsulationFunction(Object(i["a"])(l.a.mark((function t(){var n;return l.a.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,a.api.HierarchyDel({id:e.hierarchyid});case 2:return n=t.sent,1===n.code&&function(){a.getData()}(),t.abrupt("return",n);case 5:case"end":return t.stop()}}),t)}))))},cancel:function(){},handleChangePage:function(e){this.params.pageIndex=e,this.getData()},handleChangePageSize:function(e){this.current=1,this.params.pageSize=e,this.getData()}}},c=d,u=t("2877"),f=Object(u["a"])(c,n,r,!1,null,null,null);a["default"]=f.exports}}]);
\ No newline at end of file
此差异已折叠。
此差异已折叠。
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-c8429486"],{"14e1":function(t,e,n){},"2aad":function(t,e,n){"use strict";n("7b41")},"7b41":function(t,e,n){},8096:function(t,e,n){},9339:function(t,e,n){(function(e){ (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-39c81c8d"],{"14e1":function(t,e,n){},"2aad":function(t,e,n){"use strict";n("7b41")},"7b41":function(t,e,n){},8096:function(t,e,n){},9339:function(t,e,n){(function(e){
/*! /*!
* Quill Editor v1.3.7 * Quill Editor v1.3.7
* https://quilljs.com/ * https://quilljs.com/
......
(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:{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;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["i"]({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["K"]().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["Q"](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-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;"/flow-awaitDoneList-Certificate"===this.$route.path&&(this.init.flow_id1=103),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(){"/flow-processedList-Certificate"===this.$route.path&&(this.init.flow_id1=103),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,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 l=i(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,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:{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}})],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=[],s=(n("96cf"),n("1da1")),o=(n("386d"),n("967e")),l=n.n(o),r=n("61be"),c=n("7f6b"),u=n("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(){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["K"]().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"])(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["y"](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()}}},p=d,f=n("2877"),h=Object(f["a"])(p,i,a,!1,null,null,null);e["default"]=h.exports}}]);
\ No newline at end of file
此差异已折叠。
此差异已折叠。
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-5d12aeb1"],{"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 l=i(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}},bbca:function(t,e,n){"use strict";n("edf6")},e8c1: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:{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}})],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[2===i.status?n("a",{key:t.cancelKey,staticClass:"cancel",staticStyle:{"margin-right":"15px"}},[t._v("取消")]):n("a",{key:t.cancelKey,staticStyle:{"margin-right":"15px",color:"red"},on:{click:function(e){return t.flowCancel(i)}}},[t._v("取消")]),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("96cf"),n("1da1")),o=(n("386d"),n("967e")),l=n.n(o),r=n("61be"),c=n("7f6b"),u=n("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}],cancelKey:1,formData:{name:"",url:"",owner:"",type:"",approver:"",date:"",desc:""},approvalDrawer:!1,formValidate:{runid:"",title:"",flow_name:"",flow_id:"",status:0,action_type:0,starter:"",starter_name:"",start_time:"",current_node_id:"",current_node_name:"",todo:"",partcipant:"",modifyby:"",modifytime:"",form_id:"",form_name:""},grid:{xl:8,lg:12,md:24,sm:24,xs:24},columns:[{title:"序号",type:"index",align:"center",show:!0,width:80},{title:"标题",key:"title",align:"center",show:!0,minWidth:300},{title:"流程名称",key:"flow_name",align:"center",show:!0,minWidth:150},{title:"状态",slot:"status",align:"center",show:!0,minWidth:100},{title:"操作类型",slot:"action_type",align:"center",show:!0,minWidth:120},{title:"当前节点名称",key:"current_node_name",align:"center",show:!0,minWidth:200},{title:"当前节点待办人员",slot:"todo",align:"center",show:!0,minWidth:200},{title:"参与人",slot:"partcipant",align:"center",show:!0,minWidth:200},{title:"发起人",key:"starter",align:"center",show:!0,minWidth:150},{title:"发起人姓名",key:"starter_name",align:"center",show:!0,minWidth:120},{title:"发起时间",key:"start_time",align:"center",show:!0,minWidth:150},{title:"操作",align:"center",minWidth:180,fixed:"right",show:!0,slot:"action"}],loading:!1,tableData:[{}],tableSize:"default",tableFullscreen:!1,total:0,collapse:!1,params:{pageIndex:1,pageSize:10,college_id:"",grade:"",classId_Name:"",status:""},init:{flow_id:"",action_type:"",status:"",key_name:"",flow_name:"",page_index:1,page_size:10,total:0},pageKey:1}},created:function(){},mounted:function(){this.GetFlowTaskList(),this.GetFlowIdSelect()},methods:{search:function(){this.$refs.search.load=!0,this.init.status1=this.init.status,this.init.key_name1=this.init.key_name,this.init.action_type1=this.init.action_type,this.init.flow_id1=this.init.flow_id,this.init.flow_name1=this.init.flow_name,this.GetFlowTaskList(),this.$refs.search.load=!1},GetFlowIdSelect:function(){var t=this;r["getInitListRequest"]((function(){c["K"]().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"])(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["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()},flowCancel:function(){var t=Object(s["a"])(l.a.mark((function t(e){var n=this;return l.a.wrap((function(t){while(1)switch(t.prev=t.next){case 0:r["publicConfirm"](Object(s["a"])(l.a.mark((function t(){var i;return l.a.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,c["k"]({runid:e.runid});case 2:return i=t.sent,n.cancelKey++,r["publicMessage"](i),t.next=7,n.GetFlowTaskList();case 7:case"end":return t.stop()}}),t)}))));case 1:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),approvalLisFun:function(t){this.$router.push({name:"awaitDoneInformation",query:{runid:t.runid,form_name:t.form_name,flowInfo:"流程详细信息"}}),console.log("🚀🚀🚀,",t)},del:function(t){console.log("删除"),this.$Message.info("删除成功")},cancel:function(){this.$Message.info("You click cancel")},handleChangePage:function(t){this.init.page_index=t,this.GetFlowTaskList()},handleChangePageSize:function(t){this.init.page_size=t,this.GetFlowTaskList()}}},p=d,f=(n("bbca"),n("2877")),h=Object(f["a"])(p,i,a,!1,null,null,null);e["default"]=h.exports},edf6:function(t,e,n){}}]);
\ No newline at end of file
此差异已折叠。
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-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["Y"]({id:this.$route.query.id});case 5:n=t.sent,this.data=n.response,this.data.length=n.response.publicList.length,e(n),this.data.Object=n.response,delete n.response.noticeInfo.noticeid,delete n.response.noticeInfo.typeid,delete n.response.noticeInfo.createtime,delete n.response.noticeInfo.competitionreportid,this.data.keyValueArray=Object.entries(n.response.noticeInfo),this.data.keyValueArray.map((function(t,e){var n=["公告标题","公告类型","发布时间","发布用户","是否置顶","是否发布","审批状态","修改人","修改时间","公告内容"];t.push(n[e])})),l["publicMessage"](n);case 17:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()},beforeCreate:function(){},created:function(){},beforeMount:function(){},mounted:function(){this.getNoticeInfo()},beforeUpdate:function(){},updated:function(){},beforeDestroy:function(){},destroyed:function(){},activated:function(){}},d=u,p=(n("0e59"),n("2877")),f=Object(p["a"])(d,a,i,!1,null,"55ed4c5e",null);e["default"]=f.exports},"504c":function(t,e,n){var a=n("9e1e"),i=n("0d58"),s=n("6821"),o=n("52a7").f;t.exports=function(t){return function(e){var n,c=s(e),r=i(c),l=r.length,u=0,d=[];while(l>u)n=r[u++],a&&!o.call(c,n)||d.push(t?[n,c[n]]:c[n]);return d}}},ffc1:function(t,e,n){var a=n("5ca1"),i=n("504c")(!0);a(a.S,"Object",{entries:function(t){return i(t)}})}}]); (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["GetNoticeInfo"]({id:this.$route.query.id});case 5:n=t.sent,this.data=n.response,this.data.length=n.response.publicList.length,e(n),this.data.Object=n.response,delete n.response.noticeInfo.noticeid,delete n.response.noticeInfo.typeid,delete n.response.noticeInfo.createtime,delete n.response.noticeInfo.competitionreportid,this.data.keyValueArray=Object.entries(n.response.noticeInfo),this.data.keyValueArray.map((function(t,e){var n=["公告标题","公告类型","发布时间","发布用户","是否置顶","是否发布","审批状态","修改人","修改时间","公告内容"];t.push(n[e])})),l["publicMessage"](n);case 17:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()},beforeCreate:function(){},created:function(){},beforeMount:function(){},mounted:function(){this.getNoticeInfo()},beforeUpdate:function(){},updated:function(){},beforeDestroy:function(){},destroyed:function(){},activated:function(){}},d=u,p=(n("0e59"),n("2877")),f=Object(p["a"])(d,a,i,!1,null,"55ed4c5e",null);e["default"]=f.exports},"504c":function(t,e,n){var a=n("9e1e"),i=n("0d58"),s=n("6821"),o=n("52a7").f;t.exports=function(t){return function(e){var n,c=s(e),r=i(c),l=r.length,u=0,d=[];while(l>u)n=r[u++],a&&!o.call(c,n)||d.push(t?[n,c[n]]:c[n]);return d}}},ffc1:function(t,e,n){var a=n("5ca1"),i=n("504c")(!0);a(a.S,"Object",{entries:function(t){return i(t)}})}}]);
\ No newline at end of file \ No newline at end of file
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
...@@ -1340,3 +1340,58 @@ export function FlowApprovalBatch(data) { ...@@ -1340,3 +1340,58 @@ export function FlowApprovalBatch(data) {
data, data,
}); });
} }
export function SignAutoInsCertificate(data) {
//报名自动生成获奖证书
return request({
url: `/api/CompetitionSign/api/CompetitionSign/SignAutoInsCertificate?id=${data.id}`,
method: 'get',
data,
});
}
export function GetHierarchyList(data) {
//获奖奖项列表
return request({
url: `/api/Common/GetHierarchyList`,
method: 'get',
data,
});
}
export function GetHierarchySelect(data) {
//获奖奖项下拉框
return request({
url: `/api/Common/GetHierarchySelect`,
method: 'get',
data,
});
}
export function HierarchySave(data) {
//获奖奖项保存
return request({
url: `/api/Common/HierarchySave`,
method: 'post',
data,
});
}
export function HierarchyDel(data) {
//获奖奖项删除
return request({
url: `/api/Common/HierarchyDel?id=${data.id}`,
method: 'get',
data,
});
}
export function TeamHierarchySave(data) {
//设置团队获奖奖项
return request({
url: `/api/Team/api/Team/TeamHierarchySave?teamid=${data.teamid}&hierarchy_id=${data.hierarchy_id}`,
method: 'get',
data,
});
}
<template>
<div>
<Drawer width="90" closable v-model="drawerPreview">
<template #header>
<div style="width: 100%;min-height:35px;max-height:auto;position: relative">
<h3 style="margin-bottom: 5px">附件预览</h3>
<a class="aText" style="margin-right: 3vw;" @click="updateViewFile(ite)"
v-for="(ite,inde) in file_list"
:key="inde">
{{ ite.file_name }}
</a>
</div>
</template>
<VueDocPreview
:key="viewFileUpdataKeys"
v-if="src && fileType ==='office'"
:value="src"
:url="src"
language="JavaScript"
type="office">
</VueDocPreview>
<!-- v-if="src && fileType ==='image'"-->
<i-frame
:key="viewFileUpdataKeys"
v-if="src && fileType ==='image'"
:src="src"
></i-frame>
</Drawer>
</div>
</template>
<script>
/**
* 使用方式:
* 父组件 传文件数组 和 引用本组件viewFile方法 传单项文件数据 触发首次 在线预览
* 文件数组 用户 drawer中切换显示文件名称 进行二次切换显示
* **/
//这里可以导入其他文件(比如:组件,工具js,第三方插件js,json文件,图片文件等等)
//例如:import 《组件名称》 from '《组件路径》';
export default {
//import引入的组件需要注入到对象中才能使用",
components: {},
props: ['file_list'],
data() {
//这里存放数据",
return {
fileType: '',
src: '',
drawerPreview: false,
viewFileUpdataKeys: 1,
};
},
//监听属性 类似于data概念",
computed: {},
//监控data中的数据变化",
watch: {},
//方法集合",
methods: {
updateViewFile(e) {
//drawer 中切换文件 时调用
const fun = (e, url) => {
this.src = window.location.protocol + '//' + window.location.host + url.path
// this.src = 'https://asc.hnasct.cn/' + url.path
this.fileType = e
this.viewFileUpdataKeys++
}
if (e.suffix === '.jpg' || e.suffix === '.jpeg' || e.suffix === '.png' || e.suffix === '.pdf') {
fun('image', e)
} else if (e.suffix === '.doc' || e.suffix === '.docx' || e.suffix === '.xls'
|| e.suffix === '.xlsx') {
fun('office', e)
}
},
viewFile(e) {
//首次查看文件 table中点击时调用
const fun = (e, url) => {
this.src = window.location.protocol + '//' + window.location.host + url.path
// this.src = 'https://asc.hnasct.cn/' + url.path
this.fileType = e
this.drawerPreview = true
}
if (e.suffix === '.jpg' || e.suffix === '.jpeg' || e.suffix === '.png' || e.suffix === '.pdf') {
fun('image', e)
} else if (e.suffix === '.doc' || e.suffix === '.docx' || e.suffix === '.xls'
|| e.suffix === '.xlsx') {
fun('office', e)
}
},
},
//生命周期 - 创建之前",数据模型未加载,方法未加载,html模板未加载
beforeCreate() {
},
//生命周期 - 创建完成(可以访问当前this实例)",数据模型已加载,方法已加载,html模板已加载,html模板未渲染
created() {
},
//生命周期 - 挂载之前",html模板未渲染
beforeMount() {
},
//生命周期 - 挂载完成(可以访问DOM元素)",html模板已渲染
mounted() {
},
//生命周期 - 更新之前",数据模型已更新,html模板未更新
beforeUpdate() {
},
//生命周期 - 更新之后",数据模型已更新,html模板已更新
updated() {
},
//生命周期 - 销毁之前",
beforeDestroy() {
},
destroyed() {
},
//生命周期 - 销毁完成",
//如果页面有keep-alive缓存功能,这个函数会触发",
activated() {
},
}
</script>
<style scoped>
</style>
/*! Copyright © 2020 北京视图更新科技有限公司 | https://pro.iviewui.com */
/*! Version 1.0.4 */
/*!
行政区域选择组件使用协议:
北京视图更新科技有限公司版权所有 (c) 2019-至今
使用行政区域选择组件,必须遵守以下协议:
1. 购买者可将授权后的产品用于任意符合国家法律法规的应用平台。
2. 购买的物料产品仅限于被授权主体(个人、企业或组织)使用,不能给其它主体(个人、企业或组织)使用。
3. 授权者务必尊重知识产权,严格保证不恶意传播产品源码、不得直接对授权的产品本身进行二次转售或倒卖、不得对授权的产品进行简单包装后声称为自己的产品等。否则我们有权利收回产品授权,并根据事态轻重追究相应法律责任。
4. 行政区域选择组件一旦购买,不支持退款。
5. 我们有义务为授权者提供有效期内的产品下载、更新和维护。
6. 我们有义务为授权者在规定期间内提供免费的产品技术支持以及额外付费的技术支持、技术顾问、定制化需求、线下课程辅导等。免费的技术支持提供在线工单、QQ、微信的技术支持,不包含远程服务。
7. 本协议及本协议任何条款内容的最终解释权及修改权归北京视图更新科技有限公司所有。
*/
.i-region .ivu-dropdown{width:100%}.i-region-transfer{width:540px;max-height:none}.i-region-rel{display:inline-block;width:100%;position:relative}.i-region .ivu-input{padding-right:24px;display:block;cursor:pointer}.i-region-disabled .ivu-input{cursor:not-allowed}.i-region .i-region-arrow:nth-of-type(1){display:none;cursor:pointer}.i-region:hover .i-region-arrow:nth-of-type(1){display:inline-block}.i-region-show-clear:hover .i-region-arrow:nth-of-type(2){display:none}.i-region-arrow{position:absolute;top:50%;right:8px;line-height:1;transform:translateY(-50%);font-size:14px;color:#808695;transition:all .2s ease-in-out}.i-region-visible .i-region-arrow:nth-of-type(2){transform:translateY(-50%) rotate(180deg)}.i-region-drop-main{width:540px;min-height:200px;column-count:4;padding:0 16px 8px}.i-region-drop-main-item{break-inside:avoid;padding:2px;cursor:pointer;transition:color .2s ease-in-out}.i-region-drop-main-item:hover{color:#2d8cf0}
\ No newline at end of file
此差异已折叠。
...@@ -55,6 +55,7 @@ export function publicMessage(res) { ...@@ -55,6 +55,7 @@ export function publicMessage(res) {
export function storageAddEventListener(fun) { export function storageAddEventListener(fun) {
// 监听storage事件,当主页面修改数据时,触发该事件 // 监听storage事件,当主页面修改数据时,触发该事件
window.addEventListener('storage', (event) => { window.addEventListener('storage', (event) => {
console.log("🚀🚀🚀updataEvent,", event)
if (event.key === 'updataEvent' && event.newValue === 'getDataEvent') { if (event.key === 'updataEvent' && event.newValue === 'getDataEvent') {
//刷新主窗口 //刷新主窗口
// 执行你的逻辑 // 执行你的逻辑
......
...@@ -61,15 +61,20 @@ import pdf from 'vue-pdf' ...@@ -61,15 +61,20 @@ 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' import * as hook from '@/hook/index'
import * as api from "@/api/requestUtils"
import csButton from "@/pages/CompetitionSign/components/buttonLoad.vue"; import csButton from "@/pages/CompetitionSign/components/buttonLoad.vue";
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'
Vue.prototype.getUserRole = () => { 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.$bus = new Vue()
Vue.prototype.hooks = hook Vue.prototype.hooks = hook
Vue.prototype.api = api
Vue.prototype.publicState = publicState Vue.prototype.publicState = publicState
Vue.use(plugins); Vue.use(plugins);
Vue.use(ViewUI, { Vue.use(ViewUI, {
...@@ -77,6 +82,13 @@ Vue.use(ViewUI, { ...@@ -77,6 +82,13 @@ Vue.use(ViewUI, {
}); });
Vue.component('csButton', csButton); Vue.component('csButton', csButton);
Vue.use(iViewPro); Vue.use(iViewPro);
import drawerOnlineViewFiel from '@/components/drawerOnlineViewFile/viewFile.vue'
Vue.component('drawerOnlineViewFiel', drawerOnlineViewFiel)
import iRegion from '@/components/region/region.min';
Vue.use(iRegion);
Vue.component('i-link', iLink); Vue.component('i-link', iLink);
Vue.component('i-frame', iFrame); Vue.component('i-frame', iFrame);
Vue.component('VueDocPreview', VueDocPreview) Vue.component('VueDocPreview', VueDocPreview)
......
...@@ -13,7 +13,6 @@ export default { ...@@ -13,7 +13,6 @@ export default {
{ {
path: '/CompetitionSignForm?id=102&remark=CompetitionSign&entrance=flow', path: '/CompetitionSignForm?id=102&remark=CompetitionSign&entrance=flow',
title: '参赛报名', title: '参赛报名',
}, },
{ {
path: `/flow-awaitDoneList`, path: `/flow-awaitDoneList`,
......
...@@ -11,6 +11,12 @@ export default { ...@@ -11,6 +11,12 @@ export default {
path: `/CompetitionSign`, path: `/CompetitionSign`,
title: '报名列表', title: '报名列表',
}, },
{
path: '/Certificate',
title: '获奖材料列表',
header: 'home',
icon: ''
},
] ]
} }
...@@ -8,14 +8,28 @@ export default { ...@@ -8,14 +8,28 @@ export default {
icon: 'ios-open', icon: 'ios-open',
// custom: 'i-icon-demo i-icon-demo-i18n', // custom: 'i-icon-demo i-icon-demo-i18n',
children: [ children: [
// {
// path: `/CertificateForm?id=103&remark=Certificate&entrance=flow`,
// title: '获奖材料上传',
// },
// {
// path: `/BursaryForm?id=104&remark=Bursary&entrance=flow`,
// title: '补助金申请',
// },
{ {
path: `/CertificateForm?id=103&remark=Certificate&entrance=flow`, path: `/flow-awaitDoneList-Certificate`,
title: '获奖材料上传', title: '待办流程',
auth: ['admin'],
}, },
{ {
path: `/BursaryForm?id=104&remark=Bursary&entrance=flow`, path: `/flow-processedList-Certificate`,
title: '补助金申请', title: '已办流程',
auth: ['admin'],
}, },
{
path: `/flow-myFlowList-Certificate`,
title: '我的流程'
}
] ]
} }
此差异已折叠。
此差异已折叠。
此差异已折叠。
...@@ -693,7 +693,6 @@ export default { ...@@ -693,7 +693,6 @@ export default {
GetFlowLogList(form_id) { GetFlowLogList(form_id) {
hook.getInitListRequest(() => { hook.getInitListRequest(() => {
api.GetFlowLogList({form_id: form_id}).then((res) => { api.GetFlowLogList({form_id: form_id}).then((res) => {
console.log("🚀🚀resres🚀,", res)
this.timeLineArray = res.response this.timeLineArray = res.response
}) })
}) })
......
...@@ -6,7 +6,8 @@ ...@@ -6,7 +6,8 @@
<h3>流程待办列表</h3> <h3>流程待办列表</h3>
<div style="display: flex;justify-content: space-between;align-items: center;margin-top: 1.5vw;"> <div style="display: flex;justify-content: space-between;align-items: center;margin-top: 1.5vw;">
<!-- @on-change="flowSelectOnChnage"--> <!-- @on-change="flowSelectOnChnage"-->
<Select v-model="init.flow_id" style="width: 20vw;margin-right: 1vw" placeholder="请选择流程名称"> <Select :disabled="true" v-model="init.flow_id" style="width: 20vw;margin-right: 1vw"
placeholder="请选择流程名称">
<template #prefix> <template #prefix>
<span style="color: #707575;margin-right: 1vw;"> <span style="color: #707575;margin-right: 1vw;">
流程名称 流程名称
...@@ -330,7 +331,7 @@ export default { ...@@ -330,7 +331,7 @@ export default {
}, },
mounted() { mounted() {
this.$route.path === "/flow-awaitDoneList-Certificate" ? this.init.flow_id1 = 103 : ''
this.GetFlowTaskList() this.GetFlowTaskList()
hook.storageAddEventListener(async () => { hook.storageAddEventListener(async () => {
await this.GetFlowTaskList() await this.GetFlowTaskList()
......
...@@ -183,6 +183,7 @@ export default { ...@@ -183,6 +183,7 @@ export default {
}, },
mounted() { mounted() {
this.GetFlowDesignList() this.GetFlowDesignList()
}, },
methods: { methods: {
......
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
...@@ -18,7 +18,7 @@ export default { ...@@ -18,7 +18,7 @@ export default {
name: `Certificate`, name: `Certificate`,
meta: { meta: {
...meta, ...meta,
title: '证书列表', title: '获奖材料列表',
closable: false closable: false
}, },
component: () => import('@/pages/Certificate/index.vue') component: () => import('@/pages/Certificate/index.vue')
......
...@@ -27,7 +27,7 @@ export default { ...@@ -27,7 +27,7 @@ export default {
meta: { meta: {
...meta, ...meta,
title: '参赛申请', title: '参赛申请',
closable: false closable: false,
}, },
component: () => import('@/pages/eventCatalogue/eventApplication.vue'), component: () => import('@/pages/eventCatalogue/eventApplication.vue'),
// component: () => import('@/pages/flowAssemble/flowComponent/CompetitionReportForm.vue'), // component: () => import('@/pages/flowAssemble/flowComponent/CompetitionReportForm.vue'),
......
此差异已折叠。
...@@ -6,3 +6,5 @@ ...@@ -6,3 +6,5 @@
@import "./layout/index.less"; @import "./layout/index.less";
@import "./pages/account.less"; @import "./pages/account.less";
@import "../components/region/region.css";
此差异已折叠。
Markdown 格式
0% or
您添加了 0 人 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册 或