Commit e5213912 by 张超军

1.修改人员指纹没有方向的问题。

2.用户组管理(中文提取)
3.角色管理(中文提取)
4.权限管理(中文提取)
5.发查询权限(中文提取)
6.操作日志(中文提取)
7.解决案件档案信息-导出fptx-到案件fptx导出列表接口调用2次的问题
8.修改页面上的文字可复制
9.系统分库管理(中文提取)
10.统计报表(中文提取)
parent 72245f56
<!--
* @Author: your name
* @Date: 2021-12-01 09:52:17
* @LastEditTime: 2022-04-11 12:57:22
* @LastEditTime: 2022-04-14 22:31:20
* @LastEditors: Please set LastEditors
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @FilePath: \指纹系统\founder_vue\public\index.html
......@@ -31,12 +31,12 @@
* {
padding: 0;
margin: 0 auto;
-moz-user-select: none;
/* -moz-user-select: none;
-o-user-select: none;
-khtml-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
user-select: none;
user-select: none; */
/*cursor: default;*/
}
img {
......
<!--
* @Author: your name
* @Date: 2021-11-15 14:15:58
* @LastEditTime: 2022-03-24 18:21:36
* @LastEditTime: 2022-04-14 16:43:56
* @LastEditors: Please set LastEditors
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @FilePath: \founder_vue\src\components\confrim.vue
......@@ -62,7 +62,10 @@ export default {
},
form: Object,
id: String,
name: String,
name: {
default: null,
type: String
},
width: {
type: [String, Number],
default: 16.5,
......
/*
* @Author: your name
* @Date: 2022-03-25 16:36:01
* @LastEditTime: 2022-04-13 21:57:54
* @LastEditTime: 2022-04-15 11:59:12
* @LastEditors: Please set LastEditors
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @FilePath: \uuuz\founder_vue\src\i18n\zh-cn.js
......@@ -1127,6 +1127,171 @@ export default {
two_passwords_are_inconsistent: '两次输入密码不一致!',
please_select_status: '请选择状态',
please_select_user_before_operation: '请选择用户后操作',
this_action_will_permanently_delete_user: '此操作将永久删除用户,是否继续?'
this_action_will_permanently_delete_user: '此操作将永久删除用户,是否继续?',
no_user_group: '无用户组',
no_role: '无角色'
},
// 用户组管理
GroupManage: {
name_of_the_company_to_user_belongs: '用户所属单位名称',
group_role: '组角色',
add_user_group: '新增用户组',
role_setting: '角色设置',
group_members: '组成员',
user_setting: '用户设置',
group_jurisdiction: '组权限',
group_name: '组名称',
group_description: '组描述',
please_input_group_description: '请输入组描述',
join_group_user: '加入组用户',
join_group_role: '加入组角色',
edit_user_group: '编辑用户组',
please_input_group_name: '请输入组名称',
system_role: '系统角色',
custom_role: '自定义角色',
add_role: '可添加角色',
add_group_member: '添加组成员',
no_add_data: '暂无可添加数据',
close: '关闭',
please_input_user_group_name: '请输入用户组名称!',
please_select_join_user_group_user: '请选择加入用户组的用户!',
please_select_user_group_role: '请选择用户组的角色!',
setting_success: '设置成功',
action_permanently_delete_user_group: '此操作将永久删除用户组, 是否继续?'
},
// 角色管理
RoleManage: {
new_add_role: '新增角色',
copy_edit_jurisdiction: '复制并修改权限',
functional_authority: '功能权限',
data_authority: '数据权限',
adding_role_not_completed_please_save_first: '添加角色操作尚未完成,请先保存!',
please_save_before_copying: '请先保存后再进行复制!',
please_input_name: '请输入名称',
new_add_role_success: '新增角色成功!',
failed_get_role_information: '获取角色信息失败!',
please_select_role_operate: '请选择角色后操作',
please_delete_after_saving: '请保存后进行删除操作',
update_success: '更新成功',
failed_retrieve_current_user_information_please_reEnter_from_list: '当前用户信息调取失败,请从列表重新进入'
},
// 权限管理
PermissionManage: {
user_list: '用户列表',
user_group_list: '用户组列表',
permission_description: '权限说明',
role_permissions: '角色权限',
user_group_permissions: '用户组权限',
role_user_group: '角色+用户组',
role_user: '角色+用户',
user_group_user: '用户组+用户',
user_rights: '用户权限',
role_user_group_user: '角色+用户组+用户',
},
// 发查询权限
QueryPermission: {
less: '少',
secondary: '中',
much: '多',
total_queries_sent_by_system: '系统可发送查询总数:',
article_day: '条/天',
automatic_allocation_total_number_provincial_offices: '省厅总数自动分配',
one_key_distribution: '一键分配',
inquiries_issued_provincial_district_departments: '省/区厅发查询总数:',
high_priority: '其中高优先级:',
provincial_District_Department_user_name: '省/区厅用户名',
sent_total: '已发送/总数',
where_high_priority: '其中(高优先级)',
prefecture_city_unit: '地市单位:',
bureau_of_public_security: '公安局',
total_number_local_municipal_inquiries: '地市发查询总数:',
Lhasa: '拉萨市',
one_click_allocation_succeeded: '一键分配成功',
one_click_allocation_failed_please_check_total_number_inputs: '一键分配失败,请核查输入总数',
one_click_allocation_failed_please_try_again: '一键分配失败,请重试',
edit_success: '修改成功',
allocation_failed_please_check_the_entered_value: '分配失败,请核查输入数值',
latest_data_day_refreshed_for_you: '已为您刷新当日最新数据'
},
// 操作日志
SystemLog: {
query_unit: '查询单位:',
query_date: '查询日期:',
time: '时间',
content: '内容',
IP_address: 'IP地址'
},
// 统计报表
Tjbb: {
query_template: '查询模版:',
please_select_template: '请选择模板',
zhi: '至',
collected_information_statistics: '采集信息统计',
case_information_statistics: '案件信息统计',
detailed_review_statistics_of_urban_comparison: '城市比中明细复核统计',
visual_switching: '可视化切换',
print: '打印',
current_page: '当前页',
all_pages: '全部页',
export_current_page: '导出当前页',
export_all_pages: '导出全部页',
detailed_review_statistics_of_prefecture_city_comparison: '地市比中明细复核统计',
preparing_to_export_please_wait: '正在准备导出,请稍等',
collection_information_statistics_template: '采集信息统计模板',
case_information_statistics_template: '案件信息统计模板',
city_comparison_information_review_statistical_template: '城市比中信息复核统计模板',
acquisition_time: '采集时间:',
collection_unit: '采集单位:',
select_date: '选择日期',
collection_way: '采集方式:',
fingerprint_printing: '捺印指纹',
stamp_date: '捺印日期:',
case_event_No: '案事件编号:',
inspection_No: '勘验编号:',
please_input_inspection_No: '请输入勘验编号',
start_end_time: '起止时间:',
query_type: '查询类型:',
source_barcode_No: '源条码号:',
target_barcode_No: '目标条码号:',
recognized_by: '认定单位:'
},
// 系统分库管理
Xtfkgl: {
sub_database_name: '分库名称',
database_user_group_user: '数据库用户组/用户',
creation_time: '创建时间',
logical_library_description: '逻辑库说明',
workflow: '工作流',
data_management: '数据管理',
processing_queue: '处理队列',
edit_queue: '编辑队列',
check_queue: '检查队列',
query_queue: '查询队列',
audit_0: '审核0',
audit_1: '审核1',
audit_2: '审核2',
audit_3: '审核3',
audit_4: '审核4',
audit_5: '审核5',
please_select_user: '请先选择用户',
logical_sub_database_information: '逻辑分库信息',
logical_sub_library_name: '逻辑分库名称:',
Database_user: '数据库用户:',
tip_not_selected_all_users_will_be_selected_by_default: '提示:如果不选择,默认全部用户!',
data_conditions: '数据条件:',
workflow_settings: '工作流设置',
working_mode: '工作模式',
serial_mode: '串行模式',
parallel_mode: '并行模式',
queue_name: '队列名称',
work_queue: '工作队列',
description_cannot_exceed_50_words: '说明不能超过50个字!',
please_input_logical_name: '请输入逻辑库名称',
name_includes_Chinese_characters_letters_and_two_Chinese_characters: '名称包括汉字、字母,至少两个汉字!',
newly_added: '新增',
logical_library_already_exists: '已有该逻辑库',
unknown_exception: '未知异常!',
wrong_information: '信息填写错误!',
add_sub_database: '新增分库'
}
}
......@@ -10,6 +10,7 @@
v-model="showType"
size="small"
fill="#055fe7"
@change="getPersonOrCaseData"
>
<el-radio-button label="1">{{$t('Dclb.person_fptx_export')}}</el-radio-button>
<el-radio-button label="2">{{$t('Dclb.case_fptx_export')}}</el-radio-button>
......@@ -481,17 +482,29 @@ export default {
this.width5 = (this.width5 * w2) / w1
},
watch: {
showType (newNum, oldNum) {
// ...
//console.log(newNum, 123);
this.selectBoo = false// 是否批量操作
// showType (newNum, oldNum) {
// // ...
// //console.log(newNum, 123);
// this.selectBoo = false// 是否批量操作
// this.isShowTip = false;
// this.multipleSelection = [];
// // this.search();
// this.clear()
// },
},
methods: {
/**
* @description: 切换选项时调用
* @param {*}
* @return {*}
*/
getPersonOrCaseData() {
this.selectBoo = false // 是否批量操作
this.isShowTip = false;
this.multipleSelection = [];
// this.search();
console.log(this.showType);
this.clear()
},
},
methods: {
// 获取
search (page = 1) {
let reqUrl = null;
......
......@@ -31,16 +31,16 @@
class="circle-blue"
></div>
<div v-if="status === '3'" class="circle-green"></div>
{{ status === "0" ? "停用" : "启用" }}
{{ status === "0" ? $t('UserManage.deactivate') : $t('UserManage.enable') }}
</div>
</div>
<div class="info">
<div class="info-item">
<div class="info-title">用户组</div>
<div class="info-title">{{$t('UserManage.yhz')}}</div>
<div class="info-value">{{ userData.name }}</div>
</div>
<div class="info-item" style="display: flex; align-items: center">
<div class="info-title">组角色</div>
<div class="info-title">{{$t('GroupManage.group_role')}}</div>
<div>
<div
class="info-card"
......@@ -77,7 +77,7 @@
</el-tooltip>
</div>
<div class="info-item">
<div class="info-title">组成员</div>
<div class="info-title">{{$t('GroupManage.group_members')}}</div>
<div class="group-item cheng">
<svg-icon
style="
......@@ -91,45 +91,45 @@
{{ userData.userCount }}
</div>
</div>
<span class="userList" @click="isShowUserDialog = true">用户列表</span>
<span class="userList" @click="isShowUserDialog = true">{{$t('PermissionManage.user_list')}}</span>
</div>
</div>
<div class="main">
<div class="header">
<div class="btns">
<div class="btn" :class="{ active: funFlag }" @click="funAuth">
功能权限
{{$t('RoleManage.functional_authority')}}
</div>
<div class="btn" :class="{ active: dataFlag }" @click="dataAuth">
数据权限
{{$t('RoleManage.data_authority')}}
</div>
</div>
<div class="btnsBox">
<div class="explain">
<div class="state">
<p>权限说明</p>
<p>{{$t('PermissionManage.permission_description')}}</p>
<span></span>
</div>
<el-checkbox v-model="checked" disabled class="huise1"
>角色权限</el-checkbox
>{{$t('PermissionManage.role_permissions')}}</el-checkbox
>
<el-checkbox v-model="checked" disabled class="danhuang1"
>用户组权限</el-checkbox
>{{$t('PermissionManage.user_group_permissions')}}</el-checkbox
>
<el-checkbox
v-model="checked"
disabled
class="lei2 huise1 danhuang2"
>角色+用户组</el-checkbox
>{{$t('PermissionManage.role_user_group')}}</el-checkbox
>
</div>
<div class="save">
<div @click="redact" class="editText" v-if="editBoo">
<i class="el-icon-edit"></i>
<span>编辑</span>
<span>{{$t('Common.compile')}}</span>
</div>
<div :class="{ disabel: isSave, btn: true }" @click="save">
保存
{{$t('Ryzwbj.save')}}
</div>
<!-- <el-button @click="add">add</el-button>-->
<!-- <el-button @click="edit">edit</el-button>-->
......@@ -424,41 +424,41 @@
>
<el-table-column
prop="username"
label="用户名"
:label="$t('Home.yhm')"
show-overflow-tooltip
>
</el-table-column>
<el-table-column prop="name" label="姓名" show-overflow-tooltip>
<el-table-column prop="name" :label="$t('Common.xm')" show-overflow-tooltip>
</el-table-column>
<el-table-column
prop="policeNumber"
label="警号"
:label="$t('Login.jh')"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
prop="userGroupNames"
label="用户组"
:label="$t('UserManage.yhz')"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
prop="unitName"
label="所属单位"
:label="$t('UserManage.affiliated_unit')"
show-overflow-tooltip
>
</el-table-column>
<el-table-column prop="status" label="启用状态" width="auto">
<el-table-column prop="status" :label="$t('UserManage.enable_status')" width="auto">
<template slot-scope="scope">
<div v-if="scope.row.status === 0" class="circle-red"></div>
<div v-if="scope.row.status === 1" class="circle-blue"></div>
{{
scope.row.status === 0
? "停用"
? $t('UserManage.deactivate')
: scope.row.status === 1
? "启用"
: "无状态"
? $t('UserManage.enable')
: $t('UserManage.no_status')
}}
</template>
</el-table-column>
......@@ -466,7 +466,7 @@
</div>
</div>
<div class="addbtns">
<div class="btn2" @click="canceluser">关闭</div>
<div class="btn2" @click="canceluser">{{$t('GroupManage.close')}}</div>
</div>
</div>
</el-container>
......@@ -567,7 +567,7 @@ export default {
},
}).then((res) => {
if (res.data.code == 200 && res.data.info == "success") {
this.$message.success("保存成功");
this.$message.success(this.$t('Common.save_success'));
this.isSave = true;
}
});
......
<!--
* @Author: your name
* @Date: 2021-12-24 09:50:39
* @LastEditTime: 2022-04-10 15:54:22
* @LastEditTime: 2022-04-14 19:28:06
* @LastEditors: Please set LastEditors
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @FilePath: \founder_vue\src\views\SystemManage\QueryPermission.vue
......@@ -14,17 +14,17 @@
<div class="mapLegend">
<div>
<div class="legendBlk less"></div>
<div></div>
<div>{{$t('QueryPermission.less')}}</div>
<div class="persent">(0~30%)</div>
</div>
<div>
<div class="legendBlk middle"></div>
<div></div>
<div>{{$t('QueryPermission.secondary')}}</div>
<div class="persent">(30~70%)</div>
</div>
<div>
<div class="legendBlk many"></div>
<div></div>
<div>{{$t('QueryPermission.much')}}</div>
<div class="persent">(70~100%)</div>
</div>
</div>
......@@ -32,23 +32,23 @@
<div class="tables">
<div class="firstLine">
<img class="buleBlk" src="@/assets/img/fcxqx/blueBlk.png" />
<div class="txt">系统可发送查询总数:</div>
<div class="txt">{{$t('QueryPermission.total_queries_sent_by_system')}}</div>
<el-input v-model="numTotal" @input="totalNumChanged"></el-input>
<label>条/天</label>
<el-checkbox class="ckbAuto" fill="#055FE7" v-model="isAutoDistribute">省厅总数自动分配</el-checkbox>
<label>{{$t('QueryPermission.article_day')}}</label>
<el-checkbox class="ckbAuto" fill="#055FE7" v-model="isAutoDistribute">{{$t('QueryPermission.automatic_allocation_total_number_provincial_offices')}}</el-checkbox>
<button @click="autoDistribute" class="f-primary-button">
一键分配
{{$t('QueryPermission.one_key_distribution')}}
</button>
</div>
<div class="stTongji">
<div>省/区厅发查询总数:</div>
<div>{{$t('QueryPermission.inquiries_issued_provincial_district_departments')}}</div>
<div class="labelBack blue"></div>
<numberInput
v-bind:text="numTotalSt"
v-bind:preText="numTotalStUsed.toString() +' /'"
v-on:change="changeStTotalNum"
></numberInput>
<div class="awayLeft">其中高优先级:</div>
<div class="awayLeft">{{$t('QueryPermission.high_priority')}}</div>
<numberInput
v-bind:text="numGaoSt"
v-bind:preText="numGaoStUsed.toString() + ' /'"
......@@ -62,9 +62,9 @@
tooltip-effect="dark"
style="width: 100%;"
:header-cell-class-name="tableRowClassName">
<el-table-column label="省/区厅用户名" prop="userName">
<el-table-column :label="$t('QueryPermission.provincial_District_Department_user_name')" prop="userName">
</el-table-column>
<el-table-column label="已发送/总数" prop="date">
<el-table-column :label="$t('QueryPermission.sent_total')" prop="date">
<template slot-scope="scope">
<editableLable
v-bind:id="scope.row.userId.toString()"
......@@ -85,7 +85,7 @@
</editableLable>
</template>
</el-table-column>
<el-table-column class="kkk" label="其中(高优先级)" prop="highTotal">
<el-table-column class="kkk" :label="$t('QueryPermission.where_high_priority')" prop="highTotal">
<template slot-scope="scope">
<editableLable
v-bind:id="scope.row.userId.toString()"
......@@ -100,17 +100,17 @@
</el-table-column>
</el-table>
<div v-show="selectedFeature" class="dsTongjiBlk">
<label>地市单位:</label>
<label>{{ dsdw + '公安局' }}</label>
<label>{{$t('QueryPermission.prefecture_city_unit')}}</label>
<label>{{ dsdw + $t('QueryPermission.bureau_of_public_security') }}</label>
<div class="dsTongji">
<div>地市发查询总数:</div>
<div>{{$t('QueryPermission.total_number_local_municipal_inquiries')}}</div>
<div class="labelBack pink"></div>
<numberInput
v-bind:text="numTotalDs"
v-bind:preText="numTotalDsUsed.toString() + ' /'"
v-on:change="changeDsTotalNum"
></numberInput>
<div class="awayLeft">其中高优先级:</div>
<div class="awayLeft">{{$t('QueryPermission.high_priority')}}</div>
<numberInput
v-bind:text="numGaoDs"
v-bind:preText="numGaoDsUsed.toString() + ' /'"
......@@ -127,9 +127,9 @@
style="width: 100%"
:header-cell-class-name="tableRowClassName"
>
<el-table-column label="省/区厅用户名" prop="userName">
<el-table-column :label="$t('QueryPermission.provincial_District_Department_user_name')" prop="userName">
</el-table-column>
<el-table-column label="已发送/总数" prop="date">
<el-table-column :label="$t('QueryPermission.sent_total')" prop="date">
<template slot-scope="scope">
<editableLable
v-bind:id="scope.row.userId.toString()"
......@@ -150,7 +150,7 @@
</editableLable>
</template>
</el-table-column>
<el-table-column label="其中(高优先级)" prop="highTotal">
<el-table-column :label="$t('QueryPermission.where_high_priority')" prop="highTotal">
<template slot-scope="scope">
<editableLable
v-bind:id="scope.row.userId.toString()"
......@@ -194,7 +194,7 @@ export default {
tableHeight2: 160,
stDataObj: {},
dsDataObj: {},
dsdw: '拉萨市',
dsdw: this.$t('QueryPermission.Lhasa'),
tableDateDs: [],
tableDateSt: [],
isAutoDistribute: true,
......@@ -544,11 +544,11 @@ export default {
},
}).then((res) => {
if (res.data.code === 0) {
self.$message.success('一键分配成功')
self.$message.success(self.$t('QueryPermission.one_click_allocation_succeeded'))
} else if (res.data.code === 201) {
self.$message.error('一键分配失败,请核查输入总数')
self.$message.error(self.$t('QueryPermission.one_click_allocation_failed_please_check_total_number_inputs'))
} else {
self.$message.error('一键分配失败,请重试')
self.$message.error(self.$t('QueryPermission.one_click_allocation_failed_please_try_again'))
}
// 更改页面数据(重新加载页面)
self.getMapPageData()
......@@ -610,9 +610,9 @@ export default {
if (fn) {
fn(res.data)
}
self.$message.success('修改成功')
self.$message.success(self.$t('QueryPermission.edit_success'))
} else {
self.$message.error('分配失败,请核查输入数值')
self.$message.error(self.$t('QueryPermission.allocation_failed_please_check_the_entered_value'))
}
})
},
......@@ -633,9 +633,9 @@ export default {
}),
}).then((res) => {
if (res.data.code !== 0) {
self.$message.error('分配失败,请核查输入数值')
self.$message.error(self.$t('QueryPermission.allocation_failed_please_check_the_entered_value'))
} else {
self.$message.success('修改成功')
self.$message.success(self.$t('QueryPermission.edit_success'))
}
if (fn) {
fn(res.data.code === 0)
......@@ -660,7 +660,7 @@ export default {
url: '/api/queryCount/flashUsedCount',
}).then((res) => {
if (res.data.code === 0) {
self.$message.info('已为您刷新当日最新数据')
self.$message.info(self.$t('QueryPermission.latest_data_day_refreshed_for_you'))
// 更改页面数据(重新加载页面)
self.getMapPageData()
self.loadShengtingData()
......
......@@ -9,12 +9,12 @@
margin-bottom: -0.0625rem;
margin-right: 0.25rem;
" class="el-icon-plus"></i>
<span class="add-role-span"> 新增角色 </span>
<span class="add-role-span"> {{$t('RoleManage.new_add_role')}} </span>
</div>
<div
class="img-btn"
@click="copy2"
title="复制并修改权限"
:title="$t('RoleManage.copy_edit_jurisdiction')"
@mouseenter="copybz = true"
@mouseleave="copybz = false"
>
......@@ -53,7 +53,7 @@
</div>
<div class="hr"></div>
<div class="diy-roles">
<span v-show="delimgBoo" class="cancleBtn" @click="cancel">取消</span>
<span v-show="delimgBoo" class="cancleBtn" @click="cancel">{{$t('Common.cancel_btn')}}</span>
<div class="delbtns" v-if="roleArr.includes('H-3-5')">
<div
class="delicon"
......@@ -64,12 +64,12 @@
}">
<img style="width: 0.85rem; height: 0.85rem; cursor: pointer"
src="../../assets/img/qbryk/del333.png" />
<span>删除</span>
<span>{{$t('Common.delete_btn')}}</span>
</div>
<Confirmation
@onConfirm="del"
@cancel="cancel"
content="删除"
:content="$t('Common.delete_btn')"
v-if="delimgBoo"
:hintBoo="true"
:disaledToolTipe="true"
......@@ -79,7 +79,7 @@
style="width: 0.85rem; height: 0.85rem; cursor: pointer"
src="../../assets/img/qbryk/delcolor.png"
/>
<span>删除</span>
<span>{{$t('Common.delete_btn')}}</span>
</div>
</Confirmation>
</div>
......@@ -122,14 +122,14 @@
<div class="header">
<div class="btns">
<div class="btn" :class="{ active: funFlag }" @click="funAuth">
功能权限
{{$t('RoleManage.functional_authority')}}
</div>
<div class="btn" :class="{ active: dataFlag }" @click="dataAuth">
数据权限
{{$t('RoleManage.data_authority')}}
</div>
</div>
<div class="save">
<div class="btn" @click="save" :disabled="saveBtnState()">保存</div>
<div class="btn" @click="save" :disabled="saveBtnState()">{{$t('Ryzwbj.save')}}</div>
</div>
</div>
<el-checkbox-group v-model="checkList" :disabled="menuDisableState()">
......@@ -489,7 +489,7 @@ export default {
// 检验当前状态
isGotoNextState() {
if (this.isAdding === true) {// 不可以进行其他操作
this.$message.warning('添加角色操作尚未完成,请先保存!')
this.$message.warning(this.$t('RoleManage.adding_role_not_completed_please_save_first'))
return false
}
},
......@@ -537,7 +537,7 @@ export default {
let diyRoleItemIndex = id
//如果有没有保存的角色权限则先进行保存后复制
if (this.customAddUser.length > 0) {
this.$message.warning('请先保存后再进行复制!')
this.$message.warning(this.$t('RoleManage.please_save_before_copying'))
return
}
this.fuzhi = false
......@@ -549,7 +549,7 @@ export default {
//新复制的角色对象,id先为自己定义,不要与其他id重复
let id = this.diyRoleList.length + 20 + 'copy'
var roleitem = {
name: '请输入名称',
name: this.$('RoleManage.please_input_name'),
value: '',
flag: false,
code: this.diyRoleList.length,
......@@ -633,7 +633,7 @@ export default {
self.resetEdit()
// self.fuzhi = false
setTimeout(() => {
this.$message.success('新增角色成功!')
this.$message.success(this.$t('RoleManage.new_add_role_success'))
}, 800)
self.isAdding = false
} else {
......@@ -695,6 +695,7 @@ export default {
},
// 获取角色列表 和 角色权限列表
search(ids, boo, loading) {
let self = this
this.$axios
.get('/security/roles', {loading: boo ? false : null})
.then((res) => {
......@@ -718,7 +719,7 @@ export default {
this.diyRoleList = JSON.parse(JSON.stringify(result)).filter(
(i) => {
i.value = i.name
i.name = '请输入名称'
i.name = self.$t('RoleManage.please_input_name')
return i.defaultFlag == 0
}
)
......@@ -730,7 +731,7 @@ export default {
//console.info("角色权限===》", this.diyRoleList);
//console.info("选中的角色信息", this.checkItem);
} else {
this.$message.error('获取角色信息失败!')
this.$message.error(this.$t('RoleManage.failed_get_role_information'))
}
})
.catch((failResponse) => {
......@@ -740,14 +741,14 @@ export default {
del() {
//删除前的一系列判断
if (this.btnCheckList.length <= 0) {
this.$message.error('请选择角色后操作')
this.$message.error($t('RoleManage.please_select_role_operate'))
return
}
if (
this.customAddUser.length > 0 &&
this.btnCheckList.includes(this.customAddUser[0].id)
) {
this.$message.error('请保存后进行删除操作')
this.$message.error(this.$t('RoleManage.please_delete_after_saving'))
return
}
let ids = this.btnCheckList.join(',')
......@@ -778,17 +779,17 @@ export default {
this.search(boo ? null : 1, true, loading)
setTimeout(() => {
this.delimgBoo = false
this.$message.success('删除成功')
this.$message.success(this.$t('Common.delete_success'))
}, 500)
} else {
this.$message.error('删除失败')
this.$message.error(this.$t('Common.delete_fail'))
}
})
},
// 新增
add() {
if (this.customAddUser.length > 0) {
this.$message.warning('添加角色操作尚未完成,请先保存!')
this.$message.warning(this.$t('RoleManage.adding_role_not_completed_please_save_first'))
return
}
this.isAdding = true
......@@ -797,7 +798,7 @@ export default {
let id = this.diyRoleList.length + 20 + 'l'
var roleitem = {
value: '',
name: '请输入名称',
name: this.$t('RoleManage.please_input_name'),
flag: false,
code: this.diyRoleList.length,
edit: true,
......@@ -857,7 +858,7 @@ export default {
})
this.$set(this.diyRoleList[index], 'permissions', arr)
setTimeout(() => {
this.$message.success('更新成功')
this.$message.success(this.$t('RoleManage.update_success'))
}, 500)
this.resetEdit()
} else {
......
......@@ -31,37 +31,37 @@
class="circle-blue"
></div>
<div v-if="status === '3'" class="circle-green"></div>
{{ status === "0" ? "停用" : "启用" }}
{{ status === "0" ? $t('UserManage.deactivate') : $t('UserManage.enable') }}
</div>
</div>
<div class="info">
<div class="info-item">
<div class="info-title">用户名</div>
<div class="info-title">{{$t('Home.yhm')}}</div>
<div class="info-value">{{ userData.username }}</div>
</div>
<div class="info-item">
<div class="info-title">姓名</div>
<div class="info-title">{{$t('Common.xm')}}</div>
<div class="info-value">{{ userData.name }}</div>
</div>
<div class="info-item">
<div class="info-title">警号</div>
<div class="info-title">{{$t('Login.jh')}}</div>
<div class="info-value">{{ userData.policeNumber }}</div>
</div>
<div class="info-item">
<div class="info-title yonghuzu">
<el-checkbox v-model="checked" disabled>用户组</el-checkbox>
<el-checkbox v-model="checked" disabled>{{$t('UserManage.yhz')}}</el-checkbox>
</div>
<div class="info-value">
{{ userData.userGroupNames || "无用户组" }}
{{ userData.userGroupNames || $t('UserManage.no_user_group') }}
</div>
</div>
<div class="info-item">
<div class="info-title">所属单位</div>
<div class="info-title">{{$t('UserManage.affiliated_unit')}}</div>
<div class="info-value">{{ userData.unitName }}</div>
</div>
<div class="info-item1">
<div class="info-title juese">
<el-checkbox v-model="checked" disabled>角色</el-checkbox>
<el-checkbox v-model="checked" disabled>{{$t('UserManage.js')}}</el-checkbox>
</div>
<!-- 有角色 角色长度<5-->
<div v-if="userData.roleNames !== ''" class="info-value">
......@@ -79,7 +79,7 @@
</div>
<!-- 无角色-->
<div v-else-if="userData.roleNames === ''" class="info-value">
无角色
{{$t('UserManage.no_role')}}
</div>
</div>
</div>
......@@ -88,53 +88,53 @@
<div class="header">
<div class="btns">
<div class="btn" :class="{ active: funFlag }" @click="funAuth">
功能权限
{{$t('RoleManage.functional_authority')}}
</div>
<div class="btn" :class="{ active: dataFlag }" @click="dataAuth">
数据权限
{{$t('RoleManage.data_authority')}}
</div>
</div>
<div class="btnsBox">
<div class="explain">
<div class="state">
<p>权限说明</p>
<p>{{$t('PermissionManage.permission_description')}}</p>
<span></span>
</div>
<el-checkbox v-model="checked" disabled class="huise1"
>角色权限</el-checkbox
>{{$t('PermissionManage.role_permissions')}}</el-checkbox
>
<el-checkbox v-model="checked" disabled class="danhuang1"
>用户组权限</el-checkbox
>{{$t('PermissionManage.user_group_permissions')}}</el-checkbox
>
<el-checkbox v-model="checked" disabled class="wu1"
>用户权限</el-checkbox
>{{$t('PermissionManage.user_rights')}}</el-checkbox
>
<el-checkbox
v-model="checked"
disabled
class="lei2 huise1 danhuang2"
>角色+用户组</el-checkbox
>{{$t('PermissionManage.role_user_group')}}</el-checkbox
>
<el-checkbox v-model="checked" disabled class="lei2 huise1 wu2"
>角色+用户</el-checkbox
>{{$t('PermissionManage.role_user')}}</el-checkbox
>
<el-checkbox v-model="checked" disabled class="lei2 wu2 danhuang1"
>用户组+用户</el-checkbox
>{{$t('PermissionManage.user_group_user')}}</el-checkbox
>
<el-checkbox
v-model="checked"
disabled
class="huise1 lei3 lei2 wu3 danhuang2"
>角色+用户组+用户</el-checkbox
>{{$t('PermissionManage.role_user_group_user')}}</el-checkbox
>
</div>
<div class="save">
<div @click="redact" class="editText" v-if="editBoo">
<i class="el-icon-edit"></i>
<span>编辑</span>
<span>{{$t('Common.compile')}}</span>
</div>
<div :class="{ disabel: isSave, btn: true }" @click="save">
保存
{{$t('Ryzwbj.save')}}
</div>
<!-- <el-button @click="add">add</el-button>-->
<!-- <el-button @click="edit">edit</el-button>-->
......@@ -498,10 +498,10 @@ export default {
},
}).then((res) => {
if (res.data.code == 200 && res.data.info == "success") {
this.$message.success("保存成功");
this.$message.success(this.$t('Common.save_success'));
this.isSave = true;
} else {
this.$message.error("保存失败");
this.$message.error(this.$t('Common.save_fail'));
}
});
},
......@@ -541,7 +541,7 @@ export default {
})
.catch((err) => {
if (err) {
this.$message.error("当前用户信息调取失败,请从列表重新进入");
this.$message.error(this.$t('RoleManage.failed_retrieve_current_user_information_please_reEnter_from_list'));
setTimeout(() => {
this.$router.push("/PermissionManage");
}, 500);
......
......@@ -9,19 +9,19 @@
label-width="110px"
>
<div class="headLeft">
<el-form-item label="查询单位:">
<el-form-item :label="$t('SystemLog.query_unit')">
<Cascader
:form="systemLogParam"
id="logDwCode"
:props='props'
></Cascader>
</el-form-item>
<el-form-item label="查询日期:">
<el-form-item :label="$t('SystemLog.query_date')">
<el-date-picker
v-model="startEndDate"
type="daterange"
start-placeholder="开始日期"
end-placeholder="结束日期"
:start-placeholder="$t('Common.start_time2')"
:end-placeholder="$t('Common.end_time2')"
:picker-options="{
disabledDate: disabledDate,
}"
......@@ -36,11 +36,11 @@
class="qk"
v-show="systemLogParam.logDwCode!=''||startEndDate!=null"
@click="clear"
>清空</el-button>
>{{$t('Common.clear_btn')}}</el-button>
<el-button
class="cx"
@click="getLogList()"
>查询</el-button>
>{{$t('LL.query')}}</el-button>
</el-form-item>
</div>
</el-form>
......@@ -54,7 +54,7 @@
>
<el-table-column
prop="logTime"
label="时间"
:label="$t('SystemLog.time')"
:formatter="dateTimeFormat"
:width="width1"
show-overflow-tooltip
......@@ -62,7 +62,7 @@
</el-table-column>
<el-table-column
prop="logMessage"
label="内容"
:label="$t('SystemLog.content')"
width="auto"
show-overflow-tooltip
>
......@@ -70,21 +70,21 @@
<el-table-column
prop="logDwName"
label="单位"
:label="$t('UserManage.dw')"
:width="width3"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
prop="logUserName"
label="用户"
:label="$t('Tjddl.yh')"
:width="width4"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
prop="logUserIp"
label="IP地址"
:label="$t('SystemLog.IP_address')"
show-overflow-tooltip
:width="width5"
>
......@@ -93,9 +93,9 @@
</div>
<div class="block">
<span class="record">{{ systemLogParam.total }}条记录 第{{ systemLogParam.currPage }}/{{
<span class="record">{{$t('Common.all')}}{{ systemLogParam.total }}{{$t('Common.item')}}{{$t('Common.record')}} {{$t('Common.di')}}{{ systemLogParam.currPage }}/{{
pages
}}</span>
}}{{$t('Common.page')}}</span>
<el-pagination
class="paging"
@size-change="handleSizeChange"
......
/*
* @Author: your name
* @Date: 2022-01-14 17:54:48
* @LastEditTime: 2022-01-14 18:40:52
* @LastEditTime: 2022-04-14 23:42:10
* @LastEditors: Please set LastEditors
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @FilePath: \founder_vue\src\views\tjbb\tjbb.js
*/
import i18n from '@/i18n/index.js'
const cjxxmb = [
{
label: "采集时间:",
label: i18n.tc('Tjbb.acquisition_time'),
type: "month",
fomat: "yyyy-MM",
id: "sj",
placeholder: "请选择",
placeholder: i18n.tc('Common.please_select'),
},
{
label: "采集单位:",
label: i18n.tc('Tjbb.collection_unit'),
type: "cascader",
id: "unitcode",
placeholder: "选择日期",
placeholder: i18n.tc('Tjbb.select_date'),
},
{
label: "采集方式:",
label: i18n.tc('Tjbb.collection_way'),
type: "select",
id: "code",
selectList: [
{
name: "捺印指纹",
name: i18n.tc('Tjbb.fingerprint_printing'),
value: "1",
},
{
name: "现场指纹",
name: i18n.tc('Daxxk.scene_fingerprint'),
value: "2",
},
],
......@@ -39,11 +40,11 @@ const cjxxmb = [
]
const ajxxmb = [
{
label: "捺印日期:",
label: i18n.tc('Tjbb.stamp_date'),
type: "dateValue",
fomat: "yyyy-MM-dd",
id: "tqsj",
placeholder: "选择日期",
placeholder: i18n.tc('Tjbb.select_date'),
},
// {
// label: "入库时间:",
......@@ -53,10 +54,10 @@ const ajxxmb = [
// placeholder: "选择日期",
// },
{
label: "采集单位:",
label: i18n.tc('Tjbb.collection_unit'),
type: "cascader",
id: "unitcode",
placeholder: "选择日期",
placeholder: i18n.tc('Tjbb.select_date'),
},
// {
// label: "采集方式:",
......@@ -65,55 +66,55 @@ const ajxxmb = [
// placeholder: "请输入采集方式",
// },
{
label: "案事件编号:",
label: i18n.tc('Tjbb.case_event_No'),
type: "input",
id: "asjbh",
placeholder: "请输入案事件编号",
placeholder: i18n.tc('FptxDr.input_case_number'),
},
{
label: "勘验编号:",
label: i18n.tc('Tjbb.inspection_No'),
type: "input",
id: "kybh",
placeholder: "请输入勘验编号",
placeholder: i18n.tc('Tjbb.please_input_inspection_No'),
},
]
const dsbzmb = [
{
label: "起止时间:",
label: i18n.tc('Tjbb.start_end_time'),
type: "dateValue",
fomat: "yyyy-MM-dd",
id: "qzsj",
},
{
label: "查询类型:",
label: i18n.tc('Tjbb.query_type'),
type: "select",
col: '10',
selectList: [
{
name: "倒查",
name: i18n.tc('Common.TL'),
value: "1",
},
{
name: "正查",
name: i18n.tc('Common.LT'),
value: "2",
},
],
id: "cxlx",
},
{
label: "源条码号:",
label: i18n.tc('Tjbb.source_barcode_No'),
type: "input",
id: "ytmh",
placeholder: "请输入源条码号",
placeholder: i18n.tc('Bzxxgl.please_enter_source_barcode'),
},
{
label: "目标条码号:",
label: i18n.tc('Tjbb.target_barcode_No'),
type: "input",
id: "mbtmh",
placeholder: "请输入目标条码号",
placeholder: i18n.tc('Bzxxgl.please_enter_target_barcode'),
},
{
label: "认定单位:",
label: i18n.tc('Tjbb.recognized_by'),
type: "cascader",
id: "rddw",
},
......
<template>
<div class="tjbb">
<div class="searchHeader">
<span>查询模版:</span>
<span>{{$t('Tjbb.query_template')}}</span>
<el-select
v-model="tpl"
placeholder="请选择模板"
:placeholder="$t('Tjbb.please_select_template')"
size="small"
@change="onChange"
>
......@@ -61,9 +61,9 @@
:format="item.fomat"
:value-format="item.fomat"
v-model="queryParams[item.id]"
range-separator="至"
start-placeholder="开始日期"
end-placeholder="结束日期"
:range-separator="$t('Tjbb.zhi')"
:start-placeholder="$t('Common.start_time2')"
:end-placeholder="$t('Common.end_time2')"
type="daterange"
@keyup.enter.native="handleQuery()"
:picker-options="{
......@@ -111,7 +111,7 @@
type="text"
class='qk'
@click="onChange(1,1)"
>清空
>{{$t('Common.clear_btn')}}
</el-button>
<el-button
v-else-if="tpl==2"
......@@ -119,7 +119,7 @@
type="text"
class='qk'
@click="onChange(2,1)"
>清空
>{{$t('Common.clear_btn')}}
</el-button>
<el-button
v-else-if="tpl==3"
......@@ -127,7 +127,7 @@
type="text"
class='qk'
@click="onChange(3,1)"
>清空
>{{$t('Common.clear_btn')}}
<!-- qzsj: null,
cxlx: "",
ytmh: '',
......@@ -139,24 +139,24 @@
type="primary"
size="mini"
@click="handleQuery()"
>查询</el-button>
>{{$t('LL.query')}}</el-button>
</div>
</div>
<div class="btns">
<div class="label">
<span v-if="tpl==1">采集信息统计</span>
<span v-else-if="tpl==2">案件信息统计</span>
<span v-else-if="tpl==3">城市比中明细复核统计</span>
<span v-if="tpl==1">{{$t('Tjbb.collected_information_statistics')}}</span>
<span v-else-if="tpl==2">{{$t('Tjbb.case_information_statistics')}}</span>
<span v-else-if="tpl==3">{{$t('Tjbb.detailed_review_statistics_of_urban_comparison')}}</span>
</div>
<div class="btnBox">
<div
@click='ksh'
v-show="tpl==1"
><span class="iconfont">&#xe64d;</span>可视化切换</div>
><span class="iconfont">&#xe64d;</span>{{$t('Tjbb.visual_switching')}}</div>
<div>
<el-dropdown trigger='click'>
<el-button type="primary">
打印&nbsp;&nbsp;<i class="el-icon-arrow-down el-icon--right"></i>
{{$t('Tjbb.print')}}&nbsp;&nbsp;<i class="el-icon-arrow-down el-icon--right"></i>
</el-button>
<el-dropdown-menu
slot="dropdown"
......@@ -172,7 +172,7 @@
src="../../assets/img/bb/PDF.svg"
alt=""
> -->
当前页
{{$t('Tjbb.current_page')}}
</el-dropdown-item>
</div>
<div
......@@ -184,7 +184,7 @@
src="../../assets/img/bb/Excel.svg"
alt=""
> -->
全部页
{{$t('Tjbb.all_pages')}}
</el-dropdown-item>
</div>
</el-dropdown-menu>
......@@ -194,7 +194,7 @@
<div>
<el-dropdown trigger='click'>
<el-button type="primary">
导出&nbsp;&nbsp;<i class="el-icon-arrow-down el-icon--right"></i>
{{$t('FptxDc.export')}}&nbsp;&nbsp;<i class="el-icon-arrow-down el-icon--right"></i>
</el-button>
<el-dropdown-menu
slot="dropdown"
......@@ -212,12 +212,12 @@
<div
@click="exportReport('pdf')"
class="ejan"
>导出当前页</div>
>{{$t('Tjbb.export_current_page')}}</div>
<div
@click="exportReport('pdf',total)"
v-show="tpl!=1"
class="ejan"
>导出全部页</div>
>{{$t('Tjbb.export_all_pages')}}</div>
<el-button
slot="reference"
class="yjan"
......@@ -243,12 +243,12 @@
<div
@click="exportReport('excel')"
class="ejan"
>导出当前页</div>
>{{$t('Tjbb.export_current_page')}}</div>
<div
@click="exportReport('excel',total)"
v-show="tpl!=1"
class="ejan"
>导出全部页</div>
>{{$t('Tjbb.export_all_pages')}}</div>
<el-button
slot="reference"
class="yjan"
......@@ -274,12 +274,12 @@
<div
@click="exportReport('word')"
class="ejan"
>导出当前页</div>
>{{$t('Tjbb.export_current_page')}}</div>
<div
@click="exportReport('word',total)"
v-show="tpl!=1"
class="ejan"
>导出全部页</div>
>{{$t('Tjbb.export_all_pages')}}</div>
<el-button
slot="reference"
class="yjan"
......@@ -314,9 +314,9 @@
class="block"
v-if="tpl!=1"
>
<span class="record">{{ total }}条记录 第{{ currPage }}/{{
<span class="record">{{$t('Common.all')}}{{ total }}{{$t('Common.item')}}{{$t('Common.record')}} {{$t('Common.di')}}{{ currPage }}/{{
size
}}</span>
}}{{$t('Common.page')}}</span>
<el-pagination
class="paging"
@size-change="handleSizeChange"
......@@ -357,15 +357,15 @@ export default {
checked: false,
codeOptions: [
{
name: "采集信息统计",
name: this.$t('Tjbb.collected_information_statistics'),
value: "1",
},
{
name: "案件信息统计",
name: this.$t('Tjbb.case_information_statistics'),
value: "2",
},
{
name: "地市比中明细复核统计",
name: this.$t('Tjbb.detailed_review_statistics_of_prefecture_city_comparison'),
value: "3",
},
],
......@@ -665,7 +665,7 @@ export default {
}
console.log(this.fr_cpt_url, '查询 this.fr_cpt_url')
this.$message.success('正在准备导出,请稍等')
this.$message.success(this.$t('Tjbb.preparing_to_export_please_wait'))
},
onChange (val, type = 0) {
if (val == 1) {
......@@ -819,11 +819,11 @@ export default {
rz () {
let reqParams = ''
if (this.tpl == 1) {
reqParams = '采集信息统计模板'
reqParams = this.$t('Tjbb.collection_information_statistics_template')
} else if (this.tpl == 2) {
reqParams = '案件信息统计模板'
reqParams = this.$t('Tjbb.case_information_statistics_template')
} else if (this.tpl == 3) {
reqParams = '城市比中信息复核统计模板'
reqParams = this.$t('Tjbb.city_comparison_information_review_statistical_template')
}
this.$axios
.get('/api/count/count/' + reqParams)
......
......@@ -10,8 +10,8 @@
:row-key="getRowKeys"
class="table">
<el-table-column prop="logicName" label="分库名称" :width="width1" show-overflow-tooltip></el-table-column>
<el-table-column prop="sjkyh" label="数据库用户组/用户" :width="width2">
<el-table-column prop="logicName" :label="$t('Xtfkgl.sub_database_name')" :width="width1" show-overflow-tooltip></el-table-column>
<el-table-column prop="sjkyh" :label="$t('Xtfkgl.database_user_group_user')" :width="width2">
<template slot-scope="scope">
<div v-if='scope.row.groups && scope.row.groups.length >0' class="tagsBox">
<div v-for="item in strArr(scope.row.groups)" :key="item.logicId"
......@@ -53,7 +53,7 @@
<div slot="content" class="tooTipBtn" @mouseover="showMoreYhView(scope.$index)"
@mouseleave="hideMoreYhView()">
<div v-for="(item,index) in scope.row.groups">
<div v-for="(item,index) in scope.row.groups" :key="index">
<div v-if="item.type === 1 && item.user && item.user.length >0">
<el-tooltip
:ref="'ajTooltipC'+item.id"
......@@ -88,21 +88,21 @@
<div v-else>---</div>
</template>
</el-table-column>
<el-table-column prop="createTime" label="创建时间" :width="width3"></el-table-column>
<el-table-column prop="qyzt" label="启用状态" :width="width4">
<el-table-column prop="createTime" :label="$t('Xtfkgl.creation_time')" :width="width3"></el-table-column>
<el-table-column prop="qyzt" :label="$t('UserManage.enable_status')" :width="width4">
<template slot-scope="scope">
<div v-if="scope.row.status === 1" class="circle-red"></div>
<div v-if="scope.row.status === 0" class="circle-blue"></div>
{{
scope.row.status === 1
? '停用'
? $t('UserManage.deactivate')
: scope.row.status === 0
? '启用'
: '无状态'
? $t('UserManage.enable')
: $t('UserManage.no_status')
}}
</template>
</el-table-column>
<el-table-column prop="des" label="逻辑库说明" :width="width5" show-overflow-tooltip :formatter="$fFormatUtil.valueFormat">
<el-table-column prop="des" :label="$t('Xtfkgl.logical_library_description')" :width="width5" show-overflow-tooltip :formatter="$fFormatUtil.valueFormat">
<template slot-scope="scope">
<div v-if="scope.row.des">
<el-tooltip effect="dark" :content="scope.row.des" placement="top">
......@@ -114,11 +114,11 @@
<div v-else>---</div>
</template>
</el-table-column>
<el-table-column prop="cz" label="操作" width="auto">
<el-table-column prop="cz" :label="$t('Common.option')" width="auto">
<template slot-scope="scope">
<el-tooltip
effect="dark"
content="编辑"
:content="$t('Common.compile')"
placement="top"
:open-delay="500">
<svg class="icon" aria-hidden="true" @click.stop="goBj(scope.row)"
......@@ -129,7 +129,7 @@
<el-tooltip
effect="dark"
content="工作流"
:content="$t('Xtfkgl.workflow')"
placement="top"
:open-delay="500">
......@@ -142,7 +142,7 @@
<el-tooltip
effect="dark"
content="数据管理"
:content="$t('Xtfkgl.data_management')"
placement="top"
:open-delay="500">
<svg class="icon" aria-hidden="true" @click.stop="goSjgl"
......@@ -157,7 +157,7 @@
</div>
<!-- 分页-->
<div class="footer">
<span class="count">&nbsp;{{ total }}&nbsp;条记录 第{{ currPage }}/{{totalPage}}页</span>
<span class="count">{{$t('Common.all')}}&nbsp;{{ total }}&nbsp;{{$t('Common.item')}}{{$t('Common.record')}} {{$t('Common.di')}}{{ currPage }}/{{totalPage}}{{$t('Common.page')}}</span>
<div class="page">
<el-pagination
class="paging"
......
......@@ -20,17 +20,18 @@
* @author: li_hongchao
* @date: 2022/1/6 11:12
*/
import i18n from '@/i18n/index.js'
const _DL_TYPES = {
CLDL: {type: 1, name: '处理队列'}, // 处理队列
BJDL: {type: 2, name: '编辑队列'}, // 编辑队列
JCDL: {type: 3, name: '检查队列'}, // 检查队列
CXDL: {type: 99, name: '查询队列'}// 用于页面逻辑构建,与业务无关
CLDL: {type: 1, name: i18n.tc('Xtfkgl.processing_queue')}, // 处理队列
BJDL: {type: 2, name: i18n.tc('Xtfkgl.edit_queue')}, // 编辑队列
JCDL: {type: 3, name: i18n.tc('Xtfkgl.check_queue')}, // 检查队列
CXDL: {type: 99, name: i18n.tc('Xtfkgl.query_queue')}// 用于页面逻辑构建,与业务无关
}
const _CXDL_TYPES = {// 案件:正查 串查 人员:倒查 查重
ChuanC: {type: 4, name: '串査'}, // 查询队列(串査)
DaoC: {type: 5, name: '倒查'}, // 查询队列(倒查)
ZhengC: {type: 6, name: '正查'}, // 查询队列(正查)
ChaC: {type: 7, name: '查重'} // 查询队列(查重)
ChuanC: {type: 4, name: i18n.tc('Common.LL')}, // 查询队列(串査)
DaoC: {type: 5, name: i18n.tc('Common.TL')}, // 查询队列(倒查)
ZhengC: {type: 6, name: i18n.tc('Common.LT')}, // 查询队列(正查)
ChaC: {type: 7, name: i18n.tc('Common.TT')} // 查询队列(查重)
}
/**
......
......@@ -10,9 +10,9 @@
:row-key="getRowKeys"
class="table">
<el-table-column prop="logicName" label="分库名称" :width="width1" show-overflow-tooltip
<el-table-column prop="logicName" :label="$t('Xtfkgl.sub_database_name')" :width="width1" show-overflow-tooltip
:formatter="$fFormatUtil.valueFormat" />
<el-table-column prop="sjkyh" label="数据库用户组/用户" :width="width2" :formatter="$fFormatUtil.valueFormat">
<el-table-column prop="sjkyh" :label="$t('Xtfkgl.database_user_group_user')" :width="width2" :formatter="$fFormatUtil.valueFormat">
<template slot-scope="scope">
<div v-if='scope.row.groups && scope.row.groups.length >0' class="tagsBox">
......@@ -56,7 +56,7 @@
<div slot="content" class="tooTipBtn" @mouseover="showMoreYhView(scope.$index)"
@mouseleave="hideMoreYhView()">
<div v-for="(item,index) in scope.row.groups">
<div v-for="(item,index) in scope.row.groups" :key="index">
<div v-if="item.type === 1 && item.user && item.user.length >0">
<el-tooltip
:ref="'ryTooltipC'+item.id"
......@@ -91,21 +91,21 @@
<div v-else>---</div>
</template>
</el-table-column>
<el-table-column prop="createTime" label="创建时间" :width="width3"></el-table-column>
<el-table-column prop="qyzt" label="启用状态" :width="width4">
<el-table-column prop="createTime" :label="$t('Xtfkgl.creation_time')" :width="width3"></el-table-column>
<el-table-column prop="qyzt" :label="$t('UserManage.enable_status')" :width="width4">
<template slot-scope="scope">
<div v-if="scope.row.status === 1" class="circle-red"></div>
<div v-if="scope.row.status === 0" class="circle-blue"></div>
{{
scope.row.status === 1
? '停用'
? $t('UserManage.deactivate')
: scope.row.status === 0
? '启用'
: '无状态'
? $t('UserManage.enable')
: $t('UserManage.no_status')
}}
</template>
</el-table-column>
<el-table-column prop="des" label="逻辑库说明" :width="width5" show-overflow-tooltip
<el-table-column prop="des" :label="$t('Xtfkgl.logical_library_description')" :width="width5" show-overflow-tooltip
:formatter="$fFormatUtil.valueFormat">
<template slot-scope="scope">
<div v-if="scope.row.des">
......@@ -118,12 +118,12 @@
<div v-else>---</div>
</template>
</el-table-column>
<el-table-column prop="cz" label="操作" width="auto">
<el-table-column prop="cz" :label="$t('Common.option')" width="auto">
<template slot-scope="scope">
<el-tooltip
effect="dark"
content="编辑"
:content="$t('Common.compile')"
placement="top"
:open-delay="500">
<svg class="icon" aria-hidden="true" @click.stop="goBj(scope.row)"
......@@ -134,7 +134,7 @@
<el-tooltip
effect="dark"
content="工作流"
:content="$t('Xtfkgl.workflow')"
placement="top"
:open-delay="500">
......@@ -147,7 +147,7 @@
<el-tooltip
effect="dark"
content="数据管理"
:content="$t('Xtfkgl.data_management')"
placement="top"
:open-delay="500">
<svg class="icon" aria-hidden="true" @click.stop="goSjgl"
......@@ -165,7 +165,7 @@
<!-- <div class="line-botttom"></div>-->
<!-- 分页-->
<div class="footer">
<span class="count">&nbsp;{{ total }}&nbsp;条记录 第{{ currPage }}/{{totalPage}}页</span>
<span class="count">{{$t('Common.all')}}&nbsp;{{ total }}&nbsp;{{$t('Common.item')}}{{$t('Common.record')}} {{$t('Common.di')}}{{ currPage }}/{{totalPage}}{{$t('Common.page')}}</span>
<div class="page">
<el-pagination
class="paging"
......
......@@ -26,13 +26,13 @@
<el-dropdown-menu slot="dropdown" class="select-list-content">
<div class="select-list-content-left">
<div :class="{'list-item':true,'list-item-focus':isYh}" @click="toggleYh(true)">
用户
{{$t('Tjddl.yh')}}
<div v-if="userSelectSet.size > 0" style="position: absolute; right:8px;">
{{userSelectSet.size}}
</div>
</div>
<div :class="{'list-item':true,'list-item-focus':!isYh}" @click="toggleYh(false)">
用户组
{{$t('UserManage.yhz')}}
<div v-if="userGroupSelectSet.size > 0" style="position: absolute; right:8px;">
{{userGroupSelectSet.size}}
</div>
......@@ -60,8 +60,8 @@
</div>
<div class="bottom-div">
<div class="queding" @click="commit()">确定</div>
<div class="quxiao" @click="cancel()">取消</div>
<div class="queding" @click="commit()">{{$t('Common.qd')}}</div>
<div class="quxiao" @click="cancel()">{{$t('Common.cancel_btn')}}</div>
</div>
</div>
......@@ -83,14 +83,14 @@ export default {
data() {
return {
isShowing: false,
selValue: '请选择',
selValue: this.$t('Common.please_select'),
curOpt: [
{name: '审核0', value: '0', icon: '#icon-shenhe'},
{name: '审核1', value: '1', icon: '#icon-shenhe'},
{name: '审核2', value: '2', icon: '#icon-shenhe'},
{name: '审核3', value: '3', icon: '#icon-shenhe'},
{name: '审核4', value: '4', icon: '#icon-shenhe'},
{name: '审核5', value: '5', icon: '#icon-shenhe'},
{name: this.$t('Xtfkgl.audit_0'), value: '0', icon: '#icon-shenhe'},
{name: this.$t('Xtfkgl.audit_1'), value: '1', icon: '#icon-shenhe'},
{name: this.$t('Xtfkgl.audit_2'), value: '2', icon: '#icon-shenhe'},
{name: this.$t('Xtfkgl.audit_3'), value: '3', icon: '#icon-shenhe'},
{name: this.$t('Xtfkgl.audit_4'), value: '4', icon: '#icon-shenhe'},
{name: this.$t('Xtfkgl.audit_5'), value: '5', icon: '#icon-shenhe'},
],
userGroupArr: [],
userArr: [],
......@@ -250,7 +250,7 @@ export default {
} else {
this.$message({
type: 'info',
message: '请先选择用户',
message: this.$t('Xtfkgl.please_select_user'),
})
}
},
......
......@@ -5,10 +5,10 @@
<!-- 人员分库和案件分库切换按钮-->
<div class="btns">
<div class="btn" :class="{ active: isPerson }" @click="toggleView(true)">
人员逻辑分库
{{$t('Xzry.ryljfk')}}
</div>
<div class="btn" :class="{ active: !isPerson }" @click="toggleView(false)">
案件逻辑分库
{{$t('FptxDr.case_logic')}}
</div>
</div>
......@@ -22,7 +22,7 @@
"
icon-class="ic_add"
/>
新增分库
{{$t('Xtfkgl.add_sub_database')}}
</div>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment