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
2838f120
Commit
2838f120
authored
Jan 20, 2022
by
米嘉伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
案件信息卡取消请求
parent
11c2df41
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
149 additions
and
62 deletions
+149
-62
src/netmgr/NetUtil.js
+2
-0
src/netmgr/xxk/ajxxk.js
+23
-0
src/netmgr/xxk/ryxxk.js
+0
-0
src/views/AllPersonnelBase/modules/ajxxk.vue
+123
-61
src/views/tjbb/tjbb.vue
+1
-1
No files found.
src/netmgr/NetUtil.js
View file @
2838f120
...
...
@@ -8,6 +8,7 @@
*/
import
bzxxsh
from
'../netmgr/bzxxgl/bzxxsh'
import
drFptx
from
'../netmgr/drFptx/drFptx'
import
ajxxk
from
'../netmgr/xxk/ajxxk'
import
xtfkgl
from
'../netmgr/xtfkgl/xtfkgl'
import
cxyrd
from
'../netmgr/cxyrd/cxyrd'
import
workstream
from
'../netmgr/workstream/workstream'
...
...
@@ -15,6 +16,7 @@ import workstream from '../netmgr/workstream/workstream'
export
default
{
bzxxsh
,
drFptx
,
ajxxk
,
xtfkgl
,
cxyrd
,
workstream
...
...
src/netmgr/xxk/ajxxk.js
0 → 100644
View file @
2838f120
import
addrType
from
'../../netmgr/NetAddressType'
const
_path
=
{
getCaseBybarcode
:
addrType
.
api
+
'/org/case/barcode'
,
getCasePalmBybarcode
:
addrType
.
api
+
'/org/case/palm/barcode'
}
export
default
{
getCaseBybarcode
(
_parameter
)
{
return
fHttp
.
postJson
(
_path
.
getCaseBybarcode
,
_parameter
,
fHttp
.
closeLoad
(
fHttp
.
closeTip
())
)
},
getCasePalmBybarcode
(
_parameter
)
{
return
fHttp
.
postJson
(
_path
.
getCasePalmBybarcode
,
_parameter
,
fHttp
.
closeLoad
(
fHttp
.
closeTip
())
)
}
}
\ No newline at end of file
src/netmgr/xxk/ryxxk.js
0 → 100644
View file @
2838f120
src/views/AllPersonnelBase/modules/ajxxk.vue
View file @
2838f120
...
...
@@ -263,6 +263,7 @@ export default {
this
.
ysajjbxx
.
id
=
val
.
id
;
if
(
this
.
drawer
==
true
)
{
console
.
log
(
'打开信息卡'
)
this
.
getfileinfo
();
this
.
getCaseBybarcode
();
}
...
...
@@ -285,76 +286,135 @@ export default {
getCasePalmBybarcode
()
{
// 案件掌纹原图
let
self
=
this
;
this
.
$axios
.
post
(
"/api/org/case/palm/barcode"
,
{
barcode
:
this
.
ysajjbxx
.
ysxtAsjbh
},
{
loading
:
false
}
)
.
then
(
response
=>
{
console
.
log
(
response
.
data
);
if
(
response
.
data
.
code
==
0
)
{
//请求成功 代码为0
console
.
log
(
response
.
data
.
ret
.
length
,
'response.data.ret.length'
)
self
.
CasePlamNum
=
response
.
data
.
ret
.
length
;
if
(
self
.
CasePlamNum
>
0
)
{
for
(
let
i
=
0
;
i
<=
response
.
data
.
ret
.
length
;
i
++
)
{
let
arr
=
{
code
:
null
,
img
:
null
};
arr
.
code
=
response
.
data
.
ret
[
i
].
seq
;
arr
.
img
=
response
.
data
.
ret
[
i
].
image
;
self
.
CasePlamImg
.
push
(
arr
);
}
NetUtil
.
ajxxk
.
getCasePalmBybarcode
({
barcode
:
this
.
ysajjbxx
.
ysxtAsjbh
},).
then
(
response
=>
{
if
(
response
.
code
==
0
)
{
//请求成功 代码为0
self
.
CasePlamNum
=
response
.
ret
.
length
;
if
(
self
.
CasePlamNum
>
0
)
{
for
(
let
i
=
0
;
i
<=
response
.
ret
.
length
;
i
++
)
{
let
arr
=
{
code
:
null
,
img
:
null
};
arr
.
code
=
response
.
ret
[
i
].
seq
;
arr
.
img
=
response
.
ret
[
i
].
image
;
self
.
CasePlamImg
.
push
(
arr
);
}
// 去掉加载状态
self
.
casePlamLoading
=
false
;
}
else
if
(
response
.
data
.
code
==
4
)
{
// 去掉加载状态
self
.
CasePlamNum
=
0
self
.
casePlamLoading
=
false
;
// self.$forceUpdate()
console
.
log
(
self
.
CasePlamImg
,
"CasePlamImg"
);
}
})
.
catch
(
function
(
error
)
{
//console.log(error);
});
// 去掉加载状态
self
.
casePlamLoading
=
false
;
}
else
if
(
response
.
code
==
4
)
{
// 去掉加载状态
self
.
CasePlamNum
=
0
self
.
casePlamLoading
=
false
;
}
}).
catch
(
function
(
error
)
{
//console.log(error);
});
// this.$axios
// .post(
// "/api/org/case/palm/barcode",
// { barcode: this.ysajjbxx.ysxtAsjbh },
// { loading: false }
// )
// .then(response => {
// console.log(response.data);
// if (response.data.code == 0) { //请求成功 代码为0
// console.log(response.data.ret.length, 'response.data.ret.length')
// self.CasePlamNum = response.data.ret.length;
// if (self.CasePlamNum > 0) {
// for (let i = 0; i
<=
response
.
data
.
ret
.
length
;
i
++
)
{
// let arr = {
// code: null,
// img: null
// };
// arr.code = response.data.ret[i].seq;
// arr.img = response.data.ret[i].image;
// self.CasePlamImg.push(arr);
// }
// }
// // 去掉加载状态
// self.casePlamLoading = false;
// } else if (response.data.code == 4) {
// // 去掉加载状态
// self.CasePlamNum = 0
// self.casePlamLoading = false;
// }
// })
// .catch(function (error) {
// //console.log(error);
// });
},
getCaseBybarcode
()
{
// 案件原图
let
self
=
this
;
this
.
$axios
.
post
(
"api/org/case/barcode"
,
{
barcode
:
this
.
ysajjbxx
.
ysxtAsjbh
},
{
loading
:
false
}
)
.
then
(
response
=>
{
if
(
response
.
data
.
code
==
0
)
{
//请求成功 代码为0
self
.
CaseImgNum
=
response
.
data
.
ret
.
length
;
if
(
self
.
CaseImgNum
>
0
)
{
for
(
let
i
=
0
;
i
<=
response
.
data
.
ret
.
length
;
i
++
)
{
let
arr
=
{
code
:
null
,
img
:
null
};
arr
.
code
=
response
.
data
.
ret
[
i
].
seq
;
arr
.
img
=
response
.
data
.
ret
[
i
].
image
;
self
.
CaseImg
.
push
(
arr
);
}
// self.$forceUpdate()
console
.
log
(
self
.
CaseImg
,
"CaseImg"
);
NetUtil
.
ajxxk
.
getCaseBybarcode
({
barcode
:
this
.
ysajjbxx
.
ysxtAsjbh
},).
then
(
response
=>
{
console
.
log
(
response
.
ret
,
'gaigaigai'
)
if
(
response
.
code
==
0
)
{
//请求成功 代码为0
self
.
CaseImgNum
=
response
.
ret
.
length
;
if
(
self
.
CaseImgNum
>
0
)
{
for
(
let
i
=
0
;
i
<=
response
.
ret
.
length
;
i
++
)
{
let
arr
=
{
code
:
null
,
img
:
null
};
arr
.
code
=
response
.
ret
[
i
].
seq
;
arr
.
img
=
response
.
ret
[
i
].
image
;
self
.
CaseImg
.
push
(
arr
);
}
// 去掉加载状态
self
.
caseLoading
=
false
;
}
else
if
(
response
.
data
.
code
==
4
)
{
// 去掉加载状态
self
.
caseLoading
=
false
;
// self.$forceUpdate()
console
.
log
(
self
.
CaseImg
,
"CaseImg"
);
}
})
.
catch
(
function
(
error
)
{
//console.log(error);
});
// 去掉加载状态
self
.
caseLoading
=
false
;
}
else
if
(
response
.
code
==
4
)
{
// 去掉加载状态
self
.
CaseImgNum
=
0
self
.
caseLoading
=
false
;
}
}).
catch
(
function
(
error
)
{
//console.log(error);
});
// this.$axios
// .post(
// "api/org/case/barcode",
// { barcode: this.ysajjbxx.ysxtAsjbh },
// { loading: false }
// )
// .then(response => {
// if (response.data.code == 0) { //请求成功 代码为0
// self.CaseImgNum = response.data.ret.length;
// if (self.CaseImgNum > 0) {
// for (let i = 0; i
<=
response
.
data
.
ret
.
length
;
i
++
)
{
// let arr = {
// code: null,
// img: null
// };
// arr.code = response.data.ret[i].seq;
// arr.img = response.data.ret[i].image;
// self.CaseImg.push(arr);
// }
// // self.$forceUpdate()
// console.log(self.CaseImg, "CaseImg");
// }
// // 去掉加载状态
// self.caseLoading = false;
// } else if (response.data.code == 4) {
// // 去掉加载状态
// self.caseLoading = false;
// }
// })
// .catch(function (error) {
// //console.log(error);
// });
},
getfileinfo
()
{
// 获取发查询信息
...
...
@@ -392,6 +452,7 @@ export default {
this
.
CasePlamImg
=
[];
this
.
casePlamLoading
=
true
;
this
.
radio1
=
1
;
fHttp
.
cancel
()
},
closeDrawer
()
{
this
.
drawer
=
false
;
...
...
@@ -403,6 +464,7 @@ export default {
this
.
CasePlamImg
=
[];
this
.
casePlamLoading
=
true
;
this
.
radio1
=
1
;
fHttp
.
cancel
()
}
}
};
...
...
src/views/tjbb/tjbb.vue
View file @
2838f120
...
...
@@ -148,7 +148,7 @@ export default {
formTemplate
:
cjxxmb
,
tpl
:
"1"
,
fr_cpt_url
:
"http://192.168.128.1
19
:8075/webroot/decision/view/report?viewlet=count%252Fcj.cpt&status=1&unitcode=%27540000000000%27&sj=%272022-01%27#/report"
,
"http://192.168.128.1
06
:8075/webroot/decision/view/report?viewlet=count%252Fcj.cpt&status=1&unitcode=%27540000000000%27&sj=%272022-01%27#/report"
,
};
},
methods
:
{
...
...
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