6.13
This commit is contained in:
parent
3f8c0900a6
commit
bff706590f
@ -15,7 +15,8 @@
|
|||||||
>
|
>
|
||||||
<template #default="{ node, data }">
|
<template #default="{ node, data }">
|
||||||
<span class="custom-tree-node" >
|
<span class="custom-tree-node" >
|
||||||
<span>{{ node.label }}</span>
|
|
||||||
|
<span>{{ node.label }}-{{ data.custom_id}}</span>
|
||||||
<span >
|
<span >
|
||||||
<icon-plus-circle-fill v-has="'admin:sysArea:add'" @click="append(data)" title="添加" style="margin-left: 8px;font-size: 16px;color:#165DFF" v-if="node.level!=3"/>
|
<icon-plus-circle-fill v-has="'admin:sysArea:add'" @click="append(data)" title="添加" style="margin-left: 8px;font-size: 16px;color:#165DFF" v-if="node.level!=3"/>
|
||||||
<icon-edit title="修改" v-has="'admin:sysArea:edit'" @click="edit(node, data)" style="margin-left: 8px;font-size: 16px;color:#165DFF"/>
|
<icon-edit title="修改" v-has="'admin:sysArea:edit'" @click="edit(node, data)" style="margin-left: 8px;font-size: 16px;color:#165DFF"/>
|
||||||
@ -147,6 +148,7 @@ const handleNodeClick = (data) => {
|
|||||||
level:0,
|
level:0,
|
||||||
label:item.area_name,
|
label:item.area_name,
|
||||||
id:item.area_id,
|
id:item.area_id,
|
||||||
|
custom_id:item.area_id,
|
||||||
parent_id:item.parent_id
|
parent_id:item.parent_id
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@ -157,6 +159,7 @@ const handleNodeClick = (data) => {
|
|||||||
return {
|
return {
|
||||||
label:item.area_name,
|
label:item.area_name,
|
||||||
level:1,
|
level:1,
|
||||||
|
custom_id:item.area_id,
|
||||||
id:item.area_id,
|
id:item.area_id,
|
||||||
parent_id:item.parent_id
|
parent_id:item.parent_id
|
||||||
}
|
}
|
||||||
@ -168,6 +171,7 @@ const handleNodeClick = (data) => {
|
|||||||
return {
|
return {
|
||||||
isLeaf: true,
|
isLeaf: true,
|
||||||
level:2,
|
level:2,
|
||||||
|
custom_id:item.area_id,
|
||||||
label:item.area_name,
|
label:item.area_name,
|
||||||
id:item.area_id,
|
id:item.area_id,
|
||||||
parent_id:item.parent_id
|
parent_id:item.parent_id
|
||||||
|
|||||||
@ -1,5 +1,23 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="app-container">
|
<div class="app-container">
|
||||||
|
<a-form :model="queryForm" ref="queryFormRef" layout="inline">
|
||||||
|
|
||||||
|
<a-form-item field="doctor_name" label="医生姓名">
|
||||||
|
<a-input :style="{ width: '182px' }" v-model="queryForm.doctor_name" placeholder="请输入姓名" @press-enter="handleQuery" />
|
||||||
|
</a-form-item>
|
||||||
|
<a-form-item field="mobile" label="电话号码">
|
||||||
|
<a-input :style="{ width: '182px' }" v-model="queryForm.mobile" placeholder="请输入电话号码" @press-enter="handleQuery" />
|
||||||
|
</a-form-item>
|
||||||
|
|
||||||
|
<a-form-item>
|
||||||
|
<a-space>
|
||||||
|
<a-button type="primary" @click="handleQuery"><icon-search /> 搜索</a-button>
|
||||||
|
<a-button @click="handleResetQuery"><icon-loop /> 重置</a-button>
|
||||||
|
</a-space>
|
||||||
|
</a-form-item>
|
||||||
|
</a-form>
|
||||||
|
|
||||||
|
<a-divider />
|
||||||
<!-- action -->
|
<!-- action -->
|
||||||
<div class="action">
|
<div class="action">
|
||||||
<a-space>
|
<a-space>
|
||||||
|
|||||||
@ -1,5 +1,23 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="app-container">
|
<div class="app-container">
|
||||||
|
<a-form :model="queryForm" ref="queryFormRef" layout="inline">
|
||||||
|
|
||||||
|
<a-form-item field="doctor_name" label="医生姓名">
|
||||||
|
<a-input :style="{ width: '182px' }" v-model="queryForm.doctor_name" placeholder="请输入姓名" @press-enter="handleQuery" />
|
||||||
|
</a-form-item>
|
||||||
|
<a-form-item field="mobile" label="电话号码">
|
||||||
|
<a-input :style="{ width: '182px' }" v-model="queryForm.mobile" placeholder="请输入电话号码" @press-enter="handleQuery" />
|
||||||
|
</a-form-item>
|
||||||
|
|
||||||
|
<a-form-item>
|
||||||
|
<a-space>
|
||||||
|
<a-button type="primary" @click="handleQuery"><icon-search /> 搜索</a-button>
|
||||||
|
<a-button @click="handleResetQuery"><icon-loop /> 重置</a-button>
|
||||||
|
</a-space>
|
||||||
|
</a-form-item>
|
||||||
|
</a-form>
|
||||||
|
|
||||||
|
<a-divider />
|
||||||
<!-- action -->
|
<!-- action -->
|
||||||
<div class="action">
|
<div class="action">
|
||||||
<a-space>
|
<a-space>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user