diff --git a/scripts/1.3.1/data/1_insert_report_data/index.js b/scripts/1.3.1/data/1_insert_report_data/index.js index 6f5303d4..af8c191a 100644 --- a/scripts/1.3.1/data/1_insert_report_data/index.js +++ b/scripts/1.3.1/data/1_insert_report_data/index.js @@ -6,13 +6,13 @@ try { // 测试环境 const pool = new Pool({ - user: 'postgres', - host: '10.8.30.32', - database: 'highways4good', - password: '123', + user: 'FashionAdmin', + host: '10.8.40.223', + database: 'sihaotest', + password: 'Fas123_', port: 5432, }) - const userId = 5 + const userId = 21 // 商用环境 // const pool = new Pool({ diff --git a/weapp/src/packages/patrol/index.jsx b/weapp/src/packages/patrol/index.jsx index ab002782..088de738 100644 --- a/weapp/src/packages/patrol/index.jsx +++ b/weapp/src/packages/patrol/index.jsx @@ -1444,12 +1444,14 @@ const Index = () => { isSuperAdmin && (wait === 'wait' || kind === 'handle') && { handleState === '待处理' && <> - { - setIsAppoint(e.detail.value === '指派' ? true : false) - }}> - 指派 - 不处理 - + + { + setIsAppoint(e.detail.value === '指派' ? true : false) + }}> + 指派 + 不处理 + + { isAppoint && <> @@ -1463,13 +1465,15 @@ const Index = () => { -