|
|
@@ -76,6 +76,10 @@ function handleViewRecord(model?: ConditioningRecordListModel) {
|
|
|
emit('voidSubmit', tableData.value as SystemCwModel);
|
|
|
});
|
|
|
}
|
|
|
+const visible = ref<boolean>(false);
|
|
|
+const setVisible = (value: boolean): void => {
|
|
|
+ visible.value = value;
|
|
|
+};
|
|
|
</script>
|
|
|
|
|
|
<template>
|
|
|
@@ -169,7 +173,7 @@ function handleViewRecord(model?: ConditioningRecordListModel) {
|
|
|
|
|
|
<!-- 表格和作废字样包裹层 -->
|
|
|
<div class="table-wrapper">
|
|
|
- <div v-if="tableData.progress === '1'" class="voided-stamp">作废</div>
|
|
|
+ <!-- <div v-if="tableData.progress === '1'" class="voided-stamp">作废</div> -->
|
|
|
<vxe-table :data="tableData?.items" border>
|
|
|
<vxe-column field="conditioningProgramDetail.name" title="项目名称" align="center" />
|
|
|
<vxe-column field="days" title="周期" align="center" :disabled="true" />
|
|
|
@@ -211,11 +215,11 @@ function handleViewRecord(model?: ConditioningRecordListModel) {
|
|
|
</div>
|
|
|
|
|
|
<!-- 按钮区,作废后隐藏 -->
|
|
|
- <div class="footer-btns">
|
|
|
+ <!-- <div class="footer-btns">
|
|
|
<a-button type="primary" style="margin-right: 24px" @click="handleChangePlan" v-if="props.data.title === '调养方案'">转方案</a-button>
|
|
|
<a-button @click="handleVoid" v-if="tableData.progress !== '1'" >作废</a-button>
|
|
|
<a-button type="primary" style="margin-left: 24px" @click="handleViewRecord(props.data)" v-if="isVoided && tableData.progress !== '1'">查看记录</a-button>
|
|
|
- </div>
|
|
|
+ </div> -->
|
|
|
</div>
|
|
|
</template>
|
|
|
|