提交 9151ffb2 编写于 作者: xinglee23's avatar xinglee23

fix: bugfix

上级 af7d58c2
...@@ -17,4 +17,4 @@ VUE_APP_IS_LOCAL=true ...@@ -17,4 +17,4 @@ VUE_APP_IS_LOCAL=true
VUE_APP_APPID=wxf4e66242d31c81c2 VUE_APP_APPID=wxf4e66242d31c81c2
#本地token #本地token
VUE_APP_TOKEN=B638EE700AD348B8B432E7DF53A48E87 VUE_APP_TOKEN=26D1BA0C935C4C92BB5BB33EF61D4AD9
...@@ -222,10 +222,9 @@ ...@@ -222,10 +222,9 @@
type="primary" type="primary"
size="small" size="small"
class="btn" class="btn"
@click="callAssistant(scope.row,)" @click="callAssistant(scope.row)"
> >
{{scope.row.consultRoadType == 2 ? '呼叫居民' : '呼叫助诊医生'}} {{ scope.row.consultRoadType == 2 ? '呼叫居民' : '呼叫助诊医生' }}
</el-button> </el-button>
</template> </template>
</el-table-column> </el-table-column>
...@@ -250,181 +249,181 @@ ...@@ -250,181 +249,181 @@
</template> </template>
<script> <script>
import { DIAGNOS_LIST_NEW } from '@/utils/GeneralData/diagnosis-list-new'; import { DIAGNOS_LIST_NEW } from '@/utils/GeneralData/diagnosis-list-new';
import TabSet from '@/components/common/tab-set'; import TabSet from '@/components/common/tab-set';
export default { export default {
components: { components: {
TabSet, TabSet,
}, },
props: { props: {
menuType: { menuType: {
type: Number, type: Number,
default: 1, default: 1,
},
loading: {
type: Boolean,
default: false,
},
tableData: {
type: Array,
default() {
return [];
},
},
saveTableData: {
type: Array,
default() {
return [];
},
},
searchParam: {
type: Object,
default: () => {},
},
totalRows: {
type: Number,
default: 0,
},
tableHeight: {
type: Number,
default: 500,
},
multipleSelection: {
type: Array,
default: () => {
return [];
},
},
}, },
data() { loading: {
return { type: Boolean,
dtTableData: DIAGNOS_LIST_NEW, default: false,
showTableData: DIAGNOS_LIST_NEW, },
isFreash: true, tableData: {
}; type: Array,
}, default() {
watch: {}, return [];
mounted() {
this.showTableData = this.saveTableData;
},
methods: {
// 获取展示的tab
updateTableProps(newdata) {
this.showTableData = newdata;
this.$emit('getTableData', newdata);
},
reFeach() {
this.isFreash = false;
this.$nextTick(() => {
this.isFreash = true;
});
}, },
// 选中的数据 },
handleSelectionChange(val) { saveTableData: {
this.multipleSelection = val; type: Array,
this.$emit('update:multipleSelection', this.multipleSelection); default() {
return [];
}, },
sortfunc(data) { },
this.$emit('sortfunc', data); searchParam: {
type: Object,
default: () => {},
},
totalRows: {
type: Number,
default: 0,
},
tableHeight: {
type: Number,
default: 500,
},
multipleSelection: {
type: Array,
default: () => {
return [];
}, },
showBtn(row, ...arr) { },
return arr.includes(row.status); },
data() {
return {
dtTableData: DIAGNOS_LIST_NEW,
showTableData: DIAGNOS_LIST_NEW,
isFreash: true,
};
},
watch: {},
mounted() {
this.showTableData = this.saveTableData;
},
methods: {
// 获取展示的tab
updateTableProps(newdata) {
this.showTableData = newdata;
this.$emit('getTableData', newdata);
},
reFeach() {
this.isFreash = false;
this.$nextTick(() => {
this.isFreash = true;
});
},
// 选中的数据
handleSelectionChange(val) {
this.multipleSelection = val;
this.$emit('update:multipleSelection', this.multipleSelection);
},
sortfunc(data) {
this.$emit('sortfunc', data);
},
showBtn(row, ...arr) {
return arr.includes(row.status);
// return true; // return true;
},
// 分页
handleSizeChange(value) {
this.$emit('handleSizeChange', value);
},
handleCurrentChange(value) {
this.$emit('handleCurrentChange', value);
},
// 设为待问诊
witeDiagnose(row) {
this.$emit('witeDiagnose', row);
},
// 更换运营
changeRun(row) {
this.$emit('changeRun', row);
},
// 查看详情 \编辑
goDetail(row, flag) {
this.$emit('goDetail', row, flag);
},
// 取消/退款
cancelRefund(row) {
this.$emit('cancelRefund', row);
},
// 设为稍后跟进
witeGo(row) {
this.$emit('witeGo', row);
},
// 申请取消
applyCancel(row) {
this.$emit('applyCancel', row);
},
// 设为待匹配医生
waitMatchDot(row) {
this.$emit('waitMatchDot', row);
},
// 修改科室
updateDepartId(row) {
this.$emit('updateDepartId', row);
},
// 发送消息
sendMessage(row) {
this.$emit('sendMessage', row);
},
// 加入问诊
joinDiagnose(row) {
this.$emit('joinDiagnose', row);
},
// 匹配运营
// matchRun(row) {
// this.$emit("matchRun", row);
// },
// 设为待分诊
// waitDiagnose(row) {
// this.$emit("waitDiagnose", row);
// },
// 设为待协调医生
waitHzeDot(row) {
this.$emit('waitHzeDot', row);
},
// 设为待确认时间
waitMatchTime(row) {
this.$emit('waitMatchTime', row);
},
// 设为待确认时间
changeTimeNew(row) {
this.$emit('waitMatchTime', row, true);
},
// 重新匹配医生
reMatchDot(row, type) {
this.$emit('reMatchDot', row, type);
},
// 修改时间
changeTime(row) {
this.$emit('changeTime', row);
},
// 发起问诊
// call(row) {
// this.$emit("call", row);
// },
// 设为已完成
doneHandle(row) {
this.$emit('doneHandle', row);
},
goEdite(row) {
this.$emit('goEdite', row);
},
setOffice(value) {
this.$emit('setOffice', value);
},
callAssistant(row) {
this.$emit('callAssistant', row);
}
}, },
}; // 分页
handleSizeChange(value) {
this.$emit('handleSizeChange', value);
},
handleCurrentChange(value) {
this.$emit('handleCurrentChange', value);
},
// 设为待问诊
witeDiagnose(row) {
this.$emit('witeDiagnose', row);
},
// 更换运营
changeRun(row) {
this.$emit('changeRun', row);
},
// 查看详情 \编辑
goDetail(row, flag) {
this.$emit('goDetail', row, flag);
},
// 取消/退款
cancelRefund(row) {
this.$emit('cancelRefund', row);
},
// 设为稍后跟进
witeGo(row) {
this.$emit('witeGo', row);
},
// 申请取消
applyCancel(row) {
this.$emit('applyCancel', row);
},
// 设为待匹配医生
waitMatchDot(row) {
this.$emit('waitMatchDot', row);
},
// 修改科室
updateDepartId(row) {
this.$emit('updateDepartId', row);
},
// 发送消息
sendMessage(row) {
this.$emit('sendMessage', row);
},
// 加入问诊
joinDiagnose(row) {
this.$emit('joinDiagnose', row);
},
// 匹配运营
// matchRun(row) {
// this.$emit("matchRun", row);
// },
// 设为待分诊
// waitDiagnose(row) {
// this.$emit("waitDiagnose", row);
// },
// 设为待协调医生
waitHzeDot(row) {
this.$emit('waitHzeDot', row);
},
// 设为待确认时间
waitMatchTime(row) {
this.$emit('waitMatchTime', row);
},
// 设为待确认时间
changeTimeNew(row) {
this.$emit('waitMatchTime', row, true);
},
// 重新匹配医生
reMatchDot(row, type) {
this.$emit('reMatchDot', row, type);
},
// 修改时间
changeTime(row) {
this.$emit('changeTime', row);
},
// 发起问诊
call(row) {
this.$emit('call', row);
},
// 设为已完成
doneHandle(row) {
this.$emit('doneHandle', row);
},
goEdite(row) {
this.$emit('goEdite', row);
},
setOffice(value) {
this.$emit('setOffice', value);
},
callAssistant(row) {
this.$emit('callAssistant', row);
},
},
};
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
......
...@@ -70,7 +70,7 @@ module.exports = { ...@@ -70,7 +70,7 @@ module.exports = {
port: 8080, port: 8080,
proxy: { proxy: {
'/proxy': { '/proxy': {
target: 'https://dev-sc.yunqueyi.com/', target: 'https://test1-sc.yunqueyi.com/',
ws: false, ws: false,
changeOrigin: true, changeOrigin: true,
secure: true, secure: true,
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册