|
@@ -11,6 +11,7 @@ import {computed} from "vue";
|
|
|
import store from "@/store";
|
|
|
import XcComboGridV2 from "@/components/xiao-chan/combo-grid/XcComboGridV2.vue";
|
|
|
import {useVModels} from "@vueuse/core";
|
|
|
+import {CyMessageBox} from "@/components/cy/message-box";
|
|
|
|
|
|
const props = defineProps({
|
|
|
data: {
|
|
@@ -105,6 +106,15 @@ const showStartTime = () => {
|
|
|
return userInfo.value.deptCode === '1160000' || userInfo.value.deptCode === '3100000'
|
|
|
}
|
|
|
|
|
|
+function explanationClick(value) {
|
|
|
+ CyMessageBox.confirm({
|
|
|
+ type: 'info',
|
|
|
+ title: '说明',
|
|
|
+ message: value.note,
|
|
|
+ })
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
onMounted(() => {
|
|
|
watch(() => data.value.length, () => {
|
|
|
if (data.value.length === 0) {
|
|
@@ -157,7 +167,7 @@ onMounted(() => {
|
|
|
|
|
|
<el-table :data="data"
|
|
|
:height="tableHeight">
|
|
|
- <el-table-column label="操作" width="120" fixed="left">
|
|
|
+ <el-table-column label="操作" width="150" fixed="left">
|
|
|
<template #default="scope">
|
|
|
<el-button-group>
|
|
|
<el-button icon="Delete" type="danger"
|
|
@@ -182,6 +192,8 @@ onMounted(() => {
|
|
|
</el-table>
|
|
|
</el-popover>
|
|
|
|
|
|
+ <el-button @click="explanationClick(scope.row)">说明</el-button>
|
|
|
+
|
|
|
</el-button-group>
|
|
|
</template>
|
|
|
</el-table-column>
|