Commit 17b9e1c1 authored by huangyecong's avatar huangyecong

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

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