Commit 4997be46 authored by 王飞龙's avatar 王飞龙

设备地区修改

parent 30d02e97
......@@ -8,7 +8,7 @@
<div>
<img src="../../../assets/data_statistics/guahao_img_wushuju.png">
</div>
<div>暂无数据</div>
<div>-</div>
</div>
</div>
</div>
......
......@@ -285,8 +285,9 @@
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="缴费金额">
<el-input v-model="form.payAmount" :disabled="true" placeholder="-" />
<el-form-item label="支付金额">
<el-input v-model="form.payAmount" :disabled="true" placeholder="-" style=" width: 190px" />
<span style="margin-left: 5px"></span>
</el-form-item>
</el-col>
<el-col :span="8">
......
......@@ -183,7 +183,9 @@
</template>
<script>
import { listUseManagement, listUseManagementAll, selectCheckItem } from '@/api/business/use'
import { listUseManagement, listUseManagementAll } from '@/api/business/use'
import { listItemByType } from '@/api/business/item'
import { getInfo } from '@/api/login'
export default {
name: 'UseManagement',
......@@ -207,6 +209,10 @@ export default {
value: '0'
}
],
// 判断是医院还是平台
type: '',
// 查询检查项目下拉框传递的字段
itemType: '',
// 可以使用的时间段时间范围
daterangeCreateTime: '',
// 多选框选中id
......@@ -273,7 +279,8 @@ export default {
},
created() {
this.getUseList()
this.getCheckList()
// this.getCheckList()
this.getUserInfo()
},
methods: {
// 表格显示病房单价保留两位小数
......@@ -284,13 +291,35 @@ export default {
cellClass(row) {
if (row.columnIndex === 0) { return 'disabledCheck' }
},
// 检查项目下拉框
getCheckList() {
selectCheckItem().then(res => {
// 获取登陆人信息
getUserInfo() {
getInfo().then(res => {
console.log('-------------------', res)
this.type = res.user.dept.level
if (this.type === '2') {
this.itemType = 0
}
if (this.type === '1') {
this.itemType = 3
}
this.getItemByType()
})
},
// 获取检查项目下拉框
getItemByType() {
listItemByType({ itemType: this.itemType }).then(res => {
console.log('检查项目', res)
this.checkList = res
this.checkList = res.rows
console.log('xdddd', this.checkList)
})
},
// // 检查项目下拉框
// getCheckList() {
// selectCheckItem().then(res => {
// console.log('检查项目', res)
// this.checkList = res
// })
// },
// 搜索
handleQuery() {
this.queryParams.pageNum = 1
......
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