|
|
|
|
@ -30,57 +30,16 @@ |
|
|
|
|
@size-change="sizeChange" |
|
|
|
|
@refresh-change="refreshChange" |
|
|
|
|
@on-load="onLoad"> |
|
|
|
|
<template slot="menuLeft"> |
|
|
|
|
<el-button type="danger" |
|
|
|
|
size="small" |
|
|
|
|
plain |
|
|
|
|
icon="el-icon-delete" |
|
|
|
|
v-if="permission.user_delete" |
|
|
|
|
@click="handleDelete">删 除 |
|
|
|
|
</el-button> |
|
|
|
|
<el-button type="info" |
|
|
|
|
size="small" |
|
|
|
|
plain |
|
|
|
|
v-if="permission.user_role" |
|
|
|
|
icon="el-icon-user" |
|
|
|
|
@click="handleGrant">角色配置 |
|
|
|
|
</el-button> |
|
|
|
|
<el-button type="info" |
|
|
|
|
size="small" |
|
|
|
|
plain |
|
|
|
|
v-if="permission.user_reset" |
|
|
|
|
icon="el-icon-refresh" |
|
|
|
|
@click="handleReset">密码重置 |
|
|
|
|
</el-button> |
|
|
|
|
<el-button type="info" |
|
|
|
|
size="small" |
|
|
|
|
plain |
|
|
|
|
v-if="userInfo.role_name.includes('admin')" |
|
|
|
|
icon="el-icon-setting" |
|
|
|
|
@click="handlePlatform">平台配置 |
|
|
|
|
</el-button> |
|
|
|
|
<el-button type="info" |
|
|
|
|
size="small" |
|
|
|
|
plain |
|
|
|
|
v-if="userInfo.role_name.includes('admin')" |
|
|
|
|
icon="el-icon-coordinate" |
|
|
|
|
@click="handleLock">账号解封 |
|
|
|
|
</el-button> |
|
|
|
|
<el-button type="success" |
|
|
|
|
size="small" |
|
|
|
|
plain |
|
|
|
|
v-if="userInfo.role_name.includes('admin')" |
|
|
|
|
icon="el-icon-upload2" |
|
|
|
|
@click="handleImport">导入 |
|
|
|
|
</el-button> |
|
|
|
|
<el-button type="warning" |
|
|
|
|
size="small" |
|
|
|
|
plain |
|
|
|
|
v-if="userInfo.role_name.includes('admin')" |
|
|
|
|
icon="el-icon-download" |
|
|
|
|
@click="handleExport">导出 |
|
|
|
|
</el-button> |
|
|
|
|
</template> |
|
|
|
|
<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> |
|
|
|
|
</template> |
|
|
|
|
<template slot-scope="{row}" |
|
|
|
|
slot="tenantName"> |
|
|
|
|
<el-tag>{{row.tenantName}}</el-tag> |
|
|
|
|
@ -94,8 +53,8 @@ |
|
|
|
|
<el-tag>{{row.deptName}}</el-tag> |
|
|
|
|
</template> |
|
|
|
|
<template slot-scope="{row}" |
|
|
|
|
slot="userTypeName"> |
|
|
|
|
<el-tag>{{row.userTypeName}}</el-tag> |
|
|
|
|
slot="status"> |
|
|
|
|
<el-tag>{{row.status==1?'启用':'封禁'}}</el-tag> |
|
|
|
|
</template> |
|
|
|
|
</avue-crud> |
|
|
|
|
<el-dialog title="用户角色配置" |
|
|
|
|
@ -162,6 +121,109 @@ |
|
|
|
|
</el-dialog> |
|
|
|
|
</basic-container> |
|
|
|
|
</el-col> |
|
|
|
|
<!-- 打印 --> |
|
|
|
|
<div id="pintHtml"> |
|
|
|
|
<table border="1" width="100%" style="max-width:750pt;" cellspacing="0"> |
|
|
|
|
<tr> |
|
|
|
|
<td rowspan="6">申<br/>请<br/>人<br/>填<br/>报<br/>事<br/>项</td> |
|
|
|
|
<td rowspan="4">申<br/>请<br/>人<br/>信<br/>息</td> |
|
|
|
|
<td width="60pt"> 姓 名</td> |
|
|
|
|
<td colspan="3"></td> |
|
|
|
|
<td> 性别</td> |
|
|
|
|
<td>{{ sex }}</td> |
|
|
|
|
<td colspan="4"> 出生日期</td> |
|
|
|
|
<td colspan="7"></td> |
|
|
|
|
<td colspan="3"> 国 籍</td> |
|
|
|
|
<td colspan="5"></td> |
|
|
|
|
</tr> |
|
|
|
|
<tr> |
|
|
|
|
<td width="60pt"> 身份证<br/> 明名称</td> |
|
|
|
|
<td colspan="4"></td> |
|
|
|
|
<td> 号 码</td> |
|
|
|
|
<td width="22pt"></td> |
|
|
|
|
<td colspan="2" width="44pt"></td> |
|
|
|
|
<td width="22pt"></td> |
|
|
|
|
<td width="22pt"></td> |
|
|
|
|
<td width="22pt"></td> |
|
|
|
|
<td width="22pt"></td> |
|
|
|
|
<td width="22pt"></td> |
|
|
|
|
<td width="22pt"></td> |
|
|
|
|
<td width="22pt"></td> |
|
|
|
|
<td width="22pt"></td> |
|
|
|
|
<td width="22pt"></td> |
|
|
|
|
<td width="22pt"></td> |
|
|
|
|
<td width="22pt"></td> |
|
|
|
|
<td width="22pt"></td> |
|
|
|
|
<td width="22pt"></td> |
|
|
|
|
<td width="22pt"></td> |
|
|
|
|
<td width="22pt"></td> |
|
|
|
|
<td width="22pt"></td> |
|
|
|
|
</tr> |
|
|
|
|
<tr> |
|
|
|
|
<td colspan="3"> 申 请 / 已 具 有 的<br/> 准 驾 车 型 代 号</td> |
|
|
|
|
<td colspan="3"></td> |
|
|
|
|
<td colspan="4">档案编号</td> |
|
|
|
|
<td colspan="9"></td> |
|
|
|
|
<td colspan="6" rowspan="4"> |
|
|
|
|
<div>(医疗机构章)</div> |
|
|
|
|
</td> |
|
|
|
|
</tr> |
|
|
|
|
<tr> |
|
|
|
|
<td width="60pt">邮寄<br/>地址</td> |
|
|
|
|
<td colspan="5"></td> |
|
|
|
|
<td colspan="4">联系电话</td> |
|
|
|
|
<td colspan="9"></td> |
|
|
|
|
</tr> |
|
|
|
|
<tr> |
|
|
|
|
<td rowspan="2">申<br/>告<br/>事<br/>项</td> |
|
|
|
|
<td colspan="19">本人如实申告 □具有 □不具有 下列疾病或者情况</td> |
|
|
|
|
</tr> |
|
|
|
|
<tr> |
|
|
|
|
<td colspan="19"><br/>□器质性心脏病 □癫痫 □美尼尔氏症 □眩 晕 □癔病 □震颤麻痹 □精神病 □痴呆 |
|
|
|
|
<div>□影响肢体活动的神经系统疾病等妨碍安全驾驶病</div> |
|
|
|
|
<div>□三年内有吸食、注射毒品行为或者接触强制隔离戒毒措施未满三年、或者长期服用依赖性<br/>精神药品成瘾尚未戒除</div> |
|
|
|
|
<br/> |
|
|
|
|
</td> |
|
|
|
|
</tr> |
|
|
|
|
<tr> |
|
|
|
|
<td rowspan="10" colspan="2">医<br/>疗<br/>机<br/>构<br/>填<br/>写<br/>事<br/>项</td> |
|
|
|
|
<td width="60pt">身高(cm)</td> |
|
|
|
|
<td colspan="2"></td> |
|
|
|
|
<td width="90pt">辨色力</td> |
|
|
|
|
<td colspan="3"> |
|
|
|
|
红绿色盲<br/> |
|
|
|
|
□有 □无 |
|
|
|
|
</td> |
|
|
|
|
<td colspan="4">医生备注</td> |
|
|
|
|
<td colspan="15"></td> |
|
|
|
|
</tr> |
|
|
|
|
<tr> |
|
|
|
|
<td rowspan="2">视<br/>力</td> |
|
|
|
|
<td colspan="2">左眼</td> |
|
|
|
|
<td rowspan="2" width="90pt">是否矫正</td> |
|
|
|
|
<td colspan="2"> |
|
|
|
|
□是 □否 |
|
|
|
|
</td> |
|
|
|
|
<td width="22pt">单<br/>眼<br/>视<br/>力<br/>障<br/>碍</td> |
|
|
|
|
<td colspan="5"></td> |
|
|
|
|
<td width="22pt">医<br/>生<br/>备<br/>注</td> |
|
|
|
|
<td colspan="12"></td> |
|
|
|
|
</tr> |
|
|
|
|
<tr> |
|
|
|
|
<td colspan="2">右眼</td> |
|
|
|
|
<td colspan="2"> |
|
|
|
|
□是 □否 |
|
|
|
|
</td> |
|
|
|
|
<td width="22pt">单<br/>眼<br/>视<br/>力<br/>障<br/>碍</td> |
|
|
|
|
<td colspan="5"></td> |
|
|
|
|
<td width="22pt">医<br/>生<br/>备<br/>注</td> |
|
|
|
|
<td colspan="12"></td> |
|
|
|
|
</tr> |
|
|
|
|
<tr rowspan="2" colspan="2"> |
|
|
|
|
<td>听<br/>力</td> |
|
|
|
|
</tr> |
|
|
|
|
</table> |
|
|
|
|
</div> |
|
|
|
|
</el-row> |
|
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
@ -189,6 +251,7 @@ |
|
|
|
|
import NProgress from 'nprogress'; |
|
|
|
|
import 'nprogress/nprogress.css'; |
|
|
|
|
import func from "@/util/func"; |
|
|
|
|
import print from 'print-js' |
|
|
|
|
|
|
|
|
|
export default { |
|
|
|
|
data() { |
|
|
|
|
@ -274,65 +337,27 @@ |
|
|
|
|
border: true, |
|
|
|
|
index: true, |
|
|
|
|
selection: true, |
|
|
|
|
viewBtn: true, |
|
|
|
|
viewBtn: false, |
|
|
|
|
dialogType: 'drawer', |
|
|
|
|
dialogClickModal: false, |
|
|
|
|
column: [ |
|
|
|
|
{ |
|
|
|
|
label: "登录账号", |
|
|
|
|
prop: "account", |
|
|
|
|
search: true, |
|
|
|
|
display: false |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
label: "所属租户", |
|
|
|
|
prop: "tenantName", |
|
|
|
|
slot: true, |
|
|
|
|
display: false |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
label: "用户姓名", |
|
|
|
|
label: "医院名称", |
|
|
|
|
prop: "realName", |
|
|
|
|
search: true, |
|
|
|
|
display: false |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
label: "所属角色", |
|
|
|
|
prop: "roleName", |
|
|
|
|
slot: true, |
|
|
|
|
label: "登录账号", |
|
|
|
|
prop: "account", |
|
|
|
|
display: false |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
label: "所属部门", |
|
|
|
|
prop: "deptName", |
|
|
|
|
label: "账号状态", |
|
|
|
|
prop: "status", |
|
|
|
|
slot: 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" |
|
|
|
|
}] |
|
|
|
|
}, |
|
|
|
|
], |
|
|
|
|
group: [ |
|
|
|
|
{ |
|
|
|
|
@ -665,7 +690,8 @@ |
|
|
|
|
span: 24, |
|
|
|
|
} |
|
|
|
|
] |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
sex:'' |
|
|
|
|
}; |
|
|
|
|
}, |
|
|
|
|
watch: { |
|
|
|
|
@ -714,6 +740,12 @@ |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
methods: { |
|
|
|
|
handleUpdate() { |
|
|
|
|
this.sex='女'; |
|
|
|
|
setTimeout(() => { |
|
|
|
|
print('pintHtml','html'); |
|
|
|
|
},300) |
|
|
|
|
}, |
|
|
|
|
nodeClick(data) { |
|
|
|
|
this.treeDeptId = data.id; |
|
|
|
|
this.page.currentPage = 1; |
|
|
|
|
|