下载决定书
This commit is contained in:
parent
f120a27916
commit
ebd89a6e06
|
|
@ -78,13 +78,13 @@ service.interceptors.response.use(
|
||||||
location.reload()
|
location.reload()
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
|
Message({
|
||||||
|
message: error.response.data.msg || '请求失败,服务器开小差了',
|
||||||
|
type: 'error'
|
||||||
|
})
|
||||||
if (error.config.throwError || error.config.useResponseData) { // 不被拦截处理
|
if (error.config.throwError || error.config.useResponseData) { // 不被拦截处理
|
||||||
throw error.response
|
throw error.response
|
||||||
} else {
|
} else {
|
||||||
Message({
|
|
||||||
message: error.response.data.msg || '请求失败,服务器开小差了',
|
|
||||||
type: 'error'
|
|
||||||
})
|
|
||||||
return error.response.data
|
return error.response.data
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -144,11 +144,13 @@
|
||||||
v-model="entListTableData"
|
v-model="entListTableData"
|
||||||
:fields="entListFields"
|
:fields="entListFields"
|
||||||
:table-config="entListTableConfig"
|
:table-config="entListTableConfig"
|
||||||
|
:buttons="entListButtons"
|
||||||
:emit-load-on-create="true"
|
:emit-load-on-create="true"
|
||||||
:on-load="loadEntListData"
|
:on-load="loadEntListData"
|
||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
</easy-form>
|
</easy-form>
|
||||||
|
<Doc ref="doc" />
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
@ -164,12 +166,15 @@ import {
|
||||||
getDecisionContent, getForceNoticeContent,
|
getDecisionContent, getForceNoticeContent,
|
||||||
xrForceDeregisterSpeListByBizSeqNo,
|
xrForceDeregisterSpeListByBizSeqNo,
|
||||||
xrForceDeregisterSpeProcessControl,
|
xrForceDeregisterSpeProcessControl,
|
||||||
|
xrForceDeregisterGetApprovalFormByBizSeqNo,
|
||||||
getOrgunits,
|
getOrgunits,
|
||||||
xrAttachmentDelLawFile,
|
xrAttachmentDelLawFile,
|
||||||
xrAttachmentListByBizSepNo,
|
xrAttachmentListByBizSepNo,
|
||||||
xrOpinionListByBizSeqNo
|
xrOpinionListByBizSeqNo
|
||||||
} from '@/api/force'
|
} from '@/api/force'
|
||||||
|
import Doc from './doc.vue'
|
||||||
export default {
|
export default {
|
||||||
|
components: { Doc },
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
authItemMap: [],
|
authItemMap: [],
|
||||||
|
|
@ -187,6 +192,16 @@ export default {
|
||||||
currentNodeID: '',
|
currentNodeID: '',
|
||||||
localSelection: '当前部门处理人', // 默认值
|
localSelection: '当前部门处理人', // 默认值
|
||||||
entListTableData: [],
|
entListTableData: [],
|
||||||
|
entListButtons: [
|
||||||
|
{
|
||||||
|
label: '下载决定书',
|
||||||
|
type: 'text',
|
||||||
|
show: () => this.readonly,
|
||||||
|
handler: (scope, { row }) => {
|
||||||
|
this.printEntDoc(row)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
entListFields: [
|
entListFields: [
|
||||||
{
|
{
|
||||||
type: 'input',
|
type: 'input',
|
||||||
|
|
@ -246,6 +261,7 @@ export default {
|
||||||
showIndex: true,
|
showIndex: true,
|
||||||
indexWidth: '100px',
|
indexWidth: '100px',
|
||||||
showPagination: true,
|
showPagination: true,
|
||||||
|
handlerWidth: '120px',
|
||||||
tableProps: {
|
tableProps: {
|
||||||
headerCellStyle: { background: '#F5F5F5!important', color: '#333333!important', padding: '0px' },
|
headerCellStyle: { background: '#F5F5F5!important', color: '#333333!important', padding: '0px' },
|
||||||
headerRowStyle: { height: '48px' },
|
headerRowStyle: { height: '48px' },
|
||||||
|
|
@ -729,6 +745,14 @@ export default {
|
||||||
total: data.total
|
total: data.total
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
},
|
||||||
|
printEntDoc(row) {
|
||||||
|
xrForceDeregisterGetApprovalFormByBizSeqNo({
|
||||||
|
bizSeqNo: this.$route.query.bizSeqNo,
|
||||||
|
forceSpeId: row.forceSpeId
|
||||||
|
}).then((data = {}) => {
|
||||||
|
this.$refs.doc.open(data)
|
||||||
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -696,7 +696,7 @@ export default {
|
||||||
},
|
},
|
||||||
// 跳转到企业详情页
|
// 跳转到企业详情页
|
||||||
goToEntDetail(row) {
|
goToEntDetail(row) {
|
||||||
this.$router.push({ path: '/comprehensive/details', query: { pripid: row.pripid } })
|
this.$router.push({ path: '/comprehensive/details', query: { pripid: row.pripId } })
|
||||||
},
|
},
|
||||||
generateNoticeContent(scope) {
|
generateNoticeContent(scope) {
|
||||||
this.generatingContent = true
|
this.generatingContent = true
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue