Explorar el Código

用户管理修改

master
yangpeilai hace 1 mes
padre
commit
06bf525e36

+ 1
- 1
src/crud/components/DialogCollapse.operation.vue Ver fichero

<div style="background-color: #999; height: 1px; flex: 1"></div> <div style="background-color: #999; height: 1px; flex: 1"></div>
</div> </div>
<!-- 此处的width决定了是否要换行 v-show="!item.form.hide"--> <!-- 此处的width决定了是否要换行 v-show="!item.form.hide"-->
<!-- {{ form[item.form.prop ? item.form.prop : item.prop] }} -->
<!-- {{ form[item.form.prop ? item.form.prop : item.prop] }}-->
<el-form-item <el-form-item
style="position: relative" style="position: relative"
v-if=" v-if="

+ 4
- 2
src/views/system/branch/index.vue Ver fichero

:searchForm="searchForm" @btnSearch="btnSearch2" @CurrentChange="handleCurrentChangeTwo" @handleDelete="itemDelete" :searchForm="searchForm" @btnSearch="btnSearch2" @CurrentChange="handleCurrentChangeTwo" @handleDelete="itemDelete"
:tableData="tableItemData"> :tableData="tableItemData">
<template #search> <template #search>
<el-input maxlength="60" v-trim clearable v-model="searchForm2.centerServiceHallId" style="width: 200px"
<el-input maxlength="60" v-trim clearable v-model="searchForm2.id" style="width: 200px"
placeholder="请输入中心网点编号" /> placeholder="请输入中心网点编号" />
<el-input maxlength="60" v-trim clearable v-model="searchForm2.centerServicehallName" style="width: 200px"
<el-input maxlength="60" v-trim clearable v-model="searchForm2.name" style="width: 200px"
placeholder="请输入中心网点名称" /> placeholder="请输入中心网点名称" />
</template> </template>
</crud-template> </crud-template>
}) })
} }
function importData(url) { function importData(url) {
//判断url是否以/开头,剔除/
url = url.startsWith('/') ? url.substring(1) : url
// importFn('a8f9dac698cb4793bb15f26fd608d2b3', getList(), { excelFileUrl: url }) // importFn('a8f9dac698cb4793bb15f26fd608d2b3', getList(), { excelFileUrl: url })
BaseService.postN('/userw/serviceHall/registerFullBath', { excelFileUrl: url }).then((res: any) => { BaseService.postN('/userw/serviceHall/registerFullBath', { excelFileUrl: url }).then((res: any) => {
if (res && res.code === 0) { if (res && res.code === 0) {

+ 7
- 2
src/views/system/roleManage/index.vue Ver fichero

} }
// 获取所属系统 // 获取所属系统
function getSystemList(rbacSource) { function getSystemList(rbacSource) {
// console.log("--------->",rbacSource)
let tmpSource = rbacSource ?? addForm.value.roleSource;
if(tmpSource===''||tmpSource===undefined||tmpSource===null){
return
}
BaseService.postN('/userw/rbac/systemTypeListByRbacSource', { BaseService.postN('/userw/rbac/systemTypeListByRbacSource', {
rbacSource: rbacSource ?? addForm.value.roleSource,
rbacSource: tmpSource,
}).then((res: any) => { }).then((res: any) => {
console.log("--------->",res)
if (res && res.code === 0) { if (res && res.code === 0) {
let list = res.data.list || [] let list = res.data.list || []
let dataList = [] as IObject[] let dataList = [] as IObject[]

+ 2
- 1
src/views/system/userManage/index.vue Ver fichero

} }
BaseService.postN('/userw/staff/changeLogPage', params).then( BaseService.postN('/userw/staff/changeLogPage', params).then(
(res: any) => { (res: any) => {
// console.log("res.data.result",res.data.result)
if (res && res.code === 0) { if (res && res.code === 0) {
const bizContent = res.data const bizContent = res.data
const data = bizContent.data || []
const data = bizContent.result || []
nextTick(() => { nextTick(() => {
tableData1.value = data tableData1.value = data
}) })

Cargando…
Cancelar
Guardar