Commit f70ebd2c by wangshuangqing

勾选展示当前时间字段

parent 048a0eab
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: wsq * @Author: wsq
* @Date: 2022-04-22 15:20:58 * @Date: 2022-04-22 15:20:58
* @LastEditors: wsq * @LastEditors: wsq
* @LastEditTime: 2023-02-27 15:05:14 * @LastEditTime: 2023-02-27 15:53:26
* @Description: * @Description:
--> -->
<template> <template>
...@@ -158,7 +158,19 @@ ...@@ -158,7 +158,19 @@
label="路径名称" label="路径名称"
width="120" width="120"
/> />
<el-table-column
show-overflow-tooltip
property="tickTime"
label="当前时间"
width="90"
>
<template #default="scope">
<span
v-if="scope.row.advice_name == null && scope.row.ischeck == 1"
>{{ transformTime() }}</span
>
</template>
</el-table-column>
<el-table-column <el-table-column
show-overflow-tooltip show-overflow-tooltip
property="orderType" property="orderType"
...@@ -507,7 +519,7 @@ import { useRoute, useRouter } from "../utils/useVueRouter"; ...@@ -507,7 +519,7 @@ import { useRoute, useRouter } from "../utils/useVueRouter";
import { setItem, getItem } from "../utils/auth"; import { setItem, getItem } from "../utils/auth";
import { Loading } from "element-ui"; import { Loading } from "element-ui";
import _ from "lodash"; import _ from "lodash";
import { transformTimestampnow } from "../utils/formatTime";
export default { export default {
name: "outClinicalpathway", name: "outClinicalpathway",
setup() { setup() {
...@@ -522,6 +534,9 @@ export default { ...@@ -522,6 +534,9 @@ export default {
} }
const monthlyPlanTable = ref(); const monthlyPlanTable = ref();
const multipleTable = ref(); const multipleTable = ref();
const transformTime = computed(() => {
return transformTimestampnow;
});
let state = reactive({ let state = reactive({
//患者信息 //患者信息
topdata: { topdata: {
...@@ -948,6 +963,7 @@ export default { ...@@ -948,6 +963,7 @@ export default {
gemedicUsePlanoptions, gemedicUsePlanoptions,
radiochange, radiochange,
getmedicalPurposeoptions, getmedicalPurposeoptions,
transformTime,
}; };
}, },
}; };
......
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