|
@@ -164,4 +164,38 @@ Mock.mock(/\/tag\/code\/qr/, 'get', {
|
|
|
}
|
|
|
})
|
|
|
|
|
|
+Mock.mock(/\/tag\/code\/page/, 'post', {
|
|
|
+ type: 'success',
|
|
|
+ data: {
|
|
|
+ 'count|10-40': 1,
|
|
|
+ 'list|1-20': [{
|
|
|
+ 'id|1-20': 1,
|
|
|
+ dataTime: '2024/01/01 00:00:00',
|
|
|
+ orderNo: '123456',
|
|
|
+ expectedReceiptDate: '2024/01/02 00:00:00',
|
|
|
+ serialNumberRange: ['0000001', '000800'],
|
|
|
+ 'providerName|1': ['人民电器集团有限公司', '上海东生供用电器材厂', '上海辉电电力设备工程有限公司'],
|
|
|
+ 'tagTypeName|1': ['高性能不干胶标签', '柔性抗金属标签', '扎带标签'],
|
|
|
+ number: 123,
|
|
|
+ 'amount|1-100.1-2': 30,
|
|
|
+ 'tagApplyStateName|1': ['待支付', '待发货', '已发货'],
|
|
|
+ operatorName: '操作员',
|
|
|
+ applicantName: '申领人',
|
|
|
+ 'unitPrice|1-100.1-2': 10,
|
|
|
+ createTime: '2024/01/01 00:00:00'
|
|
|
+ }]
|
|
|
+ }
|
|
|
+})
|
|
|
+
|
|
|
+Mock.mock(/\/messagecenter\/page/, 'post', {
|
|
|
+ type: 'success',
|
|
|
+ data: {
|
|
|
+ 'count|10-40': 1,
|
|
|
+ 'list|1-20': [{
|
|
|
+ 'dataTime|1': ['2024/01/01 16:00:00', '2024/02/01 16:00:00', '2024/03/01 16:00:00'],
|
|
|
+ 'content|1': ['测试消息', '测试消息1']
|
|
|
+ }]
|
|
|
+ }
|
|
|
+})
|
|
|
+
|
|
|
export default Mock
|