Commit c9463209 by 西瓜

线索管理,上级下发线索,反馈拟办意见中 反馈功能的附件回显

parent db69b453
......@@ -6,4 +6,11 @@ export const xsHcfk = params =>
// 反馈修改
export const editXsHcfk = params =>
postform(`${base.alyIP}/xsHcfkSp/editXsHcfk`, params);
\ No newline at end of file
postform(`${base.alyIP}/xsHcfkSp/editXsHcfk`, params);
// 反馈修改
export const getFkfjByBjyjFj = params =>
post(`${base.alyIP}/xsBjyj/getFkfjByBjyjFj`, params);
......@@ -5482,7 +5482,8 @@ export default {
xxzjbh: scope.row.jsxxzjbh,
shsexsbh: scope.row.shsexsbh,
bjyjxxzjbh: scope.row.xxzjbh,
fkid: '1'
fkid: '1',
fknbyj: '3'
}
})
},
......
......@@ -313,9 +313,8 @@ export default {
down1 (fjitem) {
debugger
var params = new FormData()
// params.append('xxzjbh', fjitem.xxzjbh)
params.append('filePath', encodeURIComponent(encodeURIComponent(fjitem.bjyjfjDzwjwz)))
var url = '/api/shse/fjxz'
params.append('xxzjbh', fjitem.xxzjbh)
var url = '/api3/xsBjyj/bjyjfjXz'
axios
.post(url, params, {
responseType: 'arraybuffer'
......
......@@ -884,7 +884,7 @@ export default {
jsxxzjbh: this.xxzjbh,
shsexsbh: this.shsexsbh,
yjbt: this.yjbt,
jshcxxbjy: this.$route.query.fkbh
jshcxxzjbh: this.$route.query.fkbh
}).then(res => {
this.$alert('保存成功!', '提示', {
confirmButtonText: '确定',
......
<template>
<div ref="zlXq"
class="xsfk"
element-loading-text="正在加载......"
v-loading="loadingFk">
<div style="
<div
ref="zlXq"
class="xsfk"
element-loading-text="正在加载......"
v-loading="loadingFk"
>
<div
style="
position: fixed;
background-color: rgb(26, 129, 225);
line-height: 60px;
......@@ -12,34 +15,38 @@
font-size: 20px;
color: #fff;
padding-left: 127px;
">
<i class="iconfont iconfankuixuanzhong"
style="font-size: 20px;"></i>
"
>
<i class="iconfont iconfankuixuanzhong" style="font-size: 20px;"></i>
{{ headerTitle }}
</div>
<div class="det">
<xs-det :headerTitle="headerTitle"
:porpXsList="xsList"
:porpResult="result"
:porpXslyCode="xslyCode"
:porpxszxx="xszxx"
:propisParent="isParent"
@changePage="changePage"></xs-det>
<xs-det
:headerTitle="headerTitle"
:porpXsList="xsList"
:porpResult="result"
:porpXslyCode="xslyCode"
:porpxszxx="xszxx"
:propisParent="isParent"
@changePage="changePage"
></xs-det>
</div>
<div class="form">
<fj-sc :xxzjbh="xxzjbh"
:shsexsbh="shsexsbh"
:jshcxxzjbh="jshcxxzjbh"
:formField="formField"
:formLabelAlign="formLabelAlign"
:propSt="st"
:rule="rules"
:propxsTitle="title"
:propBottonType="bottonType"
:url="url"
@hxShuju="ajHx(arguments)"
@submit="callSubmit"
:autowidth="autowidth"></fj-sc>
<fj-sc
:xxzjbh="xxzjbh"
:shsexsbh="shsexsbh"
:jshcxxzjbh="jshcxxzjbh"
:formField="formField"
:formLabelAlign="formLabelAlign"
:propSt="st"
:rule="rules"
:propxsTitle="title"
:propBottonType="bottonType"
:url="url"
@hxShuju="ajHx(arguments)"
@submit="callSubmit"
:autowidth="autowidth"
></fj-sc>
</div>
</div>
</template>
......@@ -58,7 +65,7 @@ import {
getXsJbxxsByPid,
getXsbjfjByXsbh
} from '@/api/xsInput/xsDetail.js'
import { xsHcfk } from '@/api/xsInput/fk.js'
import { xsHcfk, getFkfjByBjyjFj } from '@/api/xsInput/fk.js'
import { tqasj } from '@/api/xsInput/xshc.js'
import { queryCodeByType, getXxzjbh } from '@/api/xsInput/xsInput.js'
import FjSc from '@/views/xsDetail/fjsc.vue'
......@@ -425,7 +432,7 @@ export default {
col: 'textarea',
bj: '1'
},
{
{
childrenAsAdd: [
{
name: '涉及案件信息:',
......@@ -713,7 +720,7 @@ export default {
}
]
},
{
name: '核查报告电子文档:',
id: 'hcbgDzwd',
......@@ -758,7 +765,7 @@ export default {
}
},
created () {
; (this.xxzjbh = this.$route.query.xxzjbh),
;(this.xxzjbh = this.$route.query.xxzjbh),
(this.shsexsbh = this.$route.query.shsexsbh),
(this.jsxxzjbh = this.$route.query.xxzjbh),
(this.jsxxzjbh1 = this.$route.query.jsxxzjbh),
......@@ -776,16 +783,41 @@ export default {
if (this.$route.query.fkxxzjbh) {
this.getTqHxFksj()
}
if (this.$route.query.fknbyj) {
this.getFkfjByBjyjFjList()
}
},
methods: {
// // getXxzjbh
// getXxzjbhList () {
// getXxzjbh().then(res => {
// this.jshcxxzjbh = res.xxzjbh
// debugger
// console.log(this.jshcxxzjbh);
// })
// },
// 指令反馈拟办意见附件回显
getFkfjByBjyjFjList () {
debugger
var self = this
getFkfjByBjyjFj({
bjyjxxzjbh: this.$route.query.bjyjxxzjbh,
jshcxxzjbh: this.$route.query.jshcxxzjbh
}).then(res => {
self.formLabelAlign['qtFj'] = []
self.formLabelAlign['hcbgDzwd'] = []
console.log(self.formLabelAlign, '211111111111111111111111111')
res.data.rows.forEach( item => {
if (item.fjlxdm == '01') {
self.formLabelAlign['hcbgDzwd'].push({
name: item.jshcfjDzwjmc,
url: item.jshcfjDzwjwz,
xxzjbh: item.xxzjbh
})
} else if (item.fjlxdm == '03') {
self.formLabelAlign['qtFj'].push({
name: item.jshcfjDzwjmc,
url: item.jshcfjDzwjwz,
xxzjbh: item.xxzjbh
})
}
})
self.$set(self.formLabelAlign, 'editing', true)
self.$forceUpdate()
})
},
// 提取反馈的回显
getTqHxFksj () {
debugger
......@@ -795,10 +827,12 @@ export default {
fkxxzjbh: this.$route.query.fkxxzjbh,
newFkxxzjbh: this.$route.query.jshcxxzjbh
}).then(res => {
debugger
// 线索反馈
this.loadingFk = false
var result = res.data.fkxx
console.log(result, '1234567890')
self.formField.forEach(item => {
var fieldVale = result[item.id]
if (item.type == 'codeTree') {
......@@ -916,7 +950,7 @@ export default {
}
]
})
.catch(err => { })
.catch(err => {})
self.$set(
self.formLabelAlign,
currentField.id,
......@@ -1046,7 +1080,7 @@ export default {
}
]
})
.catch(err => { })
.catch(err => {})
self.$set(
self.formLabelAlign,
currentField.id,
......@@ -1179,8 +1213,8 @@ export default {
)
}
})
// 嫌疑人信息1:
// 嫌疑人信息1:
debugger
var result1 = res.data
self.formField[5].childrenAsAdd.forEach(childrenIdem => {
......@@ -1279,7 +1313,7 @@ export default {
}
]
})
.catch(err => { })
.catch(err => {})
self.$set(
self.formLabelAlign,
currentField.id,
......@@ -1402,7 +1436,7 @@ export default {
callback: () => {
window.opener.location.reload()
window.close()
window.opener.location.reload();
window.opener.location.reload()
// this.$router.pushToTab({
// path: 'sxjDetail',
// query: { shsexsbh: this.shsexsbh, xxzjbh: this.$route.query.xxzjbh }
......
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