| | |
| | | () => { |
| | | list.value.forEach(item => { |
| | | item.value = taskDetails?.value?.[item.field] || '' |
| | | if (item.name === '任务频次') { |
| | | const { rep_rule_type = '', rep_rule_val = '' } = taskDetails?.value || {} |
| | | item.value = rep_rule_type + ' -- ' + rep_rule_val |
| | | } |
| | | }) |
| | | }, |
| | | { |
| | |
| | | deep: true, |
| | | } |
| | | ) |
| | | |
| | | |
| | | </script> |
| | | |
| | | <style scoped lang="scss"> |
| | |
| | | width: 297px; |
| | | height: 1002px; |
| | | background: rgba(31, 31, 31, 0.15); |
| | | backdrop-filter: blur(0.5rem); |
| | | border-radius: 0px 40px 40px 0px; |
| | | display: flex; |
| | | flex-direction: column; |
| | |
| | | .itemValue { |
| | | font-weight: bold; |
| | | color: #ffffff; |
| | | word-break: break-all; /* 强制在任意字符断行 */ |
| | | white-space: normal; /* 允许正常换行 */ |
| | | } |
| | | } |
| | | } |