Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
founder_vue
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
常超
founder_vue
Commits
910dabe6
Commit
910dabe6
authored
May 08, 2023
by
张超军
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
美亚日志控制
parent
8eaf333d
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
21 changed files
with
38 additions
and
19 deletions
+38
-19
.prettierrc
+2
-1
src/utils/rem.js
+1
-1
src/views/AllPersonnelBase/modules/fcx.vue
+1
-0
src/views/AllPersonnelBase/modules/fcx1.vue
+1
-0
src/views/Editor/modules/rydaxx.vue
+0
-0
src/views/Home.vue
+1
-0
src/views/Home/Home.vue
+1
-0
src/views/cxyrd/LL.vue
+1
-0
src/views/cxyrd/LT.vue
+1
-0
src/views/cxyrd/TL.vue
+1
-0
src/views/cxyrd/TT.vue
+1
-0
src/views/drFPTX/Index.vue
+1
-0
src/views/login/modules/AccountsLogin.vue
+18
-14
src/views/rgrd/rgLL.vue
+1
-0
src/views/rgrd/rgLT.vue
+1
-0
src/views/rgrd/rgTL.vue
+1
-0
src/views/rgrd/rgTT.vue
+1
-0
src/views/zljc/jcxq.vue
+1
-0
src/views/zzwlr/xzry.vue
+0
-0
src/views/zzwlr/xzryedit.vue
+0
-0
vue.config.js
+3
-3
No files found.
.prettierrc
View file @
910dabe6
...
...
@@ -15,5 +15,5 @@
"trailingComma": "es5",
"useTabs": false,
"vueIndentScriptAndStyle": false,
"printWidth":
8
0
"printWidth":
12
0
}
\ No newline at end of file
src/utils/rem.js
View file @
910dabe6
...
...
@@ -9,7 +9,7 @@
const
baseSize
=
16
// 设置 rem 函数
function
setRem
()
{
console
.
log
(
document
.
documentElement
.
clientWidth
);
//
console.log(document.documentElement.clientWidth);
// 当前页面宽度相对于 1920宽的缩放比例,可根据自己需要修改。
const
scale
=
document
.
documentElement
.
clientWidth
/
1920
// 设置页面根节点字体大小(“Math.min(scale, 2)” 指最高放大比例为2,可根据实际业务需求调整)
...
...
src/views/AllPersonnelBase/modules/fcx.vue
View file @
910dabe6
...
...
@@ -620,6 +620,7 @@ export default {
* @return {*}
*/
sendLog
()
{
if
(
localStorage
.
getItem
(
'sbrzFlag'
)
===
'false'
)
return
// xxx在xxx时间[操作类型][操作对象类型]:[操作对象名称]
// 例:张三在2021-02-04 12:12:50审批任务:李四角色申请任务
// 查询规范
...
...
src/views/AllPersonnelBase/modules/fcx1.vue
View file @
910dabe6
...
...
@@ -599,6 +599,7 @@ export default {
* @return {*}
*/
sendLog
()
{
if
(
localStorage
.
getItem
(
'sbrzFlag'
)
===
'false'
)
return
// xxx在xxx时间[操作类型][操作对象类型]:[操作对象名称]
// 例:张三在2021-02-04 12:12:50审批任务:李四角色申请任务
// 查询规范
...
...
src/views/Editor/modules/rydaxx.vue
View file @
910dabe6
This diff is collapsed.
Click to expand it.
src/views/Home.vue
View file @
910dabe6
...
...
@@ -267,6 +267,7 @@ export default {
* @return {*}
*/
async
sendLog
()
{
if
(
localStorage
.
getItem
(
'sbrzFlag'
)
===
'false'
)
return
// xxx在xxx时间[操作类型][操作对象类型]:[操作对象名称]
// 例:张三在2021-02-04 12:12:50审批任务:李四角色申请任务
// 查询规范
...
...
src/views/Home/Home.vue
View file @
910dabe6
...
...
@@ -177,6 +177,7 @@ export default {
* @return {*}
*/
async
sendLog
()
{
if
(
localStorage
.
getItem
(
'sbrzFlag'
)
===
'false'
)
return
// xxx在xxx时间[操作类型][操作对象类型]:[操作对象名称]
// 例:张三在2021-02-04 12:12:50审批任务:李四角色申请任务
// 查询规范
...
...
src/views/cxyrd/LL.vue
View file @
910dabe6
...
...
@@ -338,6 +338,7 @@ export default {
* @return {*}
*/
sendLog
(
str
)
{
if
(
localStorage
.
getItem
(
'sbrzFlag'
)
===
'false'
)
return
// xxx在xxx时间[操作类型][操作对象类型]:[操作对象名称]
// 例:张三在2021-02-04 12:12:50审批任务:李四角色申请任务
// 查询规范
...
...
src/views/cxyrd/LT.vue
View file @
910dabe6
...
...
@@ -224,6 +224,7 @@ export default {
* @return {*}
*/
sendLog
(
str
)
{
if
(
localStorage
.
getItem
(
'sbrzFlag'
)
===
'false'
)
return
// xxx在xxx时间[操作类型][操作对象类型]:[操作对象名称]
// 例:张三在2021-02-04 12:12:50审批任务:李四角色申请任务
// 查询规范
...
...
src/views/cxyrd/TL.vue
View file @
910dabe6
...
...
@@ -221,6 +221,7 @@ export default {
* @return {*}
*/
sendLog
(
str
)
{
if
(
localStorage
.
getItem
(
'sbrzFlag'
)
===
'false'
)
return
// xxx在xxx时间[操作类型][操作对象类型]:[操作对象名称]
// 例:张三在2021-02-04 12:12:50审批任务:李四角色申请任务
// 查询规范
...
...
src/views/cxyrd/TT.vue
View file @
910dabe6
...
...
@@ -1333,6 +1333,7 @@ export default {
* @return {*}
*/
sendLog
(
str
)
{
if
(
localStorage
.
getItem
(
'sbrzFlag'
)
===
'false'
)
return
// xxx在xxx时间[操作类型][操作对象类型]:[操作对象名称]
// 例:张三在2021-02-04 12:12:50审批任务:李四角色申请任务
// 查询规范
...
...
src/views/drFPTX/Index.vue
View file @
910dabe6
...
...
@@ -697,6 +697,7 @@ export default {
* @return {*}
*/
sendLog
(
str
)
{
if
(
localStorage
.
getItem
(
'sbrzFlag'
)
===
'false'
)
return
// xxx在xxx时间[操作类型][操作对象类型]:[操作对象名称]
// 例:张三在2021-02-04 12:12:50审批任务:李四角色申请任务
// 查询规范
...
...
src/views/login/modules/AccountsLogin.vue
View file @
910dabe6
<
template
>
<
!--
<
div
class=
"login_account width70 middle"
v-show=
"isShow"
>
<div
class=
"login_account width70 middle"
v-show=
"isShow"
>
<el-input
class=
"width100 margin_top25_bottom10"
type=
"text"
:placeholder=
"$t('Login.username_placeholder')"
@
keydown
.
enter
.
native=
"login(userInfo)"
v-model=
"userInfo.username"
>
<i
slot=
"prefix"
style=
"display: flex; align-items: center"
>
<img
style=
"
...
...
@@ -20,12 +20,12 @@
</el-input>
<el-button
class=
"login_button width100 margin_top25_bottom10"
type=
"primary"
ref=
"userLogin"
@
click=
"login(userInfo)"
:loading=
"btnLoading"
>
{{
$t
(
'Login.login_btn'
)
}}
</el-button>
</div>
-->
</div>
<!-- 对接线上 -->
<div
class=
"AccountsLogin"
>
<
!--
<
div
class=
"AccountsLogin"
>
<div
class=
"el-icon-loading"
></div>
<span>
正在加载中...
</span>
</div>
</div>
-->
</
template
>
<
script
>
...
...
@@ -176,14 +176,14 @@ export default {
/
([
0-9
]{1,3}(\.[
0-9
]{1,3}){3}
|
[
a-f0-9
]{1,4}(
:
[
a-f0-9
]{1,4}){7})
/
.
exec
(
ice
.
candidate
.
candidate
)[
1
]
console
.
log
(
'my IP: '
,
myIP
)
//【注:ice.candidate.address也可以拿到值】
//
console.log('my IP: ', myIP) //【注:ice.candidate.address也可以拿到值】
localStorage
.
setItem
(
'userIP'
,
myIP
)
pc
.
onicecandidate
=
noop
10
}
}
// localStorage.setItem("userIP", '192.168.1.3'); // 存入 参数: 1.调用的值 2.所要存入的数据
console
.
log
(
localStorage
.
getItem
(
'userIP'
))
// 输出
//
console.log(localStorage.getItem('userIP')) // 输出
// document.cookie = '_idp_session=asiodnsaondoaisndosandosando==='
// removeCookie()
...
...
@@ -192,12 +192,12 @@ export default {
// console.log(navigator);
// TODO 放开注释
this
.
TibetChange
()
console
.
log
(
zzwxtCloud
)
/*
console.log(zzwxtCloud)
console.log(zzwxtCloud.appId)
console.log(this.appId)
console.log(zzwxtCloud.applicationUrl)
console.log(zzwxtCloud.authenticatedUrl)
console
.
log
(
zzwxtCloud
.
logoutUrl
)
console.log(zzwxtCloud.logoutUrl)
*/
// this.systemInfoRegister()
// this.sendLog()
},
...
...
@@ -230,6 +230,15 @@ export default {
this
.
$message
.
success
(
this
.
$t
(
'Login.login_success_tip'
))
// 是否上传日志
localStorage
.
setItem
(
'sbrzFlag'
,
res
.
data
.
sbrzFlag
)
// TODO 上传登录日志
// 注册
// await this.systemInfoRegister()
// 日志采集
this
.
sendLog
()
//所在单位数据
await
this
.
$store
.
dispatch
(
'ljk/_ljkRy'
)
// 获取用户人员逻辑库JSON
await
this
.
$store
.
dispatch
(
'ljk/_ljkAj'
)
// 获取用户案件逻辑库JSON
...
...
@@ -237,12 +246,6 @@ export default {
this
.
$router
.
push
(
'/index'
)
this
.
$bus
.
emit
(
'goLogin'
)
this
.
$store
.
commit
(
'layout/setMenu'
,
res
.
data
.
auth
)
// TODO 上传登录日志
// 注册
// await this.systemInfoRegister()
// 日志采集
this
.
sendLog
()
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
)
}
...
...
@@ -456,6 +459,7 @@ export default {
* @return {*}
*/
sendLog
()
{
if
(
localStorage
.
getItem
(
'sbrzFlag'
)
===
'false'
)
return
// xxx在xxx时间[操作类型][操作对象类型]:[操作对象名称]
// 例:张三在2021-02-04 12:12:50审批任务:李四角色申请任务
// 查询规范
...
...
src/views/rgrd/rgLL.vue
View file @
910dabe6
...
...
@@ -298,6 +298,7 @@ export default {
* @return {*}
*/
sendLog
(
str
)
{
if
(
localStorage
.
getItem
(
'sbrzFlag'
)
===
'false'
)
return
// xxx在xxx时间[操作类型][操作对象类型]:[操作对象名称]
// 例:张三在2021-02-04 12:12:50审批任务:李四角色申请任务
// 查询规范
...
...
src/views/rgrd/rgLT.vue
View file @
910dabe6
...
...
@@ -237,6 +237,7 @@ export default {
* @return {*}
*/
sendLog
(
str
)
{
if
(
localStorage
.
getItem
(
'sbrzFlag'
)
===
'false'
)
return
// xxx在xxx时间[操作类型][操作对象类型]:[操作对象名称]
// 例:张三在2021-02-04 12:12:50审批任务:李四角色申请任务
// 查询规范
...
...
src/views/rgrd/rgTL.vue
View file @
910dabe6
...
...
@@ -234,6 +234,7 @@ export default {
* @return {*}
*/
sendLog
(
str
)
{
if
(
localStorage
.
getItem
(
'sbrzFlag'
)
===
'false'
)
return
// xxx在xxx时间[操作类型][操作对象类型]:[操作对象名称]
// 例:张三在2021-02-04 12:12:50审批任务:李四角色申请任务
// 查询规范
...
...
src/views/rgrd/rgTT.vue
View file @
910dabe6
...
...
@@ -1252,6 +1252,7 @@ export default {
* @return {*}
*/
sendLog
(
str
)
{
if
(
localStorage
.
getItem
(
'sbrzFlag'
)
===
'false'
)
return
// xxx在xxx时间[操作类型][操作对象类型]:[操作对象名称]
// 例:张三在2021-02-04 12:12:50审批任务:李四角色申请任务
// 查询规范
...
...
src/views/zljc/jcxq.vue
View file @
910dabe6
...
...
@@ -512,6 +512,7 @@ export default {
* @return {*}
*/
sendLog
(
str
)
{
if
(
localStorage
.
getItem
(
'sbrzFlag'
)
===
'false'
)
return
// xxx在xxx时间[操作类型][操作对象类型]:[操作对象名称]
// 例:张三在2021-02-04 12:12:50审批任务:李四角色申请任务
// 查询规范
...
...
src/views/zzwlr/xzry.vue
View file @
910dabe6
This diff is collapsed.
Click to expand it.
src/views/zzwlr/xzryedit.vue
View file @
910dabe6
This diff is collapsed.
Click to expand it.
vue.config.js
View file @
910dabe6
...
...
@@ -106,7 +106,7 @@ module.exports = {
// target: "http://172.18.108.98:8099/", // 张 认定
// target: "http://192.168.128.102:8090", // 北京 王
// target: "http://172.18.118.53:8099", // 北京
target
:
"http://172.18.1
18.53:11
099"
,
// 北京
target
:
"http://172.18.1
08.229:8
099"
,
// 北京
ws
:
true
,
changeOrigin
:
true
,
pathRewrite
:
{
...
...
@@ -124,8 +124,8 @@ module.exports = {
// target: "http://192.168.0.107:8765", // 西藏 张
// target: "http://172.18.108.98:8765/", // 张 认定
// target: "http://192.168.128.102:8765", // 北京 王
target
:
"http://172.18.118.53:8765"
,
// 北京
// target: "http://172.18.118.53:11099
", // 北京
//
target: "http://172.18.118.53:8765", // 北京
target
:
"http://172.18.108.229:8765
"
,
// 北京
// target: "http://172.18.110.145:8765", // 马
ws
:
true
,
changeOrigin
:
true
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment