修改
This commit is contained in:
parent
3aed378a08
commit
0c514af1a0
@ -9,9 +9,18 @@
|
|||||||
label-width="100px"
|
label-width="100px"
|
||||||
>
|
>
|
||||||
<el-form-item label="所属护理站" prop="nurseStationName">
|
<el-form-item label="所属护理站" prop="nurseStationName">
|
||||||
<el-button type class="stationbtn" @click="ParamsStation(true)">
|
<el-select
|
||||||
{{ queryParams.nurseStationName }}
|
v-model="queryParams.nurseStationId"
|
||||||
</el-button>
|
placeholder="请选择护理站"
|
||||||
|
@change="handleQuery"
|
||||||
|
>
|
||||||
|
<el-option
|
||||||
|
v-for="item in handstationlist"
|
||||||
|
:key="item.id"
|
||||||
|
:label="item.nurseStationName"
|
||||||
|
:value="item.id"
|
||||||
|
></el-option>
|
||||||
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="护理员姓名" prop="nursePersonName">
|
<el-form-item label="护理员姓名" prop="nursePersonName">
|
||||||
<el-input
|
<el-input
|
||||||
@ -437,99 +446,6 @@
|
|||||||
</el-table>
|
</el-table>
|
||||||
</el-form>
|
</el-form>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
<!-- 护理站 -->
|
|
||||||
<el-dialog
|
|
||||||
title="选择护理站"
|
|
||||||
:visible.sync="nurseStationshow"
|
|
||||||
width="1100px"
|
|
||||||
append-to-body
|
|
||||||
:before-close="clicknurseStationshow"
|
|
||||||
>
|
|
||||||
<el-form
|
|
||||||
ref="form"
|
|
||||||
:model="getListByUserquery"
|
|
||||||
label-width="110px"
|
|
||||||
:inline="true"
|
|
||||||
>
|
|
||||||
<el-form-item label="护理站编码" prop="nurseStationCode">
|
|
||||||
<el-input
|
|
||||||
v-model="getListByUserquery.nurseStationCode"
|
|
||||||
placeholder="请输入护理站编码"
|
|
||||||
/>
|
|
||||||
</el-form-item>
|
|
||||||
<el-form-item label="护理站名称" prop="nurseStationName">
|
|
||||||
<el-input
|
|
||||||
v-model="getListByUserquery.nurseStationName"
|
|
||||||
placeholder="请输入护理站名称"
|
|
||||||
/>
|
|
||||||
</el-form-item>
|
|
||||||
<el-form-item>
|
|
||||||
<el-button
|
|
||||||
type="primary"
|
|
||||||
icon="el-icon-search"
|
|
||||||
size="mini"
|
|
||||||
@click="info"
|
|
||||||
>搜索</el-button
|
|
||||||
>
|
|
||||||
<el-button icon="el-icon-refresh" size="mini" @click="stationcancel"
|
|
||||||
>重置</el-button
|
|
||||||
>
|
|
||||||
</el-form-item>
|
|
||||||
</el-form>
|
|
||||||
<el-table
|
|
||||||
v-loading="loading"
|
|
||||||
:data="nurseStationlist"
|
|
||||||
@cell-dblclick="choicestationid"
|
|
||||||
>
|
|
||||||
<el-table-column label="请选择" width="70" align="center">
|
|
||||||
<template slot-scope="scope">
|
|
||||||
<el-button
|
|
||||||
type="primary"
|
|
||||||
style="width: 15px; height: 15px"
|
|
||||||
circle
|
|
||||||
@click="choicestationid(scope.row)"
|
|
||||||
v-if="queryParams.nurseStationId == scope.row.id"
|
|
||||||
></el-button>
|
|
||||||
|
|
||||||
<el-button
|
|
||||||
style="width: 15px; height: 15px"
|
|
||||||
circle
|
|
||||||
v-else
|
|
||||||
@click="choicestationid(scope.row)"
|
|
||||||
></el-button>
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
property="nurseStationCode"
|
|
||||||
label="护理站编码"
|
|
||||||
align="center"
|
|
||||||
></el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
property="nurseStationName"
|
|
||||||
label="护理站名称"
|
|
||||||
align="center"
|
|
||||||
></el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
property="phone"
|
|
||||||
label="联系电话"
|
|
||||||
align="center"
|
|
||||||
></el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
property="address"
|
|
||||||
label="护理站地址"
|
|
||||||
align="center"
|
|
||||||
:show-overflow-tooltip="true"
|
|
||||||
></el-table-column>
|
|
||||||
</el-table>
|
|
||||||
|
|
||||||
<pagination
|
|
||||||
v-show="stationtotal > 0"
|
|
||||||
:total="stationtotal"
|
|
||||||
:page.sync="getListByUserquery.pageNum"
|
|
||||||
:limit.sync="getListByUserquery.pageSize"
|
|
||||||
@pagination="info"
|
|
||||||
/>
|
|
||||||
</el-dialog>
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@ -628,6 +544,7 @@ export default {
|
|||||||
pageNum: 1,
|
pageNum: 1,
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
},
|
},
|
||||||
|
handstationlist: [], //页面搜索list
|
||||||
// 非单个禁用
|
// 非单个禁用
|
||||||
single: true,
|
single: true,
|
||||||
// 非多个禁用
|
// 非多个禁用
|
||||||
@ -668,37 +585,30 @@ export default {
|
|||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.getList();
|
this.getList();
|
||||||
|
this.infos();
|
||||||
|
this.info();
|
||||||
this.baseurl = baseurl;
|
this.baseurl = baseurl;
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
//页面所属护理站
|
//页面所属护理站
|
||||||
ParamsStation(item) {
|
//权限列表
|
||||||
this.info();
|
|
||||||
this.nurseStationshow = true;
|
|
||||||
},
|
|
||||||
//护理站list
|
|
||||||
info() {
|
info() {
|
||||||
getListByUser(this.getListByUserquery).then((res) => {
|
getListByUser(this.queryParams).then(res => {
|
||||||
|
this.total = res.total;
|
||||||
this.nurseStationlist = res.rows;
|
this.nurseStationlist = res.rows;
|
||||||
this.stationtotal = res.total;
|
this.queryParams.nurseStationId = res.rows[0].id;
|
||||||
|
this.getList();
|
||||||
|
// this.handleQuery();
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
clicknurseStationshow() {
|
infos() {
|
||||||
this.nurseStationshow = false;
|
var queryFor = {
|
||||||
},
|
|
||||||
//护理站重置
|
|
||||||
stationcancel() {
|
|
||||||
this.getListByUserquery = {
|
|
||||||
pageNum: 1,
|
pageNum: 1,
|
||||||
pageSize: 10,
|
pageSize: 9999
|
||||||
};
|
};
|
||||||
this.info();
|
getListByUser(queryFor).then(res => {
|
||||||
},
|
this.handstationlist = res.rows;
|
||||||
//护理站页面选择护理站
|
});
|
||||||
choicestationid(item) {
|
|
||||||
this.queryParams.nurseStationName = item.nurseStationName;
|
|
||||||
this.queryParams.nurseStationId = item.id;
|
|
||||||
this.nurseStationshow = false;
|
|
||||||
},
|
},
|
||||||
// 章节视频
|
// 章节视频
|
||||||
itemDirectoryUrl(item) {
|
itemDirectoryUrl(item) {
|
||||||
@ -801,6 +711,7 @@ export default {
|
|||||||
};
|
};
|
||||||
this.resetForm("form");
|
this.resetForm("form");
|
||||||
},
|
},
|
||||||
|
|
||||||
/** 搜索按钮操作 */
|
/** 搜索按钮操作 */
|
||||||
handleQuery() {
|
handleQuery() {
|
||||||
this.queryParams.pageNum = 1;
|
this.queryParams.pageNum = 1;
|
||||||
@ -809,10 +720,17 @@ export default {
|
|||||||
/** 重置按钮操作 */
|
/** 重置按钮操作 */
|
||||||
resetQuery() {
|
resetQuery() {
|
||||||
this.resetForm("queryForm");
|
this.resetForm("queryForm");
|
||||||
this.queryParams = {
|
if (this.nurseStationlist[0]) {
|
||||||
pageNum: 1,
|
this.queryParams.pageNum = 1;
|
||||||
pageSize: 10,
|
this.queryParams.pageSize = 10;
|
||||||
};
|
this.queryParams.nursePersonName=null;
|
||||||
|
this.queryParams.trainingOrderNo=null;
|
||||||
|
this.queryParams.trainingOrderStatus=null;
|
||||||
|
}
|
||||||
|
// this.queryParams = {
|
||||||
|
// pageNum: 1,
|
||||||
|
// pageSize: 10,
|
||||||
|
// };
|
||||||
this.handleQuery();
|
this.handleQuery();
|
||||||
},
|
},
|
||||||
// 多选框选中数据
|
// 多选框选中数据
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user