diff --git a/src/assets/imgs/error.png b/src/assets/imgs/error.png
new file mode 100644
index 0000000..b3fc7cf
Binary files /dev/null and b/src/assets/imgs/error.png differ
diff --git a/src/assets/imgs/finished.png b/src/assets/imgs/finished.png
new file mode 100644
index 0000000..55e5a33
Binary files /dev/null and b/src/assets/imgs/finished.png differ
diff --git a/src/assets/imgs/half.png b/src/assets/imgs/half.png
new file mode 100644
index 0000000..63ead38
Binary files /dev/null and b/src/assets/imgs/half.png differ
diff --git a/src/assets/imgs/zero.png b/src/assets/imgs/zero.png
new file mode 100644
index 0000000..adb371a
Binary files /dev/null and b/src/assets/imgs/zero.png differ
diff --git a/src/components/tools/StatusSlot.vue b/src/components/tools/StatusSlot.vue
new file mode 100644
index 0000000..0191007
--- /dev/null
+++ b/src/components/tools/StatusSlot.vue
@@ -0,0 +1,171 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/mineContract/MineContract.vue b/src/views/mineContract/MineContract.vue
index 2b5fe95..3050c6f 100644
--- a/src/views/mineContract/MineContract.vue
+++ b/src/views/mineContract/MineContract.vue
@@ -27,7 +27,7 @@
- {{ text }}
+
@@ -62,10 +62,11 @@
import { JeroListMixin } from '@/mixins/JeroListMixin'
import ProjectTable from '@comp/table/ProjectTable'
import MineContractModule from '@views/mineContract/modules/MineContractModule'
+import StatusSlot from '@comp/tools/StatusSlot'
export default {
name: 'MineContract',
- components: { ProjectTable, MineContractModule },
+ components: { ProjectTable, MineContractModule, StatusSlot },
mixins: [JeroListMixin],
data() {
return {
diff --git a/src/views/mineProject/MineProject.vue b/src/views/mineProject/MineProject.vue
index 1b80cbb..aff372f 100644
--- a/src/views/mineProject/MineProject.vue
+++ b/src/views/mineProject/MineProject.vue
@@ -38,9 +38,21 @@
-
+
+
+
+
+
- {{ text }}
+
+
+
+
+
+
+
+
+
@@ -75,10 +87,11 @@
import { JeroListMixin } from '@/mixins/JeroListMixin'
import ProjectTable from '@comp/table/ProjectTable'
import ProjectDetailModal from '@views/MessagePage/ProjectDetailModal'
+import StatusSlot from '@comp/tools/StatusSlot'
export default {
name: 'MineProject',
- components: { ProjectTable, ProjectDetailModal },
+ components: { ProjectTable, ProjectDetailModal, StatusSlot },
mixins: [JeroListMixin],
data() {
return {
@@ -111,13 +124,13 @@ export default {
}, {
title: '打包',
dataIndex: 'pack',
- scopedSlots: 'status',
+ scopedSlots: 'status-pack',
col: 2
}, {
title: '需要发票',
col: 2,
dataIndex: 'needInvoice',
- scopedSlots: 'status',
+ scopedSlots: 'status-pack',
slot: 'status'
}, {
title: '到账',
@@ -127,12 +140,12 @@ export default {
}, {
title: '开票',
dataIndex: 'makeInvoice',
- scopedSlots: 'status',
+ scopedSlots: 'status-bill',
col: 2
}, {
title: '邮寄',
dataIndex: 'mail',
- scopedSlots: 'status',
+ scopedSlots: 'status-mail',
col: 2
}
],
diff --git a/src/views/workTeam/WorkTeam.vue b/src/views/workTeam/WorkTeam.vue
index c718d61..d528cc2 100644
--- a/src/views/workTeam/WorkTeam.vue
+++ b/src/views/workTeam/WorkTeam.vue
@@ -38,9 +38,21 @@
-
+
+
+
+
+
- {{ text }}
+
+
+
+
+
+
+
+
+
@@ -71,10 +83,11 @@
import { JeroListMixin } from '@/mixins/JeroListMixin'
import ProjectTable from '@comp/table/ProjectTable'
import ProjectDetailModal from '@views/MessagePage/ProjectDetailModal'
+import StatusSlot from '@comp/tools/StatusSlot'
export default {
name: 'WorkTeam',
- components: { ProjectTable, ProjectDetailModal },
+ components: { ProjectTable, ProjectDetailModal, StatusSlot },
mixins: [JeroListMixin],
data() {
return {
@@ -102,13 +115,13 @@ export default {
}, {
title: '打包',
dataIndex: 'pack',
- scopedSlots: 'text',
+ scopedSlots: 'status-pack',
col: 2
}, {
title: '需要发票',
col: 2,
dataIndex: 'needInvoice',
- scopedSlots: 'status',
+ scopedSlots: 'status-pack',
slot: 'status'
}, {
title: '到账',
@@ -118,12 +131,12 @@ export default {
}, {
title: '开票',
dataIndex: 'makeInvoice',
- scopedSlots: 'status',
+ scopedSlots: 'status-bill',
col: 2
}, {
title: '邮寄',
dataIndex: 'mail',
- scopedSlots: 'status',
+ scopedSlots: 'status-mail',
col: 2
}
],