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

20241224 优化保存

上级 d1a6b9e6
流水线 #32196 已通过 ,包含阶段
in 55 second
.columnsItemMinWidth[data-v-1a6b8c75]{min-width:1000px}
\ No newline at end of file
.columnsItemMinWidth[data-v-1facb13e]{min-width:1000px}
\ No newline at end of file
.columnsItemMinWidth[data-v-987bdc56]{min-width:1000px}
\ No newline at end of file
.columnsItemMinWidth[data-v-4835232e]{min-width:1000px}
\ No newline at end of file
.selectTitleIcon[data-v-4188b69a]:hover{cursor:pointer}
\ No newline at end of file
.columnsItemMinWidth[data-v-08154685]{min-width:1000px}
\ No newline at end of file
.columnsItemMinWidth[data-v-6318091e]{min-width:1000px}
\ No newline at end of file
.selectTitleIcon[data-v-251734fc]:hover{cursor:pointer}
\ 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/app.de53c9b8.css rel=stylesheet></head><body><script charset=utf-8 src="https://map.qq.com/api/gljs?v=1.exp&key=IZXBZ-OTAWV-XU7PV-5FAAL-F6VXH-7XBQP"></script><script src=/a/manager/identify/identify.js></script><noscript><strong>请开启 JavaScript 功能来使用 党建管理系统。</strong></noscript><div id=app></div><script src=js/chunk-vendors.231bdbe1.js></script><script src=js/app.f5004ef2.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/app.de53c9b8.css rel=stylesheet></head><body><script charset=utf-8 src="https://map.qq.com/api/gljs?v=1.exp&key=IZXBZ-OTAWV-XU7PV-5FAAL-F6VXH-7XBQP"></script><script src=/a/manager/identify/identify.js></script><noscript><strong>请开启 JavaScript 功能来使用 党建管理系统。</strong></noscript><div id=app></div><script src=js/chunk-vendors.231bdbe1.js></script><script src=js/app.6fbc34e4.js></script></body></html>
\ No newline at end of file \ No newline at end of file
此差异已折叠。
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0bb6b500"],{"4ca7":function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("Card",{scopedSlots:e._u([{key:"title",fn:function(){return[n("div",{staticStyle:{height:"30px",display:"flex","align-items":"center"}},[n("h3",[e._v("权限分配")])])]},proxy:!0},{key:"extra",fn:function(){return[n("div",{staticStyle:{display:"flex","flex-wrap":"nowrap","align-items":"center"}},[n("Input",{attrs:{placeholder:"请输入权限名称...",clearable:""},model:{value:e.searchValue,callback:function(t){e.searchValue=t},expression:"searchValue"}}),n("Button",{staticStyle:{"margin-left":"10px"},attrs:{type:"primary",disabled:""===e.searchValue},on:{click:e.searchEvent}},[e._v("查找\n ")])],1)]},proxy:!0}])},[n("Table",{attrs:{columns:e.columns,data:e.data,loading:e.loading},scopedSlots:e._u([{key:"action",fn:function(t){var r=t.row;return[n("Button",{attrs:{type:"primary",size:"small"},on:{click:function(t){return e.update(r)}}},[e._v("修改")]),n("Button",{staticStyle:{"margin-left":"10px"},attrs:{type:"error",size:"small"},on:{click:function(t){return e.roleDelete(r)}}},[e._v("删除")])]}}])}),n("div",{staticStyle:{width:"100%",height:"70px",display:"flex","align-items":"center"}},[n("Page",{attrs:{"show-total":"","show-sizer":"","show-elevator":"",total:e.total,"page-size":e.page_size,"model-value":"page_index"},on:{"on-change":e.currentPage,"on-page-size-change":e.currentPageCount}})],1)],1),n("Modal",{attrs:{title:""+e.ModalTitleValue,"cancel-text":"取消","ok-text":"确认","mask-closable":!1},on:{"on-ok":e.modalOk},model:{value:e.modal,callback:function(t){e.modal=t},expression:"modal"}},[n("Form",{ref:"updateRoleValue",attrs:{model:e.formTop,"label-width":80}},[n("FormItem",{attrs:{label:"权限名称",prop:"input1"}},[n("Input",{model:{value:e.formTop.input1,callback:function(t){e.$set(e.formTop,"input1",t)},expression:"formTop.input1"}})],1),n("FormItem",{attrs:{label:"备注",prop:"input2"}},[n("Input",{model:{value:e.formTop.input2,callback:function(t){e.$set(e.formTop,"input2",t)},expression:"formTop.input2"}})],1)],1)],1)],1)},a=[],o=(n("96cf"),n("3b8d")),i=n("967e"),s=n.n(i),c=n("5e9b"),u=n("806c"),l={components:{},data:function(){return{loading:!1,searchValue:"",total:null,page_size:10,page_index:1,ruleValidate:{input1:[{required:!0,message:"不能为空!",trigger:"blur"}],input2:[{required:!0,message:"不能为空!",trigger:"blur"}]},formTop_roleId:"",formTop:{input1:"",input2:"",roleId:"",roleCreateTime:""},modal:!1,columns:[{title:"序号",type:"index"},{title:"权限名称",key:"role_name"},{title:"备注",key:"role_remark"},{title:"操作",slot:"action",align:"center"}],data:[]}},computed:{ModalTitleValue:function(){return""===this.formTop.input1?"增添权限类型":"信息修改"}},watch:{"formTop.input1":function(e,t){}},methods:{searchEvent:function(){this.page_index=1,this.GetUserRoleList()},currentPage:function(e){this.page_index=e,this.GetUserRoleList()},currentPageCount:function(e){this.page_size=e,this.GetUserRoleList()},publicConfirm:function(e){this.$Modal.confirm({title:"警告",content:"<p>是否继续此操作?</p>",cancelText:"取消",okText:"确定",onOk:function(){var t=Object(o["a"])(s.a.mark((function t(){return s.a.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e();case 2:case"end":return t.stop()}}),t)})));function n(){return t.apply(this,arguments)}return n}()})},publicMessage:function(e){1!==e.code?this.$Message["warning"]({background:!0,content:"操作异常"}):(this.$Spin.hide(),this.$Message["success"]({background:!0,content:"操作成功"}))},roleDeleteEvent:function(){var e=Object(o["a"])(s.a.mark((function e(){var t=this;return s.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:u["myEncapsulationFunction"](Object(o["a"])(s.a.mark((function e(){var n,r;return s.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n={id:t.formTop.roleId},e.next=3,c["J"](n);case 3:return r=e.sent,e.next=6,t.GetUserRoleList();case 6:return e.abrupt("return",r);case 7:case"end":return e.stop()}}),e)}))));case 1:case"end":return e.stop()}}),e)})));function t(){return e.apply(this,arguments)}return t}(),roleDelete:function(){var e=Object(o["a"])(s.a.mark((function e(t){var n=this;return s.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:this.formTop.roleId=t.roleid,this.publicConfirm((function(){return n.roleDeleteEvent()}));case 2:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}(),addRoleClass:function(){this.formTop.input1="",this.formTop.input2="",this.formTop.roleId="",this.modal=!0},update:function(e){this.modal=!0,this.formTop.input1=e.role_name,this.formTop.input2=e.role_remark,this.formTop.roleId=e.roleid,this.formTop.roleCreateTime=e.createtime},modalOkDataAction:function(e){var t;return t=e?{roleid:this.formTop.roleId,role_name:this.formTop.input1,role_remark:this.formTop.input2,createtime:this.formTop.roleCreateTime}:{role_name:this.formTop.input1,role_remark:this.formTop.input2},t},modalOk:function(){var e=Object(o["a"])(s.a.mark((function e(){var t=this;return s.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:u["myEncapsulationFunction"](Object(o["a"])(s.a.mark((function e(){var n,r;return s.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=t.modalOkDataAction(t.formTop),e.next=3,c["K"](n);case 3:return r=e.sent,e.next=6,t.GetUserRoleList();case 6:return e.abrupt("return",r);case 7:case"end":return e.stop()}}),e)}))));case 1:case"end":return e.stop()}}),e)})));function t(){return e.apply(this,arguments)}return t}(),GetUserRoleList:function(){var e=Object(o["a"])(s.a.mark((function e(){var t=this;return s.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:u["getInitListRequest"](Object(o["a"])(s.a.mark((function e(){var n,r;return s.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t.loading=!0,n={page_index:t.page_index,page_size:t.page_size,name:t.searchValue},e.next=4,c["r"](n);case 4:r=e.sent,t.data=[],t.data=r.response.data,t.total=r.response.data_count,t.loading=!1;case 9:case"end":return e.stop()}}),e)}))));case 1:case"end":return e.stop()}}),e)})));function t(){return e.apply(this,arguments)}return t}()},beforeCreate:function(){},created:function(){},beforeMount:function(){},mounted:function(){this.GetUserRoleList()},beforeUpdate:function(){},updated:function(){},beforeDestroy:function(){},destroyed:function(){},activated:function(){}},p=l,f=(n("ebe7"),n("2877")),d=Object(f["a"])(p,r,a,!1,null,"1facb13e",null);t["default"]=d.exports},a6c9:function(e,t,n){},ebe7:function(e,t,n){"use strict";n("a6c9")}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-21d63018"],{4556:function(e,t,n){"use strict";n("d8db")},"4ca7":function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("Card",{scopedSlots:e._u([{key:"title",fn:function(){return[n("div",{staticStyle:{height:"30px",display:"flex","align-items":"center"}},[n("h3",[e._v("权限分配")])])]},proxy:!0},{key:"extra",fn:function(){return[n("div",{staticStyle:{display:"flex","flex-wrap":"nowrap","align-items":"center"}},[n("Input",{attrs:{placeholder:"请输入权限名称...",clearable:""},model:{value:e.searchValue,callback:function(t){e.searchValue=t},expression:"searchValue"}}),n("Button",{staticStyle:{"margin-left":"10px"},attrs:{type:"primary"},on:{click:e.searchEvent}},[e._v("查找")])],1)]},proxy:!0}])},[n("Table",{attrs:{columns:e.columns,data:e.data,loading:e.loading},scopedSlots:e._u([{key:"action",fn:function(t){var r=t.row;return[n("Button",{attrs:{type:"primary",size:"small"},on:{click:function(t){return e.update(r)}}},[e._v("修改")]),n("Button",{staticStyle:{"margin-left":"10px"},attrs:{type:"error",size:"small"},on:{click:function(t){return e.roleDelete(r)}}},[e._v("删除")])]}}])}),n("div",{staticStyle:{width:"100%",height:"70px",display:"flex","align-items":"center"}},[n("Page",{attrs:{"show-total":"","show-sizer":"","show-elevator":"",total:e.total,"page-size":e.page_size,"model-value":"page_index"},on:{"on-change":e.currentPage,"on-page-size-change":e.currentPageCount}})],1)],1),n("Modal",{attrs:{title:""+e.ModalTitleValue,"cancel-text":"取消","ok-text":"确认","mask-closable":!1},on:{"on-ok":e.modalOk},model:{value:e.modal,callback:function(t){e.modal=t},expression:"modal"}},[n("Form",{ref:"updateRoleValue",attrs:{model:e.formTop,"label-width":80}},[n("FormItem",{attrs:{label:"权限名称",prop:"input1"}},[n("Input",{model:{value:e.formTop.input1,callback:function(t){e.$set(e.formTop,"input1",t)},expression:"formTop.input1"}})],1),n("FormItem",{attrs:{label:"备注",prop:"input2"}},[n("Input",{model:{value:e.formTop.input2,callback:function(t){e.$set(e.formTop,"input2",t)},expression:"formTop.input2"}})],1)],1)],1)],1)},a=[],o=(n("96cf"),n("3b8d")),i=n("967e"),s=n.n(i),c=n("5e9b"),u=n("806c"),l={components:{},data:function(){return{loading:!1,searchValue:"",total:null,page_size:10,page_index:1,ruleValidate:{input1:[{required:!0,message:"不能为空!",trigger:"blur"}],input2:[{required:!0,message:"不能为空!",trigger:"blur"}]},formTop_roleId:"",formTop:{input1:"",input2:"",roleId:"",roleCreateTime:""},modal:!1,columns:[{title:"序号",type:"index"},{title:"权限名称",key:"role_name"},{title:"备注",key:"role_remark"},{title:"操作",slot:"action",align:"center"}],data:[]}},computed:{ModalTitleValue:function(){return""===this.formTop.input1?"增添权限类型":"信息修改"}},watch:{"formTop.input1":function(e,t){}},methods:{searchEvent:function(){this.page_index=1,this.GetUserRoleList()},currentPage:function(e){this.page_index=e,this.GetUserRoleList()},currentPageCount:function(e){this.page_size=e,this.GetUserRoleList()},publicConfirm:function(e){this.$Modal.confirm({title:"警告",content:"<p>是否继续此操作?</p>",cancelText:"取消",okText:"确定",onOk:function(){var t=Object(o["a"])(s.a.mark((function t(){return s.a.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e();case 2:case"end":return t.stop()}}),t)})));function n(){return t.apply(this,arguments)}return n}()})},publicMessage:function(e){1!==e.code?this.$Message["warning"]({background:!0,content:"操作异常"}):(this.$Spin.hide(),this.$Message["success"]({background:!0,content:"操作成功"}))},roleDeleteEvent:function(){var e=Object(o["a"])(s.a.mark((function e(){var t=this;return s.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:u["myEncapsulationFunction"](Object(o["a"])(s.a.mark((function e(){var n,r;return s.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n={id:t.formTop.roleId},e.next=3,c["J"](n);case 3:return r=e.sent,e.next=6,t.GetUserRoleList();case 6:return e.abrupt("return",r);case 7:case"end":return e.stop()}}),e)}))));case 1:case"end":return e.stop()}}),e)})));function t(){return e.apply(this,arguments)}return t}(),roleDelete:function(){var e=Object(o["a"])(s.a.mark((function e(t){var n=this;return s.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:this.formTop.roleId=t.roleid,this.publicConfirm((function(){return n.roleDeleteEvent()}));case 2:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}(),addRoleClass:function(){this.formTop.input1="",this.formTop.input2="",this.formTop.roleId="",this.modal=!0},update:function(e){this.modal=!0,this.formTop.input1=e.role_name,this.formTop.input2=e.role_remark,this.formTop.roleId=e.roleid,this.formTop.roleCreateTime=e.createtime},modalOkDataAction:function(e){var t;return t=e?{roleid:this.formTop.roleId,role_name:this.formTop.input1,role_remark:this.formTop.input2,createtime:this.formTop.roleCreateTime}:{role_name:this.formTop.input1,role_remark:this.formTop.input2},t},modalOk:function(){var e=Object(o["a"])(s.a.mark((function e(){var t=this;return s.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:u["myEncapsulationFunction"](Object(o["a"])(s.a.mark((function e(){var n,r;return s.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=t.modalOkDataAction(t.formTop),e.next=3,c["K"](n);case 3:return r=e.sent,e.next=6,t.GetUserRoleList();case 6:return e.abrupt("return",r);case 7:case"end":return e.stop()}}),e)}))));case 1:case"end":return e.stop()}}),e)})));function t(){return e.apply(this,arguments)}return t}(),GetUserRoleList:function(){var e=Object(o["a"])(s.a.mark((function e(){var t=this;return s.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:u["getInitListRequest"](Object(o["a"])(s.a.mark((function e(){var n,r;return s.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t.loading=!0,n={page_index:t.page_index,page_size:t.page_size,name:t.searchValue},e.next=4,c["r"](n);case 4:r=e.sent,t.data=[],t.data=r.response.data,t.total=r.response.data_count,t.loading=!1;case 9:case"end":return e.stop()}}),e)}))));case 1:case"end":return e.stop()}}),e)})));function t(){return e.apply(this,arguments)}return t}()},beforeCreate:function(){},created:function(){},beforeMount:function(){},mounted:function(){this.GetUserRoleList()},beforeUpdate:function(){},updated:function(){},beforeDestroy:function(){},destroyed:function(){},activated:function(){}},p=l,f=(n("4556"),n("2877")),d=Object(f["a"])(p,r,a,!1,null,"987bdc56",null);t["default"]=d.exports},d8db:function(e,t,n){}}]);
\ No newline at end of file
此差异已折叠。
此差异已折叠。
此差异已折叠。
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-3f08b884"],{ac00:function(e,t,n){},b769:function(e,t,n){"use strict";n.r(t);var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("Card",{staticClass:"HeaderCard",staticStyle:{width:"100%"},attrs:{"dis-hover":""}},[n("div",{staticStyle:{"padding-bottom":"7px",display:"flex","flex-flow":"row nowrap","align-content":"center"}},[n("h3",[e._v("消息推送记录列表")]),n("div",{staticStyle:{"margin-left":"auto",display:"flex"}},[n("Input",{staticStyle:{width:"12vw","margin-right":"10px"},attrs:{clearable:"",placeholder:"请输入接收人姓名..."},model:{value:e.reception_man,callback:function(t){e.reception_man=t},expression:"reception_man"}}),n("DatePicker",{staticStyle:{"margin-right":"10px",width:"12vw"},attrs:{placeholder:"请选择日期",type:"daterange"},on:{"on-change":e.signDateSelect},model:{value:e.timeRange,callback:function(t){e.timeRange=t},expression:"timeRange"}}),n("Select",{staticStyle:{"margin-right":"10px",width:"12vw"},attrs:{clearable:"",placeholder:"请选择..."},model:{value:e.send_state,callback:function(t){e.send_state=t},expression:"send_state"}},e._l(e.cityList,(function(t){return n("Option",{key:t.value,attrs:{value:t.value}},[e._v(e._s(t.label))])})),1),n("Select",{staticStyle:{"margin-right":"10px",width:"12vw"},attrs:{clearable:"",placeholder:"请选择..."},model:{value:e.is_succeed,callback:function(t){e.is_succeed=t},expression:"is_succeed"}},e._l(e.cityList1,(function(t){return n("Option",{key:t.value,attrs:{value:t.value}},[e._v(e._s(t.label))])})),1),n("Button",{attrs:{type:"primary"},on:{click:e.SearchViewEvent}},[e._v("查找")])],1)]),n("Table",{ref:"selection",staticClass:"table",attrs:{border:!1,columns:e.columns,data:e.data,loading:e.loading},scopedSlots:e._u([{key:"messageinfo",fn:function(e){var t=e.row;return[n("Ellipsis",{attrs:{length:15,text:t.messageinfo,transfer:!0,tooltip:""}})]}},{key:"reception_man",fn:function(t){var n=t.row;return[e._v("\n "+e._s(n.reception_man)+"\n ")]}},{key:"meg_link",fn:function(e){var t=e.row;return[n("Ellipsis",{attrs:{height:50,text:t.meg_link,transfer:!0,tooltip:""}})]}},{key:"remark",fn:function(e){var t=e.row;return[n("Ellipsis",{attrs:{height:50,text:t.remark,transfer:!0,tooltip:""}})]}},{key:"send_state",fn:function(t){var a=t.row;return[n("Tag",{attrs:{color:["error","success"][a.send_state]}},[e._v(e._s(["未发送","已发送"][a.send_state]))])]}},{key:"is_succeed",fn:function(t){var a=t.row;return[n("Tag",{attrs:{color:["warning","error","success"][a.is_succeed]}},[e._v(e._s(["异常","失败","成功"][a.is_succeed])+"\n ")])]}},{key:"action",fn:function(t){var a=t.row;return[n("Button",{attrs:{size:"small",type:"primary"},on:{click:function(t){return e.messageReset(a)}}},[e._v("重发\n ")])]}}])}),n("div",{key:e.key,staticStyle:{width:"100%",height:"50px","margin-top":"20px"}},[n("Page",{staticStyle:{"border-color":"#d89a7c"},attrs:{"page-size":e.page_size,total:e.total,"model-value":"page_index","show-elevator":"","show-sizer":"","show-total":""},on:{"on-change":e.currentPage,"on-page-size-change":e.currentPageCount}})],1)],1),n("Modal",{attrs:{title:"重新发送提示"},scopedSlots:e._u([{key:"header",fn:function(){return[n("p",{staticStyle:{color:"#f60","text-align":"center"}},[n("Icon",{attrs:{type:"ios-information-circle"}}),n("span",[e._v("重新发送提示")])],1)]},proxy:!0},{key:"footer",fn:function(){return[n("Button",{staticStyle:{color:"#574f44"},attrs:{size:"large"},on:{click:function(t){e.messageModal=!1}}},[e._v("取消\n ")]),n("Button",{staticStyle:{"margin-left":"1vh"},attrs:{size:"large",type:"primary"},on:{click:function(t){return e.messageOk()}}},[e._v("确定\n ")])]},proxy:!0}]),model:{value:e.messageModal,callback:function(t){e.messageModal=t},expression:"messageModal"}},[n("span",{staticStyle:{display:"flex","justify-content":"center"}},[e._v("确定重发此条消息提示吗?")])])],1)},i=[],s=(n("96cf"),n("3b8d")),r=n("967e"),c=n.n(r),o=n("5e9b"),l=n("5a0c"),u=n.n(l),d={name:"numberLimit",data:function(){return{loading:!1,send_state:"",is_succeed:"",reception_man:"",timeRange:[],begin_time:"",end_time:"",send_stateSearch:"",is_succeedSearch:"",messageResetObject:{},messageModal:!1,key:0,SelectMiedleValue:"",SelectValue:"",SearchDateValue:"",page_size:10,page_index:1,total:0,columns:[{title:"接收人",slot:"reception_man",minWidth:150},{title:"消息内容",slot:"messageinfo",minWidth:150},{title:"链接",slot:"meg_link",minWidth:150},{title:"失败原因",slot:"remark",minWidth:150},{title:"发送状态",slot:"send_state",minWidth:150},{title:"是否成功",slot:"is_succeed",minWidth:150},{title:"发送时间",key:"send_time",minWidth:150},{title:"操作",slot:"action",minWidth:100,fixed:"right",align:"center"}],data:[],cityList:[{value:1,label:"发送"},{value:0,label:"未发送"}],cityList1:[{value:2,label:"成功"},{value:1,label:"失败"}]}},methods:{signDateSelect:function(e){this.begin_time="",this.end_time="",e=e.filter((function(e){return""!==e})),e.length&&(this.begin_time=u()(e[0]).format("YYYY-MM-DD"),this.end_time=u()(e[1]).format("YYYY-MM-DD"))},messageOk:function(){var e=Object(s["a"])(c.a.mark((function e(){var t,n;return c.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t={megid:this.messageResetObject.msgid},e.next=3,o["B"](t);case 3:return n=e.sent,e.next=6,this.GetMessageimeListEvent();case 6:this.messageModal=!1,this.$Message.info(n.msg);case 8:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),messageReset:function(e){this.messageModal=!0,this.messageResetObject=e},OfficeArraySort:function(){console.log(this.SelectValue),this.SelectMiedleValue=this.SelectValue},DateManagementModal:function(e,t){console.log(e)},SearchViewEvent:function(){var e=Object(s["a"])(c.a.mark((function e(){return c.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return this.page_index=1,this.key++,e.next=4,this.GetMessageimeListEvent();case 4:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),searchTimeValue:function(e){},currentPage:function(e){this.page_index=e,this.GetMessageimeListEvent()},currentPageCount:function(e){this.page_size=e,this.GetMessageimeListEvent()},GetMessageimeListEvent:function(){var e=Object(s["a"])(c.a.mark((function e(){var t=this;return c.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:this.hooks.getInitListRequest(Object(s["a"])(c.a.mark((function e(){var n,a;return c.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t.loading=!0,n={send_state:void 0===t.send_state?"":t.send_state,is_succeed:void 0===t.is_succeed?"":t.is_succeed,reception_man:t.reception_man,begin_time:t.begin_time,end_time:t.end_time,page_index:t.page_index,page_size:t.page_size},e.next=4,o["l"](n);case 4:a=e.sent,t.loading=!1,t.data=a.response.data,0===t.data.length&&1!==t.page_index&&(t.page_index=1,t.currentPage(t.page_index)),t.total=a.response.data_count;case 9:case"end":return e.stop()}}),e)}))));case 1:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},mounted:function(){this.GetMessageimeListEvent()}},g=d,m=(n("efd8"),n("2877")),p=Object(m["a"])(g,a,i,!1,null,"29d821ee",null);t["default"]=p.exports},efd8:function(e,t,n){"use strict";n("ac00")}}]);
\ No newline at end of file
此差异已折叠。
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7733670f"],{"4e8a":function(e,t,n){},b769:function(e,t,n){"use strict";n.r(t);var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("Card",{staticClass:"HeaderCard",staticStyle:{width:"100%"},attrs:{"dis-hover":""}},[n("div",{staticStyle:{"padding-bottom":"7px",display:"flex","flex-flow":"row nowrap","align-content":"center"}},[n("h3",[e._v("消息推送记录列表")]),n("div",{staticStyle:{"margin-left":"auto",display:"flex"}},[n("Input",{staticStyle:{width:"12vw","margin-right":"10px"},attrs:{clearable:"",placeholder:"请输入接收人姓名..."},model:{value:e.reception_man,callback:function(t){e.reception_man=t},expression:"reception_man"}}),n("DatePicker",{staticStyle:{"margin-right":"10px",width:"12vw"},attrs:{placeholder:"请选择日期",type:"daterange"},on:{"on-change":e.signDateSelect},model:{value:e.timeRange,callback:function(t){e.timeRange=t},expression:"timeRange"}}),n("Select",{staticStyle:{"margin-right":"10px",width:"12vw"},attrs:{clearable:"",placeholder:"请选择..."},model:{value:e.send_state,callback:function(t){e.send_state=t},expression:"send_state"}},e._l(e.cityList,(function(t){return n("Option",{key:t.value,attrs:{value:t.value}},[e._v(e._s(t.label))])})),1),n("Select",{staticStyle:{"margin-right":"10px",width:"12vw"},attrs:{clearable:"",placeholder:"请选择..."},model:{value:e.is_succeed,callback:function(t){e.is_succeed=t},expression:"is_succeed"}},e._l(e.cityList1,(function(t){return n("Option",{key:t.value,attrs:{value:t.value}},[e._v(e._s(t.label))])})),1),n("Button",{attrs:{type:"primary"},on:{click:e.SearchViewEvent}},[e._v("查找")])],1)]),n("Table",{ref:"selection",staticClass:"table",attrs:{border:!1,columns:e.columns,data:e.data,loading:e.loading},scopedSlots:e._u([{key:"messageinfo",fn:function(e){var t=e.row;return[n("Ellipsis",{attrs:{length:15,text:t.messageinfo,transfer:!0,tooltip:""}})]}},{key:"reception_man",fn:function(t){var n=t.row;return[e._v("\n "+e._s(n.reception_man)+"\n ")]}},{key:"meg_link",fn:function(e){var t=e.row;return[n("Ellipsis",{attrs:{height:50,text:t.meg_link,transfer:!0,tooltip:""}})]}},{key:"remark",fn:function(e){var t=e.row;return[n("Ellipsis",{attrs:{height:50,text:t.remark,transfer:!0,tooltip:""}})]}},{key:"send_state",fn:function(t){var a=t.row;return[n("Tag",{attrs:{color:["error","success"][a.send_state]}},[e._v(e._s(["未发送","已发送"][a.send_state]))])]}},{key:"is_succeed",fn:function(t){var a=t.row;return[n("Tag",{attrs:{color:["warning","error","success"][a.is_succeed]}},[e._v(e._s(["异常","失败","成功"][a.is_succeed])+"\n ")])]}},{key:"action",fn:function(t){var a=t.row;return[n("Button",{attrs:{size:"small",type:"primary"},on:{click:function(t){return e.messageReset(a)}}},[e._v("重发\n ")])]}}])}),n("div",{key:e.key,staticStyle:{width:"100%",height:"50px","margin-top":"20px"}},[n("Page",{staticStyle:{"border-color":"#d89a7c"},attrs:{"page-size":e.page_size,total:e.total,"model-value":"page_index","show-elevator":"","show-sizer":"","show-total":""},on:{"on-change":e.currentPage,"on-page-size-change":e.currentPageCount}})],1)],1),n("Modal",{attrs:{title:"重新发送提示"},scopedSlots:e._u([{key:"header",fn:function(){return[n("p",{staticStyle:{color:"#f60","text-align":"center"}},[n("Icon",{attrs:{type:"ios-information-circle"}}),n("span",[e._v("重新发送提示")])],1)]},proxy:!0},{key:"footer",fn:function(){return[n("Button",{staticStyle:{color:"#574f44"},attrs:{size:"large"},on:{click:function(t){e.messageModal=!1}}},[e._v("取消\n ")]),n("Button",{staticStyle:{"margin-left":"1vh"},attrs:{size:"large",type:"primary"},on:{click:function(t){return e.messageOk()}}},[e._v("确定\n ")])]},proxy:!0}]),model:{value:e.messageModal,callback:function(t){e.messageModal=t},expression:"messageModal"}},[n("span",{staticStyle:{display:"flex","justify-content":"center"}},[e._v("确定重发此条消息提示吗?")])])],1)},i=[],s=(n("96cf"),n("3b8d")),r=n("967e"),c=n.n(r),o=n("5e9b"),l=n("5a0c"),u=n.n(l),d={name:"numberLimit",data:function(){return{loading:!1,send_state:"",is_succeed:"",reception_man:"",timeRange:[],begin_time:"",end_time:"",send_stateSearch:"",is_succeedSearch:"",messageResetObject:{},messageModal:!1,key:0,SelectMiedleValue:"",SelectValue:"",SearchDateValue:"",page_size:10,page_index:1,total:0,columns:[{title:"序号",type:"index",show:!0,width:150},{title:"接收人",slot:"reception_man",minWidth:150},{title:"消息内容",slot:"messageinfo",minWidth:150},{title:"链接",slot:"meg_link",minWidth:150},{title:"失败原因",slot:"remark",minWidth:150},{title:"发送状态",slot:"send_state",minWidth:150},{title:"是否成功",slot:"is_succeed",minWidth:150},{title:"发送时间",key:"send_time",minWidth:150},{title:"操作",slot:"action",minWidth:100,fixed:"right",align:"center"}],data:[],cityList:[{value:1,label:"发送"},{value:0,label:"未发送"}],cityList1:[{value:2,label:"成功"},{value:1,label:"失败"}]}},methods:{signDateSelect:function(e){this.begin_time="",this.end_time="",e=e.filter((function(e){return""!==e})),e.length&&(this.begin_time=u()(e[0]).format("YYYY-MM-DD"),this.end_time=u()(e[1]).format("YYYY-MM-DD"))},messageOk:function(){var e=Object(s["a"])(c.a.mark((function e(){var t,n;return c.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t={megid:this.messageResetObject.msgid},e.next=3,o["B"](t);case 3:return n=e.sent,e.next=6,this.GetMessageimeListEvent();case 6:this.messageModal=!1,this.$Message.info(n.msg);case 8:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),messageReset:function(e){this.messageModal=!0,this.messageResetObject=e},OfficeArraySort:function(){console.log(this.SelectValue),this.SelectMiedleValue=this.SelectValue},DateManagementModal:function(e,t){console.log(e)},SearchViewEvent:function(){var e=Object(s["a"])(c.a.mark((function e(){return c.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return this.page_index=1,this.key++,e.next=4,this.GetMessageimeListEvent();case 4:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),searchTimeValue:function(e){},currentPage:function(e){this.page_index=e,this.GetMessageimeListEvent()},currentPageCount:function(e){this.page_size=e,this.GetMessageimeListEvent()},GetMessageimeListEvent:function(){var e=Object(s["a"])(c.a.mark((function e(){var t=this;return c.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:this.hooks.getInitListRequest(Object(s["a"])(c.a.mark((function e(){var n,a;return c.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t.loading=!0,n={send_state:void 0===t.send_state?"":t.send_state,is_succeed:void 0===t.is_succeed?"":t.is_succeed,reception_man:t.reception_man,begin_time:t.begin_time,end_time:t.end_time,page_index:t.page_index,page_size:t.page_size},e.next=4,o["l"](n);case 4:a=e.sent,t.loading=!1,t.data=a.response.data,0===t.data.length&&1!==t.page_index&&(t.page_index=1,t.currentPage(t.page_index)),t.total=a.response.data_count;case 9:case"end":return e.stop()}}),e)}))));case 1:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},mounted:function(){this.GetMessageimeListEvent()}},g=d,m=(n("ea55"),n("2877")),p=Object(m["a"])(g,a,i,!1,null,"348b28d9",null);t["default"]=p.exports},ea55:function(e,t,n){"use strict";n("4e8a")}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-282df1ef"],{"2b5c":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("Card",{scopedSlots:e._u([{key:"title",fn:function(){return[n("div",{staticStyle:{height:"30px",display:"flex","align-items":"center"}},[n("h3",[e._v("操作日志")])])]},proxy:!0},{key:"extra",fn:function(){return[n("div",{staticStyle:{display:"flex","flex-wrap":"nowrap","align-items":"center"}},[n("Input",{attrs:{clearable:"",placeholder:"请输入卡号或姓名..."},model:{value:e.key_name,callback:function(t){e.key_name=t},expression:"key_name"}}),n("DatePicker",{staticStyle:{width:"100%","margin-left":"10px"},attrs:{type:"daterange",placeholder:"请选择日期"},on:{"on-change":e.signDateSelect},model:{value:e.timeRange,callback:function(t){e.timeRange=t},expression:"timeRange"}}),n("Button",{staticStyle:{"margin-left":"10px"},attrs:{type:"primary"},on:{click:e.GetLogAll}},[e._v("查找\n ")])],1)]},proxy:!0}])},[n("Table",{attrs:{columns:e.columns,data:e.data,loading:e.loading}}),n("div",{staticStyle:{width:"100%",height:"70px",display:"flex","align-items":"center"}},[n("Page",{attrs:{"show-total":"","show-sizer":"","show-elevator":"",total:e.total,"page-size":e.page_size,"model-value":"page_index"},on:{"on-change":e.currentPage,"on-page-size-change":e.currentPageCount}})],1)],1)],1)},a=[],c=(n("96cf"),n("3b8d")),o=n("967e"),r=n.n(o),s=n("5e9b"),l=n("5a0c"),u=n.n(l),d={components:{},data:function(){return{loading:!1,total:null,page_size:10,page_index:1,key_name:"",begin_time:"",end_time:"",timeRange:[],columns:[{title:"姓名",key:"user_name",minWidth:150,align:"center"},{title:"工号",key:"user_id",minWidth:150,align:"center"},{title:"操作内容",key:"type",minWidth:150,align:"center"},{title:"IP地址",key:"ip",minWidth:150,align:"center"},{title:"操作时间",key:"createtime",minWidth:150,align:"center"}],data:[]}},computed:{},watch:{},methods:{signDateSelect:function(e){this.begin_time="",this.end_time="",e=e.filter((function(e){return""!==e})),console.log("🚀🚀🚀,",e),e.length&&(this.begin_time=u()(e[0]).format("YYYY-MM-DD"),this.end_time=u()(e[1]).format("YYYY-MM-DD"))},currentPage:function(e){this.page_index=e,this.GetLogAll()},currentPageCount:function(e){this.page_size=e,this.GetLogAll()},publicConfirm:function(e){this.$Modal.confirm({title:"警告",content:"<p>是否继续此操作?</p>",cancelText:"取消",okText:"确定",onOk:function(){var t=Object(c["a"])(r.a.mark((function t(){return r.a.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e();case 2:case"end":return t.stop()}}),t)})));function n(){return t.apply(this,arguments)}return n}()})},publicMessage:function(e){1!==e.code?this.$Message["warning"]({background:!0,content:"操作异常"}):(this.$Spin.hide(),this.$Message["success"]({background:!0,content:"操作成功"}))},GetLogAll:function(){var e=Object(c["a"])(r.a.mark((function e(){var t=this;return r.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:this.hooks.getInitListRequest(Object(c["a"])(r.a.mark((function e(){var n,i;return r.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t.loading=!0,n={page_index:t.page_index,page_size:t.page_size,key_name:t.key_name,begin_time:t.begin_time,end_time:t.end_time},e.next=4,s["i"](n);case 4:i=e.sent,t.total=i.response.data_count,t.data=i.response.data,t.loading=!1;case 8:case"end":return e.stop()}}),e)}))));case 1:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},beforeCreate:function(){},created:function(){},beforeMount:function(){},mounted:function(){this.GetLogAll()},beforeUpdate:function(){},updated:function(){},beforeDestroy:function(){},destroyed:function(){},activated:function(){}},p=d,g=(n("fa66"),n("2877")),f=Object(g["a"])(p,i,a,!1,null,"4835232e",null);t["default"]=f.exports},fa66:function(e,t,n){"use strict";n("fc68")},fc68:function(e,t,n){}}]); (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-c3281d1e"],{"2b5c":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("Card",{scopedSlots:e._u([{key:"title",fn:function(){return[n("div",{staticStyle:{height:"30px",display:"flex","align-items":"center"}},[n("h3",[e._v("操作日志")])])]},proxy:!0},{key:"extra",fn:function(){return[n("div",{staticStyle:{display:"flex","flex-wrap":"nowrap","align-items":"center"}},[n("Input",{attrs:{clearable:"",placeholder:"请输入卡号或姓名..."},model:{value:e.key_name,callback:function(t){e.key_name=t},expression:"key_name"}}),n("DatePicker",{staticStyle:{width:"100%","margin-left":"10px"},attrs:{type:"daterange",placeholder:"请选择日期"},on:{"on-change":e.signDateSelect},model:{value:e.timeRange,callback:function(t){e.timeRange=t},expression:"timeRange"}}),n("Button",{staticStyle:{"margin-left":"10px"},attrs:{type:"primary"},on:{click:e.GetLogAll}},[e._v("查找\n ")])],1)]},proxy:!0}])},[n("Table",{attrs:{columns:e.columns,data:e.data,loading:e.loading}}),n("div",{staticStyle:{width:"100%",height:"70px",display:"flex","align-items":"center"}},[n("Page",{attrs:{"show-total":"","show-sizer":"","show-elevator":"",total:e.total,"page-size":e.page_size,"model-value":"page_index"},on:{"on-change":e.currentPage,"on-page-size-change":e.currentPageCount}})],1)],1)],1)},a=[],c=(n("96cf"),n("3b8d")),o=n("967e"),r=n.n(o),s=n("5e9b"),l=n("5a0c"),u=n.n(l),d={components:{},data:function(){return{loading:!1,total:null,page_size:10,page_index:1,key_name:"",begin_time:"",end_time:"",timeRange:[],columns:[{title:"序号",type:"index",show:!0,width:150},{title:"姓名",key:"user_name",minWidth:150,align:"center"},{title:"工号",key:"user_id",minWidth:150,align:"center"},{title:"操作内容",key:"type",minWidth:150,align:"center"},{title:"IP地址",key:"ip",minWidth:150,align:"center"},{title:"操作时间",key:"createtime",minWidth:150,align:"center"}],data:[]}},computed:{},watch:{},methods:{signDateSelect:function(e){this.begin_time="",this.end_time="",e=e.filter((function(e){return""!==e})),console.log("🚀🚀🚀,",e),e.length&&(this.begin_time=u()(e[0]).format("YYYY-MM-DD"),this.end_time=u()(e[1]).format("YYYY-MM-DD"))},currentPage:function(e){this.page_index=e,this.GetLogAll()},currentPageCount:function(e){this.page_size=e,this.GetLogAll()},publicConfirm:function(e){this.$Modal.confirm({title:"警告",content:"<p>是否继续此操作?</p>",cancelText:"取消",okText:"确定",onOk:function(){var t=Object(c["a"])(r.a.mark((function t(){return r.a.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e();case 2:case"end":return t.stop()}}),t)})));function n(){return t.apply(this,arguments)}return n}()})},publicMessage:function(e){1!==e.code?this.$Message["warning"]({background:!0,content:"操作异常"}):(this.$Spin.hide(),this.$Message["success"]({background:!0,content:"操作成功"}))},GetLogAll:function(){var e=Object(c["a"])(r.a.mark((function e(){var t=this;return r.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:this.hooks.getInitListRequest(Object(c["a"])(r.a.mark((function e(){var n,i;return r.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t.loading=!0,n={page_index:t.page_index,page_size:t.page_size,key_name:t.key_name,begin_time:t.begin_time,end_time:t.end_time},e.next=4,s["i"](n);case 4:i=e.sent,t.total=i.response.data_count,t.data=i.response.data,t.loading=!1;case 8:case"end":return e.stop()}}),e)}))));case 1:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},beforeCreate:function(){},created:function(){},beforeMount:function(){},mounted:function(){this.GetLogAll()},beforeUpdate:function(){},updated:function(){},beforeDestroy:function(){},destroyed:function(){},activated:function(){}},p=d,g=(n("5fdf"),n("2877")),f=Object(g["a"])(p,i,a,!1,null,"6318091e",null);t["default"]=f.exports},"5fdf":function(e,t,n){"use strict";n("6d8c")},"6d8c":function(e,t,n){}}]);
\ No newline at end of file \ No newline at end of file
此差异已折叠。
...@@ -544,3 +544,4 @@ export function ChangeModeConfigSave(data) { ...@@ -544,3 +544,4 @@ export function ChangeModeConfigSave(data) {
method: 'get', method: 'get',
}); });
} }
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<Dropdown :trigger="isMobile ? 'click' : 'hover'" class="i-layout-header-user" <Dropdown :trigger="isMobile ? 'click' : 'hover'" class="i-layout-header-user"
:class="{ 'i-layout-header-user-mobile': isMobile }" @on-click="handleClick"> :class="{ 'i-layout-header-user-mobile': isMobile }" @on-click="handleClick">
<Avatar size="default" icon="ios-person" style="background-color: #2D8CF0;"/> <Avatar size="default" icon="ios-person" style="background-color: #2D8CF0;"/>
<span class="i-layout-header-user-name" v-if="!isMobile">{{ userName }}</span> <span class="i-layout-header-user-name" v-if="!isMobile">{{ info.name }}</span>
<DropdownMenu slot="list"> <DropdownMenu slot="list">
<!-- <i-link to="/setting/user"> <!-- <i-link to="/setting/user">
<DropdownItem> <DropdownItem>
......
...@@ -458,8 +458,6 @@ ...@@ -458,8 +458,6 @@
// width: 80, // width: 80,
// align: 'center' // align: 'center'
// }, // },
{ {
title: "姓名", title: "姓名",
key: 'username', key: 'username',
...@@ -470,14 +468,11 @@ ...@@ -470,14 +468,11 @@
key: 'card_name', key: 'card_name',
minWidth: 150, minWidth: 150,
}, },
{ {
title: "联系方式", title: "联系方式",
key: 'mobile', key: 'mobile',
minWidth: 150, minWidth: 150,
}, },
{ {
title: "值班部门", title: "值班部门",
key: 'dept_name', key: 'dept_name',
...@@ -503,7 +498,6 @@ ...@@ -503,7 +498,6 @@
slot: 'watch_remark', slot: 'watch_remark',
minWidth: 150, minWidth: 150,
}, },
{ {
title: "值班日期", title: "值班日期",
key: 'watch_date', key: 'watch_date',
...@@ -522,7 +516,6 @@ ...@@ -522,7 +516,6 @@
align: 'center', align: 'center',
fixed: 'right' fixed: 'right'
} }
], ],
data: [], data: [],
......
...@@ -94,7 +94,13 @@ ...@@ -94,7 +94,13 @@
end_time: '', end_time: '',
timeRange: [], timeRange: [],
columns: [ columns: [
{
title: '序号',
type: 'index',
show: true,
width: 150
},
{ {
title: '姓名', title: '姓名',
key: 'user_name', key: 'user_name',
......
...@@ -122,7 +122,6 @@ ...@@ -122,7 +122,6 @@
mounted() { mounted() {
var that = this var that = this
window.addEventListener('message', function (event) { window.addEventListener('message', function (event) {
console.log("🚀🚀event🚀,", event)
// 接收位置信息,用户选择确认位置点后选点组件会触发该事件,回传用户的位置信息 // 接收位置信息,用户选择确认位置点后选点组件会触发该事件,回传用户的位置信息
var loc = event.data; var loc = event.data;
if (loc && loc.module == 'locationPicker') {//防止其他应用也会向该页面post信息,需判断module是否为'locationPicker' if (loc && loc.module == 'locationPicker') {//防止其他应用也会向该页面post信息,需判断module是否为'locationPicker'
......
<template> <template>
<div> <div>
<!-- <template #title >-->
<!-- <div style="height: 30px;display: flex;align-items: center;">-->
<!-- <h3 >初始化配置</h3>-->
<!-- </div>-->
<!-- </template>-->
<!-- <template #extra>-->
<!-- <div style="display: flex;flex-wrap: nowrap;align-items: center; ">-->
<!-- <Input v-model="searchValue" placeholder="请输入权限名称进行查找..."></Input>-->
<!-- <Button type="primary" :disabled="searchValue === ''" @click="searchEvent" style="margin-left: 10px;">查找</Button>-->
<!-- <Button type="primary" @click="addRoleClass" style="margin-left: 10px;">增添用户权限</Button>-->
<!-- </div>-->
<!-- </template>-->
<Table :columns="columns" :data="data" :loading="loading"> <Table :columns="columns" :data="data" :loading="loading">
<template #action="{row}"> <template #action="{row}">
...@@ -46,20 +32,10 @@ ...@@ -46,20 +32,10 @@
> >
<Form :model="formTop" :label-width="80" ref="updateRoleValue"> <Form :model="formTop" :label-width="80" ref="updateRoleValue">
<!-- :rules="ruleValidate"--> <!-- :rules="ruleValidate"-->
<FormItem label="配置校区" prop="input1"> <FormItem label="配置校区" prop="input1">
<Input v-model="formTop.input1"></Input> <Input clearable placeholder="请输入校区名称" v-model="formTop.input1"></Input>
</FormItem> </FormItem>
<!-- <FormItem label="选择教师" prop="input2" >-->
<!-- <Select v-model="teacherSelectCurrentValue" filterable placeholder="请选择或搜索...">-->
<!-- <Option v-for="item in cityTeacherList" :value="item.id" :key="item.id" >{{ item.name }}</Option>-->
<!-- </Select>-->
<!-- </FormItem>-->
<!-- <FormItem label="选择权限" prop="input2" >-->
<!-- <Select v-model="roleSelectCurrentValue" multiple >-->
<!-- <Option v-for="item in cityRoleList" :value="item.id" :key="item.id">{{ item.name }}</Option>-->
<!-- </Select>-->
<!-- </FormItem>-->
</Form> </Form>
</Modal> </Modal>
</div> </div>
......
...@@ -60,9 +60,7 @@ ...@@ -60,9 +60,7 @@
</Option> </Option>
</Select> </Select>
</FormItem> </FormItem>
<FormItem label="值班类型备注" prop="input2">
<Input v-model="formTop.input2"></Input>
</FormItem>
<FormItem label="签到类型"> <FormItem label="签到类型">
<Select v-model="formTop.type" placeholder=""> <Select v-model="formTop.type" placeholder="">
<Option :value="0">免打卡</Option> <Option :value="0">免打卡</Option>
...@@ -70,6 +68,9 @@ ...@@ -70,6 +68,9 @@
<Option :value="2">定位拍照打卡</Option> <Option :value="2">定位拍照打卡</Option>
</Select> </Select>
</FormItem> </FormItem>
<FormItem label="值班类型备注" prop="input2">
<Input v-model="formTop.input2"></Input>
</FormItem>
<!-- <FormItem label="选择教师" prop="input2" >--> <!-- <FormItem label="选择教师" prop="input2" >-->
<!-- <Select v-model="teacherSelectCurrentValue" filterable placeholder="请选择或搜索...">--> <!-- <Select v-model="teacherSelectCurrentValue" filterable placeholder="请选择或搜索...">-->
<!-- <Option v-for="item in cityTeacherList" :value="item.id" :key="item.id" >{{ item.name }}</Option>--> <!-- <Option v-for="item in cityTeacherList" :value="item.id" :key="item.id" >{{ item.name }}</Option>-->
...@@ -159,7 +160,7 @@ ...@@ -159,7 +160,7 @@
//监控data中的数据变化", //监控data中的数据变化",
watch: { watch: {
async 'input.flag'(newValue, oldValue) { async 'input.flag'(newValue, oldValue) {
console.log(newValue) console.log(newValue,'$parent',this.$parent)
if (newValue) { if (newValue) {
let data = { let data = {
"watchtypename": this.input.input1, "watchtypename": this.input.input1,
...@@ -171,7 +172,6 @@ ...@@ -171,7 +172,6 @@
await this.GetWatchTypeList() await this.GetWatchTypeList()
this.input.flag = false this.input.flag = false
if (res.code === 1) this.$emit('cancelModal', false) if (res.code === 1) this.$emit('cancelModal', false)
} }
}, },
async 'input.searchFlag'(newValue, oldValue) { async 'input.searchFlag'(newValue, oldValue) {
......
...@@ -132,6 +132,12 @@ ...@@ -132,6 +132,12 @@
page_index: 1, page_index: 1,
total: 0, total: 0,
columns: [ columns: [
{
title: '序号',
type: 'index',
show: true,
width: 150
},
{ {
title: '接收人', title: '接收人',
slot: 'reception_man', slot: 'reception_man',
......
Markdown 格式
0% or
您添加了 0 人 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册 或