diff --git a/src/views/charge-query/lpjManage.vue b/src/views/charge-query/lpjManage.vue index b105c7ff36201fae5203027074bdbafcc2f8f081..030c91c7dc458b9bfb426e0508745d802614e564 100644 --- a/src/views/charge-query/lpjManage.vue +++ b/src/views/charge-query/lpjManage.vue @@ -47,14 +47,14 @@ <div class="btn-div flex"> <span></span> <a-form-model-item label="button"> - <a-button class="mar-left10" type="primary" @click="addNewCharge"> - <Icon name="ssiadd" :size="14" />新建寄é€</a-button> - <a-button class="mar-left10" type="primary" @click="handlerReset"> - <Icon name="ssireset" :size="14" />é‡ç½® - </a-button> <a-button class="mar-left10" type="primary" @click="handlerSearch"> <Icon name="ssisearch_active" :size="14" />查询 </a-button> + <a-button class="mar-left10" type="primary" @click="handlerReset"> + <Icon name="ssireset" :size="14" />é‡ç½® + </a-button> + <a-button class="mar-left10" type="primary" @click="addNewCharge"> + <Icon name="ssiadd" :size="14" />新建寄é€</a-button> </a-form-model-item> </div> </a-col> diff --git a/src/views/info/company.vue b/src/views/info/company.vue index 3d7d18d520dcde7989c774e8f4a18763beb49cb8..b34d902bd3680c4804c2d8fc763789428ffd18b1 100644 --- a/src/views/info/company.vue +++ b/src/views/info/company.vue @@ -1,11 +1,14 @@ <template> <div class="white_bg burt-container"> - <div class="title-div">ä¿é™©å…¬å¸ä¿¡æ¯</div> + <div class="flex title-div"> + <span>ä¿é™©å…¬å¸ä¿¡æ¯</span> + <a-button type="primary" @click.stop="addCompany">新建ä¿é™©å…¬å¸</a-button> + </div> <a-table :columns="columns" :data-source="dataList" :scroll="{ x: 'max-content' }" :pagination="false"> <div v-for="col in columns" :slot="col.dataIndex" slot-scope="text, record, index" :key="col.dataIndex" > <template v-if="col.dataIndex == 'operation'"> <a-button type="link" @click.stop="editEvt(record)">修改</a-button> - <a-button type="link" @click.stop="detailEvt(record)">查看</a-button> + <a-button type="link" class="success" @click.stop="detailEvt(record)">查看</a-button> <a-button type="link" class="danger" @click.stop="delRecord(index)">åˆ é™¤</a-button> </template> <template v-else> @@ -118,6 +121,21 @@ export default { } }); }, + //新增ä¿é™©å…¬å¸ + addCompany(){ + this.$apis.CREATEPAY({ + ...this.detailObj + }) + .then((res) => { + if (res.returnCode == "0000") { + this.$message.success("新增æˆåŠŸ"); + this.pagination.pageNum = 1; + this.getData(); + } else { + this.$message.error(res.returnMsg); + } + }); + }, //编辑 editEvt(record) { this.editFormObj = { @@ -206,5 +224,6 @@ export default { line-height: 52px; color: #252631; font-weight: bold; + justify-content: space-between; } </style> diff --git a/src/views/info/components/companyInfo.vue b/src/views/info/components/companyInfo.vue index 1998c28032936733c78a04b0dd6cff07c1978c99..eb011b8e420463ffecfdd8a38350c055c74382db 100644 --- a/src/views/info/components/companyInfo.vue +++ b/src/views/info/components/companyInfo.vue @@ -111,7 +111,7 @@ <a-col :sm="24" class="none-label"> <a-form-model-item label="button"> <a-button type="primary" @click="handlerSava"> - <Icon name="ssiadd" :size="14" />新建 + <Icon name="ssibaocun" :size="14" />ä¿å˜ </a-button> </a-form-model-item> </a-col> @@ -133,12 +133,12 @@ export default { methods: { //新建ä¿å˜ handlerSava(){ - this.$apis.CREATEPAY({ + this.$apis.PAYORUPDATE({ ...this.detailObj }) .then((res) => { if (res.returnCode == "0000") { - this.$message.success("新建æˆåŠŸ"); + this.$message.success("ä¿å˜æˆåŠŸ"); } else { this.$message.error(res.returnMsg); } diff --git a/src/views/info/index.vue b/src/views/info/index.vue index ca5564c11a96cc7259e19093e5b71bce7054a624..fc2cb759f83215cbc99eddd9804d2cbab322a50b 100644 --- a/src/views/info/index.vue +++ b/src/views/info/index.vue @@ -123,34 +123,11 @@ const columns = [ { title: "åºå·", dataIndex: "id", ellipsis: true, width: 150 }, { title: "å·¥å·", dataIndex: "doctorCode", ellipsis: true, width: 95 }, { title: "医生姓å", dataIndex: "doctorDesc", ellipsis: true, width: 125 }, - { - title: "医生英文å", - dataIndex: "doctorDescLang1", - ellipsis: true, - width: 135, - }, - { - title: "科室", - dataIndex: "specialtyList", - ellipsis: true, - scopedSlots: { customRender: "specialtyList" }, - width: 155, - }, - { - title: "国ç±", - dataIndex: "country", - ellipsis: true, - width: 110, - }, + { title: "医生英文å", dataIndex: "doctorDescLang1", ellipsis: true, width: 135,}, + { title: "科室", dataIndex: "specialtyList", ellipsis: true, scopedSlots: { customRender: "specialtyList" }, width: 155,}, + { title: "国ç±", dataIndex: "country", ellipsis: true, width: 110, }, { title: "è¯è¨€", dataIndex: "language", ellipsis: true, width: 120 }, - { - title: "æ“作", - dataIndex: "operation", - scopedSlots: { customRender: "operation" }, - fixed: "right", - width: "120px", - align: "center", - }, + { title: "æ“作", dataIndex: "operation", scopedSlots: { customRender: "operation" }, fixed: "right", width: "200px", align: "center", }, ]; export default { data() { diff --git a/src/views/verification/collection.vue b/src/views/verification/collection.vue index 94c05ec0131087fa13542f3b8600d86f8b60fdac..3d9c600fd3eb21dd2fbb45ca1a09cfd25c24e535 100644 --- a/src/views/verification/collection.vue +++ b/src/views/verification/collection.vue @@ -19,14 +19,14 @@ </a-col> <a-col :md="12" class="none-label"> <a-form-model-item label="button"> - <a-button class="mar-left10" type="primary" @click="addNewEvt"> - <Icon name="ssiadd" :size="14" />新建回款 + <a-button class="mar-left10" type="primary" @click="handlerSearch"> + <Icon name="ssisearch_active" :size="14" />查询 </a-button> <a-button class="mar-left10" type="primary" @click.stop="handlerReset"> <Icon name="ssireset" :size="14" />é‡ç½® </a-button> - <a-button class="mar-left10" type="primary" @click="handlerSearch"> - <Icon name="ssisearch_active" :size="14" />查询 + <a-button class="mar-left10" type="primary" @click="addNewEvt"> + <Icon name="ssiadd" :size="14" />新建回款 </a-button> </a-form-model-item> </a-col> diff --git a/src/views/verification/index.vue b/src/views/verification/index.vue index b2d4d3c3cfad8f6ca6e132936cee429250eb2fac..2f5d3e79b9457fb4016baff4e8503d657e57aa46 100644 --- a/src/views/verification/index.vue +++ b/src/views/verification/index.vue @@ -19,15 +19,15 @@ </a-col> <a-col :lg="12" :sm="24" class="none-label"> <a-form-model-item label="button"> - <!-- <a-button type="primary">导出</a-button> --> - <a-button class="mar-left10" type="primary" @click="addNewEvt"> - <Icon name="ssiadd" :size="14" />新建EOB + <a-button class="mar-left10" type="primary" @click="handlerSearch"> + <Icon name="ssisearch_active" :size="14" />查询 </a-button> <a-button class="mar-left10" type="primary" @click.stop="handlerReset"> <Icon name="ssireset" :size="14" />é‡ç½® </a-button> - <a-button class="mar-left10" type="primary" @click="handlerSearch"> - <Icon name="ssisearch_active" :size="14" />查询 + <!-- <a-button type="primary">导出</a-button> --> + <a-button class="mar-left10" type="primary" @click="addNewEvt"> + <Icon name="ssiadd" :size="14" />新建EOB </a-button> </a-form-model-item> </a-col>