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

20250312

用户权限》新增/便捷表单时,超管权限,隐藏管辖房间.
上级 91e03960
流水线 #33610 已通过 ,包含阶段
in 1 minute 和 41 second
[data-v-18b74e2e] .ivu-modal-mask{position:fixed;top:0;bottom:0;left:0;right:0;background-color:rgba(55,55,55,.6);height:100%;z-index:1050!important}[data-v-18b74e2e] .ivu-modal-wrap{position:fixed;overflow:auto;top:0;right:0;bottom:0;left:0;z-index:1050!important;-webkit-overflow-scrolling:touch;outline:0}[data-v-18b74e2e] .ivu-drawer-mask{position:fixed;top:0;bottom:0;left:0;right:0;background-color:rgba(55,55,55,.6);height:100%;z-index:1100!important}[data-v-18b74e2e] .ivu-drawer-wrap{position:fixed;overflow:auto;top:0;right:0;bottom:0;left:0;z-index:1100!important;-webkit-overflow-scrolling:touch;outline:0}.ivu-form-item[data-v-18b74e2e]{padding-right:15px}.fileRow[data-v-18b74e2e]{display:flex;justify-content:space-between;align-items:center}.fileRow .delIcon[data-v-18b74e2e]{color:#ed4014}.fileRow .delIcon[data-v-18b74e2e]:hover{color:#f16643;cursor:pointer}.class-drawer[data-v-18b74e2e]{height:"calc(100% - 55px)";overflow:"auto";padding-bottom:"53px";position:"static";z-index:1100!important}.class-drawer .subTitle[data-v-18b74e2e]{margin-top:20px;font-size:14px;color:#191f25;font-weight:700}.class-drawer .drawer-footer[data-v-18b74e2e]{width:100%;position:absolute;bottom:0;left:0;border-top:1px solid #e8e8e8;padding:10px 16px;text-align:right;background:#fff}.class-drawer[data-v-18b74e2e] .ivu-drawer-header-inner{font-size:20px;font-weight:600}.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
.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
<!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.de53c9b8.css rel=stylesheet></head><body><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=IZXBZ-OTAWV-XU7PV-5FAAL-F6VXH-7XBQP"></script><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=/a/manager/identify/identify.js></script><noscript><strong>请开启 JavaScript 功能来使用 自习室占座预约系统。</strong></noscript><div id=app></div><script src=js/chunk-vendors.0e2a893c.js></script><script src=js/app.ef03c55b.js></script></body></html> <!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.de53c9b8.css rel=stylesheet></head><body><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=IZXBZ-OTAWV-XU7PV-5FAAL-F6VXH-7XBQP"></script><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=/a/manager/identify/identify.js></script><noscript><strong>请开启 JavaScript 功能来使用 自习室占座预约系统。</strong></noscript><div id=app></div><script src=js/chunk-vendors.0e2a893c.js></script><script src=js/app.cb24ec64.js></script></body></html>
\ No newline at end of file \ No newline at end of file
此差异已折叠。
此差异已折叠。
此差异已折叠。
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
width: 100%; width: 100%;
" "
> >
V1.0.1.241215-250310 V1.0.1.241215-250312
</span> </span>
</div> </div>
</div> </div>
......
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
</CTable> </CTable>
<!-- 新增修改Modal-分配教师用户权限 --> <!-- 新增修改Modal-分配教师用户权限 -->
<CEditModal <CEditModalUserManagement
ref="ceditmodal" ref="ceditmodal"
v-model="editModalshow" v-model="editModalshow"
:formItem="formItem" :formItem="formItem"
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
@onClose="editModalshow = false" @onClose="editModalshow = false"
@getPeopleList="getPeopleList" @getPeopleList="getPeopleList"
@onSubmit="modalSubmit"> @onSubmit="modalSubmit">
</CEditModal> </CEditModalUserManagement>
</Card> </Card>
...@@ -59,7 +59,7 @@ ...@@ -59,7 +59,7 @@
<script> <script>
import CTable from '@/components/CTable.vue' import CTable from '@/components/CTable.vue'
import CEditModal from '@/components/CEditModal.vue' import CEditModalUserManagement from '@/components/CEditModalUserManagement.vue'
import SearchCondForm from '@/components/SearchCondForm.vue' import SearchCondForm from '@/components/SearchCondForm.vue'
import {cloneDeep} from 'lodash' import {cloneDeep} from 'lodash'
import * as api from '@/api/controller/index.js' import * as api from '@/api/controller/index.js'
...@@ -69,7 +69,7 @@ ...@@ -69,7 +69,7 @@
components: { components: {
CTable, CTable,
CEditModal, CEditModalUserManagement,
SearchCondForm, SearchCondForm,
}, },
data() { data() {
...@@ -110,7 +110,7 @@ ...@@ -110,7 +110,7 @@
formItem: [ formItem: [
{id: 'cardName', name: '用戶', type: 'select', disabled: false, require: false, optList: []}, {id: 'cardName', name: '用戶', type: 'select', disabled: false, require: false, optList: []},
{id: 'role_id', name: '角色', type: 'select', disabled: false, require: false, optList: []}, {id: 'role_id', name: '角色', type: 'select', disabled: false, require: false, optList: []},
{ id: 'room_id_list', name: '管辖房间', type: 'multipleselect', disabled: false, require: false, optList: [] }, { id: 'room_id_list', name: '管辖房间', type: 'multipleselectRoomIdList', disabled: false, require: false, optList: [] },
{id: 'is_enable', name: '启用', type: 'switch', disabled: false, require: false, optList: []}, {id: 'is_enable', name: '启用', type: 'switch', disabled: false, require: false, optList: []},
], ],
defaultFormData: { defaultFormData: {
...@@ -118,6 +118,7 @@ ...@@ -118,6 +118,7 @@
"card": "", "card": "",
"userid": "", "userid": "",
"name": "", "name": "",
"is_enable": 1, "is_enable": 1,
"is_del": 0, "is_del": 0,
is_tea: '', is_tea: '',
...@@ -131,6 +132,15 @@ ...@@ -131,6 +132,15 @@
} }
}, },
watch:{
'$refs.ceditmodal.formData.role_id': {
handler(newVal, oldVal) {
// 监听ceditmodal变化
console.log('ceditmodal ref changed:', newVal, oldVal)
},
deep: true
}
},
computed: { computed: {
tableDataCal() { tableDataCal() {
let start = (this.params.page_index - 1) * this.params.page_size let start = (this.params.page_index - 1) * this.params.page_size
...@@ -238,6 +248,7 @@ ...@@ -238,6 +248,7 @@
}) })
}, },
// 新增 // 新增
add(key) { add(key) {
const strategy = { const strategy = {
......
Markdown 格式
0% or
您添加了 0 人 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册 或