|
|
|
|
@ -11,77 +11,32 @@ |
|
|
|
|
</el-col> |
|
|
|
|
<el-col :span="19"> |
|
|
|
|
<basic-container> |
|
|
|
|
<avue-crud :option="option" |
|
|
|
|
:search.sync="search" |
|
|
|
|
:table-loading="loading" |
|
|
|
|
:data="data" |
|
|
|
|
ref="crud" |
|
|
|
|
v-model="form" |
|
|
|
|
:permission="permissionList" |
|
|
|
|
@row-del="rowDel" |
|
|
|
|
@row-update="rowUpdate" |
|
|
|
|
@row-save="rowSave" |
|
|
|
|
:before-open="beforeOpen" |
|
|
|
|
:page.sync="page" |
|
|
|
|
@search-change="searchChange" |
|
|
|
|
@search-reset="searchReset" |
|
|
|
|
@selection-change="selectionChange" |
|
|
|
|
@current-change="currentChange" |
|
|
|
|
@size-change="sizeChange" |
|
|
|
|
@refresh-change="refreshChange" |
|
|
|
|
@on-load="onLoad"> |
|
|
|
|
<avue-crud :option="option" :search.sync="search" :table-loading="loading" :data="data" ref="crud" |
|
|
|
|
v-model="form" :permission="permissionList" @row-del="rowDel" @row-update="rowUpdate" @row-save="rowSave" |
|
|
|
|
:before-open="beforeOpen" :page.sync="page" @search-change="searchChange" @search-reset="searchReset" |
|
|
|
|
@selection-change="selectionChange" @current-change="currentChange" @size-change="sizeChange" |
|
|
|
|
@refresh-change="refreshChange" @on-load="onLoad"> |
|
|
|
|
<template slot-scope="scope" slot="menu"> |
|
|
|
|
<el-button |
|
|
|
|
type="text" |
|
|
|
|
icon="el-icon-circle-plus-outline" |
|
|
|
|
size="small" |
|
|
|
|
@click.stop="handleUpdate(scope.row,scope.index)" |
|
|
|
|
v-if="userInfo.role_name.includes('admin')" |
|
|
|
|
>封禁 |
|
|
|
|
<el-button type="text" icon="el-icon-circle-plus-outline" size="small" |
|
|
|
|
@click.stop="handleUpdate(scope.row, scope.index)" v-if="userInfo.role_name.includes('admin')">封禁 |
|
|
|
|
</el-button> |
|
|
|
|
</template> |
|
|
|
|
<template slot-scope="{row}" |
|
|
|
|
slot="tenantName"> |
|
|
|
|
<el-tag>{{row.tenantName}}</el-tag> |
|
|
|
|
</template> |
|
|
|
|
<template slot-scope="{row}" |
|
|
|
|
slot="roleName"> |
|
|
|
|
<el-tag>{{row.roleName}}</el-tag> |
|
|
|
|
</template> |
|
|
|
|
<template slot-scope="{row}" |
|
|
|
|
slot="deptName"> |
|
|
|
|
<el-tag>{{row.deptName}}</el-tag> |
|
|
|
|
</template> |
|
|
|
|
<template slot-scope="{row}" |
|
|
|
|
slot="status"> |
|
|
|
|
<template slot-scope="{row}" slot="status"> |
|
|
|
|
<el-tag>{{ row.status == 1 ? '启用' : '封禁' }}</el-tag> |
|
|
|
|
</template> |
|
|
|
|
</avue-crud> |
|
|
|
|
<el-dialog title="用户角色配置" |
|
|
|
|
append-to-body |
|
|
|
|
:visible.sync="roleBox" |
|
|
|
|
width="345px"> |
|
|
|
|
<el-dialog title="用户角色配置" append-to-body :visible.sync="roleBox" width="345px"> |
|
|
|
|
|
|
|
|
|
<el-tree :data="roleGrantList" |
|
|
|
|
show-checkbox |
|
|
|
|
check-strictly |
|
|
|
|
default-expand-all |
|
|
|
|
node-key="id" |
|
|
|
|
ref="treeRole" |
|
|
|
|
:default-checked-keys="roleTreeObj" |
|
|
|
|
:props="props"> |
|
|
|
|
<el-tree :data="roleGrantList" show-checkbox check-strictly default-expand-all node-key="id" ref="treeRole" |
|
|
|
|
:default-checked-keys="roleTreeObj" :props="props"> |
|
|
|
|
</el-tree> |
|
|
|
|
|
|
|
|
|
<span slot="footer" class="dialog-footer"> |
|
|
|
|
<el-button @click="roleBox = false">取 消</el-button> |
|
|
|
|
<el-button type="primary" |
|
|
|
|
@click="submitRole">确 定</el-button> |
|
|
|
|
<el-button type="primary" @click="submitRole">确 定</el-button> |
|
|
|
|
</span> |
|
|
|
|
</el-dialog> |
|
|
|
|
<el-dialog title="用户数据导入" |
|
|
|
|
append-to-body |
|
|
|
|
:visible.sync="excelBox" |
|
|
|
|
width="555px"> |
|
|
|
|
<el-dialog title="用户数据导入" append-to-body :visible.sync="excelBox" width="555px"> |
|
|
|
|
<avue-form :option="excelOption" v-model="excelForm" :upload-after="uploadAfter"> |
|
|
|
|
<template slot="excelTemplate"> |
|
|
|
|
<el-button type="primary" @click="handleTemplate"> |
|
|
|
|
@ -90,48 +45,31 @@ |
|
|
|
|
</template> |
|
|
|
|
</avue-form> |
|
|
|
|
</el-dialog> |
|
|
|
|
<el-dialog title="用户平台配置" |
|
|
|
|
append-to-body |
|
|
|
|
:visible.sync="platformBox"> |
|
|
|
|
<avue-crud :option="platformOption" |
|
|
|
|
:table-loading="platformLoading" |
|
|
|
|
:data="platformData" |
|
|
|
|
ref="platformCrud" |
|
|
|
|
v-model="platformForm" |
|
|
|
|
:before-open="platformBeforeOpen" |
|
|
|
|
:page.sync="platformPage" |
|
|
|
|
:permission="platformPermissionList" |
|
|
|
|
@row-update="platformRowUpdate" |
|
|
|
|
@search-change="platformSearchChange" |
|
|
|
|
@search-reset="platformSearchReset" |
|
|
|
|
@selection-change="platformSelectionChange" |
|
|
|
|
@current-change="platformCurrentChange" |
|
|
|
|
@size-change="platformSizeChange" |
|
|
|
|
@refresh-change="platformRefreshChange" |
|
|
|
|
@on-load="platformOnLoad"> |
|
|
|
|
<template slot-scope="{row}" |
|
|
|
|
slot="tenantName"> |
|
|
|
|
<el-dialog title="用户平台配置" append-to-body :visible.sync="platformBox"> |
|
|
|
|
<avue-crud :option="platformOption" :table-loading="platformLoading" :data="platformData" ref="platformCrud" |
|
|
|
|
v-model="platformForm" :before-open="platformBeforeOpen" :page.sync="platformPage" |
|
|
|
|
:permission="platformPermissionList" @row-update="platformRowUpdate" @search-change="platformSearchChange" |
|
|
|
|
@search-reset="platformSearchReset" @selection-change="platformSelectionChange" |
|
|
|
|
@current-change="platformCurrentChange" @size-change="platformSizeChange" |
|
|
|
|
@refresh-change="platformRefreshChange" @on-load="platformOnLoad"> |
|
|
|
|
<template slot-scope="{row}" slot="tenantName"> |
|
|
|
|
<el-tag>{{ row.tenantName }}</el-tag> |
|
|
|
|
</template> |
|
|
|
|
<template slot-scope="{row}" |
|
|
|
|
slot="userTypeName"> |
|
|
|
|
<template slot-scope="{row}" slot="userTypeName"> |
|
|
|
|
<el-tag>{{ row.userTypeName }}</el-tag> |
|
|
|
|
</template> |
|
|
|
|
</avue-crud> |
|
|
|
|
</el-dialog> |
|
|
|
|
</basic-container> |
|
|
|
|
</el-col> |
|
|
|
|
<!-- 打印 --> |
|
|
|
|
<van-button v-print="printObj">打印测试</van-button> |
|
|
|
|
<div id="pintHtml" style="height:1000px;"> |
|
|
|
|
<table border="1" cellspacing="0"> |
|
|
|
|
<div id="pintHtml" class="prin_table" |
|
|
|
|
style="font-family: SimSun;font-size:12px;letter-spacing: 2px;line-height:16px;display: inline-block;overflow: hidden;"> |
|
|
|
|
<div style="line-height:40px;font-size:22pt;text-align:center;">机动车驾驶人身体条件证明</div> |
|
|
|
|
<table border="1" cellspacing="3"> |
|
|
|
|
<tr> |
|
|
|
|
<td colspan="34" style="font-size:22pt;text-align:center;">机动车驾驶人身体条件证明</td> |
|
|
|
|
</tr> |
|
|
|
|
<tr> |
|
|
|
|
<td rowspan="6" style="text-align:center;">申<br/>请<br/>人<br/>填<br/>报<br/>事<br/>项</td> |
|
|
|
|
<td rowspan="4" style="text-align:center;">申<br/>请<br/>人<br/>信<br/>息</td> |
|
|
|
|
<td width="60pt" style="text-align:center;">姓 名</td> |
|
|
|
|
<td rowspan="6" style="text-align:center;width:26px;">申<br />请<br />人<br />填<br />报<br />事<br />项</td> |
|
|
|
|
<td rowspan="4" style="text-align:center;width:26px;">申<br />请<br />人<br />信<br />息</td> |
|
|
|
|
<td style="width:60px;text-align:center;">姓 名</td> |
|
|
|
|
<td colspan="3"></td> |
|
|
|
|
<td style="text-align:center;">性别</td> |
|
|
|
|
<td>{{ sex }}</td> |
|
|
|
|
@ -141,41 +79,44 @@ |
|
|
|
|
<td colspan="5"></td> |
|
|
|
|
</tr> |
|
|
|
|
<tr> |
|
|
|
|
<td width="60pt" style="text-align:center;">身份证<br/>明名称</td> |
|
|
|
|
<td style="text-align:center;">身份证<br />明名称</td> |
|
|
|
|
<td colspan="4"></td> |
|
|
|
|
<td>号 码</td> |
|
|
|
|
<td width="20pt"></td> |
|
|
|
|
<td colspan="2" width="40pt"></td> |
|
|
|
|
<td width="20pt"></td> |
|
|
|
|
<td width="20pt"></td> |
|
|
|
|
<td width="20pt"></td> |
|
|
|
|
<td width="20pt"></td> |
|
|
|
|
<td width="20pt"></td> |
|
|
|
|
<td width="20pt"></td> |
|
|
|
|
<td width="20pt"></td> |
|
|
|
|
<td width="20pt"></td> |
|
|
|
|
<td width="20pt"></td> |
|
|
|
|
<td width="20pt"></td> |
|
|
|
|
<td width="20pt"></td> |
|
|
|
|
<td width="20pt"></td> |
|
|
|
|
<td width="20pt"></td> |
|
|
|
|
<td width="20pt"></td> |
|
|
|
|
<td width="20pt"></td> |
|
|
|
|
<td width="20pt"></td> |
|
|
|
|
<td style="text-align:center;">号 码</td> |
|
|
|
|
<td style="width:20px;"></td> |
|
|
|
|
<td colspan="2" style="width:36px;"></td> |
|
|
|
|
<td style="width:20px;"></td> |
|
|
|
|
<td style="width:20px;"></td> |
|
|
|
|
<td style="width:20px;"></td> |
|
|
|
|
<td style="width:20px;"></td> |
|
|
|
|
<td style="width:20px;"></td> |
|
|
|
|
<td style="width:20px;"></td> |
|
|
|
|
<td style="width:20px;"></td> |
|
|
|
|
<td style="width:20px;"></td> |
|
|
|
|
<td style="width:20px;"></td> |
|
|
|
|
<td style="width:20px;"></td> |
|
|
|
|
<td style="width:20px;"></td> |
|
|
|
|
<td style="width:20px;"></td> |
|
|
|
|
<td style="width:20px;"></td> |
|
|
|
|
<td style="width:20px;"></td> |
|
|
|
|
<td style="width:20px;"></td> |
|
|
|
|
<td style="width:20px;"></td> |
|
|
|
|
</tr> |
|
|
|
|
<tr> |
|
|
|
|
<td colspan="3" style="letter-spacing: 1px;">申请 / 已具有的<br/>准驾车型代号</td> |
|
|
|
|
<td colspan="3" style="width:100px;text-align:center;"> |
|
|
|
|
<div style="letter-spacing:1px;">申请 / 已具有的</div> |
|
|
|
|
<div style="letter-spacing:4px;">准驾车型代号</div> |
|
|
|
|
</td> |
|
|
|
|
<td colspan="3"></td> |
|
|
|
|
<td colspan="4">档案编号</td> |
|
|
|
|
<td colspan="4" style="text-align:center;">档案编号</td> |
|
|
|
|
<td colspan="9"></td> |
|
|
|
|
<td colspan="6" rowspan="4"> |
|
|
|
|
<div>(医疗机构章)</div> |
|
|
|
|
<td colspan="6" rowspan="4" style="text-align:center;"> |
|
|
|
|
<div style="padding-top:100px;">(医疗机构章)</div> |
|
|
|
|
</td> |
|
|
|
|
</tr> |
|
|
|
|
<tr> |
|
|
|
|
<td width="60pt">邮寄<br/>地址</td> |
|
|
|
|
<td style="text-align:center;">邮寄<br />地址</td> |
|
|
|
|
<td colspan="5"></td> |
|
|
|
|
<td colspan="4">联系电话</td> |
|
|
|
|
<td style="text-align:center;" colspan="4">联系电话</td> |
|
|
|
|
<td colspan="9"></td> |
|
|
|
|
</tr> |
|
|
|
|
<tr> |
|
|
|
|
@ -183,51 +124,156 @@ |
|
|
|
|
<td colspan="19">本人如实申告 □具有 □不具有 下列疾病或者情况</td> |
|
|
|
|
</tr> |
|
|
|
|
<tr> |
|
|
|
|
<td colspan="19"><br/>□器质性心脏病 □癫痫 □美尼尔氏症 □眩 晕 □癔病 □震颤麻痹 □精神病 □痴呆 |
|
|
|
|
<td colspan="19">□器质性心脏病 <span style="margin-left:50px">□癫 痫</span> |
|
|
|
|
<span style="margin-left:50px">□美尼尔氏症</span> |
|
|
|
|
<span style="margin-left:50px">□眩 晕</span> |
|
|
|
|
<span style="margin-left:50px">□癔</span>病 |
|
|
|
|
<span style="margin-left:60px">□震颤麻痹</span> |
|
|
|
|
<span style="margin-left:60px">□精神病</span> |
|
|
|
|
<span style="margin-left:60px">□痴呆</span> |
|
|
|
|
<div>□影响肢体活动的神经系统疾病等妨碍安全驾驶病</div> |
|
|
|
|
<div>□三年内有吸食、注射毒品行为或者接触强制隔离戒毒措施未满三年、或者长期服用依赖性<br/>精神药品成瘾尚未戒除</div> |
|
|
|
|
<br/> |
|
|
|
|
<div>□三年内有吸食、注射毒品行为或者接触强制隔离戒毒措施未满三年、或者长期服用依赖性精神药品成瘾尚未戒除</div> |
|
|
|
|
</td> |
|
|
|
|
</tr> |
|
|
|
|
<tr> |
|
|
|
|
<td rowspan="10" colspan="2" style="text-align:center;">医<br/>疗<br/>机<br/>构<br/>填<br/>写<br/>事<br/>项</td> |
|
|
|
|
<td width="60pt" style="text-align:center;">身高(cm)</td> |
|
|
|
|
<td rowspan="10" colspan="2" style="text-align:center;">医<br />疗<br />机<br />构<br />填<br />写<br />事<br />项 |
|
|
|
|
</td> |
|
|
|
|
<td style="text-align:center;">身高(cm)</td> |
|
|
|
|
<td colspan="2"></td> |
|
|
|
|
<td width="90pt">辨色力</td> |
|
|
|
|
<td colspan="3"> |
|
|
|
|
红绿色盲<br/> |
|
|
|
|
□有 □无 |
|
|
|
|
<td style="text-align:center;">辨色力</td> |
|
|
|
|
<td colspan="3" style="text-align:center;"> |
|
|
|
|
<span style="letter-spacing:3px;">红绿色盲</span><br /> |
|
|
|
|
□是 □否 |
|
|
|
|
</td> |
|
|
|
|
<td colspan="4">医生备注</td> |
|
|
|
|
<td colspan="4" style="text-align:center;">医生<br />备注</td> |
|
|
|
|
<td colspan="15"></td> |
|
|
|
|
</tr> |
|
|
|
|
<tr> |
|
|
|
|
<td rowspan="2" style="text-align:center;">视<br />力</td> |
|
|
|
|
<td colspan="2">左眼</td> |
|
|
|
|
<td rowspan="2" width="90pt">是否矫正</td> |
|
|
|
|
<td colspan="2"> |
|
|
|
|
<td colspan="2" style="text-align:center;">左眼</td> |
|
|
|
|
<td rowspan="2" style="text-align:center;">是否矫正</td> |
|
|
|
|
<td colspan="2" style="text-align:center;"> |
|
|
|
|
□是 □否 |
|
|
|
|
</td> |
|
|
|
|
<td width="20pt">单<br/>眼<br/>视<br/>力<br/>障<br/>碍</td> |
|
|
|
|
<td style="text-align:center;" rowspan="2">单<br />眼<br />视<br />力<br />障<br />碍</td> |
|
|
|
|
<td colspan="5"></td> |
|
|
|
|
<td width="20pt">医<br/>生<br/>备<br/>注</td> |
|
|
|
|
<td style="text-align:center;">医<br />生<br />备<br />注</td> |
|
|
|
|
<td colspan="12"></td> |
|
|
|
|
</tr> |
|
|
|
|
<tr> |
|
|
|
|
<td colspan="2">右眼</td> |
|
|
|
|
<td colspan="2"> |
|
|
|
|
<td colspan="2" style="text-align:center;">右眼</td> |
|
|
|
|
<td colspan="2" style="text-align:center;"> |
|
|
|
|
□是 □否 |
|
|
|
|
</td> |
|
|
|
|
<td width="20pt">单<br/>眼<br/>视<br/>力<br/>障<br/>碍</td> |
|
|
|
|
<td colspan="5"></td> |
|
|
|
|
<td width="20pt">医<br/>生<br/>备<br/>注</td> |
|
|
|
|
<td style="text-align:center;">医<br />生<br />备<br />注</td> |
|
|
|
|
<td colspan="12"></td> |
|
|
|
|
</tr> |
|
|
|
|
<tr rowspan="2" colspan="2"> |
|
|
|
|
<td style="text-align:center;">听<br/>力</td> |
|
|
|
|
<tr> |
|
|
|
|
<td style="text-align:center;" rowspan="2">听<br />力</td> |
|
|
|
|
<td colspan="5"> |
|
|
|
|
<div style="float:left;display:inline-block;">左耳</div> |
|
|
|
|
<div style="float:left;display:inline-block;margin-left:50px;">□不合格 □合格<br />□佩戴助听装置 |
|
|
|
|
</div> |
|
|
|
|
</td> |
|
|
|
|
<td rowspan="2" style="text-align:center;">医<br />生<br />备<br />注</td> |
|
|
|
|
<td colspan="18"></td> |
|
|
|
|
</tr> |
|
|
|
|
<tr> |
|
|
|
|
<td colspan="5" style="text-align:center;"> |
|
|
|
|
<div style="float:left;display:inline-block;">右耳</div> |
|
|
|
|
<div style="float:left;display:inline-block;margin-left:50px;">□不合格 □合格<br />□佩戴助听装置 |
|
|
|
|
</div> |
|
|
|
|
</td> |
|
|
|
|
<td colspan="18"></td> |
|
|
|
|
</tr> |
|
|
|
|
<tr> |
|
|
|
|
<td style="text-align:center;">躯干和<br />颈部</td> |
|
|
|
|
<td colspan="10" style="text-align:center;"> |
|
|
|
|
<span style="letter-spacing:3px;">运动功能障碍</span><br /> |
|
|
|
|
□有 □无 |
|
|
|
|
</td> |
|
|
|
|
<td colspan="3" style="text-align:center;">医生<br />备注</td> |
|
|
|
|
<td colspan="14"></td> |
|
|
|
|
</tr> |
|
|
|
|
<tr> |
|
|
|
|
<td rowspan="2" style="text-align:center;">上肢</td> |
|
|
|
|
<td colspan="2" style="text-align:center;">左上肢</td> |
|
|
|
|
<td colspan="10"> |
|
|
|
|
<div>□不合格<span style="margin-left:30px;">□合格</span></div> |
|
|
|
|
<div>□手指末节残缺</div> |
|
|
|
|
<div>□左手三指健全,双手手掌完整</div> |
|
|
|
|
<div>□符合申请C5条件</div> |
|
|
|
|
</td> |
|
|
|
|
<td rowspan="4" colspan="4" style="text-align:center;"> |
|
|
|
|
双下肢缺<br />失或者丧<br />失运动功<br />能障碍是<br />否能够自<br />主坐立 |
|
|
|
|
<div style="padding-top:30px;">□有 □无</div> |
|
|
|
|
</td> |
|
|
|
|
<td rowspan="4" style="text-align:center;">医<br />生<br />备<br />注</td> |
|
|
|
|
<td rowspan="4" colspan="10"></td> |
|
|
|
|
</tr> |
|
|
|
|
<tr> |
|
|
|
|
<td colspan="2" style="text-align:center;">右上肢</td> |
|
|
|
|
<td colspan="10"> |
|
|
|
|
<div>□不合格<span style="margin-left:30px;">□合格</span></div> |
|
|
|
|
<div>□手指末节残缺</div> |
|
|
|
|
<div>□右手拇指残缺</div> |
|
|
|
|
<div>□符合申请C5条件</div> |
|
|
|
|
</td> |
|
|
|
|
</tr> |
|
|
|
|
<tr> |
|
|
|
|
<td rowspan="2" style="text-align:center;">下肢</td> |
|
|
|
|
<td colspan="2" style="text-align:center;">左下肢</td> |
|
|
|
|
<td colspan="10"> |
|
|
|
|
<div>□不合格<span style="margin-left:30px;">□合格</span></div> |
|
|
|
|
</td> |
|
|
|
|
</tr> |
|
|
|
|
<tr> |
|
|
|
|
<td colspan="2" style="text-align:center;">右下肢</td> |
|
|
|
|
<td colspan="10"> |
|
|
|
|
<div>□不合格<span style="margin-left:30px;">□合格</span></div> |
|
|
|
|
<div>□不合格但可自主坐立</div> |
|
|
|
|
</td> |
|
|
|
|
</tr> |
|
|
|
|
<tr> |
|
|
|
|
<td colspan="3" style="text-align:center;">申请方式</td> |
|
|
|
|
<td colspan="29"> |
|
|
|
|
<span style="padding-left:50px;">□本人申请</span> |
|
|
|
|
<span style="padding-left:100px;">□委托<span |
|
|
|
|
style="display:inline-block;width:200px;border-bottom:1px solid #000;"></span>代理申请</span> |
|
|
|
|
</td> |
|
|
|
|
</tr> |
|
|
|
|
<tr> |
|
|
|
|
<td colspan="3" rowspan="2" style="text-align:center;">委托代理人信息</td> |
|
|
|
|
<td style="text-align:center;">姓名</td> |
|
|
|
|
<td colspan="6"></td> |
|
|
|
|
<td colspan="4" style="text-align:center;">身份证明<br />名称</td> |
|
|
|
|
<td colspan="5"></td> |
|
|
|
|
<td colspan="2" style="text-align:center;">号码</td> |
|
|
|
|
<td colspan="8"></td> |
|
|
|
|
</tr> |
|
|
|
|
<tr> |
|
|
|
|
<td style="text-align:center;">联系地址</td> |
|
|
|
|
<td colspan="15"></td> |
|
|
|
|
<td colspan="2" style="text-align:center;">电话</td> |
|
|
|
|
<td colspan="8"></td> |
|
|
|
|
</tr> |
|
|
|
|
<tr> |
|
|
|
|
<td colspan="33" style="padding:8px 3px;"> |
|
|
|
|
备注:《机动车驾驶人身体条件证明》自体检之日起6个月内有效。 |
|
|
|
|
</td> |
|
|
|
|
</tr> |
|
|
|
|
<tr> |
|
|
|
|
<td colspan="33" style="padding:10px 3px;font-size:14px;"> |
|
|
|
|
<div style="display:inline-block;width:30%;">申请人签字:</div> |
|
|
|
|
<div style="display:inline-block;width:30%;">医生签字:</div> |
|
|
|
|
<div style="display:inline-block;width:30%;">代理人签字:</div> |
|
|
|
|
</td> |
|
|
|
|
</tr> |
|
|
|
|
</table> |
|
|
|
|
</div> |
|
|
|
|
</basic-container> |
|
|
|
|
</el-col> |
|
|
|
|
</el-row> |
|
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
@ -349,49 +395,11 @@ |
|
|
|
|
dialogClickModal: false, |
|
|
|
|
column: [ |
|
|
|
|
{ |
|
|
|
|
label: "医院名称", |
|
|
|
|
prop: "realName", |
|
|
|
|
label: "机构名称", |
|
|
|
|
prop: "deptName", |
|
|
|
|
search: true, |
|
|
|
|
display: false |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
label: "登录账号", |
|
|
|
|
prop: "account", |
|
|
|
|
display: false |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
label: "账号状态", |
|
|
|
|
prop: "status", |
|
|
|
|
slot: true, |
|
|
|
|
display: false |
|
|
|
|
}, |
|
|
|
|
], |
|
|
|
|
group: [ |
|
|
|
|
{ |
|
|
|
|
label: '基础信息', |
|
|
|
|
prop: 'baseInfo', |
|
|
|
|
icon: 'el-icon-user-solid', |
|
|
|
|
column: [ |
|
|
|
|
{ |
|
|
|
|
label: "所属租户", |
|
|
|
|
prop: "tenantId", |
|
|
|
|
type: "tree", |
|
|
|
|
dicUrl: "/api/blade-system/tenant/select", |
|
|
|
|
props: { |
|
|
|
|
label: "tenantName", |
|
|
|
|
value: "tenantId" |
|
|
|
|
}, |
|
|
|
|
hide: !website.tenantMode, |
|
|
|
|
addDisplay: website.tenantMode, |
|
|
|
|
editDisplay: website.tenantMode, |
|
|
|
|
viewDisplay: website.tenantMode, |
|
|
|
|
rules: [{ |
|
|
|
|
required: true, |
|
|
|
|
message: "请输入所属租户", |
|
|
|
|
trigger: "click" |
|
|
|
|
}], |
|
|
|
|
span: 24, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
label: "登录账号", |
|
|
|
|
prop: "account", |
|
|
|
|
@ -402,21 +410,15 @@ |
|
|
|
|
}], |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
label: "用户平台", |
|
|
|
|
type: "select", |
|
|
|
|
dicUrl: "/api/blade-system/dict/dictionary?code=user_type", |
|
|
|
|
props: { |
|
|
|
|
label: "dictValue", |
|
|
|
|
value: "dictKey" |
|
|
|
|
}, |
|
|
|
|
dataType: "number", |
|
|
|
|
label: "账号状态", |
|
|
|
|
prop: "status", |
|
|
|
|
slot: true, |
|
|
|
|
prop: "userType", |
|
|
|
|
rules: [{ |
|
|
|
|
required: true, |
|
|
|
|
message: "请选择用户平台", |
|
|
|
|
trigger: "blur" |
|
|
|
|
}] |
|
|
|
|
display: false |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
label: "角色", |
|
|
|
|
prop: "roleName", |
|
|
|
|
display: false |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
label: '密码', |
|
|
|
|
@ -434,95 +436,10 @@ |
|
|
|
|
viewDisplay: false, |
|
|
|
|
rules: [{ required: true, validator: validatePass2, trigger: 'blur' }] |
|
|
|
|
}, |
|
|
|
|
] |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
label: '详细信息', |
|
|
|
|
prop: 'detailInfo', |
|
|
|
|
icon: 'el-icon-s-order', |
|
|
|
|
column: [ |
|
|
|
|
{ |
|
|
|
|
label: "用户昵称", |
|
|
|
|
prop: "name", |
|
|
|
|
hide: true, |
|
|
|
|
rules: [{ |
|
|
|
|
required: true, |
|
|
|
|
message: "请输入用户昵称", |
|
|
|
|
trigger: "blur" |
|
|
|
|
}] |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
label: "用户姓名", |
|
|
|
|
prop: "realName", |
|
|
|
|
rules: [{ |
|
|
|
|
required: true, |
|
|
|
|
message: "请输入用户姓名", |
|
|
|
|
trigger: "blur" |
|
|
|
|
}, { |
|
|
|
|
min: 2, |
|
|
|
|
max: 5, |
|
|
|
|
message: '姓名长度在2到5个字符' |
|
|
|
|
}] |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
label: "手机号码", |
|
|
|
|
prop: "phone", |
|
|
|
|
overHidden: true |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
label: "电子邮箱", |
|
|
|
|
prop: "email", |
|
|
|
|
hide: true, |
|
|
|
|
overHidden: true |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
label: "用户性别", |
|
|
|
|
prop: "sex", |
|
|
|
|
type: "select", |
|
|
|
|
dicData: [ |
|
|
|
|
{ |
|
|
|
|
label: "男", |
|
|
|
|
value: 1 |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
label: "女", |
|
|
|
|
value: 2 |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
label: "未知", |
|
|
|
|
value: 3 |
|
|
|
|
} |
|
|
|
|
], |
|
|
|
|
hide: true |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
label: "用户生日", |
|
|
|
|
type: "date", |
|
|
|
|
prop: "birthday", |
|
|
|
|
format: "yyyy-MM-dd hh:mm:ss", |
|
|
|
|
valueFormat: "yyyy-MM-dd hh:mm:ss", |
|
|
|
|
hide: true |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
label: "账号状态", |
|
|
|
|
prop: "statusName", |
|
|
|
|
hide: true, |
|
|
|
|
display: false |
|
|
|
|
} |
|
|
|
|
] |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
label: '职责信息', |
|
|
|
|
prop: 'dutyInfo', |
|
|
|
|
icon: 'el-icon-s-custom', |
|
|
|
|
column: [ |
|
|
|
|
{ |
|
|
|
|
label: "用户编号", |
|
|
|
|
prop: "code", |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
label: "所属角色", |
|
|
|
|
prop: "roleId", |
|
|
|
|
hide:true, |
|
|
|
|
multiple: true, |
|
|
|
|
type: "tree", |
|
|
|
|
dicData: [], |
|
|
|
|
@ -541,6 +458,7 @@ |
|
|
|
|
label: "所属部门", |
|
|
|
|
prop: "deptId", |
|
|
|
|
type: "tree", |
|
|
|
|
hide: true, |
|
|
|
|
multiple: true, |
|
|
|
|
dicData: [], |
|
|
|
|
props: { |
|
|
|
|
@ -554,25 +472,214 @@ |
|
|
|
|
trigger: "click" |
|
|
|
|
}] |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
label: "所属岗位", |
|
|
|
|
prop: "postId", |
|
|
|
|
type: "tree", |
|
|
|
|
multiple: true, |
|
|
|
|
dicData: [], |
|
|
|
|
props: { |
|
|
|
|
label: "postName", |
|
|
|
|
value: "id" |
|
|
|
|
}, |
|
|
|
|
rules: [{ |
|
|
|
|
required: true, |
|
|
|
|
message: "请选择所属岗位", |
|
|
|
|
trigger: "click" |
|
|
|
|
}], |
|
|
|
|
}, |
|
|
|
|
] |
|
|
|
|
}, |
|
|
|
|
] |
|
|
|
|
], |
|
|
|
|
// group: [ |
|
|
|
|
// { |
|
|
|
|
// label: '基础信息', |
|
|
|
|
// prop: 'baseInfo', |
|
|
|
|
// icon: 'el-icon-user-solid', |
|
|
|
|
// column: [ |
|
|
|
|
// { |
|
|
|
|
// label: "所属租户", |
|
|
|
|
// prop: "tenantId", |
|
|
|
|
// type: "tree", |
|
|
|
|
// dicUrl: "/api/blade-system/tenant/select", |
|
|
|
|
// props: { |
|
|
|
|
// label: "tenantName", |
|
|
|
|
// value: "tenantId" |
|
|
|
|
// }, |
|
|
|
|
// hide: !website.tenantMode, |
|
|
|
|
// addDisplay: website.tenantMode, |
|
|
|
|
// editDisplay: website.tenantMode, |
|
|
|
|
// viewDisplay: website.tenantMode, |
|
|
|
|
// rules: [{ |
|
|
|
|
// required: true, |
|
|
|
|
// message: "请输入所属租户", |
|
|
|
|
// trigger: "click" |
|
|
|
|
// }], |
|
|
|
|
// span: 24, |
|
|
|
|
// }, |
|
|
|
|
// { |
|
|
|
|
// label: "登录账号", |
|
|
|
|
// prop: "account", |
|
|
|
|
// rules: [{ |
|
|
|
|
// required: true, |
|
|
|
|
// message: "请输入登录账号", |
|
|
|
|
// trigger: "blur" |
|
|
|
|
// }], |
|
|
|
|
// }, |
|
|
|
|
// { |
|
|
|
|
// label: "用户平台", |
|
|
|
|
// type: "select", |
|
|
|
|
// dicUrl: "/api/blade-system/dict/dictionary?code=user_type", |
|
|
|
|
// props: { |
|
|
|
|
// label: "dictValue", |
|
|
|
|
// value: "dictKey" |
|
|
|
|
// }, |
|
|
|
|
// dataType: "number", |
|
|
|
|
// slot: true, |
|
|
|
|
// prop: "userType", |
|
|
|
|
// rules: [{ |
|
|
|
|
// required: true, |
|
|
|
|
// message: "请选择用户平台", |
|
|
|
|
// trigger: "blur" |
|
|
|
|
// }] |
|
|
|
|
// }, |
|
|
|
|
// { |
|
|
|
|
// label: '密码', |
|
|
|
|
// prop: 'password', |
|
|
|
|
// hide: true, |
|
|
|
|
// editDisplay: false, |
|
|
|
|
// viewDisplay: false, |
|
|
|
|
// rules: [{ required: true, validator: validatePass, trigger: 'blur' }] |
|
|
|
|
// }, |
|
|
|
|
// { |
|
|
|
|
// label: '确认密码', |
|
|
|
|
// prop: 'password2', |
|
|
|
|
// hide: true, |
|
|
|
|
// editDisplay: false, |
|
|
|
|
// viewDisplay: false, |
|
|
|
|
// rules: [{ required: true, validator: validatePass2, trigger: 'blur' }] |
|
|
|
|
// }, |
|
|
|
|
// ] |
|
|
|
|
// }, |
|
|
|
|
// { |
|
|
|
|
// label: '详细信息', |
|
|
|
|
// prop: 'detailInfo', |
|
|
|
|
// icon: 'el-icon-s-order', |
|
|
|
|
// column: [ |
|
|
|
|
// { |
|
|
|
|
// label: "用户昵称", |
|
|
|
|
// prop: "name", |
|
|
|
|
// hide: true, |
|
|
|
|
// rules: [{ |
|
|
|
|
// required: true, |
|
|
|
|
// message: "请输入用户昵称", |
|
|
|
|
// trigger: "blur" |
|
|
|
|
// }] |
|
|
|
|
// }, |
|
|
|
|
// { |
|
|
|
|
// label: "用户姓名", |
|
|
|
|
// prop: "realName", |
|
|
|
|
// rules: [{ |
|
|
|
|
// required: true, |
|
|
|
|
// message: "请输入用户姓名", |
|
|
|
|
// trigger: "blur" |
|
|
|
|
// }, { |
|
|
|
|
// min: 2, |
|
|
|
|
// max: 5, |
|
|
|
|
// message: '姓名长度在2到5个字符' |
|
|
|
|
// }] |
|
|
|
|
// }, |
|
|
|
|
// { |
|
|
|
|
// label: "手机号码", |
|
|
|
|
// prop: "phone", |
|
|
|
|
// overHidden: true |
|
|
|
|
// }, |
|
|
|
|
// { |
|
|
|
|
// label: "电子邮箱", |
|
|
|
|
// prop: "email", |
|
|
|
|
// hide: true, |
|
|
|
|
// overHidden: true |
|
|
|
|
// }, |
|
|
|
|
// { |
|
|
|
|
// label: "用户性别", |
|
|
|
|
// prop: "sex", |
|
|
|
|
// type: "select", |
|
|
|
|
// dicData: [ |
|
|
|
|
// { |
|
|
|
|
// label: "男", |
|
|
|
|
// value: 1 |
|
|
|
|
// }, |
|
|
|
|
// { |
|
|
|
|
// label: "女", |
|
|
|
|
// value: 2 |
|
|
|
|
// }, |
|
|
|
|
// { |
|
|
|
|
// label: "未知", |
|
|
|
|
// value: 3 |
|
|
|
|
// } |
|
|
|
|
// ], |
|
|
|
|
// hide: true |
|
|
|
|
// }, |
|
|
|
|
// { |
|
|
|
|
// label: "用户生日", |
|
|
|
|
// type: "date", |
|
|
|
|
// prop: "birthday", |
|
|
|
|
// format: "yyyy-MM-dd hh:mm:ss", |
|
|
|
|
// valueFormat: "yyyy-MM-dd hh:mm:ss", |
|
|
|
|
// hide: true |
|
|
|
|
// }, |
|
|
|
|
// { |
|
|
|
|
// label: "账号状态", |
|
|
|
|
// prop: "statusName", |
|
|
|
|
// hide: true, |
|
|
|
|
// display: false |
|
|
|
|
// } |
|
|
|
|
// ] |
|
|
|
|
// }, |
|
|
|
|
// { |
|
|
|
|
// label: '职责信息', |
|
|
|
|
// prop: 'dutyInfo', |
|
|
|
|
// icon: 'el-icon-s-custom', |
|
|
|
|
// column: [ |
|
|
|
|
// { |
|
|
|
|
// label: "用户编号", |
|
|
|
|
// prop: "code", |
|
|
|
|
// }, |
|
|
|
|
// { |
|
|
|
|
// label: "所属角色", |
|
|
|
|
// prop: "roleId", |
|
|
|
|
// multiple: true, |
|
|
|
|
// type: "tree", |
|
|
|
|
// dicData: [], |
|
|
|
|
// props: { |
|
|
|
|
// label: "title" |
|
|
|
|
// }, |
|
|
|
|
// checkStrictly: true, |
|
|
|
|
// slot: true, |
|
|
|
|
// rules: [{ |
|
|
|
|
// required: true, |
|
|
|
|
// message: "请选择所属角色", |
|
|
|
|
// trigger: "click" |
|
|
|
|
// }] |
|
|
|
|
// }, |
|
|
|
|
// { |
|
|
|
|
// label: "所属部门", |
|
|
|
|
// prop: "deptId", |
|
|
|
|
// type: "tree", |
|
|
|
|
// multiple: true, |
|
|
|
|
// dicData: [], |
|
|
|
|
// props: { |
|
|
|
|
// label: "title" |
|
|
|
|
// }, |
|
|
|
|
// checkStrictly: true, |
|
|
|
|
// slot: true, |
|
|
|
|
// rules: [{ |
|
|
|
|
// required: true, |
|
|
|
|
// message: "请选择所属部门", |
|
|
|
|
// trigger: "click" |
|
|
|
|
// }] |
|
|
|
|
// }, |
|
|
|
|
// // { |
|
|
|
|
// // label: "所属岗位", |
|
|
|
|
// // prop: "postId", |
|
|
|
|
// // type: "tree", |
|
|
|
|
// // multiple: true, |
|
|
|
|
// // dicData: [], |
|
|
|
|
// // props: { |
|
|
|
|
// // label: "postName", |
|
|
|
|
// // value: "id" |
|
|
|
|
// // }, |
|
|
|
|
// // rules: [{ |
|
|
|
|
// // required: true, |
|
|
|
|
// // message: "请选择所属岗位", |
|
|
|
|
// // trigger: "click" |
|
|
|
|
// // }], |
|
|
|
|
// // }, |
|
|
|
|
// ] |
|
|
|
|
// }, |
|
|
|
|
// ] |
|
|
|
|
}, |
|
|
|
|
data: [], |
|
|
|
|
platformQuery: {}, |
|
|
|
|
@ -597,53 +704,53 @@ |
|
|
|
|
search: true, |
|
|
|
|
display: false |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
label: "所属租户", |
|
|
|
|
prop: "tenantName", |
|
|
|
|
slot: true, |
|
|
|
|
display: false |
|
|
|
|
}, |
|
|
|
|
// { |
|
|
|
|
// label: "所属租户", |
|
|
|
|
// prop: "tenantName", |
|
|
|
|
// slot: true, |
|
|
|
|
// display: false |
|
|
|
|
// }, |
|
|
|
|
{ |
|
|
|
|
label: "用户姓名", |
|
|
|
|
prop: "realName", |
|
|
|
|
search: true, |
|
|
|
|
display: false |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
label: "用户平台", |
|
|
|
|
prop: "userTypeName", |
|
|
|
|
slot: true, |
|
|
|
|
display: false |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
label: "用户平台", |
|
|
|
|
type: "select", |
|
|
|
|
dicUrl: "/api/blade-system/dict/dictionary?code=user_type", |
|
|
|
|
props: { |
|
|
|
|
label: "dictValue", |
|
|
|
|
value: "dictKey" |
|
|
|
|
}, |
|
|
|
|
dataType: "number", |
|
|
|
|
search: true, |
|
|
|
|
hide: true, |
|
|
|
|
display: false, |
|
|
|
|
prop: "userType", |
|
|
|
|
rules: [{ |
|
|
|
|
required: true, |
|
|
|
|
message: "请选择用户平台", |
|
|
|
|
trigger: "blur" |
|
|
|
|
}] |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
label: "用户拓展", |
|
|
|
|
prop: "userExt", |
|
|
|
|
type: "textarea", |
|
|
|
|
minRows: 8, |
|
|
|
|
span: 24, |
|
|
|
|
overHidden: true, |
|
|
|
|
row: true, |
|
|
|
|
hide: true, |
|
|
|
|
}, |
|
|
|
|
// { |
|
|
|
|
// label: "用户平台", |
|
|
|
|
// prop: "userTypeName", |
|
|
|
|
// slot: true, |
|
|
|
|
// display: false |
|
|
|
|
// }, |
|
|
|
|
// { |
|
|
|
|
// label: "用户平台", |
|
|
|
|
// type: "select", |
|
|
|
|
// dicUrl: "/api/blade-system/dict/dictionary?code=user_type", |
|
|
|
|
// props: { |
|
|
|
|
// label: "dictValue", |
|
|
|
|
// value: "dictKey" |
|
|
|
|
// }, |
|
|
|
|
// dataType: "number", |
|
|
|
|
// search: true, |
|
|
|
|
// hide: true, |
|
|
|
|
// display: false, |
|
|
|
|
// prop: "userType", |
|
|
|
|
// rules: [{ |
|
|
|
|
// required: true, |
|
|
|
|
// message: "请选择用户平台", |
|
|
|
|
// trigger: "blur" |
|
|
|
|
// }] |
|
|
|
|
// }, |
|
|
|
|
// { |
|
|
|
|
// label: "用户拓展", |
|
|
|
|
// prop: "userExt", |
|
|
|
|
// type: "textarea", |
|
|
|
|
// minRows: 8, |
|
|
|
|
// span: 24, |
|
|
|
|
// overHidden: true, |
|
|
|
|
// row: true, |
|
|
|
|
// hide: true, |
|
|
|
|
// }, |
|
|
|
|
], |
|
|
|
|
}, |
|
|
|
|
excelForm: {}, |
|
|
|
|
@ -759,11 +866,11 @@ |
|
|
|
|
}, |
|
|
|
|
initData(tenantId) { |
|
|
|
|
getRoleTree(tenantId).then(res => { |
|
|
|
|
const column = this.findObject(this.option.group, "roleId"); |
|
|
|
|
const column = this.findObject(this.option.column, "roleId"); |
|
|
|
|
column.dicData = res.data.data; |
|
|
|
|
}); |
|
|
|
|
getDeptTree(tenantId).then(res => { |
|
|
|
|
const column = this.findObject(this.option.group, "deptId"); |
|
|
|
|
const column = this.findObject(this.option.column, "deptId"); |
|
|
|
|
column.dicData = res.data.data; |
|
|
|
|
}); |
|
|
|
|
getPostList(tenantId).then(res => { |
|
|
|
|
@ -785,7 +892,7 @@ |
|
|
|
|
rowSave(row, done, loading) { |
|
|
|
|
row.deptId = row.deptId.join(","); |
|
|
|
|
row.roleId = row.roleId.join(","); |
|
|
|
|
row.postId = row.postId.join(","); |
|
|
|
|
// row.postId = row.postId.join(","); |
|
|
|
|
add(row).then(() => { |
|
|
|
|
this.initFlag = false; |
|
|
|
|
this.onLoad(this.page); |
|
|
|
|
@ -1070,4 +1177,8 @@ |
|
|
|
|
.box .el-scrollbar__wrap { |
|
|
|
|
overflow: scroll; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.prin_table table tr td { |
|
|
|
|
padding: 4px 0; |
|
|
|
|
} |
|
|
|
|
</style> |
|
|
|
|
|