From 025e46e11cb2962fd7692adfa401333758cc779b Mon Sep 17 00:00:00 2001 From: gaoluyang <2820782392@qq.com> Date: 星期二, 02 九月 2025 14:00:34 +0800 Subject: [PATCH] 修改组件 --- src/pages/cooperativeOffice/collaborativeApproval/index.vue | 35 +++++++++-------------------------- 1 files changed, 9 insertions(+), 26 deletions(-) diff --git a/src/pages/cooperativeOffice/collaborativeApproval/index.vue b/src/pages/cooperativeOffice/collaborativeApproval/index.vue index 180b802..b81583e 100644 --- a/src/pages/cooperativeOffice/collaborativeApproval/index.vue +++ b/src/pages/cooperativeOffice/collaborativeApproval/index.vue @@ -31,27 +31,8 @@ </view> <text class="item-id">{{ item.approveId }}</text> </view> - <!-- 瀹℃壒鐘舵�佹爣绛� --> - <u-tag :type="getTagClass(item.approveStatus)" size="medium">{{ formatReceiptType(item.approveStatus) }}</u-tag> - - <!-- 鎿嶄綔鎸夐挳 --> - <view class="action-buttons"> - <u-button - type="primary" - size="small" - class="action-btn" - @click="openDetail(item)" - > - 鏌ョ湅璇︽儏 - </u-button> - <u-button - type="success" - size="small" - class="action-btn" - @click="approve(item)" - > - 瀹℃壒 - </u-button> + <view class="item-tag"> + <u-tag :type="getTagClass(item.approveStatus)">{{ formatReceiptType(item.approveStatus) }}</u-tag> </view> </view> <up-divider></up-divider> @@ -89,7 +70,7 @@ </view> <view class="detail-row"> <view class="actions"> - <van-button + <u-button type="primary" size="small" class="action-btn edit" @@ -97,8 +78,8 @@ @click="handleItemClick(item)" > 缂栬緫 - </van-button> - <van-button + </u-button> + <u-button type="success" size="small" class="action-btn approve" @@ -106,7 +87,7 @@ @click="approve(item)" > 瀹℃牳 - </van-button> + </u-button> </view> </view> </view> @@ -117,6 +98,7 @@ <view v-else class="no-data"> <text>鏆傛棤瀹℃壒鏁版嵁</text> </view> +<!-- <van-floating-bubble icon="plus" @click="handleAdd"/>--> <!-- 娴姩鎿嶄綔鎸夐挳 --> <view class="fab-button" @click="handleAdd"> <up-icon name="plus" size="24" color="#ffffff"></up-icon> @@ -199,7 +181,7 @@ } else if (type == 4) { return "primary"; } else { - return "danger"; + return "error"; } }; @@ -479,4 +461,5 @@ .action-btn.approve { /* success 鏍峰紡鏉ヨ嚜缁勪欢锛岃繖閲屼繚鐣欓挬瀛愪互渚垮悗缁渶瑕佹墿灞� */ } + /* 宸茬Щ闄ant缁勪欢鐨勬牱寮忓紩鐢� */ </style> \ No newline at end of file -- Gitblit v1.9.3