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

V20240627保存

上级 095fea4e
流水线 #27357 已通过 ,包含阶段
in 38 second
# 所有环境默认
# 页面 title
VUE_APP_TITLE=场地管理
\ No newline at end of file
VUE_APP_TITLE=自习室占座预约系统
.ivu-form-item[data-v-140ed7a2]{padding-right:15px}.fileRow[data-v-140ed7a2]{display:flex;justify-content:space-between;align-items:center}.fileRow .delIcon[data-v-140ed7a2]{color:#ed4014}.fileRow .delIcon[data-v-140ed7a2]:hover{color:#f16643;cursor:pointer}.mainDiv[data-v-320a95b4]{width:100%;height:100%;display:flex;flex-wrap:wrap;justify-content:space-between}.mainDiv .bigCard[data-v-320a95b4],.mainDiv .smallCard[data-v-320a95b4]{margin-bottom:16px}.mainDiv .bigCard[data-v-320a95b4] .ivu-card-body,.mainDiv .smallCard[data-v-320a95b4] .ivu-card-body{height:calc(100% - 51px)}.mainDiv .bigCard[data-v-320a95b4] .ivu-card-body .ivu-form-item,.mainDiv .smallCard[data-v-320a95b4] .ivu-card-body .ivu-form-item{margin-bottom:12px}.mainDiv .bigCard[data-v-320a95b4]{width:calc(50% - 8px)}.mainDiv .smallCard[data-v-320a95b4]{width:calc(33.33333% - 10.66667px)}.mainDiv[data-v-320a95b4] .kjyyCard .ivu-card-body{overflow:auto}.mainDiv[data-v-320a95b4] .kjyyCard .ivu-card-body p[name=fastCP]{display:flex;justify-content:space-between}.mainDiv[data-v-320a95b4] .kjyyCard .ivu-card-body p[name=fastCP] a[name=del]{color:#ed4014}.mainDiv[data-v-320a95b4] .kjyyCard .ivu-card-body p[name=fastCP] a[name=del]:hover{color:#f16643}.mainDiv[data-v-320a95b4] .kjyyCard .ivu-card-body p[name=fastCP] a[name=del]:active{color:#e13d13}.mainDiv[data-v-320a95b4] .cplhsCard .ivu-card-body{display:flex;flex-direction:column;justify-content:space-evenly}.mainDiv[data-v-320a95b4] .save-bt{text-align:right;position:absolute;bottom:16px;right:16px}.mainDiv .roomOpeningHours[data-v-320a95b4]{display:flex;justify-content:space-between;flex-wrap:wrap}.mainDiv .flexBetWeen[data-v-320a95b4]{width:100%;height:100%;display:flex;justify-content:space-between}
\ No newline at end of file
.ivu-form-item[data-v-00c9bf51]{padding-right:15px}.fileRow[data-v-00c9bf51]{display:flex;justify-content:space-between;align-items:center}.fileRow .delIcon[data-v-00c9bf51]{color:#ed4014}.fileRow .delIcon[data-v-00c9bf51]:hover{color:#f16643;cursor:pointer}.mainDiv[data-v-320a95b4]{width:100%;height:100%;display:flex;flex-wrap:wrap;justify-content:space-between}.mainDiv .bigCard[data-v-320a95b4],.mainDiv .smallCard[data-v-320a95b4]{margin-bottom:16px}.mainDiv .bigCard[data-v-320a95b4] .ivu-card-body,.mainDiv .smallCard[data-v-320a95b4] .ivu-card-body{height:calc(100% - 51px)}.mainDiv .bigCard[data-v-320a95b4] .ivu-card-body .ivu-form-item,.mainDiv .smallCard[data-v-320a95b4] .ivu-card-body .ivu-form-item{margin-bottom:12px}.mainDiv .bigCard[data-v-320a95b4]{width:calc(50% - 8px)}.mainDiv .smallCard[data-v-320a95b4]{width:calc(33.33333% - 10.66667px)}.mainDiv[data-v-320a95b4] .kjyyCard .ivu-card-body{overflow:auto}.mainDiv[data-v-320a95b4] .kjyyCard .ivu-card-body p[name=fastCP]{display:flex;justify-content:space-between}.mainDiv[data-v-320a95b4] .kjyyCard .ivu-card-body p[name=fastCP] a[name=del]{color:#ed4014}.mainDiv[data-v-320a95b4] .kjyyCard .ivu-card-body p[name=fastCP] a[name=del]:hover{color:#f16643}.mainDiv[data-v-320a95b4] .kjyyCard .ivu-card-body p[name=fastCP] a[name=del]:active{color:#e13d13}.mainDiv[data-v-320a95b4] .cplhsCard .ivu-card-body{display:flex;flex-direction:column;justify-content:space-evenly}.mainDiv[data-v-320a95b4] .save-bt{text-align:right;position:absolute;bottom:16px;right:16px}.mainDiv .roomOpeningHours[data-v-320a95b4]{display:flex;justify-content:space-between;flex-wrap:wrap}.mainDiv .flexBetWeen[data-v-320a95b4]{width:100%;height:100%;display:flex;justify-content:space-between}
\ No newline at end of file
.ivu-form-item[data-v-140ed7a2]{padding-right:15px}.fileRow[data-v-140ed7a2]{display:flex;justify-content:space-between;align-items:center}.fileRow .delIcon[data-v-140ed7a2]{color:#ed4014}.fileRow .delIcon[data-v-140ed7a2]:hover{color:#f16643;cursor:pointer}.searchDiv .ivu-form-item[data-v-28ca940a]{margin-bottom:12px}.searchDiv .buttonCol[data-v-28ca940a]{margin-left:auto;text-align:right}.searchDiv .buttonCol .ivu-btn[data-v-28ca940a]{margin-left:8px}
\ No newline at end of file
.ivu-form-item[data-v-00c9bf51]{padding-right:15px}.fileRow[data-v-00c9bf51]{display:flex;justify-content:space-between;align-items:center}.fileRow .delIcon[data-v-00c9bf51]{color:#ed4014}.fileRow .delIcon[data-v-00c9bf51]:hover{color:#f16643;cursor:pointer}.searchDiv .ivu-form-item[data-v-28ca940a]{margin-bottom:12px}.searchDiv .buttonCol[data-v-28ca940a]{margin-left:auto;text-align:right}.searchDiv .buttonCol .ivu-btn[data-v-28ca940a]{margin-left:8px}
\ No newline at end of file
.ivu-form-item[data-v-140ed7a2]{padding-right:15px}.fileRow[data-v-140ed7a2]{display:flex;justify-content:space-between;align-items:center}.fileRow .delIcon[data-v-140ed7a2]{color:#ed4014}.fileRow .delIcon[data-v-140ed7a2]:hover{color:#f16643;cursor:pointer}.searchDiv .ivu-form-item[data-v-28ca940a]{margin-bottom:12px}.searchDiv .buttonCol[data-v-28ca940a]{margin-left:auto;text-align:right}.searchDiv .buttonCol .ivu-btn[data-v-28ca940a]{margin-left:8px}.cyrIcon[data-v-58bc4fb8]{color:#515a6e}.cyrIcon[data-v-58bc4fb8]:hover{color:#757d8f;cursor:pointer}.cyrIcon[data-v-58bc4fb8]:active{color:#3f485c}
\ No newline at end of file
.ivu-form-item[data-v-00c9bf51]{padding-right:15px}.fileRow[data-v-00c9bf51]{display:flex;justify-content:space-between;align-items:center}.fileRow .delIcon[data-v-00c9bf51]{color:#ed4014}.fileRow .delIcon[data-v-00c9bf51]:hover{color:#f16643;cursor:pointer}.searchDiv .ivu-form-item[data-v-28ca940a]{margin-bottom:12px}.searchDiv .buttonCol[data-v-28ca940a]{margin-left:auto;text-align:right}.searchDiv .buttonCol .ivu-btn[data-v-28ca940a]{margin-left:8px}.cyrIcon[data-v-98ed90d0]{color:#515a6e}.cyrIcon[data-v-98ed90d0]:hover{color:#757d8f;cursor:pointer}.cyrIcon[data-v-98ed90d0]:active{color:#3f485c}
\ No newline at end of file
.ivu-form-item[data-v-140ed7a2]{padding-right:15px}.fileRow[data-v-140ed7a2]{display:flex;justify-content:space-between;align-items:center}.fileRow .delIcon[data-v-140ed7a2]{color:#ed4014}.fileRow .delIcon[data-v-140ed7a2]:hover{color:#f16643;cursor:pointer}.searchDiv .ivu-form-item[data-v-28ca940a]{margin-bottom:12px}.searchDiv .buttonCol[data-v-28ca940a]{margin-left:auto;text-align:right}.searchDiv .buttonCol .ivu-btn[data-v-28ca940a]{margin-left:8px}.cyrIcon[data-v-2a1252fa]{color:#515a6e}.cyrIcon[data-v-2a1252fa]:hover{color:#757d8f;cursor:pointer}.cyrIcon[data-v-2a1252fa]:active{color:#3f485c}
\ No newline at end of file
.ivu-form-item[data-v-00c9bf51]{padding-right:15px}.fileRow[data-v-00c9bf51]{display:flex;justify-content:space-between;align-items:center}.fileRow .delIcon[data-v-00c9bf51]{color:#ed4014}.fileRow .delIcon[data-v-00c9bf51]:hover{color:#f16643;cursor:pointer}.searchDiv .ivu-form-item[data-v-28ca940a]{margin-bottom:12px}.searchDiv .buttonCol[data-v-28ca940a]{margin-left:auto;text-align:right}.searchDiv .buttonCol .ivu-btn[data-v-28ca940a]{margin-left:8px}.cyrIcon[data-v-2a1252fa]{color:#515a6e}.cyrIcon[data-v-2a1252fa]:hover{color:#757d8f;cursor:pointer}.cyrIcon[data-v-2a1252fa]:active{color:#3f485c}
\ No newline at end of file
.ivu-modal-close .ivu-icon-ios-close[data-v-7980c3ab]{color:red;font-weight:700}
\ No newline at end of file
.ivu-form-item[data-v-140ed7a2]{padding-right:15px}.fileRow[data-v-140ed7a2]{display:flex;justify-content:space-between;align-items:center}.fileRow .delIcon[data-v-140ed7a2]{color:#ed4014}.fileRow .delIcon[data-v-140ed7a2]:hover{color:#f16643;cursor:pointer}.searchDiv .ivu-form-item[data-v-28ca940a]{margin-bottom:12px}.searchDiv .buttonCol[data-v-28ca940a]{margin-left:auto;text-align:right}.searchDiv .buttonCol .ivu-btn[data-v-28ca940a]{margin-left:8px}
\ No newline at end of file
.ivu-form-item[data-v-00c9bf51]{padding-right:15px}.fileRow[data-v-00c9bf51]{display:flex;justify-content:space-between;align-items:center}.fileRow .delIcon[data-v-00c9bf51]{color:#ed4014}.fileRow .delIcon[data-v-00c9bf51]:hover{color:#f16643;cursor:pointer}.searchDiv .ivu-form-item[data-v-28ca940a]{margin-bottom:12px}.searchDiv .buttonCol[data-v-28ca940a]{margin-left:auto;text-align:right}.searchDiv .buttonCol .ivu-btn[data-v-28ca940a]{margin-left:8px}
\ No newline at end of file
.ivu-form-item[data-v-140ed7a2]{padding-right:15px}.fileRow[data-v-140ed7a2]{display:flex;justify-content:space-between;align-items:center}.fileRow .delIcon[data-v-140ed7a2]{color:#ed4014}.fileRow .delIcon[data-v-140ed7a2]:hover{color:#f16643;cursor:pointer}.searchDiv .ivu-form-item[data-v-28ca940a]{margin-bottom:12px}.searchDiv .buttonCol[data-v-28ca940a]{margin-left:auto;text-align:right}.searchDiv .buttonCol .ivu-btn[data-v-28ca940a]{margin-left:8px}
\ No newline at end of file
.ivu-form-item[data-v-00c9bf51]{padding-right:15px}.fileRow[data-v-00c9bf51]{display:flex;justify-content:space-between;align-items:center}.fileRow .delIcon[data-v-00c9bf51]{color:#ed4014}.fileRow .delIcon[data-v-00c9bf51]:hover{color:#f16643;cursor:pointer}.searchDiv .ivu-form-item[data-v-28ca940a]{margin-bottom:12px}.searchDiv .buttonCol[data-v-28ca940a]{margin-left:auto;text-align:right}.searchDiv .buttonCol .ivu-btn[data-v-28ca940a]{margin-left:8px}
\ No newline at end of file
.ivu-form-item[data-v-140ed7a2]{padding-right:15px}.fileRow[data-v-140ed7a2]{display:flex;justify-content:space-between;align-items:center}.fileRow .delIcon[data-v-140ed7a2]{color:#ed4014}.fileRow .delIcon[data-v-140ed7a2]:hover{color:#f16643;cursor:pointer}.searchDiv .ivu-form-item[data-v-28ca940a]{margin-bottom:12px}.searchDiv .buttonCol[data-v-28ca940a]{margin-left:auto;text-align:right}.searchDiv .buttonCol .ivu-btn[data-v-28ca940a]{margin-left:8px}.ivu-modal-close .ivu-icon-ios-close[data-v-5a03b86e]{color:red;font-weight:700}
\ No newline at end of file
.ivu-form-item[data-v-00c9bf51]{padding-right:15px}.fileRow[data-v-00c9bf51]{display:flex;justify-content:space-between;align-items:center}.fileRow .delIcon[data-v-00c9bf51]{color:#ed4014}.fileRow .delIcon[data-v-00c9bf51]:hover{color:#f16643;cursor:pointer}.searchDiv .ivu-form-item[data-v-28ca940a]{margin-bottom:12px}.searchDiv .buttonCol[data-v-28ca940a]{margin-left:auto;text-align:right}.searchDiv .buttonCol .ivu-btn[data-v-28ca940a]{margin-left:8px}
\ No newline at end of file
.tiledContainer[data-v-0f60ba39]{width:100%;min-height:566px;padding-top:10px}.tiledContainer .tiledContainer-h[data-v-0f60ba39]{width:100%;height:50px;background-color:#f8f8fa;padding:10px;display:flex;justify-content:space-between;align-content:center}.tiledContainer .tiledContainer-c[data-v-0f60ba39]{position:relative;display:grid;grid-gap:10px;grid-template-columns:repeat(auto-fit,minmax(100px,auto));align-content:start;justify-content:start;height:34%;padding:10px;list-style:none}.tiledContainer .tiledContainer-item[data-v-0f60ba39]{height:120px;padding:15px;display:flex;justify-content:center;align-items:center;border:1px solid #e3e1e1;cursor:pointer;flex-wrap:wrap}.tiledContainer .tiledContainer-item[data-v-0f60ba39]:hover{transition:border;transition-duration:.2s;transition-timing-function:unset;border:1px solid #1e93ff}.tiledContainer .tiledContainer-item:hover .item_[data-v-0f60ba39]{cursor:pointer;margin-right:5px;width:50px;height:50px}.demo-split[data-v-0f60ba39]{height:calc(100vh - 112px)}.demo-split .demo-split-pane-L[data-v-0f60ba39]{padding:10px;height:100%;background-color:#fff}.demo-split .demo-split-pane-R[data-v-0f60ba39]{padding-left:24px}.bottom[data-v-0f60ba39],.top[data-v-0f60ba39]{text-align:center}.center[data-v-0f60ba39]{width:300px;margin:10px auto;overflow:hidden}.center-left[data-v-0f60ba39]{float:left}.center-right[data-v-0f60ba39]{float:right}
\ No newline at end of file
.ivu-form-item[data-v-140ed7a2]{padding-right:15px}.fileRow[data-v-140ed7a2]{display:flex;justify-content:space-between;align-items:center}.fileRow .delIcon[data-v-140ed7a2]{color:#ed4014}.fileRow .delIcon[data-v-140ed7a2]:hover{color:#f16643;cursor:pointer}.searchDiv .ivu-form-item[data-v-28ca940a]{margin-bottom:12px}.searchDiv .buttonCol[data-v-28ca940a]{margin-left:auto;text-align:right}.searchDiv .buttonCol .ivu-btn[data-v-28ca940a]{margin-left:8px}.demo-split[data-v-74684127]{height:calc(100vh - 112px)}.demo-split .demo-split-pane-L[data-v-74684127]{padding:10px;height:100%;background-color:#fff}.demo-split .demo-split-pane-R[data-v-74684127]{padding-left:24px}
\ No newline at end of file
.ivu-form-item[data-v-140ed7a2]{padding-right:15px}.fileRow[data-v-140ed7a2]{display:flex;justify-content:space-between;align-items:center}.fileRow .delIcon[data-v-140ed7a2]{color:#ed4014}.fileRow .delIcon[data-v-140ed7a2]:hover{color:#f16643;cursor:pointer}.searchDiv .ivu-form-item[data-v-28ca940a]{margin-bottom:12px}.searchDiv .buttonCol[data-v-28ca940a]{margin-left:auto;text-align:right}.searchDiv .buttonCol .ivu-btn[data-v-28ca940a]{margin-left:8px}.cyrIcon[data-v-a66708ae]{color:#515a6e}.cyrIcon[data-v-a66708ae]:hover{color:#757d8f;cursor:pointer}.cyrIcon[data-v-a66708ae]:active{color:#3f485c}
\ No newline at end of file
.ivu-form-item[data-v-00c9bf51]{padding-right:15px}.fileRow[data-v-00c9bf51]{display:flex;justify-content:space-between;align-items:center}.fileRow .delIcon[data-v-00c9bf51]{color:#ed4014}.fileRow .delIcon[data-v-00c9bf51]:hover{color:#f16643;cursor:pointer}.searchDiv .ivu-form-item[data-v-28ca940a]{margin-bottom:12px}.searchDiv .buttonCol[data-v-28ca940a]{margin-left:auto;text-align:right}.searchDiv .buttonCol .ivu-btn[data-v-28ca940a]{margin-left:8px}.cyrIcon[data-v-a66708ae]{color:#515a6e}.cyrIcon[data-v-a66708ae]:hover{color:#757d8f;cursor:pointer}.cyrIcon[data-v-a66708ae]:active{color:#3f485c}
\ No newline at end of file
/*!
* Viewer.js v1.11.6
* https://fengyuanchen.github.io/viewerjs
*
* Copyright 2015-present Chen Fengyuan
* Released under the MIT license
*
* Date: 2023-09-17T03:16:35.830Z
*/.viewer-close:before,.viewer-flip-horizontal:before,.viewer-flip-vertical:before,.viewer-fullscreen-exit:before,.viewer-fullscreen:before,.viewer-next:before,.viewer-one-to-one:before,.viewer-play:before,.viewer-prev:before,.viewer-reset:before,.viewer-rotate-left:before,.viewer-rotate-right:before,.viewer-zoom-in:before,.viewer-zoom-out:before{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAARgAAAAUCAYAAABWOyJDAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAQPSURBVHic7Zs/iFxVFMa/0U2UaJGksUgnIVhYxVhpjDbZCBmLdAYECxsRFBTUamcXUiSNncgKQbSxsxH8gzAP3FU2jY0kKKJNiiiIghFlccnP4p3nPCdv3p9778vsLOcHB2bfveeb7955c3jvvNkBIMdxnD64a94GHMfZu3iBcRynN7zAOI7TG15gHCeeNUkr8zaxG2lbYDYsdgMbktBsP03jdQwljSXdtBhLOmtjowC9Mg9L+knSlcD8TNKpSA9lBpK2JF2VdDSR5n5J64m0qli399hNFMUlpshQii5jbXTbHGviB0nLNeNDSd9VO4A2UdB2fp+x0eCnaXxWXGA2X0au/3HgN9P4LFCjIANOJdrLr0zzZ+BEpNYDwKbpnQMeAw4m8HjQtM6Z9qa917zPQwFr3M5KgA6J5rTJCdFZJj9/lyvGhsDvwFNVuV2MhhjrK6b9bFiE+j1r87eBl4HDwCF7/U/k+ofAX5b/EXBv5JoLMuILzf3Ap6Z3EzgdqHMCuF7hcQf4HDgeoHnccncqdK/TvSDWffFXI/exICY/xZyqc6XLWF1UFZna4gJ7q8BsRvgd2/xXpo6P+D9dfT7PpECtA3cnWPM0GXGFZh/wgWltA+cDNC7X+AP4GzjZQe+k5dRxuYPeiuXU7e1qwLpDz7dFjXKRaSwuMLvAlG8zZlG+YmiK1HoFqT7wP2z+4Q45TfEGcMt01xLoNZEBTwRqD4BLpnMLeC1A41UmVxsXgXeBayV/Wx20rpTyrpnWRft7p6O/FdqzGrDukPNtkaMoMo3FBdBSQMOnYBCReyf05s126fU9ytfX98+mY54Kxnp7S9K3kj6U9KYdG0h6UdLbkh7poFXMfUnSOyVvL0h6VtIXHbS6nOP+s/Zm9mvyXW1uuC9ohZ72E9uDmXWLJOB1GxsH+DxPftsB8B6wlGDN02TAkxG6+4D3TWsbeC5CS8CDFce+AW500LhhOW2020TRjK3b21HEmgti9m0RonxbdMZeVzV+/4tF3cBpP7E9mKHNL5q8h5g0eYsCMQz0epq8gQrwMXAgcs0FGXGFRcB9wCemF9PkbYqM/Bas7fxLwNeJPdTdpo4itQti8lPMqTpXuozVRVXPpbHI3KkNTB1NfkL81j2mvhDp91HgV9MKuRIqrykj3WPq4rHyL+axj8/qGPmTqi6F9YDlHOvJU6oYcTsh/TYSzWmTE6JT19CtLTJt32D6CmHe0eQn1O8z5AXgT4sx4Vcu0/EQecMydB8z0hUWkTd2t4CrwNEePqMBcAR4mrBbwyXLPWJa8zrXmmLEhNBmfpkuY2102xxrih+pb+ieAb6vGhuA97UcJ5KR8gZ77K+99xxeYBzH6Q3/Z0fHcXrDC4zjOL3hBcZxnN74F+zlvXFWXF9PAAAAAElFTkSuQmCC");background-repeat:no-repeat;background-size:280px;color:transparent;display:block;font-size:0;height:20px;line-height:0;width:20px}.viewer-zoom-in:before{background-position:0 0;content:"Zoom In"}.viewer-zoom-out:before{background-position:-20px 0;content:"Zoom Out"}.viewer-one-to-one:before{background-position:-40px 0;content:"One to One"}.viewer-reset:before{background-position:-60px 0;content:"Reset"}.viewer-prev:before{background-position:-80px 0;content:"Previous"}.viewer-play:before{background-position:-100px 0;content:"Play"}.viewer-next:before{background-position:-120px 0;content:"Next"}.viewer-rotate-left:before{background-position:-140px 0;content:"Rotate Left"}.viewer-rotate-right:before{background-position:-160px 0;content:"Rotate Right"}.viewer-flip-horizontal:before{background-position:-180px 0;content:"Flip Horizontal"}.viewer-flip-vertical:before{background-position:-200px 0;content:"Flip Vertical"}.viewer-fullscreen:before{background-position:-220px 0;content:"Enter Full Screen"}.viewer-fullscreen-exit:before{background-position:-240px 0;content:"Exit Full Screen"}.viewer-close:before{background-position:-260px 0;content:"Close"}.viewer-container{bottom:0;direction:ltr;font-size:0;left:0;line-height:0;overflow:hidden;position:absolute;right:0;-webkit-tap-highlight-color:transparent;top:0;-ms-touch-action:none;touch-action:none;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.viewer-container::-moz-selection,.viewer-container ::-moz-selection{background-color:transparent}.viewer-container::selection,.viewer-container ::selection{background-color:transparent}.viewer-container:focus{outline:0}.viewer-container img{display:block;height:auto;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;width:100%}.viewer-canvas{bottom:0;left:0;overflow:hidden;position:absolute;right:0;top:0}.viewer-canvas>img{height:auto;margin:15px auto;max-width:90%!important;width:auto}.viewer-footer{bottom:0;left:0;overflow:hidden;position:absolute;right:0;text-align:center}.viewer-navbar{background-color:rgba(0,0,0,.5);overflow:hidden}.viewer-list{box-sizing:content-box;height:50px;margin:0;overflow:hidden;padding:1px 0}.viewer-list>li{color:transparent;cursor:pointer;float:left;font-size:0;height:50px;line-height:0;opacity:.5;overflow:hidden;transition:opacity .15s;width:30px}.viewer-list>li:focus,.viewer-list>li:hover{opacity:.75}.viewer-list>li:focus{outline:0}.viewer-list>li+li{margin-left:1px}.viewer-list>.viewer-loading{position:relative}.viewer-list>.viewer-loading:after{border-width:2px;height:20px;margin-left:-10px;margin-top:-10px;width:20px}.viewer-list>.viewer-active,.viewer-list>.viewer-active:focus,.viewer-list>.viewer-active:hover{opacity:1}.viewer-player{background-color:#000;bottom:0;cursor:none;display:none;right:0;z-index:1}.viewer-player,.viewer-player>img{left:0;position:absolute;top:0}.viewer-toolbar>ul{display:inline-block;margin:0 auto 5px;overflow:hidden;padding:6px 3px}.viewer-toolbar>ul>li{background-color:rgba(0,0,0,.5);border-radius:50%;cursor:pointer;float:left;height:24px;overflow:hidden;transition:background-color .15s;width:24px}.viewer-toolbar>ul>li:focus,.viewer-toolbar>ul>li:hover{background-color:rgba(0,0,0,.8)}.viewer-toolbar>ul>li:focus{box-shadow:0 0 3px #fff;outline:0;position:relative;z-index:1}.viewer-toolbar>ul>li:before{margin:2px}.viewer-toolbar>ul>li+li{margin-left:1px}.viewer-toolbar>ul>.viewer-small{height:18px;margin-bottom:3px;margin-top:3px;width:18px}.viewer-toolbar>ul>.viewer-small:before{margin:-1px}.viewer-toolbar>ul>.viewer-large{height:30px;margin-bottom:-3px;margin-top:-3px;width:30px}.viewer-toolbar>ul>.viewer-large:before{margin:5px}.viewer-tooltip{background-color:rgba(0,0,0,.8);border-radius:10px;color:#fff;display:none;font-size:12px;height:20px;left:50%;line-height:20px;margin-left:-25px;margin-top:-10px;position:absolute;text-align:center;top:50%;width:50px}.viewer-title{color:#ccc;display:inline-block;font-size:12px;line-height:1.2;margin:5px 5%;max-width:90%;min-height:14px;opacity:.8;overflow:hidden;text-overflow:ellipsis;transition:opacity .15s;white-space:nowrap}.viewer-title:hover{opacity:1}.viewer-button{-webkit-app-region:no-drag;background-color:rgba(0,0,0,.5);border-radius:50%;cursor:pointer;height:80px;overflow:hidden;position:absolute;right:-40px;top:-40px;transition:background-color .15s;width:80px}.viewer-button:focus,.viewer-button:hover{background-color:rgba(0,0,0,.8)}.viewer-button:focus{box-shadow:0 0 3px #fff;outline:0}.viewer-button:before{bottom:15px;left:15px;position:absolute}.viewer-fixed{position:fixed}.viewer-open{overflow:hidden}.viewer-show{display:block}.viewer-hide{display:none}.viewer-backdrop{background-color:rgba(0,0,0,.5)}.viewer-invisible{visibility:hidden}.viewer-move{cursor:move;cursor:grab}.viewer-fade{opacity:0}.viewer-in{opacity:1}.viewer-transition{transition:all .3s}@keyframes viewer-spinner{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.viewer-loading:after{animation:viewer-spinner 1s linear infinite;border:4px solid hsla(0,0%,100%,.1);border-left-color:hsla(0,0%,100%,.5);border-radius:50%;content:"";display:inline-block;height:40px;left:50%;margin-left:-20px;margin-top:-20px;position:absolute;top:50%;width:40px;z-index:1}@media (max-width:767px){.viewer-hide-xs-down{display:none}}@media (max-width:991px){.viewer-hide-sm-down{display:none}}@media (max-width:1199px){.viewer-hide-md-down{display:none}}
\ 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.f8f860e0.css rel=stylesheet></head><body><script charset=utf-8 src="https://map.qq.com/api/js?v=2.exp&key=ZNMBZ-NYOEO-WNMWL-SJF4C-MWKQT-KJB7W&libraries=drawing,geometry,place,convertor,visualization"></script><script src=https://mapapi.qq.com/web/mapComponents/geoLocation/v/geolocation.min.js></script><script src="https://map.qq.com/api/gljs?v=1.exp&libraries=service&key=ZNMBZ-NYOEO-WNMWL-SJF4C-MWKQT-KJB7W"></script><script src=/a/manager/identify/identify.js></script><noscript><strong>请开启 JavaScript 功能来使用 场地管理。</strong></noscript><div id=app></div><script src=js/chunk-vendors.285d2ef9.js></script><script src=js/app.b2ab171b.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/chunk-vendors.cc1990b1.css rel=stylesheet><link href=css/app.f8f860e0.css rel=stylesheet></head><body><script charset=utf-8 src="https://map.qq.com/api/js?v=2.exp&key=ZNMBZ-NYOEO-WNMWL-SJF4C-MWKQT-KJB7W&libraries=drawing,geometry,place,convertor,visualization"></script><script src=https://mapapi.qq.com/web/mapComponents/geoLocation/v/geolocation.min.js></script><script src="https://map.qq.com/api/gljs?v=1.exp&libraries=service&key=ZNMBZ-NYOEO-WNMWL-SJF4C-MWKQT-KJB7W"></script><script src=/a/manager/identify/identify.js></script><noscript><strong>请开启 JavaScript 功能来使用 自习室占座预约系统。</strong></noscript><div id=app></div><script src=js/chunk-vendors.6916cc08.js></script><script src=js/app.355c0a19.js></script></body></html>
\ No newline at end of file
因为 它太大了无法显示 源差异 。您可以改为 查看blob。
因为 它太大了无法显示 源差异 。您可以改为 查看blob。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
export * from "./postApiRoomGetRoomList";
export * from "./postApiRoomGetRoomListBySex";
export * from "./getApiRoomGetRoomInfo";
export * from "./postApiRoomRoomIns";
export * from "./postApiRoomRoomSave";
......
export * from "./postApiRoomGetRoomList";
export * from "./postApiRoomGetRoomListBySex";
export * from "./getApiRoomGetRoomInfo";
export * from "./postApiRoomRoomIns";
export * from "./postApiRoomRoomSave";
......
import { type AxiosRequestConfig } from "axios";
import { type RoomRequests } from "../../interface";
/**
* 获取房间列表-根据用户性别
* /api/Room/GetRoomListBySex
*/
export declare function postApiRoomGetRoomListBySex(input?: RoomRequests, 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: {
room_id: string;
room_name: string;
room_type_id: string;
room_type_name: string;
room_address: string;
sex: string;
service_interval_time: string;
time_split: number;
is_enable: number;
is_del: number;
createby: string;
createby_name: string;
createtime: string;
modifyby: string;
modifyby_name: string;
modify_time: string;
attendance_area: string;
capacity: number;
is_sys: number;
};
}[];
query: {
[x: string]: any;
};
}>;
import request from "@/plugins/request";
/**
* 获取房间列表-根据用户性别
* /api/Room/GetRoomListBySex
*/
export function postApiRoomGetRoomListBySex(input, config) {
return request.post(`/api/Room/GetRoomListBySex`, input, config);
}
......@@ -90,9 +90,9 @@
format="yyyy-MM-dd"
:placeholder="'请选择'+item.name"
@on-change="(val1, val2) => datetimeChange1(val1, val2, item.id)"/>
<div v-else-if="item.type === 'area'">
<div v-else-if="item.type == 'area'">
<!-- <span v-if="formData[item['id']].length > 2" style="margin-right: 10px;">已设置范围</span>-->
<Button type="primary" ghost @click="setMap">{{ areaData }}</Button>
<Button type="primary" ghost @click="setMap">{{ ['设置区域' ,'更改区域'][Number(regionDot.length >0)] }}</Button>
</div>
</FormItem>
</Col>
......@@ -131,7 +131,17 @@
<FormItem :label="item.name" :prop="item.name">
<span v-if="item.type == 'input'">{{ formData[item.id] }}</span>
<span v-if="item.type == 'datetime'">{{ formData[item.id] }}</span>
<span v-if="item.type == 'textarea'">{{ formData[item.id] }}</span>
<span v-if="item.type == 'timerange'">{{ formData[item.id] }}</span>
<span v-if="item.type == 'signRecord'" @click="signRecord(formData.id)">
<span style="color: #1e93ff;cursor: pointer">查看</span>
</span>
<div v-if="item.type == 'area'">
<Button type="primary" ghost @click="setMap">查看区域</Button>
</div>
<!-- 存在问题:性别项,有时返回值为null,select的“不限”值为空字符串,会报错 -->
<span v-if="item.type == 'select'">
{{ item.optList[item.optList.findIndex(a => a.value == formData[item.id])].label }}
......@@ -225,15 +235,14 @@ export default {
regionDot:[],// 坐标范围
}
},
computed: {
areaData(){
console.log("🚀🚀1🚀,",this.formData['attendance_area_list'])
return this.formData['attendance_area_list'] !== void 0? ['设置区域' ,'更改区域'][Number(this.formData['attendance_area_list'].length >0)] : '设置区域'
}
},
computed: {},
created() {},
mounted() {},
methods: {
signRecord(e){
//签到轨迹
this.$emit('signRecord',e)
},
setMap(){
//地图画点 this.formItem.regionDot ||[]
......@@ -253,7 +262,7 @@ export default {
this.uploadBtLoading = []
if (addOrEdit == 'add') {
this.$nextTick(()=>this.$refs.form.resetFields())
this.$refs.form.resetFields()
this.modalTitle = title ? title : '新增'
this.formData = row ? cloneDeep(row) : {}
} else if (addOrEdit == 'edit') {
......
export const baseURL = '/occupyseat'
export const url = location.origin
......@@ -158,3 +158,44 @@ export function calculateTimeDifference(startTime, endTime) {
// 将时间差转换为小时
return diffInMillis / (1000 * 60 * 60);
}
export function treeFormat(arr) {
// 物资树格式化
return arr.map(cur => {
if (cur.children && cur.children.length !== 0) cur.children = treeFormat(cur.children)
return {
...cur,
title: cur.commodity_name,
expand: cur.id === '1',
selected: false,
}
})
}
export function findPathById(tree, id) {
/**
* 基于叶子节点 获取叶子节点到根节点的路径
* @param tree 树数据
* @param id 叶子结点
* @return type Array
* */
let path = [];
function findNode(nodeList, targetId) {
for (let node of nodeList) {
path.push({ id: node.id, name: node.name });
if (node.id === targetId) {
return true;
}
if (node.h_list.length > 0) {
if (findNode(node.h_list, targetId)) {
return true;
}
}
path.pop();
}
return false;
}
findNode(tree, id);
return path;
}
......@@ -46,6 +46,14 @@ import * as hooks from "@/hook/index"
import * as api from '@/api/controller/index'
import buttonLoad from "@/components/my/buttonLoad.vue";
import * as status from "@/config/index"
import Viewer from 'v-viewer'
import 'viewerjs/dist/viewer.css'
Vue.use(Viewer)
Viewer.setDefaults({
Options: { 'inline': true, 'button': true, 'navbar': true, 'title': true, 'toolbar': true, 'tooltip': true, 'movable': true, 'zoomable': true, 'rotatable': true, 'scalable': true, 'transition': true, 'fullscreen': true, 'keyboard': true, 'url': 'data-source' }
})
Vue.prototype.hooks = hooks //自定义hooks 挂原型链 全局调用
Vue.prototype.asc = api //请求方法集合 挂原型链 全局调用
Vue.prototype.configStates = status //静态字典 挂原型链 全局反射状态
......@@ -60,6 +68,15 @@ Vue.component('i-frame', iFrame);
Vue.component('csButton',buttonLoad) //自定义button 统一使用loading
Vue.component('vueQr', vueQr)
Vue.directive('font', (el, binding, vnode, prevVNode) => {
let arg = binding.arg !== void 0 ? JSON.parse(JSON.stringify(binding.arg)) : '{}';
//...eval(`(${arg})` 字符串转对象
let argument = {...{family: '黑体', size: '16', color: '#FFFFFF'}, ...eval(`(${arg})`)};
el.style.fontFamily = argument.family;
el.style.fontSize = argument.size + 'px';
el.style.color = argument.color;
})
new Vue({
mixins: [mixinApp],
router,
......
const pre = 'systemConfiguration'
export default {
path: '/systemConfiguration',
path: '/',
title: '系统配置',
header: 'home',
children: [
{
path: `${pre}-blacklistManagement`,
title: '不良活动记录',
header: 'home',
},
{
path: `${pre}-roomTypeManagement`,
title: '房间类型',
header: 'home',
},
{
path: `${pre}-userManagement`,
title: '用户管理',
header: 'home',
},
{
path: `${pre}-systemConfiguration`,
title: '系统配置项',
header: 'home',
},
]
}
......@@ -22,17 +22,17 @@ export default [
path: '/welcome',
title: '首页',
header: 'home',
icon: 'md-home',
custom: 'i-icon-demo i-icon-demo-i18n',
// icon: 'md-home',
// custom: 'i-icon-demo i-icon-demo-i18n',
},
activityManagement,
blacklistManagement,
// blacklistManagement,
roomManagement,
// siteTypeManagement,
materialsManagement,
roomTypeManagement,
authorityManagement,
// roomTypeManagement,
// authorityManagement,
systemConfiguration,
// notice,
......
......@@ -9,6 +9,7 @@ import { cloneDeep } from 'lodash'
import * as api from '@/api/controller/index'
import * as hooks from '@/hook/index'
import ConfigDict from '@/config/modules/dict'
import {url} from "@/config/modules/request";
export default {
name: 'list',
......@@ -19,6 +20,10 @@ export default {
},
data(){
return {
signTimeLine:{
show:false,
data:[],
},
eliminateSeats:{
data:{},
show:false,
......@@ -59,14 +64,18 @@ export default {
},
tableColumns:[
{ type: 'index', title: '序号', align: 'center', width: 80, show: true, fixed: 'left' },
{ key: 'room_name', title: '房间名称', align: 'center', minWidth: 150, show: true },
{ type: 'index', title: '序号', align: 'center', width: 80, show: true, fixed: 'left' },
{ key: 'name', title: '占座人', align: 'center', minWidth: 150, show: true },
{ key: 'room_name', title: '房间名称', align: 'center', minWidth: 150, show: true },
{ key: 'seat_code_name', title: '座位', align: 'center', minWidth: 150, show: true },
{ key: 'room_type_name', title: '房间类型', align: 'center', minWidth: 150, show: true },
{ key: 'room_address', title: '房间地址', align: 'center', minWidth: 150, show: true },
{ key: 'seat_code_name', title: '座位', align: 'center', minWidth: 150, show: true },
{ key: 'name', title: '占座人', align: 'center', minWidth: 150, show: true },
{ slot: 'state_name', title: '活动状态', align: 'center', minWidth: 150, show: true },
{ slot: 'sign_state_name', title: '签到状态', align: 'center', minWidth: 150, show: true },
{ key: 'date', title: '活动时间', align: 'center', minWidth: 150, show: true },
{ slot: 'action', title: '操作', align: 'center', minWidth: 180, show: true, fixed: 'right' },
],
......@@ -93,8 +102,8 @@ export default {
{ id: 'begin_time', name: '占座开始时间', type: 'datetime', disabled: false, require: false, optList: [] },
{ id: 'end_time', name: '占座结束时间', type: 'datetime', disabled: false, require: false, optList: [] },
{ id: 'sign_state_name', name: '签到状态', type: 'input', disabled: false, require: false, optList: [] },
{ id: 'state_name', name: '活动状态', type: 'input', disabled: false, require: false, optList: [] },
{ id: 'signRecord', name: '签到签退轨迹', type: 'signRecord', disabled: false, require: false, optList: [] },
......@@ -163,8 +172,6 @@ export default {
}
},
computed: {
// 邀请参与人员已选人员标签计算
ptcAddPsCal() {
return function (item) {
......@@ -205,6 +212,24 @@ export default {
this.getData()
},
methods: {
handleShowPreview(array){
this.$viewerApi({
images: array.map(cur=>url+cur.path)
})
},
signRecord(recordId){
//签到轨迹
this.signTimeLine.show = true
api.getApiRecordGetRecordTrackDetailsList({id: recordId}).then(re => {
//获取活动的签到记录
this.signTimeLine.data = re.response.map(cur=>{
return{
...cur,
color:['green','green','blue'][cur.sign_state]
}
});
})
},
confirmElimination(row) {
//确认剔除座位
hooks.myEncapsulationFunction(() => {
......@@ -334,6 +359,30 @@ export default {
<!-- 活动管理 -->
<div>
<!-- 活动签到轨迹-->
<Modal
v-model="signTimeLine.show"
title="剔除占座"
width="450"
@on-cancel="signTimeLine.show = false">
<Timeline>
<TimelineItem v-for="(item,index) in signTimeLine.data" :key="index">
<h3>【{{ dict.signOrSignOutStatus[item.sign_state] }}】</h3>
<p>地址:{{ item.address }}</p>
<p>时间:{{ item.createtime }}</p>
<viewer :images="[item.file_info].map(cur=>url+cur.path)">
<div v-for="(ite, index) in [item.file_info]" :key="index">
<img :src="ite.path" fit="contain" width="120px" height="80px" @click="handleShowPreview([item.file_info])" />
</div>
</viewer>
</TimelineItem>
</Timeline>
</Modal>
<!-- 剔除备注-->
<Modal
v-model="eliminateSeats.show"
......@@ -375,7 +424,7 @@ export default {
<template #action="{ row }">
<a style="margin-left: 8px;" @click="rowDetails(row)">详情</a>
<Button @click="triggerCulling(row)" type="error" size="small" style="margin-left: 8px">剔除</Button>
<!-- <Button @click="triggerCulling(row)" type="error" size="small" style="margin-left: 8px">剔除</Button>-->
</template>
</CTable>
......@@ -387,6 +436,7 @@ export default {
:loading="editModalLoading"
:formLabelWidth="100"
:width="800"
@signRecord="signRecord"
@onClose="editModalshow = false"></CEditModal>
......
......@@ -5,7 +5,7 @@ import CTable from '@/components/CTable.vue'
import CEditModal from '@/components/CEditModal.vue'
import SearchCondForm from '@/components/SearchCondForm.vue'
import {formatDate} from "view-design/src/components/date-picker/util";
import * as api from '@/api/controller/index'
import * as api from '@/api/controller/index.js'
import * as hooks from '@/hook/index'
export default {
......@@ -50,7 +50,7 @@ export default {
{ key: 'capacity', title: '房间座位数', align: 'center', minWidth: 150, show: false },
{ key: 'time_split', title: '分割时间段(分钟)', align: 'center', minWidth: 150, show: true },
{ slot: 'generalSwitch', title: '房间状态', align: 'center', minWidth: 80, show: true },
{ slot: 'time_split', title: '房间二维码', align: 'center', minWidth: 150, show: true },
{ slot: 'roomQrCode', title: '房间二维码', align: 'center', minWidth: 150, show: true },
{ slot: 'action', title: '操作', align: 'center', minWidth: 240, show: true, fixed: 'right' },
],
......@@ -61,7 +61,7 @@ export default {
tableFullscreen: false,
dataCount: 0,
collapse: false,
flag:'',
editModalshow: false,
editModalLoading: false,
// 新增编辑表单项
......@@ -72,7 +72,7 @@ export default {
{ id: 'attendance_area_list', name: '房间坐标区域', type: 'area', disabled: false, require: false, optList: [] },
{ id: 'service_interval_time', name: '开放时间区间', type: 'timerange', disabled: false, require: false, optList: [] },
{ id: 'time_split', name: '分割时间段/分钟', type: 'input', disabled: false, require: false, optList: [] },
{ id: 'capacity', name: '座位数量', type: 'input', disabled: false, require: false, optList: [] },
// { id: 'capacity', name: '座位数量', type: 'input', disabled: false, require: false, optList: [] },
{ id: 'sex', name: '性别', type: 'select', disabled: false, require: false, optList: [
{label:'不限',value:'不限'},
{label:'女',value:'女'},
......@@ -327,6 +327,8 @@ export default {
* 其他项目使用可不使用
* */
this.$refs.ceditmodal.formData.attendance_area_list = regionDot; //赋值给子组件
this.$refs.ceditmodal.regionDot = regionDot; //赋值给子组件
},
//重置区域
......@@ -498,6 +500,8 @@ export default {
},
// 新增
add(){
this.flag = 'add'
this.$refs.ceditmodal.regionDot = []
this.editModalshow = true
this.$refs.ceditmodal.modalInit('add', this.defaultFormData, '新增场地')
},
......@@ -506,25 +510,40 @@ export default {
// console.log('行详情', row, this.$refs.ceditmodal)
this.editModalshow = true
this.editModalLoading = true
this.asc.getApiPlaceGetPlaceInfo({id:row.id}).then(res => {
this.asc.getApiRoomGetRoomInfo({id:row.room_id}).then(res => {
// console.log('编辑详情', res)
this.$refs.ceditmodal.modalDetailsInit(res.response, 'place_name')
/**
* 其他项目使用可不使用
* */
if (res.response.attendance_area_list == null) res.response.attendance_area_list = []
this.regionDot = res.response.attendance_area_list
this.$refs.ceditmodal.regionDot = this.regionDot; //赋值给子组件
//11
this.$refs.ceditmodal.modalDetailsInit(res.response, 'room_type_name')
this.editModalLoading = false
})
},
// 编辑
rowEdit(row){
this.flag = 'edit'
// console.log('编辑行', row)
this.editModalshow = true
this.editModalLoading = true
return this.asc.getApiRoomGetRoomInfo({id:row.room_id}).then(res => {
// console.log('编辑详情', res)
/**
* 其他项目使用可不使用
* */
if (res.response.attendance_area_list == null) res.response.attendance_area_list = []
this.regionDot = res.response.attendance_area_list
this.$refs.ceditmodal.regionDot = this.regionDot; //赋值给子组件
//11
this.$refs.ceditmodal.modalInit('edit', res.response)
this.editModalLoading = false
}).catch((e)=>{
console.log("🚀🚀11🚀,",e)
})
......@@ -533,38 +552,46 @@ export default {
modalSubmit(val) {
// console.log('modal提交', val)
this.$Modal.confirm({
title: '提示',
content: '是否确定提交?',
loading: true,
onOk: () => {
this.asc.postApiRoomRoomIns(val).then(res => {
// console.log('保存信息', res)
if (res.code == 1) {
this.$Message.success(res.response)
this.editModalshow = false
this.getData()
} else {
this.$Message.error(res.msg_detail)
}
}).finally(() => {
this.$Modal.remove()
})
}
})
hooks.publicConfirm(()=>hooks.myEncapsulationFunction(()=>{
if (this.flag == 'add'){
return this.asc.postApiRoomRoomIns(val).then(res => {
// console.log('保存信息', res)
if (res.code == 1) {
this.$Message.success(res.response)
this.editModalshow = false
this.getData()
}
return res
})
}else{
return this.asc.postApiRoomRoomSave(val).then(res => {
// console.log('保存信息', res)
if (res.code == 1) {
this.editModalshow = false
this.getData()
}
return res
})
}
}))
},
// 删除
rowDelete(row) {
// console.log('删除', row);
this.asc.getApiPlacePlaceDel({id:row.id, is_del:1}).then(res => {
// console.log('删除行后', res)
if (res.code == 1) {
this.$Message.success(res.msg)
this.getData()
} else {
this.$Message.error(res.msg_detail)
}
})
if (row.is_sys === 1){
this.$Message.error('该条房间数据来源于场地管理系统,不支持删除。')
}else{
api.getApiRoomRoomDel({id:row.room_id, is_del:1}).then(res => {
// console.log('删除行后', res)
if (res.code == 1) {
this.$Message.success(res.msg)
this.getData()
} else {
this.$Message.error(res.msg_detail)
}
})
}
},
// 更改页码
......@@ -630,12 +657,6 @@ export default {
<div style="display: flex;">
<Button type="primary" class="ivu-ml-8" @click="add"><Icon type="md-add"/>新增</Button>
<Button type="primary" class="ivu-ml-8" @click="downloadPlaceModal"><Icon type="ios-cloud-download-outline"/>下载模板</Button>
<Upload class="ivu-ml-8"
:before-upload="placeBatAdd"
action="">
<Button type="primary" ><Icon type="ios-cloud-upload-outline"/>批量导入</Button>
</Upload>
</div>
<!-- 数据table -->
<CTable
......@@ -649,7 +670,7 @@ export default {
@switchChange="switchChange"
@onPageChange="onPageChange"
@onPageSizeChange="onPageSizeChange">
<template #time_split="{ row }">
<template #roomQrCode="{ row }">
<img style="cursor: pointer" @click="qrCode(row)" src="@/assets/images/二维码.png" width="40px" height="40px" />
</template>
<template #action="{ row }">
......
此差异已折叠。
......@@ -106,14 +106,12 @@ service.interceptors.response.use(
//鉴别 code 是否定义 定义则接口报错 无code表示微信初始化接口数据
case true:
// 危险通知
Message.destroy()
Message['error']({
background: true,
content: res.msg_detail,
content: response.data.msg_detail,
duration: 2,
});
Message.destroy()
break;
case false:
return response.data
......@@ -164,6 +162,7 @@ service.interceptors.response.use(
msg = 'HTTP版本不受支持';
break;
default:
console.log("🚀🚀1🚀,",)
msg = '网络出了小差~';
break;
}
......
......@@ -12,14 +12,44 @@ export default {
component: BasicLayout,
children: [
{
path: `systemConfiguration`,
name: `systemConfiguration`,
path: `systemConfiguration-systemConfiguration`,
name: `systemConfiguration-systemConfiguration`,
meta: {
...meta,
title: '系统配置',
title: '系统配置项',
closable: false
},
component: () => import('@/pages/systemConfiguration/index')
},
{
path: `systemConfiguration-roomTypeManagement`,
name: `systemConfiguration-roomTypeManagement`,
meta: {
...meta,
title: '房间类型',
closable: false
},
component: () => import('@/pages/roomTypeManagement/index')
},
{
path: `systemConfiguration-userManagement`,
name: `systemConfiguration-userManagement`,
meta: {
...meta,
title: '用户管理',
closable: false
},
component: () => import('@/pages/userManagement/index')
},
{
path: `systemConfiguration-blacklistManagement`,
name: `systemConfiguration-blacklistManagement`,
meta: {
...meta,
title: '不良活动记录',
closable: false
},
component: () => import('@/pages/blacklistManagement/index')
}
]
};
Markdown 格式
0% or
您添加了 0 人 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册 或