完善互斥和新主工作页面

main
yanzai 9 months ago
parent 065abec30d
commit 09808c33cd

@ -81,14 +81,15 @@
<el-dialog v-model="ItemDialogVisible" title="编辑项目" width="40%"> <el-dialog v-model="ItemDialogVisible" title="编辑项目" width="40%">
<div class="row"><span class="title">医嘱名称</span>{{selectedItemInfo.item_name}}</div> <div class="row"><span class="title">医嘱名称</span>{{selectedItemInfo.item_name}}</div>
<div class="row"><span class="title">预约方式</span> <div class="row"><span class="title">预约方式</span>
<!-- <el-select style=" width: 200px;" clearable <!-- <el-select style=" width: 200px;" clearable
v-model="selectedItemInfo.reservation_method" placeholder="预约方式"> v-model="selectedItemInfo.reservation_method" placeholder="预约方式">
<el-option v-for="(item, index) in yuyueType" :key="index" :label="item.name" :value="item.id" /> <el-option v-for="(item, index) in yuyueType" :key="index" :label="item.name" :value="item.id" />
</el-select> --> </el-select> -->
<el-checkbox-group v-if="yuyueType" v-model="selectedItemInfo.reservation_method"> <el-checkbox-group v-if="yuyueType" v-model="selectedItemInfo.reservation_method">
<el-checkbox v-for="(item, index) in yuyueType" :label="item.id" :value="item.id" :key="index">{{item.name}}</el-checkbox> <el-checkbox v-for="(item, index) in yuyueType" :label="item.id" :value="item.id"
:key="index">{{item.name}}</el-checkbox>
</el-checkbox-group> </el-checkbox-group>
</div> </div>
<div class="row"><span class="title">空腹</span><el-select :filterable="true" clearable <div class="row"><span class="title">空腹</span><el-select :filterable="true" clearable
v-model="selectedItemInfo.limosis" placeholder="是否空腹" style=" width: 100px;"> v-model="selectedItemInfo.limosis" placeholder="是否空腹" style=" width: 100px;">
<el-option label="否" :value="0" /> <el-option label="否" :value="0" />
@ -99,7 +100,9 @@
<div class="row"><span class="title">检查时间</span><el-input v-model="selectedItemInfo.check_time" <div class="row"><span class="title">检查时间</span><el-input v-model="selectedItemInfo.check_time"
placeholder="请输入此项检查的时长" style="width: 200px;" /></div> placeholder="请输入此项检查的时长" style="width: 200px;" /></div>
<div class="row"><span class="title">等待时间</span><el-input v-model="selectedItemInfo.check_begin_time" <div class="row"><span class="title">等待时间</span><el-input v-model="selectedItemInfo.check_begin_time"
placeholder="开医嘱后,等待时间" style="width: 200px;" /><div style="margin-left: 4px;">医嘱开具后预约时间需在设定的等待期之后,单位分钟</div></div> placeholder="开医嘱后,等待时间" style="width: 200px;" />
<div style="margin-left: 4px;">医嘱开具后预约时间需在设定的等待期之后,单位分钟</div>
</div>
<div class="row"><span class="title">检查须知</span><el-input v-model="selectedItemInfo.check_notice" <div class="row"><span class="title">检查须知</span><el-input v-model="selectedItemInfo.check_notice"
@ -114,9 +117,9 @@
</span> </span>
</template> </template>
</el-dialog> </el-dialog>
<el-dialog v-model="HuChiDialogVisible" :title="'为 '+SelectedHuChiItemInfo.name+' 设置互斥'" width="80%" > <el-dialog v-model="HuChiDialogVisible" :title="'为 '+SelectedHuChiItemInfo.name+' 设置互斥'" width="80%">
请输入想要与 <span style="font-weight: 900;font-size: 16px;">{{SelectedHuChiItemInfo.name}}</span> 互斥的项目名称 请输入想要与 <span style="font-weight: 900;font-size: 16px;">{{SelectedHuChiItemInfo.name}}</span> 互斥的项目名称
<!-- <div v-if="itemHuChiList.length>0"> <!-- <div v-if="itemHuChiList.length>0">
<div class="row" v-for="(item,index) in itemHuChiList" :key="index"> <div class="row" v-for="(item,index) in itemHuChiList" :key="index">
<div class="col">{{item.code1_item_name}}</div> <div class="col">{{item.code1_item_name}}</div>
@ -126,35 +129,62 @@
</div> </div>
</div> --> </div> -->
<div style="display: flex;margin-top: 20px;"> <div style="display: flex;margin-top: 20px;">
<div style="width: 30%;border-right: 1px solid #ccc;padding:4px 20px;"> <div style="width: 30%;border-right: 1px solid #ccc;padding:4px 20px;">
<div class="row" v-loading="HuChiLoading" style="border-bottom: 1px solid #ccc;padding-bottom: 12px;margin-bottom: 20px;"> <div v-loading="HuChiLoading"
<el-input v-model="HuChi_InputItem" placeholder="项目搜索" style="width: 200px;" /> style="border-bottom: 1px solid #ccc;padding-bottom: 12px;margin-bottom: 20px;">
<el-button type="success" style="margin-left: 8px;" @click="HuChi_SearchItem()"></el-button> <div style="display: flex;margin-bottom: 8px;">
<el-select clearable :filterable="true" v-model="HuChi_bigClass"
@change="GetItemClassList('Dialog')" placeholder="所有医嘱大类">
<el-option v-for="(item, index) in DialogBigClassList" :key="index"
:label="item.item_class_name" :value="item.id" />
</el-select>
<el-select :filterable="true" clearable v-model="HuChi_smallClass" placeholder="所有医嘱小类" @change="HuChi_SearchItem()"
style="margin-left: 10px;">
<el-option v-for="(item, index) in DialogSmallClassList" :key="index"
:label="item.item_class_name" :value="item.id" />
</el-select>
</div>
<div>
<el-input v-model="HuChi_InputItem" placeholder="项目搜索" style="width: 200px;" />
<el-button type="success" style="margin-left: 8px;" @click="HuChi_SearchItem()"></el-button>
</div>
</div> </div>
<div style="padding-left: 40px;max-height: 400px;overflow-y:scroll;"> <div style="padding-left: 40px;max-height: 400px;overflow-y:scroll;">
<el-checkbox-group v-model="HuChiCheckedItems" style="display: flex;flex-direction: column;"> <el-checkbox-group v-model="HuChiCheckedItems" style="display: flex;flex-direction: column;">
<el-checkbox v-for="(item1,index1) in HuChiSelectItemList" :key="index1" :label="item1.item_code" >{{item1.item_name}}</el-checkbox> <el-checkbox v-for="(item1,index1) in HuChiSelectItemList" :key="index1"
</el-checkbox-group> :label="item1.item_code">{{item1.item_name}}</el-checkbox>
</el-checkbox-group>
</div> </div>
</div> </div>
<div style="width: 100px;border-right: 1px solid #ccc;text-align: center;height:400px;line-height: 400px;"> <div
<el-button type="primary" :icon="ArrowRight" circle @click="AddHuChiItem()" /> style="width: 100px;border-right: 1px solid #ccc;text-align: center;height:400px;line-height: 400px;">
<el-button type="primary" :icon="ArrowRight" circle @click="AddHuChiItem()" />
</div> </div>
<div style="width: 60%;padding-left: 20px;max-height: 450px;overflow-y:scroll;"> <div style="width: 60%;padding-left: 20px;max-height: 450px;overflow-y:scroll;">
<div style="color: #999;margin-bottom: 4px;font-size: 12px;">已经存在互斥项{{itemHuChiList.length}}</div> <div style="color: #999;margin-bottom: 4px;font-size: 12px;">已经存在互斥项{{itemHuChiList.length}}</div>
<table id="huchi_table" v-if="itemHuChiList.length>0"> <table id="huchi_table" v-if="itemHuChiList.length>0">
<tr v-for="(item,index) in itemHuChiList" :key="index"> <tr v-for="(item,index) in itemHuChiList" :key="index">
<td >{{item.code2_item_name}}</td> <td>{{item.code2_item_name}}</td>
<td ><el-input v-model="itemHuChiList[index].time" placeholder="时间,0为永久互斥" style="width: 150px;" /><span style="font-size: 12px;color:#bbb;"> </span></td> <td><el-input v-model="itemHuChiList[index].time" placeholder="时间,0为永久互斥"
<td > style="width: 150px;" /><span style="font-size: 12px;color:#bbb;"> 小时</span></td>
<td>
<span v-if="item.id" style="display: flex;"> <span v-if="item.id" style="display: flex;">
<el-button type="danger" style="margin-left: 8px;" @click="HuChi_Del(item.id)"></el-button> <el-button type="danger" style="margin-left: 8px;"
<el-button type="primary" style="margin-left: 8px;" @click="HuChi_Save(SelectedHuChiItemInfo.code,item.code2,itemHuChiList[index].time,item.id)"></el-button> @click="HuChi_Del(item.id)">解除</el-button>
<el-button type="primary" style="margin-left: 8px;"
@click="HuChi_Save(SelectedHuChiItemInfo.code,item.code2,itemHuChiList[index].time,item.id)">更新</el-button>
</span> </span>
<span v-else style="display: flex;"> <span v-else style="display: flex;">
<el-button type="success" style="margin-left: 8px;" @click="HuChi_Save(SelectedHuChiItemInfo.code,item.code2,itemHuChiList[index].time)"></el-button> <el-button type="success" style="margin-left: 8px;"
<el-button style="margin-left: 8px;" @click="HuChi_YiChu(item)"></el-button> @click="HuChi_Save(SelectedHuChiItemInfo.code,item.code2,itemHuChiList[index].time)">保存</el-button>
<el-button style="margin-left: 8px;" @click="HuChi_YiChu(item)"></el-button>
</span> </span>
</td> </td>
</tr> </tr>
@ -164,17 +194,22 @@
</div> </div>
</div> </div>
</div> </div>
</el-dialog> </el-dialog>
<el-dialog v-model="HuChiSelectDialogVisible" :title="'为 '+SelectedHuChiItemInfo.name+' 设置互斥'" width="50%"> <el-dialog v-model="HuChiSelectDialogVisible" :title="'为 '+SelectedHuChiItemInfo.name+' 设置互斥'" width="50%">
<div v-loading="HuChiLoading"> <div v-loading="HuChiLoading">
<span style="font-weight: 900;">设置互斥时间单位小时0为永久互斥</span> <span style="font-weight: 900;">设置互斥时间单位小时0为永久互斥</span>
<div class="row" v-for="(item,index) in HuChiSelectItemList" :key="index" > <div class="row" v-for="(item,index) in HuChiSelectItemList" :key="index">
<div style="margin-right: 12px;">{{SelectedHuChiItemInfo.name}} </div> <div style="margin-right: 12px;">{{SelectedHuChiItemInfo.name}} </div>
<el-icon><DArrowLeft /></el-icon><el-icon><DArrowRight /></el-icon> <el-icon>
<div style="margin-left: 12px; width: 250px;">{{item.item_name}} </div> <DArrowLeft />
<el-input v-model="HuChi_InputTimeList[index]" placeholder="时间,0为永久互斥" style="width: 150px;" /> </el-icon><el-icon>
<el-button type="danger" style="margin-left: 8px;" @click="HuChi_Save(SelectedHuChiItemInfo.code,item.item_code,HuChi_InputTimeList[index])"></el-button> <DArrowRight />
</el-icon>
<div style="margin-left: 12px; width: 250px;">{{item.item_name}} </div>
<el-input v-model="HuChi_InputTimeList[index]" placeholder="时间,0为永久互斥" style="width: 150px;" />
<el-button type="danger" style="margin-left: 8px;"
@click="HuChi_Save(SelectedHuChiItemInfo.code,item.item_code,HuChi_InputTimeList[index])">添加</el-button>
</div> </div>
</div> </div>
</el-dialog> </el-dialog>
@ -182,7 +217,6 @@
</template> </template>
<script setup> <script setup>
import { import {
ref, ref,
onMounted onMounted
@ -199,7 +233,8 @@
GetHuChiList GetHuChiList
} from '@/api/api.js' } from '@/api/api.js'
import { import {
ElMessage,ElMessageBox ElMessage,
ElMessageBox
} from 'element-plus' } from 'element-plus'
import { import {
ArrowRight ArrowRight
@ -219,21 +254,34 @@
limosis: '', limosis: '',
reservation_method: '', reservation_method: '',
check_time: '', check_time: '',
check_begin_time:'', check_begin_time: '',
check_notice: '' check_notice: ''
}) })
//list //list
let BigClassList = ref([]); let BigClassList = ref([]);
let SmallClassList = ref([]); let SmallClassList = ref([]);
const GetItemClassList = () => { let DialogBigClassList = ref([]);
let DialogSmallClassList = ref([]);
const GetItemClassList = (type='') => {
let searchData={}
searchData= { ...searchInfo.value }
if(type=='Dialog'){
searchData.bigClass=HuChi_bigClass.value
}
loading.value = true loading.value = true
GetCheckItemClassList({ GetCheckItemClassList({
searchInfo: searchInfo.value searchInfo: searchData
}).then(res => { }).then(res => {
loading.value = false loading.value = false
if (res.status) { if (res.status) {
BigClassList.value = res.data.bigClass if(type=='Dialog'){
SmallClassList.value = res.data.smallClass DialogBigClassList.value = res.data.bigClass
DialogSmallClassList.value = res.data.smallClass
}else{
BigClassList.value = res.data.bigClass
SmallClassList.value = res.data.smallClass
}
GetItemList() GetItemList()
} else { } else {
ElMessage.error(res.msg) ElMessage.error(res.msg)
@ -256,7 +304,7 @@
}).then(res => { }).then(res => {
loading.value = false loading.value = false
if (res.status) { if (res.status) {
let list =res.data.list; let list = res.data.list;
// list.forEach(function(v,i){ // list.forEach(function(v,i){
// if(v.reservation_method){ // if(v.reservation_method){
// list[i].reservation_method=v.reservation_method.split(",") // list[i].reservation_method=v.reservation_method.split(",")
@ -332,8 +380,8 @@
selectedItemInfo.value.limosis = row.limosis selectedItemInfo.value.limosis = row.limosis
selectedItemInfo.value.reservation_method = row.reservation_method selectedItemInfo.value.reservation_method = row.reservation_method
selectedItemInfo.value.check_time = row.check_time selectedItemInfo.value.check_time = row.check_time
if(row.check_begin_time=='' || row.check_begin_time==null){ if (row.check_begin_time == '' || row.check_begin_time == null) {
row.check_begin_time=0 row.check_begin_time = 0
} }
selectedItemInfo.value.check_begin_time = row.check_begin_time selectedItemInfo.value.check_begin_time = row.check_begin_time
selectedItemInfo.value.check_notice = row.check_notice selectedItemInfo.value.check_notice = row.check_notice
@ -351,7 +399,7 @@
}) })
} }
// //
const SaveItemInfoFunc = () => { const SaveItemInfoFunc = () => {
SaveItemInfo({ SaveItemInfo({
Info: selectedItemInfo.value Info: selectedItemInfo.value
}).then(res => { }).then(res => {
@ -365,40 +413,47 @@
} }
let HuChiDialogVisible = ref(false); let HuChiDialogVisible = ref(false);
let HuChi_InputItem = ref(''); let HuChi_InputItem = ref('');
let HuChi_smallClass=ref(null);
let HuChi_bigClass=ref(null)
let HuChiSelectItemList = ref(null) let HuChiSelectItemList = ref(null)
let HuChiSelectDialogVisible=ref(false); let HuChiSelectDialogVisible = ref(false);
let HuChi_InputTimeList=ref([]);// let HuChi_InputTimeList = ref([]); //
let HuChiLoading=ref(false); let HuChiLoading = ref(false);
let HuChiCheckedItems=ref([]);// let HuChiCheckedItems = ref([]); //
let SelectedHuChiItemInfo=ref({ let SelectedHuChiItemInfo = ref({
code:'', code: '',
name:'' name: ''
}) })
const HuChi = (row) => { const HuChi = (row) => {
HuChiDialogVisible.value = true HuChiDialogVisible.value = true
SelectedHuChiItemInfo.value.name = row.item_name SelectedHuChiItemInfo.value.name = row.item_name
SelectedHuChiItemInfo.value.code = row.item_code SelectedHuChiItemInfo.value.code = row.item_code
HuChiSelectItemList.value=[]; HuChiSelectItemList.value = [];
HuChi_InputItem.value=''; HuChi_InputItem.value = '';
GetItemClassList('Dialog')
HuChiList() HuChiList()
} }
const HuChi_SearchItem = () => { const HuChi_SearchItem = () => {
if(HuChi_InputItem.value=='' || HuChi_InputItem.value==null) return
HuChiLoading.value=true HuChiLoading.value = true
HuChi_InputTimeList.value=[]; HuChi_InputTimeList.value = [];
GetCheckItemList({ GetCheckItemList({
searchInfo: {name:HuChi_InputItem.value}, searchInfo: {
name: HuChi_InputItem.value,
bigClass: HuChi_bigClass.value,
smallClass: HuChi_smallClass.value
},
page: 1, page: 1,
pageSize: 100 pageSize: 100
}).then(res => { }).then(res => {
HuChiLoading.value=false HuChiLoading.value = false
if (res.status) { if (res.status) {
if(res.data.list.length>0){ if (res.data.list.length > 0) {
HuChiSelectItemList.value = res.data.list HuChiSelectItemList.value = res.data.list
}else{ } else {
ElMessage.error('未找到相关项目') ElMessage.error('未找到相关项目')
} }
} else { } else {
ElMessage.error(res.msg) ElMessage.error(res.msg)
} }
@ -406,115 +461,121 @@
}) })
} }
// //
const AddHuChiItem=()=>{ const AddHuChiItem = () => {
console.log(HuChiCheckedItems.value); console.log(HuChiCheckedItems.value);
//HuChiSelectItemList.value //HuChiSelectItemList.value
let newArr = []; let newArr = [];
let removedArr = []; let removedArr = [];
// //
let enable=true let enable = true
itemHuChiList.value.forEach(function(v,i){ itemHuChiList.value.forEach(function(v, i) {
HuChiCheckedItems.value.forEach(function(v2,i2){ HuChiCheckedItems.value.forEach(function(v2, i2) {
if(v.code2==v2){ if (v.code2 == v2) {
ElMessage.error(v.code2_item_name+" 已经存在于右侧,不能重复添加") ElMessage.error(v.code2_item_name + " 已经存在于右侧,不能重复添加")
enable=false enable = false
} }
}) })
}) })
if(!enable) return false; if (!enable) return false;
HuChiSelectItemList.value.forEach(item => { HuChiSelectItemList.value.forEach(item => {
if (HuChiCheckedItems.value.includes(item.item_code)) { if (HuChiCheckedItems.value.includes(item.item_code)) {
itemHuChiList.value.push({code2:item.item_code,code2_item_name:item.item_name}); // ididremovedArr itemHuChiList.value.push({
} else { code2: item.item_code,
newArr.push(item); // newArr code2_item_name: item.item_name
} }); // ididremovedArr
}); } else {
HuChiSelectItemList.value=newArr; newArr.push(item); // newArr
}
console.log(removedArr); });
console.log(itemHuChiList.value); HuChiSelectItemList.value = newArr;
HuChiCheckedItems.value=[]
console.log(removedArr);
console.log(itemHuChiList.value);
HuChiCheckedItems.value = []
} }
// //
const HuChi_YiChu=(y_item)=>{ const HuChi_YiChu = (y_item) => {
itemHuChiList.value=itemHuChiList.value.filter(item => item.code2 != y_item.code2); itemHuChiList.value = itemHuChiList.value.filter(item => item.code2 != y_item.code2);
if(!HuChiSelectItemList.value.find(item => item.item_code==y_item.code2)){ if (!HuChiSelectItemList.value.find(item => item.item_code == y_item.code2)) {
HuChiSelectItemList.value.push({item_code:y_item.code2,item_name:y_item.code2_item_name}); HuChiSelectItemList.value.push({
item_code: y_item.code2,
item_name: y_item.code2_item_name
});
} }
} }
// //
const HuChi_Save=(code1,code2,time,id=0)=>{ const HuChi_Save = (code1, code2, time, id = 0) => {
HuChiLoading.value=true HuChiLoading.value = true
SetHuChi({ SetHuChi({
id:id, id: id,
code1: code1, code1: code1,
code2: code2, code2: code2,
time: time time: time
}).then(res => { }).then(res => {
HuChiLoading.value=false HuChiLoading.value = false
if (res.status) { if (res.status) {
ElMessage({ ElMessage({
message: res.msg, message: res.msg,
type: 'success', type: 'success',
}) })
itemHuChiList.value.forEach(function(v,i){ itemHuChiList.value.forEach(function(v, i) {
if(v.code2==res.data.code2){ if (v.code2 == res.data.code2) {
console.log(333); console.log(333);
itemHuChiList.value[i].id=res.data.id itemHuChiList.value[i].id = res.data.id
} }
}) })
} else { } else {
ElMessage.error(res.msg) ElMessage.error(res.msg)
} }
}) })
} }
// //
let itemHuChiList=ref([]); let itemHuChiList = ref([]);
const HuChiList=()=>{ const HuChiList = () => {
HuChiLoading.value=true HuChiLoading.value = true
GetHuChiList({ GetHuChiList({
code: SelectedHuChiItemInfo.value.code code: SelectedHuChiItemInfo.value.code
}).then(res => { }).then(res => {
HuChiLoading.value=false HuChiLoading.value = false
if (res.status) { if (res.status) {
itemHuChiList.value=res.data itemHuChiList.value = res.data
} else { } else {
ElMessage.error(res.msg) ElMessage.error(res.msg)
} }
}) })
} }
// //
const HuChi_Del=(id)=>{ const HuChi_Del = (id) => {
ElMessageBox.confirm( ElMessageBox.confirm(
'确定解除此项互斥关系吗?', '确定解除此项互斥关系吗?',
'提示', { '提示', {
confirmButtonText: '确定', confirmButtonText: '确定',
cancelButtonText: '取消', cancelButtonText: '取消',
type: 'warning', type: 'warning',
} }
) )
.then(() => { .then(() => {
HuChiLoading.value=true HuChiLoading.value = true
DelHuChi({ DelHuChi({
id:id id: id
}).then(res => { }).then(res => {
HuChiLoading.value=false HuChiLoading.value = false
if (res.status) { if (res.status) {
ElMessage({ ElMessage({
message: res.msg, message: res.msg,
type: 'success', type: 'success',
}) })
HuChiList(); HuChiList();
} else { } else {
ElMessage.error(res.msg) ElMessage.error(res.msg)
} }
}) })
}) })
} }
onMounted(() => { onMounted(() => {
GetItemClassList() GetItemClassList()
@ -548,23 +609,27 @@
width: 100px; width: 100px;
text-align: left; text-align: left;
} }
.col{
.col {
border: 1px solid #ddd; border: 1px solid #ddd;
padding: 4px; padding: 4px;
width: 400px; width: 400px;
} }
#huchi_table{
width: 100%;border: 1px solid #ccc; #huchi_table {
border-collapse: collapse; width: 100%;
border: 1px solid #ccc;
border-collapse: collapse;
} }
#huchi_table tr{
#huchi_table tr {
border: 1px solid #ccc; border: 1px solid #ccc;
} }
#huchi_table td{
#huchi_table td {
border: 1px solid #ccc; border: 1px solid #ccc;
padding: 4px 8px; padding: 4px 8px;
} }
</style> </style>

@ -11,11 +11,27 @@
type="daterange" range-separator="至" start-placeholder="开始时间" end-placeholder="结束时间" type="daterange" range-separator="至" start-placeholder="开始时间" end-placeholder="结束时间"
value-format="YYYY-MM-DD" /> value-format="YYYY-MM-DD" />
</el-form-item> </el-form-item>
<el-form-item>
<el-select :filterable="true" clearable v-model="searchInfo.list_status" placeholder="状态"
style="margin-left: 8px;width: 150px;">
<el-option label="申请中" value="0" />
<el-option label="已预约" value="1" />
<el-option label="已报道" value="2" />
<el-option label="已结束" value="3" />
</el-select>
</el-form-item>
<el-form-item>
<el-input v-model="searchInfo.reg_num" placeholder="登记号" style="width: 200px;margin-left: 8px;" />
</el-form-item>
<el-form-item>
<el-input v-model="searchInfo.user_name" placeholder="患者姓名"
style="width: 200px;margin-left: 8px;" />
</el-form-item>
<!-- <el-form-item> <!-- <el-form-item>
<el-input v-model="searchInfo.name" placeholder="请输入类型名称" style="margin-left: 10px;" /> <el-input v-model="searchInfo.name" placeholder="请输入类型名称" style="margin-left: 10px;" />
</el-form-item> --> </el-form-item> -->
<el-button type="primary" @click="GetList()" style="margin-left: 10px;">查询</el-button> <el-button type="primary" @click="GetList()" style="margin-left: 10px;">查询</el-button>
<el-button type="success" @click="Add()" style="margin-left: 10px;">添加</el-button> <!-- <el-button type="success" @click="Add()" style="margin-left: 10px;">添加</el-button> -->
</el-row> </el-row>
</div> </div>
</div> </div>

Loading…
Cancel
Save