|
|
@@ -4,6 +4,7 @@
|
|
|
<view v-if="submitButtonShow" class="button-group">
|
|
|
<u-button
|
|
|
type="info"
|
|
|
+ plain
|
|
|
:loading="buttonLoading"
|
|
|
@click="handleSubmit('draft')"
|
|
|
class="action-button"
|
|
|
@@ -12,6 +13,7 @@
|
|
|
</u-button>
|
|
|
<u-button
|
|
|
type="primary"
|
|
|
+ plain
|
|
|
:loading="buttonLoading"
|
|
|
@click="handleSubmit('submit')"
|
|
|
class="action-button submit-button"
|
|
|
@@ -25,6 +27,7 @@
|
|
|
<u-button
|
|
|
v-if="approvalButtonShow"
|
|
|
type="primary"
|
|
|
+ plain
|
|
|
:loading="buttonLoading"
|
|
|
@click="handleApproval"
|
|
|
class="action-button approval-button"
|
|
|
@@ -34,6 +37,7 @@
|
|
|
<u-button
|
|
|
v-if="id && status !== 'draft'"
|
|
|
type="primary"
|
|
|
+ plain
|
|
|
@click="handleApprovalRecord"
|
|
|
class="action-button"
|
|
|
>
|
|
|
@@ -128,28 +132,10 @@ export default {
|
|
|
white-space: nowrap;
|
|
|
}
|
|
|
|
|
|
-/* 提交按钮渐变色 */
|
|
|
+/* 提交/审批按钮不再覆盖为渐变背景,保持镂空(plain)默认样式 */
|
|
|
.submit-button {
|
|
|
- background: linear-gradient(
|
|
|
- 135deg,
|
|
|
- rgb(0, 81, 217) 0%,
|
|
|
- rgb(51, 122, 235) 50%,
|
|
|
- rgb(102, 163, 255) 100%
|
|
|
- ) !important;
|
|
|
- border: none !important;
|
|
|
- color: #fff !important;
|
|
|
}
|
|
|
-
|
|
|
-/* 审批按钮渐变色 */
|
|
|
.approval-button {
|
|
|
- background: linear-gradient(
|
|
|
- 135deg,
|
|
|
- rgb(0, 81, 217) 0%,
|
|
|
- rgb(51, 122, 235) 50%,
|
|
|
- rgb(102, 163, 255) 100%
|
|
|
- ) !important;
|
|
|
- border: none !important;
|
|
|
- color: #fff !important;
|
|
|
}
|
|
|
|
|
|
/* 响应式布局 - 只在非常小的屏幕上才垂直布局 */
|