diff --git a/src/api/response/administrator.js b/src/api/response/administrator.js
index 7955736..3212705 100644
--- a/src/api/response/administrator.js
+++ b/src/api/response/administrator.js
@@ -118,4 +118,15 @@ export const updatePasswordByOldPassword = (account,oldPassword,newPassword,tena
}
});
+}
+
+//根据用户名与租户Id验证密码是否正确
+export const getUserById = (id) => {
+ return request({
+ url: '/api/' + moduleName + '/ui/administrator/getUserById',
+ method: 'get',
+ params: {
+ id,
+ }
+ });
}
\ No newline at end of file
diff --git a/src/views/responseManagement/responding/component/selectUserDetails.vue b/src/views/responseManagement/responding/component/selectUserDetails.vue
new file mode 100644
index 0000000..4765f72
--- /dev/null
+++ b/src/views/responseManagement/responding/component/selectUserDetails.vue
@@ -0,0 +1,75 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Admin
+ Chief admin
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/responseManagement/responding/component/selectUserNew.vue b/src/views/responseManagement/responding/component/selectUserNew.vue
index b515e5c..977cd14 100644
--- a/src/views/responseManagement/responding/component/selectUserNew.vue
+++ b/src/views/responseManagement/responding/component/selectUserNew.vue
@@ -7,6 +7,12 @@
+
+
+
+
+
+
Admin
@@ -85,7 +91,12 @@
-
+
+
+
+
+
+
Admin
@@ -129,6 +140,7 @@
+
@@ -139,10 +151,12 @@ import { getAdminPage } from '/@/api/response/administrator.js';
import { ref, reactive, onMounted } from 'vue';
import { useThemeConfig } from '/@/stores/themeConfig';
import { storeToRefs } from 'pinia';
+import SelectUserDetails from './selectUserDetails.vue';
const storesThemeConfig = useThemeConfig();
const { website } = storeToRefs(storesThemeConfig);
const formRef = ref();
+const selectUserDetailsRef = ref();
const dataIndex=[];
let chiefCount=0
let adminCount=0
@@ -190,6 +204,10 @@ const state = reactive({
selectType: []
});
+const getSelectUserDetails = (row) => {
+ selectUserDetailsRef.value.openDialog(row);
+}
+
const sendToLeft = (index,row) => {
if (row.roleId == '1793193529859244033') {
chiefCount=chiefCount-1
@@ -453,6 +471,7 @@ const getTableDataNew = () => {
state.tableDataNew.data = da.records;
state.tableDataNew.data.forEach((item) => {
item.userId = item.adminId;
+ item.id = item.adminId;
item.name = item.userName;
item.email = item.userEmail;
item.roleId = item.userStatus==0?'1793193529859244033':'1123598816738675203';