提交代码
This commit is contained in:
1 parent
b92610808b
commit
d8de5cd5a9
2 files changed
+15
-21
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
/* 响应式布局 - 只在非常小的屏幕上才垂直布局 */
|
||||
|
||||
@@ -65,6 +65,7 @@
|
||||
<view class="copy-section">
|
||||
<u-button
|
||||
type="primary"
|
||||
plain
|
||||
size="mini"
|
||||
icon="plus"
|
||||
@click="openUserSelectCopy"
|
||||
@@ -130,9 +131,11 @@
|
||||
<view class="footer">
|
||||
<view class="buttons-grid">
|
||||
<u-button
|
||||
type="primary"
|
||||
plain
|
||||
:loading="buttonDisabled"
|
||||
@click="handleCompleteTask"
|
||||
class="action-btn submit-btn"
|
||||
class="action-btn"
|
||||
>
|
||||
提交
|
||||
</u-button>
|
||||
@@ -183,6 +186,7 @@
|
||||
<u-button
|
||||
v-if="task.flowStatus === 'waiting' && buttonObj.termination"
|
||||
type="error"
|
||||
plain
|
||||
:loading="buttonDisabled"
|
||||
@click="handleTerminationTask"
|
||||
class="action-btn"
|
||||
@@ -192,6 +196,7 @@
|
||||
<u-button
|
||||
v-if="task.flowStatus === 'waiting' && buttonObj.back"
|
||||
type="error"
|
||||
plain
|
||||
:loading="buttonDisabled"
|
||||
@click="handleBackProcessOpen"
|
||||
class="action-btn"
|
||||
@@ -338,14 +343,16 @@
|
||||
<view class="buttons-grid">
|
||||
<u-button
|
||||
type="primary"
|
||||
plain
|
||||
:loading="backButtonDisabled"
|
||||
@click="handleBackProcess"
|
||||
class="action-btn confirm-btn"
|
||||
class="action-btn"
|
||||
>
|
||||
确认
|
||||
</u-button>
|
||||
<u-button
|
||||
type="info"
|
||||
plain
|
||||
@click="closeBackDialog"
|
||||
class="action-btn cancel-btn"
|
||||
>
|
||||
@@ -384,6 +391,7 @@
|
||||
</view>
|
||||
<u-button
|
||||
type="error"
|
||||
plain
|
||||
size="mini"
|
||||
@click="deleteMultiInstanceUser(user)"
|
||||
class="delete-btn"
|
||||
|
||||
Reference in new issue
Block a user