From 985358a07ef4c262042df2c586be39a2d178fa36 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期日, 29 九月 2024 09:44:45 +0800
Subject: [PATCH] 最新版本
---
admin/src/views/platform/components/PlatformSign.vue | 17 +++++++++++++++--
1 files changed, 15 insertions(+), 2 deletions(-)
diff --git a/admin/src/views/platform/components/PlatformSign.vue b/admin/src/views/platform/components/PlatformSign.vue
index 79b9000..42d5007 100644
--- a/admin/src/views/platform/components/PlatformSign.vue
+++ b/admin/src/views/platform/components/PlatformSign.vue
@@ -45,7 +45,7 @@
</div>
</div>
<div class="footer df_sb">
- <div v-if="item.type != 4" class="detail">杩愬崟璇︽儏</div>
+ <div @click="handleDetail(item)" v-if="item.type != 4" class="detail">杩愬崟璇︽儏</div>
<div v-else></div>
<el-button type="primary" @click="handleCall(item)">绛惧埌</el-button>
</div>
@@ -54,24 +54,28 @@
<pagination @size-change="handleSizeChange" @current-change="handlePageChange" :pagination="pagination">
</pagination>
</div>
+ <WaybillDetailRef v-if="isShowDetail" ref="WaybillDetailRef" />
</GlobalWindow>
</template>
<script>
import GlobalWindow from '@/components/common/GlobalWindow'
import Pagination from '@/components/common/Pagination'
+import WaybillDetailRef from "./WaybillDetail.vue"
import { platformJobPage, platformJobSign } from '@/api'
import { statusMap } from '../config'
import { Message } from 'element-ui'
export default {
components: {
GlobalWindow,
- Pagination
+ Pagination,
+ WaybillDetailRef
},
data() {
return {
statusMap,
isShowModal: false,
+ isShowDetail: false,
subLoading: false,
pagination: {
total: 0,
@@ -102,6 +106,14 @@
}).then(res => {
this.dataList = res.records
this.pagination.total = res.total
+ })
+ },
+ handleDetail(row) {
+ this.isShowDetail = true
+ this.$nextTick(() => {
+ this.$refs.WaybillDetailRef.isShowModal = true
+ this.$refs.WaybillDetailRef.id = row.id
+ this.$refs.WaybillDetailRef.getDetail()
})
},
reset() {
@@ -214,6 +226,7 @@
.footer {
.detail {
color: $primaryColor;
+ cursor: pointer;
}
}
}
--
Gitblit v1.9.3