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

20241128 签到列表》保存日志>post

上级 695c9712
.iconScale[data-v-c706f3d8]:hover{color:#1e93ff}.iconScale[data-v-c706f3d8]:hover,.selectTitleIcon[data-v-c706f3d8]:hover{transform:scale(1.3);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.da590f1a.js></script></body></html>
\ No newline at end of file
<!DOCTYPE html><html><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0"><link rel="shortcut icon" href=favicon.ico><title>值班管理</title><link href=css/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.d8fe7957.js></script></body></html>
\ No newline at end of file
因为 它太大了无法显示 源差异 。您可以改为 查看blob。
此差异已折叠。
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-6d326696"],{3526:function(e,t,n){"use strict";n("7cdc")},"7cdc":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,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:100,text:t.meg_link,tooltip:""}})]}},{key:"remark",fn:function(t){var n=t.row;return[e._v("\n "+e._s(n.remark)+"\n ")]}},{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:"发送时间",key:"send_time",minWidth:150},{title:"链接",slot:"meg_link",minWidth:300},{title:"失败原因",slot:"remark",minWidth:100},{title:"发送状态",slot:"send_state",minWidth:100},{title:"是否成功",slot:"is_succeed",minWidth:100},{title:"创建时间",key:"createtime",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("3526"),n("2877")),p=Object(m["a"])(g,a,i,!1,null,"58928e25",null);t["default"]=p.exports}}]);
\ No newline at end of file
......@@ -412,8 +412,8 @@ export function SignInOrOut(data) {
export function SignLogSave(data) {
// 填写日志
return request({
url: `/api/SignRecord/api/SignRecord/SignLogSave?signId=${data.signId}&content=${data.content}`,
method: 'get',
url: `/api/SignRecord/api/SignRecord/SignLogSave`,
method: 'post',
data
});
}
......
......@@ -472,7 +472,7 @@
hooks.myEncapsulationFunction(async () => {
this.buttonLoding = true
const data = {
"signId": this.formValidate.signid,
"sign_id": this.formValidate.signid,
"content": this.formValidate.content
}
const res = await api.SignLogSave(data)
......
......@@ -44,7 +44,7 @@
<template #remark="{row}">
{{ row.remark }}
<Ellipsis :height="100" :text="row.remark" tooltip/>
</template>
<!-- <template #send_mode="{ row }">-->
......
Markdown 格式
0% or
您添加了 0 人 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册 或