|
|
@@ -9,6 +9,8 @@ import {
|
|
|
viewInspectionItemDetails
|
|
|
} from "@/api/zhu-yuan-yi-sheng/jian-yan-jian-cha-shen-qing";
|
|
|
import XcSelectV3 from "@/components/xiao-chan/select-v3/XcSelectV3.vue";
|
|
|
+import {computed} from "vue";
|
|
|
+import store from "@/store";
|
|
|
|
|
|
const {data, isCheck, publicData} = defineProps({
|
|
|
data: {
|
|
|
@@ -101,6 +103,14 @@ const getFeeList = (row) => {
|
|
|
})
|
|
|
}
|
|
|
|
|
|
+const userInfo = computed(() => {
|
|
|
+ return store.getters['user/info']
|
|
|
+})
|
|
|
+
|
|
|
+const showStartTime = () => {
|
|
|
+ return userInfo.value.deptCode === '1160000' || userInfo.value.deptCode === '3100000'
|
|
|
+}
|
|
|
+
|
|
|
onMounted(() => {
|
|
|
watch(() => data.length, () => {
|
|
|
if (data.length === 0) {
|
|
|
@@ -183,6 +193,16 @@ onMounted(() => {
|
|
|
</el-button-group>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
+ <el-table-column label="医嘱时间" prop="startTime" width="180" v-if="showStartTime()">
|
|
|
+ <template #default="scope">
|
|
|
+ <el-date-picker
|
|
|
+ style="width: 150px;"
|
|
|
+ type="datetime"
|
|
|
+ v-model="scope.row.startTime"
|
|
|
+ value-format="YYYY-MM-DD HH:mm:ss"
|
|
|
+ />
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
<el-table-column label="项目名称"
|
|
|
prop="orderName"
|
|
|
show-overflow-tooltip>
|