提交 7f834a25 编写于 作者: 张磊's avatar 张磊

wx appoint

上级 91e94d44
...@@ -191,15 +191,6 @@ ...@@ -191,15 +191,6 @@
> >
手动打回 手动打回
</el-button> </el-button>
<!-- <el-button
v-if="showBtn(scope.row, 3, 25, 26)"
type="primary"
size="small"
class="btn"
@click="reMatchDot(scope.row, 16)"
>
重新联系助诊医生
</el-button> -->
<el-button <el-button
v-if="scope.row.diagnoseType !== 4 && showBtn(scope.row, 3, 26)" v-if="scope.row.diagnoseType !== 4 && showBtn(scope.row, 3, 26)"
type="primary" type="primary"
...@@ -227,6 +218,14 @@ ...@@ -227,6 +218,14 @@
> >
设置科室 设置科室
</el-button> </el-button>
<el-button
type="primary"
size="small"
class="btn"
@click="callAssistant(scope.row,)"
>
呼叫医助
</el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
...@@ -416,6 +415,9 @@ ...@@ -416,6 +415,9 @@
setOffice(value) { setOffice(value) {
this.$emit('setOffice', value); this.$emit('setOffice', value);
}, },
callAssistant(row){
this.$emit('callAssistant', row);
}
}, },
}; };
</script> </script>
......
...@@ -16,6 +16,15 @@ export const updateDiagnosis = (params) => { ...@@ -16,6 +16,15 @@ export const updateDiagnosis = (params) => {
}); });
}; };
/* 保存问诊相关信息*/
export const callAssistantDoctor = (diagnoseLogId) => {
return fetch({
headers,
url: getBaseUrl(`/diagnose/admin/diagnose/callAssistantDoctor/${diagnoseLogId}`),
method: 'get',
});
};
export const manualQueue = (params) => { export const manualQueue = (params) => {
return fetch({ return fetch({
headers, headers,
......
...@@ -491,6 +491,7 @@ ...@@ -491,6 +491,7 @@
@handleSizeChange="handleSizeChange" @handleSizeChange="handleSizeChange"
@handleCurrentChange="handleCurrentChange" @handleCurrentChange="handleCurrentChange"
@getTableData="getTableData" @getTableData="getTableData"
@callAssistant="callAssistant"
/> />
</el-tab-pane> </el-tab-pane>
</el-tabs> </el-tabs>
...@@ -601,7 +602,7 @@ ...@@ -601,7 +602,7 @@
</template> </template>
<script> <script>
let vm = null; let vm = null;
import { updateDiagnosis } from '../../../utils/diagnosis'; import { updateDiagnosis, callAssistantDoctor } from '../../../utils/diagnosis';
import { outbounNote } from '../../../api/diagnosis'; import { outbounNote } from '../../../api/diagnosis';
import { base64decode } from '../../../utils/utils.js'; import { base64decode } from '../../../utils/utils.js';
import { DIAGNOS_LIST_NEW } from '@/utils/GeneralData/diagnosis-list-new'; import { DIAGNOS_LIST_NEW } from '@/utils/GeneralData/diagnosis-list-new';
...@@ -1302,6 +1303,22 @@ ...@@ -1302,6 +1303,22 @@
this.triageDepartment = row.triageDepartment; this.triageDepartment = row.triageDepartment;
this.diaUpdateDeIdVisible = true; this.diaUpdateDeIdVisible = true;
}, },
callAssistant(row) {
this.$confirm('确定呼叫医助吗?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
console.log('--', row , row.diagnoseLogId);
callAssistantDoctor(row.diagnoseLogId).then(res => {
if (res.code == '000000'){
}else{
vm.$message.error(res.message);
}
});
})
},
// 发送消息 // 发送消息
sendMessage(row) { sendMessage(row) {
this.$router.push({ this.$router.push({
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册