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
11 KiB
2 lines
11 KiB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-735f2443"],{aa05:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"main-content"},[t._m(0),e("div",{staticClass:"content"},[e("el-row",[e("el-col",{attrs:{span:18}},[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("el-col",{attrs:{span:4}},[e("div",{staticClass:"content-btn"},[e("el-button",{staticClass:"init-button",on:{click:function(e){return t.yearover()}}},[t._v("数据库年结")])],1)])],1),e("div",{},[t.isShow?e("el-progress",{staticStyle:{marginbottom:"20px"},attrs:{percentage:t.percentage}}):t._e(),e("VueTable",{ref:"table",attrs:{config:t.config},on:{tableCheck:t.tableCheck}},[e("template",{slot:"footer"},[e("div",{staticClass:"table-footer"},[e("button",{on:{click:function(e){return t.del(t.table_row)}}},[t._v("删除")])])])],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}})]],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=n("fcac"),o={data(){return{flag:!0,timer:"",isShow:!1,percentage:0,add_vrisible:!1,addDate:null,options:[],sysOptions:[],loading:!1,addForm:{ruleForm:{functionType:null,functionName:null,fieldName:null},form_item:[{type:"Input",label:"功能大类名称",placeholder:"请输入",width:"100%",prop:"functionType"},{type:"Input",label:"功能名",placeholder:"请输入",width:"100%",prop:"functionName"},{type:"textarea",label:"字段名称",placeholder:"请输入",width:"100%",prop:"fieldName"}]},table_row:[],activeName:"0",config:{thead:[{label:"序号",type:"index",width:"80"},{label:"所属功能大类名称",prop:"functionType",width:"200"},{label:"功能名",prop:"functionName",width:"200"},{label:"字段名",prop:"fieldName",width:"auto"}],table_data:[],url:"dataBaseList",search_item:[{type:"Input",label:"功能大类名称",placeholder:"请输入",prop:"functionType"},{type:"Input",label:"功能名",placeholder:"请输入",prop:"functionName"}],data:{pageNum:1,size:10}}}},methods:{add(){this.add_vrisible=!0},yearover(){this.isShow=!0;var t=0,e=setInterval(()=>{t++,t>=100&&(clearInterval(e),this.percentage=0,t=0,this.isShow=!1,this.flag?(this.flag=!1,this.$message({type:"success",message:"年结成功"})):this.$message({type:"error",message:"年结失败,本年度已年结"})),this.percentage=t},30)},addClose(){this.$refs.addForm.reset(),this.add_vrisible=!1},addSubmit(){let t={...this.addForm.ruleForm};Object(u["n"])(t).then(t=>{t.status&&(this.$message({message:t.message,type:"success"}),this.$refs.table.loadData(),this.addClose())})},dateTimeChange(t){this.addForm.ruleForm.openStartDate=t[0],this.addForm.ruleForm.openEndDate=t[1]},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=o,i=n("2877"),d=Object(i["a"])(s,r,a,!1,null,null,null);e["default"]=d.exports},fcac:function(t,e,n){"use strict";n.d(e,"p",(function(){return a})),n.d(e,"q",(function(){return u})),n.d(e,"r",(function(){return o})),n.d(e,"M",(function(){return s})),n.d(e,"K",(function(){return i})),n.d(e,"L",(function(){return d})),n.d(e,"J",(function(){return c})),n.d(e,"P",(function(){return l})),n.d(e,"O",(function(){return f})),n.d(e,"N",(function(){return m})),n.d(e,"Z",(function(){return h})),n.d(e,"X",(function(){return p})),n.d(e,"Y",(function(){return T})),n.d(e,"z",(function(){return y})),n.d(e,"b",(function(){return b})),n.d(e,"a",(function(){return q})),n.d(e,"c",(function(){return g})),n.d(e,"H",(function(){return S})),n.d(e,"G",(function(){return O})),n.d(e,"I",(function(){return P})),n.d(e,"U",(function(){return v})),n.d(e,"V",(function(){return E})),n.d(e,"ab",(function(){return w})),n.d(e,"cb",(function(){return G})),n.d(e,"bb",(function(){return C})),n.d(e,"A",(function(){return _})),n.d(e,"db",(function(){return R})),n.d(e,"W",(function(){return k})),n.d(e,"eb",(function(){return B})),n.d(e,"E",(function(){return F})),n.d(e,"F",(function(){return I})),n.d(e,"u",(function(){return D})),n.d(e,"S",(function(){return U})),n.d(e,"R",(function(){return N})),n.d(e,"T",(function(){return z})),n.d(e,"Q",(function(){return x})),n.d(e,"l",(function(){return $})),n.d(e,"d",(function(){return A})),n.d(e,"e",(function(){return L})),n.d(e,"j",(function(){return J})),n.d(e,"i",(function(){return j})),n.d(e,"k",(function(){return V})),n.d(e,"f",(function(){return K})),n.d(e,"h",(function(){return H})),n.d(e,"g",(function(){return M})),n.d(e,"w",(function(){return W})),n.d(e,"s",(function(){return Q})),n.d(e,"t",(function(){return X})),n.d(e,"v",(function(){return Y})),n.d(e,"o",(function(){return Z})),n.d(e,"n",(function(){return tt})),n.d(e,"D",(function(){return et})),n.d(e,"B",(function(){return nt})),n.d(e,"C",(function(){return rt})),n.d(e,"x",(function(){return at})),n.d(e,"y",(function(){return ut})),n.d(e,"m",(function(){return ot}));var r=n("b775");n("2c37");function a(t){return r["a"].request({method:"GET",url:"/dataStatistics/findLastMonthPayCostDetail",params:t})}function u(t){return r["a"].request({method:"GET",url:"/dataStatistics/findPaymentStatistics",params:t})}function o(t){return r["a"].request({method:"GET",url:"/dataStatistics/findTodayEnvironmentalHealth",params:t})}function s(t){return r["a"].request({method:"GET",url:"/sysOrganization/list",params:t})}function i(t){return r["a"].request({method:"GET",url:"/sysOrganization/findById",params:t})}function d(t){return r["a"].request({method:"POST",url:"/sysOrganization/insert",data:t})}function c(t){return r["a"].request({method:"GET",url:"/sysOrganization/delete",params:t})}function l(t){return r["a"].request({method:"POST",url:"/sysOrganization/update",data:t})}function f(t){return r["a"].request({method:"GET",url:"/sysOrganization/stop",params:t})}function m(t){return r["a"].request({method:"GET",url:"/sysOrganization/recovery",params:t})}function h(t){return r["a"].request({method:"GET",url:"/sysUser/list",params:t})}function p(t){return r["a"].request({method:"GET",url:"/sysUser/findById",params:t})}function T(t){return r["a"].request({method:"POST",url:"/sysUser/insert",data:t})}function y(t){return r["a"].request({method:"POST",url:"/identity/insert",data:t})}function b(t){return r["a"].request({method:"GET",url:"/RPRecords/list",params:t})}function q(t){return r["a"].request({method:"POST",url:"/RPRecords/insert",data:t})}function g(t){return r["a"].request({method:"POST",url:"/RPRecords/delete",data:t})}function S(t){return r["a"].request({method:"GET",url:"/stationChange/list",params:t})}function O(t){return r["a"].request({method:"POST",url:"/stationChange/insert",data:t})}function P(t){return r["a"].request({method:"POST",url:"/stationChange/delete",data:t})}function v(t){return r["a"].request({method:"GET",url:"/sysUser/allowLogins",params:t})}function E(t){return r["a"].request({method:"GET",url:"/sysUser/disableLogins",params:t})}function w(t){return r["a"].request({method:"GET",url:"/sysUser/recovery",params:t})}function G(t){return r["a"].request({method:"GET",url:"/sysUser/stop",params:t})}function C(t){return r["a"].request({method:"POST",url:"/sysUser/resetPWD",data:t})}function _(t){return r["a"].request({method:"GET",url:"/identity/listAll",params:t})}function R(t){return r["a"].request({method:"POST",url:"/sysUser/update",data:t})}function k(t){return r["a"].request({method:"GET",url:"/sysUser/falseDelete",params:t})}function B(t){return r["a"].request({method:"POST",url:"/train/insert",data:t})}function F(t){return r["a"].request({method:"POST",url:"/salary/insert",data:t})}function I(t){return r["a"].request({method:"POST",url:"/salary/update",data:t})}function D(t){return r["a"].request({method:"GET",url:"/sysRole/roleList",params:t})}function U(t){return r["a"].request({method:"POST",url:"/sysRole/insertRole",data:t})}function N(t){return r["a"].request({method:"GET",url:"/sysRole/findByRoleId",params:t})}function z(t){return r["a"].request({method:"POST",url:"/sysRole/updateRole",data:t})}function x(t){return r["a"].request({method:"POST",url:"/sysRole/deleteRole",data:t})}function $(t){return r["a"].request({method:"POST",url:"/contract/insert",data:t})}function A(t){return r["a"].request({method:"GET",url:"/attendanceRecord/cardReplacement",params:t})}function L(t){return r["a"].request({method:"POST",url:"/attendanceRecord/reviewer",data:t})}function J(t){return r["a"].request({method:"POST",url:"/attendanceTeam/insert",data:t})}function j(t){return r["a"].request({method:"GET",url:"/attendanceTeam/findPeopleById",params:t})}function V(t){return r["a"].request({method:"GET",url:"/attendanceTeam/list",params:t})}function K(t){return r["a"].request({method:"GET",url:"/attendanceSchedulingPlan/enable",params:t})}function H(t){return r["a"].request({method:"POST",url:"/attendanceSchedulingPlan/insert",data:t})}function M(t){return r["a"].request({method:"GET",url:"/attendanceSchedulingPlan/findById",params:t})}function W(t){return r["a"].request({method:"POST",url:"/functionAuthority/updateRole",data:t})}function Q(t){return r["a"].request({method:"GET",url:"/functionAuthority/list",params:t})}function X(t){return r["a"].request({method:"GET",url:"/functionAuthority/listJurisdiction",params:t})}function Y(t){return r["a"].request({method:"POST",url:"/functionAuthority/updateOneJurisdiction",data:t})}function Z(t){return r["a"].request({method:"POST",url:"/dataDictionary/update",data:t})}function tt(t){return r["a"].request({method:"POST",url:"/dataBase/insert",data:t})}function et(t){return r["a"].request({method:"POST",url:"/remind/insert",data:t})}function nt(t){return r["a"].request({method:"POST",url:"/prohibitedKeywords/insert",data:t})}function rt(t){return r["a"].request({method:"POST",url:"/prohibitedKeywords/update",data:t})}function at(t){return r["a"].request({method:"GET",url:"/greenTask/list",params:t})}function ut(t){return r["a"].request({method:"GET",url:"/hygieneTask/list",params:t})}function ot(t){return r["a"].request({method:"GET",url:"/dailyPayment/list",params:t})}}}]);
|
|
//# sourceMappingURL=chunk-735f2443.2a1df1fb.js.map
|