Commit fa0cb01e authored by yanglilong's avatar yanglilong

'修改账单'

parent 9b2ab5f4
...@@ -14,7 +14,7 @@ const TOKEN_INVLIDE_TO_LOGIN = (code) => { ...@@ -14,7 +14,7 @@ const TOKEN_INVLIDE_TO_LOGIN = (code) => {
}); });
} }
// 清除个人数据 // 清除个人数据
store.commit("user/setUserInfo", ""); store.commit("common/setUserInfo", "");
route.replace({ route.replace({
path: "/login", path: "/login",
}); });
......
...@@ -87,7 +87,7 @@ export default [ ...@@ -87,7 +87,7 @@ export default [
{ {
icon: "ssiscan", icon: "ssiscan",
path: "/bi", path: "/bi",
title: "", title: "",
children: [], children: [],
}, },
]; ];
This diff is collapsed.
This diff is collapsed.
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
</a-table> </a-table>
<!--分页--> <!--分页-->
<BurtPagination :pagination="pagination" @pageChange="getTableList" /> <BurtPagination :pagination="pagination" @pageChange="getTableList" />
<a-modal title="编辑" :visible="dialogShow" width="60%" :maskClosable="false" <a-modal :title="editFormObj.id?'编辑':'新增'" :visible="dialogShow" width="60%" :maskClosable="false"
okText="确定" cancelText="取消" @ok="handleEditOK" @cancel="dialogShow = false"> okText="确定" cancelText="取消" @ok="handleEditOK" @cancel="dialogShow = false">
<a-form-model layout="vertical" ref="editForm" :model="editFormObj" :rules="editRules"> <a-form-model layout="vertical" ref="editForm" :model="editFormObj" :rules="editRules">
<a-row :gutter="30"> <a-row :gutter="30">
......
...@@ -97,17 +97,16 @@ ...@@ -97,17 +97,16 @@
<span>{{ filterSpecialty(record.specialtyList) }}</span> <span>{{ filterSpecialty(record.specialtyList) }}</span>
</template> </template>
<template slot="operation" slot-scope="text, record, index"> <template slot="operation" slot-scope="text, record, index">
<a-button type="link" @click.stop="editEvt(record)">{{ record.edit ? "保存" : "修改"}}</a-button> <a-button type="link" @click.stop="editEvt(record)">修改</a-button>
<a-button type="link" class="danger" @click.stop="delRecord(index)">删除</a-button> <a-button type="link" class="danger" @click.stop="delRecord(index)">删除</a-button>
</template> </template>
</a-table> </a-table>
<!--分页--> <!--分页-->
<BurtPagination :pagination="pagination" @pageChange="getDoctorList" /> <BurtPagination :pagination="pagination" @pageChange="getDoctorList" />
<a-modal title="编辑" :visible="dialogShow" width="700px" :maskClosable="false" <a-modal title="编辑" :visible="dialogShow" width="60%" :maskClosable="false"
okText="确定" cancelText="取消" okText="确定" cancelText="取消"
@ok="handleEditOK" @cancel="dialogShow = false"> @ok="handleEditOK" @cancel="dialogShow = false">
<a-form-model ref="editForm" :model="editFormObj" <a-form-model ref="editForm" :model="editFormObj" :rules="editRules">
:rules="editRules" :label-col="labelCol" :wrapper-col="wrapperCol">
<a-form-model-item label="科室" prop="specialtyList"> <a-form-model-item label="科室" prop="specialtyList">
<a-select v-model="editFormObj.specialtyList" placeholder="请选择" mode="multiple"> <a-select v-model="editFormObj.specialtyList" placeholder="请选择" mode="multiple">
<a-select-option :value="item.id" v-for="item in specialtyList" :key="item.id">{{ item.specialtyDesc }}</a-select-option> <a-select-option :value="item.id" v-for="item in specialtyList" :key="item.id">{{ item.specialtyDesc }}</a-select-option>
...@@ -157,8 +156,6 @@ export default { ...@@ -157,8 +156,6 @@ export default {
data() { data() {
return { return {
dialogShow: false, dialogShow: false,
labelCol: { span: 4 },
wrapperCol: { span: 20 },
columns, columns,
dataList: [], dataList: [],
detailObj: {}, //详细信息 detailObj: {}, //详细信息
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment