Browse Source

双击表单不新增

360view
bianyaqi 2 years ago
parent
commit
d44b58ed3e
  1. 4
      public/index.html
  2. 4
      src/components/360View/medicalRecord/callMedical/index.vue
  3. 4
      src/components/360View/opticalFile/index.vue
  4. 114
      src/page-subspecialty/views/modules/nurseManagement/addProject.vue
  5. 9
      src/page-subspecialty/views/modules/nurseManagement/index.vue
  6. 59
      src/page-subspecialty/views/modules/nurseManagement/orderPatientList.vue

4
public/index.html

@ -39,8 +39,8 @@
<% if (process.env.VUE_APP_NODE_ENV === 'dev') { %>
<script>
//http://121.36.16.195:9002/huimu-admin/swagger-ui/index.html
// window.SITE_CONFIG['apiURL'] = 'http://47.110.224.240:8036/xiangan-crf';
window.SITE_CONFIG['apiURL'] = 'http://192.168.0.167:8036/xiangan-crf';
window.SITE_CONFIG['apiURL'] = 'http://47.110.224.240:8036/xiangan-crf';
// window.SITE_CONFIG['apiURL'] = 'http://192.168.0.167:8036/xiangan-crf';
</script>
<% } %>
<!-- 测试环境 -->

4
src/components/360View/medicalRecord/callMedical/index.vue

@ -18,9 +18,9 @@
<span class="line" />
<el-checkbox v-model="defaultChecked">默认新建今日</el-checkbox>
</div>
<div v-if="isSearch === '1'" class="record" @click="addRecord('门急诊电子病历')">
<div v-if="isSearch === '1'" class="record">
<p>门急诊电子病历</p>
<img v-if="!onlyRead" :src="require('@/assets/img/add.png')" alt="">
<img v-if="!onlyRead" :src="require('@/assets/img/add.png')" alt="" @click="addRecord('门急诊电子病历')">
</div>
<div class="comonForm-tab">
<el-radio-group v-model="formType" size="small">

4
src/components/360View/opticalFile/index.vue

@ -17,9 +17,9 @@
<span class="line" />
<el-checkbox v-model="defaultChecked">默认新建今日</el-checkbox>
</div>
<div class="record" @click="addRecord(1,'验光报告单')">
<div class="record">
<p>验光报告单</p>
<img v-if="!onlyRead" :src="require('@/assets/img/add.png')" alt="">
<img v-if="!onlyRead" :src="require('@/assets/img/add.png')" alt="" @click="addRecord(1,'验光报告单')">
</div>
<div class="comonForm-tab">
<el-radio-group v-model="formType" size="small">

114
src/page-subspecialty/views/modules/nurseManagement/addProject.vue

@ -32,7 +32,84 @@
</el-form-item>
</div>
</el-form>
<el-table />
<el-table
:data="tableData"
border
style="width: 100%"
>
<el-table-column
prop="time"
label="开启设置"
width="90"
>
<template slot-scope="scope">
<span style="margin-left: 10px">{{ scope.row.time }}</span>
</template>
</el-table-column>
<el-table-column
prop="Mon"
label="周一"
align="center"
>
<template slot-scope="scope">
<input class="checkTime" type="checkbox" :ischecked="scope.row.MonTime">
</template>
</el-table-column>
<el-table-column
prop="Tues"
label="周二"
align="center"
>
<template slot-scope="scope">
<input class="checkTime" type="checkbox" :ischecked="scope.row.TuesTime">
</template>
</el-table-column>
<el-table-column
prop="Wed"
label="周三"
align="center"
>
<template slot-scope="scope">
<input class="checkTime" type="checkbox" :ischecked="scope.row.WedTime">
</template>
</el-table-column>
<el-table-column
prop="Thur"
label="周四"
align="center"
>
<template slot-scope="scope">
<input class="checkTime" type="checkbox" :ischecked="scope.row.ThurTime">
</template>
</el-table-column>
<el-table-column
prop="Fri"
label="周五"
align="center"
>
<template slot-scope="scope">
<input class="checkTime" type="checkbox" :ischecked="scope.row.FriTime">
</template>
</el-table-column>
<el-table-column
prop="Sat"
label="周六"
align="center"
>
<template slot-scope="scope">
<input class="checkTime" type="checkbox" :ischecked="scope.row.SatTime">
</template>
</el-table-column>
<el-table-column
prop="Sun"
label="周日"
align="center"
>
<template slot-scope="scope">
<input class="checkTime" type="checkbox" :ischecked="scope.row.SunTime">
</template>
</el-table-column>
</el-table>
</my-dialog>
</template>
@ -62,7 +139,30 @@ export default {
}, {
value: '选项2',
label: '双皮奶'
}]
}],
tableData: [
{
Mon: 'Mon',
time: '上午',
MonTime: false,
TuesTime: false,
WedTime: false,
ThurTime: false,
FriTime: false,
SatTime: false,
SunTime: false
}, {
Mon: 'Mon',
time: '下午',
MonTime: false,
TuesTime: false,
WedTime: false,
ThurTime: false,
FriTime: false,
SatTime: false,
SunTime: false
}
]
}
},
watch: {
@ -79,6 +179,12 @@ export default {
}
</script>
<style scoped>
<style lang="scss" scoped>
input{
-webkit-appearance: checkbox;
}
.checkTime{
width: 16px;
height: 16px;
}
</style>

9
src/page-subspecialty/views/modules/nurseManagement/index.vue

@ -3,9 +3,11 @@
<el-button type="text" @click="isShow = true">点击打开 Dialog</el-button>
<el-button type="text" @click="ubmShow = true">UBM预约</el-button>
<el-button type="text" @click="addShow = true">新增</el-button>
<el-button type="text" @click="listShow = true">预约患者列表</el-button>
<re-dialog :is-show="isShow" @close="closeDialog" />
<u-b-m-order :is-show="ubmShow" @close="closeDialog" />
<add-project :is-show="addShow" @close="closeDialog" />
<order-patient-list :is-show="listShow" @close="closeDialog" />
</div>
</template>
@ -13,15 +15,17 @@
import ReDialog from '@/page-subspecialty/views/modules/nurseManagement/reDialog.vue'
import UBMOrder from '@/page-subspecialty/views/modules/nurseManagement/UBMOrder.vue'
import AddProject from '@/page-subspecialty/views/modules/nurseManagement/addProject.vue'
import OrderPatientList from '@/page-subspecialty/views/modules/nurseManagement/orderPatientList.vue'
export default {
name: 'NurseManagement',
components: { AddProject, UBMOrder, ReDialog },
components: { OrderPatientList, AddProject, UBMOrder, ReDialog },
data() {
return {
isShow: false,
ubmShow: false, // ubm
addShow: false
addShow: false,
listShow: false
}
},
methods: {
@ -29,6 +33,7 @@ export default {
this.isShow = val
this.ubmShow = val
this.addShow = val
this.listShow = val
}
}
}

59
src/page-subspecialty/views/modules/nurseManagement/orderPatientList.vue

@ -0,0 +1,59 @@
<template>
<el-dialog
:visible.sync="dialogVisible"
width="40%"
:show-close="false"
:before-close="closeDialog"
>
<div slot="title" style="display: flex;justify-content: space-between">
<div>
<div class="title_header">已约患者列表</div>
<div style="margin: 8px 0">202-11-23 上午</div>
<div>眼前节激光治疗</div>
</div>
<div style="font-size: 22px">
<i class="el-icon-close" @click="closeDialog" />
</div>
</div>
</el-dialog>
</template>
<script>
export default {
name: 'OrderPatientList',
props: {
isShow: {
type: Boolean,
default: false
}
},
data() {
return {
title: '',
dialogVisible: false
}
},
watch: {
isShow(val) {
this.dialogVisible = val
}
},
methods: {
closeDialog(val) {
this.dialogVisible = val
this.$emit('close', false)
}
}
}
</script>
<style lang="scss" scoped>
::v-deep .el-dialog__header{
background:linear-gradient(#1B5BFB 80% , #1B5BFB 100%);
color: #fff;
}
.title_header{
font-size: 20px;
font-weight: bold;
}
</style>
Loading…
Cancel
Save