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

设备地区修改

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