Commit 17b9e1c1 authored by huangyecong's avatar huangyecong

【ECCS-商保-1213】账单明细-添加看诊医生列表

parent f0a2e9b2
......@@ -65,10 +65,10 @@
>
<a-select-option
v-for="item in doctorOptions"
:key="item.code"
:value="item.code"
:key="item.doctorCode"
:value="item.doctorCode"
>
{{ item.name }}
{{ item.doctorDesc }}
</a-select-option>
</a-select>
</a-form-model-item>
......@@ -169,6 +169,7 @@
<script>
import BurtPagination from "@/components/CUSTOMER/pagation";
import { mapState } from "vuex"
export default {
data() {
const columns = [
......@@ -261,6 +262,11 @@ export default {
components: {
BurtPagination,
},
computed: {
...mapState({
userInfo: (state) => state.common.userInfo
})
},
filters: {
payStyleFilters(value) {
const styleMap = {
......@@ -310,7 +316,7 @@ export default {
},
// 获取看诊医生下拉选项
_getDoctorListNoPage(){
this.$apis.GETDOCTORlISTNOPAGE().then((res) => {
this.$apis.GETDOCTORlISTNOPAGE({"providerId": this.userInfo.providerId}).then((res) => {
if (res.returnCode === "0000") {
this.doctorOptions = res.content || [];
}else{
......
......@@ -53,10 +53,10 @@
<a-select v-model="form.doctorCode" placeholder="请选择看诊医生" allowClear>
<a-select-option
v-for="item in doctorOptions"
:key="item.code"
:value="item.code"
:key="item.doctorCode"
:value="item.doctorCode"
>
{{ item.name }}
{{ item.doctorDesc }}
</a-select-option>
</a-select>
</a-form-model-item>
......@@ -134,6 +134,7 @@
<script>
import BurtPagination from "@/components/CUSTOMER/pagation";
import { mapState } from "vuex"
export default {
data() {
const columns = [
......@@ -230,6 +231,11 @@ export default {
components: {
BurtPagination,
},
computed: {
...mapState({
userInfo: (state) => state.common.userInfo
})
},
created() {
this._getChargeList();
this._getCompanyOptions();
......@@ -255,7 +261,7 @@ export default {
},
// 获取看诊医生下拉选项
_getDoctorListNoPage(){
this.$apis.GETDOCTORlISTNOPAGE().then((res) => {
this.$apis.GETDOCTORlISTNOPAGE({"providerId": this.userInfo.providerId}).then((res) => {
if (res.returnCode === "0000") {
this.doctorOptions = res.content || [];
}else{
......@@ -276,7 +282,6 @@ export default {
//设置行属性
handlerRowClick(record) {
const { receiptNo } = record;
console.log('receiptNo=',receiptNo);
return {
style: {
color: record.isEdit ? "#2B63FF" : "#252631",
......
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