From 6dc8a04ea58dbcf253104504f1507997cc866ee6 Mon Sep 17 00:00:00 2001
From: wujingjing <gersonwu@qq.com>
Date: 星期一, 21 十月 2024 15:08:34 +0800
Subject: [PATCH] 更新对话组件

---
 src/components/chat/chatComponents/summaryCom/components/amisPage/testData.json |  625 ++++++++++++++++++++------------------------------------
 1 files changed, 228 insertions(+), 397 deletions(-)

diff --git a/src/components/chat/chatComponents/summaryCom/components/amisPage/testData.json b/src/components/chat/chatComponents/summaryCom/components/amisPage/testData.json
index e25a5ab..3b12f4a 100644
--- a/src/components/chat/chatComponents/summaryCom/components/amisPage/testData.json
+++ b/src/components/chat/chatComponents/summaryCom/components/amisPage/testData.json
@@ -1,424 +1,255 @@
 {
-	"type": "page",
-	"id": "u:bad3f34e15c1",
-	"title": "閿�鍞搴﹂攢閲�",
+	"id": "u:7d4e7d100425",
 	"body": [
 		{
-			"type": "flex",
-			"id": "u:9fc2a7909ab0",
-			"items": [
+			"id": "u:3e0a8e524d99",
+			"body": [
 				{
-					"type": "container",
-					"body": [
-						{
-							"type": "table-view",
-							"trs": [
-								{
-									"background": "#F7F7F7",
-									"tds": [
-										{
-											"body": {
-												"type": "tpl",
-												"wrapperComponent": "",
-												"tpl": "鍦板尯",
-												"id": "u:fcd843188090"
-											},
-											"id": "u:115c8c523ab3"
-										},
-										{
-											"body": {
-												"type": "tpl",
-												"wrapperComponent": "",
-												"tpl": "鐑熻崏鍚�",
-												"id": "u:f1453a2e11f6"
-											},
-											"id": "u:ff36072024db",
-											"width": 215.5
-										},
-										{
-											"body": {
-												"type": "tpl",
-												"wrapperComponent": "",
-												"tpl": "閿�閲�",
-												"id": "u:afefdd621d12"
-											},
-											"id": "u:3066304d8519"
-										}
-									],
-									"id": "u:80ceaef8a6a1",
-									"height": 44
-								},
-								{
-									"tds": [
-										{
-											"body": [
-												{
-													"type": "tpl",
-													"wrapperComponent": "",
-													"tpl": "鍗庡寳鍦板尯",
-													"id": "u:a8b388a2ec7c"
-												}
-											],
-											"id": "u:1e47918dbad8"
-										},
-										{
-											"body": [
-												{
-													"type": "tpl",
-													"tpl": "鍗椾含",
-													"inline": true,
-													"wrapperComponent": "",
-													"id": "u:9ddb428ec014"
-												}
-											],
-											"id": "u:2816fc14a1d4"
-										},
-										{
-											"body": {
-												"type": "tpl",
-												"wrapperComponent": "",
-												"tpl": "382994",
-												"id": "u:04f3b72b0b64"
-											},
-											"id": "u:aa5d09a6d0c7"
-										}
-									],
-									"id": "u:cadd57703de0",
-									"height": 44
-								},
-								{
-									"tds": [
-										{
-											"body": {
-												"type": "tpl",
-												"wrapperComponent": "",
-												"tpl": "涓崡鍦板尯",
-												"id": "u:a0389abbed7e"
-											},
-											"id": "u:04778c3e37a9"
-										},
-										{
-											"body": {
-												"type": "tpl",
-												"wrapperComponent": "",
-												"tpl": "鐜夋邯",
-												"id": "u:c920488d04e7"
-											},
-											"id": "u:041e86eee08f"
-										},
-										{
-											"body": {
-												"type": "tpl",
-												"wrapperComponent": "",
-												"tpl": "234554",
-												"id": "u:18a2014d5e0b",
-												"maxLine": 2321423
-											},
-											"id": "u:f101b1f4e14e"
-										}
-									],
-									"id": "u:6eab80ddca59",
-									"height": 44
-								},
-								{
-									"tds": [
-										{
-											"body": {
-												"type": "tpl",
-												"wrapperComponent": "",
-												"tpl": "瑗垮崡鍦板尯",
-												"id": "u:0fb619f91806"
-											},
-											"id": "u:de232323b71a"
-										},
-										{
-											"body": [
-												{
-													"type": "tpl",
-													"tpl": "涓崕",
-													"inline": true,
-													"wrapperComponent": "",
-													"id": "u:d0bc2b1558b4"
-												}
-											],
-											"id": "u:2f07492deaa7"
-										},
-										{
-											"body": {
-												"type": "tpl",
-												"wrapperComponent": "",
-												"tpl": "435463",
-												"id": "u:3577ce80f306"
-											},
-											"id": "u:1e94b54401f7"
-										}
-									],
-									"id": "u:b5b4f3a75485",
-									"height": 43
-								},
-								{
-									"tds": [
-										{
-											"body": {
-												"type": "tpl",
-												"wrapperComponent": "",
-												"tpl": "瑗垮寳鍦板尯",
-												"id": "u:ce9c80378a1d"
-											},
-											"id": "u:7af839fa58f9"
-										},
-										{
-											"body": {
-												"type": "tpl",
-												"wrapperComponent": "",
-												"tpl": "鑺欒搲鐜�",
-												"id": "u:3459e0c78922"
-											},
-											"id": "u:26d5ad53a5ac"
-										},
-										{
-											"body": {
-												"type": "tpl",
-												"wrapperComponent": "",
-												"tpl": "64563543",
-												"id": "u:8623aaa2642b"
-											},
-											"id": "u:f10464ace5ef"
-										}
-									],
-									"id": "u:e5b8d15c2b4a",
-									"height": 48
-								}
-							],
-							"id": "u:286f1761479c",
-							"themeCss": {
-								"baseControlClassName": {
-									"padding-and-margin:default": {
-										"marginTop": "var(--sizes-size-2)",
-										"marginRight": "var(--sizes-size-2)",
-										"marginBottom": "var(--sizes-size-2)",
-										"marginLeft": "var(--sizes-size-2)"
-									}
-								}
-							}
-						}
-					],
-					"size": "none",
-					"style": {
-						"position": "static",
-						"display": "block",
-						"flex": "1 1 auto",
-						"flexGrow": 1
-					},
-					"mobile": {
-						"style": {
-							"padding": 0,
-							"margin": 0
-						}
-					},
-					"wrapperBody": false,
-					"isFixedHeight": false,
-					"isFixedWidth": false,
-					"id": "u:8fcecf1e670c"
+					"id": "u:5919b609704e",
+					"tpl": "aaaaaa-${siteName}",
+					"type": "tpl",
+					"inline": true,
+					"wrapperComponent": ""
+					
 				},
 				{
-					"type": "container",
-					"body": [
+					"type":"service",
+					"body":[
 						{
+							"tpl": "aaaaaa-${siteName}",
 							"type": "tpl",
-							"tpl": "閿�閲忓墠鍥涚殑鍝佽鍜屾暟閲�(鏉�)",
 							"inline": true,
-							"wrapperComponent": "",
-							"id": "u:e755fb569b63",
-							"themeCss": {
-								"baseControlClassName": {
-									"padding-and-margin:default": {
-										"paddingTop": "var(--sizes-size-5)",
-										"paddingRight": "var(--sizes-size-5)",
-										"paddingBottom": "var(--sizes-size-5)",
-										"paddingLeft": "var(--sizes-size-5)",
-										"marginTop": "var(--sizes-size-3)",
-										"marginRight": "var(--sizes-size-3)",
-										"marginBottom": "var(--sizes-size-3)",
-										"marginLeft": "var(--sizes-size-3)"
-									},
-									"font:default": {
-										"fontSize": "var(--fonts-size-6)"
-									}
-								}
-							}
+							"wrapperComponent": ""
+							
 						},
 						{
-							"type": "progress",
-							"mode": "line",
-							"value": 40,
-							"strokeWidth": 9,
-							"valueTpl": "${value}%",
-							"id": "u:0a829cacfc23",
-							"placeholder": "-",
-							"progressClassName": "",
-							"map": [
+							"type":"service",
+							"body":[
 								{
-									"color": "#528afb",
-									"value": 20
-								}
-							],
-							"className": "p-xs"
-						},
-						{
-							"type": "tpl",
-							"tpl": "鍗椾含",
-							"inline": true,
-							"wrapperComponent": "",
-							"id": "u:01d253c393e6",
-							"themeCss": {
-								"baseControlClassName": {
-									"padding-and-margin:default": {
-										"marginTop": "var(--sizes-size-9)",
-										"marginRight": "var(--sizes-size-9)",
-										"marginBottom": "var(--sizes-size-9)",
-										"marginLeft": "var(--sizes-size-9)"
-									}
-								}
-							}
-						},
-						{
-							"type": "progress",
-							"mode": "line",
-							"value": 60,
-							"strokeWidth": 9,
-							"valueTpl": "${value}%",
-							"id": "u:5d4e2a882a92",
-							"placeholder": "-",
-							"progressClassName": "",
-							"map": [
+									"tpl": "aaaaaa-${siteName}",
+									"type": "tpl",
+									"inline": true,
+									"wrapperComponent": ""
+									
+								},
 								{
-									"color": "#528afb",
-									"value": 20
+									"type":"service",
+									"body":[
+										{
+											"tpl": "aaaaaa-${siteName}",
+											"type": "tpl",
+											"inline": true,
+											"wrapperComponent": ""
+											
+										},
+										{
+											"type":"service",
+											"body":[
+												{
+													"tpl": "aaaaaa-${siteName}",
+													"type": "tpl",
+													"inline": true,
+													"wrapperComponent": ""
+													
+												},
+												{
+													"type":"service",
+													"body":[
+														{
+															"tpl": "aaaaaa-${siteName}",
+															"type": "tpl",
+															"inline": true,
+															"wrapperComponent": ""
+															
+														}
+													]
+												}
+											]
+										}
+									]
 								}
-							],
-							"className": "p-xs"
-						},
-						{
-							"type": "tpl",
-							"tpl": "涓崕",
-							"inline": true,
-							"wrapperComponent": "",
-							"id": "u:5d7403fe6a93",
-							"themeCss": {
-								"baseControlClassName": {
-									"padding-and-margin:default": {
-										"marginTop": "var(--sizes-size-9)",
-										"marginRight": "var(--sizes-size-9)",
-										"marginBottom": "var(--sizes-size-9)",
-										"marginLeft": "var(--sizes-size-9)"
-									}
-								}
-							}
-						},
-						{
-							"type": "progress",
-							"mode": "line",
-							"value": 34,
-							"strokeWidth": 9,
-							"valueTpl": "${value}%",
-							"id": "u:d85d1fdcd367",
-							"placeholder": "-",
-							"progressClassName": "",
-							"map": [
-								{
-									"color": "#528afb",
-									"value": 20
-								}
-							],
-							"className": "p-xs"
-						},
-						{
-							"type": "tpl",
-							"tpl": "鐜夋邯",
-							"inline": true,
-							"wrapperComponent": "",
-							"id": "u:695ed7cb1479",
-							"themeCss": {
-								"baseControlClassName": {
-									"padding-and-margin:default": {
-										"marginTop": "var(--sizes-size-9)",
-										"marginRight": "var(--sizes-size-9)",
-										"marginBottom": "var(--sizes-size-9)",
-										"marginLeft": "var(--sizes-size-9)"
-									}
-								}
-							}
-						},
-						{
-							"type": "progress",
-							"mode": "line",
-							"value": 24,
-							"strokeWidth": 9,
-							"valueTpl": "${value}%",
-							"id": "u:294c476cfd16",
-							"placeholder": "-",
-							"progressClassName": "",
-							"map": [
-								{
-									"color": "#528afb",
-									"value": 20
-								}
-							],
-							"className": "p-xs"
-						},
-						{
-							"type": "tpl",
-							"tpl": "鑺欒搲鐜�",
-							"inline": true,
-							"wrapperComponent": "",
-							"id": "u:9720acc51721",
-							"themeCss": {
-								"baseControlClassName": {
-									"padding-and-margin:default": {
-										"marginTop": "var(--sizes-size-9)",
-										"marginRight": "var(--sizes-size-9)",
-										"marginBottom": "var(--sizes-size-9)",
-										"marginLeft": "var(--sizes-size-9)"
-									}
-								}
-							}
+							]
 						}
-					],
-					"size": "none",
-					"style": {
-						"position": "static",
-						"display": "block",
-						"flex": "1 1 auto",
-						"flexGrow": 1
-					},
-					"wrapperBody": false,
-					"isFixedHeight": false,
-					"isFixedWidth": false,
-					"id": "u:5c102f463e25"
+					]
 				}
 			],
+			"size": "none",
+			"type": "container",
 			"style": {
-				"position": "relative",
-				"rowGap": "10px",
-				"columnGap": "10px",
-				"flexWrap": "nowrap",
 				"inset": "auto",
-				"mobile": {
-					"flexDirection": "column",
-					"marginTop": "18px"
+				"display": "flex",
+				"flexWrap": "nowrap",
+				"position": "relative",
+				"alignItems": "flex-start",
+				"flexDirection": "column"
+			},
+			"wrapperBody": false,
+			"isFixedWidth": false,
+			"isFixedHeight": false
+		},
+		{
+			"id": "u:08a4093f293a",
+			"api": {
+				"url": "/chat/chat_async_query?rec_id=query_detail&history_id=7f47898b6b724807acebb1b9ab679627",
+				"method": "get",
+				"adaptor": "",
+				"messages": {},
+				"requestAdaptor": ""
+			},
+			"mode": "table2",
+			"type": "crud2",
+			"dsType": "api",
+			"columns": [
+				{
+					"id": "u:eb57b889aedf",
+					"name": "warn_type",
+					"type": "tpl",
+					"title": "璀﹀憡绫诲瀷"
+				},
+				{
+					"id": "u:cf0ff1dc91a1",
+					"name": "warn_title",
+					"type": "tpl",
+					"title": "璀﹀憡鍐呭"
+				},
+				{
+					"id": "u:18f8ba839a8e",
+					"name": "warn_time",
+					"type": "date",
+					"title": "璀﹀憡鏃堕棿"
+				}
+			],
+			"loadType": "pagination",
+			"loadDataOnce": true,
+			"primaryField": "id",
+			"syncLocation": true,
+			"editorSetting": {
+				"mock": {
+					"enable": true,
+					"maxDisplayRows": 5
 				}
 			},
-			"isFixedHeight": false,
-			"isFixedWidth": false
+			"footerToolbar": [
+				{
+					"id": "u:a9e46ad78f75",
+					"type": "flex",
+					"items": [
+						{
+							"id": "u:49ada3312cd1",
+							"body": [],
+							"type": "container",
+							"align": "left",
+							"style": {
+								"flex": "1 1 auto",
+								"display": "flex",
+								"flexGrow": 1,
+								"flexWrap": "nowrap",
+								"position": "static",
+								"flexBasis": "auto",
+								"alignItems": "stretch",
+								"flexDirection": "row",
+								"justifyContent": "flex-start"
+							},
+							"wrapperBody": false
+						},
+						{
+							"id": "u:a24e53913518",
+							"body": [
+								{
+									"id": "u:33382e12a22c",
+									"type": "pagination",
+									"align": "right",
+									"layout": ["total", "perPage", "pager"],
+									"perPage": 10,
+							
+									"behavior": "Pagination",
+									"perPageAvailable": [10, 20, 50, 100]
+								}
+							],
+							"type": "container",
+							"align": "right",
+							"style": {
+								"flex": "1 1 auto",
+								"display": "flex",
+								"flexGrow": 1,
+								"flexWrap": "nowrap",
+								"position": "static",
+								"flexBasis": "auto",
+								"alignItems": "stretch",
+								"flexDirection": "row",
+								"justifyContent": "flex-end"
+							},
+							"wrapperBody": false
+						}
+					],
+					"style": {
+						"position": "static"
+					},
+					"justify": "flex-start",
+					"direction": "row",
+					"alignItems": "stretch"
+				}
+			],
+			"headerToolbar": [
+				{
+					"id": "u:8d85e56d6cba",
+					"type": "flex",
+					"items": [
+						{
+							"id": "u:cfa5198c01d0",
+							"body": [],
+							"type": "container",
+							"align": "left",
+							"style": {
+								"flex": "1 1 auto",
+								"display": "flex",
+								"flexGrow": 1,
+								"flexWrap": "nowrap",
+								"position": "static",
+								"alignItems": "stretch",
+								"flexDirection": "row",
+								"justifyContent": "flex-start"
+							},
+							"behavior": ["Insert", "BulkEdit", "BulkDelete"],
+							"wrapperBody": false,
+							"isFixedHeight": false
+						},
+						{
+							"id": "u:8240ece98ea3",
+							"body": [],
+							"type": "container",
+							"align": "right",
+							"style": {
+								"flex": "1 1 auto",
+								"display": "flex",
+								"flexGrow": 1,
+								"flexWrap": "nowrap",
+								"position": "static",
+								"flexBasis": "auto",
+								"alignItems": "stretch",
+								"flexDirection": "row",
+								"justifyContent": "flex-end"
+							},
+							"behavior": ["FuzzyQuery"],
+							"wrapperBody": false
+						}
+					],
+					"style": {
+						"position": "static"
+					},
+					"justify": "flex-start",
+					"direction": "row",
+					"alignItems": "stretch"
+				}
+			]
 		}
 	],
-	"bodyClassName": "m:p-0",
-	"headerClassName": "m:pt-0 m:pl-0 m:pb-1",
-
-	"asideResizor": false,
+	"type": "page",
+	"aside": [],
+	"regions": ["body"],
+	"showHeader": true,
 	"pullRefresh": {
 		"disabled": true
 	},
-	"regions": ["body", "header"]
+	"asideResizor": false
 }

--
Gitblit v1.9.3