diff --git a/collect_information/package.json b/collect_information/package.json index c05bfaa..b1af349 100644 --- a/collect_information/package.json +++ b/collect_information/package.json @@ -2,7 +2,7 @@ "name": "collect_information", "version": "1.0.0", "private": true, - "description": "小程序", + "description": "智慧派出所信息采集小程序", "templateInfo": { "name": "default", "typescript": true, diff --git a/collect_information/project.config.json b/collect_information/project.config.json index ab4365c..4850484 100644 --- a/collect_information/project.config.json +++ b/collect_information/project.config.json @@ -6,7 +6,7 @@ "urlCheck": false, "es6": false, "enhance": false, - "compileHotReLoad": false, + "compileHotReLoad": true, "postcss": false, "minified": false, "babelSetting": { @@ -27,5 +27,6 @@ "editorSetting": { "tabIndent": "insertSpaces", "tabSize": 2 - } + }, + "appid": "wx8902ddbfddb820d1" } \ No newline at end of file diff --git a/collect_information/project.private.config.json b/collect_information/project.private.config.json index 3abd2fd..99e9c4e 100644 --- a/collect_information/project.private.config.json +++ b/collect_information/project.private.config.json @@ -7,6 +7,13 @@ "condition": { "miniprogram": { "list": [ + { + "name": "pages/projectManager/myProject/myProject", + "pathName": "pages/projectManager/myProject/myProject", + "query": "", + "launchMode": "default", + "scene": null + }, { "name": "", "pathName": "pages/mine/mine", diff --git a/collect_information/src/app.config.ts b/collect_information/src/app.config.ts index df9377c..258c8a4 100644 --- a/collect_information/src/app.config.ts +++ b/collect_information/src/app.config.ts @@ -6,6 +6,7 @@ export default defineAppConfig({ 'pages/policeManager/index/index', 'pages/mine/mine', 'pages/employeeInfo/employeeInfo', + 'pages/projectManager/myProject/myProject' ], window: { backgroundTextStyle: 'light', diff --git a/collect_information/src/pages/projectManager/index/index.vue b/collect_information/src/pages/projectManager/index/index.vue index c75437b..c95041b 100644 --- a/collect_information/src/pages/projectManager/index/index.vue +++ b/collect_information/src/pages/projectManager/index/index.vue @@ -11,7 +11,7 @@ + @click="Taro.navigateTo({url: '/pages/projectManager/myProject/myProject'})"> + + + + 望月湖二期66666666望月湖二期111 + + + + + + + diff --git a/collect_information/src/request/index.ts b/collect_information/src/request/index.ts index d016e89..b963f5a 100644 --- a/collect_information/src/request/index.ts +++ b/collect_information/src/request/index.ts @@ -59,6 +59,7 @@ class CustomRequest { duration: 2000 }).then() reject(res.errMsg); + console.log(res.errMsg,'000') } }) }) diff --git a/securityManagement/src/views/serviceManagement/index.vue b/securityManagement/src/views/serviceManagement/index.vue index b4990c8..22dd2e5 100644 --- a/securityManagement/src/views/serviceManagement/index.vue +++ b/securityManagement/src/views/serviceManagement/index.vue @@ -239,7 +239,7 @@ const getAdministrativeDivisionTree = async ()=>{ // 项目经理接口 const userNameOptions = ref([]) const projectManagerMiniProgram = async()=>{ - const resp = await api.get('/securityUnit/listProjectManager') + const resp = await api.get('/management/security/listProjectManager') userNameOptions.value = resp.data as any } diff --git a/securityManagement/src/views/userManagement/bgManagement/index.vue b/securityManagement/src/views/userManagement/bgManagement/index.vue index 76f7b2e..b7feee4 100644 --- a/securityManagement/src/views/userManagement/bgManagement/index.vue +++ b/securityManagement/src/views/userManagement/bgManagement/index.vue @@ -43,7 +43,7 @@ type TableProps = TableProMaxProps const tableRef = ref>(null!) // table表格 -const reqApi: TableProps['requestApi'] = (params) => api.post('/managementSecurityUnitUser/pager', params) //分页 +const reqApi: TableProps['requestApi'] = (params) => api.post('/management/security/user/pager', params) //分页 const columns: TableProps['columns'] = [ { dataIndex: 'account', @@ -95,7 +95,7 @@ const columns: TableProps['columns'] = [ style="width:100%" title="确认删除账号吗?" onConfirm={async () => { - const resp = await api.delete('/managementSecurityUnitUser/deleteById', { + const resp = await api.delete('/management/security/user/deleteById', { managementSecurityUnitUserId: record.snowFlakeId, }) message.success(resp.message) @@ -215,7 +215,7 @@ const submit = async () => { isEnable: formParams.value.isEnable, remark: formParams.value.remark } - const resp = await api.post('/managementSecurityUnitUser/saveOrUpdate', managementSecurityUnitUserSaveOrUpdateParams) + const resp = await api.post('/management/security/user/saveOrUpdate', managementSecurityUnitUserSaveOrUpdateParams) message.success(resp.message) tableRef.value?.requestGetTableData() closeModal()