commit
This commit is contained in:
@@ -14,7 +14,6 @@
|
|||||||
<el-form
|
<el-form
|
||||||
ref="bzzqyjForm"
|
ref="bzzqyjForm"
|
||||||
:model="form"
|
:model="form"
|
||||||
:rules="formRules"
|
|
||||||
class="label-input-form"
|
class="label-input-form"
|
||||||
label-width="210px"
|
label-width="210px"
|
||||||
>
|
>
|
||||||
@@ -265,18 +264,6 @@ export default {
|
|||||||
commentText: '',
|
commentText: '',
|
||||||
taskIds: this.$route.query.taskIds,
|
taskIds: this.$route.query.taskIds,
|
||||||
pId: this.$route.query.prcId,
|
pId: this.$route.query.prcId,
|
||||||
roleRow: {},
|
|
||||||
nodeList: [],
|
|
||||||
type: '',
|
|
||||||
defaultProps: {
|
|
||||||
children: 'children',
|
|
||||||
label: 'name'
|
|
||||||
},
|
|
||||||
treeData: [], // 人员数据
|
|
||||||
modalshowflag: false, // drawer开关
|
|
||||||
drawerTitle: '', //drawer标题
|
|
||||||
textarea: '', // 意见
|
|
||||||
ListModel: false, // 新增编辑抽屉开关
|
|
||||||
active: '1', // 默认显示
|
active: '1', // 默认显示
|
||||||
isSubmit: false,
|
isSubmit: false,
|
||||||
saveLoading: false,
|
saveLoading: false,
|
||||||
@@ -290,11 +277,6 @@ export default {
|
|||||||
modelList: [],
|
modelList: [],
|
||||||
modelNameList: '',
|
modelNameList: '',
|
||||||
},
|
},
|
||||||
formRules: {
|
|
||||||
responUserList: [
|
|
||||||
{ required: true, message: '请选择责任人', trigger: 'change' },
|
|
||||||
]
|
|
||||||
},
|
|
||||||
json: {}
|
json: {}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -323,16 +305,6 @@ export default {
|
|||||||
this.$message.warning('文件不存在,下载失败')
|
this.$message.warning('文件不存在,下载失败')
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
updataFj (item) {
|
|
||||||
let id
|
|
||||||
let type = item.fileName.split('.')
|
|
||||||
if (type[1] === 'pdf') {
|
|
||||||
id = item.attId
|
|
||||||
} else {
|
|
||||||
id = item.oriAttId
|
|
||||||
}
|
|
||||||
window.open('/static/pdf/phone/bzzqyjViewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + id))
|
|
||||||
},
|
|
||||||
getHistoryData () {
|
getHistoryData () {
|
||||||
this.$http.get('lawss/activiti/get_list_by_instance', {
|
this.$http.get('lawss/activiti/get_list_by_instance', {
|
||||||
prcNum: this.$route.query.prcNum,
|
prcNum: this.$route.query.prcNum,
|
||||||
@@ -384,27 +356,6 @@ export default {
|
|||||||
handleTabs(name) {
|
handleTabs(name) {
|
||||||
this.active = name
|
this.active = name
|
||||||
},
|
},
|
||||||
handleSubmitNo() {
|
|
||||||
if (this.commentText) {
|
|
||||||
this.isSubmit = true
|
|
||||||
var json = this.json
|
|
||||||
json.actionFlag = 1
|
|
||||||
json.commentText = this.commentText
|
|
||||||
this.$http.post('lawss/activiti/completeTask', {
|
|
||||||
json: JSON.stringify(json),
|
|
||||||
taskIds: this.taskIds,
|
|
||||||
userId: this.$store.getters.userInfo.userId
|
|
||||||
}, {}, res => {
|
|
||||||
if (res.success) {
|
|
||||||
this.$message.success('驳回成功')
|
|
||||||
this.$router.push('/processCenter')
|
|
||||||
}
|
|
||||||
this.isSubmit = false
|
|
||||||
})
|
|
||||||
} else {
|
|
||||||
this.$message.warning('请输入反馈意见')
|
|
||||||
}
|
|
||||||
},
|
|
||||||
getData() {
|
getData() {
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
inboundLiaisonDetail({
|
inboundLiaisonDetail({
|
||||||
|
|||||||
Reference in New Issue
Block a user