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

V20240814 优化

上级 92738bfd
.top-condition[data-v-ba2301b4]{display:flex}[data-v-ba2301b4] .ivu-checkbox-group-item{margin-bottom:10px}
\ No newline at end of file
.container[data-v-357d0c41]{text-align:center}.container .img-bg[data-v-357d0c41]{width:300px;text-align:center}
\ No newline at end of file
.ivu-form-item[data-v-463eb2cd]{padding-right:15px}.fileRow[data-v-463eb2cd]{display:flex;justify-content:space-between;align-items:center}.fileRow .delIcon[data-v-463eb2cd]{color:#ed4014}.fileRow .delIcon[data-v-463eb2cd]:hover{color:#f16643;cursor:pointer}.demo-split[data-v-91bc0448]{height:calc(100vh - 112px)}.demo-split .demo-split-pane-L[data-v-91bc0448]{padding:10px;height:100%;background-color:#fff}.demo-split .demo-split-pane-R[data-v-91bc0448]{padding-left:8px}
\ No newline at end of file
.ivu-form-item[data-v-4816354e]{padding-right:15px}.fileRow[data-v-4816354e]{display:flex;justify-content:space-between;align-items:center}.fileRow .delIcon[data-v-4816354e]{color:#ed4014}.fileRow .delIcon[data-v-4816354e]:hover{color:#f16643;cursor:pointer}.searchDiv .ivu-form-item[data-v-45d49b8a]{margin-bottom:12px}.searchDiv .buttonCol[data-v-45d49b8a]{margin-left:auto;text-align:right}.searchDiv .buttonCol .ivu-btn[data-v-45d49b8a]{margin-left:8px}
\ No newline at end of file
.ivu-form-item[data-v-4816354e]{padding-right:15px}.fileRow[data-v-4816354e]{display:flex;justify-content:space-between;align-items:center}.fileRow .delIcon[data-v-4816354e]{color:#ed4014}.fileRow .delIcon[data-v-4816354e]:hover{color:#f16643;cursor:pointer}.demo-split[data-v-2077d7a0]{height:calc(100vh - 112px)}.demo-split .demo-split-pane-L[data-v-2077d7a0]{padding:10px;height:100%;background-color:#fff}.demo-split .demo-split-pane-R[data-v-2077d7a0]{padding-left:8px}
\ No newline at end of file
.top-condition[data-v-149d11d0]{display:flex}[data-v-149d11d0] .ivu-checkbox-group-item{margin-bottom:10px}
\ No newline at end of file
.container[data-v-3d9a5e70]{text-align:center}.container .img-bg[data-v-3d9a5e70]{width:300px;text-align:center}
\ 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"><title>日常行为反馈</title><link href=css/chunk-vendors.cc1990b1.css rel=stylesheet><link href=css/app.a786022a.css rel=stylesheet></head><body><noscript><strong>请开启 JavaScript 功能来使用 值班管理。</strong></noscript><div id=app></div><script src=js/chunk-vendors.4ff6b6ff.js></script><script src=js/app.587c01ba.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"><title>值班管理</title><link href=css/chunk-vendors.cc1990b1.css rel=stylesheet><link href=css/app.a786022a.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.9ae50470.js></script><script src=js/app.a03c1889.js></script></body></html>
\ No newline at end of file
因为 它太大了无法显示 源差异 。您可以改为 查看blob。
因为 它太大了无法显示 源差异 。您可以改为 查看blob。
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-192652d8"],{5834:function(e,t,n){"use strict";n.r(t);n("7f7f");var a=function(){var e=this,t=e._self._c;return t("div",[t("Card",{ref:"card",staticClass:"ivu-mt",attrs:{bordered:!1,"dis-hover":""}},[t("div",{staticClass:"top-condition"},[t("Input",{staticStyle:{width:"250px","margin-bottom":"5px"},attrs:{placeholder:"请输入关键字",clearable:""},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.doSearch.apply(null,arguments)}},model:{value:e.searchValue,callback:function(t){e.searchValue=t},expression:"searchValue"}}),t("Button",{staticStyle:{margin:"0 10px"},attrs:{type:"primary"},on:{click:e.doSearch}},[e._v("查找")]),t("Button",{attrs:{type:"primary",ghost:"",icon:"md-add"},on:{click:function(t){e.userModal=!0}}},[e._v("\n 添加权限\n ")])],1),t("Table",{ref:"table",staticClass:"ivu-mt",attrs:{columns:e.columns,data:e.tableData,loading:e.loading},scopedSlots:e._u([{key:"role_info",fn:function(n){var a=n.row;return e._l(a.role_info,(function(e,n){return t("p",{key:n},[t("Badge",{staticClass:"ivu-mb-8",attrs:{color:"管理员"==e.name?"orange":"blue",text:e.name}})],1)}))}},{key:"action",fn:function(n){var a=n.row;return[t("div",{on:{click:function(e){e.stopPropagation(),e.preventDefault()}}},[t("a",{attrs:{type:"text"},on:{click:function(t){return e.handleEdit(a)}}},[e._v("编辑")]),t("Divider",{attrs:{type:"vertical"}}),t("a",{attrs:{type:"text"},on:{click:function(t){return e.handleDelete(a.id)}}},[e._v("删除")])],1)]}}])}),t("div",{staticClass:"ivu-mt ivu-text-center"},[t("Page",{attrs:{total:e.total,current:e.pageIndex,"show-total":"","show-sizer":"","show-elevator":"","page-size":e.pageSize,"page-size-opts":[10,30,50,100]},on:{"update:current":function(t){e.pageIndex=t},"on-change":e.handleChangePage,"on-page-size-change":e.handleChangePageSize}})],1)],1),t("Modal",{attrs:{title:"编辑权限",loading:e.modalLoading,width:"30%"},on:{"on-ok":e.saveEdit,"on-cancel":e.handleCancel},model:{value:e.modal,callback:function(t){e.modal=t},expression:"modal"}},[t("CheckboxGroup",{model:{value:e.userRole,callback:function(t){e.userRole=t},expression:"userRole"}},e._l(e.allRole,(function(n){return t("Checkbox",{key:n.id,attrs:{label:n.id,border:""}},[e._v(e._s(n.name))])})),1)],1),t("Modal",{attrs:{title:"添加权限",loading:e.modalLoading,width:"50"},on:{"on-ok":e.handleAdd},model:{value:e.userModal,callback:function(t){e.userModal=t},expression:"userModal"}},[t("Form",{ref:"form",attrs:{model:e.formData,rules:e.formRule,"label-width":150}},[t("FormItem",{attrs:{label:"选择人员"}},[t("Select",{attrs:{filterable:""},model:{value:e.selectUser,callback:function(t){e.selectUser=t},expression:"selectUser"}},e._l(e.peopleOption,(function(n){return t("Option",{key:n.id,attrs:{value:n.id,label:n.name}},[t("div",{staticStyle:{display:"flex","justify-content":"space-between"}},[t("p",[e._v(e._s(n.name)+"\n "),t("span",{staticStyle:{color:"#9a9a9a"}},[e._v("("+e._s(n.card)+")")])]),t("p",{staticStyle:{color:"#ccc"}},[e._v(e._s(n.dept_name))])])])})),1)],1),t("FormItem",{attrs:{label:"选择权限"}},[t("CheckboxGroup",{model:{value:e.userRole,callback:function(t){e.userRole=t},expression:"userRole"}},e._l(e.allRole,(function(n){return t("Checkbox",{key:n.id,attrs:{label:n.id,border:""}},[e._v(e._s(n.name))])})),1)],1)],1)],1)],1)},o=[],i=(n("8e6e"),n("ac6a"),n("456d"),n("ade3")),r=(n("7514"),n("28a5"),n("7274")),l=n("e191");function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){Object(i["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var d={data:function(){return{loading:!1,modal:!1,modalLoading:!0,searchValue:"",tableData:[],columns:[{type:"index",align:"center",width:60},{title:"卡号",key:"card",width:200},{title:"姓名",key:"name",width:200},{title:"角色",slot:"role_info"},{title:"操作",slot:"action",align:"center",width:150}],pageIndex:1,pageSize:10,total:0,allRole:[],userRole:[],cardNumber:"",editRow:{},userModal:!1,formData:{},formRule:{},peopleOption:[],selectUser:""}},created:function(){this.getData(),this.getRoleList(),this.GetPersonByCondiction()},methods:{getData:function(){var e=this,t={page_index:this.pageIndex,page_size:this.pageSize,key_name:this.searchValue};this.loading=!0,r["d"](t).then((function(t){e.loading=!1,e.tableData=t.data,e.total=t.data_count}))},getRoleList:function(){var e=this;r["c"]().then((function(t){e.allRole=t}))},doSearch:function(){this.pageIndex=1,this.getData()},handleChangePage:function(e){this.pageIndex=e,this.getData()},handleChangePageSize:function(e){this.pageIndex=1,this.pageSize=e,this.getData()},handleEdit:function(e){this.editRow=e,this.modal=!0,e.role_info.length&&(this.userRole=e.role_id.split(";"))},saveEdit:function(){var e=this,t=[];this.userRole.map((function(n){t.push(e.allRole.find((function(e){return e.id==n})))}));var n=c(c({},this.editRow),{},{role_id:this.userRole.join(","),role_info:t});r["h"](n).then((function(t){e.handleModalLoading(),e.modal=!1,e.$Message.success("添加成功"),e.userRole=[],e.getData()})).catch((function(){e.handleModalLoading()}))},handleCancel:function(){this.userRole=[]},GetPersonByCondiction:function(){var e=this,t={page_index:1,page_size:1e4};Object(l["c"])(t).then((function(t){e.peopleOption=t.data}))},handleAdd:function(){var e=this,t=[];this.userRole.map((function(n){t.push(e.allRole.find((function(e){return e.id==n})))}));var n={userid:this.selectUser,role_id:this.userRole.join(","),role_info:t};r["h"](n).then((function(t){e.handleModalLoading(),e.userModal=!1,e.$Message.success("添加成功"),e.getData()})).catch((function(){e.handleModalLoading()}))},handleModalLoading:function(){var e=this;this.modalLoading=!1,this.$nextTick((function(){e.modalLoading=!0}))},handleDelete:function(e){var t=this;this.$Modal.confirm({title:"确定要删除吗?",loading:!0,onOk:function(){var n={id:e,is_del:1};r["g"](n).then((function(){t.$Modal.remove(),t.$Message.success("删除成功"),t.getData()}))}})}}},u=d,h=(n("e4b0"),n("2877")),p=Object(h["a"])(u,a,o,!1,null,"ba2301b4",null);t["default"]=p.exports},6489:function(e,t,n){},e191:function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return r}));var a=n("b6bd");function o(e){return Object(a["a"])({url:"/api/DutyRecord/GetDutyArrangeByDateList",method:"get",params:e})}function i(e){return Object(a["a"])({url:"/api/Common/GetPersonByCondiction",method:"get",params:e})}function r(e){return Object(a["a"])({url:"/api/DutyRecord/DutyArrangeIns",method:"post",data:e})}},e4b0:function(e,t,n){"use strict";n("6489")}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2290374e"],{8354:function(t,n,s){t.exports=s.p+"img/功能调整中.44ca9bae.png"},"9d03":function(t,n,s){"use strict";s.r(n);var e=function(){var t=this;t._self._c;return t._m(0)},i=[function(){var t=this,n=t._self._c;return n("div",{staticClass:"container"},[n("img",{staticClass:"img-bg",attrs:{src:s("8354")}}),n("strong",{staticStyle:{"font-size":"20px",display:"block","margin-top":"16px"}},[t._v("功能调整中")])])}],c={data:function(){return{}}},a=c,r=(s("e44f"),s("2877")),o=Object(r["a"])(a,e,i,!1,null,"357d0c41",null);n["default"]=o.exports},e44f:function(t,n,s){"use strict";s("ee7f")},ee7f:function(t,n,s){}}]);
\ No newline at end of file
此差异已折叠。
因为 它太大了无法显示 源差异 。您可以改为 查看blob。
此差异已折叠。
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-888fcb32"],{"3ebf":function(e,t,a){"use strict";a("ab39")},5834:function(e,t,a){"use strict";a.r(t);a("7f7f");var n=function(){var e=this,t=e._self._c;return t("div",[t("Card",{ref:"card",staticClass:"ivu-mt",attrs:{bordered:!1,"dis-hover":""}},[t("div",{staticClass:"top-condition"},[t("Input",{staticStyle:{width:"250px","margin-bottom":"5px"},attrs:{placeholder:"请输入关键字",clearable:""},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.doSearch.apply(null,arguments)}},model:{value:e.searchValue,callback:function(t){e.searchValue=t},expression:"searchValue"}}),t("Button",{staticStyle:{margin:"0 10px"},attrs:{type:"primary"},on:{click:e.doSearch}},[e._v("查找")]),t("Button",{attrs:{type:"primary",ghost:"",icon:"md-add"},on:{click:function(t){e.userModal=!0}}},[e._v("\n 添加权限\n ")])],1),t("Table",{ref:"table",staticClass:"ivu-mt",attrs:{columns:e.columns,data:e.tableData,loading:e.loading},scopedSlots:e._u([{key:"role_info",fn:function(a){var n=a.row;return e._l(n.role_info,(function(e,a){return t("p",{key:a},[t("Badge",{staticClass:"ivu-mb-8",attrs:{color:"管理员"==e.name?"orange":"blue",text:e.name}})],1)}))}},{key:"action",fn:function(a){var n=a.row;return[t("div",{on:{click:function(e){e.stopPropagation(),e.preventDefault()}}},[t("a",{attrs:{type:"text"},on:{click:function(t){return e.handleEdit(n)}}},[e._v("编辑")]),t("Divider",{attrs:{type:"vertical"}}),t("a",{attrs:{type:"text"},on:{click:function(t){return e.handleDelete(n.id)}}},[e._v("删除")])],1)]}}])}),t("div",{staticClass:"ivu-mt ivu-text-center"},[t("Page",{attrs:{total:e.total,current:e.pageIndex,"show-total":"","show-sizer":"","show-elevator":"","page-size":e.pageSize,"page-size-opts":[10,30,50,100]},on:{"update:current":function(t){e.pageIndex=t},"on-change":e.handleChangePage,"on-page-size-change":e.handleChangePageSize}})],1)],1),t("Modal",{attrs:{title:"编辑权限",loading:e.modalLoading,width:"30%"},on:{"on-ok":e.saveEdit,"on-cancel":e.handleCancel},model:{value:e.modal,callback:function(t){e.modal=t},expression:"modal"}},[t("CheckboxGroup",{model:{value:e.userRole,callback:function(t){e.userRole=t},expression:"userRole"}},e._l(e.allRole,(function(a){return t("Checkbox",{key:a.id,attrs:{label:a.id,border:""}},[e._v(e._s(a.name))])})),1)],1),t("Modal",{attrs:{title:"添加权限",loading:e.modalLoading,width:"50"},on:{"on-ok":e.handleAdd},model:{value:e.userModal,callback:function(t){e.userModal=t},expression:"userModal"}},[t("Form",{ref:"form",attrs:{model:e.formData,rules:e.formRule,"label-width":150}},[t("FormItem",{attrs:{label:"选择人员"}},[t("Select",{attrs:{filterable:""},model:{value:e.selectUser,callback:function(t){e.selectUser=t},expression:"selectUser"}},e._l(e.peopleOption,(function(a){return t("Option",{key:a.id,attrs:{value:a.id,label:a.name}},[t("div",{staticStyle:{display:"flex","justify-content":"space-between"}},[t("p",[e._v(e._s(a.name)+"\n "),t("span",{staticStyle:{color:"#9a9a9a"}},[e._v("("+e._s(a.card)+")")])]),t("p",{staticStyle:{color:"#ccc"}},[e._v(e._s(a.dept_name))])])])})),1)],1),t("FormItem",{attrs:{label:"选择权限"}},[t("CheckboxGroup",{model:{value:e.userRole,callback:function(t){e.userRole=t},expression:"userRole"}},e._l(e.allRole,(function(a){return t("Checkbox",{key:a.id,attrs:{label:a.id,border:""}},[e._v(e._s(a.name))])})),1)],1)],1)],1)],1)},o=[],i=(a("8e6e"),a("ac6a"),a("456d"),a("ade3")),r=(a("7514"),a("28a5"),a("7274")),l=a("e191");function s(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function c(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?s(Object(a),!0).forEach((function(t){Object(i["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):s(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var d={data:function(){return{loading:!1,modal:!1,modalLoading:!0,searchValue:"",tableData:[],columns:[{type:"index",align:"center",width:60},{title:"卡号",key:"card",width:200},{title:"姓名",key:"name",width:200},{title:"角色",slot:"role_info"},{title:"操作",slot:"action",align:"center",width:150}],pageIndex:1,pageSize:10,total:0,allRole:[],userRole:[],cardNumber:"",editRow:{},userModal:!1,formData:{},formRule:{},peopleOption:[],selectUser:""}},created:function(){this.getData(),this.getRoleList(),this.GetPersonByCondiction()},methods:{getData:function(){var e=this,t={page_index:this.pageIndex,page_size:this.pageSize,key_name:this.searchValue};this.loading=!0,r["d"](t).then((function(t){e.loading=!1,e.tableData=t.data,e.total=t.data_count}))},getRoleList:function(){var e=this;r["c"]().then((function(t){e.allRole=t}))},doSearch:function(){this.pageIndex=1,this.getData()},handleChangePage:function(e){this.pageIndex=e,this.getData()},handleChangePageSize:function(e){this.pageIndex=1,this.pageSize=e,this.getData()},handleEdit:function(e){this.editRow=e,this.modal=!0,e.role_info.length&&(this.userRole=e.role_id.split(";"))},saveEdit:function(){var e=this,t=[];this.userRole.map((function(a){t.push(e.allRole.find((function(e){return e.id==a})))}));var a=c(c({},this.editRow),{},{role_id:this.userRole.join(","),role_info:t});r["h"](a).then((function(t){e.handleModalLoading(),e.modal=!1,e.$Message.success("添加成功"),e.userRole=[],e.getData()})).catch((function(){e.handleModalLoading()}))},handleCancel:function(){this.userRole=[]},GetPersonByCondiction:function(){var e=this,t={page_index:1,page_size:1e4};Object(l["c"])(t).then((function(t){e.peopleOption=t.data}))},handleAdd:function(){var e=this,t=[];this.userRole.map((function(a){t.push(e.allRole.find((function(e){return e.id==a})))}));var a={userid:this.selectUser,role_id:this.userRole.join(","),role_info:t};r["h"](a).then((function(t){e.handleModalLoading(),e.userModal=!1,e.$Message.success("添加成功"),e.getData()})).catch((function(){e.handleModalLoading()}))},handleModalLoading:function(){var e=this;this.modalLoading=!1,this.$nextTick((function(){e.modalLoading=!0}))},handleDelete:function(e){var t=this;this.$Modal.confirm({title:"确定要删除吗?",loading:!0,onOk:function(){var a={id:e,is_del:1};r["g"](a).then((function(){t.$Modal.remove(),t.$Message.success("删除成功"),t.getData()}))}})}}},u=d,h=(a("3ebf"),a("2877")),f=Object(h["a"])(u,n,o,!1,null,"149d11d0",null);t["default"]=f.exports},ab39:function(e,t,a){},e191:function(e,t,a){"use strict";a.d(t,"b",(function(){return o})),a.d(t,"c",(function(){return i})),a.d(t,"a",(function(){return r}));var n=a("b6bd");function o(e){return Object(n["a"])({url:"/api/DutyRecord/GetDutyArrangeByDateList",method:"get",params:e})}function i(e){return Object(n["a"])({url:"/api/Common/GetPersonByCondiction",method:"get",params:e})}function r(e){return Object(n["a"])({url:"/api/DutyRecord/DutyArrangeIns",method:"post",data:e})}}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-f50b2fd6"],{"0125":function(t,n,o){},8354:function(t,n,o){t.exports=o.p+"img/功能调整中.44ca9bae.png"},"9d03":function(t,n,o){"use strict";o.r(n);var s=function(){var t=this;t._self._c;return t._m(0)},a=[function(){var t=this,n=t._self._c;return n("div",{staticClass:"container"},[n("img",{staticClass:"img-bg",attrs:{src:o("8354")}}),n("strong",{staticStyle:{"font-size":"20px",display:"block","margin-top":"16px"}},[t._v("功能调整中")])])}],i={data:function(){return{}},methods:{go2Flow:function(){var t=idt.getToken();window.open("https://asc.hnasct.cn/#/et?token=".concat(t,"&links=startInfo&templateId=1765383350454104064&formName=表单测试&type=start"),"blank")}},mounted:function(){this.go2Flow()}},c=i,e=(o("d7b4"),o("2877")),r=Object(e["a"])(c,s,a,!1,null,"3d9a5e70",null);n["default"]=r.exports},d7b4:function(t,n,o){"use strict";o("0125")}}]);
\ No newline at end of file
......@@ -11,6 +11,7 @@
"@babel/runtime": "^7.2.0",
"axios": "^0.18.0",
"better-scroll": "^1.12.1",
"crypto-js": "^4.2.0",
"dayjs": "^1.8.9",
"echarts": "^4.1.0",
"js-cookie": "^2.2.0",
......@@ -6487,6 +6488,11 @@
"node": "*"
}
},
"node_modules/crypto-js": {
"version": "4.2.0",
"resolved": "https://registry.npmmirror.com/crypto-js/-/crypto-js-4.2.0.tgz",
"integrity": "sha512-KALDyEYgpY+Rlob/iriUtjV6d5Eq+Y191A5g4UqLAi8CyGP9N1+FdVbkc1SxKc2r4YAYqG8JzO2KGL+AizD70Q=="
},
"node_modules/css": {
"version": "2.2.4",
"resolved": "https://registry.npmjs.org/css/-/css-2.2.4.tgz",
......@@ -28491,6 +28497,11 @@
"randomfill": "^1.0.3"
}
},
"crypto-js": {
"version": "4.2.0",
"resolved": "https://registry.npmmirror.com/crypto-js/-/crypto-js-4.2.0.tgz",
"integrity": "sha512-KALDyEYgpY+Rlob/iriUtjV6d5Eq+Y191A5g4UqLAi8CyGP9N1+FdVbkc1SxKc2r4YAYqG8JzO2KGL+AizD70Q=="
},
"css": {
"version": "2.2.4",
"resolved": "https://registry.npmjs.org/css/-/css-2.2.4.tgz",
......@@ -5,9 +5,12 @@
<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="<%= BASE_URL %>favicon.ico"> -->
<title>日常行为反馈</title>
<title>值班管理</title>
</head>
<body>
<script type="text/javascript" src="/a/manager/identify/identify.js"></script>
<noscript>
<strong>
请开启 JavaScript 功能来使用 <%= VUE_APP_TITLE %>。
......
import { type AxiosRequestConfig } from "axios";
/**
* 获取权限下拉框
* /api/Common/GetCapacitySelect
*/
export declare function getApiCommonGetCapacitySelect(config?: AxiosRequestConfig): import("axios").AxiosPromise<{
code: number;
status: string;
msg: string;
msg_detail: string;
response: {
name: string;
id: string;
}[];
}>;
import request from "@/plugins/request";
/**
* 获取权限下拉框
* /api/Common/GetCapacitySelect
*/
export function getApiCommonGetCapacitySelect(config) {
return request.get(`/api/Common/GetCapacitySelect`, config);
}
import { type AxiosRequestConfig } from "axios";
/**
* 获取值班配置下拉框
* /api/Common/GetDutyConfigSelect
*/
export declare function getApiCommonGetDutyConfigSelect(config?: AxiosRequestConfig): import("axios").AxiosPromise<{
code: number;
status: string;
msg: string;
msg_detail: string;
response: {
name: string;
id: string;
}[];
}>;
import request from "@/plugins/request";
/**
* 获取值班配置下拉框
* /api/Common/GetDutyConfigSelect
*/
export function getApiCommonGetDutyConfigSelect(config) {
return request.get(`/api/Common/GetDutyConfigSelect`, config);
}
import { type AxiosRequestConfig } from "axios";
/**
* 获取流程url
* /api/Common/GetFlowUrl
*/
export declare function getApiCommonGetFlowUrl(config?: AxiosRequestConfig): import("axios").AxiosPromise<{
code: number;
status: string;
msg: string;
msg_detail: string;
response: string;
}>;
import request from "@/plugins/request";
/**
* 获取流程url
* /api/Common/GetFlowUrl
*/
export function getApiCommonGetFlowUrl(config) {
return request.get(`/api/Common/GetFlowUrl`, config);
}
import { type AxiosRequestConfig } from "axios";
/**
* 根据条件获取人员
* /api/Common/GetPersonByCondiction
*/
export declare function getApiCommonGetPersonByCondiction(params: GetApiCommonGetPersonByCondictionParams, config?: AxiosRequestConfig): import("axios").AxiosPromise<{
pageIndex: number;
pageSize: number;
pageCount: number;
dataCount: number;
title: {
field_id: string;
show_name: string;
show_type: number;
width: number;
order_by_flag: number;
default_hide_flag: number;
fixed_flag: number;
code: string;
option: {
label: string;
value: string;
}[];
children: any[];
}[];
data: {
id: string;
card: string;
name: string;
dept_name: string;
}[];
query: {
[x: string]: any;
};
}>;
export interface GetApiCommonGetPersonByCondictionParams {
/** 卡号或者姓名 */
keyword?: string;
page_index?: number;
page_size?: number;
}
import request from "@/plugins/request";
/**
* 根据条件获取人员
* /api/Common/GetPersonByCondiction
*/
export function getApiCommonGetPersonByCondiction(params, config) {
const paramsInput = {
keyword: params.keyword,
page_index: params.page_index,
page_size: params.page_size,
};
return request.get(`/api/Common/GetPersonByCondiction`, {
params: paramsInput,
...config,
});
}
import { type AxiosRequestConfig } from "axios";
/**
* 获取角色下拉框
* /api/Common/GetRoleSelect
*/
export declare function getApiCommonGetRoleSelect(config?: AxiosRequestConfig): import("axios").AxiosPromise<{
code: number;
status: string;
msg: string;
msg_detail: string;
response: {
name: string;
id: string;
}[];
}>;
import request from "@/plugins/request";
/**
* 获取角色下拉框
* /api/Common/GetRoleSelect
*/
export function getApiCommonGetRoleSelect(config) {
return request.get(`/api/Common/GetRoleSelect`, config);
}
import { type AxiosRequestConfig } from "axios";
/**
* 获取用户的所有权限
* /api/Common/GetUserAllCapacityList
*/
export declare function getApiCommonGetUserAllCapacityList(config?: AxiosRequestConfig): import("axios").AxiosPromise<{
code: number;
status: string;
msg: string;
msg_detail: string;
response: {
name: string;
id: string;
}[];
}>;
import request from "@/plugins/request";
/**
* 获取用户的所有权限
* /api/Common/GetUserAllCapacityList
*/
export function getApiCommonGetUserAllCapacityList(config) {
return request.get(`/api/Common/GetUserAllCapacityList`, config);
}
import { type AxiosRequestConfig } from "axios";
/**
* 获取wx配置api
* /api/Common/GetWxTokenApi
*/
export declare function getApiCommonGetWxTokenApi(config?: AxiosRequestConfig): import("axios").AxiosPromise<{
code: number;
status: string;
msg: string;
msg_detail: string;
response: string;
}>;
import request from "@/plugins/request";
/**
* 获取wx配置api
* /api/Common/GetWxTokenApi
*/
export function getApiCommonGetWxTokenApi(config) {
return request.get(`/api/Common/GetWxTokenApi`, config);
}
export * from "./postApiCommonFileUpload";
export * from "./postApiCommonImageUpLoad";
export * from "./getApiCommonGetPersonByCondiction";
export * from "./getApiCommonGetWxTokenApi";
export * from "./getApiCommonGetCapacitySelect";
export * from "./getApiCommonGetRoleSelect";
export * from "./getApiCommonGetUserAllCapacityList";
export * from "./getApiCommonGetFlowUrl";
export * from "./getApiCommonGetDutyConfigSelect";
export * from "./postApiCommonFileUpload";
export * from "./postApiCommonImageUpLoad";
export * from "./getApiCommonGetPersonByCondiction";
export * from "./getApiCommonGetWxTokenApi";
export * from "./getApiCommonGetCapacitySelect";
export * from "./getApiCommonGetRoleSelect";
export * from "./getApiCommonGetUserAllCapacityList";
export * from "./getApiCommonGetFlowUrl";
export * from "./getApiCommonGetDutyConfigSelect";
import { type AxiosRequestConfig } from "axios";
/**
* 附件上传
* /api/Common/FileUpload
*/
export declare function postApiCommonFileUpload(input?: PostApiCommonFileUploadInput, config?: AxiosRequestConfig): import("axios").AxiosPromise<{
code: number;
status: string;
msg: string;
msg_detail: string;
response: {
id: string;
createby: string;
createtime: string;
path: string;
suffix: string;
size: string;
file_name: string;
};
}>;
export interface PostApiCommonFileUploadInput {
file: File;
}
import request from "@/plugins/request";
/**
* 附件上传
* /api/Common/FileUpload
*/
export function postApiCommonFileUpload(input, config) {
return request.post(`/api/Common/FileUpload`, input, config);
}
import { type AxiosRequestConfig } from "axios";
/**
* 照片上传
* /api/Common/ImageUpLoad
*/
export declare function postApiCommonImageUpLoad(input?: PostApiCommonImageUpLoadInput, config?: AxiosRequestConfig): import("axios").AxiosPromise<{
code: number;
status: string;
msg: string;
msg_detail: string;
response: {
id: string;
createby: string;
createtime: string;
path: string;
suffix: string;
size: string;
file_name: string;
};
}>;
export interface PostApiCommonImageUpLoadInput {
/** 时间 */
time?: string;
/** 日期 */
date?: string;
/** 地点 */
address?: string;
/** 照片 */
file: File;
}
import request from "@/plugins/request";
/**
* 照片上传
* /api/Common/ImageUpLoad
*/
export function postApiCommonImageUpLoad(input, config) {
return request.post(`/api/Common/ImageUpLoad`, input, config);
}
import { type AxiosRequestConfig } from "axios";
import { type DeepRequired } from "../../interface";
/**
* 获取 整体框架 文件
* /api/DbFirst/GetFrameFiles
*/
export declare function getApiDbFirstGetFrameFiles(config?: AxiosRequestConfig): import("axios").AxiosPromise<DeepRequired<boolean>>;
import request from "@/plugins/request";
/**
* 获取 整体框架 文件
* /api/DbFirst/GetFrameFiles
*/
export function getApiDbFirstGetFrameFiles(config) {
return request.get(`/api/DbFirst/GetFrameFiles`, config);
}
import { type AxiosRequestConfig } from "axios";
import { type DeepRequired } from "../../interface";
/**
* 获取 IRepository 层文件
* /api/DbFirst/GetIRepositoryFiles
*/
export declare function getApiDbFirstGetIRepositoryFiles(config?: AxiosRequestConfig): import("axios").AxiosPromise<DeepRequired<boolean>>;
import request from "@/plugins/request";
/**
* 获取 IRepository 层文件
* /api/DbFirst/GetIRepositoryFiles
*/
export function getApiDbFirstGetIRepositoryFiles(config) {
return request.get(`/api/DbFirst/GetIRepositoryFiles`, config);
}
import { type AxiosRequestConfig } from "axios";
import { type DeepRequired } from "../../interface";
/**
* 获取 IService 层文件
* /api/DbFirst/GetIServiceFiles
*/
export declare function getApiDbFirstGetIServiceFiles(config?: AxiosRequestConfig): import("axios").AxiosPromise<DeepRequired<boolean>>;
import request from "@/plugins/request";
/**
* 获取 IService 层文件
* /api/DbFirst/GetIServiceFiles
*/
export function getApiDbFirstGetIServiceFiles(config) {
return request.get(`/api/DbFirst/GetIServiceFiles`, config);
}
import { type AxiosRequestConfig } from "axios";
import { type DeepRequired } from "../../interface";
/**
* 获取 Model 层文件
* /api/DbFirst/GetModelFiles
*/
export declare function getApiDbFirstGetModelFiles(config?: AxiosRequestConfig): import("axios").AxiosPromise<DeepRequired<boolean>>;
import request from "@/plugins/request";
/**
* 获取 Model 层文件
* /api/DbFirst/GetModelFiles
*/
export function getApiDbFirstGetModelFiles(config) {
return request.get(`/api/DbFirst/GetModelFiles`, config);
}
import { type AxiosRequestConfig } from "axios";
import { type DeepRequired } from "../../interface";
/**
* 获取 Repository 层文件
* /api/DbFirst/GetRepositoryFiles
*/
export declare function getApiDbFirstGetRepositoryFiles(config?: AxiosRequestConfig): import("axios").AxiosPromise<DeepRequired<boolean>>;
import request from "@/plugins/request";
/**
* 获取 Repository 层文件
* /api/DbFirst/GetRepositoryFiles
*/
export function getApiDbFirstGetRepositoryFiles(config) {
return request.get(`/api/DbFirst/GetRepositoryFiles`, config);
}
import { type AxiosRequestConfig } from "axios";
import { type DeepRequired } from "../../interface";
/**
* 获取 Services 层文件
* /api/DbFirst/GetServicesFiles
*/
export declare function getApiDbFirstGetServicesFiles(config?: AxiosRequestConfig): import("axios").AxiosPromise<DeepRequired<boolean>>;
import request from "@/plugins/request";
/**
* 获取 Services 层文件
* /api/DbFirst/GetServicesFiles
*/
export function getApiDbFirstGetServicesFiles(config) {
return request.get(`/api/DbFirst/GetServicesFiles`, config);
}
export * from "./getApiDbFirstGetFrameFiles";
export * from "./postApiDbFirstGetFrameFilesByTable";
export * from "./getApiDbFirstGetModelFiles";
export * from "./getApiDbFirstGetIRepositoryFiles";
export * from "./getApiDbFirstGetIServiceFiles";
export * from "./getApiDbFirstGetRepositoryFiles";
export * from "./getApiDbFirstGetServicesFiles";
export * from "./getApiDbFirstGetFrameFiles";
export * from "./postApiDbFirstGetFrameFilesByTable";
export * from "./getApiDbFirstGetModelFiles";
export * from "./getApiDbFirstGetIRepositoryFiles";
export * from "./getApiDbFirstGetIServiceFiles";
export * from "./getApiDbFirstGetRepositoryFiles";
export * from "./getApiDbFirstGetServicesFiles";
import { type AxiosRequestConfig } from "axios";
import { type DeepRequired } from "../../interface";
/**
* 获取指定框架文件
* /api/DbFirst/GetFrameFilesByTable
*/
export declare function postApiDbFirstGetFrameFilesByTable(input?: string[], config?: AxiosRequestConfig): import("axios").AxiosPromise<DeepRequired<boolean>>;
import request from "@/plugins/request";
/**
* 获取指定框架文件
* /api/DbFirst/GetFrameFilesByTable
*/
export function postApiDbFirstGetFrameFilesByTable(input, config) {
return request.post(`/api/DbFirst/GetFrameFilesByTable`, input, config);
}
import { type AxiosRequestConfig } from "axios";
/**
* 删除值班分类
* /api/DutyClassify/DeleteDuty
*/
export declare function getApiDutyClassifyDeleteDuty(params: GetApiDutyClassifyDeleteDutyParams, config?: AxiosRequestConfig): import("axios").AxiosPromise<{
code: number;
status: string;
msg: string;
msg_detail: string;
response: string;
}>;
export interface GetApiDutyClassifyDeleteDutyParams {
id?: string;
}
import request from "@/plugins/request";
/**
* 删除值班分类
* /api/DutyClassify/DeleteDuty
*/
export function getApiDutyClassifyDeleteDuty(params, config) {
const paramsInput = {
id: params.id,
};
return request.get(`/api/DutyClassify/DeleteDuty`, {
params: paramsInput,
...config,
});
}
import { type AxiosRequestConfig } from "axios";
/**
* 查看值班分类树
* /api/DutyClassify/GetClassifyTree
*/
export declare function getApiDutyClassifyGetClassifyTree(config?: AxiosRequestConfig): import("axios").AxiosPromise<{
code: number;
status: string;
msg: string;
msg_detail: string;
response: {
query: {
[x: string]: any;
};
title: {
field_id: string;
show_name: string;
show_type: number;
width: number;
order_by_flag: number;
default_hide_flag: number;
fixed_flag: number;
code: string;
option: {
label: string;
value: string;
}[];
children: any[];
}[];
dataCount: number;
data: {
id: string;
name: string;
parent_id: string;
config_id: string;
is_enable: number;
is_del: number;
createby: string;
createtime: string;
children: any[];
}[];
};
}>;
import request from "@/plugins/request";
/**
* 查看值班分类树
* /api/DutyClassify/GetClassifyTree
*/
export function getApiDutyClassifyGetClassifyTree(config) {
return request.get(`/api/DutyClassify/GetClassifyTree`, config);
}
import { type AxiosRequestConfig } from "axios";
/**
* 查看值班分类详情
* /api/DutyClassify/GetDutyDetail
*/
export declare function getApiDutyClassifyGetDutyDetail(params: GetApiDutyClassifyGetDutyDetailParams, config?: AxiosRequestConfig): import("axios").AxiosPromise<{
code: number;
status: string;
msg: string;
msg_detail: string;
response: {
name: string;
parent_id: string;
config_id: string;
};
}>;
export interface GetApiDutyClassifyGetDutyDetailParams {
id: string;
}
import request from "@/plugins/request";
/**
* 查看值班分类详情
* /api/DutyClassify/GetDutyDetail
*/
export function getApiDutyClassifyGetDutyDetail(params, config) {
const paramsInput = {
id: params.id,
};
return request.get(`/api/DutyClassify/GetDutyDetail`, {
params: paramsInput,
...config,
});
}
import { type AxiosRequestConfig } from "axios";
/**
* 启用禁用值班分类
* /api/DutyClassify/ModifyDutyStatus
*/
export declare function getApiDutyClassifyModifyDutyStatus(params: GetApiDutyClassifyModifyDutyStatusParams, config?: AxiosRequestConfig): import("axios").AxiosPromise<{
code: number;
status: string;
msg: string;
msg_detail: string;
response: string;
}>;
export interface GetApiDutyClassifyModifyDutyStatusParams {
id?: string;
is_enable?: number;
}
import request from "@/plugins/request";
/**
* 启用禁用值班分类
* /api/DutyClassify/ModifyDutyStatus
*/
export function getApiDutyClassifyModifyDutyStatus(params, config) {
const paramsInput = {
id: params.id,
is_enable: params.is_enable,
};
return request.get(`/api/DutyClassify/ModifyDutyStatus`, {
params: paramsInput,
...config,
});
}
import { type AxiosRequestConfig } from "axios";
/**
* 查看值班分类列表
* /api/DutyClassify/QueryDutyClassify
*/
export declare function getApiDutyClassifyQueryDutyClassify(params: GetApiDutyClassifyQueryDutyClassifyParams, config?: AxiosRequestConfig): import("axios").AxiosPromise<{
pageIndex: number;
pageSize: number;
pageCount: number;
dataCount: number;
title: {
field_id: string;
show_name: string;
show_type: number;
width: number;
order_by_flag: number;
default_hide_flag: number;
fixed_flag: number;
code: string;
option: {
label: string;
value: string;
}[];
children: any[];
}[];
data: {
code: number;
status: string;
msg: string;
msg_detail: string;
response: {
id: string;
name: string;
parent_id: string;
config_id: string;
is_enable: number;
is_del: number;
createby: string;
createtime: string;
children: any[];
};
}[];
query: {
[x: string]: any;
};
}>;
export interface GetApiDutyClassifyQueryDutyClassifyParams {
parent_id: string;
name?: string;
page_index?: number;
page_size?: number;
}
import request from "@/plugins/request";
/**
* 查看值班分类列表
* /api/DutyClassify/QueryDutyClassify
*/
export function getApiDutyClassifyQueryDutyClassify(params, config) {
const paramsInput = {
parent_id: params.parent_id,
name: params.name,
page_index: params.page_index,
page_size: params.page_size,
};
return request.get(`/api/DutyClassify/QueryDutyClassify`, {
params: paramsInput,
...config,
});
}
export * from "./getApiDutyClassifyGetClassifyTree";
export * from "./getApiDutyClassifyQueryDutyClassify";
export * from "./getApiDutyClassifyGetDutyDetail";
export * from "./postApiDutyClassifyAddDutyType";
export * from "./postApiDutyClassifyUpdateDutyType";
export * from "./getApiDutyClassifyModifyDutyStatus";
export * from "./getApiDutyClassifyDeleteDuty";
export * from "./getApiDutyClassifyGetClassifyTree";
export * from "./getApiDutyClassifyQueryDutyClassify";
export * from "./getApiDutyClassifyGetDutyDetail";
export * from "./postApiDutyClassifyAddDutyType";
export * from "./postApiDutyClassifyUpdateDutyType";
export * from "./getApiDutyClassifyModifyDutyStatus";
export * from "./getApiDutyClassifyDeleteDuty";
import { type AxiosRequestConfig } from "axios";
import { type AddDutyTypeRequest } from "../../interface";
/**
* 新增值班分类
* /api/DutyClassify/AddDutyType
*/
export declare function postApiDutyClassifyAddDutyType(input?: AddDutyTypeRequest, config?: AxiosRequestConfig): import("axios").AxiosPromise<{
code: number;
status: string;
msg: string;
msg_detail: string;
response: {
id: string;
name: string;
parent_id: string;
config_id: string;
is_enable: number;
is_del: number;
createby: string;
createtime: string;
children: any[];
}[];
}>;
import request from "@/plugins/request";
/**
* 新增值班分类
* /api/DutyClassify/AddDutyType
*/
export function postApiDutyClassifyAddDutyType(input, config) {
return request.post(`/api/DutyClassify/AddDutyType`, input, config);
}
import { type AxiosRequestConfig } from "axios";
import { type UpdateDutyTypeRequest } from "../../interface";
/**
* 更新值班分类
* /api/DutyClassify/UpdateDutyType
*/
export declare function postApiDutyClassifyUpdateDutyType(input?: UpdateDutyTypeRequest, config?: AxiosRequestConfig): import("axios").AxiosPromise<{
code: number;
status: string;
msg: string;
msg_detail: string;
response: string;
}>;
import request from "@/plugins/request";
/**
* 更新值班分类
* /api/DutyClassify/UpdateDutyType
*/
export function postApiDutyClassifyUpdateDutyType(input, config) {
return request.post(`/api/DutyClassify/UpdateDutyType`, input, config);
}
import { type AxiosRequestConfig } from "axios";
/**
* 删除配置
* /api/DutyConfig/DeleteDutyConfig
*/
export declare function getApiDutyConfigDeleteDutyConfig(params: GetApiDutyConfigDeleteDutyConfigParams, config?: AxiosRequestConfig): import("axios").AxiosPromise<{
code: number;
status: string;
msg: string;
msg_detail: string;
response: string;
}>;
export interface GetApiDutyConfigDeleteDutyConfigParams {
id?: string;
}
import request from "@/plugins/request";
/**
* 删除配置
* /api/DutyConfig/DeleteDutyConfig
*/
export function getApiDutyConfigDeleteDutyConfig(params, config) {
const paramsInput = {
id: params.id,
};
return request.get(`/api/DutyConfig/DeleteDutyConfig`, {
params: paramsInput,
...config,
});
}
import { type AxiosRequestConfig } from "axios";
/**
* 查看值班配置详情
* /api/DutyConfig/GetDutyConfigDetail
*/
export declare function getApiDutyConfigGetDutyConfigDetail(params: GetApiDutyConfigGetDutyConfigDetailParams, config?: AxiosRequestConfig): import("axios").AxiosPromise<{
code: number;
status: string;
msg: string;
msg_detail: string;
response: {
name: string;
duty_daytime: string;
sign_daytime: string;
daytime_num: number;
duty_night_time: string;
sign_night_time: string;
duty_night_num: number;
attendance_area: string;
log_content: string;
day_time: string;
effect_begin: string;
effect_end: string;
};
}>;
export interface GetApiDutyConfigGetDutyConfigDetailParams {
id?: string;
}
import request from "@/plugins/request";
/**
* 查看值班配置详情
* /api/DutyConfig/GetDutyConfigDetail
*/
export function getApiDutyConfigGetDutyConfigDetail(params, config) {
const paramsInput = {
id: params.id,
};
return request.get(`/api/DutyConfig/GetDutyConfigDetail`, {
params: paramsInput,
...config,
});
}
import { type AxiosRequestConfig } from "axios";
/**
* 启用禁用值班配置
* /api/DutyConfig/ModifyDutyConfigStatus
*/
export declare function getApiDutyConfigModifyDutyConfigStatus(params: GetApiDutyConfigModifyDutyConfigStatusParams, config?: AxiosRequestConfig): import("axios").AxiosPromise<{
code: number;
status: string;
msg: string;
msg_detail: string;
response: string;
}>;
export interface GetApiDutyConfigModifyDutyConfigStatusParams {
id?: string;
is_enable?: number;
}
import request from "@/plugins/request";
/**
* 启用禁用值班配置
* /api/DutyConfig/ModifyDutyConfigStatus
*/
export function getApiDutyConfigModifyDutyConfigStatus(params, config) {
const paramsInput = {
id: params.id,
is_enable: params.is_enable,
};
return request.get(`/api/DutyConfig/ModifyDutyConfigStatus`, {
params: paramsInput,
...config,
});
}
import { type AxiosRequestConfig } from "axios";
/**
* 获取值班配置列表
* /api/DutyConfig/UpdateDutyConfig
*/
export declare function getApiDutyConfigUpdateDutyConfig(params: GetApiDutyConfigUpdateDutyConfigParams, config?: AxiosRequestConfig): import("axios").AxiosPromise<{
pageIndex: number;
pageSize: number;
pageCount: number;
dataCount: number;
title: {
field_id: string;
show_name: string;
show_type: number;
width: number;
order_by_flag: number;
default_hide_flag: number;
fixed_flag: number;
code: string;
option: {
label: string;
value: string;
}[];
children: any[];
}[];
data: {
code: number;
status: string;
msg: string;
msg_detail: string;
response: {
name: string;
log_content: string;
is_enable: number;
day_time: string;
effect_begin: string;
effect_end: string;
};
}[];
query: {
[x: string]: any;
};
}>;
export interface GetApiDutyConfigUpdateDutyConfigParams {
id?: string;
name?: string;
page_index?: number;
page_size?: number;
}
import request from "@/plugins/request";
/**
* 获取值班配置列表
* /api/DutyConfig/UpdateDutyConfig
*/
export function getApiDutyConfigUpdateDutyConfig(params, config) {
const paramsInput = {
id: params.id,
name: params.name,
page_index: params.page_index,
page_size: params.page_size,
};
return request.get(`/api/DutyConfig/UpdateDutyConfig`, {
params: paramsInput,
...config,
});
}
export * from "./postApiDutyConfigAddDutyConfig";
export * from "./postApiDutyConfigUpdateDutyConfig";
export * from "./getApiDutyConfigUpdateDutyConfig";
export * from "./getApiDutyConfigGetDutyConfigDetail";
export * from "./getApiDutyConfigModifyDutyConfigStatus";
export * from "./getApiDutyConfigDeleteDutyConfig";
export * from "./postApiDutyConfigAddDutyConfig";
export * from "./postApiDutyConfigUpdateDutyConfig";
export * from "./getApiDutyConfigUpdateDutyConfig";
export * from "./getApiDutyConfigGetDutyConfigDetail";
export * from "./getApiDutyConfigModifyDutyConfigStatus";
export * from "./getApiDutyConfigDeleteDutyConfig";
import { type AxiosRequestConfig } from "axios";
import { type AddDutyConfigRequest } from "../../interface";
/**
* 新增值班配置
* /api/DutyConfig/AddDutyConfig
*/
export declare function postApiDutyConfigAddDutyConfig(input?: AddDutyConfigRequest, config?: AxiosRequestConfig): import("axios").AxiosPromise<{
code: number;
status: string;
msg: string;
msg_detail: string;
response: string;
}>;
import request from "@/plugins/request";
/**
* 新增值班配置
* /api/DutyConfig/AddDutyConfig
*/
export function postApiDutyConfigAddDutyConfig(input, config) {
return request.post(`/api/DutyConfig/AddDutyConfig`, input, config);
}
import { type AxiosRequestConfig } from "axios";
import { type UpdateDutyConfigRequest } from "../../interface";
/**
* 更新值班配置
* /api/DutyConfig/UpdateDutyConfig
*/
export declare function postApiDutyConfigUpdateDutyConfig(input?: UpdateDutyConfigRequest, config?: AxiosRequestConfig): import("axios").AxiosPromise<{
code: number;
status: string;
msg: string;
msg_detail: string;
response: string;
}>;
import request from "@/plugins/request";
/**
* 更新值班配置
* /api/DutyConfig/UpdateDutyConfig
*/
export function postApiDutyConfigUpdateDutyConfig(input, config) {
return request.post(`/api/DutyConfig/UpdateDutyConfig`, input, config);
}
import { type AxiosRequestConfig } from "axios";
/**
* 获取值班安排表-以日期为主
* /api/DutyRecord/GetDutyArrangeByDateList
*/
export declare function getApiDutyRecordGetDutyArrangeByDateList(params: GetApiDutyRecordGetDutyArrangeByDateListParams, config?: AxiosRequestConfig): import("axios").AxiosPromise<{
code: number;
status: string;
msg: string;
msg_detail: string;
response: {
date: string;
week: string;
dutydatas: {
duty_type_id: string;
duty_type_name: string;
record_id: string;
duty_daytime_people: string;
duty_night_people: string;
}[];
}[];
}>;
export interface GetApiDutyRecordGetDutyArrangeByDateListParams {
begin?: string;
end?: string;
}
import request from "@/plugins/request";
/**
* 获取值班安排表-以日期为主
* /api/DutyRecord/GetDutyArrangeByDateList
*/
export function getApiDutyRecordGetDutyArrangeByDateList(params, config) {
const paramsInput = {
begin: params.begin,
end: params.end,
};
return request.get(`/api/DutyRecord/GetDutyArrangeByDateList`, {
params: paramsInput,
...config,
});
}
import { type AxiosRequestConfig } from "axios";
/**
* 获取值班安排表
* /api/DutyRecord/GetDutyArrangeList
*/
export declare function getApiDutyRecordGetDutyArrangeList(params: GetApiDutyRecordGetDutyArrangeListParams, config?: AxiosRequestConfig): import("axios").AxiosPromise<{
code: number;
status: string;
msg: string;
msg_detail: string;
response: {
duty_type_id: string;
duty_type_name: string;
dutydatas: {
date: string;
week: string;
record_id: string;
duty_daytime_people: string;
duty_night_people: string;
}[];
}[];
}>;
export interface GetApiDutyRecordGetDutyArrangeListParams {
begin?: string;
end?: string;
}
import request from "@/plugins/request";
/**
* 获取值班安排表
* /api/DutyRecord/GetDutyArrangeList
*/
export function getApiDutyRecordGetDutyArrangeList(params, config) {
const paramsInput = {
begin: params.begin,
end: params.end,
};
return request.get(`/api/DutyRecord/GetDutyArrangeList`, {
params: paramsInput,
...config,
});
}
import { type AxiosRequestConfig } from "axios";
/**
* 值班公示
* /api/DutyRecord/GetDutyRecordPublicity
*/
export declare function getApiDutyRecordGetDutyRecordPublicity(params: GetApiDutyRecordGetDutyRecordPublicityParams, config?: AxiosRequestConfig): import("axios").AxiosPromise<{
code: number;
status: string;
msg: string;
msg_detail: string;
response: {
date: string;
duty_list: {
duty_type_name: string;
duty_daytime_people_list: {
name: string;
phone: string;
}[];
duty_night_people_list: {
name: string;
phone: string;
}[];
}[];
};
}>;
export interface GetApiDutyRecordGetDutyRecordPublicityParams {
date: string;
}
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
Markdown 格式
0% or
您添加了 0 人 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册 或