|
@@ -45,10 +45,11 @@
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="操作" width="150">
|
|
|
- <template #default="scope">
|
|
|
- <el-button type="info" circle icon="View" @click="formatBodyResult(scope.row.msgid)" title="查看"></el-button>
|
|
|
- <el-button type="primary" circle icon="Download" @click="exportBodyResultTxt(scope.row)" title="下载"></el-button>
|
|
|
- <el-button v-if="showRecoveryTrade(scope.row.infno)" type="danger" circle icon="Refresh" @click="recoveryTrade(scope.row)" title="冲正"></el-button>
|
|
|
+ <template #default="{row}">
|
|
|
+ <el-button type="info" circle icon="View" @click="formatBodyResult(row.msgid)" title="查看"></el-button>
|
|
|
+ <el-button type="primary" circle icon="Download" @click="exportBodyResultTxt(row)" title="下载"></el-button>
|
|
|
+ <el-button v-if="showRecoveryTrade(row.infno)" type="danger" circle icon="Refresh" @click="recoveryTrade(row)" title="冲正"></el-button>
|
|
|
+ <el-button v-if="showTimeoutSetl(row)" type="success" circle icon="Clock" @click="timeoutSettlement(row)" title="超时结算"></el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
@@ -92,6 +93,8 @@ import { autoRecoveryTrade } from '@/api/medical-insurance/si-manage'
|
|
|
import { getDateRangeFormatDate } from '@/utils/date'
|
|
|
import { ElMessage, ElMessageBox } from 'element-plus'
|
|
|
import {copyStrFunc} from "@/utils/public";
|
|
|
+import {timeoutSetl} from "@/api/medical-insurance/si-outpatient.js";
|
|
|
+import {xcMessage} from "@/utils/xiaochan-element-plus";
|
|
|
|
|
|
const dateRange = ref(null)
|
|
|
|
|
@@ -233,6 +236,22 @@ const recoveryTrade = (row) => {
|
|
|
})
|
|
|
})
|
|
|
}
|
|
|
+
|
|
|
+function showTimeoutSetl(row) {
|
|
|
+ return row.infno === '2207' && row.infcode !== 0
|
|
|
+}
|
|
|
+
|
|
|
+function timeoutSettlement(row) {
|
|
|
+ timeoutSetl({
|
|
|
+ patNo: row.patNo,
|
|
|
+ times: row.times,
|
|
|
+ staffId: row.opter,
|
|
|
+ msgid: row.msgid,
|
|
|
+ }).then(res => {
|
|
|
+ xcMessage.success('超时结算成功。')
|
|
|
+ })
|
|
|
+}
|
|
|
+
|
|
|
</script>
|
|
|
|
|
|
<style scoped>
|