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
21d75151
Commit
21d75151
authored
Jul 30, 2021
by
西瓜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
反馈核查案件和嫌疑人删除
parent
7367ecb2
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
118 additions
and
53 deletions
+118
-53
public/JsonData/CODE_SHCE_HCFKFJLXDM.json
+2
-2
src/api/xsInput/xsInput.js
+7
-2
src/views/xsDetail/fjsc.vue
+106
-46
src/views/xsDetail/hcfksh.vue
+1
-1
src/views/xsDetail/sxjDetail.vue
+1
-1
src/views/xsDetail/zlDetail.vue
+1
-1
No files found.
public/JsonData/CODE_SHCE_HCFKFJLXDM.json
View file @
21d75151
...
...
@@ -15,9 +15,9 @@
},
{
"ids"
:
"455542"
,
"label"
:
"
三
长签字页扫描件"
,
"label"
:
"
四
长签字页扫描件"
,
"codeType"
:
"CODE_SHCE_HCFKFJLXDM"
,
"text"
:
"
三
长签字页扫描件"
,
"text"
:
"
四
长签字页扫描件"
,
"id"
:
"02"
,
"isParent"
:
false
,
"children"
:
[]
...
...
src/api/xsInput/xsInput.js
View file @
21d75151
...
...
@@ -68,4 +68,9 @@ export const getXxzjbh = params =>
//附件删除
export
const
deleteObj1
=
params
=>
post
(
`
${
base
.
alyIP
}
/shse/deleteObj`
,
params
)
\ No newline at end of file
post
(
`
${
base
.
alyIP
}
/shse/deleteObj`
,
params
)
//嫌疑人,案件删除
export
const
deleteObjXyrAj
=
params
=>
post
(
`
${
base
.
alyIP
}
/shse/deleteObj`
,
params
)
\ No newline at end of file
src/views/xsDetail/fjsc.vue
View file @
21d75151
...
...
@@ -1062,7 +1062,7 @@
>
阶段反馈
</el-button
>
<el-button
v-else-if=
"xgbuttom == '1'"
v-else-if=
"xgbuttom == '1'"
type=
"info"
icon=
"el-icon-document-remove"
@
click=
"submit('17')"
...
...
@@ -1077,7 +1077,6 @@
id=
"caiji"
>
办结反馈
</el-button
>
</div>
<div
v-else-if=
"propBottonType == 'Xdzl'"
>
<el-button
...
...
@@ -1228,7 +1227,11 @@
</template>
<
script
>
import
{
queryCodeByType
,
deleteObj1
}
from
'@/api/xsInput/xsInput.js'
import
{
queryCodeByType
,
deleteObj1
,
deleteObjXyrAj
}
from
'@/api/xsInput/xsInput.js'
import
{
get
,
post
,
postform
}
from
'@/utils/http.js'
import
base
from
'@/api/base'
import
axios
from
'axios'
...
...
@@ -1279,6 +1282,8 @@ export default {
},
data
()
{
return
{
scId
:
''
,
tbName
:
''
,
xXxxzjbhSc
:
''
,
filterText
:
''
,
buttom
:
this
.
$route
.
query
.
buttom
,
...
...
@@ -1530,23 +1535,69 @@ export default {
//点击垃圾桶 删除表单
deleteObj
(
obj
)
{
debugger
let
self
=
this
self
.
propFormField
.
forEach
(
val
=>
{
if
(
val
.
childrenAsAdd
)
{
val
.
childrenAsAdd
.
forEach
(
val2
=>
{
self
.
formLabelAlign
[
val2
.
id
].
forEach
(
val3
=>
{
if
(
val3
==
obj
)
{
self
.
formLabelAlign
[
val2
.
id
].
splice
(
val2
.
list
.
indexOf
(
val3
),
1
)
// this.$message.success("删除成功");
this
.
$alert
(
'删除成功!'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
type
:
'success'
if
(
!
obj
.
xxzjbh
)
{
self
.
propFormField
.
forEach
(
val
=>
{
if
(
val
.
childrenAsAdd
)
{
val
.
childrenAsAdd
.
forEach
(
val2
=>
{
self
.
formLabelAlign
[
val2
.
id
].
forEach
(
val3
=>
{
if
(
val3
==
obj
)
{
self
.
formLabelAlign
[
val2
.
id
].
splice
(
val2
.
list
.
indexOf
(
val3
),
1
)
// this.$message.success("删除成功");
this
.
$alert
(
'删除成功!'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
type
:
'success'
})
}
})
})
}
})
}
else
{
self
.
propFormField
[
4
].
childrenAsAdd
.
forEach
(
item
=>
{
console
.
log
(
item
)
self
.
scId
=
item
.
id
})
self
.
propFormField
[
5
].
childrenAsAdd
.
forEach
(
item
=>
{
console
.
log
(
item
)
self
.
scId
=
item
.
id
})
if
(
self
.
scId
==
'hcfkglxyr'
)
{
this
.
tbName
=
'TB_YW_SHSEXS_HCFKGLXYR'
}
else
if
(
self
.
scId
==
'hcfkglasj'
)
{
this
.
tbName
=
'TB_YW_SHSEXS_HCFKGLASJ'
}
deleteObjXyrAj
({
xxzjbh
:
obj
.
xxzjbh
,
tbName
:
this
.
tbName
}).
then
(
res
=>
{
if
(
res
.
code
==
'200'
)
{
self
.
propFormField
.
forEach
(
val
=>
{
if
(
val
.
childrenAsAdd
)
{
val
.
childrenAsAdd
.
forEach
(
val2
=>
{
self
.
formLabelAlign
[
val2
.
id
].
forEach
(
val3
=>
{
if
(
val3
==
obj
)
{
self
.
formLabelAlign
[
val2
.
id
].
splice
(
val2
.
list
.
indexOf
(
val3
),
1
)
// this.$message.success("删除成功");
this
.
$alert
(
'删除成功!'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
type
:
'success'
})
}
})
})
}
})
}
)
}
}
)
}
}
)
}
},
//新增表单数据
...
...
@@ -2813,7 +2864,7 @@ export default {
)
}
}
debugger
debugger
console
.
log
(
'1)普通字段处'
+
this
.
propSt
+
'.'
+
item
.
id
,
self
.
formLabelAlign
[
item
.
id
]
...
...
@@ -3077,31 +3128,31 @@ export default {
},
beforeRemove
(
file
,
fileList
)
{
debugger
return
this
.
$confirm
(
`是否要删除!`
,
'提示!'
,
{
confirmButtonText
:
'确定'
,
type
:
'waring'
}).
then
(
()
=>
{
// if (file.uid == )
if
(
this
.
$route
.
query
.
fkxxzjbh
)
{
this
.
xXxxzjbhSc
=
file
.
xxzjbh
}
else
{
this
.
xXxxzjbhSc
=
this
.
xcfjSc
}
deleteObj1
({
xxzjbh
:
this
.
xXxxzjbhSc
,
tbName
:
'TB_YW_SHSEXS_XSHCFKFJ'
}).
then
(
res
=>
{
if
(
res
.
code
==
'200'
)
{
this
.
$alert
(
'删除成功!'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
type
:
'success'
,
callback
:
()
=>
{
return
this
.
$confirm
(
`是否要删除!`
,
'提示!'
,
{
confirmButtonText
:
'确定'
,
type
:
'waring'
}).
then
(
()
=>
{
// if (file.uid == )
if
(
this
.
$route
.
query
.
fkxxzjbh
)
{
this
.
xXxxzjbhSc
=
file
.
xxzjbh
}
else
{
this
.
xXxxzjbhSc
=
this
.
xcfjSc
}
deleteObj1
({
xxzjbh
:
this
.
xXxxzjbhSc
,
tbName
:
'TB_YW_SHSEXS_XSHCFKFJ'
}).
then
(
res
=>
{
if
(
res
.
code
==
'200'
)
{
this
.
$alert
(
'删除成功!'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
type
:
'success'
,
callback
:
()
=>
{
// location.reload();
}
})
}
})
}
})
}
})
})
},
handleRemove
(
file
,
fileList
,
item
)
{
debugger
...
...
@@ -3135,7 +3186,10 @@ export default {
}
else
if
(
item
.
id
==
'hcbgDzwd'
)
{
params
.
append
(
'shsexsbh'
,
this
.
shsexsbh
)
params
.
append
(
'jsxxzjbh'
,
this
.
xxzjbh
)
params
.
append
(
'jshcxxzjbh'
,
this
.
jshcxxzjbh
?
this
.
jshcxxzjbh
:
this
.
fkxxzjbh
)
params
.
append
(
'jshcxxzjbh'
,
this
.
jshcxxzjbh
?
this
.
jshcxxzjbh
:
this
.
fkxxzjbh
)
params
.
append
(
'fjlxdm'
,
'01'
)
params
.
append
(
'file'
,
file
.
raw
)
self
.
fkcs
=
params
...
...
@@ -3143,8 +3197,11 @@ export default {
}
else
if
(
item
.
id
==
'szqzySmj'
)
{
params
.
append
(
'shsexsbh'
,
this
.
shsexsbh
)
params
.
append
(
'jsxxzjbh'
,
this
.
xxzjbh
)
// params.append('jshcxxzjbh', this.jshcxxzjbh)
params
.
append
(
'jshcxxzjbh'
,
this
.
jshcxxzjbh
?
this
.
jshcxxzjbh
:
this
.
fkxxzjbh
)
// params.append('jshcxxzjbh', this.jshcxxzjbh)
params
.
append
(
'jshcxxzjbh'
,
this
.
jshcxxzjbh
?
this
.
jshcxxzjbh
:
this
.
fkxxzjbh
)
params
.
append
(
'fjlxdm'
,
'02'
)
params
.
append
(
'file'
,
file
.
raw
)
self
.
fkcs
=
params
...
...
@@ -3153,7 +3210,10 @@ export default {
params
.
append
(
'shsexsbh'
,
this
.
shsexsbh
)
params
.
append
(
'jsxxzjbh'
,
this
.
xxzjbh
)
// params.append('jshcxxzjbh', this.jshcxxzjbh)
params
.
append
(
'jshcxxzjbh'
,
this
.
jshcxxzjbh
?
this
.
jshcxxzjbh
:
this
.
fkxxzjbh
)
params
.
append
(
'jshcxxzjbh'
,
this
.
jshcxxzjbh
?
this
.
jshcxxzjbh
:
this
.
fkxxzjbh
)
params
.
append
(
'fjlxdm'
,
'03'
)
params
.
append
(
'file'
,
file
.
raw
)
self
.
fkcs
=
params
...
...
@@ -3225,7 +3285,7 @@ export default {
})
debugger
postform
(
`
${
base
.
alyIP
}
/xsHcfkSp/addHcfkFj`
,
this
.
fkcs
).
then
(
res
=>
{
if
(
res
.
code
==
'200'
)
{
if
(
res
.
code
==
'200'
)
{
this
.
xcfjSc
=
res
.
data
.
xxzjbh
this
.
$alert
(
'上传成功!'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
...
...
@@ -4164,7 +4224,7 @@ $-header-fontSize: 18px;
}
}
}
/
deep
/
.el-upload-list__item.is-success.focusing
.el-icon-close-tip
{
/
deep
/
.el-upload-list__item.is-success.focusing
.el-icon-close-tip
{
display
:
none
!important
;
}
</
style
>
src/views/xsDetail/hcfksh.vue
View file @
21d75151
...
...
@@ -632,7 +632,7 @@ export default {
content
:
[]
},
smj
:
{
name
:
'
三
长签字页扫面件:'
,
name
:
'
四
长签字页扫面件:'
,
content
:
[]
},
qt
:
{
...
...
src/views/xsDetail/sxjDetail.vue
View file @
21d75151
...
...
@@ -1036,7 +1036,7 @@ export default {
content
:
[]
},
smj
:
{
name
:
'
三
长签字页扫面件:'
,
name
:
'
四
长签字页扫面件:'
,
content
:
[]
},
qt
:
{
...
...
src/views/xsDetail/zlDetail.vue
View file @
21d75151
...
...
@@ -425,7 +425,7 @@ export default {
content
:
[],
},
smj
:
{
name
:
"
三
长签字页扫面件:"
,
name
:
"
四
长签字页扫面件:"
,
content
:
[],
},
qt
:
{
...
...
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