diff --git a/client/src/components/content/admin/adminCreateProduct.vue b/client/src/components/content/admin/adminCreateProduct.vue
new file mode 100644
index 0000000..a73b5eb
--- /dev/null
+++ b/client/src/components/content/admin/adminCreateProduct.vue
@@ -0,0 +1,608 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 填写表单
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 上一步
+ 下一步
+
+
+
+
+
+ 填写表单
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 上一步
+ 下一步
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 收件人区块链地址
+
+
+ {{ ruleForm.receiverAddr }}
+
+
+
+
+
+
+
+ 收件人联系方式
+
+
+ {{ ruleForm.receiverContact }}
+
+
+
+
+
+
+
+ 收货地址
+
+
+ {{ ruleForm.receiverAddrInfo }}
+
+
+
+
+
+
+
+
+ 发件人区块链地址
+
+
+ {{ ruleForm.senderAddr }}
+
+
+
+
+
+
+
+ 发件人联系方式
+
+
+ {{ ruleForm.senderContact }}
+
+
+
+
+
+
+
+ 发货地址
+
+
+ {{ ruleForm.senderAddrInfo }}
+
+
+
+
+
+
+
+
+ 商品信息区块链地址
+
+
+ {{ ruleForm.productAddr }}
+
+
+
+
+
请仔细阅读您的表单数据!一旦进行提交操作,数据将上传至区块链保存并且将不可更改!
+
+
+
+
+ 上一步
+ 提交
+
+
+
+
+
+
+ 一旦提交,数据将不可更改是否提交?
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/client/src/components/content/admin/adminManage.vue b/client/src/components/content/admin/adminManage.vue
new file mode 100644
index 0000000..e69de29
diff --git a/client/src/components/content/transit/AttendTransitFormList.vue b/client/src/components/content/transit/transitAttendFormList.vue
similarity index 95%
rename from client/src/components/content/transit/AttendTransitFormList.vue
rename to client/src/components/content/transit/transitAttendFormList.vue
index 84023ba..7306117 100644
--- a/client/src/components/content/transit/AttendTransitFormList.vue
+++ b/client/src/components/content/transit/transitAttendFormList.vue
@@ -10,7 +10,7 @@
正在进行当中
- 正在进行当中
+ 表单已完成
@@ -282,7 +282,7 @@
import axios from "axios";
import { aesDecrypt, aesEncrypt } from "@/utils/utils";
import { ElMessage } from "element-plus";
-import { ref, reactive, onMounted } from "vue";
+import { ref, reactive, onMounted ,computed} from "vue";
const emptyText = ref("");
@@ -310,6 +310,17 @@ onMounted(() => {
ElMessage.error("超时")
});
});
+const totalItems = computed(() => tableData.value.length);
+const pageSize = ref(8); // 每页显示的条目数
+const currentPage = ref(1); // 当前页码
+const paginatedData = computed(() => {
+ const start = (currentPage.value - 1) * pageSize.value;
+ const end = start + pageSize.value;
+ return tableData.value.slice(start, end);
+ });
+function handleCurrentChange(newPage) {
+ currentPage.value = newPage;
+}