You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 lines
12 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-71318936"],{"36aa":function(t,e,r){"use strict";r.r(e);var n=function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"main-content"},[t._m(0),e("div",{staticClass:"content"},[e("div",{staticClass:"content-btn"},[e("el-button",{staticClass:"init-button",attrs:{icon:"el-icon-plus"},on:{click:function(e){return t.add()}}},[t._v("新增提醒")])],1),e("div",{},[e("VueTable",{ref:"table",attrs:{config:t.config},on:{tableCheck:t.tableCheck}},[e("template",{slot:"footer"},[e("div",{staticClass:"table-footer"})])],2)],1),e("Drawer",{attrs:{drawerTitle:"新增提醒",drawerVrisible:t.add_vrisible},on:{drawerClose:t.addClose}},[e("div",{staticStyle:{padding:"30px"}},[e("FromCard",[e("template",{slot:"title"},[t._v("提醒内容")]),[e("VueForm",{ref:"addForm",attrs:{formObj:t.addForm},on:{ruleSuccess:t.addRuleSuccess},scopedSlots:t._u([{key:"name",fn:function(){return[e("el-select",{staticStyle:{width:"240px"},attrs:{"remote-method":t.remoteMethod,loading:t.loading,remote:"",filterable:"",placeholder:"请选择"},on:{change:t.change,focus:t.sefocus},model:{value:t.addForm.ruleForm.name,callback:function(e){t.$set(t.addForm.ruleForm,"name",e)},expression:"addForm.ruleForm.name"}},t._l(t.options,(function(t){return e("el-option",{key:t.id,attrs:{label:t.name,value:t.id}})})),1)]},proxy:!0}])})]],2)],1),e("div",{attrs:{slot:"footer"},slot:"footer"},[e("button",{staticClass:"btn-orange",on:{click:function(e){return t.addSubmit()}}},[e("span",[e("i",{staticClass:"el-icon-circle-check"}),t._v("提交")])]),e("button",{staticClass:"btn-gray",on:{click:t.addClose}},[e("span",[t._v("取消")])])])])],1)])])},a=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"main-titel"},[e("span",[t._v("提醒通知")])])}],u=r("2b74"),o=r("fcac"),i={data(){return{add_vrisible:!1,options:[],loading:!1,addForm:{ruleForm:{name:null,tel:null,idType:null,idNumber:null,content:null,title:null,receiverAccount:null},rules:{name:[{required:!0,message:"请选择",trigger:"change"}],title:[{required:!0,message:"请输入",trigger:"change"}],content:[{required:!0,message:"请输入",trigger:"change"}]},form_item:[{type:"Slot",label:"提醒用户",placeholder:"请输入",width:"50%",prop:"name",slotName:"name"},{type:"Input",label:"联系方式",placeholder:"请输入",width:"50%",disabled:!0,prop:"tel"},{type:"Select",label:"证件类型",placeholder:"请输入",disabled:!0,options:[{value:1,label:"身份证"},{value:2,label:"营业执照"}],width:"50%",prop:"idType"},{type:"Input",label:"证件号码",placeholder:"请输入",disabled:!0,width:"50%",prop:"idNumber"},{type:"Input",label:"提醒标题",placeholder:"请输入",width:"50%",prop:"title"},{type:"textarea",label:"提醒内容",placeholder:"请输入",width:"100%",prop:"content"}]},table_row:[],imglist:[],activeName:"0",config:{thead:[{label:"序号",type:"index",width:"80"},{label:"标题",prop:"title",width:"130"},{label:"内容",prop:"content",width:"230"},{label:"发送时间",prop:"sendDate",width:"230"},{label:"发送人姓名",prop:"senderName",width:"auto"},{label:"发送类型",prop:"type",width:"auto",type:"function",callback(t,e){switch(t.type){case 1:return"系统广播";case 2:return"管理员消息";default:break}}},{label:"接收人姓名",prop:"receiverAccountName",width:"auto"},{label:"消息状态",prop:"sendStatus",width:"130",type:"function",callback(t,e){switch(t.sendStatus){case 1:return"未读";case 3:return"已读";default:break}}}],table_data:[],url:"remindList",search_item:[{type:"Input",label:"标题",placeholder:"请输入",prop:"title"},{type:"select",label:"发送类型",placeholder:"请选择",prop:"type",options:[{value:"1",label:"系统广播"},{value:"2",label:"管理员消息"}]}],data:{pageNum:1,size:10}}}},methods:{remoteMethod(t){let e={pageNum:1,size:20,name:t};this.loading=!0,Object(u["bb"])(e).then(t=>{this.options=t.tableList,this.loading=!1,console.log(t)})},sefocus(){let t={pageNum:1,size:20};this.loading=!0,Object(u["bb"])(t).then(t=>{this.options=t.tableList;let e={id:0,idNumber:"",idType:"",name:"(空)",tel:""};this.options.unshift(e),this.loading=!1,console.log(this.options)})},change(t){console.log(t),this.options.map(e=>{e.id===t&&(this.addForm.ruleForm.tel=e.tel,this.addForm.ruleForm.idType=e.idType,this.addForm.ruleForm.idNumber=e.idNumber,this.addForm.ruleForm.receiverAccount=t)})},drawerClose(){this.drawer_vrisible=!1,this.editId=null,this.$refs.childFroms.reset(),this.$refs.childFrom.reset(),this.$emit("handleClose","Close")},add(){this.add_vrisible=!0},addClose(){this.$refs.addForm.reset(),this.add_vrisible=!1},addRuleSuccess(){let t={...this.addForm.ruleForm};Object(o["D"])(t).then(t=>{t.status&&(this.$message({message:t.message,type:"success"}),this.$refs.table.loadData(),this.addClose())})},addSubmit(){this.$refs.addForm.submitForm()},dateTimeChange(t){this.addForm.ruleForm.openStartDate=t[0],this.addForm.ruleForm.openEndDate=t[1]},handleClick(t,e){let r=null;r=0!=this.activeName?this.activeName:null;const n={pageNum:1,size:10,status:r};this.$refs.table.requestData(n)},tableCheck(t){this.table_row=t},del(t){if(t.length){let t=[];for(let e=0;e<this.table_row.length;e++)t.push(this.table_row[e].id);this.$confirm("是否确认删除?删除不可恢复","删除",{confirmButtonText:"确定",cancelButtonText:"取消",confirmButtonClass:"confirmButton",cancelButtonClass:"cancelButton"}).then(()=>{this.$refs.table.tableDelete(t)}).catch(t=>{})}else this.$message.error("请选中需要删除的数据")}}},s=i,d=r("2877"),l=Object(d["a"])(s,n,a,!1,null,null,null);e["default"]=l.exports},fcac:function(t,e,r){"use strict";r.d(e,"p",(function(){return a})),r.d(e,"q",(function(){return u})),r.d(e,"r",(function(){return o})),r.d(e,"M",(function(){return i})),r.d(e,"K",(function(){return s})),r.d(e,"L",(function(){return d})),r.d(e,"J",(function(){return l})),r.d(e,"P",(function(){return c})),r.d(e,"O",(function(){return m})),r.d(e,"N",(function(){return f})),r.d(e,"Z",(function(){return h})),r.d(e,"X",(function(){return p})),r.d(e,"Y",(function(){return b})),r.d(e,"z",(function(){return T})),r.d(e,"b",(function(){return y})),r.d(e,"a",(function(){return q})),r.d(e,"c",(function(){return g})),r.d(e,"H",(function(){return S})),r.d(e,"G",(function(){return O})),r.d(e,"I",(function(){return v})),r.d(e,"U",(function(){return P})),r.d(e,"V",(function(){return w})),r.d(e,"ab",(function(){return E})),r.d(e,"cb",(function(){return F})),r.d(e,"bb",(function(){return G})),r.d(e,"A",(function(){return C})),r.d(e,"db",(function(){return _})),r.d(e,"W",(function(){return R})),r.d(e,"eb",(function(){return k})),r.d(e,"E",(function(){return N})),r.d(e,"F",(function(){return B})),r.d(e,"u",(function(){return D})),r.d(e,"S",(function(){return z})),r.d(e,"R",(function(){return $})),r.d(e,"T",(function(){return I})),r.d(e,"Q",(function(){return U})),r.d(e,"l",(function(){return x})),r.d(e,"d",(function(){return A})),r.d(e,"e",(function(){return L})),r.d(e,"j",(function(){return j})),r.d(e,"i",(function(){return J})),r.d(e,"k",(function(){return M})),r.d(e,"f",(function(){return V})),r.d(e,"h",(function(){return K})),r.d(e,"g",(function(){return H})),r.d(e,"w",(function(){return W})),r.d(e,"s",(function(){return Q})),r.d(e,"t",(function(){return X})),r.d(e,"v",(function(){return Y})),r.d(e,"o",(function(){return Z})),r.d(e,"n",(function(){return tt})),r.d(e,"D",(function(){return et})),r.d(e,"B",(function(){return rt})),r.d(e,"C",(function(){return nt})),r.d(e,"x",(function(){return at})),r.d(e,"y",(function(){return ut})),r.d(e,"m",(function(){return ot}));var n=r("b775");r("2c37");function a(t){return n["a"].request({method:"GET",url:"/dataStatistics/findLastMonthPayCostDetail",params:t})}function u(t){return n["a"].request({method:"GET",url:"/dataStatistics/findPaymentStatistics",params:t})}function o(t){return n["a"].request({method:"GET",url:"/dataStatistics/findTodayEnvironmentalHealth",params:t})}function i(t){return n["a"].request({method:"GET",url:"/sysOrganization/list",params:t})}function s(t){return n["a"].request({method:"GET",url:"/sysOrganization/findById",params:t})}function d(t){return n["a"].request({method:"POST",url:"/sysOrganization/insert",data:t})}function l(t){return n["a"].request({method:"GET",url:"/sysOrganization/delete",params:t})}function c(t){return n["a"].request({method:"POST",url:"/sysOrganization/update",data:t})}function m(t){return n["a"].request({method:"GET",url:"/sysOrganization/stop",params:t})}function f(t){return n["a"].request({method:"GET",url:"/sysOrganization/recovery",params:t})}function h(t){return n["a"].request({method:"GET",url:"/sysUser/list",params:t})}function p(t){return n["a"].request({method:"GET",url:"/sysUser/findById",params:t})}function b(t){return n["a"].request({method:"POST",url:"/sysUser/insert",data:t})}function T(t){return n["a"].request({method:"POST",url:"/identity/insert",data:t})}function y(t){return n["a"].request({method:"GET",url:"/RPRecords/list",params:t})}function q(t){return n["a"].request({method:"POST",url:"/RPRecords/insert",data:t})}function g(t){return n["a"].request({method:"POST",url:"/RPRecords/delete",data:t})}function S(t){return n["a"].request({method:"GET",url:"/stationChange/list",params:t})}function O(t){return n["a"].request({method:"POST",url:"/stationChange/insert",data:t})}function v(t){return n["a"].request({method:"POST",url:"/stationChange/delete",data:t})}function P(t){return n["a"].request({method:"GET",url:"/sysUser/allowLogins",params:t})}function w(t){return n["a"].request({method:"GET",url:"/sysUser/disableLogins",params:t})}function E(t){return n["a"].request({method:"GET",url:"/sysUser/recovery",params:t})}function F(t){return n["a"].request({method:"GET",url:"/sysUser/stop",params:t})}function G(t){return n["a"].request({method:"POST",url:"/sysUser/resetPWD",data:t})}function C(t){return n["a"].request({method:"GET",url:"/identity/listAll",params:t})}function _(t){return n["a"].request({method:"POST",url:"/sysUser/update",data:t})}function R(t){return n["a"].request({method:"GET",url:"/sysUser/falseDelete",params:t})}function k(t){return n["a"].request({method:"POST",url:"/train/insert",data:t})}function N(t){return n["a"].request({method:"POST",url:"/salary/insert",data:t})}function B(t){return n["a"].request({method:"POST",url:"/salary/update",data:t})}function D(t){return n["a"].request({method:"GET",url:"/sysRole/roleList",params:t})}function z(t){return n["a"].request({method:"POST",url:"/sysRole/insertRole",data:t})}function $(t){return n["a"].request({method:"GET",url:"/sysRole/findByRoleId",params:t})}function I(t){return n["a"].request({method:"POST",url:"/sysRole/updateRole",data:t})}function U(t){return n["a"].request({method:"POST",url:"/sysRole/deleteRole",data:t})}function x(t){return n["a"].request({method:"POST",url:"/contract/insert",data:t})}function A(t){return n["a"].request({method:"GET",url:"/attendanceRecord/cardReplacement",params:t})}function L(t){return n["a"].request({method:"POST",url:"/attendanceRecord/reviewer",data:t})}function j(t){return n["a"].request({method:"POST",url:"/attendanceTeam/insert",data:t})}function J(t){return n["a"].request({method:"GET",url:"/attendanceTeam/findPeopleById",params:t})}function M(t){return n["a"].request({method:"GET",url:"/attendanceTeam/list",params:t})}function V(t){return n["a"].request({method:"GET",url:"/attendanceSchedulingPlan/enable",params:t})}function K(t){return n["a"].request({method:"POST",url:"/attendanceSchedulingPlan/insert",data:t})}function H(t){return n["a"].request({method:"GET",url:"/attendanceSchedulingPlan/findById",params:t})}function W(t){return n["a"].request({method:"POST",url:"/functionAuthority/updateRole",data:t})}function Q(t){return n["a"].request({method:"GET",url:"/functionAuthority/list",params:t})}function X(t){return n["a"].request({method:"GET",url:"/functionAuthority/listJurisdiction",params:t})}function Y(t){return n["a"].request({method:"POST",url:"/functionAuthority/updateOneJurisdiction",data:t})}function Z(t){return n["a"].request({method:"POST",url:"/dataDictionary/update",data:t})}function tt(t){return n["a"].request({method:"POST",url:"/dataBase/insert",data:t})}function et(t){return n["a"].request({method:"POST",url:"/remind/insert",data:t})}function rt(t){return n["a"].request({method:"POST",url:"/prohibitedKeywords/insert",data:t})}function nt(t){return n["a"].request({method:"POST",url:"/prohibitedKeywords/update",data:t})}function at(t){return n["a"].request({method:"GET",url:"/greenTask/list",params:t})}function ut(t){return n["a"].request({method:"GET",url:"/hygieneTask/list",params:t})}function ot(t){return n["a"].request({method:"GET",url:"/dailyPayment/list",params:t})}}}]);
//# sourceMappingURL=chunk-71318936.31dce460.js.map