fix(手机端): 退出到welink待办页
This commit is contained in:
+2
-2
@@ -53,7 +53,7 @@ import { webLoginType } from '@/sysConfig'
|
|||||||
|
|
||||||
import VConsole from 'vuex'
|
import VConsole from 'vuex'
|
||||||
|
|
||||||
import isMobile from "./store/isMobile";
|
import isMobile from './store/isMobile';
|
||||||
import { getCode, toIdmLoginPage, loginInIdm, loginInPhone, close } from '@/utils/login'
|
import { getCode, toIdmLoginPage, loginInIdm, loginInPhone, close } from '@/utils/login'
|
||||||
|
|
||||||
router.beforeEach((to, from, next) => {
|
router.beforeEach((to, from, next) => {
|
||||||
@@ -99,7 +99,7 @@ router.beforeEach((to, from, next) => {
|
|||||||
} else {
|
} else {
|
||||||
if (getCode()) {
|
if (getCode()) {
|
||||||
loginInIdm(getCode()).then(() => {
|
loginInIdm(getCode()).then(() => {
|
||||||
let path = to.fullPath.replace('code=' + getCode(), '')
|
const path = to.fullPath.replace('code=' + getCode(), '')
|
||||||
next({ path })
|
next({ path })
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -9,18 +9,18 @@
|
|||||||
<script>
|
<script>
|
||||||
import Vue from 'vue';
|
import Vue from 'vue';
|
||||||
import { Icon } from 'vant';
|
import { Icon } from 'vant';
|
||||||
import hwh5 from '../../api/hwh5-cloudonline.js';
|
|
||||||
|
|
||||||
Vue.use(Icon);
|
Vue.use(Icon);
|
||||||
export default {
|
export default {
|
||||||
name: "blankPage",
|
name: 'blankPage',
|
||||||
data() {
|
data() {
|
||||||
return {}
|
return {}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
closeWindow(){
|
closeWindow(){
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -39,7 +39,8 @@
|
|||||||
showCancelButton: false,
|
showCancelButton: false,
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -206,7 +206,7 @@ export default {
|
|||||||
},
|
},
|
||||||
destroyed() {
|
destroyed() {
|
||||||
window.onresize = null
|
window.onresize = null
|
||||||
this.tableHeight = ''
|
this.tableHeight = ""
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
addModal () {
|
addModal () {
|
||||||
|
|||||||
@@ -104,213 +104,215 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
||||||
import ProcessFooter from '../../components/ProcessFooter'
|
import ProcessFooter from '../../components/ProcessFooter'
|
||||||
import ProcessTitle from '../../components/ProcessTitle'
|
import ProcessTitle from '../../components/ProcessTitle'
|
||||||
import {inboundLiaisonDetail,processCreateStand,saveTaskForPub,changeAssigneeNew} from 'api/process'
|
import {inboundLiaisonDetail,processCreateStand,saveTaskForPub,changeAssigneeNew} from 'api/process'
|
||||||
import hwh5 from '@/api/hwh5-cloudonline.js'
|
import hwh5 from '@/api/hwh5-cloudonline.js'
|
||||||
import axios from "axios";
|
import axios from 'axios';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "phoneBzdyStep2",
|
name: 'phoneBzdyStep2',
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
drawerModal: false,
|
drawerModal: false,
|
||||||
foldFormFlag: false,
|
foldFormFlag: false,
|
||||||
histortData: [],
|
histortData: [],
|
||||||
commentText2: '',
|
commentText2: '',
|
||||||
taskIds: this.$route.query.taskIds,
|
taskIds: this.$route.query.taskIds,
|
||||||
pId: this.$route.query.prcId,
|
pId: this.$route.query.prcId,
|
||||||
showNodeList: [],
|
showNodeList: [],
|
||||||
nodeList2: [],
|
nodeList2: [],
|
||||||
type: '',
|
type: '',
|
||||||
modalshowflag2: false, // drawer开关
|
modalshowflag2: false, // drawer开关
|
||||||
drawerTitle: '', //drawer标题
|
drawerTitle: '', //drawer标题
|
||||||
textarea: '', // 意见
|
textarea: '', // 意见
|
||||||
ListModel: false, // 新增编辑抽屉开关
|
ListModel: false, // 新增编辑抽屉开关
|
||||||
active: '1', // 默认显示
|
active: '1', // 默认显示
|
||||||
isSubmit: false,
|
isSubmit: false,
|
||||||
saveLoading: false,
|
saveLoading: false,
|
||||||
form: {
|
form: {
|
||||||
title: '', // 调研标题
|
title: '', // 调研标题
|
||||||
date: '', // 完成时间
|
date: '', // 完成时间
|
||||||
modelList: [],
|
modelList: [],
|
||||||
fjList: [],
|
fjList: [],
|
||||||
responUserList: '',
|
responUserList: '',
|
||||||
responUserListName: '',
|
responUserListName: '',
|
||||||
},
|
},
|
||||||
formRules: {
|
formRules: {
|
||||||
responUserList: [
|
responUserList: [
|
||||||
{ required: true, message: '请选择责任人', trigger: 'change' },
|
{ required: true, message: '请选择责任人', trigger: 'change' },
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
json: {}
|
json: {}
|
||||||
}
|
|
||||||
},
|
|
||||||
components: {
|
|
||||||
ProcessHeaderPhone,
|
|
||||||
ProcessFooter,
|
|
||||||
ProcessTitle
|
|
||||||
},
|
|
||||||
methods: {
|
|
||||||
clickButtonToUpload(file) {
|
|
||||||
let attId = ""
|
|
||||||
if(file && file.id){
|
|
||||||
attId = file.id
|
|
||||||
}else {
|
|
||||||
attId = file.response.data.id
|
|
||||||
}
|
|
||||||
this.$preview(attId)
|
|
||||||
},
|
|
||||||
handleTransfer() {
|
|
||||||
this.drawerModal = true
|
|
||||||
},
|
|
||||||
checkedRole (data) {
|
|
||||||
this.saveLoading = true
|
|
||||||
this.isSubmit = true
|
|
||||||
changeAssigneeNew({
|
|
||||||
taskId: this.$route.query.taskIds, // 任务id
|
|
||||||
userId:this.$store.getters.userInfo.account, // 委托人
|
|
||||||
assignee: data[0].id, // 被委托人
|
|
||||||
pId: this.$route.query.prcId, // 流程实例
|
|
||||||
}).then(res => {
|
|
||||||
if (res.success) {
|
|
||||||
this.drawerModal = false
|
|
||||||
this.$message.success('调整成功')
|
|
||||||
this.processNum()
|
|
||||||
// hwh5.close()
|
|
||||||
this.$router.go(-2)
|
|
||||||
// this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
|
||||||
} else {
|
|
||||||
this.$message.warning(res.message)
|
|
||||||
}
|
|
||||||
}).finally(() => {
|
|
||||||
this.saveLoading = false
|
|
||||||
this.isSubmit = false
|
|
||||||
})
|
|
||||||
},
|
|
||||||
// 请求转换流程图
|
|
||||||
processNum (row) {
|
|
||||||
axios.request({
|
|
||||||
url: '/api/lawss/activiti/getImg?_t=' + new Date().getTime(),
|
|
||||||
responseType: 'blob',
|
|
||||||
method: 'get',
|
|
||||||
params: {
|
|
||||||
prcNum: this.$route.query.prcNum
|
|
||||||
}
|
|
||||||
}).then(res => {
|
|
||||||
this.processStep = window.URL.createObjectURL(res.data)
|
|
||||||
})
|
|
||||||
},
|
|
||||||
foldForm() {
|
|
||||||
this.foldFormFlag = !this.foldFormFlag
|
|
||||||
},
|
|
||||||
getHistoryData () {
|
|
||||||
this.$http.get('lawss/activiti/get_list_by_instance', {
|
|
||||||
prcNum: this.$route.query.prcNum,
|
|
||||||
}, {}, res => {
|
|
||||||
this.histortData = res
|
|
||||||
}, e => {})
|
|
||||||
},
|
|
||||||
updateFile (item) {
|
|
||||||
window.location.href = '/api/att/attFile/downloadFile?fileId=' + item.id
|
|
||||||
},
|
|
||||||
checkedRole2 (data) {
|
|
||||||
var idList = ''
|
|
||||||
var nameList = ''
|
|
||||||
if (data.length) {
|
|
||||||
data.forEach( item => {
|
|
||||||
if (nameList.length > 0) {
|
|
||||||
nameList += ','
|
|
||||||
idList += ','
|
|
||||||
}
|
|
||||||
idList += item.id
|
|
||||||
nameList += item.name
|
|
||||||
})
|
|
||||||
}
|
|
||||||
this.form.responUserList = idList
|
|
||||||
this.form.responUserListName = nameList
|
|
||||||
},
|
|
||||||
choiceZRR () {
|
|
||||||
this.nodeList2 = []
|
|
||||||
if ( this.form.responUserList.length > 0) {
|
|
||||||
this.nodeList2 = this.form.responUserList.split(',')
|
|
||||||
}
|
|
||||||
this.modalshowflag2 = true
|
|
||||||
},
|
|
||||||
handleTabs(name) {
|
|
||||||
this.active = name
|
|
||||||
},
|
|
||||||
handleSave() {
|
|
||||||
this.saveLoading = true
|
|
||||||
this.isSubmit = true
|
|
||||||
let _formData = new FormData()
|
|
||||||
_formData.append('taskIds', this.taskIds)
|
|
||||||
_formData.append('json', JSON.stringify({
|
|
||||||
form: this.form,
|
|
||||||
commentText2: this.commentText2,
|
|
||||||
}))
|
|
||||||
saveTaskForPub(_formData).then(res => {
|
|
||||||
this.$message.success('保存成功')
|
|
||||||
}).finally(() => {
|
|
||||||
this.saveLoading = false
|
|
||||||
this.isSubmit = false
|
|
||||||
})
|
|
||||||
},
|
|
||||||
handleSubmit() {
|
|
||||||
this.$refs['qbkwForm'].validate((valid) => {
|
|
||||||
if (valid) {
|
|
||||||
this.isSubmit = true
|
|
||||||
this.saveLoading = true
|
|
||||||
var json = this.json
|
|
||||||
json.commentText = this.commentText2
|
|
||||||
json.responUserList = this.form.responUserList
|
|
||||||
json.responUserListName = this.form.responUserListName
|
|
||||||
this.$http.post('lawss/activiti/completeTask', {
|
|
||||||
json: JSON.stringify(json),
|
|
||||||
taskId: this.taskIds,
|
|
||||||
userId: this.$store.getters.userInfo.account
|
|
||||||
}, {}, res => {
|
|
||||||
if (res.success) {
|
|
||||||
this.$message.success('提交成功')
|
|
||||||
// hwh5.close()
|
|
||||||
this.$router.go(-2)
|
|
||||||
// this.$router.push('/processCenter')
|
|
||||||
}
|
|
||||||
this.isSubmit = false
|
|
||||||
this.saveLoading = false
|
|
||||||
})
|
|
||||||
} else {
|
|
||||||
return this.$message.warning('请完善基础信息')
|
|
||||||
}
|
|
||||||
})
|
|
||||||
},
|
|
||||||
getData() {
|
|
||||||
return new Promise((resolve, reject) => {
|
|
||||||
inboundLiaisonDetail({
|
|
||||||
taskIds: this.taskIds,
|
|
||||||
pId: this.pId
|
|
||||||
}).then(res => {
|
|
||||||
let data = JSON.parse(res.mesg)
|
|
||||||
this.form.fjList = data.fjList || data.form.fjList
|
|
||||||
this.form.modelList = data.modelList || data.form.modelList
|
|
||||||
this.form.title = data.title || data.form.title
|
|
||||||
this.form.processName = data.processName || data.form.processName
|
|
||||||
this.form.date = data.date || data.form.date
|
|
||||||
this.json = data || data.form
|
|
||||||
this.form.responUserList = data.form? data.form.responUserList : ''
|
|
||||||
this.form.responUserListName = data.form? data.form.responUserListName : ''
|
|
||||||
this.commentText2 = data.commentText2 || ''
|
|
||||||
}).catch(e => {
|
|
||||||
})
|
|
||||||
})
|
|
||||||
},
|
|
||||||
},
|
|
||||||
mounted () {
|
|
||||||
this.getData()
|
|
||||||
this.getHistoryData()
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
components: {
|
||||||
|
ProcessHeaderPhone,
|
||||||
|
ProcessFooter,
|
||||||
|
ProcessTitle
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
clickButtonToUpload(file) {
|
||||||
|
let attId = ''
|
||||||
|
if(file && file.id){
|
||||||
|
attId = file.id
|
||||||
|
}else {
|
||||||
|
attId = file.response.data.id
|
||||||
|
}
|
||||||
|
this.$preview(attId)
|
||||||
|
},
|
||||||
|
handleTransfer() {
|
||||||
|
this.drawerModal = true
|
||||||
|
},
|
||||||
|
checkedRole (data) {
|
||||||
|
this.saveLoading = true
|
||||||
|
this.isSubmit = true
|
||||||
|
changeAssigneeNew({
|
||||||
|
taskId: this.$route.query.taskIds, // 任务id
|
||||||
|
userId:this.$store.getters.userInfo.account, // 委托人
|
||||||
|
assignee: data[0].id, // 被委托人
|
||||||
|
pId: this.$route.query.prcId, // 流程实例
|
||||||
|
}).then(res => {
|
||||||
|
if (res.success) {
|
||||||
|
this.drawerModal = false
|
||||||
|
this.$message.success('调整成功')
|
||||||
|
this.processNum()
|
||||||
|
// hwh5.close()
|
||||||
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
|
// this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
||||||
|
} else {
|
||||||
|
this.$message.warning(res.message)
|
||||||
|
}
|
||||||
|
}).finally(() => {
|
||||||
|
this.saveLoading = false
|
||||||
|
this.isSubmit = false
|
||||||
|
})
|
||||||
|
},
|
||||||
|
// 请求转换流程图
|
||||||
|
processNum (row) {
|
||||||
|
axios.request({
|
||||||
|
url: '/api/lawss/activiti/getImg?_t=' + new Date().getTime(),
|
||||||
|
responseType: 'blob',
|
||||||
|
method: 'get',
|
||||||
|
params: {
|
||||||
|
prcNum: this.$route.query.prcNum
|
||||||
|
}
|
||||||
|
}).then(res => {
|
||||||
|
this.processStep = window.URL.createObjectURL(res.data)
|
||||||
|
})
|
||||||
|
},
|
||||||
|
foldForm() {
|
||||||
|
this.foldFormFlag = !this.foldFormFlag
|
||||||
|
},
|
||||||
|
getHistoryData () {
|
||||||
|
this.$http.get('lawss/activiti/get_list_by_instance', {
|
||||||
|
prcNum: this.$route.query.prcNum,
|
||||||
|
}, {}, res => {
|
||||||
|
this.histortData = res
|
||||||
|
}, e => {})
|
||||||
|
},
|
||||||
|
updateFile (item) {
|
||||||
|
window.location.href = '/api/att/attFile/downloadFile?fileId=' + item.id
|
||||||
|
},
|
||||||
|
checkedRole2 (data) {
|
||||||
|
let idList = ''
|
||||||
|
let nameList = ''
|
||||||
|
if (data.length) {
|
||||||
|
data.forEach( item => {
|
||||||
|
if (nameList.length > 0) {
|
||||||
|
nameList += ','
|
||||||
|
idList += ','
|
||||||
|
}
|
||||||
|
idList += item.id
|
||||||
|
nameList += item.name
|
||||||
|
})
|
||||||
|
}
|
||||||
|
this.form.responUserList = idList
|
||||||
|
this.form.responUserListName = nameList
|
||||||
|
},
|
||||||
|
choiceZRR () {
|
||||||
|
this.nodeList2 = []
|
||||||
|
if ( this.form.responUserList.length > 0) {
|
||||||
|
this.nodeList2 = this.form.responUserList.split(',')
|
||||||
|
}
|
||||||
|
this.modalshowflag2 = true
|
||||||
|
},
|
||||||
|
handleTabs(name) {
|
||||||
|
this.active = name
|
||||||
|
},
|
||||||
|
handleSave() {
|
||||||
|
this.saveLoading = true
|
||||||
|
this.isSubmit = true
|
||||||
|
const _formData = new FormData()
|
||||||
|
_formData.append('taskIds', this.taskIds)
|
||||||
|
_formData.append('json', JSON.stringify({
|
||||||
|
form: this.form,
|
||||||
|
commentText2: this.commentText2,
|
||||||
|
}))
|
||||||
|
saveTaskForPub(_formData).then(res => {
|
||||||
|
this.$message.success('保存成功')
|
||||||
|
}).finally(() => {
|
||||||
|
this.saveLoading = false
|
||||||
|
this.isSubmit = false
|
||||||
|
})
|
||||||
|
},
|
||||||
|
handleSubmit() {
|
||||||
|
this.$refs['qbkwForm'].validate((valid) => {
|
||||||
|
if (valid) {
|
||||||
|
this.isSubmit = true
|
||||||
|
this.saveLoading = true
|
||||||
|
const json = this.json
|
||||||
|
json.commentText = this.commentText2
|
||||||
|
json.responUserList = this.form.responUserList
|
||||||
|
json.responUserListName = this.form.responUserListName
|
||||||
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
|
json: JSON.stringify(json),
|
||||||
|
taskId: this.taskIds,
|
||||||
|
userId: this.$store.getters.userInfo.account
|
||||||
|
}, {}, res => {
|
||||||
|
if (res.success) {
|
||||||
|
this.$message.success('提交成功')
|
||||||
|
// hwh5.close()
|
||||||
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
|
// this.$router.push('/processCenter')
|
||||||
|
}
|
||||||
|
this.isSubmit = false
|
||||||
|
this.saveLoading = false
|
||||||
|
})
|
||||||
|
} else {
|
||||||
|
return this.$message.warning('请完善基础信息')
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
|
getData() {
|
||||||
|
return new Promise((resolve, reject) => {
|
||||||
|
inboundLiaisonDetail({
|
||||||
|
taskIds: this.taskIds,
|
||||||
|
pId: this.pId
|
||||||
|
}).then(res => {
|
||||||
|
const data = JSON.parse(res.mesg)
|
||||||
|
this.form.fjList = data.fjList || data.form.fjList
|
||||||
|
this.form.modelList = data.modelList || data.form.modelList
|
||||||
|
this.form.title = data.title || data.form.title
|
||||||
|
this.form.processName = data.processName || data.form.processName
|
||||||
|
this.form.date = data.date || data.form.date
|
||||||
|
this.json = data || data.form
|
||||||
|
this.form.responUserList = data.form? data.form.responUserList : ''
|
||||||
|
this.form.responUserListName = data.form? data.form.responUserListName : ''
|
||||||
|
this.commentText2 = data.commentText2 || ''
|
||||||
|
}).catch(e => {
|
||||||
|
})
|
||||||
|
})
|
||||||
|
},
|
||||||
|
},
|
||||||
|
mounted () {
|
||||||
|
this.getData()
|
||||||
|
this.getHistoryData()
|
||||||
|
}
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="less" scoped>
|
<style lang="less" scoped>
|
||||||
|
|||||||
@@ -103,11 +103,11 @@ import ProcessHeaderPhone from '@/pages/processCenter/pages/components/ProcessHe
|
|||||||
import ProcessTitle from '@/pages/processCenter/pages/components/ProcessTitle'
|
import ProcessTitle from '@/pages/processCenter/pages/components/ProcessTitle'
|
||||||
import ProcessFooter from '@/pages/processCenter/pages/components/ProcessFooter'
|
import ProcessFooter from '@/pages/processCenter/pages/components/ProcessFooter'
|
||||||
import PhoneHistortTable from '@/components/hzwlComponents/phoneComponents/phoneApprovalHistory'
|
import PhoneHistortTable from '@/components/hzwlComponents/phoneComponents/phoneApprovalHistory'
|
||||||
import ReceiptDescription from "@/components/hzwlComponents/ReceiptDescription";
|
import ReceiptDescription from '@/components/hzwlComponents/ReceiptDescription';
|
||||||
|
|
||||||
import InputFormItem from '@/components/hzwlComponents/InputFormItem'
|
import InputFormItem from '@/components/hzwlComponents/InputFormItem'
|
||||||
import DatePickerFormItem from '@/components/hzwlComponents/DatePickerFormItem'
|
import DatePickerFormItem from '@/components/hzwlComponents/DatePickerFormItem'
|
||||||
import UploadFormItem from "@/components/hzwlComponents/UploadFormItem";
|
import UploadFormItem from '@/components/hzwlComponents/UploadFormItem';
|
||||||
import TextareaFormItem from '@/components/hzwlComponents/TextareaFormItem'
|
import TextareaFormItem from '@/components/hzwlComponents/TextareaFormItem'
|
||||||
|
|
||||||
import phoneRoleTree from '@/components/hzwlComponents/phoneComponents/phoneRoleTree'
|
import phoneRoleTree from '@/components/hzwlComponents/phoneComponents/phoneRoleTree'
|
||||||
@@ -115,7 +115,7 @@ import phoneRoleTree from '@/components/hzwlComponents/phoneComponents/phoneRole
|
|||||||
|
|
||||||
import {inboundLiaisonDetail, processCreateStand, changeAssigneeNew} from 'api/process'
|
import {inboundLiaisonDetail, processCreateStand, changeAssigneeNew} from 'api/process'
|
||||||
export default {
|
export default {
|
||||||
name: "step3",
|
name: 'step3',
|
||||||
components: {
|
components: {
|
||||||
ProcessHeaderPhone,
|
ProcessHeaderPhone,
|
||||||
PhoneHistortTable,
|
PhoneHistortTable,
|
||||||
@@ -196,7 +196,8 @@ export default {
|
|||||||
this.drawerModal = false
|
this.drawerModal = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
}, 100)
|
}, 100)
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
|||||||
@@ -120,196 +120,199 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
||||||
import ProcessFooter from '../../components/ProcessFooter'
|
import ProcessFooter from '../../components/ProcessFooter'
|
||||||
import ProcessTitle from '../../components/ProcessTitle'
|
import ProcessTitle from '../../components/ProcessTitle'
|
||||||
import {inboundLiaisonDetail,processCreateStand,saveTaskForPub,changeAssigneeNew} from 'api/process'
|
import {inboundLiaisonDetail,processCreateStand,saveTaskForPub,changeAssigneeNew} from 'api/process'
|
||||||
import hwh5 from '@/api/hwh5-cloudonline.js'
|
import hwh5 from '@/api/hwh5-cloudonline.js'
|
||||||
import axios from "axios";
|
import axios from 'axios';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "phoneBzdyStep4",
|
name: 'phoneBzdyStep4',
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
drawerModal: false,
|
drawerModal: false,
|
||||||
foldFormFlag: false,
|
foldFormFlag: false,
|
||||||
histortData: [],
|
histortData: [],
|
||||||
commentText4: '',
|
commentText4: '',
|
||||||
taskIds: this.$route.query.taskIds,
|
taskIds: this.$route.query.taskIds,
|
||||||
pId: this.$route.query.prcId,
|
pId: this.$route.query.prcId,
|
||||||
active: '1', // 默认显示
|
active: '1', // 默认显示
|
||||||
isSubmit: false,
|
isSubmit: false,
|
||||||
saveLoading: false,
|
saveLoading: false,
|
||||||
form: {
|
form: {
|
||||||
dyhz: '',
|
dyhz: '',
|
||||||
title: '', // 调研标题
|
title: '', // 调研标题
|
||||||
date: '', // 完成时间
|
date: '', // 完成时间
|
||||||
modelList: [],
|
modelList: [],
|
||||||
fjList: [],
|
fjList: [],
|
||||||
fileId: '',
|
fileId: '',
|
||||||
fileName: '',
|
fileName: '',
|
||||||
responUserList: '',
|
responUserList: '',
|
||||||
responUserListName: '',
|
responUserListName: '',
|
||||||
text: ''
|
text: ''
|
||||||
},
|
},
|
||||||
formRules: {
|
formRules: {
|
||||||
text: [
|
text: [
|
||||||
{ required: true, message: '请输入审批意见', trigger: 'blur' },
|
{ required: true, message: '请输入审批意见', trigger: 'blur' },
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
json: {},
|
json: {},
|
||||||
fileUrl: 'api/att/attFile/uploadNew',
|
fileUrl: 'api/att/attFile/uploadNew',
|
||||||
fileMadel: false,
|
fileMadel: false,
|
||||||
}
|
|
||||||
},
|
|
||||||
components: {
|
|
||||||
ProcessHeaderPhone,
|
|
||||||
ProcessFooter,
|
|
||||||
ProcessTitle
|
|
||||||
},
|
|
||||||
methods: {
|
|
||||||
clickButtonToUpload2(file) {
|
|
||||||
let attId = ""
|
|
||||||
if(file && file.id){
|
|
||||||
attId = file.id
|
|
||||||
}else {
|
|
||||||
attId = file.response.data.id
|
|
||||||
}
|
|
||||||
this.$preview(attId)
|
|
||||||
},
|
|
||||||
clickButtonToUpload(file) {
|
|
||||||
let attId = ""
|
|
||||||
if(file && file.id){
|
|
||||||
attId = file.id
|
|
||||||
}else {
|
|
||||||
attId = file.response.data.id
|
|
||||||
}
|
|
||||||
this.$preview(attId)
|
|
||||||
},
|
|
||||||
handleTransfer() {
|
|
||||||
this.drawerModal = true
|
|
||||||
},
|
|
||||||
checkedRole (data) {
|
|
||||||
this.isSubmit = true
|
|
||||||
changeAssigneeNew({
|
|
||||||
taskId: this.$route.query.taskIds, // 任务id
|
|
||||||
userId:this.$store.getters.userInfo.account, // 委托人
|
|
||||||
assignee: data[0].id, // 被委托人
|
|
||||||
pId: this.$route.query.prcId, // 流程实例
|
|
||||||
}).then(res => {
|
|
||||||
if (res.success) {
|
|
||||||
this.drawerModal = false
|
|
||||||
this.$message.success('调整成功')
|
|
||||||
this.processNum()
|
|
||||||
// hwh5.close()
|
|
||||||
this.$router.go(-2)
|
|
||||||
// this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
|
||||||
} else {
|
|
||||||
this.$message.warning(res.message)
|
|
||||||
}
|
|
||||||
}).finally(() => {
|
|
||||||
this.isSubmit = false
|
|
||||||
})
|
|
||||||
},
|
|
||||||
// 请求转换流程图
|
|
||||||
processNum (row) {
|
|
||||||
axios.request({
|
|
||||||
url: '/api/lawss/activiti/getImg?_t=' + new Date().getTime(),
|
|
||||||
responseType: 'blob',
|
|
||||||
method: 'get',
|
|
||||||
params: {
|
|
||||||
prcNum: this.$route.query.prcNum
|
|
||||||
}
|
|
||||||
}).then(res => {
|
|
||||||
this.processStep = window.URL.createObjectURL(res.data)
|
|
||||||
})
|
|
||||||
},
|
|
||||||
foldForm() {
|
|
||||||
this.foldFormFlag = !this.foldFormFlag
|
|
||||||
},
|
|
||||||
getHistoryData () {
|
|
||||||
this.$http.get('lawss/activiti/get_list_by_instance', {
|
|
||||||
prcNum: this.$route.query.prcNum,
|
|
||||||
}, {}, res => {
|
|
||||||
this.histortData = res
|
|
||||||
}, e => {})
|
|
||||||
},
|
|
||||||
updateFile (fileId) {
|
|
||||||
window.location.href = '/api/att/attFile/downloadFile?fileId=' + fileId
|
|
||||||
},
|
|
||||||
handleTabs(name) {
|
|
||||||
this.active = name
|
|
||||||
},
|
|
||||||
handleSubmit() { // 同意
|
|
||||||
this.isSubmit = true
|
|
||||||
var json = this.json
|
|
||||||
json.actionFlag = 0
|
|
||||||
json.commentText = this.commentText4
|
|
||||||
this.$http.post('lawss/activiti/completeTask', {
|
|
||||||
json: JSON.stringify(json),
|
|
||||||
taskIds: this.taskIds,
|
|
||||||
userId: this.$store.getters.userInfo.account
|
|
||||||
}, {}, res => {
|
|
||||||
if (res.success) {
|
|
||||||
this.$message.success('提交成功')
|
|
||||||
// hwh5.close()
|
|
||||||
this.$router.go(-2)
|
|
||||||
// this.$router.push('/processCenter')
|
|
||||||
}
|
|
||||||
this.isSubmit = false
|
|
||||||
})
|
|
||||||
},
|
|
||||||
handleSubmitNo() {
|
|
||||||
if (this.commentText4) {
|
|
||||||
this.isSubmit = true
|
|
||||||
var json = this.json
|
|
||||||
json.actionFlag = 1
|
|
||||||
json.commentText = this.commentText4
|
|
||||||
this.$http.post('lawss/activiti/completeTask', {
|
|
||||||
json: JSON.stringify(json),
|
|
||||||
taskIds: this.taskIds,
|
|
||||||
userId: this.$store.getters.userInfo.account
|
|
||||||
}, {}, res => {
|
|
||||||
if (res.success) {
|
|
||||||
this.$message.success('驳回成功')
|
|
||||||
// hwh5.close()
|
|
||||||
this.$router.go(-2)
|
|
||||||
// this.$router.push('/processCenter')
|
|
||||||
}
|
|
||||||
this.isSubmit = false
|
|
||||||
})
|
|
||||||
} else {
|
|
||||||
this.$message.warning('请输入反馈意见')
|
|
||||||
}
|
|
||||||
},
|
|
||||||
getData() {
|
|
||||||
return new Promise((resolve, reject) => {
|
|
||||||
inboundLiaisonDetail({
|
|
||||||
taskIds: this.taskIds,
|
|
||||||
pId: this.pId
|
|
||||||
}).then(res => {
|
|
||||||
let data = JSON.parse(res.mesg)
|
|
||||||
this.form.processName = data.form ? data.form.processName : data.processName
|
|
||||||
this.form.dyhz = data.dyhz || data.form.dyhz
|
|
||||||
this.form.title = data.title || data.form.title
|
|
||||||
this.form.date = data.date || data.form.date
|
|
||||||
this.json = data || data.form
|
|
||||||
this.form.file = data.fileId || data.form.fileId
|
|
||||||
this.form.fileName = data.fileName || data.form.fileName
|
|
||||||
this.form.fileId = data.fileId || data.form.fileId
|
|
||||||
this.form.modelList = data.form ? data.form.modelList : data.modelList
|
|
||||||
this.form.fjList = data.fjList || data.form.fjList
|
|
||||||
this.commentText4 = data.commentText4 || ''
|
|
||||||
}).catch(e => {
|
|
||||||
})
|
|
||||||
})
|
|
||||||
},
|
|
||||||
},
|
|
||||||
mounted () {
|
|
||||||
this.getData()
|
|
||||||
this.getHistoryData()
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
components: {
|
||||||
|
ProcessHeaderPhone,
|
||||||
|
ProcessFooter,
|
||||||
|
ProcessTitle
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
clickButtonToUpload2(file) {
|
||||||
|
let attId = ''
|
||||||
|
if(file && file.id){
|
||||||
|
attId = file.id
|
||||||
|
}else {
|
||||||
|
attId = file.response.data.id
|
||||||
|
}
|
||||||
|
this.$preview(attId)
|
||||||
|
},
|
||||||
|
clickButtonToUpload(file) {
|
||||||
|
let attId = ''
|
||||||
|
if(file && file.id){
|
||||||
|
attId = file.id
|
||||||
|
}else {
|
||||||
|
attId = file.response.data.id
|
||||||
|
}
|
||||||
|
this.$preview(attId)
|
||||||
|
},
|
||||||
|
handleTransfer() {
|
||||||
|
this.drawerModal = true
|
||||||
|
},
|
||||||
|
checkedRole (data) {
|
||||||
|
this.isSubmit = true
|
||||||
|
changeAssigneeNew({
|
||||||
|
taskId: this.$route.query.taskIds, // 任务id
|
||||||
|
userId:this.$store.getters.userInfo.account, // 委托人
|
||||||
|
assignee: data[0].id, // 被委托人
|
||||||
|
pId: this.$route.query.prcId, // 流程实例
|
||||||
|
}).then(res => {
|
||||||
|
if (res.success) {
|
||||||
|
this.drawerModal = false
|
||||||
|
this.$message.success('调整成功')
|
||||||
|
this.processNum()
|
||||||
|
// hwh5.close()
|
||||||
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
|
// this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
||||||
|
} else {
|
||||||
|
this.$message.warning(res.message)
|
||||||
|
}
|
||||||
|
}).finally(() => {
|
||||||
|
this.isSubmit = false
|
||||||
|
})
|
||||||
|
},
|
||||||
|
// 请求转换流程图
|
||||||
|
processNum (row) {
|
||||||
|
axios.request({
|
||||||
|
url: '/api/lawss/activiti/getImg?_t=' + new Date().getTime(),
|
||||||
|
responseType: 'blob',
|
||||||
|
method: 'get',
|
||||||
|
params: {
|
||||||
|
prcNum: this.$route.query.prcNum
|
||||||
|
}
|
||||||
|
}).then(res => {
|
||||||
|
this.processStep = window.URL.createObjectURL(res.data)
|
||||||
|
})
|
||||||
|
},
|
||||||
|
foldForm() {
|
||||||
|
this.foldFormFlag = !this.foldFormFlag
|
||||||
|
},
|
||||||
|
getHistoryData () {
|
||||||
|
this.$http.get('lawss/activiti/get_list_by_instance', {
|
||||||
|
prcNum: this.$route.query.prcNum,
|
||||||
|
}, {}, res => {
|
||||||
|
this.histortData = res
|
||||||
|
}, e => {})
|
||||||
|
},
|
||||||
|
updateFile (fileId) {
|
||||||
|
window.location.href = '/api/att/attFile/downloadFile?fileId=' + fileId
|
||||||
|
},
|
||||||
|
handleTabs(name) {
|
||||||
|
this.active = name
|
||||||
|
},
|
||||||
|
handleSubmit() { // 同意
|
||||||
|
this.isSubmit = true
|
||||||
|
const json = this.json
|
||||||
|
json.actionFlag = 0
|
||||||
|
json.commentText = this.commentText4
|
||||||
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
|
json: JSON.stringify(json),
|
||||||
|
taskIds: this.taskIds,
|
||||||
|
userId: this.$store.getters.userInfo.account
|
||||||
|
}, {}, res => {
|
||||||
|
if (res.success) {
|
||||||
|
this.$message.success('提交成功')
|
||||||
|
// hwh5.close()
|
||||||
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
|
// this.$router.push('/processCenter')
|
||||||
|
}
|
||||||
|
this.isSubmit = false
|
||||||
|
})
|
||||||
|
},
|
||||||
|
handleSubmitNo() {
|
||||||
|
if (this.commentText4) {
|
||||||
|
this.isSubmit = true
|
||||||
|
const json = this.json
|
||||||
|
json.actionFlag = 1
|
||||||
|
json.commentText = this.commentText4
|
||||||
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
|
json: JSON.stringify(json),
|
||||||
|
taskIds: this.taskIds,
|
||||||
|
userId: this.$store.getters.userInfo.account
|
||||||
|
}, {}, res => {
|
||||||
|
if (res.success) {
|
||||||
|
this.$message.success('驳回成功')
|
||||||
|
// hwh5.close()
|
||||||
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
|
// this.$router.push('/processCenter')
|
||||||
|
}
|
||||||
|
this.isSubmit = false
|
||||||
|
})
|
||||||
|
} else {
|
||||||
|
this.$message.warning('请输入反馈意见')
|
||||||
|
}
|
||||||
|
},
|
||||||
|
getData() {
|
||||||
|
return new Promise((resolve, reject) => {
|
||||||
|
inboundLiaisonDetail({
|
||||||
|
taskIds: this.taskIds,
|
||||||
|
pId: this.pId
|
||||||
|
}).then(res => {
|
||||||
|
const data = JSON.parse(res.mesg)
|
||||||
|
this.form.processName = data.form ? data.form.processName : data.processName
|
||||||
|
this.form.dyhz = data.dyhz || data.form.dyhz
|
||||||
|
this.form.title = data.title || data.form.title
|
||||||
|
this.form.date = data.date || data.form.date
|
||||||
|
this.json = data || data.form
|
||||||
|
this.form.file = data.fileId || data.form.fileId
|
||||||
|
this.form.fileName = data.fileName || data.form.fileName
|
||||||
|
this.form.fileId = data.fileId || data.form.fileId
|
||||||
|
this.form.modelList = data.form ? data.form.modelList : data.modelList
|
||||||
|
this.form.fjList = data.fjList || data.form.fjList
|
||||||
|
this.commentText4 = data.commentText4 || ''
|
||||||
|
}).catch(e => {
|
||||||
|
})
|
||||||
|
})
|
||||||
|
},
|
||||||
|
},
|
||||||
|
mounted () {
|
||||||
|
this.getData()
|
||||||
|
this.getHistoryData()
|
||||||
|
}
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="less" scoped>
|
<style lang="less" scoped>
|
||||||
|
|||||||
@@ -117,11 +117,11 @@ import ProcessHeaderPhone from '@/pages/processCenter/pages/components/ProcessHe
|
|||||||
import ProcessTitle from '@/pages/processCenter/pages/components/ProcessTitle'
|
import ProcessTitle from '@/pages/processCenter/pages/components/ProcessTitle'
|
||||||
import ProcessFooter from '@/pages/processCenter/pages/components/ProcessFooter'
|
import ProcessFooter from '@/pages/processCenter/pages/components/ProcessFooter'
|
||||||
import PhoneHistortTable from '@/components/hzwlComponents/phoneComponents/phoneApprovalHistory'
|
import PhoneHistortTable from '@/components/hzwlComponents/phoneComponents/phoneApprovalHistory'
|
||||||
import ReceiptDescription from "@/components/hzwlComponents/ReceiptDescription";
|
import ReceiptDescription from '@/components/hzwlComponents/ReceiptDescription';
|
||||||
|
|
||||||
import InputFormItem from '@/components/hzwlComponents/InputFormItem'
|
import InputFormItem from '@/components/hzwlComponents/InputFormItem'
|
||||||
import DatePickerFormItem from '@/components/hzwlComponents/DatePickerFormItem'
|
import DatePickerFormItem from '@/components/hzwlComponents/DatePickerFormItem'
|
||||||
import UploadFormItem from "@/components/hzwlComponents/UploadFormItem";
|
import UploadFormItem from '@/components/hzwlComponents/UploadFormItem';
|
||||||
import TextareaFormItem from '@/components/hzwlComponents/TextareaFormItem'
|
import TextareaFormItem from '@/components/hzwlComponents/TextareaFormItem'
|
||||||
|
|
||||||
import phoneRoleTree from '@/components/hzwlComponents/phoneComponents/phoneRoleTree'
|
import phoneRoleTree from '@/components/hzwlComponents/phoneComponents/phoneRoleTree'
|
||||||
@@ -129,7 +129,7 @@ import phoneRoleTree from '@/components/hzwlComponents/phoneComponents/phoneRole
|
|||||||
|
|
||||||
import {inboundLiaisonDetail, processCreateStand, changeAssigneeNew} from 'api/process'
|
import {inboundLiaisonDetail, processCreateStand, changeAssigneeNew} from 'api/process'
|
||||||
export default {
|
export default {
|
||||||
name: "step3",
|
name: 'step3',
|
||||||
components: {
|
components: {
|
||||||
ProcessHeaderPhone,
|
ProcessHeaderPhone,
|
||||||
PhoneHistortTable,
|
PhoneHistortTable,
|
||||||
@@ -234,7 +234,8 @@ export default {
|
|||||||
this.drawerModal = false
|
this.drawerModal = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
}, 100)
|
}, 100)
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
|||||||
@@ -144,221 +144,224 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
||||||
import ProcessFooter from '../../components/ProcessFooter'
|
import ProcessFooter from '../../components/ProcessFooter'
|
||||||
import ProcessTitle from '../../components/ProcessTitle'
|
import ProcessTitle from '../../components/ProcessTitle'
|
||||||
import {inboundLiaisonDetail,changeAssigneeNew} from 'api/process'
|
import {inboundLiaisonDetail,changeAssigneeNew} from 'api/process'
|
||||||
import hwh5 from '@/api/hwh5-cloudonline.js'
|
import hwh5 from '@/api/hwh5-cloudonline.js'
|
||||||
import axios from "axios";
|
import axios from 'axios';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "phoneBzdyStep6",
|
name: 'phoneBzdyStep6',
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
drawerModal: false,
|
drawerModal: false,
|
||||||
foldFormFlag: false,
|
foldFormFlag: false,
|
||||||
histortData: [],
|
histortData: [],
|
||||||
commentText6: '',
|
commentText6: '',
|
||||||
tableData: [],
|
tableData: [],
|
||||||
taskIds: this.$route.query.taskIds,
|
taskIds: this.$route.query.taskIds,
|
||||||
pId: this.$route.query.prcId,
|
pId: this.$route.query.prcId,
|
||||||
active: '1', // 默认显示
|
active: '1', // 默认显示
|
||||||
isSubmit: false,
|
isSubmit: false,
|
||||||
saveLoading: false,
|
saveLoading: false,
|
||||||
form: {
|
form: {
|
||||||
title: '', // 调研标题
|
title: '', // 调研标题
|
||||||
date: '', // 完成时间
|
date: '', // 完成时间
|
||||||
hzfileId: '',
|
hzfileId: '',
|
||||||
hzfileName: '',
|
hzfileName: '',
|
||||||
texthq: ''
|
texthq: ''
|
||||||
},
|
},
|
||||||
formRules: {
|
formRules: {
|
||||||
texthq: [
|
texthq: [
|
||||||
{ required: true, message: '请输入审核意见', trigger: 'blur' },
|
{ required: true, message: '请输入审核意见', trigger: 'blur' },
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
json: {},
|
json: {},
|
||||||
fileUrl: 'api/att/attFile/uploadNew',
|
fileUrl: 'api/att/attFile/uploadNew',
|
||||||
fileMadel: false,
|
fileMadel: false,
|
||||||
}
|
|
||||||
},
|
|
||||||
components: {
|
|
||||||
ProcessHeaderPhone,
|
|
||||||
ProcessFooter,
|
|
||||||
ProcessTitle
|
|
||||||
},
|
|
||||||
methods: {
|
|
||||||
clickButtonToUpload2(file) {
|
|
||||||
let attId = ""
|
|
||||||
if(file && file.id){
|
|
||||||
attId = file.id
|
|
||||||
}else {
|
|
||||||
attId = file.response.data.id
|
|
||||||
}
|
|
||||||
this.$preview(attId)
|
|
||||||
},
|
|
||||||
handleTransfer() {
|
|
||||||
this.drawerModal = true
|
|
||||||
},
|
|
||||||
checkedRole (data) {
|
|
||||||
this.isSubmit = true
|
|
||||||
changeAssigneeNew({
|
|
||||||
taskId: this.$route.query.taskIds, // 任务id
|
|
||||||
userId:this.$store.getters.userInfo.account, // 委托人
|
|
||||||
assignee: data[0].id, // 被委托人
|
|
||||||
pId: this.$route.query.prcId, // 流程实例
|
|
||||||
}).then(res => {
|
|
||||||
if (res.success) {
|
|
||||||
this.drawerModal = false
|
|
||||||
this.$message.success('调整成功')
|
|
||||||
this.processNum()
|
|
||||||
// hwh5.close()
|
|
||||||
this.$router.go(-2)
|
|
||||||
// this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
|
||||||
} else {
|
|
||||||
this.$message.warning(res.message)
|
|
||||||
}
|
|
||||||
}).finally(() => {
|
|
||||||
this.isSubmit = false
|
|
||||||
})
|
|
||||||
},
|
|
||||||
// 请求转换流程图
|
|
||||||
processNum (row) {
|
|
||||||
axios.request({
|
|
||||||
url: '/api/lawss/activiti/getImg?_t=' + new Date().getTime(),
|
|
||||||
responseType: 'blob',
|
|
||||||
method: 'get',
|
|
||||||
params: {
|
|
||||||
prcNum: this.$route.query.prcNum
|
|
||||||
}
|
|
||||||
}).then(res => {
|
|
||||||
this.processStep = window.URL.createObjectURL(res.data)
|
|
||||||
})
|
|
||||||
},
|
|
||||||
foldForm() {
|
|
||||||
this.foldFormFlag = !this.foldFormFlag
|
|
||||||
},
|
|
||||||
getHistoryData () {
|
|
||||||
this.$http.get('lawss/activiti/get_list_by_instance', {
|
|
||||||
prcNum: this.$route.query.prcNum,
|
|
||||||
}, {}, res => {
|
|
||||||
this.histortData = res
|
|
||||||
}, e => {})
|
|
||||||
},
|
|
||||||
updateFile (fileId) {
|
|
||||||
window.location.href = '/api/att/attFile/downloadFile?fileId=' + fileId
|
|
||||||
},
|
|
||||||
// 导入按钮 上传之前的钩子
|
|
||||||
beginImportFile (file) {
|
|
||||||
var filename = file.name
|
|
||||||
var index1 = filename.lastIndexOf('.')
|
|
||||||
var index2 = filename.length
|
|
||||||
var fileSuffix = filename.substring(index1, index2)
|
|
||||||
// const fileSuffix = file.name.split('.')[1] // 后缀名
|
|
||||||
// 判断上传文件格式
|
|
||||||
if (fileSuffix === '.ppt' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.PPT' || fileSuffix === '.xls' || fileSuffix === '.xlsx' || fileSuffix === '.XLS' || fileSuffix === '.XLSX' || fileSuffix === '.pdf' || fileSuffix === '.PDF') {
|
|
||||||
return true
|
|
||||||
} else {
|
|
||||||
this.spinShow = false
|
|
||||||
this.$message.error('文件' + file.name + '格式不正确,请上传PPT,DOCX,XLS,PDF文件')
|
|
||||||
return false
|
|
||||||
}
|
|
||||||
// 判断文件上传大小
|
|
||||||
// eslint-disable-next-line no-unreachable
|
|
||||||
if (file.size / 1024 / 1024 <= 200) {
|
|
||||||
return true
|
|
||||||
} else {
|
|
||||||
this.$message.error('文件' + file.name + '大小不超过200M')
|
|
||||||
return false
|
|
||||||
}
|
|
||||||
return true
|
|
||||||
},
|
|
||||||
// 导入标准数据成功后执行
|
|
||||||
importFileSuccess (response, file) {
|
|
||||||
if (response.ok) {
|
|
||||||
this.fileMadel = false
|
|
||||||
this.form.hzfileId = response.data.id
|
|
||||||
this.form.hzfileName = response.data.name
|
|
||||||
this.$message({
|
|
||||||
// showClose: true,
|
|
||||||
message: response.message,
|
|
||||||
type: 'success'
|
|
||||||
})
|
|
||||||
}
|
|
||||||
},
|
|
||||||
fileUpload () {
|
|
||||||
this.fileMadel = true
|
|
||||||
},
|
|
||||||
handleTabs(name) {
|
|
||||||
this.active = name
|
|
||||||
},
|
|
||||||
handleSubmit() {
|
|
||||||
this.isSubmit = true
|
|
||||||
var json = this.json
|
|
||||||
json.actionFlag = 0
|
|
||||||
json.commentText = this.commentText6
|
|
||||||
this.$http.post('lawss/activiti/completeTask', {
|
|
||||||
json: JSON.stringify(json),
|
|
||||||
taskId: this.taskIds,
|
|
||||||
userId: this.$store.getters.userInfo.account
|
|
||||||
}, {}, res => {
|
|
||||||
if (res.success) {
|
|
||||||
this.$message.success('提交成功')
|
|
||||||
// hwh5.close()
|
|
||||||
this.$router.go(-2)
|
|
||||||
// this.$router.push('/processCenter')
|
|
||||||
}
|
|
||||||
this.isSubmit = false
|
|
||||||
})
|
|
||||||
},
|
|
||||||
handleSubmitNo() {
|
|
||||||
if (this.commentText6) {
|
|
||||||
this.isSubmit = true
|
|
||||||
var json = this.json
|
|
||||||
json.actionFlag = 1
|
|
||||||
json.commentText = this.commentText6
|
|
||||||
this.$http.post('lawss/activiti/completeTask', {
|
|
||||||
json: JSON.stringify(json),
|
|
||||||
taskId: this.taskIds,
|
|
||||||
userId: this.$store.getters.userInfo.account
|
|
||||||
}, {}, res => {
|
|
||||||
if (res.success) {
|
|
||||||
this.$message.success('驳回成功')
|
|
||||||
// hwh5.close()
|
|
||||||
this.$router.go(-2)
|
|
||||||
// this.$router.push('/processCenter')
|
|
||||||
}
|
|
||||||
this.isSubmit = false
|
|
||||||
})
|
|
||||||
} else {
|
|
||||||
this.$message.warning('请输入反馈意见')
|
|
||||||
}
|
|
||||||
},
|
|
||||||
getData() {
|
|
||||||
return new Promise((resolve, reject) => {
|
|
||||||
inboundLiaisonDetail({
|
|
||||||
taskIds: this.taskIds,
|
|
||||||
pId: this.pId
|
|
||||||
}).then(res => {
|
|
||||||
let data = JSON.parse(res.mesg)
|
|
||||||
this.form.processName = data.form ? data.form.processName : data.processName
|
|
||||||
this.form.title = data.title || data.form.title
|
|
||||||
this.form.date = data.date || data.form.date
|
|
||||||
this.json = data || data.form
|
|
||||||
this.tableData = data.responUserList || data.form.responUserList
|
|
||||||
this.form.hzfileId = data.hzfileId || data.form.hzfileId
|
|
||||||
this.form.hzfileName = data.hzfileName || data.form.hzfileName
|
|
||||||
this.commentText6 = data.commentText6 || ''
|
|
||||||
}).catch(e => {
|
|
||||||
})
|
|
||||||
})
|
|
||||||
},
|
|
||||||
},
|
|
||||||
mounted () {
|
|
||||||
this.getHistoryData()
|
|
||||||
this.getData()
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
components: {
|
||||||
|
ProcessHeaderPhone,
|
||||||
|
ProcessFooter,
|
||||||
|
ProcessTitle
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
clickButtonToUpload2(file) {
|
||||||
|
let attId = ''
|
||||||
|
if(file && file.id){
|
||||||
|
attId = file.id
|
||||||
|
}else {
|
||||||
|
attId = file.response.data.id
|
||||||
|
}
|
||||||
|
this.$preview(attId)
|
||||||
|
},
|
||||||
|
handleTransfer() {
|
||||||
|
this.drawerModal = true
|
||||||
|
},
|
||||||
|
checkedRole (data) {
|
||||||
|
this.isSubmit = true
|
||||||
|
changeAssigneeNew({
|
||||||
|
taskId: this.$route.query.taskIds, // 任务id
|
||||||
|
userId:this.$store.getters.userInfo.account, // 委托人
|
||||||
|
assignee: data[0].id, // 被委托人
|
||||||
|
pId: this.$route.query.prcId, // 流程实例
|
||||||
|
}).then(res => {
|
||||||
|
if (res.success) {
|
||||||
|
this.drawerModal = false
|
||||||
|
this.$message.success('调整成功')
|
||||||
|
this.processNum()
|
||||||
|
// hwh5.close()
|
||||||
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
|
// this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
||||||
|
} else {
|
||||||
|
this.$message.warning(res.message)
|
||||||
|
}
|
||||||
|
}).finally(() => {
|
||||||
|
this.isSubmit = false
|
||||||
|
})
|
||||||
|
},
|
||||||
|
// 请求转换流程图
|
||||||
|
processNum (row) {
|
||||||
|
axios.request({
|
||||||
|
url: '/api/lawss/activiti/getImg?_t=' + new Date().getTime(),
|
||||||
|
responseType: 'blob',
|
||||||
|
method: 'get',
|
||||||
|
params: {
|
||||||
|
prcNum: this.$route.query.prcNum
|
||||||
|
}
|
||||||
|
}).then(res => {
|
||||||
|
this.processStep = window.URL.createObjectURL(res.data)
|
||||||
|
})
|
||||||
|
},
|
||||||
|
foldForm() {
|
||||||
|
this.foldFormFlag = !this.foldFormFlag
|
||||||
|
},
|
||||||
|
getHistoryData () {
|
||||||
|
this.$http.get('lawss/activiti/get_list_by_instance', {
|
||||||
|
prcNum: this.$route.query.prcNum,
|
||||||
|
}, {}, res => {
|
||||||
|
this.histortData = res
|
||||||
|
}, e => {})
|
||||||
|
},
|
||||||
|
updateFile (fileId) {
|
||||||
|
window.location.href = '/api/att/attFile/downloadFile?fileId=' + fileId
|
||||||
|
},
|
||||||
|
// 导入按钮 上传之前的钩子
|
||||||
|
beginImportFile (file) {
|
||||||
|
const filename = file.name
|
||||||
|
const index1 = filename.lastIndexOf('.')
|
||||||
|
const index2 = filename.length
|
||||||
|
const fileSuffix = filename.substring(index1, index2)
|
||||||
|
// const fileSuffix = file.name.split('.')[1] // 后缀名
|
||||||
|
// 判断上传文件格式
|
||||||
|
if (fileSuffix === '.ppt' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.PPT' || fileSuffix === '.xls' || fileSuffix === '.xlsx' || fileSuffix === '.XLS' || fileSuffix === '.XLSX' || fileSuffix === '.pdf' || fileSuffix === '.PDF') {
|
||||||
|
return true
|
||||||
|
} else {
|
||||||
|
this.spinShow = false
|
||||||
|
this.$message.error('文件' + file.name + '格式不正确,请上传PPT,DOCX,XLS,PDF文件')
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
// 判断文件上传大小
|
||||||
|
// eslint-disable-next-line no-unreachable
|
||||||
|
if (file.size / 1024 / 1024 <= 200) {
|
||||||
|
return true
|
||||||
|
} else {
|
||||||
|
this.$message.error('文件' + file.name + '大小不超过200M')
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
return true
|
||||||
|
},
|
||||||
|
// 导入标准数据成功后执行
|
||||||
|
importFileSuccess (response, file) {
|
||||||
|
if (response.ok) {
|
||||||
|
this.fileMadel = false
|
||||||
|
this.form.hzfileId = response.data.id
|
||||||
|
this.form.hzfileName = response.data.name
|
||||||
|
this.$message({
|
||||||
|
// showClose: true,
|
||||||
|
message: response.message,
|
||||||
|
type: 'success'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
},
|
||||||
|
fileUpload () {
|
||||||
|
this.fileMadel = true
|
||||||
|
},
|
||||||
|
handleTabs(name) {
|
||||||
|
this.active = name
|
||||||
|
},
|
||||||
|
handleSubmit() {
|
||||||
|
this.isSubmit = true
|
||||||
|
const json = this.json
|
||||||
|
json.actionFlag = 0
|
||||||
|
json.commentText = this.commentText6
|
||||||
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
|
json: JSON.stringify(json),
|
||||||
|
taskId: this.taskIds,
|
||||||
|
userId: this.$store.getters.userInfo.account
|
||||||
|
}, {}, res => {
|
||||||
|
if (res.success) {
|
||||||
|
this.$message.success('提交成功')
|
||||||
|
// hwh5.close()
|
||||||
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
|
// this.$router.push('/processCenter')
|
||||||
|
}
|
||||||
|
this.isSubmit = false
|
||||||
|
})
|
||||||
|
},
|
||||||
|
handleSubmitNo() {
|
||||||
|
if (this.commentText6) {
|
||||||
|
this.isSubmit = true
|
||||||
|
const json = this.json
|
||||||
|
json.actionFlag = 1
|
||||||
|
json.commentText = this.commentText6
|
||||||
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
|
json: JSON.stringify(json),
|
||||||
|
taskId: this.taskIds,
|
||||||
|
userId: this.$store.getters.userInfo.account
|
||||||
|
}, {}, res => {
|
||||||
|
if (res.success) {
|
||||||
|
this.$message.success('驳回成功')
|
||||||
|
// hwh5.close()
|
||||||
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
|
// this.$router.push('/processCenter')
|
||||||
|
}
|
||||||
|
this.isSubmit = false
|
||||||
|
})
|
||||||
|
} else {
|
||||||
|
this.$message.warning('请输入反馈意见')
|
||||||
|
}
|
||||||
|
},
|
||||||
|
getData() {
|
||||||
|
return new Promise((resolve, reject) => {
|
||||||
|
inboundLiaisonDetail({
|
||||||
|
taskIds: this.taskIds,
|
||||||
|
pId: this.pId
|
||||||
|
}).then(res => {
|
||||||
|
const data = JSON.parse(res.mesg)
|
||||||
|
this.form.processName = data.form ? data.form.processName : data.processName
|
||||||
|
this.form.title = data.title || data.form.title
|
||||||
|
this.form.date = data.date || data.form.date
|
||||||
|
this.json = data || data.form
|
||||||
|
this.tableData = data.responUserList || data.form.responUserList
|
||||||
|
this.form.hzfileId = data.hzfileId || data.form.hzfileId
|
||||||
|
this.form.hzfileName = data.hzfileName || data.form.hzfileName
|
||||||
|
this.commentText6 = data.commentText6 || ''
|
||||||
|
}).catch(e => {
|
||||||
|
})
|
||||||
|
})
|
||||||
|
},
|
||||||
|
},
|
||||||
|
mounted () {
|
||||||
|
this.getHistoryData()
|
||||||
|
this.getData()
|
||||||
|
}
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="less" scoped>
|
<style lang="less" scoped>
|
||||||
|
|||||||
@@ -111,213 +111,216 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
||||||
import ProcessFooter from '../../components/ProcessFooter'
|
import ProcessFooter from '../../components/ProcessFooter'
|
||||||
import ProcessTitle from '../../components/ProcessTitle'
|
import ProcessTitle from '../../components/ProcessTitle'
|
||||||
import {inboundLiaisonDetail,processCreateStand,changeAssigneeNew} from 'api/process'
|
import {inboundLiaisonDetail,processCreateStand,changeAssigneeNew} from 'api/process'
|
||||||
import hwh5 from '@/api/hwh5-cloudonline.js'
|
import hwh5 from '@/api/hwh5-cloudonline.js'
|
||||||
import axios from "axios";
|
import axios from 'axios';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "phoneBzdyStep7",
|
name: 'phoneBzdyStep7',
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
drawerModal: false,
|
drawerModal: false,
|
||||||
foldFormFlag: false,
|
foldFormFlag: false,
|
||||||
histortData: [],
|
histortData: [],
|
||||||
commentText7: '',
|
commentText7: '',
|
||||||
tableData: [],
|
tableData: [],
|
||||||
taskIds: this.$route.query.taskIds,
|
taskIds: this.$route.query.taskIds,
|
||||||
pId: this.$route.query.prcId,
|
pId: this.$route.query.prcId,
|
||||||
active: '1', // 默认显示
|
active: '1', // 默认显示
|
||||||
isSubmit: false,
|
isSubmit: false,
|
||||||
saveLoading: false,
|
saveLoading: false,
|
||||||
form: {
|
form: {
|
||||||
title: '', // 调研标题
|
title: '', // 调研标题
|
||||||
date: '', // 完成时间
|
date: '', // 完成时间
|
||||||
hzfileId: '',
|
hzfileId: '',
|
||||||
hzfileName: '',
|
hzfileName: '',
|
||||||
textsh: ''
|
textsh: ''
|
||||||
},
|
},
|
||||||
formRules: {
|
formRules: {
|
||||||
textsh: [
|
textsh: [
|
||||||
{ required: true, message: '请输入审核意见', trigger: 'blur' },
|
{ required: true, message: '请输入审核意见', trigger: 'blur' },
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
json: {},
|
json: {},
|
||||||
fileUrl: 'api/att/attFile/uploadNew',
|
fileUrl: 'api/att/attFile/uploadNew',
|
||||||
fileMadel: false,
|
fileMadel: false,
|
||||||
}
|
|
||||||
},
|
|
||||||
components: {
|
|
||||||
ProcessHeaderPhone,
|
|
||||||
ProcessFooter,
|
|
||||||
ProcessTitle
|
|
||||||
},
|
|
||||||
methods: {
|
|
||||||
handleTransfer() {
|
|
||||||
this.drawerModal = true
|
|
||||||
},
|
|
||||||
checkedRole (data) {
|
|
||||||
this.isSubmit = true
|
|
||||||
changeAssigneeNew({
|
|
||||||
taskId: this.$route.query.taskIds, // 任务id
|
|
||||||
userId:this.$store.getters.userInfo.account, // 委托人
|
|
||||||
assignee: data[0].id, // 被委托人
|
|
||||||
pId: this.$route.query.prcId, // 流程实例
|
|
||||||
}).then(res => {
|
|
||||||
if (res.success) {
|
|
||||||
this.drawerModal = false
|
|
||||||
this.$message.success('调整成功')
|
|
||||||
this.processNum()
|
|
||||||
// hwh5.close()
|
|
||||||
this.$router.go(-2)
|
|
||||||
// this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
|
||||||
} else {
|
|
||||||
this.$message.warning(res.message)
|
|
||||||
}
|
|
||||||
}).finally(() => {
|
|
||||||
this.isSubmit = false
|
|
||||||
})
|
|
||||||
},
|
|
||||||
// 请求转换流程图
|
|
||||||
processNum (row) {
|
|
||||||
axios.request({
|
|
||||||
url: '/api/lawss/activiti/getImg?_t=' + new Date().getTime(),
|
|
||||||
responseType: 'blob',
|
|
||||||
method: 'get',
|
|
||||||
params: {
|
|
||||||
prcNum: this.$route.query.prcNum
|
|
||||||
}
|
|
||||||
}).then(res => {
|
|
||||||
this.processStep = window.URL.createObjectURL(res.data)
|
|
||||||
})
|
|
||||||
},
|
|
||||||
foldForm() {
|
|
||||||
this.foldFormFlag = !this.foldFormFlag
|
|
||||||
},
|
|
||||||
getHistoryData () {
|
|
||||||
this.$http.get('lawss/activiti/get_list_by_instance', {
|
|
||||||
prcNum: this.$route.query.prcNum,
|
|
||||||
}, {}, res => {
|
|
||||||
this.histortData = res
|
|
||||||
}, e => {})
|
|
||||||
},
|
|
||||||
updateFile (fileId) {
|
|
||||||
this.$preview(fileId)
|
|
||||||
// window.location.href = '/api/att/attFile/downloadFile?fileId=' + fileId
|
|
||||||
},
|
|
||||||
// 导入按钮 上传之前的钩子
|
|
||||||
beginImportFile (file) {
|
|
||||||
var filename = file.name
|
|
||||||
var index1 = filename.lastIndexOf('.')
|
|
||||||
var index2 = filename.length
|
|
||||||
var fileSuffix = filename.substring(index1, index2)
|
|
||||||
// const fileSuffix = file.name.split('.')[1] // 后缀名
|
|
||||||
// 判断上传文件格式
|
|
||||||
if (fileSuffix === '.ppt' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.PPT' || fileSuffix === '.xls' || fileSuffix === '.xlsx') {
|
|
||||||
return true
|
|
||||||
} else {
|
|
||||||
this.spinShow = false
|
|
||||||
this.$message.error('文件' + file.name + '格式不正确,请上传PPT,DOCX,XLS文件')
|
|
||||||
return false
|
|
||||||
}
|
|
||||||
// 判断文件上传大小
|
|
||||||
// eslint-disable-next-line no-unreachable
|
|
||||||
if (file.size / 1024 / 1024 <= 200) {
|
|
||||||
return true
|
|
||||||
} else {
|
|
||||||
this.$message.error('文件' + file.name + '大小不超过200M')
|
|
||||||
return false
|
|
||||||
}
|
|
||||||
return true
|
|
||||||
},
|
|
||||||
// 导入标准数据成功后执行
|
|
||||||
importFileSuccess (response, file) {
|
|
||||||
if (response.ok) {
|
|
||||||
this.fileMadel = false
|
|
||||||
this.form.hzfileId = response.data.id
|
|
||||||
this.form.hzfileName = response.data.name
|
|
||||||
this.$message({
|
|
||||||
// showClose: true,
|
|
||||||
message: response.message,
|
|
||||||
type: 'success'
|
|
||||||
})
|
|
||||||
}
|
|
||||||
},
|
|
||||||
fileUpload () {
|
|
||||||
this.fileMadel = true
|
|
||||||
},
|
|
||||||
handleTabs(name) {
|
|
||||||
this.active = name
|
|
||||||
},
|
|
||||||
handleSubmit() {
|
|
||||||
this.isSubmit = true
|
|
||||||
var json = this.json
|
|
||||||
json.actionFlag = 0
|
|
||||||
json.commentText = this.commentText7
|
|
||||||
this.$http.post('lawss/activiti/completeTask', {
|
|
||||||
json: JSON.stringify(json),
|
|
||||||
taskIds: this.taskIds,
|
|
||||||
userId: this.$store.getters.userInfo.account
|
|
||||||
}, {}, res => {
|
|
||||||
if (res.success) {
|
|
||||||
this.$message.success('提交成功')
|
|
||||||
// hwh5.close()
|
|
||||||
this.$router.go(-2)
|
|
||||||
// this.$router.push('/processCenter')
|
|
||||||
}
|
|
||||||
this.isSubmit = false
|
|
||||||
})
|
|
||||||
},
|
|
||||||
handleSubmitNo() {
|
|
||||||
if (this.commentText7) {
|
|
||||||
this.isSubmit = true
|
|
||||||
var json = this.json
|
|
||||||
json.commentText = this.commentText7
|
|
||||||
json.actionFlag = 1
|
|
||||||
this.$http.post('lawss/activiti/completeTask', {
|
|
||||||
json: JSON.stringify(json),
|
|
||||||
taskIds: this.taskIds,
|
|
||||||
userId: this.$store.getters.userInfo.account
|
|
||||||
}, {}, res => {
|
|
||||||
if (res.success) {
|
|
||||||
this.$message.success('驳回成功')
|
|
||||||
// hwh5.close()
|
|
||||||
this.$router.go(-2)
|
|
||||||
// this.$router.push('/processCenter')
|
|
||||||
}
|
|
||||||
this.isSubmit = false
|
|
||||||
})
|
|
||||||
} else {
|
|
||||||
this.$message.warning('请输入反馈意见')
|
|
||||||
}
|
|
||||||
},
|
|
||||||
getData() {
|
|
||||||
return new Promise((resolve, reject) => {
|
|
||||||
inboundLiaisonDetail({
|
|
||||||
taskIds: this.taskIds,
|
|
||||||
pId: this.pId
|
|
||||||
}).then(res => {
|
|
||||||
let data = JSON.parse(res.mesg)
|
|
||||||
this.form.processName = data.form ? data.form.processName : data.processName
|
|
||||||
this.form.title = data.title || data.form.title
|
|
||||||
this.form.date = data.date || data.form.date
|
|
||||||
this.json = data || data.form
|
|
||||||
this.tableData = data.responUserList || data.form.responUserList
|
|
||||||
this.form.hzfileId = data.hzfileId || data.form.hzfileId
|
|
||||||
this.form.hzfileName = data.hzfileName || data.form.hzfileName
|
|
||||||
this.commentText7 = data.commentText7 || ''
|
|
||||||
}).catch(e => {
|
|
||||||
})
|
|
||||||
})
|
|
||||||
},
|
|
||||||
},
|
|
||||||
mounted () {
|
|
||||||
this.getHistoryData()
|
|
||||||
this.getData()
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
components: {
|
||||||
|
ProcessHeaderPhone,
|
||||||
|
ProcessFooter,
|
||||||
|
ProcessTitle
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
handleTransfer() {
|
||||||
|
this.drawerModal = true
|
||||||
|
},
|
||||||
|
checkedRole (data) {
|
||||||
|
this.isSubmit = true
|
||||||
|
changeAssigneeNew({
|
||||||
|
taskId: this.$route.query.taskIds, // 任务id
|
||||||
|
userId:this.$store.getters.userInfo.account, // 委托人
|
||||||
|
assignee: data[0].id, // 被委托人
|
||||||
|
pId: this.$route.query.prcId, // 流程实例
|
||||||
|
}).then(res => {
|
||||||
|
if (res.success) {
|
||||||
|
this.drawerModal = false
|
||||||
|
this.$message.success('调整成功')
|
||||||
|
this.processNum()
|
||||||
|
// hwh5.close()
|
||||||
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
|
// this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
||||||
|
} else {
|
||||||
|
this.$message.warning(res.message)
|
||||||
|
}
|
||||||
|
}).finally(() => {
|
||||||
|
this.isSubmit = false
|
||||||
|
})
|
||||||
|
},
|
||||||
|
// 请求转换流程图
|
||||||
|
processNum (row) {
|
||||||
|
axios.request({
|
||||||
|
url: '/api/lawss/activiti/getImg?_t=' + new Date().getTime(),
|
||||||
|
responseType: 'blob',
|
||||||
|
method: 'get',
|
||||||
|
params: {
|
||||||
|
prcNum: this.$route.query.prcNum
|
||||||
|
}
|
||||||
|
}).then(res => {
|
||||||
|
this.processStep = window.URL.createObjectURL(res.data)
|
||||||
|
})
|
||||||
|
},
|
||||||
|
foldForm() {
|
||||||
|
this.foldFormFlag = !this.foldFormFlag
|
||||||
|
},
|
||||||
|
getHistoryData () {
|
||||||
|
this.$http.get('lawss/activiti/get_list_by_instance', {
|
||||||
|
prcNum: this.$route.query.prcNum,
|
||||||
|
}, {}, res => {
|
||||||
|
this.histortData = res
|
||||||
|
}, e => {})
|
||||||
|
},
|
||||||
|
updateFile (fileId) {
|
||||||
|
this.$preview(fileId)
|
||||||
|
// window.location.href = '/api/att/attFile/downloadFile?fileId=' + fileId
|
||||||
|
},
|
||||||
|
// 导入按钮 上传之前的钩子
|
||||||
|
beginImportFile (file) {
|
||||||
|
const filename = file.name
|
||||||
|
const index1 = filename.lastIndexOf('.')
|
||||||
|
const index2 = filename.length
|
||||||
|
const fileSuffix = filename.substring(index1, index2)
|
||||||
|
// const fileSuffix = file.name.split('.')[1] // 后缀名
|
||||||
|
// 判断上传文件格式
|
||||||
|
if (fileSuffix === '.ppt' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.PPT' || fileSuffix === '.xls' || fileSuffix === '.xlsx') {
|
||||||
|
return true
|
||||||
|
} else {
|
||||||
|
this.spinShow = false
|
||||||
|
this.$message.error('文件' + file.name + '格式不正确,请上传PPT,DOCX,XLS文件')
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
// 判断文件上传大小
|
||||||
|
// eslint-disable-next-line no-unreachable
|
||||||
|
if (file.size / 1024 / 1024 <= 200) {
|
||||||
|
return true
|
||||||
|
} else {
|
||||||
|
this.$message.error('文件' + file.name + '大小不超过200M')
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
return true
|
||||||
|
},
|
||||||
|
// 导入标准数据成功后执行
|
||||||
|
importFileSuccess (response, file) {
|
||||||
|
if (response.ok) {
|
||||||
|
this.fileMadel = false
|
||||||
|
this.form.hzfileId = response.data.id
|
||||||
|
this.form.hzfileName = response.data.name
|
||||||
|
this.$message({
|
||||||
|
// showClose: true,
|
||||||
|
message: response.message,
|
||||||
|
type: 'success'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
},
|
||||||
|
fileUpload () {
|
||||||
|
this.fileMadel = true
|
||||||
|
},
|
||||||
|
handleTabs(name) {
|
||||||
|
this.active = name
|
||||||
|
},
|
||||||
|
handleSubmit() {
|
||||||
|
this.isSubmit = true
|
||||||
|
const json = this.json
|
||||||
|
json.actionFlag = 0
|
||||||
|
json.commentText = this.commentText7
|
||||||
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
|
json: JSON.stringify(json),
|
||||||
|
taskIds: this.taskIds,
|
||||||
|
userId: this.$store.getters.userInfo.account
|
||||||
|
}, {}, res => {
|
||||||
|
if (res.success) {
|
||||||
|
this.$message.success('提交成功')
|
||||||
|
// hwh5.close()
|
||||||
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
|
// this.$router.push('/processCenter')
|
||||||
|
}
|
||||||
|
this.isSubmit = false
|
||||||
|
})
|
||||||
|
},
|
||||||
|
handleSubmitNo() {
|
||||||
|
if (this.commentText7) {
|
||||||
|
this.isSubmit = true
|
||||||
|
const json = this.json
|
||||||
|
json.commentText = this.commentText7
|
||||||
|
json.actionFlag = 1
|
||||||
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
|
json: JSON.stringify(json),
|
||||||
|
taskIds: this.taskIds,
|
||||||
|
userId: this.$store.getters.userInfo.account
|
||||||
|
}, {}, res => {
|
||||||
|
if (res.success) {
|
||||||
|
this.$message.success('驳回成功')
|
||||||
|
// hwh5.close()
|
||||||
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
|
// this.$router.push('/processCenter')
|
||||||
|
}
|
||||||
|
this.isSubmit = false
|
||||||
|
})
|
||||||
|
} else {
|
||||||
|
this.$message.warning('请输入反馈意见')
|
||||||
|
}
|
||||||
|
},
|
||||||
|
getData() {
|
||||||
|
return new Promise((resolve, reject) => {
|
||||||
|
inboundLiaisonDetail({
|
||||||
|
taskIds: this.taskIds,
|
||||||
|
pId: this.pId
|
||||||
|
}).then(res => {
|
||||||
|
const data = JSON.parse(res.mesg)
|
||||||
|
this.form.processName = data.form ? data.form.processName : data.processName
|
||||||
|
this.form.title = data.title || data.form.title
|
||||||
|
this.form.date = data.date || data.form.date
|
||||||
|
this.json = data || data.form
|
||||||
|
this.tableData = data.responUserList || data.form.responUserList
|
||||||
|
this.form.hzfileId = data.hzfileId || data.form.hzfileId
|
||||||
|
this.form.hzfileName = data.hzfileName || data.form.hzfileName
|
||||||
|
this.commentText7 = data.commentText7 || ''
|
||||||
|
}).catch(e => {
|
||||||
|
})
|
||||||
|
})
|
||||||
|
},
|
||||||
|
},
|
||||||
|
mounted () {
|
||||||
|
this.getHistoryData()
|
||||||
|
this.getData()
|
||||||
|
}
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="less" scoped>
|
<style lang="less" scoped>
|
||||||
|
|||||||
@@ -111,213 +111,216 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
||||||
import ProcessFooter from '../../components/ProcessFooter'
|
import ProcessFooter from '../../components/ProcessFooter'
|
||||||
import ProcessTitle from '../../components/ProcessTitle'
|
import ProcessTitle from '../../components/ProcessTitle'
|
||||||
import {inboundLiaisonDetail,processCreateStand,changeAssigneeNew} from 'api/process'
|
import {inboundLiaisonDetail,processCreateStand,changeAssigneeNew} from 'api/process'
|
||||||
import hwh5 from '@/api/hwh5-cloudonline.js'
|
import hwh5 from '@/api/hwh5-cloudonline.js'
|
||||||
import axios from "axios";
|
import axios from 'axios';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "phoneBzdyStep8",
|
name: 'phoneBzdyStep8',
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
drawerModal: false,
|
drawerModal: false,
|
||||||
foldFormFlag: false,
|
foldFormFlag: false,
|
||||||
histortData: [],
|
histortData: [],
|
||||||
commentText8: '',
|
commentText8: '',
|
||||||
tableData: [],
|
tableData: [],
|
||||||
taskIds: this.$route.query.taskIds,
|
taskIds: this.$route.query.taskIds,
|
||||||
pId: this.$route.query.prcId,
|
pId: this.$route.query.prcId,
|
||||||
active: '1', // 默认显示
|
active: '1', // 默认显示
|
||||||
isSubmit: false,
|
isSubmit: false,
|
||||||
saveLoading: false,
|
saveLoading: false,
|
||||||
form: {
|
form: {
|
||||||
title: '', // 调研标题
|
title: '', // 调研标题
|
||||||
date: '', // 完成时间
|
date: '', // 完成时间
|
||||||
hzfileId: '',
|
hzfileId: '',
|
||||||
hzfileName: '',
|
hzfileName: '',
|
||||||
textsh: ''
|
textsh: ''
|
||||||
},
|
},
|
||||||
formRules: {
|
formRules: {
|
||||||
textsh: [
|
textsh: [
|
||||||
{ required: true, message: '请输入审核意见', trigger: 'blur' },
|
{ required: true, message: '请输入审核意见', trigger: 'blur' },
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
json: {},
|
json: {},
|
||||||
fileUrl: 'api/att/attFile/uploadNew',
|
fileUrl: 'api/att/attFile/uploadNew',
|
||||||
fileMadel: false,
|
fileMadel: false,
|
||||||
}
|
|
||||||
},
|
|
||||||
components: {
|
|
||||||
ProcessHeaderPhone,
|
|
||||||
ProcessFooter,
|
|
||||||
ProcessTitle
|
|
||||||
},
|
|
||||||
methods: {
|
|
||||||
handleTransfer() {
|
|
||||||
this.drawerModal = true
|
|
||||||
},
|
|
||||||
checkedRole (data) {
|
|
||||||
this.isSubmit = true
|
|
||||||
changeAssigneeNew({
|
|
||||||
taskId: this.$route.query.taskIds, // 任务id
|
|
||||||
userId:this.$store.getters.userInfo.account, // 委托人
|
|
||||||
assignee: data[0].id, // 被委托人
|
|
||||||
pId: this.$route.query.prcId, // 流程实例
|
|
||||||
}).then(res => {
|
|
||||||
if (res.success) {
|
|
||||||
this.drawerModal = false
|
|
||||||
this.$message.success('调整成功')
|
|
||||||
this.processNum()
|
|
||||||
// hwh5.close()
|
|
||||||
this.$router.go(-2)
|
|
||||||
// this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
|
||||||
} else {
|
|
||||||
this.$message.warning(res.message)
|
|
||||||
}
|
|
||||||
}).finally(() => {
|
|
||||||
this.isSubmit = false
|
|
||||||
})
|
|
||||||
},
|
|
||||||
// 请求转换流程图
|
|
||||||
processNum (row) {
|
|
||||||
axios.request({
|
|
||||||
url: '/api/lawss/activiti/getImg?_t=' + new Date().getTime(),
|
|
||||||
responseType: 'blob',
|
|
||||||
method: 'get',
|
|
||||||
params: {
|
|
||||||
prcNum: this.$route.query.prcNum
|
|
||||||
}
|
|
||||||
}).then(res => {
|
|
||||||
this.processStep = window.URL.createObjectURL(res.data)
|
|
||||||
})
|
|
||||||
},
|
|
||||||
foldForm() {
|
|
||||||
this.foldFormFlag = !this.foldFormFlag
|
|
||||||
},
|
|
||||||
getHistoryData () {
|
|
||||||
this.$http.get('lawss/activiti/get_list_by_instance', {
|
|
||||||
prcNum: this.$route.query.prcNum,
|
|
||||||
}, {}, res => {
|
|
||||||
this.histortData = res
|
|
||||||
}, e => {})
|
|
||||||
},
|
|
||||||
updateFile (fileId) {
|
|
||||||
this.$preview(fileId)
|
|
||||||
},
|
|
||||||
// 导入按钮 上传之前的钩子
|
|
||||||
beginImportFile (file) {
|
|
||||||
var filename = file.name
|
|
||||||
var index1 = filename.lastIndexOf('.')
|
|
||||||
var index2 = filename.length
|
|
||||||
var fileSuffix = filename.substring(index1, index2)
|
|
||||||
// const fileSuffix = file.name.split('.')[1] // 后缀名
|
|
||||||
// 判断上传文件格式
|
|
||||||
if (fileSuffix === '.ppt' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.PPT' || fileSuffix === '.xls' || fileSuffix === '.xlsx') {
|
|
||||||
return true
|
|
||||||
} else {
|
|
||||||
this.spinShow = false
|
|
||||||
this.$message.error('文件' + file.name + '格式不正确,请上传PPT,DOCX,XLS文件')
|
|
||||||
return false
|
|
||||||
}
|
|
||||||
// 判断文件上传大小
|
|
||||||
// eslint-disable-next-line no-unreachable
|
|
||||||
if (file.size / 1024 / 1024 <= 200) {
|
|
||||||
return true
|
|
||||||
} else {
|
|
||||||
this.$message.error('文件' + file.name + '大小不超过200M')
|
|
||||||
return false
|
|
||||||
}
|
|
||||||
return true
|
|
||||||
},
|
|
||||||
// 导入标准数据成功后执行
|
|
||||||
importFileSuccess (response, file) {
|
|
||||||
if (response.ok) {
|
|
||||||
this.fileMadel = false
|
|
||||||
this.form.hzfileId = response.data.id
|
|
||||||
this.form.hzfileName = response.data.name
|
|
||||||
this.$message({
|
|
||||||
// showClose: true,
|
|
||||||
message: response.message,
|
|
||||||
type: 'success'
|
|
||||||
})
|
|
||||||
}
|
|
||||||
},
|
|
||||||
fileUpload () {
|
|
||||||
this.fileMadel = true
|
|
||||||
},
|
|
||||||
handleTabs(name) {
|
|
||||||
this.active = name
|
|
||||||
},
|
|
||||||
handleSave() {},
|
|
||||||
handleSubmit() {
|
|
||||||
this.isSubmit = true
|
|
||||||
var json = this.json
|
|
||||||
json.actionFlag = 0
|
|
||||||
json.commentText = this.commentText8
|
|
||||||
this.$http.post('lawss/activiti/completeTask', {
|
|
||||||
json: JSON.stringify(json),
|
|
||||||
taskId: this.taskIds,
|
|
||||||
userId: this.$store.getters.userInfo.account
|
|
||||||
}, {}, res => {
|
|
||||||
if (res.success) {
|
|
||||||
this.$message.success('提交成功')
|
|
||||||
// hwh5.close()
|
|
||||||
this.$router.go(-2)
|
|
||||||
// this.$router.push('/processCenter')
|
|
||||||
}
|
|
||||||
this.isSubmit = false
|
|
||||||
})
|
|
||||||
},
|
|
||||||
handleSubmitNo() {
|
|
||||||
if (this.commentText8) {
|
|
||||||
this.isSubmit = true
|
|
||||||
var json = this.json
|
|
||||||
json.commentText = this.commentText8
|
|
||||||
json.actionFlag = 1
|
|
||||||
this.$http.post('lawss/activiti/completeTask', {
|
|
||||||
json: JSON.stringify(json),
|
|
||||||
taskId: this.taskIds,
|
|
||||||
userId: this.$store.getters.userInfo.account
|
|
||||||
}, {}, res => {
|
|
||||||
if (res.success) {
|
|
||||||
this.$message.success('驳回成功')
|
|
||||||
// hwh5.close()
|
|
||||||
this.$router.go(-2)
|
|
||||||
// this.$router.push('/processCenter')
|
|
||||||
}
|
|
||||||
this.isSubmit = false
|
|
||||||
})
|
|
||||||
} else {
|
|
||||||
this.$message.warning('请输入反馈意见')
|
|
||||||
}
|
|
||||||
},
|
|
||||||
getData() {
|
|
||||||
return new Promise((resolve, reject) => {
|
|
||||||
inboundLiaisonDetail({
|
|
||||||
taskIds: this.taskIds,
|
|
||||||
pId: this.pId
|
|
||||||
}).then(res => {
|
|
||||||
let data = JSON.parse(res.mesg)
|
|
||||||
this.form.processName = data.form ? data.form.processName : data.processName
|
|
||||||
this.form.title = data.title || data.form.title
|
|
||||||
this.form.date = data.date || data.form.date
|
|
||||||
this.json = data || data.form
|
|
||||||
this.commentText8 = data.commentText8 || ''
|
|
||||||
this.tableData = data.responUserList || data.form.responUserList
|
|
||||||
this.form.hzfileId = data.hzfileId || data.form.hzfileId
|
|
||||||
this.form.hzfileName = data.hzfileName || data.form.hzfileName
|
|
||||||
}).catch(e => {
|
|
||||||
})
|
|
||||||
})
|
|
||||||
},
|
|
||||||
},
|
|
||||||
mounted () {
|
|
||||||
this.getHistoryData()
|
|
||||||
this.getData()
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
components: {
|
||||||
|
ProcessHeaderPhone,
|
||||||
|
ProcessFooter,
|
||||||
|
ProcessTitle
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
handleTransfer() {
|
||||||
|
this.drawerModal = true
|
||||||
|
},
|
||||||
|
checkedRole (data) {
|
||||||
|
this.isSubmit = true
|
||||||
|
changeAssigneeNew({
|
||||||
|
taskId: this.$route.query.taskIds, // 任务id
|
||||||
|
userId:this.$store.getters.userInfo.account, // 委托人
|
||||||
|
assignee: data[0].id, // 被委托人
|
||||||
|
pId: this.$route.query.prcId, // 流程实例
|
||||||
|
}).then(res => {
|
||||||
|
if (res.success) {
|
||||||
|
this.drawerModal = false
|
||||||
|
this.$message.success('调整成功')
|
||||||
|
this.processNum()
|
||||||
|
// hwh5.close()
|
||||||
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
|
// this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
||||||
|
} else {
|
||||||
|
this.$message.warning(res.message)
|
||||||
|
}
|
||||||
|
}).finally(() => {
|
||||||
|
this.isSubmit = false
|
||||||
|
})
|
||||||
|
},
|
||||||
|
// 请求转换流程图
|
||||||
|
processNum (row) {
|
||||||
|
axios.request({
|
||||||
|
url: '/api/lawss/activiti/getImg?_t=' + new Date().getTime(),
|
||||||
|
responseType: 'blob',
|
||||||
|
method: 'get',
|
||||||
|
params: {
|
||||||
|
prcNum: this.$route.query.prcNum
|
||||||
|
}
|
||||||
|
}).then(res => {
|
||||||
|
this.processStep = window.URL.createObjectURL(res.data)
|
||||||
|
})
|
||||||
|
},
|
||||||
|
foldForm() {
|
||||||
|
this.foldFormFlag = !this.foldFormFlag
|
||||||
|
},
|
||||||
|
getHistoryData () {
|
||||||
|
this.$http.get('lawss/activiti/get_list_by_instance', {
|
||||||
|
prcNum: this.$route.query.prcNum,
|
||||||
|
}, {}, res => {
|
||||||
|
this.histortData = res
|
||||||
|
}, e => {})
|
||||||
|
},
|
||||||
|
updateFile (fileId) {
|
||||||
|
this.$preview(fileId)
|
||||||
|
},
|
||||||
|
// 导入按钮 上传之前的钩子
|
||||||
|
beginImportFile (file) {
|
||||||
|
const filename = file.name
|
||||||
|
const index1 = filename.lastIndexOf('.')
|
||||||
|
const index2 = filename.length
|
||||||
|
const fileSuffix = filename.substring(index1, index2)
|
||||||
|
// const fileSuffix = file.name.split('.')[1] // 后缀名
|
||||||
|
// 判断上传文件格式
|
||||||
|
if (fileSuffix === '.ppt' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.PPT' || fileSuffix === '.xls' || fileSuffix === '.xlsx') {
|
||||||
|
return true
|
||||||
|
} else {
|
||||||
|
this.spinShow = false
|
||||||
|
this.$message.error('文件' + file.name + '格式不正确,请上传PPT,DOCX,XLS文件')
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
// 判断文件上传大小
|
||||||
|
// eslint-disable-next-line no-unreachable
|
||||||
|
if (file.size / 1024 / 1024 <= 200) {
|
||||||
|
return true
|
||||||
|
} else {
|
||||||
|
this.$message.error('文件' + file.name + '大小不超过200M')
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
return true
|
||||||
|
},
|
||||||
|
// 导入标准数据成功后执行
|
||||||
|
importFileSuccess (response, file) {
|
||||||
|
if (response.ok) {
|
||||||
|
this.fileMadel = false
|
||||||
|
this.form.hzfileId = response.data.id
|
||||||
|
this.form.hzfileName = response.data.name
|
||||||
|
this.$message({
|
||||||
|
// showClose: true,
|
||||||
|
message: response.message,
|
||||||
|
type: 'success'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
},
|
||||||
|
fileUpload () {
|
||||||
|
this.fileMadel = true
|
||||||
|
},
|
||||||
|
handleTabs(name) {
|
||||||
|
this.active = name
|
||||||
|
},
|
||||||
|
handleSave() {},
|
||||||
|
handleSubmit() {
|
||||||
|
this.isSubmit = true
|
||||||
|
const json = this.json
|
||||||
|
json.actionFlag = 0
|
||||||
|
json.commentText = this.commentText8
|
||||||
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
|
json: JSON.stringify(json),
|
||||||
|
taskId: this.taskIds,
|
||||||
|
userId: this.$store.getters.userInfo.account
|
||||||
|
}, {}, res => {
|
||||||
|
if (res.success) {
|
||||||
|
this.$message.success('提交成功')
|
||||||
|
// hwh5.close()
|
||||||
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
|
// this.$router.push('/processCenter')
|
||||||
|
}
|
||||||
|
this.isSubmit = false
|
||||||
|
})
|
||||||
|
},
|
||||||
|
handleSubmitNo() {
|
||||||
|
if (this.commentText8) {
|
||||||
|
this.isSubmit = true
|
||||||
|
const json = this.json
|
||||||
|
json.commentText = this.commentText8
|
||||||
|
json.actionFlag = 1
|
||||||
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
|
json: JSON.stringify(json),
|
||||||
|
taskId: this.taskIds,
|
||||||
|
userId: this.$store.getters.userInfo.account
|
||||||
|
}, {}, res => {
|
||||||
|
if (res.success) {
|
||||||
|
this.$message.success('驳回成功')
|
||||||
|
// hwh5.close()
|
||||||
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
|
// this.$router.push('/processCenter')
|
||||||
|
}
|
||||||
|
this.isSubmit = false
|
||||||
|
})
|
||||||
|
} else {
|
||||||
|
this.$message.warning('请输入反馈意见')
|
||||||
|
}
|
||||||
|
},
|
||||||
|
getData() {
|
||||||
|
return new Promise((resolve, reject) => {
|
||||||
|
inboundLiaisonDetail({
|
||||||
|
taskIds: this.taskIds,
|
||||||
|
pId: this.pId
|
||||||
|
}).then(res => {
|
||||||
|
const data = JSON.parse(res.mesg)
|
||||||
|
this.form.processName = data.form ? data.form.processName : data.processName
|
||||||
|
this.form.title = data.title || data.form.title
|
||||||
|
this.form.date = data.date || data.form.date
|
||||||
|
this.json = data || data.form
|
||||||
|
this.commentText8 = data.commentText8 || ''
|
||||||
|
this.tableData = data.responUserList || data.form.responUserList
|
||||||
|
this.form.hzfileId = data.hzfileId || data.form.hzfileId
|
||||||
|
this.form.hzfileName = data.hzfileName || data.form.hzfileName
|
||||||
|
}).catch(e => {
|
||||||
|
})
|
||||||
|
})
|
||||||
|
},
|
||||||
|
},
|
||||||
|
mounted () {
|
||||||
|
this.getHistoryData()
|
||||||
|
this.getData()
|
||||||
|
}
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="less" scoped>
|
<style lang="less" scoped>
|
||||||
|
|||||||
@@ -136,217 +136,220 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
||||||
import ProcessFooter from '../../components/ProcessFooter'
|
import ProcessFooter from '../../components/ProcessFooter'
|
||||||
import ProcessTitle from '../../components/ProcessTitle'
|
import ProcessTitle from '../../components/ProcessTitle'
|
||||||
import {inboundLiaisonDetail,processCreateStand,changeAssigneeNew} from 'api/process'
|
import {inboundLiaisonDetail,processCreateStand,changeAssigneeNew} from 'api/process'
|
||||||
import hwh5 from '@/api/hwh5-cloudonline.js'
|
import hwh5 from '@/api/hwh5-cloudonline.js'
|
||||||
import axios from "axios";
|
import axios from 'axios';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "phoneBzdyStep9",
|
name: 'phoneBzdyStep9',
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
drawerModal: false,
|
drawerModal: false,
|
||||||
foldFormFlag: false,
|
foldFormFlag: false,
|
||||||
histortData: [],
|
histortData: [],
|
||||||
commentText9: '',
|
commentText9: '',
|
||||||
tableData: [],
|
tableData: [],
|
||||||
taskIds: this.$route.query.taskIds,
|
taskIds: this.$route.query.taskIds,
|
||||||
pId: this.$route.query.prcId,
|
pId: this.$route.query.prcId,
|
||||||
active: '1', // 默认显示
|
active: '1', // 默认显示
|
||||||
isSubmit: false,
|
isSubmit: false,
|
||||||
saveLoading: false,
|
saveLoading: false,
|
||||||
form: {
|
form: {
|
||||||
title: '', // 调研标题
|
title: '', // 调研标题
|
||||||
date: '', // 完成时间
|
date: '', // 完成时间
|
||||||
hzfileId: '',
|
hzfileId: '',
|
||||||
hzfileName: '',
|
hzfileName: '',
|
||||||
textsh: '',
|
textsh: '',
|
||||||
modelList:[], //调研模板
|
modelList:[], //调研模板
|
||||||
fjList:[] //相关附件
|
fjList:[] //相关附件
|
||||||
},
|
},
|
||||||
formRules: {
|
formRules: {
|
||||||
textsh: [
|
textsh: [
|
||||||
{ required: true, message: '请输入审核意见', trigger: 'blur' },
|
{ required: true, message: '请输入审核意见', trigger: 'blur' },
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
json: {},
|
json: {},
|
||||||
fileUrl: 'api/att/attFile/uploadNew',
|
fileUrl: 'api/att/attFile/uploadNew',
|
||||||
fileMadel: false,
|
fileMadel: false,
|
||||||
}
|
|
||||||
},
|
|
||||||
components: {
|
|
||||||
ProcessHeaderPhone,
|
|
||||||
ProcessFooter,
|
|
||||||
ProcessTitle
|
|
||||||
},
|
|
||||||
methods: {
|
|
||||||
handleTransfer() {
|
|
||||||
this.drawerModal = true
|
|
||||||
},
|
|
||||||
checkedRole (data) {
|
|
||||||
this.isSubmit = true
|
|
||||||
changeAssigneeNew({
|
|
||||||
taskId: this.$route.query.taskIds, // 任务id
|
|
||||||
userId:this.$store.getters.userInfo.account, // 委托人
|
|
||||||
assignee: data[0].id, // 被委托人
|
|
||||||
pId: this.$route.query.prcId, // 流程实例
|
|
||||||
}).then(res => {
|
|
||||||
if (res.success) {
|
|
||||||
this.drawerModal = false
|
|
||||||
this.$message.success('调整成功')
|
|
||||||
this.processNum()
|
|
||||||
// hwh5.close()
|
|
||||||
this.$router.go(-2)
|
|
||||||
// this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
|
||||||
} else {
|
|
||||||
this.$message.warning(res.message)
|
|
||||||
}
|
|
||||||
}).finally(() => {
|
|
||||||
this.isSubmit = false
|
|
||||||
})
|
|
||||||
},
|
|
||||||
// 请求转换流程图
|
|
||||||
processNum (row) {
|
|
||||||
axios.request({
|
|
||||||
url: '/api/lawss/activiti/getImg?_t=' + new Date().getTime(),
|
|
||||||
responseType: 'blob',
|
|
||||||
method: 'get',
|
|
||||||
params: {
|
|
||||||
prcNum: this.$route.query.prcNum
|
|
||||||
}
|
|
||||||
}).then(res => {
|
|
||||||
this.processStep = window.URL.createObjectURL(res.data)
|
|
||||||
})
|
|
||||||
},
|
|
||||||
foldForm() {
|
|
||||||
this.foldFormFlag = !this.foldFormFlag
|
|
||||||
},
|
|
||||||
getHistoryData () {
|
|
||||||
this.$http.get('lawss/activiti/get_list_by_instance', {
|
|
||||||
prcNum: this.$route.query.prcNum,
|
|
||||||
}, {}, res => {
|
|
||||||
this.histortData = res
|
|
||||||
}, e => {})
|
|
||||||
},
|
|
||||||
updateFile (fileId) {
|
|
||||||
this.$preview(fileId)
|
|
||||||
},
|
|
||||||
// 导入按钮 上传之前的钩子
|
|
||||||
beginImportFile (file) {
|
|
||||||
var filename = file.name
|
|
||||||
var index1 = filename.lastIndexOf('.')
|
|
||||||
var index2 = filename.length
|
|
||||||
var fileSuffix = filename.substring(index1, index2)
|
|
||||||
// const fileSuffix = file.name.split('.')[1] // 后缀名
|
|
||||||
// 判断上传文件格式
|
|
||||||
if (fileSuffix === '.ppt' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.PPT' || fileSuffix === '.xls' || fileSuffix === '.xlsx') {
|
|
||||||
return true
|
|
||||||
} else {
|
|
||||||
this.spinShow = false
|
|
||||||
this.$message.error('文件' + file.name + '格式不正确,请上传PPT,DOCX,XLS文件')
|
|
||||||
return false
|
|
||||||
}
|
|
||||||
// 判断文件上传大小
|
|
||||||
// eslint-disable-next-line no-unreachable
|
|
||||||
if (file.size / 1024 / 1024 <= 200) {
|
|
||||||
return true
|
|
||||||
} else {
|
|
||||||
this.$message.error('文件' + file.name + '大小不超过200M')
|
|
||||||
return false
|
|
||||||
}
|
|
||||||
return true
|
|
||||||
},
|
|
||||||
// 导入标准数据成功后执行
|
|
||||||
importFileSuccess (response, file) {
|
|
||||||
if (response.ok) {
|
|
||||||
this.fileMadel = false
|
|
||||||
this.form.hzfileId = response.data.id
|
|
||||||
this.form.hzfileName = response.data.name
|
|
||||||
this.$message({
|
|
||||||
// showClose: true,
|
|
||||||
message: response.message,
|
|
||||||
type: 'success'
|
|
||||||
})
|
|
||||||
}
|
|
||||||
},
|
|
||||||
fileUpload () {
|
|
||||||
this.fileMadel = true
|
|
||||||
},
|
|
||||||
handleTabs(name) {
|
|
||||||
this.active = name
|
|
||||||
},
|
|
||||||
handleSubmit() {
|
|
||||||
this.isSubmit = true
|
|
||||||
var json = this.json
|
|
||||||
json.actionFlag = 0
|
|
||||||
json.commentText = this.commentText9
|
|
||||||
this.$http.post('lawss/activiti/completeTask', {
|
|
||||||
json: JSON.stringify(json),
|
|
||||||
taskId: this.taskIds,
|
|
||||||
userId: this.$store.getters.userInfo.account
|
|
||||||
}, {}, res => {
|
|
||||||
if (res.success) {
|
|
||||||
this.$message.success('提交成功')
|
|
||||||
// hwh5.close()
|
|
||||||
this.$router.go(-2)
|
|
||||||
// this.$router.push('/processCenter')
|
|
||||||
}
|
|
||||||
this.isSubmit = false
|
|
||||||
})
|
|
||||||
},
|
|
||||||
handleSubmitNo() {
|
|
||||||
if (this.commentText9) {
|
|
||||||
this.isSubmit = true
|
|
||||||
var json = this.json
|
|
||||||
json.commentText = this.commentText9
|
|
||||||
json.actionFlag = 1
|
|
||||||
this.$http.post('lawss/activiti/completeTask', {
|
|
||||||
json: JSON.stringify(json),
|
|
||||||
taskId: this.taskIds,
|
|
||||||
userId: this.$store.getters.userInfo.account
|
|
||||||
}, {}, res => {
|
|
||||||
if (res.success) {
|
|
||||||
this.$message.success('驳回成功')
|
|
||||||
// hwh5.close()
|
|
||||||
this.$router.go(-2)
|
|
||||||
// this.$router.push('/processCenter')
|
|
||||||
}
|
|
||||||
this.isSubmit = false
|
|
||||||
})
|
|
||||||
} else {
|
|
||||||
this.$message.warning('请输入反馈意见')
|
|
||||||
}
|
|
||||||
},
|
|
||||||
getData() {
|
|
||||||
return new Promise((resolve, reject) => {
|
|
||||||
inboundLiaisonDetail({
|
|
||||||
taskIds: this.taskIds,
|
|
||||||
pId: this.pId
|
|
||||||
}).then(res => {
|
|
||||||
let data = JSON.parse(res.mesg)
|
|
||||||
console.log(data)
|
|
||||||
this.commentText9 = data.commentText9 || ''
|
|
||||||
this.form.processName = data.form ? data.form.processName : data.processName
|
|
||||||
this.form.title = data.title || data.form.title
|
|
||||||
this.form.date = data.date || data.form.date
|
|
||||||
this.form.modelList = data.modelList
|
|
||||||
this.form.fjList =data.fjList
|
|
||||||
this.json = data || data.form
|
|
||||||
this.tableData = data.responUserList || data.form.responUserList
|
|
||||||
this.form.hzfileId = data.hzfileId || data.form.hzfileId
|
|
||||||
this.form.hzfileName = data.hzfileName || data.form.hzfileName
|
|
||||||
}).catch(e => {
|
|
||||||
})
|
|
||||||
})
|
|
||||||
},
|
|
||||||
},
|
|
||||||
mounted () {
|
|
||||||
this.getHistoryData()
|
|
||||||
this.getData()
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
components: {
|
||||||
|
ProcessHeaderPhone,
|
||||||
|
ProcessFooter,
|
||||||
|
ProcessTitle
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
handleTransfer() {
|
||||||
|
this.drawerModal = true
|
||||||
|
},
|
||||||
|
checkedRole (data) {
|
||||||
|
this.isSubmit = true
|
||||||
|
changeAssigneeNew({
|
||||||
|
taskId: this.$route.query.taskIds, // 任务id
|
||||||
|
userId:this.$store.getters.userInfo.account, // 委托人
|
||||||
|
assignee: data[0].id, // 被委托人
|
||||||
|
pId: this.$route.query.prcId, // 流程实例
|
||||||
|
}).then(res => {
|
||||||
|
if (res.success) {
|
||||||
|
this.drawerModal = false
|
||||||
|
this.$message.success('调整成功')
|
||||||
|
this.processNum()
|
||||||
|
// hwh5.close()
|
||||||
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
|
// this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
||||||
|
} else {
|
||||||
|
this.$message.warning(res.message)
|
||||||
|
}
|
||||||
|
}).finally(() => {
|
||||||
|
this.isSubmit = false
|
||||||
|
})
|
||||||
|
},
|
||||||
|
// 请求转换流程图
|
||||||
|
processNum (row) {
|
||||||
|
axios.request({
|
||||||
|
url: '/api/lawss/activiti/getImg?_t=' + new Date().getTime(),
|
||||||
|
responseType: 'blob',
|
||||||
|
method: 'get',
|
||||||
|
params: {
|
||||||
|
prcNum: this.$route.query.prcNum
|
||||||
|
}
|
||||||
|
}).then(res => {
|
||||||
|
this.processStep = window.URL.createObjectURL(res.data)
|
||||||
|
})
|
||||||
|
},
|
||||||
|
foldForm() {
|
||||||
|
this.foldFormFlag = !this.foldFormFlag
|
||||||
|
},
|
||||||
|
getHistoryData () {
|
||||||
|
this.$http.get('lawss/activiti/get_list_by_instance', {
|
||||||
|
prcNum: this.$route.query.prcNum,
|
||||||
|
}, {}, res => {
|
||||||
|
this.histortData = res
|
||||||
|
}, e => {})
|
||||||
|
},
|
||||||
|
updateFile (fileId) {
|
||||||
|
this.$preview(fileId)
|
||||||
|
},
|
||||||
|
// 导入按钮 上传之前的钩子
|
||||||
|
beginImportFile (file) {
|
||||||
|
const filename = file.name
|
||||||
|
const index1 = filename.lastIndexOf('.')
|
||||||
|
const index2 = filename.length
|
||||||
|
const fileSuffix = filename.substring(index1, index2)
|
||||||
|
// const fileSuffix = file.name.split('.')[1] // 后缀名
|
||||||
|
// 判断上传文件格式
|
||||||
|
if (fileSuffix === '.ppt' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.PPT' || fileSuffix === '.xls' || fileSuffix === '.xlsx') {
|
||||||
|
return true
|
||||||
|
} else {
|
||||||
|
this.spinShow = false
|
||||||
|
this.$message.error('文件' + file.name + '格式不正确,请上传PPT,DOCX,XLS文件')
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
// 判断文件上传大小
|
||||||
|
// eslint-disable-next-line no-unreachable
|
||||||
|
if (file.size / 1024 / 1024 <= 200) {
|
||||||
|
return true
|
||||||
|
} else {
|
||||||
|
this.$message.error('文件' + file.name + '大小不超过200M')
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
return true
|
||||||
|
},
|
||||||
|
// 导入标准数据成功后执行
|
||||||
|
importFileSuccess (response, file) {
|
||||||
|
if (response.ok) {
|
||||||
|
this.fileMadel = false
|
||||||
|
this.form.hzfileId = response.data.id
|
||||||
|
this.form.hzfileName = response.data.name
|
||||||
|
this.$message({
|
||||||
|
// showClose: true,
|
||||||
|
message: response.message,
|
||||||
|
type: 'success'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
},
|
||||||
|
fileUpload () {
|
||||||
|
this.fileMadel = true
|
||||||
|
},
|
||||||
|
handleTabs(name) {
|
||||||
|
this.active = name
|
||||||
|
},
|
||||||
|
handleSubmit() {
|
||||||
|
this.isSubmit = true
|
||||||
|
const json = this.json
|
||||||
|
json.actionFlag = 0
|
||||||
|
json.commentText = this.commentText9
|
||||||
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
|
json: JSON.stringify(json),
|
||||||
|
taskId: this.taskIds,
|
||||||
|
userId: this.$store.getters.userInfo.account
|
||||||
|
}, {}, res => {
|
||||||
|
if (res.success) {
|
||||||
|
this.$message.success('提交成功')
|
||||||
|
// hwh5.close()
|
||||||
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
|
// this.$router.push('/processCenter')
|
||||||
|
}
|
||||||
|
this.isSubmit = false
|
||||||
|
})
|
||||||
|
},
|
||||||
|
handleSubmitNo() {
|
||||||
|
if (this.commentText9) {
|
||||||
|
this.isSubmit = true
|
||||||
|
const json = this.json
|
||||||
|
json.commentText = this.commentText9
|
||||||
|
json.actionFlag = 1
|
||||||
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
|
json: JSON.stringify(json),
|
||||||
|
taskId: this.taskIds,
|
||||||
|
userId: this.$store.getters.userInfo.account
|
||||||
|
}, {}, res => {
|
||||||
|
if (res.success) {
|
||||||
|
this.$message.success('驳回成功')
|
||||||
|
// hwh5.close()
|
||||||
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
|
// this.$router.push('/processCenter')
|
||||||
|
}
|
||||||
|
this.isSubmit = false
|
||||||
|
})
|
||||||
|
} else {
|
||||||
|
this.$message.warning('请输入反馈意见')
|
||||||
|
}
|
||||||
|
},
|
||||||
|
getData() {
|
||||||
|
return new Promise((resolve, reject) => {
|
||||||
|
inboundLiaisonDetail({
|
||||||
|
taskIds: this.taskIds,
|
||||||
|
pId: this.pId
|
||||||
|
}).then(res => {
|
||||||
|
const data = JSON.parse(res.mesg)
|
||||||
|
console.log(data)
|
||||||
|
this.commentText9 = data.commentText9 || ''
|
||||||
|
this.form.processName = data.form ? data.form.processName : data.processName
|
||||||
|
this.form.title = data.title || data.form.title
|
||||||
|
this.form.date = data.date || data.form.date
|
||||||
|
this.form.modelList = data.modelList
|
||||||
|
this.form.fjList =data.fjList
|
||||||
|
this.json = data || data.form
|
||||||
|
this.tableData = data.responUserList || data.form.responUserList
|
||||||
|
this.form.hzfileId = data.hzfileId || data.form.hzfileId
|
||||||
|
this.form.hzfileName = data.hzfileName || data.form.hzfileName
|
||||||
|
}).catch(e => {
|
||||||
|
})
|
||||||
|
})
|
||||||
|
},
|
||||||
|
},
|
||||||
|
mounted () {
|
||||||
|
this.getHistoryData()
|
||||||
|
this.getData()
|
||||||
|
}
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="less" scoped>
|
<style lang="less" scoped>
|
||||||
|
|||||||
@@ -126,7 +126,7 @@ import ProcessTitle from '../../components/ProcessTitle'
|
|||||||
import {startProcess, saveTaskFirst, completeTask, inboundLiaisonDetail} from '@/api/process.js'
|
import {startProcess, saveTaskFirst, completeTask, inboundLiaisonDetail} from '@/api/process.js'
|
||||||
import hwh5 from '@/api/hwh5-cloudonline.js'
|
import hwh5 from '@/api/hwh5-cloudonline.js'
|
||||||
export default {
|
export default {
|
||||||
name: "phoneBzchStep2",
|
name: 'phoneBzchStep2',
|
||||||
components: {
|
components: {
|
||||||
ProcessHeaderPhone,
|
ProcessHeaderPhone,
|
||||||
ProcessFooter,
|
ProcessFooter,
|
||||||
@@ -149,7 +149,7 @@ export default {
|
|||||||
fillFile: '',
|
fillFile: '',
|
||||||
},
|
},
|
||||||
ch_rules: {
|
ch_rules: {
|
||||||
meetingInRoleId: [{required: true, message: "请选择参会人员", trigger: ['blur', 'change']}]
|
meetingInRoleId: [{required: true, message: '请选择参会人员', trigger: ['blur', 'change']}]
|
||||||
},
|
},
|
||||||
nodeList: [],
|
nodeList: [],
|
||||||
modalshowflag: false,
|
modalshowflag: false,
|
||||||
@@ -198,7 +198,7 @@ export default {
|
|||||||
if (this.commentText === '') {
|
if (this.commentText === '') {
|
||||||
this.$message.warning('请输入审批意见')
|
this.$message.warning('请输入审批意见')
|
||||||
} else {
|
} else {
|
||||||
let json = {
|
const json = {
|
||||||
roleList: this.roleForm,
|
roleList: this.roleForm,
|
||||||
memberId: this.$store.getters.userInfo.account,
|
memberId: this.$store.getters.userInfo.account,
|
||||||
passFlag: '0',
|
passFlag: '0',
|
||||||
@@ -216,7 +216,8 @@ export default {
|
|||||||
if (res.success === true) {
|
if (res.success === true) {
|
||||||
this.$message.success('退回成功')
|
this.$message.success('退回成功')
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push("/processCenter");
|
// this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
}).finally(() => {
|
}).finally(() => {
|
||||||
@@ -229,7 +230,7 @@ export default {
|
|||||||
},
|
},
|
||||||
// 提交按钮
|
// 提交按钮
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
let json = {
|
const json = {
|
||||||
roleList: this.roleForm,
|
roleList: this.roleForm,
|
||||||
memberId: this.$store.getters.userInfo.account,
|
memberId: this.$store.getters.userInfo.account,
|
||||||
passFlag: '1',
|
passFlag: '1',
|
||||||
@@ -247,7 +248,8 @@ export default {
|
|||||||
if (res.success === true) {
|
if (res.success === true) {
|
||||||
this.$message.success('提交成功')
|
this.$message.success('提交成功')
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push("/processCenter");
|
// this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
}).finally(() => {
|
}).finally(() => {
|
||||||
@@ -259,8 +261,8 @@ export default {
|
|||||||
},
|
},
|
||||||
/** 点击对应附件进行下载*/
|
/** 点击对应附件进行下载*/
|
||||||
previews(val) {
|
previews(val) {
|
||||||
let attId = val
|
const attId = val
|
||||||
if (attId != null && attId !== "") {
|
if (attId != null && attId !== '') {
|
||||||
this.$preview(attId)
|
this.$preview(attId)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -273,8 +275,8 @@ export default {
|
|||||||
this.modalshowflag = true
|
this.modalshowflag = true
|
||||||
},
|
},
|
||||||
checkedRole (data) {
|
checkedRole (data) {
|
||||||
var idList = ''
|
let idList = ''
|
||||||
var nameList = ''
|
let nameList = ''
|
||||||
data.forEach( item => {
|
data.forEach( item => {
|
||||||
if (nameList.length > 0) {
|
if (nameList.length > 0) {
|
||||||
nameList += ','
|
nameList += ','
|
||||||
|
|||||||
@@ -123,7 +123,7 @@ import ProcessTitle from '../../components/ProcessTitle'
|
|||||||
import {startProcess, saveTaskFirst, completeTask, inboundLiaisonDetail} from '@/api/process.js'
|
import {startProcess, saveTaskFirst, completeTask, inboundLiaisonDetail} from '@/api/process.js'
|
||||||
import hwh5 from '@/api/hwh5-cloudonline.js'
|
import hwh5 from '@/api/hwh5-cloudonline.js'
|
||||||
export default {
|
export default {
|
||||||
name: "phoneBzchStep4",
|
name: 'phoneBzchStep4',
|
||||||
components: {
|
components: {
|
||||||
ProcessHeaderPhone,
|
ProcessHeaderPhone,
|
||||||
ProcessFooter,
|
ProcessFooter,
|
||||||
@@ -194,7 +194,7 @@ export default {
|
|||||||
if (this.textarea === '') {
|
if (this.textarea === '') {
|
||||||
this.$message.warning('请输入审批意见')
|
this.$message.warning('请输入审批意见')
|
||||||
} else {
|
} else {
|
||||||
let json = {
|
const json = {
|
||||||
member: this.selfUser,
|
member: this.selfUser,
|
||||||
passFlag: '0',
|
passFlag: '0',
|
||||||
roleList: this.roleForm,
|
roleList: this.roleForm,
|
||||||
@@ -212,7 +212,8 @@ export default {
|
|||||||
if (res.success === true) {
|
if (res.success === true) {
|
||||||
this.$message.success('退回成功')
|
this.$message.success('退回成功')
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push("/processCenter");
|
// this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
}).finally(() => {
|
}).finally(() => {
|
||||||
@@ -224,7 +225,7 @@ export default {
|
|||||||
},
|
},
|
||||||
// 提交按钮
|
// 提交按钮
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
let json = {
|
const json = {
|
||||||
member: this.selfUser,
|
member: this.selfUser,
|
||||||
passFlag: '1',
|
passFlag: '1',
|
||||||
engineerSum: this.roleForm.startUser,
|
engineerSum: this.roleForm.startUser,
|
||||||
@@ -243,7 +244,8 @@ export default {
|
|||||||
if (res.success === true) {
|
if (res.success === true) {
|
||||||
this.$message.success('提交成功')
|
this.$message.success('提交成功')
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push("/processCenter");
|
// this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
}).finally(() => {
|
}).finally(() => {
|
||||||
@@ -254,8 +256,8 @@ export default {
|
|||||||
},
|
},
|
||||||
/** 点击对应附件进行预览 */
|
/** 点击对应附件进行预览 */
|
||||||
previews(val) {
|
previews(val) {
|
||||||
let attId = val
|
const attId = val
|
||||||
if (attId != null && attId !== "") {
|
if (attId != null && attId !== '') {
|
||||||
this.$preview(attId)
|
this.$preview(attId)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -130,7 +130,7 @@ import ProcessFooter from '../../components/ProcessFooter'
|
|||||||
import ProcessTitle from '../../components/ProcessTitle'
|
import ProcessTitle from '../../components/ProcessTitle'
|
||||||
import hwh5 from '@/api/hwh5-cloudonline.js'
|
import hwh5 from '@/api/hwh5-cloudonline.js'
|
||||||
export default {
|
export default {
|
||||||
name: "phoneBzchStep6",
|
name: 'phoneBzchStep6',
|
||||||
components: {
|
components: {
|
||||||
ProcessHeaderPhone,
|
ProcessHeaderPhone,
|
||||||
ProcessFooter,
|
ProcessFooter,
|
||||||
@@ -175,7 +175,7 @@ export default {
|
|||||||
getData() {
|
getData() {
|
||||||
if (this.taskInfo === '标准法规工程师修订完毕') {
|
if (this.taskInfo === '标准法规工程师修订完毕') {
|
||||||
this.passTitle = '回执说明',
|
this.passTitle = '回执说明',
|
||||||
this.passHolder = '请输入回执说明'
|
this.passHolder = '请输入回执说明'
|
||||||
}
|
}
|
||||||
const params = {
|
const params = {
|
||||||
taskIds: this.taskIds,
|
taskIds: this.taskIds,
|
||||||
@@ -198,15 +198,15 @@ export default {
|
|||||||
/** 批量删除 */
|
/** 批量删除 */
|
||||||
del_paryForm() {
|
del_paryForm() {
|
||||||
if (this.deleteDataList.length < 1) {
|
if (this.deleteDataList.length < 1) {
|
||||||
this.$message.warning("请选择一条数据进行删除");
|
this.$message.warning('请选择一条数据进行删除');
|
||||||
} else {
|
} else {
|
||||||
this.$confirm("您确认删除这些数据?", "提示", {
|
this.$confirm('您确认删除这些数据?', '提示', {
|
||||||
confirmButtonText: "确认",
|
confirmButtonText: '确认',
|
||||||
confirmButtonClass: "common-button-primary",
|
confirmButtonClass: 'common-button-primary',
|
||||||
cancelButtonText: "取消",
|
cancelButtonText: '取消',
|
||||||
type: "warning"
|
type: 'warning'
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
let exits = [];
|
const exits = [];
|
||||||
this.deleteDataList.map(item => {
|
this.deleteDataList.map(item => {
|
||||||
let index;
|
let index;
|
||||||
index = this.ch_pageData.myPartRole.findIndex(items => {
|
index = this.ch_pageData.myPartRole.findIndex(items => {
|
||||||
@@ -262,7 +262,8 @@ export default {
|
|||||||
if (res.success === true) {
|
if (res.success === true) {
|
||||||
this.$message.success('提交成功')
|
this.$message.success('提交成功')
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push("/processCenter");
|
// this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
}).finally(() => {
|
}).finally(() => {
|
||||||
@@ -305,7 +306,8 @@ export default {
|
|||||||
if (res.success === true) {
|
if (res.success === true) {
|
||||||
this.$message.success('提交成功')
|
this.$message.success('提交成功')
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push("/processCenter");
|
// this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
}).finally(() => {
|
}).finally(() => {
|
||||||
@@ -317,8 +319,8 @@ export default {
|
|||||||
},
|
},
|
||||||
/** 点击对应附件进行预览*/
|
/** 点击对应附件进行预览*/
|
||||||
previews(val) {
|
previews(val) {
|
||||||
let attId = val
|
const attId = val
|
||||||
if (attId != null && attId !== "") {
|
if (attId != null && attId !== '') {
|
||||||
this.$preview(attId)
|
this.$preview(attId)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -165,7 +165,7 @@ import ProcessTitle from '../../components/ProcessTitle'
|
|||||||
import {saveTaskFirst, completeTask, inboundLiaisonDetail} from '@/api/process.js'
|
import {saveTaskFirst, completeTask, inboundLiaisonDetail} from '@/api/process.js'
|
||||||
import hwh5 from '@/api/hwh5-cloudonline.js'
|
import hwh5 from '@/api/hwh5-cloudonline.js'
|
||||||
export default {
|
export default {
|
||||||
name: "phoneBzhhStep2",
|
name: 'phoneBzhhStep2',
|
||||||
components: {
|
components: {
|
||||||
ProcessHeaderPhone,
|
ProcessHeaderPhone,
|
||||||
ProcessFooter,
|
ProcessFooter,
|
||||||
@@ -247,29 +247,29 @@ export default {
|
|||||||
},
|
},
|
||||||
// 点击上传的文件进行下载
|
// 点击上传的文件进行下载
|
||||||
handleOnPreview(file) {
|
handleOnPreview(file) {
|
||||||
let attId = file.id
|
const attId = file.id
|
||||||
if (attId != null && attId !== "") {
|
if (attId != null && attId !== '') {
|
||||||
this.$preview(attId)
|
this.$preview(attId)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 点击上传的文件进行预览
|
// 点击上传的文件进行预览
|
||||||
onPreviewTheme(file) {
|
onPreviewTheme(file) {
|
||||||
let attId = file.id
|
const attId = file.id
|
||||||
if (attId != null && attId !== "") {
|
if (attId != null && attId !== '') {
|
||||||
this.$preview(attId)
|
this.$preview(attId)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 点击上传的文件进行下载
|
// 点击上传的文件进行下载
|
||||||
onPreviewOther(file) {
|
onPreviewOther(file) {
|
||||||
let attId = file.id
|
const attId = file.id
|
||||||
if (attId != null && attId !== "") {
|
if (attId != null && attId !== '') {
|
||||||
window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId;
|
window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
// 退回按钮
|
// 退回按钮
|
||||||
handleSubmitNo() {
|
handleSubmitNo() {
|
||||||
let json = {
|
const json = {
|
||||||
passFlag: '0',
|
passFlag: '0',
|
||||||
commentText: this.commentText,
|
commentText: this.commentText,
|
||||||
hh_pageData: this.hh_pageData,
|
hh_pageData: this.hh_pageData,
|
||||||
@@ -285,7 +285,8 @@ export default {
|
|||||||
if (res.success === true) {
|
if (res.success === true) {
|
||||||
this.$message.success('退回成功')
|
this.$message.success('退回成功')
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push("/processCenter");
|
// this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
}).finally(() => {
|
}).finally(() => {
|
||||||
@@ -296,7 +297,7 @@ export default {
|
|||||||
},
|
},
|
||||||
// 提交按钮
|
// 提交按钮
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
let json = {
|
const json = {
|
||||||
passFlag: '1',
|
passFlag: '1',
|
||||||
commentText: this.commentText,
|
commentText: this.commentText,
|
||||||
ch_pageData: this.ch_pageData,
|
ch_pageData: this.ch_pageData,
|
||||||
@@ -312,7 +313,8 @@ export default {
|
|||||||
if (res.success === true) {
|
if (res.success === true) {
|
||||||
this.$message.success('提交成功')
|
this.$message.success('提交成功')
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push("/processCenter");
|
// this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
}).finally(() => {
|
}).finally(() => {
|
||||||
|
|||||||
@@ -127,10 +127,10 @@
|
|||||||
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
||||||
import ProcessFooter from '../../components/ProcessFooter'
|
import ProcessFooter from '../../components/ProcessFooter'
|
||||||
import ProcessTitle from '../../components/ProcessTitle'
|
import ProcessTitle from '../../components/ProcessTitle'
|
||||||
import { completeTask, inboundLiaisonDetail } from "@/api/process.js"
|
import { completeTask, inboundLiaisonDetail } from '@/api/process.js'
|
||||||
import hwh5 from '@/api/hwh5-cloudonline.js'
|
import hwh5 from '@/api/hwh5-cloudonline.js'
|
||||||
export default {
|
export default {
|
||||||
name: "phoneBzrhStep2",
|
name: 'phoneBzrhStep2',
|
||||||
components: {
|
components: {
|
||||||
ProcessHeaderPhone,
|
ProcessHeaderPhone,
|
||||||
ProcessFooter,
|
ProcessFooter,
|
||||||
@@ -161,7 +161,7 @@ export default {
|
|||||||
comityInRoleId: '',
|
comityInRoleId: '',
|
||||||
},
|
},
|
||||||
roleForm: {
|
roleForm: {
|
||||||
comityOpRoleId: [{required: true, message: "请选择入会人员", trigger: ['blur', 'change']}]
|
comityOpRoleId: [{required: true, message: '请选择入会人员', trigger: ['blur', 'change']}]
|
||||||
},
|
},
|
||||||
commentText: '',
|
commentText: '',
|
||||||
roleShowflag: false,
|
roleShowflag: false,
|
||||||
@@ -212,8 +212,8 @@ export default {
|
|||||||
|
|
||||||
/** 点击对应附件进行预览*/
|
/** 点击对应附件进行预览*/
|
||||||
previews(val) {
|
previews(val) {
|
||||||
let attId = val
|
const attId = val
|
||||||
if (attId != null && attId !== "") {
|
if (attId != null && attId !== '') {
|
||||||
this.$preview(attId)
|
this.$preview(attId)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -222,7 +222,7 @@ export default {
|
|||||||
if (this.commentText === '') {
|
if (this.commentText === '') {
|
||||||
this.$message.warning('请输入审批意见')
|
this.$message.warning('请输入审批意见')
|
||||||
} else {
|
} else {
|
||||||
let json = {
|
const json = {
|
||||||
roleList: this.roleForm,
|
roleList: this.roleForm,
|
||||||
memberId: this.$store.getters.userInfo.account,
|
memberId: this.$store.getters.userInfo.account,
|
||||||
passFlag: '0',
|
passFlag: '0',
|
||||||
@@ -240,7 +240,8 @@ export default {
|
|||||||
if (res.success === true) {
|
if (res.success === true) {
|
||||||
this.$message.success('退回成功')
|
this.$message.success('退回成功')
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push("/processCenter");
|
// this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
}).finally(() => {
|
}).finally(() => {
|
||||||
@@ -252,7 +253,7 @@ export default {
|
|||||||
},
|
},
|
||||||
// 提交按钮
|
// 提交按钮
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
let json = {
|
const json = {
|
||||||
roleList: this.roleForm,
|
roleList: this.roleForm,
|
||||||
memberId: this.$store.getters.userInfo.account,
|
memberId: this.$store.getters.userInfo.account,
|
||||||
passFlag: '1',
|
passFlag: '1',
|
||||||
@@ -270,7 +271,8 @@ export default {
|
|||||||
if (res.success === true) {
|
if (res.success === true) {
|
||||||
this.$message.success('提交成功')
|
this.$message.success('提交成功')
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push("/processCenter");
|
// this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
}).finally(() => {
|
}).finally(() => {
|
||||||
@@ -287,8 +289,8 @@ export default {
|
|||||||
this.modalshowflag = true
|
this.modalshowflag = true
|
||||||
},
|
},
|
||||||
checkedRole (data) {
|
checkedRole (data) {
|
||||||
var idList = ''
|
let idList = ''
|
||||||
var nameList = ''
|
let nameList = ''
|
||||||
data.forEach( item => {
|
data.forEach( item => {
|
||||||
if (nameList.length > 0) {
|
if (nameList.length > 0) {
|
||||||
nameList += ','
|
nameList += ','
|
||||||
|
|||||||
@@ -133,10 +133,10 @@
|
|||||||
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
||||||
import ProcessFooter from '../../components/ProcessFooter'
|
import ProcessFooter from '../../components/ProcessFooter'
|
||||||
import ProcessTitle from '../../components/ProcessTitle'
|
import ProcessTitle from '../../components/ProcessTitle'
|
||||||
import { completeTask, inboundLiaisonDetail } from "@/api/process.js"
|
import { completeTask, inboundLiaisonDetail } from '@/api/process.js'
|
||||||
import hwh5 from '@/api/hwh5-cloudonline.js'
|
import hwh5 from '@/api/hwh5-cloudonline.js'
|
||||||
export default {
|
export default {
|
||||||
name: "phoneBzrhStep4",
|
name: 'phoneBzrhStep4',
|
||||||
components: {
|
components: {
|
||||||
ProcessHeaderPhone,
|
ProcessHeaderPhone,
|
||||||
ProcessFooter,
|
ProcessFooter,
|
||||||
@@ -235,7 +235,7 @@ export default {
|
|||||||
if (this.textarea === '') {
|
if (this.textarea === '') {
|
||||||
this.$message.warning('请输入审批意见')
|
this.$message.warning('请输入审批意见')
|
||||||
} else {
|
} else {
|
||||||
let json = {
|
const json = {
|
||||||
member: this.selfUser,
|
member: this.selfUser,
|
||||||
passFlag: '0',
|
passFlag: '0',
|
||||||
roleList: this.roleForm,
|
roleList: this.roleForm,
|
||||||
@@ -253,7 +253,8 @@ export default {
|
|||||||
if (res.success === true) {
|
if (res.success === true) {
|
||||||
this.$message.success('退回成功')
|
this.$message.success('退回成功')
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push("/processCenter");
|
// this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
}).finally(() => {
|
}).finally(() => {
|
||||||
@@ -266,7 +267,7 @@ export default {
|
|||||||
},
|
},
|
||||||
// 提交按钮
|
// 提交按钮
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
let json = {
|
const json = {
|
||||||
member: this.selfUser,
|
member: this.selfUser,
|
||||||
passFlag: '1',
|
passFlag: '1',
|
||||||
engineerSum: this.roleForm.startUser,
|
engineerSum: this.roleForm.startUser,
|
||||||
@@ -285,7 +286,8 @@ export default {
|
|||||||
if (res.success === true) {
|
if (res.success === true) {
|
||||||
this.$message.success('提交成功')
|
this.$message.success('提交成功')
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push("/processCenter");
|
// this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
}).finally(() => {
|
}).finally(() => {
|
||||||
@@ -296,8 +298,8 @@ export default {
|
|||||||
},
|
},
|
||||||
/** 点击对应附件进行预览*/
|
/** 点击对应附件进行预览*/
|
||||||
previews(val) {
|
previews(val) {
|
||||||
let attId = val
|
const attId = val
|
||||||
if (attId != null && attId !== "") {
|
if (attId != null && attId !== '') {
|
||||||
this.$preview(attId)
|
this.$preview(attId)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -146,10 +146,10 @@
|
|||||||
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
||||||
import ProcessFooter from '../../components/ProcessFooter'
|
import ProcessFooter from '../../components/ProcessFooter'
|
||||||
import ProcessTitle from '../../components/ProcessTitle'
|
import ProcessTitle from '../../components/ProcessTitle'
|
||||||
import { completeTask, inboundLiaisonDetail } from "@/api/process.js"
|
import { completeTask, inboundLiaisonDetail } from '@/api/process.js'
|
||||||
import hwh5 from '@/api/hwh5-cloudonline.js'
|
import hwh5 from '@/api/hwh5-cloudonline.js'
|
||||||
export default {
|
export default {
|
||||||
name: "phoneBzrhStep6",
|
name: 'phoneBzrhStep6',
|
||||||
components: {
|
components: {
|
||||||
ProcessHeaderPhone,
|
ProcessHeaderPhone,
|
||||||
ProcessFooter,
|
ProcessFooter,
|
||||||
@@ -234,8 +234,8 @@ export default {
|
|||||||
},
|
},
|
||||||
/** 点击对应附件进行预览*/
|
/** 点击对应附件进行预览*/
|
||||||
previews(val) {
|
previews(val) {
|
||||||
let attId = val
|
const attId = val
|
||||||
if (attId != null && attId !== "") {
|
if (attId != null && attId !== '') {
|
||||||
this.$preview(attId)
|
this.$preview(attId)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -247,7 +247,7 @@ export default {
|
|||||||
if (this.textarea === '') {
|
if (this.textarea === '') {
|
||||||
this.$message.warning('请输入反馈意见')
|
this.$message.warning('请输入反馈意见')
|
||||||
} else {
|
} else {
|
||||||
let json = {
|
const json = {
|
||||||
passFlag: '0',
|
passFlag: '0',
|
||||||
rh_pageData: this.rh_pageData,
|
rh_pageData: this.rh_pageData,
|
||||||
roleList: this.roleForm
|
roleList: this.roleForm
|
||||||
@@ -271,7 +271,8 @@ export default {
|
|||||||
if (res.success === true) {
|
if (res.success === true) {
|
||||||
this.$message.success('提交成功')
|
this.$message.success('提交成功')
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push("/processCenter");
|
// this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
}).finally(() => {
|
}).finally(() => {
|
||||||
@@ -284,7 +285,7 @@ export default {
|
|||||||
|
|
||||||
// 提交按钮
|
// 提交按钮
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
let json = {
|
const json = {
|
||||||
passFlag: '1',
|
passFlag: '1',
|
||||||
rh_pageData: this.rh_pageData,
|
rh_pageData: this.rh_pageData,
|
||||||
commentText: this.textarea,
|
commentText: this.textarea,
|
||||||
@@ -309,7 +310,8 @@ export default {
|
|||||||
if (res.success === true) {
|
if (res.success === true) {
|
||||||
this.$message.success('提交成功')
|
this.$message.success('提交成功')
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push("/processCenter");
|
// this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
}).finally(() => {
|
}).finally(() => {
|
||||||
|
|||||||
@@ -149,7 +149,8 @@ export default {
|
|||||||
this.drawerModal = false
|
this.drawerModal = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
}, 100)
|
}, 100)
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
|||||||
@@ -149,7 +149,8 @@ export default {
|
|||||||
this.drawerModal = false
|
this.drawerModal = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
}, 100)
|
}, 100)
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
|||||||
@@ -262,236 +262,239 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { Dialog } from "vant";
|
import { Dialog } from 'vant';
|
||||||
import ProcessHeaderPhone from "../../components/ProcessHeaderPhone";
|
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone';
|
||||||
import ProcessFooter from "../../components/ProcessFooter";
|
import ProcessFooter from '../../components/ProcessFooter';
|
||||||
import ProcessTitle from "../../components/ProcessTitle";
|
import ProcessTitle from '../../components/ProcessTitle';
|
||||||
import { changeAssigneeNew, inboundLiaisonDetail } from "api/process";
|
import { changeAssigneeNew, inboundLiaisonDetail } from 'api/process';
|
||||||
import axios from "axios";
|
import axios from 'axios';
|
||||||
import hwh5 from '@/api/hwh5-cloudonline.js'
|
import hwh5 from '@/api/hwh5-cloudonline.js'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "phoneBzjdStep4",
|
name: 'phoneBzjdStep4',
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
tableIndex: 0,
|
tableIndex: 0,
|
||||||
itemLists: [],
|
itemLists: [],
|
||||||
itemsNum: "",
|
itemsNum: '',
|
||||||
similarityDegree: "",
|
similarityDegree: '',
|
||||||
BDmodel: false,
|
BDmodel: false,
|
||||||
leftData: "",
|
leftData: '',
|
||||||
rightData: "",
|
rightData: '',
|
||||||
dialogMadal: false,
|
dialogMadal: false,
|
||||||
drawerModal: false,
|
drawerModal: false,
|
||||||
//折叠的标志,true为折叠,false为不折叠
|
//折叠的标志,true为折叠,false为不折叠
|
||||||
foldFormFlag: false,
|
foldFormFlag: false,
|
||||||
itermsConditionsFlag: false,
|
itermsConditionsFlag: false,
|
||||||
itermsConditionsTitle: '',
|
itermsConditionsTitle: '',
|
||||||
histortData: [],
|
histortData: [],
|
||||||
sarType: '',
|
sarType: '',
|
||||||
itemList: [],
|
itemList: [],
|
||||||
loading: true,
|
loading: true,
|
||||||
commentText4: '',
|
commentText4: '',
|
||||||
taskIds: this.$route.query.taskIds,
|
taskIds: this.$route.query.taskIds,
|
||||||
pId: this.$route.query.prcId,
|
pId: this.$route.query.prcId,
|
||||||
textarea: '', // 意见
|
textarea: '', // 意见
|
||||||
active: '1', // 默认显示
|
active: '1', // 默认显示
|
||||||
isSubmit: false,
|
isSubmit: false,
|
||||||
saveLoading: false,
|
saveLoading: false,
|
||||||
form: {
|
form: {
|
||||||
itemsNum: '',
|
itemsNum: '',
|
||||||
itemsName: '',
|
itemsName: '',
|
||||||
itemsNum1: '',
|
itemsNum1: '',
|
||||||
itemsName1: '',
|
itemsName1: '',
|
||||||
},
|
},
|
||||||
json: {},
|
json: {},
|
||||||
}
|
|
||||||
},
|
|
||||||
components: {
|
|
||||||
[Dialog.Component.name]: Dialog.Component,
|
|
||||||
ProcessHeaderPhone,
|
|
||||||
ProcessFooter,
|
|
||||||
ProcessTitle
|
|
||||||
},
|
|
||||||
methods: {
|
|
||||||
tableLoading () {
|
|
||||||
this.tableIndex++
|
|
||||||
let index = this.tableIndex * 20
|
|
||||||
let endIndex = index + 20
|
|
||||||
if (this.tableIndex * 20 > this.itemLists.length) {
|
|
||||||
this.$message.warning('没有更多了')
|
|
||||||
}
|
|
||||||
let newData = this.itemLists.slice(index, endIndex)
|
|
||||||
this.itemList = this.itemList.concat(newData)
|
|
||||||
},
|
|
||||||
dialogOk () {
|
|
||||||
this.dialogMadal = false
|
|
||||||
},
|
|
||||||
handleTransfer() {
|
|
||||||
this.drawerModal = true
|
|
||||||
},
|
|
||||||
checkedRole (data) {
|
|
||||||
this.isSubmit = true
|
|
||||||
changeAssigneeNew({
|
|
||||||
taskId: this.$route.query.taskIds, // 任务id
|
|
||||||
userId:this.$store.getters.userInfo.account, // 委托人
|
|
||||||
assignee: data[0].id, // 被委托人
|
|
||||||
pId: this.$route.query.prcId, // 流程实例
|
|
||||||
}).then(res => {
|
|
||||||
if (res.success) {
|
|
||||||
this.drawerModal = false
|
|
||||||
this.$message.success('调整成功')
|
|
||||||
this.processNum()
|
|
||||||
// hwh5.close()
|
|
||||||
this.$router.go(-2)
|
|
||||||
// this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
|
||||||
} else {
|
|
||||||
this.$message.warning(res.message)
|
|
||||||
}
|
|
||||||
}).finally(() => {
|
|
||||||
this.isSubmit = false
|
|
||||||
})
|
|
||||||
},
|
|
||||||
// 请求转换流程图
|
|
||||||
processNum (row) {
|
|
||||||
axios.request({
|
|
||||||
url: '/api/lawss/activiti/getImg?_t=' + new Date().getTime(),
|
|
||||||
responseType: 'blob',
|
|
||||||
method: 'get',
|
|
||||||
params: {
|
|
||||||
prcNum: this.$route.query.prcNum
|
|
||||||
}
|
|
||||||
}).then(res => {
|
|
||||||
this.processStep = window.URL.createObjectURL(res.data)
|
|
||||||
})
|
|
||||||
},
|
|
||||||
//折叠/展开基础信息方法
|
|
||||||
foldForm() {
|
|
||||||
this.foldFormFlag = !this.foldFormFlag
|
|
||||||
},
|
|
||||||
itermsConditionsClose () {
|
|
||||||
this.itermsConditionsFlag = false
|
|
||||||
},
|
|
||||||
itermsConditionsOpen (row) {
|
|
||||||
this.dialogMadal = true
|
|
||||||
this.itermsConditionsTitle = row
|
|
||||||
},
|
|
||||||
checkBD (id,id2,itemsNum) {
|
|
||||||
let itemsEoPage = {
|
|
||||||
oldItemId: id,
|
|
||||||
newItemId: id2,
|
|
||||||
flag: 1
|
|
||||||
}
|
|
||||||
if (!id || !id2) {
|
|
||||||
this.$message.warning('暂无找到相似的文本')
|
|
||||||
return
|
|
||||||
}
|
|
||||||
this.$http.post('lawss/sarStandCompareHis/clauseComparison', itemsEoPage, {
|
|
||||||
_this: this
|
|
||||||
}, res => {
|
|
||||||
if (res.data.leftString === '' && res.data.rightString === '') {
|
|
||||||
this.$message.warning('暂无找到相似的文本')
|
|
||||||
} else {
|
|
||||||
this.itemsNum = itemsNum
|
|
||||||
this.leftData = res.data.leftString
|
|
||||||
this.rightData = res.data.rightString
|
|
||||||
this.BDmodel = true
|
|
||||||
this.similarityDegree = res.data.similarityDegree
|
|
||||||
}
|
|
||||||
})
|
|
||||||
},
|
|
||||||
getHistoryData () {
|
|
||||||
this.$http.get('lawss/activiti/get_list_by_instance', {
|
|
||||||
prcNum: this.$route.query.prcNum,
|
|
||||||
}, {}, res => {
|
|
||||||
this.histortData = res
|
|
||||||
}, e => {})
|
|
||||||
},
|
|
||||||
handleTabs(name) {
|
|
||||||
this.active = name
|
|
||||||
},
|
|
||||||
handleSubmit() {
|
|
||||||
this.isSubmit = true
|
|
||||||
var json = this.json
|
|
||||||
json.resolveFlag = 1
|
|
||||||
json.commentText = this.commentText4
|
|
||||||
this.$http.post('lawss/activiti/completeTask', {
|
|
||||||
json: JSON.stringify(json),
|
|
||||||
taskId: this.taskIds,
|
|
||||||
userId: this.$store.getters.userInfo.account
|
|
||||||
}, {}, res => {
|
|
||||||
if (res.success) {
|
|
||||||
this.$message.success('提交成功')
|
|
||||||
// hwh5.close()
|
|
||||||
this.$router.go(-2)
|
|
||||||
// this.$router.push('/processCenter')
|
|
||||||
}
|
|
||||||
this.isSubmit = false
|
|
||||||
})
|
|
||||||
},
|
|
||||||
handleSubmitNo () {
|
|
||||||
if (this.commentText4) {
|
|
||||||
this.isSubmit = true
|
|
||||||
var json = this.json
|
|
||||||
json.resolveFlag = 2
|
|
||||||
json.commentText = this.commentText4
|
|
||||||
this.$http.post('lawss/activiti/completeTask', {
|
|
||||||
json: JSON.stringify(json),
|
|
||||||
taskId: this.taskIds,
|
|
||||||
userId: this.$store.getters.userInfo.account
|
|
||||||
}, {}, res => {
|
|
||||||
if (res.success) {
|
|
||||||
this.$message.success('驳回成功')
|
|
||||||
// hwh5.close()
|
|
||||||
this.$router.go(-2)
|
|
||||||
// this.$router.push('/processCenter')
|
|
||||||
}
|
|
||||||
this.isSubmit = false
|
|
||||||
})
|
|
||||||
} else {
|
|
||||||
this.$message.warning('请输入反馈意见')
|
|
||||||
}
|
|
||||||
},
|
|
||||||
getData() {
|
|
||||||
return new Promise((resolve, reject) => {
|
|
||||||
inboundLiaisonDetail({
|
|
||||||
taskIds: this.taskIds,
|
|
||||||
pId: this.pId
|
|
||||||
}).then(res => {
|
|
||||||
let data = JSON.parse(res.mesg)
|
|
||||||
this.form.endTime = data.endTime || data.form.endTime
|
|
||||||
this.form.itemsNum = data.itemsNum || data.form.itemsNum
|
|
||||||
this.form.itemsName = data.itemsName || data.form.itemsName
|
|
||||||
this.commentText4 = data.commentText4 || ''
|
|
||||||
if (data.form) {
|
|
||||||
this.form.itemsName1 = data.form.itemsName1 || "";
|
|
||||||
this.form.itemsNum1 = data.form.itemsNum1 || "";
|
|
||||||
} else {
|
|
||||||
this.form.itemsName1 = data.itemsName1 || "";
|
|
||||||
this.form.itemsNum1 = data.itemsNum1 || "";
|
|
||||||
}
|
|
||||||
this.sarType = data.standInData || data.sarType;
|
|
||||||
this.json = data;
|
|
||||||
this.itemLists = data.itemList;
|
|
||||||
this.itemList = this.itemLists.slice(this.tableIndex, 20);
|
|
||||||
this.itemList.forEach(item => {
|
|
||||||
if (item.complianceRequir === "1") {
|
|
||||||
item.complianceRequirShow = "符合";
|
|
||||||
} else {
|
|
||||||
item.complianceRequirShow = "不符合";
|
|
||||||
}
|
|
||||||
});
|
|
||||||
this.loading = false;
|
|
||||||
}).catch(e => {
|
|
||||||
})
|
|
||||||
})
|
|
||||||
},
|
|
||||||
},
|
|
||||||
mounted () {
|
|
||||||
this.getHistoryData()
|
|
||||||
this.getData()
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
components: {
|
||||||
|
[Dialog.Component.name]: Dialog.Component,
|
||||||
|
ProcessHeaderPhone,
|
||||||
|
ProcessFooter,
|
||||||
|
ProcessTitle
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
tableLoading () {
|
||||||
|
this.tableIndex++
|
||||||
|
const index = this.tableIndex * 20
|
||||||
|
const endIndex = index + 20
|
||||||
|
if (this.tableIndex * 20 > this.itemLists.length) {
|
||||||
|
this.$message.warning('没有更多了')
|
||||||
|
}
|
||||||
|
const newData = this.itemLists.slice(index, endIndex)
|
||||||
|
this.itemList = this.itemList.concat(newData)
|
||||||
|
},
|
||||||
|
dialogOk () {
|
||||||
|
this.dialogMadal = false
|
||||||
|
},
|
||||||
|
handleTransfer() {
|
||||||
|
this.drawerModal = true
|
||||||
|
},
|
||||||
|
checkedRole (data) {
|
||||||
|
this.isSubmit = true
|
||||||
|
changeAssigneeNew({
|
||||||
|
taskId: this.$route.query.taskIds, // 任务id
|
||||||
|
userId:this.$store.getters.userInfo.account, // 委托人
|
||||||
|
assignee: data[0].id, // 被委托人
|
||||||
|
pId: this.$route.query.prcId, // 流程实例
|
||||||
|
}).then(res => {
|
||||||
|
if (res.success) {
|
||||||
|
this.drawerModal = false
|
||||||
|
this.$message.success('调整成功')
|
||||||
|
this.processNum()
|
||||||
|
// hwh5.close()
|
||||||
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
|
// this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
||||||
|
} else {
|
||||||
|
this.$message.warning(res.message)
|
||||||
|
}
|
||||||
|
}).finally(() => {
|
||||||
|
this.isSubmit = false
|
||||||
|
})
|
||||||
|
},
|
||||||
|
// 请求转换流程图
|
||||||
|
processNum (row) {
|
||||||
|
axios.request({
|
||||||
|
url: '/api/lawss/activiti/getImg?_t=' + new Date().getTime(),
|
||||||
|
responseType: 'blob',
|
||||||
|
method: 'get',
|
||||||
|
params: {
|
||||||
|
prcNum: this.$route.query.prcNum
|
||||||
|
}
|
||||||
|
}).then(res => {
|
||||||
|
this.processStep = window.URL.createObjectURL(res.data)
|
||||||
|
})
|
||||||
|
},
|
||||||
|
//折叠/展开基础信息方法
|
||||||
|
foldForm() {
|
||||||
|
this.foldFormFlag = !this.foldFormFlag
|
||||||
|
},
|
||||||
|
itermsConditionsClose () {
|
||||||
|
this.itermsConditionsFlag = false
|
||||||
|
},
|
||||||
|
itermsConditionsOpen (row) {
|
||||||
|
this.dialogMadal = true
|
||||||
|
this.itermsConditionsTitle = row
|
||||||
|
},
|
||||||
|
checkBD (id,id2,itemsNum) {
|
||||||
|
const itemsEoPage = {
|
||||||
|
oldItemId: id,
|
||||||
|
newItemId: id2,
|
||||||
|
flag: 1
|
||||||
|
}
|
||||||
|
if (!id || !id2) {
|
||||||
|
this.$message.warning('暂无找到相似的文本')
|
||||||
|
return
|
||||||
|
}
|
||||||
|
this.$http.post('lawss/sarStandCompareHis/clauseComparison', itemsEoPage, {
|
||||||
|
_this: this
|
||||||
|
}, res => {
|
||||||
|
if (res.data.leftString === '' && res.data.rightString === '') {
|
||||||
|
this.$message.warning('暂无找到相似的文本')
|
||||||
|
} else {
|
||||||
|
this.itemsNum = itemsNum
|
||||||
|
this.leftData = res.data.leftString
|
||||||
|
this.rightData = res.data.rightString
|
||||||
|
this.BDmodel = true
|
||||||
|
this.similarityDegree = res.data.similarityDegree
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
|
getHistoryData () {
|
||||||
|
this.$http.get('lawss/activiti/get_list_by_instance', {
|
||||||
|
prcNum: this.$route.query.prcNum,
|
||||||
|
}, {}, res => {
|
||||||
|
this.histortData = res
|
||||||
|
}, e => {})
|
||||||
|
},
|
||||||
|
handleTabs(name) {
|
||||||
|
this.active = name
|
||||||
|
},
|
||||||
|
handleSubmit() {
|
||||||
|
this.isSubmit = true
|
||||||
|
const json = this.json
|
||||||
|
json.resolveFlag = 1
|
||||||
|
json.commentText = this.commentText4
|
||||||
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
|
json: JSON.stringify(json),
|
||||||
|
taskId: this.taskIds,
|
||||||
|
userId: this.$store.getters.userInfo.account
|
||||||
|
}, {}, res => {
|
||||||
|
if (res.success) {
|
||||||
|
this.$message.success('提交成功')
|
||||||
|
// hwh5.close()
|
||||||
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
|
// this.$router.push('/processCenter')
|
||||||
|
}
|
||||||
|
this.isSubmit = false
|
||||||
|
})
|
||||||
|
},
|
||||||
|
handleSubmitNo () {
|
||||||
|
if (this.commentText4) {
|
||||||
|
this.isSubmit = true
|
||||||
|
const json = this.json
|
||||||
|
json.resolveFlag = 2
|
||||||
|
json.commentText = this.commentText4
|
||||||
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
|
json: JSON.stringify(json),
|
||||||
|
taskId: this.taskIds,
|
||||||
|
userId: this.$store.getters.userInfo.account
|
||||||
|
}, {}, res => {
|
||||||
|
if (res.success) {
|
||||||
|
this.$message.success('驳回成功')
|
||||||
|
// hwh5.close()
|
||||||
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
|
// this.$router.push('/processCenter')
|
||||||
|
}
|
||||||
|
this.isSubmit = false
|
||||||
|
})
|
||||||
|
} else {
|
||||||
|
this.$message.warning('请输入反馈意见')
|
||||||
|
}
|
||||||
|
},
|
||||||
|
getData() {
|
||||||
|
return new Promise((resolve, reject) => {
|
||||||
|
inboundLiaisonDetail({
|
||||||
|
taskIds: this.taskIds,
|
||||||
|
pId: this.pId
|
||||||
|
}).then(res => {
|
||||||
|
const data = JSON.parse(res.mesg)
|
||||||
|
this.form.endTime = data.endTime || data.form.endTime
|
||||||
|
this.form.itemsNum = data.itemsNum || data.form.itemsNum
|
||||||
|
this.form.itemsName = data.itemsName || data.form.itemsName
|
||||||
|
this.commentText4 = data.commentText4 || ''
|
||||||
|
if (data.form) {
|
||||||
|
this.form.itemsName1 = data.form.itemsName1 || '';
|
||||||
|
this.form.itemsNum1 = data.form.itemsNum1 || '';
|
||||||
|
} else {
|
||||||
|
this.form.itemsName1 = data.itemsName1 || '';
|
||||||
|
this.form.itemsNum1 = data.itemsNum1 || '';
|
||||||
|
}
|
||||||
|
this.sarType = data.standInData || data.sarType;
|
||||||
|
this.json = data;
|
||||||
|
this.itemLists = data.itemList;
|
||||||
|
this.itemList = this.itemLists.slice(this.tableIndex, 20);
|
||||||
|
this.itemList.forEach(item => {
|
||||||
|
if (item.complianceRequir === '1') {
|
||||||
|
item.complianceRequirShow = '符合';
|
||||||
|
} else {
|
||||||
|
item.complianceRequirShow = '不符合';
|
||||||
|
}
|
||||||
|
});
|
||||||
|
this.loading = false;
|
||||||
|
}).catch(e => {
|
||||||
|
})
|
||||||
|
})
|
||||||
|
},
|
||||||
|
},
|
||||||
|
mounted () {
|
||||||
|
this.getHistoryData()
|
||||||
|
this.getData()
|
||||||
|
},
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="less" scoped>
|
<style lang="less" scoped>
|
||||||
|
|||||||
@@ -260,236 +260,239 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { Dialog } from "vant";
|
import { Dialog } from 'vant';
|
||||||
import ProcessHeaderPhone from "../../components/ProcessHeaderPhone";
|
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone';
|
||||||
import ProcessFooter from "../../components/ProcessFooter";
|
import ProcessFooter from '../../components/ProcessFooter';
|
||||||
import ProcessTitle from "../../components/ProcessTitle";
|
import ProcessTitle from '../../components/ProcessTitle';
|
||||||
import { changeAssigneeNew, inboundLiaisonDetail } from "api/process";
|
import { changeAssigneeNew, inboundLiaisonDetail } from 'api/process';
|
||||||
import hwh5 from '@/api/hwh5-cloudonline.js'
|
import hwh5 from '@/api/hwh5-cloudonline.js'
|
||||||
import axios from "axios";
|
import axios from 'axios';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "phoneBzjdStep5",
|
name: 'phoneBzjdStep5',
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
BDmodel: false,
|
BDmodel: false,
|
||||||
itemsNum: "",
|
itemsNum: '',
|
||||||
similarityDegree: "",
|
similarityDegree: '',
|
||||||
leftData: "",
|
leftData: '',
|
||||||
rightData: "",
|
rightData: '',
|
||||||
commentText5: "",
|
commentText5: '',
|
||||||
tableIndex: 0,
|
tableIndex: 0,
|
||||||
itemLists: [],
|
itemLists: [],
|
||||||
dialogMadal: false,
|
dialogMadal: false,
|
||||||
drawerModal: false,
|
drawerModal: false,
|
||||||
//折叠的标志,true为折叠,false为不折叠
|
//折叠的标志,true为折叠,false为不折叠
|
||||||
foldFormFlag: false,
|
foldFormFlag: false,
|
||||||
itermsConditionsFlag: false,
|
itermsConditionsFlag: false,
|
||||||
itermsConditionsTitle: '',
|
itermsConditionsTitle: '',
|
||||||
histortData: [],
|
histortData: [],
|
||||||
sarType: '',
|
sarType: '',
|
||||||
itemList: [],
|
itemList: [],
|
||||||
loading: true,
|
loading: true,
|
||||||
taskIds: this.$route.query.taskIds,
|
taskIds: this.$route.query.taskIds,
|
||||||
pId: this.$route.query.prcId,
|
pId: this.$route.query.prcId,
|
||||||
textarea: '', // 意见
|
textarea: '', // 意见
|
||||||
active: '1', // 默认显示
|
active: '1', // 默认显示
|
||||||
isSubmit: false,
|
isSubmit: false,
|
||||||
saveLoading: false,
|
saveLoading: false,
|
||||||
form: {
|
form: {
|
||||||
itemsNum: '',
|
itemsNum: '',
|
||||||
itemsName: '',
|
itemsName: '',
|
||||||
itemsNum1: '',
|
itemsNum1: '',
|
||||||
itemsName1: '',
|
itemsName1: '',
|
||||||
},
|
},
|
||||||
json: {},
|
json: {},
|
||||||
}
|
|
||||||
},
|
|
||||||
components: {
|
|
||||||
[Dialog.Component.name]: Dialog.Component,
|
|
||||||
ProcessHeaderPhone,
|
|
||||||
ProcessFooter,
|
|
||||||
ProcessTitle
|
|
||||||
},
|
|
||||||
methods: {
|
|
||||||
tableLoading () {
|
|
||||||
this.tableIndex++
|
|
||||||
let index = this.tableIndex * 20
|
|
||||||
let endIndex = index + 20
|
|
||||||
if (this.tableIndex * 20 > this.itemLists.length) {
|
|
||||||
this.$message.warning('没有更多了')
|
|
||||||
}
|
|
||||||
let newData = this.itemLists.slice(index, endIndex)
|
|
||||||
this.itemList = this.itemList.concat(newData)
|
|
||||||
},
|
|
||||||
dialogOk () {
|
|
||||||
this.dialogMadal = false
|
|
||||||
},
|
|
||||||
handleTransfer() {
|
|
||||||
this.drawerModal = true
|
|
||||||
},
|
|
||||||
checkedRole (data) {
|
|
||||||
this.isSubmit = true
|
|
||||||
changeAssigneeNew({
|
|
||||||
taskId: this.$route.query.taskIds, // 任务id
|
|
||||||
userId:this.$store.getters.userInfo.account, // 委托人
|
|
||||||
assignee: data[0].id, // 被委托人
|
|
||||||
pId: this.$route.query.prcId, // 流程实例
|
|
||||||
}).then(res => {
|
|
||||||
if (res.success) {
|
|
||||||
this.drawerModal = false
|
|
||||||
this.$message.success('调整成功')
|
|
||||||
this.processNum()
|
|
||||||
// hwh5.close()
|
|
||||||
this.$router.go(-2)
|
|
||||||
// this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
|
||||||
} else {
|
|
||||||
this.$message.warning(res.message)
|
|
||||||
}
|
|
||||||
}).finally(() => {
|
|
||||||
this.isSubmit = false
|
|
||||||
})
|
|
||||||
},
|
|
||||||
// 请求转换流程图
|
|
||||||
processNum (row) {
|
|
||||||
axios.request({
|
|
||||||
url: '/api/lawss/activiti/getImg?_t=' + new Date().getTime(),
|
|
||||||
responseType: 'blob',
|
|
||||||
method: 'get',
|
|
||||||
params: {
|
|
||||||
prcNum: this.$route.query.prcNum
|
|
||||||
}
|
|
||||||
}).then(res => {
|
|
||||||
this.processStep = window.URL.createObjectURL(res.data)
|
|
||||||
})
|
|
||||||
},
|
|
||||||
//折叠/展开基础信息方法
|
|
||||||
foldForm() {
|
|
||||||
this.foldFormFlag = !this.foldFormFlag
|
|
||||||
},
|
|
||||||
itermsConditionsClose () {
|
|
||||||
this.itermsConditionsFlag = false
|
|
||||||
},
|
|
||||||
itermsConditionsOpen (row) {
|
|
||||||
this.dialogMadal = true
|
|
||||||
this.itermsConditionsTitle = row
|
|
||||||
},
|
|
||||||
checkBD (id,id2,itemsNum) {
|
|
||||||
let itemsEoPage = {
|
|
||||||
oldItemId: id,
|
|
||||||
newItemId: id2,
|
|
||||||
flag: 1
|
|
||||||
}
|
|
||||||
if (!id || !id2) {
|
|
||||||
this.$message.warning('暂无找到相似的文本')
|
|
||||||
return
|
|
||||||
}
|
|
||||||
this.$http.post('lawss/sarStandCompareHis/clauseComparison', itemsEoPage, {
|
|
||||||
_this: this
|
|
||||||
}, res => {
|
|
||||||
if (res.data.leftString === '' && res.data.rightString === '') {
|
|
||||||
this.$message.warning('暂无找到相似的文本')
|
|
||||||
} else {
|
|
||||||
this.itemsNum = itemsNum
|
|
||||||
this.leftData = res.data.leftString
|
|
||||||
this.rightData = res.data.rightString
|
|
||||||
this.BDmodel = true
|
|
||||||
this.similarityDegree = res.data.similarityDegree
|
|
||||||
}
|
|
||||||
})
|
|
||||||
},
|
|
||||||
getHistoryData () {
|
|
||||||
this.$http.get('lawss/activiti/get_list_by_instance', {
|
|
||||||
prcNum: this.$route.query.prcNum,
|
|
||||||
}, {}, res => {
|
|
||||||
this.histortData = res
|
|
||||||
}, e => {})
|
|
||||||
},
|
|
||||||
handleTabs(name) {
|
|
||||||
this.active = name
|
|
||||||
},
|
|
||||||
handleSubmit() {
|
|
||||||
this.isSubmit = true
|
|
||||||
var json = this.json
|
|
||||||
json.zrApplyFlag = 1
|
|
||||||
json.commentText = this.commentText5
|
|
||||||
this.$http.post('lawss/activiti/completeTask', {
|
|
||||||
json: JSON.stringify(json),
|
|
||||||
taskId: this.taskIds,
|
|
||||||
userId: this.$store.getters.userInfo.account
|
|
||||||
}, {}, res => {
|
|
||||||
if (res.success) {
|
|
||||||
this.$message.success('提交成功')
|
|
||||||
// hwh5.close()
|
|
||||||
this.$router.go(-2)
|
|
||||||
// this.$router.push('/processCenter')
|
|
||||||
}
|
|
||||||
this.isSubmit = false
|
|
||||||
})
|
|
||||||
},
|
|
||||||
handleSubmitNo () {
|
|
||||||
if (this.commentText5) {
|
|
||||||
this.isSubmit = true
|
|
||||||
var json = this.json
|
|
||||||
json.zrApplyFlag = 2
|
|
||||||
json.commentText = this.commentText5
|
|
||||||
this.$http.post('lawss/activiti/completeTask', {
|
|
||||||
json: JSON.stringify(json),
|
|
||||||
taskId: this.taskIds,
|
|
||||||
userId: this.$store.getters.userInfo.account
|
|
||||||
}, {}, res => {
|
|
||||||
if (res.success) {
|
|
||||||
this.$message.success('驳回成功')
|
|
||||||
// hwh5.close()
|
|
||||||
this.$router.go(-2)
|
|
||||||
// this.$router.push('/processCenter')
|
|
||||||
}
|
|
||||||
this.isSubmit = false
|
|
||||||
})
|
|
||||||
} else {
|
|
||||||
this.$message.warning('请输入反馈意见')
|
|
||||||
}
|
|
||||||
},
|
|
||||||
getData() {
|
|
||||||
return new Promise((resolve, reject) => {
|
|
||||||
inboundLiaisonDetail({
|
|
||||||
taskIds: this.taskIds,
|
|
||||||
pId: this.pId
|
|
||||||
}).then(res => {
|
|
||||||
let data = JSON.parse(res.mesg)
|
|
||||||
this.form.endTime = data.endTime || data.form.endTime
|
|
||||||
this.form.itemsNum = data.itemsNum || data.form.itemsNum
|
|
||||||
this.form.itemsName = data.itemsName || data.form.itemsName
|
|
||||||
this.commentText5 = data.commentText5 || ''
|
|
||||||
if (data.form) {
|
|
||||||
this.form.itemsName1 = data.form.itemsName1 || "";
|
|
||||||
this.form.itemsNum1 = data.form.itemsNum1 || "";
|
|
||||||
} else {
|
|
||||||
this.form.itemsName1 = data.itemsName1 || "";
|
|
||||||
this.form.itemsNum1 = data.itemsNum1 || "";
|
|
||||||
}
|
|
||||||
this.sarType = data.standInData || data.sarType;
|
|
||||||
this.json = data;
|
|
||||||
this.itemLists = data.itemList;
|
|
||||||
this.itemList = this.itemLists.slice(this.tableIndex, 20);
|
|
||||||
this.itemList.forEach(item => {
|
|
||||||
if (item.complianceRequir === "1") {
|
|
||||||
item.complianceRequirShow = "符合";
|
|
||||||
} else {
|
|
||||||
item.complianceRequirShow = "不符合";
|
|
||||||
}
|
|
||||||
});
|
|
||||||
this.loading = false;
|
|
||||||
}).catch(e => {
|
|
||||||
})
|
|
||||||
})
|
|
||||||
},
|
|
||||||
},
|
|
||||||
mounted () {
|
|
||||||
this.getHistoryData()
|
|
||||||
this.getData()
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
components: {
|
||||||
|
[Dialog.Component.name]: Dialog.Component,
|
||||||
|
ProcessHeaderPhone,
|
||||||
|
ProcessFooter,
|
||||||
|
ProcessTitle
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
tableLoading () {
|
||||||
|
this.tableIndex++
|
||||||
|
const index = this.tableIndex * 20
|
||||||
|
const endIndex = index + 20
|
||||||
|
if (this.tableIndex * 20 > this.itemLists.length) {
|
||||||
|
this.$message.warning('没有更多了')
|
||||||
|
}
|
||||||
|
const newData = this.itemLists.slice(index, endIndex)
|
||||||
|
this.itemList = this.itemList.concat(newData)
|
||||||
|
},
|
||||||
|
dialogOk () {
|
||||||
|
this.dialogMadal = false
|
||||||
|
},
|
||||||
|
handleTransfer() {
|
||||||
|
this.drawerModal = true
|
||||||
|
},
|
||||||
|
checkedRole (data) {
|
||||||
|
this.isSubmit = true
|
||||||
|
changeAssigneeNew({
|
||||||
|
taskId: this.$route.query.taskIds, // 任务id
|
||||||
|
userId:this.$store.getters.userInfo.account, // 委托人
|
||||||
|
assignee: data[0].id, // 被委托人
|
||||||
|
pId: this.$route.query.prcId, // 流程实例
|
||||||
|
}).then(res => {
|
||||||
|
if (res.success) {
|
||||||
|
this.drawerModal = false
|
||||||
|
this.$message.success('调整成功')
|
||||||
|
this.processNum()
|
||||||
|
// hwh5.close()
|
||||||
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
|
// this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
||||||
|
} else {
|
||||||
|
this.$message.warning(res.message)
|
||||||
|
}
|
||||||
|
}).finally(() => {
|
||||||
|
this.isSubmit = false
|
||||||
|
})
|
||||||
|
},
|
||||||
|
// 请求转换流程图
|
||||||
|
processNum (row) {
|
||||||
|
axios.request({
|
||||||
|
url: '/api/lawss/activiti/getImg?_t=' + new Date().getTime(),
|
||||||
|
responseType: 'blob',
|
||||||
|
method: 'get',
|
||||||
|
params: {
|
||||||
|
prcNum: this.$route.query.prcNum
|
||||||
|
}
|
||||||
|
}).then(res => {
|
||||||
|
this.processStep = window.URL.createObjectURL(res.data)
|
||||||
|
})
|
||||||
|
},
|
||||||
|
//折叠/展开基础信息方法
|
||||||
|
foldForm() {
|
||||||
|
this.foldFormFlag = !this.foldFormFlag
|
||||||
|
},
|
||||||
|
itermsConditionsClose () {
|
||||||
|
this.itermsConditionsFlag = false
|
||||||
|
},
|
||||||
|
itermsConditionsOpen (row) {
|
||||||
|
this.dialogMadal = true
|
||||||
|
this.itermsConditionsTitle = row
|
||||||
|
},
|
||||||
|
checkBD (id,id2,itemsNum) {
|
||||||
|
const itemsEoPage = {
|
||||||
|
oldItemId: id,
|
||||||
|
newItemId: id2,
|
||||||
|
flag: 1
|
||||||
|
}
|
||||||
|
if (!id || !id2) {
|
||||||
|
this.$message.warning('暂无找到相似的文本')
|
||||||
|
return
|
||||||
|
}
|
||||||
|
this.$http.post('lawss/sarStandCompareHis/clauseComparison', itemsEoPage, {
|
||||||
|
_this: this
|
||||||
|
}, res => {
|
||||||
|
if (res.data.leftString === '' && res.data.rightString === '') {
|
||||||
|
this.$message.warning('暂无找到相似的文本')
|
||||||
|
} else {
|
||||||
|
this.itemsNum = itemsNum
|
||||||
|
this.leftData = res.data.leftString
|
||||||
|
this.rightData = res.data.rightString
|
||||||
|
this.BDmodel = true
|
||||||
|
this.similarityDegree = res.data.similarityDegree
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
|
getHistoryData () {
|
||||||
|
this.$http.get('lawss/activiti/get_list_by_instance', {
|
||||||
|
prcNum: this.$route.query.prcNum,
|
||||||
|
}, {}, res => {
|
||||||
|
this.histortData = res
|
||||||
|
}, e => {})
|
||||||
|
},
|
||||||
|
handleTabs(name) {
|
||||||
|
this.active = name
|
||||||
|
},
|
||||||
|
handleSubmit() {
|
||||||
|
this.isSubmit = true
|
||||||
|
const json = this.json
|
||||||
|
json.zrApplyFlag = 1
|
||||||
|
json.commentText = this.commentText5
|
||||||
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
|
json: JSON.stringify(json),
|
||||||
|
taskId: this.taskIds,
|
||||||
|
userId: this.$store.getters.userInfo.account
|
||||||
|
}, {}, res => {
|
||||||
|
if (res.success) {
|
||||||
|
this.$message.success('提交成功')
|
||||||
|
// hwh5.close()
|
||||||
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
|
// this.$router.push('/processCenter')
|
||||||
|
}
|
||||||
|
this.isSubmit = false
|
||||||
|
})
|
||||||
|
},
|
||||||
|
handleSubmitNo () {
|
||||||
|
if (this.commentText5) {
|
||||||
|
this.isSubmit = true
|
||||||
|
const json = this.json
|
||||||
|
json.zrApplyFlag = 2
|
||||||
|
json.commentText = this.commentText5
|
||||||
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
|
json: JSON.stringify(json),
|
||||||
|
taskId: this.taskIds,
|
||||||
|
userId: this.$store.getters.userInfo.account
|
||||||
|
}, {}, res => {
|
||||||
|
if (res.success) {
|
||||||
|
this.$message.success('驳回成功')
|
||||||
|
// hwh5.close()
|
||||||
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
|
// this.$router.push('/processCenter')
|
||||||
|
}
|
||||||
|
this.isSubmit = false
|
||||||
|
})
|
||||||
|
} else {
|
||||||
|
this.$message.warning('请输入反馈意见')
|
||||||
|
}
|
||||||
|
},
|
||||||
|
getData() {
|
||||||
|
return new Promise((resolve, reject) => {
|
||||||
|
inboundLiaisonDetail({
|
||||||
|
taskIds: this.taskIds,
|
||||||
|
pId: this.pId
|
||||||
|
}).then(res => {
|
||||||
|
const data = JSON.parse(res.mesg)
|
||||||
|
this.form.endTime = data.endTime || data.form.endTime
|
||||||
|
this.form.itemsNum = data.itemsNum || data.form.itemsNum
|
||||||
|
this.form.itemsName = data.itemsName || data.form.itemsName
|
||||||
|
this.commentText5 = data.commentText5 || ''
|
||||||
|
if (data.form) {
|
||||||
|
this.form.itemsName1 = data.form.itemsName1 || '';
|
||||||
|
this.form.itemsNum1 = data.form.itemsNum1 || '';
|
||||||
|
} else {
|
||||||
|
this.form.itemsName1 = data.itemsName1 || '';
|
||||||
|
this.form.itemsNum1 = data.itemsNum1 || '';
|
||||||
|
}
|
||||||
|
this.sarType = data.standInData || data.sarType;
|
||||||
|
this.json = data;
|
||||||
|
this.itemLists = data.itemList;
|
||||||
|
this.itemList = this.itemLists.slice(this.tableIndex, 20);
|
||||||
|
this.itemList.forEach(item => {
|
||||||
|
if (item.complianceRequir === '1') {
|
||||||
|
item.complianceRequirShow = '符合';
|
||||||
|
} else {
|
||||||
|
item.complianceRequirShow = '不符合';
|
||||||
|
}
|
||||||
|
});
|
||||||
|
this.loading = false;
|
||||||
|
}).catch(e => {
|
||||||
|
})
|
||||||
|
})
|
||||||
|
},
|
||||||
|
},
|
||||||
|
mounted () {
|
||||||
|
this.getHistoryData()
|
||||||
|
this.getData()
|
||||||
|
},
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="less" scoped>
|
<style lang="less" scoped>
|
||||||
|
|||||||
@@ -258,236 +258,239 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { Dialog } from "vant";
|
import { Dialog } from 'vant';
|
||||||
import ProcessHeaderPhone from "../../components/ProcessHeaderPhone";
|
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone';
|
||||||
import ProcessFooter from "../../components/ProcessFooter";
|
import ProcessFooter from '../../components/ProcessFooter';
|
||||||
import ProcessTitle from "../../components/ProcessTitle";
|
import ProcessTitle from '../../components/ProcessTitle';
|
||||||
import { changeAssigneeNew, inboundLiaisonDetail } from "api/process";
|
import { changeAssigneeNew, inboundLiaisonDetail } from 'api/process';
|
||||||
import hwh5 from '@/api/hwh5-cloudonline.js'
|
import hwh5 from '@/api/hwh5-cloudonline.js'
|
||||||
import axios from "axios";
|
import axios from 'axios';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "phoneBzjdStep6",
|
name: 'phoneBzjdStep6',
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
commentText6: "",
|
commentText6: '',
|
||||||
BDmodel: false,
|
BDmodel: false,
|
||||||
itemsNum: "",
|
itemsNum: '',
|
||||||
similarityDegree: "",
|
similarityDegree: '',
|
||||||
leftData: "",
|
leftData: '',
|
||||||
rightData: "",
|
rightData: '',
|
||||||
tableIndex: 0,
|
tableIndex: 0,
|
||||||
itemLists: [],
|
itemLists: [],
|
||||||
dialogMadal: false,
|
dialogMadal: false,
|
||||||
drawerModal: false,
|
drawerModal: false,
|
||||||
//折叠的标志,true为折叠,false为不折叠
|
//折叠的标志,true为折叠,false为不折叠
|
||||||
foldFormFlag: false,
|
foldFormFlag: false,
|
||||||
itermsConditionsFlag: false,
|
itermsConditionsFlag: false,
|
||||||
itermsConditionsTitle: '',
|
itermsConditionsTitle: '',
|
||||||
histortData: [],
|
histortData: [],
|
||||||
sarType: '',
|
sarType: '',
|
||||||
itemList: [],
|
itemList: [],
|
||||||
loading: true,
|
loading: true,
|
||||||
taskIds: this.$route.query.taskIds,
|
taskIds: this.$route.query.taskIds,
|
||||||
pId: this.$route.query.prcId,
|
pId: this.$route.query.prcId,
|
||||||
textarea: '', // 意见
|
textarea: '', // 意见
|
||||||
active: '1', // 默认显示
|
active: '1', // 默认显示
|
||||||
isSubmit: false,
|
isSubmit: false,
|
||||||
saveLoading: false,
|
saveLoading: false,
|
||||||
form: {
|
form: {
|
||||||
itemsNum: '',
|
itemsNum: '',
|
||||||
itemsName: '',
|
itemsName: '',
|
||||||
itemsNum1: '',
|
itemsNum1: '',
|
||||||
itemsName1: '',
|
itemsName1: '',
|
||||||
},
|
},
|
||||||
json: {},
|
json: {},
|
||||||
}
|
|
||||||
},
|
|
||||||
components: {
|
|
||||||
[Dialog.Component.name]: Dialog.Component,
|
|
||||||
ProcessHeaderPhone,
|
|
||||||
ProcessFooter,
|
|
||||||
ProcessTitle
|
|
||||||
},
|
|
||||||
methods: {
|
|
||||||
tableLoading () {
|
|
||||||
this.tableIndex++
|
|
||||||
let index = this.tableIndex * 20
|
|
||||||
let endIndex = index + 20
|
|
||||||
if (this.tableIndex * 20 > this.itemLists.length) {
|
|
||||||
this.$message.warning('没有更多了')
|
|
||||||
}
|
|
||||||
let newData = this.itemLists.slice(index, endIndex)
|
|
||||||
this.itemList = this.itemList.concat(newData)
|
|
||||||
},
|
|
||||||
dialogOk () {
|
|
||||||
this.dialogMadal = false
|
|
||||||
},
|
|
||||||
handleTransfer() {
|
|
||||||
this.drawerModal = true
|
|
||||||
},
|
|
||||||
checkedRole (data) {
|
|
||||||
this.isSubmit = true
|
|
||||||
changeAssigneeNew({
|
|
||||||
taskId: this.$route.query.taskIds, // 任务id
|
|
||||||
userId:this.$store.getters.userInfo.account, // 委托人
|
|
||||||
assignee: data[0].id, // 被委托人
|
|
||||||
pId: this.$route.query.prcId, // 流程实例
|
|
||||||
}).then(res => {
|
|
||||||
if (res.success) {
|
|
||||||
this.drawerModal = false
|
|
||||||
this.$message.success('调整成功')
|
|
||||||
this.processNum()
|
|
||||||
// hwh5.close()
|
|
||||||
this.$router.go(-2)
|
|
||||||
// this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
|
||||||
} else {
|
|
||||||
this.$message.warning(res.message)
|
|
||||||
}
|
|
||||||
}).finally(() => {
|
|
||||||
this.isSubmit = false
|
|
||||||
})
|
|
||||||
},
|
|
||||||
// 请求转换流程图
|
|
||||||
processNum (row) {
|
|
||||||
axios.request({
|
|
||||||
url: '/api/lawss/activiti/getImg?_t=' + new Date().getTime(),
|
|
||||||
responseType: 'blob',
|
|
||||||
method: 'get',
|
|
||||||
params: {
|
|
||||||
prcNum: this.$route.query.prcNum
|
|
||||||
}
|
|
||||||
}).then(res => {
|
|
||||||
this.processStep = window.URL.createObjectURL(res.data)
|
|
||||||
})
|
|
||||||
},
|
|
||||||
//折叠/展开基础信息方法
|
|
||||||
foldForm() {
|
|
||||||
this.foldFormFlag = !this.foldFormFlag
|
|
||||||
},
|
|
||||||
itermsConditionsClose () {
|
|
||||||
this.itermsConditionsFlag = false
|
|
||||||
},
|
|
||||||
itermsConditionsOpen (row) {
|
|
||||||
this.dialogMadal = true
|
|
||||||
this.itermsConditionsTitle = row
|
|
||||||
},
|
|
||||||
checkBD (id,id2,itemsNum) {
|
|
||||||
let itemsEoPage = {
|
|
||||||
oldItemId: id,
|
|
||||||
newItemId: id2,
|
|
||||||
flag: 1
|
|
||||||
}
|
|
||||||
if (!id || !id2) {
|
|
||||||
this.$message.warning('暂无找到相似的文本')
|
|
||||||
return
|
|
||||||
}
|
|
||||||
this.$http.post('lawss/sarStandCompareHis/clauseComparison', itemsEoPage, {
|
|
||||||
_this: this
|
|
||||||
}, res => {
|
|
||||||
if (res.data.leftString === '' && res.data.rightString === '') {
|
|
||||||
this.$message.warning('暂无找到相似的文本')
|
|
||||||
} else {
|
|
||||||
this.itemsNum = itemsNum
|
|
||||||
this.leftData = res.data.leftString
|
|
||||||
this.rightData = res.data.rightString
|
|
||||||
this.BDmodel = true
|
|
||||||
this.similarityDegree = res.data.similarityDegree
|
|
||||||
}
|
|
||||||
})
|
|
||||||
},
|
|
||||||
getHistoryData () {
|
|
||||||
this.$http.get('lawss/activiti/get_list_by_instance', {
|
|
||||||
prcNum: this.$route.query.prcNum,
|
|
||||||
}, {}, res => {
|
|
||||||
this.histortData = res
|
|
||||||
}, e => {})
|
|
||||||
},
|
|
||||||
handleTabs(name) {
|
|
||||||
this.active = name
|
|
||||||
},
|
|
||||||
handleSubmit() {
|
|
||||||
this.isSubmit = true
|
|
||||||
var json = this.json
|
|
||||||
json.gcApplyFlag = 1
|
|
||||||
json.commentText = this.commentText6
|
|
||||||
this.$http.post('lawss/activiti/completeTask', {
|
|
||||||
json: JSON.stringify(json),
|
|
||||||
taskId: this.taskIds,
|
|
||||||
userId: this.$store.getters.userInfo.account
|
|
||||||
}, {}, res => {
|
|
||||||
if (res.success) {
|
|
||||||
this.$message.success('提交成功')
|
|
||||||
// hwh5.close()
|
|
||||||
this.$router.go(-2)
|
|
||||||
// this.$router.push('/processCenter')
|
|
||||||
}
|
|
||||||
this.isSubmit = false
|
|
||||||
})
|
|
||||||
},
|
|
||||||
handleSubmitNo () {
|
|
||||||
if (this.commentText6) {
|
|
||||||
this.isSubmit = true
|
|
||||||
var json = this.json
|
|
||||||
json.gcApplyFlag = 2
|
|
||||||
json.commentText = this.commentText6
|
|
||||||
this.$http.post('lawss/activiti/completeTask', {
|
|
||||||
json: JSON.stringify(json),
|
|
||||||
taskId: this.taskIds,
|
|
||||||
userId: this.$store.getters.userInfo.account
|
|
||||||
}, {}, res => {
|
|
||||||
if (res.success) {
|
|
||||||
this.$message.success('驳回成功')
|
|
||||||
// hwh5.close()
|
|
||||||
this.$router.go(-2)
|
|
||||||
// this.$router.push('/processCenter')
|
|
||||||
}
|
|
||||||
this.isSubmit = false
|
|
||||||
})
|
|
||||||
} else {
|
|
||||||
this.$message.warning('请输入反馈意见')
|
|
||||||
}
|
|
||||||
},
|
|
||||||
getData() {
|
|
||||||
return new Promise((resolve, reject) => {
|
|
||||||
inboundLiaisonDetail({
|
|
||||||
taskIds: this.taskIds,
|
|
||||||
pId: this.pId
|
|
||||||
}).then(res => {
|
|
||||||
let data = JSON.parse(res.mesg)
|
|
||||||
this.form.endTime = data.endTime || data.form.endTime
|
|
||||||
this.form.itemsNum = data.itemsNum || data.form.itemsNum
|
|
||||||
this.form.itemsName = data.itemsName || data.form.itemsName
|
|
||||||
this.commentText6 = data.commentText6 || ''
|
|
||||||
if (data.form) {
|
|
||||||
this.form.itemsName1 = data.form.itemsName1 || "";
|
|
||||||
this.form.itemsNum1 = data.form.itemsNum1 || "";
|
|
||||||
} else {
|
|
||||||
this.form.itemsName1 = data.itemsName1 || "";
|
|
||||||
this.form.itemsNum1 = data.itemsNum1 || "";
|
|
||||||
}
|
|
||||||
this.sarType = data.standInData || data.sarType;
|
|
||||||
this.json = data;
|
|
||||||
this.itemLists = data.itemList;
|
|
||||||
this.itemList = this.itemLists.slice(this.tableIndex, 20);
|
|
||||||
this.itemList.forEach(item => {
|
|
||||||
if (item.complianceRequir === "1") {
|
|
||||||
item.complianceRequirShow = "符合";
|
|
||||||
} else {
|
|
||||||
item.complianceRequirShow = "不符合";
|
|
||||||
}
|
|
||||||
});
|
|
||||||
this.loading = false;
|
|
||||||
}).catch(e => {
|
|
||||||
})
|
|
||||||
})
|
|
||||||
},
|
|
||||||
},
|
|
||||||
mounted () {
|
|
||||||
this.getHistoryData()
|
|
||||||
this.getData()
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
components: {
|
||||||
|
[Dialog.Component.name]: Dialog.Component,
|
||||||
|
ProcessHeaderPhone,
|
||||||
|
ProcessFooter,
|
||||||
|
ProcessTitle
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
tableLoading () {
|
||||||
|
this.tableIndex++
|
||||||
|
const index = this.tableIndex * 20
|
||||||
|
const endIndex = index + 20
|
||||||
|
if (this.tableIndex * 20 > this.itemLists.length) {
|
||||||
|
this.$message.warning('没有更多了')
|
||||||
|
}
|
||||||
|
const newData = this.itemLists.slice(index, endIndex)
|
||||||
|
this.itemList = this.itemList.concat(newData)
|
||||||
|
},
|
||||||
|
dialogOk () {
|
||||||
|
this.dialogMadal = false
|
||||||
|
},
|
||||||
|
handleTransfer() {
|
||||||
|
this.drawerModal = true
|
||||||
|
},
|
||||||
|
checkedRole (data) {
|
||||||
|
this.isSubmit = true
|
||||||
|
changeAssigneeNew({
|
||||||
|
taskId: this.$route.query.taskIds, // 任务id
|
||||||
|
userId:this.$store.getters.userInfo.account, // 委托人
|
||||||
|
assignee: data[0].id, // 被委托人
|
||||||
|
pId: this.$route.query.prcId, // 流程实例
|
||||||
|
}).then(res => {
|
||||||
|
if (res.success) {
|
||||||
|
this.drawerModal = false
|
||||||
|
this.$message.success('调整成功')
|
||||||
|
this.processNum()
|
||||||
|
// hwh5.close()
|
||||||
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
|
// this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
||||||
|
} else {
|
||||||
|
this.$message.warning(res.message)
|
||||||
|
}
|
||||||
|
}).finally(() => {
|
||||||
|
this.isSubmit = false
|
||||||
|
})
|
||||||
|
},
|
||||||
|
// 请求转换流程图
|
||||||
|
processNum (row) {
|
||||||
|
axios.request({
|
||||||
|
url: '/api/lawss/activiti/getImg?_t=' + new Date().getTime(),
|
||||||
|
responseType: 'blob',
|
||||||
|
method: 'get',
|
||||||
|
params: {
|
||||||
|
prcNum: this.$route.query.prcNum
|
||||||
|
}
|
||||||
|
}).then(res => {
|
||||||
|
this.processStep = window.URL.createObjectURL(res.data)
|
||||||
|
})
|
||||||
|
},
|
||||||
|
//折叠/展开基础信息方法
|
||||||
|
foldForm() {
|
||||||
|
this.foldFormFlag = !this.foldFormFlag
|
||||||
|
},
|
||||||
|
itermsConditionsClose () {
|
||||||
|
this.itermsConditionsFlag = false
|
||||||
|
},
|
||||||
|
itermsConditionsOpen (row) {
|
||||||
|
this.dialogMadal = true
|
||||||
|
this.itermsConditionsTitle = row
|
||||||
|
},
|
||||||
|
checkBD (id,id2,itemsNum) {
|
||||||
|
const itemsEoPage = {
|
||||||
|
oldItemId: id,
|
||||||
|
newItemId: id2,
|
||||||
|
flag: 1
|
||||||
|
}
|
||||||
|
if (!id || !id2) {
|
||||||
|
this.$message.warning('暂无找到相似的文本')
|
||||||
|
return
|
||||||
|
}
|
||||||
|
this.$http.post('lawss/sarStandCompareHis/clauseComparison', itemsEoPage, {
|
||||||
|
_this: this
|
||||||
|
}, res => {
|
||||||
|
if (res.data.leftString === '' && res.data.rightString === '') {
|
||||||
|
this.$message.warning('暂无找到相似的文本')
|
||||||
|
} else {
|
||||||
|
this.itemsNum = itemsNum
|
||||||
|
this.leftData = res.data.leftString
|
||||||
|
this.rightData = res.data.rightString
|
||||||
|
this.BDmodel = true
|
||||||
|
this.similarityDegree = res.data.similarityDegree
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
|
getHistoryData () {
|
||||||
|
this.$http.get('lawss/activiti/get_list_by_instance', {
|
||||||
|
prcNum: this.$route.query.prcNum,
|
||||||
|
}, {}, res => {
|
||||||
|
this.histortData = res
|
||||||
|
}, e => {})
|
||||||
|
},
|
||||||
|
handleTabs(name) {
|
||||||
|
this.active = name
|
||||||
|
},
|
||||||
|
handleSubmit() {
|
||||||
|
this.isSubmit = true
|
||||||
|
const json = this.json
|
||||||
|
json.gcApplyFlag = 1
|
||||||
|
json.commentText = this.commentText6
|
||||||
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
|
json: JSON.stringify(json),
|
||||||
|
taskId: this.taskIds,
|
||||||
|
userId: this.$store.getters.userInfo.account
|
||||||
|
}, {}, res => {
|
||||||
|
if (res.success) {
|
||||||
|
this.$message.success('提交成功')
|
||||||
|
// hwh5.close()
|
||||||
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
|
// this.$router.push('/processCenter')
|
||||||
|
}
|
||||||
|
this.isSubmit = false
|
||||||
|
})
|
||||||
|
},
|
||||||
|
handleSubmitNo () {
|
||||||
|
if (this.commentText6) {
|
||||||
|
this.isSubmit = true
|
||||||
|
const json = this.json
|
||||||
|
json.gcApplyFlag = 2
|
||||||
|
json.commentText = this.commentText6
|
||||||
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
|
json: JSON.stringify(json),
|
||||||
|
taskId: this.taskIds,
|
||||||
|
userId: this.$store.getters.userInfo.account
|
||||||
|
}, {}, res => {
|
||||||
|
if (res.success) {
|
||||||
|
this.$message.success('驳回成功')
|
||||||
|
// hwh5.close()
|
||||||
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
|
// this.$router.push('/processCenter')
|
||||||
|
}
|
||||||
|
this.isSubmit = false
|
||||||
|
})
|
||||||
|
} else {
|
||||||
|
this.$message.warning('请输入反馈意见')
|
||||||
|
}
|
||||||
|
},
|
||||||
|
getData() {
|
||||||
|
return new Promise((resolve, reject) => {
|
||||||
|
inboundLiaisonDetail({
|
||||||
|
taskIds: this.taskIds,
|
||||||
|
pId: this.pId
|
||||||
|
}).then(res => {
|
||||||
|
const data = JSON.parse(res.mesg)
|
||||||
|
this.form.endTime = data.endTime || data.form.endTime
|
||||||
|
this.form.itemsNum = data.itemsNum || data.form.itemsNum
|
||||||
|
this.form.itemsName = data.itemsName || data.form.itemsName
|
||||||
|
this.commentText6 = data.commentText6 || ''
|
||||||
|
if (data.form) {
|
||||||
|
this.form.itemsName1 = data.form.itemsName1 || '';
|
||||||
|
this.form.itemsNum1 = data.form.itemsNum1 || '';
|
||||||
|
} else {
|
||||||
|
this.form.itemsName1 = data.itemsName1 || '';
|
||||||
|
this.form.itemsNum1 = data.itemsNum1 || '';
|
||||||
|
}
|
||||||
|
this.sarType = data.standInData || data.sarType;
|
||||||
|
this.json = data;
|
||||||
|
this.itemLists = data.itemList;
|
||||||
|
this.itemList = this.itemLists.slice(this.tableIndex, 20);
|
||||||
|
this.itemList.forEach(item => {
|
||||||
|
if (item.complianceRequir === '1') {
|
||||||
|
item.complianceRequirShow = '符合';
|
||||||
|
} else {
|
||||||
|
item.complianceRequirShow = '不符合';
|
||||||
|
}
|
||||||
|
});
|
||||||
|
this.loading = false;
|
||||||
|
}).catch(e => {
|
||||||
|
})
|
||||||
|
})
|
||||||
|
},
|
||||||
|
},
|
||||||
|
mounted () {
|
||||||
|
this.getHistoryData()
|
||||||
|
this.getData()
|
||||||
|
},
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="less" scoped>
|
<style lang="less" scoped>
|
||||||
|
|||||||
@@ -115,12 +115,12 @@ import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
|||||||
import ProcessFooter from '../../components/ProcessFooter'
|
import ProcessFooter from '../../components/ProcessFooter'
|
||||||
import ProcessTitle from '../../components/ProcessTitle'
|
import ProcessTitle from '../../components/ProcessTitle'
|
||||||
import {inboundLiaisonDetail,processCreateStand,changeAssigneeNew} from 'api/process'
|
import {inboundLiaisonDetail,processCreateStand,changeAssigneeNew} from 'api/process'
|
||||||
import axios from "axios";
|
import axios from 'axios';
|
||||||
import hwh5 from '@/api/hwh5-cloudonline.js'
|
import hwh5 from '@/api/hwh5-cloudonline.js'
|
||||||
import ProcessHeader from "process/components/ProcessHeader";
|
import ProcessHeader from 'process/components/ProcessHeader';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "phoneBzpgStep2",
|
name: 'phoneBzpgStep2',
|
||||||
components: {
|
components: {
|
||||||
ProcessHeader,
|
ProcessHeader,
|
||||||
ProcessFooter,
|
ProcessFooter,
|
||||||
@@ -201,14 +201,14 @@ export default {
|
|||||||
},
|
},
|
||||||
// 点击查看
|
// 点击查看
|
||||||
handlePreview(item) {
|
handlePreview(item) {
|
||||||
let routeUrl = this.$router.resolve({
|
const routeUrl = this.$router.resolve({
|
||||||
name: "OtherStandardDetails",
|
name: 'OtherStandardDetails',
|
||||||
params: {
|
params: {
|
||||||
id: item.id,
|
id: item.id,
|
||||||
pageType: "INLAND_STAND"
|
pageType: 'INLAND_STAND'
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
window.open(routeUrl.href, "_blank");
|
window.open(routeUrl.href, '_blank');
|
||||||
},
|
},
|
||||||
//提交
|
//提交
|
||||||
handleSubmit(){
|
handleSubmit(){
|
||||||
@@ -226,7 +226,8 @@ export default {
|
|||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.$message.success(res.message)
|
this.$message.success(res.message)
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push('/processCenter')
|
// this.$router.push('/processCenter')
|
||||||
}
|
}
|
||||||
this.isSubmit = false
|
this.isSubmit = false
|
||||||
@@ -252,7 +253,8 @@ export default {
|
|||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.$message.success(res.message)
|
this.$message.success(res.message)
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push('/processCenter')
|
// this.$router.push('/processCenter')
|
||||||
}
|
}
|
||||||
this.isSubmit = false
|
this.isSubmit = false
|
||||||
@@ -276,7 +278,8 @@ export default {
|
|||||||
this.turnLoading = false
|
this.turnLoading = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push("/processCenter")
|
// this.$router.push("/processCenter")
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
|||||||
@@ -147,7 +147,8 @@ export default {
|
|||||||
this.drawerModal = false
|
this.drawerModal = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
}, 100)
|
}, 100)
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
|||||||
@@ -146,7 +146,8 @@ export default {
|
|||||||
this.drawerModal = false
|
this.drawerModal = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
}, 100)
|
}, 100)
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
|||||||
@@ -146,7 +146,8 @@ export default {
|
|||||||
this.drawerModal = false
|
this.drawerModal = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
}, 100)
|
}, 100)
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
|||||||
@@ -217,12 +217,12 @@ import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
|||||||
import ProcessFooter from '../../components/ProcessFooter'
|
import ProcessFooter from '../../components/ProcessFooter'
|
||||||
import ProcessTitle from '../../components/ProcessTitle'
|
import ProcessTitle from '../../components/ProcessTitle'
|
||||||
import {inboundLiaisonDetail,processCreateStand,changeAssigneeNew} from 'api/process'
|
import {inboundLiaisonDetail,processCreateStand,changeAssigneeNew} from 'api/process'
|
||||||
import axios from "axios";
|
import axios from 'axios';
|
||||||
import ProcessHeader from "process/components/ProcessHeader";
|
import ProcessHeader from 'process/components/ProcessHeader';
|
||||||
import hwh5 from '@/api/hwh5-cloudonline.js'
|
import hwh5 from '@/api/hwh5-cloudonline.js'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "phoneBzpgStep6",
|
name: 'phoneBzpgStep6',
|
||||||
components: {
|
components: {
|
||||||
ProcessHeader,
|
ProcessHeader,
|
||||||
ProcessFooter,
|
ProcessFooter,
|
||||||
@@ -249,48 +249,48 @@ export default {
|
|||||||
processType: 1,
|
processType: 1,
|
||||||
loading: false,
|
loading: false,
|
||||||
dataList: [],//清单里的标准数据
|
dataList: [],//清单里的标准数据
|
||||||
active: "1",
|
active: '1',
|
||||||
userId:this.$store.getters.userInfo.account,
|
userId:this.$store.getters.userInfo.account,
|
||||||
taskIds: this.$route.query.taskIds,
|
taskIds: this.$route.query.taskIds,
|
||||||
pId: this.$route.query.prcId,
|
pId: this.$route.query.prcId,
|
||||||
listType: "country", //选择的清单类型
|
listType: 'country', //选择的清单类型
|
||||||
isSubmit: false,
|
isSubmit: false,
|
||||||
saveLoading: false,
|
saveLoading: false,
|
||||||
tabValue: "listOfCountries",
|
tabValue: 'listOfCountries',
|
||||||
selectedList: [], //选择清单的选择框
|
selectedList: [], //选择清单的选择框
|
||||||
selectList: [], //选择标准的选择框
|
selectList: [], //选择标准的选择框
|
||||||
bringData: [],
|
bringData: [],
|
||||||
commentText: "", //填写会签意见
|
commentText: '', //填写会签意见
|
||||||
page: 1,
|
page: 1,
|
||||||
total: 0,
|
total: 0,
|
||||||
pageSize: this.$store.getters.userInfo.configContent,
|
pageSize: this.$store.getters.userInfo.configContent,
|
||||||
listForm: {
|
listForm: {
|
||||||
passFlag: " ", //空为审批通过 1 为驳回
|
passFlag: ' ', //空为审批通过 1 为驳回
|
||||||
standNumber: "", //标准编号
|
standNumber: '', //标准编号
|
||||||
standName: "",//标准名称
|
standName: '',//标准名称
|
||||||
certifiedEngineer: "", //认证工程师
|
certifiedEngineer: '', //认证工程师
|
||||||
qualityEngineer: "", //质量工程师
|
qualityEngineer: '', //质量工程师
|
||||||
certifiedEngineerName: "", //认证工程师
|
certifiedEngineerName: '', //认证工程师
|
||||||
qualityEngineerName: "", //质量工程师
|
qualityEngineerName: '', //质量工程师
|
||||||
breakdownList: [{
|
breakdownList: [{
|
||||||
applyArctic: "",
|
applyArctic: '',
|
||||||
busStandCover: "",
|
busStandCover: '',
|
||||||
claimType: "",
|
claimType: '',
|
||||||
id: "",
|
id: '',
|
||||||
itemsName: "",
|
itemsName: '',
|
||||||
itemsNum: "",
|
itemsNum: '',
|
||||||
responsibleUnit: "", //责任部门
|
responsibleUnit: '', //责任部门
|
||||||
responsibleEngineer: "", //责任工程师
|
responsibleEngineer: '', //责任工程师
|
||||||
standId: "",
|
standId: '',
|
||||||
svpps: ""
|
svpps: ''
|
||||||
}],
|
}],
|
||||||
dataList: [{
|
dataList: [{
|
||||||
projectLine: "", //产品线
|
projectLine: '', //产品线
|
||||||
uname: "",//产品线责任人
|
uname: '',//产品线责任人
|
||||||
projectManager:"",// 产品线责任人id
|
projectManager:'',// 产品线责任人id
|
||||||
distributePerson: "", //分发责任人
|
distributePerson: '', //分发责任人
|
||||||
distributePersonId: "", //分发责任人id
|
distributePersonId: '', //分发责任人id
|
||||||
id: "",
|
id: '',
|
||||||
sarStandProjectLibraries: [{
|
sarStandProjectLibraries: [{
|
||||||
projectManager: '',
|
projectManager: '',
|
||||||
projectLevel: '',
|
projectLevel: '',
|
||||||
@@ -310,11 +310,11 @@ export default {
|
|||||||
},
|
},
|
||||||
choiceForm: {}, //选择标准清单列表
|
choiceForm: {}, //选择标准清单列表
|
||||||
countryOptions: [], //适用区域下拉框数据
|
countryOptions: [], //适用区域下拉框数据
|
||||||
user1: "",
|
user1: '',
|
||||||
user2: "",
|
user2: '',
|
||||||
user3: "",
|
user3: '',
|
||||||
user4: "",
|
user4: '',
|
||||||
user5: "",
|
user5: '',
|
||||||
standMap: new Map()
|
standMap: new Map()
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
@@ -337,7 +337,8 @@ export default {
|
|||||||
this.drawerModal = false
|
this.drawerModal = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push("/processCenter");
|
// this.$router.push("/processCenter");
|
||||||
// this.processNum()
|
// this.processNum()
|
||||||
} else {
|
} else {
|
||||||
@@ -382,7 +383,8 @@ export default {
|
|||||||
this.turnLoading = false
|
this.turnLoading = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push("/processCenter")
|
// this.$router.push("/processCenter")
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
@@ -424,14 +426,14 @@ export default {
|
|||||||
},
|
},
|
||||||
// 点击查看
|
// 点击查看
|
||||||
handlePreview(item) {
|
handlePreview(item) {
|
||||||
let routeUrl = this.$router.resolve({
|
const routeUrl = this.$router.resolve({
|
||||||
name: "OtherStandardDetails",
|
name: 'OtherStandardDetails',
|
||||||
params: {
|
params: {
|
||||||
id: item.id,
|
id: item.id,
|
||||||
pageType: "INLAND_STAND"
|
pageType: 'INLAND_STAND'
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
window.open(routeUrl.href, "_blank");
|
window.open(routeUrl.href, '_blank');
|
||||||
},
|
},
|
||||||
getData() {
|
getData() {
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
@@ -497,7 +499,8 @@ export default {
|
|||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.$message.success(res.message)
|
this.$message.success(res.message)
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push('/processCenter')
|
// this.$router.push('/processCenter')
|
||||||
}
|
}
|
||||||
this.isSubmit = false
|
this.isSubmit = false
|
||||||
@@ -522,7 +525,8 @@ export default {
|
|||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.$message.success(res.message)
|
this.$message.success(res.message)
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push('/processCenter')
|
// this.$router.push('/processCenter')
|
||||||
}
|
}
|
||||||
this.isSubmit = false
|
this.isSubmit = false
|
||||||
|
|||||||
@@ -227,12 +227,12 @@ import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
|||||||
import ProcessFooter from '../../components/ProcessFooter'
|
import ProcessFooter from '../../components/ProcessFooter'
|
||||||
import ProcessTitle from '../../components/ProcessTitle'
|
import ProcessTitle from '../../components/ProcessTitle'
|
||||||
import {inboundLiaisonDetail,processCreateStand,changeAssigneeNew} from 'api/process'
|
import {inboundLiaisonDetail,processCreateStand,changeAssigneeNew} from 'api/process'
|
||||||
import axios from "axios";
|
import axios from 'axios';
|
||||||
import ProcessHeader from "process/components/ProcessHeader";
|
import ProcessHeader from 'process/components/ProcessHeader';
|
||||||
import hwh5 from '@/api/hwh5-cloudonline.js'
|
import hwh5 from '@/api/hwh5-cloudonline.js'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "phoneBzpgStep7",
|
name: 'phoneBzpgStep7',
|
||||||
components: {
|
components: {
|
||||||
ProcessHeader,
|
ProcessHeader,
|
||||||
ProcessFooter,
|
ProcessFooter,
|
||||||
@@ -262,48 +262,48 @@ export default {
|
|||||||
processType: 1,
|
processType: 1,
|
||||||
loading: false,
|
loading: false,
|
||||||
dataList: [],//清单里的标准数据
|
dataList: [],//清单里的标准数据
|
||||||
active: "1",
|
active: '1',
|
||||||
userId:this.$store.getters.userInfo.account,
|
userId:this.$store.getters.userInfo.account,
|
||||||
taskIds: this.$route.query.taskIds,
|
taskIds: this.$route.query.taskIds,
|
||||||
pId: this.$route.query.prcId,
|
pId: this.$route.query.prcId,
|
||||||
listType: "country", //选择的清单类型
|
listType: 'country', //选择的清单类型
|
||||||
isSubmit: false,
|
isSubmit: false,
|
||||||
saveLoading: false,
|
saveLoading: false,
|
||||||
tabValue: "listOfCountries",
|
tabValue: 'listOfCountries',
|
||||||
selectedList: [], //选择清单的选择框
|
selectedList: [], //选择清单的选择框
|
||||||
selectList: [], //选择标准的选择框
|
selectList: [], //选择标准的选择框
|
||||||
bringData: [],
|
bringData: [],
|
||||||
commentText: "", //填写会签意见
|
commentText: '', //填写会签意见
|
||||||
page: 1,
|
page: 1,
|
||||||
total: 0,
|
total: 0,
|
||||||
pageSize: this.$store.getters.userInfo.configContent,
|
pageSize: this.$store.getters.userInfo.configContent,
|
||||||
listForm: {
|
listForm: {
|
||||||
passFlag: " ", //空为审批通过 1 为驳回
|
passFlag: ' ', //空为审批通过 1 为驳回
|
||||||
standNumber: "", //标准编号
|
standNumber: '', //标准编号
|
||||||
standName: "",//标准名称
|
standName: '',//标准名称
|
||||||
certifiedEngineer: "", //认证工程师
|
certifiedEngineer: '', //认证工程师
|
||||||
qualityEngineer: "", //质量工程师
|
qualityEngineer: '', //质量工程师
|
||||||
certifiedEngineerName: "", //认证工程师
|
certifiedEngineerName: '', //认证工程师
|
||||||
qualityEngineerName: "", //质量工程师
|
qualityEngineerName: '', //质量工程师
|
||||||
breakdownList: [{
|
breakdownList: [{
|
||||||
applyArctic: "",
|
applyArctic: '',
|
||||||
busStandCover: "",
|
busStandCover: '',
|
||||||
claimType: "",
|
claimType: '',
|
||||||
id: "",
|
id: '',
|
||||||
itemsName: "",
|
itemsName: '',
|
||||||
itemsNum: "",
|
itemsNum: '',
|
||||||
responsibleUnit: "", //责任部门
|
responsibleUnit: '', //责任部门
|
||||||
responsibleEngineer: "", //责任工程师
|
responsibleEngineer: '', //责任工程师
|
||||||
standId: "",
|
standId: '',
|
||||||
svpps: ""
|
svpps: ''
|
||||||
}],
|
}],
|
||||||
dataList: [{
|
dataList: [{
|
||||||
projectLine: "", //产品线
|
projectLine: '', //产品线
|
||||||
uname: "",//产品线责任人
|
uname: '',//产品线责任人
|
||||||
projectManager:"",// 产品线责任人id
|
projectManager:'',// 产品线责任人id
|
||||||
distributePerson: "", //分发责任人
|
distributePerson: '', //分发责任人
|
||||||
distributePersonId: "", //分发责任人id
|
distributePersonId: '', //分发责任人id
|
||||||
id: "",
|
id: '',
|
||||||
sarStandProjectLibraries: [{
|
sarStandProjectLibraries: [{
|
||||||
projectManager: '',
|
projectManager: '',
|
||||||
projectLevel: '',
|
projectLevel: '',
|
||||||
@@ -323,11 +323,11 @@ export default {
|
|||||||
},
|
},
|
||||||
choiceForm: {}, //选择标准清单列表
|
choiceForm: {}, //选择标准清单列表
|
||||||
countryOptions: [], //适用区域下拉框数据
|
countryOptions: [], //适用区域下拉框数据
|
||||||
user1: "",
|
user1: '',
|
||||||
user2: "",
|
user2: '',
|
||||||
user3: "",
|
user3: '',
|
||||||
user4: "",
|
user4: '',
|
||||||
user5: "",
|
user5: '',
|
||||||
standMap: new Map()
|
standMap: new Map()
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
@@ -353,7 +353,8 @@ export default {
|
|||||||
this.drawerModal = false
|
this.drawerModal = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push("/processCenter");
|
// this.$router.push("/processCenter");
|
||||||
// this.processNum()
|
// this.processNum()
|
||||||
} else {
|
} else {
|
||||||
@@ -398,7 +399,8 @@ export default {
|
|||||||
this.turnLoading = false
|
this.turnLoading = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push("/processCenter")
|
// this.$router.push("/processCenter")
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
@@ -440,14 +442,14 @@ export default {
|
|||||||
},
|
},
|
||||||
// 点击查看
|
// 点击查看
|
||||||
handlePreview(item) {
|
handlePreview(item) {
|
||||||
let routeUrl = this.$router.resolve({
|
const routeUrl = this.$router.resolve({
|
||||||
name: "OtherStandardDetails",
|
name: 'OtherStandardDetails',
|
||||||
params: {
|
params: {
|
||||||
id: item.id,
|
id: item.id,
|
||||||
pageType: "INLAND_STAND"
|
pageType: 'INLAND_STAND'
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
window.open(routeUrl.href, "_blank");
|
window.open(routeUrl.href, '_blank');
|
||||||
},
|
},
|
||||||
getData() {
|
getData() {
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
@@ -514,7 +516,8 @@ export default {
|
|||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.$message.success(res.message)
|
this.$message.success(res.message)
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push('/processCenter')
|
// this.$router.push('/processCenter')
|
||||||
}
|
}
|
||||||
this.isSubmit = false
|
this.isSubmit = false
|
||||||
|
|||||||
@@ -227,12 +227,12 @@ import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
|||||||
import ProcessFooter from '../../components/ProcessFooter'
|
import ProcessFooter from '../../components/ProcessFooter'
|
||||||
import ProcessTitle from '../../components/ProcessTitle'
|
import ProcessTitle from '../../components/ProcessTitle'
|
||||||
import {inboundLiaisonDetail,processCreateStand,changeAssigneeNew} from 'api/process'
|
import {inboundLiaisonDetail,processCreateStand,changeAssigneeNew} from 'api/process'
|
||||||
import axios from "axios";
|
import axios from 'axios';
|
||||||
import ProcessHeader from "process/components/ProcessHeader";
|
import ProcessHeader from 'process/components/ProcessHeader';
|
||||||
import hwh5 from '@/api/hwh5-cloudonline.js'
|
import hwh5 from '@/api/hwh5-cloudonline.js'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "phoneBzpgStep8",
|
name: 'phoneBzpgStep8',
|
||||||
components: {
|
components: {
|
||||||
ProcessHeader,
|
ProcessHeader,
|
||||||
ProcessFooter,
|
ProcessFooter,
|
||||||
@@ -261,48 +261,48 @@ export default {
|
|||||||
processType: 1,
|
processType: 1,
|
||||||
loading: false,
|
loading: false,
|
||||||
dataList: [],//清单里的标准数据
|
dataList: [],//清单里的标准数据
|
||||||
active: "1",
|
active: '1',
|
||||||
userId:this.$store.getters.userInfo.account,
|
userId:this.$store.getters.userInfo.account,
|
||||||
taskIds: this.$route.query.taskIds,
|
taskIds: this.$route.query.taskIds,
|
||||||
pId: this.$route.query.prcId,
|
pId: this.$route.query.prcId,
|
||||||
listType: "country", //选择的清单类型
|
listType: 'country', //选择的清单类型
|
||||||
isSubmit: false,
|
isSubmit: false,
|
||||||
saveLoading: false,
|
saveLoading: false,
|
||||||
tabValue: "listOfCountries",
|
tabValue: 'listOfCountries',
|
||||||
selectedList: [], //选择清单的选择框
|
selectedList: [], //选择清单的选择框
|
||||||
selectList: [], //选择标准的选择框
|
selectList: [], //选择标准的选择框
|
||||||
bringData: [],
|
bringData: [],
|
||||||
commentText: "", //填写会签意见
|
commentText: '', //填写会签意见
|
||||||
page: 1,
|
page: 1,
|
||||||
total: 0,
|
total: 0,
|
||||||
pageSize: this.$store.getters.userInfo.configContent,
|
pageSize: this.$store.getters.userInfo.configContent,
|
||||||
listForm: {
|
listForm: {
|
||||||
passFlag: " ", //空为审批通过 1 为驳回
|
passFlag: ' ', //空为审批通过 1 为驳回
|
||||||
standNumber: "", //标准编号
|
standNumber: '', //标准编号
|
||||||
standName: "",//标准名称
|
standName: '',//标准名称
|
||||||
certifiedEngineer: "", //认证工程师
|
certifiedEngineer: '', //认证工程师
|
||||||
qualityEngineer: "", //质量工程师
|
qualityEngineer: '', //质量工程师
|
||||||
certifiedEngineerName: "", //认证工程师
|
certifiedEngineerName: '', //认证工程师
|
||||||
qualityEngineerName: "", //质量工程师
|
qualityEngineerName: '', //质量工程师
|
||||||
breakdownList: [{
|
breakdownList: [{
|
||||||
applyArctic: "",
|
applyArctic: '',
|
||||||
busStandCover: "",
|
busStandCover: '',
|
||||||
claimType: "",
|
claimType: '',
|
||||||
id: "",
|
id: '',
|
||||||
itemsName: "",
|
itemsName: '',
|
||||||
itemsNum: "",
|
itemsNum: '',
|
||||||
responsibleUnit: "", //责任部门
|
responsibleUnit: '', //责任部门
|
||||||
responsibleEngineer: "", //责任工程师
|
responsibleEngineer: '', //责任工程师
|
||||||
standId: "",
|
standId: '',
|
||||||
svpps: ""
|
svpps: ''
|
||||||
}],
|
}],
|
||||||
dataList: [{
|
dataList: [{
|
||||||
projectLine: "", //产品线
|
projectLine: '', //产品线
|
||||||
uname: "",//产品线责任人
|
uname: '',//产品线责任人
|
||||||
projectManager:"",// 产品线责任人id
|
projectManager:'',// 产品线责任人id
|
||||||
distributePerson: "", //分发责任人
|
distributePerson: '', //分发责任人
|
||||||
distributePersonId: "", //分发责任人id
|
distributePersonId: '', //分发责任人id
|
||||||
id: "",
|
id: '',
|
||||||
sarStandProjectLibraries: [{
|
sarStandProjectLibraries: [{
|
||||||
projectManager: '',
|
projectManager: '',
|
||||||
projectLevel: '',
|
projectLevel: '',
|
||||||
@@ -322,11 +322,11 @@ export default {
|
|||||||
},
|
},
|
||||||
choiceForm: {}, //选择标准清单列表
|
choiceForm: {}, //选择标准清单列表
|
||||||
countryOptions: [], //适用区域下拉框数据
|
countryOptions: [], //适用区域下拉框数据
|
||||||
user1: "",
|
user1: '',
|
||||||
user2: "",
|
user2: '',
|
||||||
user3: "",
|
user3: '',
|
||||||
user4: "",
|
user4: '',
|
||||||
user5: "",
|
user5: '',
|
||||||
standMap: new Map()
|
standMap: new Map()
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
@@ -352,7 +352,8 @@ export default {
|
|||||||
this.drawerModal = false
|
this.drawerModal = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push("/processCenter");
|
// this.$router.push("/processCenter");
|
||||||
// this.processNum()
|
// this.processNum()
|
||||||
} else {
|
} else {
|
||||||
@@ -397,7 +398,8 @@ export default {
|
|||||||
this.turnLoading = false
|
this.turnLoading = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push("/processCenter")
|
// this.$router.push("/processCenter")
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
@@ -439,14 +441,14 @@ export default {
|
|||||||
},
|
},
|
||||||
// 点击查看
|
// 点击查看
|
||||||
handlePreview(item) {
|
handlePreview(item) {
|
||||||
let routeUrl = this.$router.resolve({
|
const routeUrl = this.$router.resolve({
|
||||||
name: "OtherStandardDetails",
|
name: 'OtherStandardDetails',
|
||||||
params: {
|
params: {
|
||||||
id: item.id,
|
id: item.id,
|
||||||
pageType: "INLAND_STAND"
|
pageType: 'INLAND_STAND'
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
window.open(routeUrl.href, "_blank");
|
window.open(routeUrl.href, '_blank');
|
||||||
},
|
},
|
||||||
getData() {
|
getData() {
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
@@ -513,7 +515,8 @@ export default {
|
|||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.$message.success(res.message)
|
this.$message.success(res.message)
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push('/processCenter')
|
// this.$router.push('/processCenter')
|
||||||
}
|
}
|
||||||
this.isSubmit = false
|
this.isSubmit = false
|
||||||
|
|||||||
@@ -147,7 +147,8 @@ export default {
|
|||||||
this.$message.success(completeTaskRef.message)
|
this.$message.success(completeTaskRef.message)
|
||||||
this.footerLoading = false
|
this.footerLoading = false
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
}, 100)
|
}, 100)
|
||||||
},
|
},
|
||||||
handleTransfer () {
|
handleTransfer () {
|
||||||
@@ -167,7 +168,8 @@ export default {
|
|||||||
this.drawerModal = false
|
this.drawerModal = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
}, 100)
|
}, 100)
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
|||||||
@@ -148,7 +148,8 @@ export default {
|
|||||||
this.drawerModal = false
|
this.drawerModal = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
}, 100)
|
}, 100)
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
|||||||
@@ -161,14 +161,14 @@
|
|||||||
<script>
|
<script>
|
||||||
import { Dialog } from 'vant';
|
import { Dialog } from 'vant';
|
||||||
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
||||||
import ProcessHeader from "../../components/ProcessHeader";
|
import ProcessHeader from '../../components/ProcessHeader';
|
||||||
import ProcessFooter from "../../components/ProcessFooter";
|
import ProcessFooter from '../../components/ProcessFooter';
|
||||||
import ProcessTitle from "../../components/ProcessTitle";
|
import ProcessTitle from '../../components/ProcessTitle';
|
||||||
import {completeTask, inboundLiaisonDetail, saveTaskForPub, changeAssigneeNew} from "@/api/process.js"
|
import {completeTask, inboundLiaisonDetail, saveTaskForPub, changeAssigneeNew} from '@/api/process.js'
|
||||||
import hwh5 from '@/api/hwh5-cloudonline.js'
|
import hwh5 from '@/api/hwh5-cloudonline.js'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "phoneBzqdfbStep4",
|
name: 'phoneBzqdfbStep4',
|
||||||
components: {
|
components: {
|
||||||
ProcessHeader,
|
ProcessHeader,
|
||||||
ProcessFooter,
|
ProcessFooter,
|
||||||
@@ -190,38 +190,38 @@ export default {
|
|||||||
processType: 1,
|
processType: 1,
|
||||||
loading: false,
|
loading: false,
|
||||||
dataList: [],//清单里的标准数据
|
dataList: [],//清单里的标准数据
|
||||||
approvalOpinion: "", // 通过0/驳回1
|
approvalOpinion: '', // 通过0/驳回1
|
||||||
active: "1",
|
active: '1',
|
||||||
listType: "country", //选择的清单类型
|
listType: 'country', //选择的清单类型
|
||||||
isSubmit: false,
|
isSubmit: false,
|
||||||
saveLoading: false,
|
saveLoading: false,
|
||||||
tabValue: "listOfCountries",
|
tabValue: 'listOfCountries',
|
||||||
selectedList: [], //选择清单的选择框
|
selectedList: [], //选择清单的选择框
|
||||||
selectList: [], //选择标准的选择框
|
selectList: [], //选择标准的选择框
|
||||||
bringData: [],
|
bringData: [],
|
||||||
commentText: "", //填写会签意见
|
commentText: '', //填写会签意见
|
||||||
fileList:[],
|
fileList:[],
|
||||||
page: 1,
|
page: 1,
|
||||||
total: 0,
|
total: 0,
|
||||||
pageSize: this.$store.getters.userInfo.configContent,
|
pageSize: this.$store.getters.userInfo.configContent,
|
||||||
listForm: {
|
listForm: {
|
||||||
fileIds: '',
|
fileIds: '',
|
||||||
listType: "", //区分是哪个清单
|
listType: '', //区分是哪个清单
|
||||||
listName: "", //清单名称
|
listName: '', //清单名称
|
||||||
descriptionList: "", //清单说明
|
descriptionList: '', //清单说明
|
||||||
enclosure: "", //附件
|
enclosure: '', //附件
|
||||||
signFlag: "1", //是否会签 1为会签 2为不会签
|
signFlag: '1', //是否会签 1为会签 2为不会签
|
||||||
approvalOpinion: "", // 通过/驳回
|
approvalOpinion: '', // 通过/驳回
|
||||||
dataList: [{
|
dataList: [{
|
||||||
standNumber: "", //标准号
|
standNumber: '', //标准号
|
||||||
cnName: "", //中文名称
|
cnName: '', //中文名称
|
||||||
enName: "", //英文名称
|
enName: '', //英文名称
|
||||||
isSubTime: "", //发布日期
|
isSubTime: '', //发布日期
|
||||||
newCarTime: "", //新车型实施日期
|
newCarTime: '', //新车型实施日期
|
||||||
oldCarTime: "", //在产车实施日期
|
oldCarTime: '', //在产车实施日期
|
||||||
applyCar: "", //适用车型
|
applyCar: '', //适用车型
|
||||||
textState: "", //标准状态
|
textState: '', //标准状态
|
||||||
id: ""
|
id: ''
|
||||||
}]
|
}]
|
||||||
},
|
},
|
||||||
choiceForm: {}, //选择标准清单列表
|
choiceForm: {}, //选择标准清单列表
|
||||||
@@ -229,12 +229,12 @@ export default {
|
|||||||
userId: this.$store.getters.userInfo.account,
|
userId: this.$store.getters.userInfo.account,
|
||||||
taskIds: this.$route.query.taskIds,
|
taskIds: this.$route.query.taskIds,
|
||||||
pId: this.$route.query.prcId,
|
pId: this.$route.query.prcId,
|
||||||
signFlag: "1", //是否会签 1为会签 2为不会签
|
signFlag: '1', //是否会签 1为会签 2为不会签
|
||||||
user1: "",
|
user1: '',
|
||||||
user2: "",
|
user2: '',
|
||||||
user3: "",
|
user3: '',
|
||||||
user4: "",
|
user4: '',
|
||||||
user5: "",
|
user5: '',
|
||||||
standMap: new Map(),
|
standMap: new Map(),
|
||||||
textStatusMap: {}// 标准状态id与name对应
|
textStatusMap: {}// 标准状态id与name对应
|
||||||
};
|
};
|
||||||
@@ -262,28 +262,29 @@ export default {
|
|||||||
this.phoneDrawerTitle = '转办处理人'
|
this.phoneDrawerTitle = '转办处理人'
|
||||||
},
|
},
|
||||||
drawerCheck (data) {
|
drawerCheck (data) {
|
||||||
this.roleTransfer = data
|
this.roleTransfer = data
|
||||||
this.phoneRoleList = this.roleTransfer
|
this.phoneRoleList = this.roleTransfer
|
||||||
this.turnLoading = true
|
this.turnLoading = true
|
||||||
this.isSubmit = true
|
this.isSubmit = true
|
||||||
changeAssigneeNew({
|
changeAssigneeNew({
|
||||||
taskId: this.taskIds, // 任务id
|
taskId: this.taskIds, // 任务id
|
||||||
assignee: data[0].id, // 被委托人
|
assignee: data[0].id, // 被委托人
|
||||||
userId: this.userId, // 被委托人
|
userId: this.userId, // 被委托人
|
||||||
pId: this.pId // 流程实例
|
pId: this.pId // 流程实例
|
||||||
}).then(res =>{
|
}).then(res =>{
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.turnLoading = false
|
this.turnLoading = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
// this.$router.push("/processCenter")
|
this.$close()
|
||||||
} else {
|
// this.$router.push("/processCenter")
|
||||||
this.$message.warning(res.message)
|
} else {
|
||||||
}
|
this.$message.warning(res.message)
|
||||||
}).finally(() => {
|
}
|
||||||
this.isSubmit = false
|
}).finally(() => {
|
||||||
})
|
this.isSubmit = false
|
||||||
|
})
|
||||||
this.modalshowflag = false
|
this.modalshowflag = false
|
||||||
},
|
},
|
||||||
//tab发生变化
|
//tab发生变化
|
||||||
@@ -295,14 +296,14 @@ export default {
|
|||||||
},
|
},
|
||||||
// 点击查看
|
// 点击查看
|
||||||
handlePreview(item) {
|
handlePreview(item) {
|
||||||
let routeUrl = this.$router.resolve({
|
const routeUrl = this.$router.resolve({
|
||||||
name: "OtherStandardDetails",
|
name: 'OtherStandardDetails',
|
||||||
params: {
|
params: {
|
||||||
id: item.id,
|
id: item.id,
|
||||||
pageType: "INLAND_STAND"
|
pageType: 'INLAND_STAND'
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
window.open(routeUrl.href, "_blank");
|
window.open(routeUrl.href, '_blank');
|
||||||
},
|
},
|
||||||
//保存事件
|
//保存事件
|
||||||
handleSave() {
|
handleSave() {
|
||||||
@@ -330,13 +331,13 @@ export default {
|
|||||||
this.listForm = JSON.parse(JSON.stringify(item));
|
this.listForm = JSON.parse(JSON.stringify(item));
|
||||||
this.listForm.prcNum = this.prcNum;
|
this.listForm.prcNum = this.prcNum;
|
||||||
this.listForm.prcName = this.prcName;
|
this.listForm.prcName = this.prcName;
|
||||||
this.listForm["id"] = item.id;
|
this.listForm['id'] = item.id;
|
||||||
this.listForm.dataList = item.dataList;
|
this.listForm.dataList = item.dataList;
|
||||||
this.dataList = item.dataList;
|
this.dataList = item.dataList;
|
||||||
this.listForm.applyUpdUserId = item.applyUpdUserId;
|
this.listForm.applyUpdUserId = item.applyUpdUserId;
|
||||||
this.listForm.jlUserId = item.jlUserId;
|
this.listForm.jlUserId = item.jlUserId;
|
||||||
this.listForm.zrUserId = item.zrUserId;
|
this.listForm.zrUserId = item.zrUserId;
|
||||||
let filesId = []
|
const filesId = []
|
||||||
item.fileName.forEach(itemIds =>{
|
item.fileName.forEach(itemIds =>{
|
||||||
filesId.push(itemIds.id)
|
filesId.push(itemIds.id)
|
||||||
})
|
})
|
||||||
@@ -349,7 +350,7 @@ export default {
|
|||||||
},
|
},
|
||||||
// 请求上传的文件信息
|
// 请求上传的文件信息
|
||||||
getFileInfo() {
|
getFileInfo() {
|
||||||
this.$http.get("att/attFile/getMultiFileInfos", {
|
this.$http.get('att/attFile/getMultiFileInfos', {
|
||||||
fileIds: this.fileIds
|
fileIds: this.fileIds
|
||||||
}, {
|
}, {
|
||||||
_this: this
|
_this: this
|
||||||
@@ -377,10 +378,10 @@ export default {
|
|||||||
* @Description: 点击下载
|
* @Description: 点击下载
|
||||||
*/
|
*/
|
||||||
downloadFile(attId) {
|
downloadFile(attId) {
|
||||||
if (attId != null && attId !== "") {
|
if (attId != null && attId !== '') {
|
||||||
window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId;
|
window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId;
|
||||||
} else {
|
} else {
|
||||||
this.$message.error("请选择要下载的文件");
|
this.$message.error('请选择要下载的文件');
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 驳回事件
|
// 驳回事件
|
||||||
@@ -389,11 +390,11 @@ export default {
|
|||||||
this.$message.warning('请填写审批意见')
|
this.$message.warning('请填写审批意见')
|
||||||
}else{
|
}else{
|
||||||
this.isSubmit = true
|
this.isSubmit = true
|
||||||
this.listForm.approvalOpinion = "1";
|
this.listForm.approvalOpinion = '1';
|
||||||
this.saveLoading = true
|
this.saveLoading = true
|
||||||
this.listForm.commentText = this.commentText;
|
this.listForm.commentText = this.commentText;
|
||||||
const json = JSON.stringify(this.listForm);
|
const json = JSON.stringify(this.listForm);
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
taskIds: this.taskIds,
|
taskIds: this.taskIds,
|
||||||
userId: this.userId,
|
userId: this.userId,
|
||||||
json: json
|
json: json
|
||||||
@@ -403,7 +404,8 @@ export default {
|
|||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.$message.success(res.message);
|
this.$message.success(res.message);
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push("/processCenter");
|
// this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
this.saveLoading = false
|
this.saveLoading = false
|
||||||
@@ -414,10 +416,10 @@ export default {
|
|||||||
//提交事件
|
//提交事件
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
this.isSubmit = true;
|
this.isSubmit = true;
|
||||||
this.listForm.approvalOpinion = "2";
|
this.listForm.approvalOpinion = '2';
|
||||||
this.listForm.commentText = this.commentText;
|
this.listForm.commentText = this.commentText;
|
||||||
const json = JSON.stringify(this.listForm);
|
const json = JSON.stringify(this.listForm);
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
taskIds: this.taskIds,
|
taskIds: this.taskIds,
|
||||||
userId: this.userId,
|
userId: this.userId,
|
||||||
json: json
|
json: json
|
||||||
@@ -427,7 +429,8 @@ export default {
|
|||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.$message.success(res.message);
|
this.$message.success(res.message);
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push("/processCenter");
|
// this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
this.isSubmit = false
|
this.isSubmit = false
|
||||||
@@ -464,12 +467,12 @@ export default {
|
|||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
listNoDataText() {
|
listNoDataText() {
|
||||||
return this.processType === 1 ? "暂无待办流程" : "暂无已办流程";
|
return this.processType === 1 ? '暂无待办流程' : '暂无已办流程';
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
//从数据库中查询下拉框数据
|
//从数据库中查询下拉框数据
|
||||||
this.$http.get("sys/dictype/getDicTypeListCode", {}, {
|
this.$http.get('sys/dictype/getDicTypeListCode', {}, {
|
||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
this.countryOptions = res.data.COUNTRY;
|
this.countryOptions = res.data.COUNTRY;
|
||||||
|
|||||||
@@ -449,7 +449,7 @@ import ProcessTitle from '../../components/ProcessTitle'
|
|||||||
import {inboundLiaisonDetail, processCreateStand, changeAssigneeNew} from 'api/process'
|
import {inboundLiaisonDetail, processCreateStand, changeAssigneeNew} from 'api/process'
|
||||||
import TreeSelect from '@/components/treeSelect/treeSelect.vue';
|
import TreeSelect from '@/components/treeSelect/treeSelect.vue';
|
||||||
import CusTomDataPickerGroup
|
import CusTomDataPickerGroup
|
||||||
from "@/pages/regulatoryRepository/localProductsOrProjectLibrary/components/DatePickerGroup";
|
from '@/pages/regulatoryRepository/localProductsOrProjectLibrary/components/DatePickerGroup';
|
||||||
import Vue from 'vue';
|
import Vue from 'vue';
|
||||||
import { Form } from 'vant';
|
import { Form } from 'vant';
|
||||||
import { Field } from 'vant';
|
import { Field } from 'vant';
|
||||||
@@ -458,7 +458,7 @@ import hwh5 from '@/api/hwh5-cloudonline.js'
|
|||||||
Vue.use(Form);
|
Vue.use(Form);
|
||||||
Vue.use(Field);
|
Vue.use(Field);
|
||||||
export default {
|
export default {
|
||||||
name: "phoneBzrkStep2",
|
name: 'phoneBzrkStep2',
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
commentText: '',
|
commentText: '',
|
||||||
@@ -675,7 +675,8 @@ export default {
|
|||||||
this.processNum()
|
this.processNum()
|
||||||
this.queryProcess()
|
this.queryProcess()
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push({path: '/processCenter?tabsName=ProcessCenter'})
|
// this.$router.push({path: '/processCenter?tabsName=ProcessCenter'})
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
@@ -753,7 +754,7 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
assemble(ids, names) {
|
assemble(ids, names) {
|
||||||
let list = new Array();
|
const list = new Array();
|
||||||
let idArray = []
|
let idArray = []
|
||||||
let nameArray = []
|
let nameArray = []
|
||||||
if (ids.length > 0) {
|
if (ids.length > 0) {
|
||||||
@@ -762,7 +763,7 @@ export default {
|
|||||||
if (names.length > 0) {
|
if (names.length > 0) {
|
||||||
nameArray = names.split(',');
|
nameArray = names.split(',');
|
||||||
}
|
}
|
||||||
for (var i = 0; i < idArray.length; i++) {
|
for (let i = 0; i < idArray.length; i++) {
|
||||||
list.push({id: idArray[i], name: nameArray[i]});
|
list.push({id: idArray[i], name: nameArray[i]});
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -823,7 +824,7 @@ export default {
|
|||||||
getFormFieldList(item) {
|
getFormFieldList(item) {
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.form = JSON.parse(JSON.stringify(item))
|
this.form = JSON.parse(JSON.stringify(item))
|
||||||
let wssmrName = this.form.wssmrname || this.form.wssmr
|
const wssmrName = this.form.wssmrname || this.form.wssmr
|
||||||
this.form.wssmr = wssmrName
|
this.form.wssmr = wssmrName
|
||||||
this.form.sycpx = this.form.sycpx && this.form.sycpx !== [] ? this.form.sycpx : ''
|
this.form.sycpx = this.form.sycpx && this.form.sycpx !== [] ? this.form.sycpx : ''
|
||||||
this.form.nylx = this.form.nylx && this.form.nylx !== [] ? this.form.nylx : ''
|
this.form.nylx = this.form.nylx && this.form.nylx !== [] ? this.form.nylx : ''
|
||||||
@@ -835,8 +836,8 @@ export default {
|
|||||||
this.defaultCheckedKeys3 = [this.form.dybxh]
|
this.defaultCheckedKeys3 = [this.form.dybxh]
|
||||||
this.form.standType = this.form.standInData === '0' ? 'INLAND' : 'FOREIGN'
|
this.form.standType = this.form.standInData === '0' ? 'INLAND' : 'FOREIGN'
|
||||||
this.form.standYear = this.form.standYear ? this.form.standYear : ''
|
this.form.standYear = this.form.standYear ? this.form.standYear : ''
|
||||||
if (this.form.country && this.form.country.indexOf(",") !== -1) {
|
if (this.form.country && this.form.country.indexOf(',') !== -1) {
|
||||||
this.form.country = this.form.country.split(",");
|
this.form.country = this.form.country.split(',');
|
||||||
}
|
}
|
||||||
this.form.prcNum = this.prcNum
|
this.form.prcNum = this.prcNum
|
||||||
this.form.prcName = this.prcName
|
this.form.prcName = this.prcName
|
||||||
@@ -848,7 +849,7 @@ export default {
|
|||||||
},
|
},
|
||||||
OkDrawer() {
|
OkDrawer() {
|
||||||
this.ListModel = false
|
this.ListModel = false
|
||||||
var item = {
|
const item = {
|
||||||
remarks: '123'
|
remarks: '123'
|
||||||
}
|
}
|
||||||
this.data.push(item)
|
this.data.push(item)
|
||||||
@@ -883,27 +884,27 @@ export default {
|
|||||||
this.form.commentText = this.commentText;
|
this.form.commentText = this.commentText;
|
||||||
this.form.approvalOpinion = this.formTongGuo.approvalOpinion;
|
this.form.approvalOpinion = this.formTongGuo.approvalOpinion;
|
||||||
if (this.form.syrz.length === 0) {
|
if (this.form.syrz.length === 0) {
|
||||||
this.form.syrz = "";
|
this.form.syrz = '';
|
||||||
}
|
}
|
||||||
if (this.form.nylx.length === 0) {
|
if (this.form.nylx.length === 0) {
|
||||||
this.form.nylx = "";
|
this.form.nylx = '';
|
||||||
}
|
}
|
||||||
if (this.form.zrbm.length === 0) {
|
if (this.form.zrbm.length === 0) {
|
||||||
this.form.zrbm = "";
|
this.form.zrbm = '';
|
||||||
}
|
}
|
||||||
if (this.form.qcdw.length === 0) {
|
if (this.form.qcdw.length === 0) {
|
||||||
this.form.qcdw = "";
|
this.form.qcdw = '';
|
||||||
}
|
}
|
||||||
if (this.form.cllx.length === 0) {
|
if (this.form.cllx.length === 0) {
|
||||||
this.form.cllx = "";
|
this.form.cllx = '';
|
||||||
}
|
}
|
||||||
if (this.form.sycpx.length === 0) {
|
if (this.form.sycpx.length === 0) {
|
||||||
this.form.sycpx = "";
|
this.form.sycpx = '';
|
||||||
}
|
}
|
||||||
if (this.form.zrgcs.length === 0) {
|
if (this.form.zrgcs.length === 0) {
|
||||||
this.form.zrgcs = "";
|
this.form.zrgcs = '';
|
||||||
}
|
}
|
||||||
let qcdwName = []
|
const qcdwName = []
|
||||||
if(this.form.qcdw && this.form.qcdw.length > 0){
|
if(this.form.qcdw && this.form.qcdw.length > 0){
|
||||||
this.form.qcdw.map(item => {
|
this.form.qcdw.map(item => {
|
||||||
this.qcdwOptions.forEach(items => {
|
this.qcdwOptions.forEach(items => {
|
||||||
@@ -919,7 +920,7 @@ export default {
|
|||||||
this.form.qcdw = qcdwName
|
this.form.qcdw = qcdwName
|
||||||
this.form.qcdw = qcdwName.splice(',')
|
this.form.qcdw = qcdwName.splice(',')
|
||||||
const json = JSON.stringify(this.form);
|
const json = JSON.stringify(this.form);
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
taskIds: this.taskIds,
|
taskIds: this.taskIds,
|
||||||
userId: this.userId,
|
userId: this.userId,
|
||||||
json: json
|
json: json
|
||||||
@@ -927,13 +928,14 @@ export default {
|
|||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
if (this.formTongGuo.approvalOpinion == "1") {
|
if (this.formTongGuo.approvalOpinion == '1') {
|
||||||
this.$message.warning("驳回成功");
|
this.$message.warning('驳回成功');
|
||||||
this.isSubmit = false;
|
this.isSubmit = false;
|
||||||
this.formTongGuo.commentText = "";
|
this.formTongGuo.commentText = '';
|
||||||
// 流程提交之后,应该流转至待办任务页面
|
// 流程提交之后,应该流转至待办任务页面
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push({ path: "/processCenter?tabsName=ProcessCenter" });
|
// this.$router.push({ path: "/processCenter?tabsName=ProcessCenter" });
|
||||||
} else {
|
} else {
|
||||||
this.processCreateStand(json);
|
this.processCreateStand(json);
|
||||||
@@ -955,7 +957,8 @@ export default {
|
|||||||
this.$message.success(res.data)
|
this.$message.success(res.data)
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push({
|
// this.$router.push({
|
||||||
// name: 'ProcessCenter'
|
// name: 'ProcessCenter'
|
||||||
// })
|
// })
|
||||||
|
|||||||
@@ -142,7 +142,8 @@ export default {
|
|||||||
this.$message.success(completeTaskRef.message)
|
this.$message.success(completeTaskRef.message)
|
||||||
this.footerLoading = false
|
this.footerLoading = false
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
}, 100)
|
}, 100)
|
||||||
},
|
},
|
||||||
getDicTypeListCode () {
|
getDicTypeListCode () {
|
||||||
|
|||||||
@@ -148,7 +148,8 @@ export default {
|
|||||||
// this.$message.success(completeTaskRef.message)
|
// this.$message.success(completeTaskRef.message)
|
||||||
// this.footerLoading = false
|
// this.footerLoading = false
|
||||||
// setTimeout(() => {
|
// setTimeout(() => {
|
||||||
// this.$router.go(-2)
|
// // this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// }, 100)
|
// }, 100)
|
||||||
},
|
},
|
||||||
getDicTypeListCode () {
|
getDicTypeListCode () {
|
||||||
|
|||||||
@@ -103,229 +103,230 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import ProcessHeaderPhone from "../../components/ProcessHeaderPhone";
|
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone';
|
||||||
import ProcessFooter from "../../components/ProcessFooter";
|
import ProcessFooter from '../../components/ProcessFooter';
|
||||||
import ProcessTitle from "../../components/ProcessTitle";
|
import ProcessTitle from '../../components/ProcessTitle';
|
||||||
import { inboundLiaisonDetail, processCreateStand, saveTaskForPub, changeAssigneeNew} from "api/process";
|
import { inboundLiaisonDetail, saveTaskForPub, changeAssigneeNew} from 'api/process';
|
||||||
import axios from "axios";
|
import axios from 'axios';
|
||||||
import hwh5 from '@/api/hwh5-cloudonline.js'
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "phoneBzzqyjStep2",
|
name: 'phoneBzzqyjStep2',
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
drawerModal: false,
|
drawerModal: false,
|
||||||
histortData: [],
|
histortData: [],
|
||||||
commentText2: "",
|
commentText2: '',
|
||||||
taskIds: this.$route.query.taskIds,
|
taskIds: this.$route.query.taskIds,
|
||||||
pId: this.$route.query.prcId,
|
pId: this.$route.query.prcId,
|
||||||
nodeList: [],
|
nodeList: [],
|
||||||
type: "",
|
type: '',
|
||||||
modalshowflag: false, // drawer开关
|
modalshowflag: false, // drawer开关
|
||||||
drawerTitle: "", //drawer标题
|
drawerTitle: '', //drawer标题
|
||||||
textarea: "", // 意见
|
textarea: '', // 意见
|
||||||
ListModel: false, // 新增编辑抽屉开关
|
ListModel: false, // 新增编辑抽屉开关
|
||||||
active: "1", // 默认显示
|
active: '1', // 默认显示
|
||||||
isSubmit: false,
|
isSubmit: false,
|
||||||
saveLoading: false,
|
saveLoading: false,
|
||||||
form: {
|
form: {
|
||||||
cid: "", // 编号
|
cid: '', // 编号
|
||||||
endTime: "", // 结束日期
|
endTime: '', // 结束日期
|
||||||
cname: "", // 名称
|
cname: '', // 名称
|
||||||
fjList: [],
|
fjList: [],
|
||||||
fjListId: '',
|
fjListId: '',
|
||||||
responUserList: "",
|
responUserList: '',
|
||||||
responUserListName: "",
|
responUserListName: '',
|
||||||
textType: '',
|
textType: '',
|
||||||
modelList: [],
|
modelList: [],
|
||||||
modelNameList: '',
|
modelNameList: '',
|
||||||
},
|
},
|
||||||
formRules: {
|
formRules: {
|
||||||
responUserList: [
|
responUserList: [
|
||||||
{ required: true, message: "请选择责任人", trigger: "change" }
|
{ required: true, message: '请选择责任人', trigger: 'change' }
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
json: {}
|
json: {}
|
||||||
};
|
|
||||||
},
|
|
||||||
components: {
|
|
||||||
ProcessHeaderPhone,
|
|
||||||
ProcessFooter,
|
|
||||||
ProcessTitle
|
|
||||||
},
|
|
||||||
methods: {
|
|
||||||
filesUpload (file) { // 下载
|
|
||||||
const attId = file.attId
|
|
||||||
if (attId) {
|
|
||||||
window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
|
|
||||||
} else {
|
|
||||||
this.$message.warning('文件不存在,下载失败')
|
|
||||||
}
|
|
||||||
},
|
|
||||||
fileLook(file) { // 预览
|
|
||||||
const attId = file.attId
|
|
||||||
this.$preview(attId)
|
|
||||||
},
|
|
||||||
handleTransfer() {
|
|
||||||
this.drawerModal = true
|
|
||||||
},
|
|
||||||
checkedRole (data) {
|
|
||||||
this.saveLoading = true
|
|
||||||
this.isSubmit = true
|
|
||||||
changeAssigneeNew({
|
|
||||||
taskId: this.$route.query.taskIds, // 任务id
|
|
||||||
userId:this.$store.getters.userInfo.account, // 委托人
|
|
||||||
assignee: data[0].id, // 被委托人
|
|
||||||
pId: this.$route.query.prcId, // 流程实例
|
|
||||||
}).then(res => {
|
|
||||||
if (res.success) {
|
|
||||||
this.drawerModal = false
|
|
||||||
this.$message.success('调整成功')
|
|
||||||
this.processNum()
|
|
||||||
// hwh5.close()
|
|
||||||
this.$router.go(-2)
|
|
||||||
// this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
|
||||||
} else {
|
|
||||||
this.$message.warning(res.message)
|
|
||||||
}
|
|
||||||
}).finally(() => {
|
|
||||||
this.saveLoading = false
|
|
||||||
this.isSubmit = false
|
|
||||||
})
|
|
||||||
},
|
|
||||||
// 请求转换流程图
|
|
||||||
processNum (row) {
|
|
||||||
axios.request({
|
|
||||||
url: '/api/lawss/activiti/getImg?_t=' + new Date().getTime(),
|
|
||||||
responseType: 'blob',
|
|
||||||
method: 'get',
|
|
||||||
params: {
|
|
||||||
prcNum: this.$route.query.prcNum
|
|
||||||
}
|
|
||||||
}).then(res => {
|
|
||||||
this.processStep = window.URL.createObjectURL(res.data)
|
|
||||||
})
|
|
||||||
},
|
|
||||||
updataFj (item) {
|
|
||||||
window.location.href = '/api/att/attFile/downloadFile?fileId=' + item.id
|
|
||||||
},
|
|
||||||
getHistoryData() {
|
|
||||||
this.$http.get("lawss/activiti/get_list_by_instance", {
|
|
||||||
prcNum: this.$route.query.prcNum
|
|
||||||
}, {}, res => {
|
|
||||||
this.histortData = res;
|
|
||||||
}, e => {
|
|
||||||
});
|
|
||||||
},
|
|
||||||
checkedRole2(data) {
|
|
||||||
var idList = "";
|
|
||||||
var nameList = "";
|
|
||||||
if (data.length) {
|
|
||||||
data.forEach(item => {
|
|
||||||
if (nameList.length > 0) {
|
|
||||||
nameList += ",";
|
|
||||||
idList += ",";
|
|
||||||
}
|
|
||||||
idList += item.id;
|
|
||||||
nameList += item.name;
|
|
||||||
});
|
|
||||||
}
|
|
||||||
this.form.responUserList = idList;
|
|
||||||
this.form.responUserListName = nameList;
|
|
||||||
},
|
|
||||||
choiceZRR() {
|
|
||||||
this.nodeList = [];
|
|
||||||
if (this.form.responUserList.length > 0) {
|
|
||||||
this.nodeList = this.form.responUserList.split(",");
|
|
||||||
}
|
|
||||||
this.modalshowflag = true;
|
|
||||||
},
|
|
||||||
handleTabs(name) {
|
|
||||||
this.active = name;
|
|
||||||
},
|
|
||||||
//保存事件
|
|
||||||
handleSave() {
|
|
||||||
this.saveLoading = true;
|
|
||||||
this.isSubmit = true
|
|
||||||
let _formData = new FormData();
|
|
||||||
_formData.append("id", this.bpnId || "");
|
|
||||||
_formData.append("prcType", "3");
|
|
||||||
_formData.append("taskIds", this.taskIds);
|
|
||||||
_formData.append("json", JSON.stringify({
|
|
||||||
form: this.form,
|
|
||||||
commentText2: this.commentText2
|
|
||||||
}));
|
|
||||||
saveTaskForPub(_formData).then(res => {
|
|
||||||
this.$message.success("保存成功");
|
|
||||||
this.bpnId = res.result;
|
|
||||||
}).finally(() => {
|
|
||||||
this.saveLoading = false;
|
|
||||||
this.isSubmit = false
|
|
||||||
});
|
|
||||||
},
|
|
||||||
handleSubmit() {
|
|
||||||
this.$refs["bzzqyjForm"].validate((valid) => {
|
|
||||||
if (valid) {
|
|
||||||
this.isSubmit = true;
|
|
||||||
this.saveLoading = true;
|
|
||||||
var json = this.json;
|
|
||||||
json.onlyKey = this.onlyKey
|
|
||||||
json.commentText = this.commentText2;
|
|
||||||
json.responUserList = this.form.responUserList;
|
|
||||||
json.responUserListName = this.form.responUserListName;
|
|
||||||
json.presidentUser = this.form.presidentUser
|
|
||||||
json.presidentUserName = this.form.presidentUserName
|
|
||||||
json.introduce = false;
|
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
|
||||||
json: JSON.stringify(json),
|
|
||||||
taskId: this.taskIds,
|
|
||||||
userId: this.$store.getters.userInfo.account
|
|
||||||
}, {}, res => {
|
|
||||||
if (res.success) {
|
|
||||||
this.$message.success("提交成功");
|
|
||||||
// hwh5.close()
|
|
||||||
this.$router.go(-2)
|
|
||||||
// this.$router.push("/processCenter");
|
|
||||||
}
|
|
||||||
this.isSubmit = false;
|
|
||||||
this.saveLoading = false;
|
|
||||||
});
|
|
||||||
} else {
|
|
||||||
return this.$message.warning("请完善基础信息");
|
|
||||||
}
|
|
||||||
});
|
|
||||||
},
|
|
||||||
getData() {
|
|
||||||
return new Promise((resolve, reject) => {
|
|
||||||
inboundLiaisonDetail({
|
|
||||||
taskIds: this.taskIds,
|
|
||||||
pId: this.pId
|
|
||||||
}).then(res => {
|
|
||||||
let data = JSON.parse(res.mesg)
|
|
||||||
this.onlyKey = data.form ? data.form.onlyKey : data.onlyKey
|
|
||||||
this.commentText2 = data.commentText2 || ''
|
|
||||||
this.form.presidentUser = data.form ? data.form.presidentUser :data.presidentUser
|
|
||||||
this.form.presidentUserName = data.form ? data.form.presidentUserName : data.presidentUserName
|
|
||||||
this.form.startUserName = data.form ? data.form.startUserName : data.startUserName
|
|
||||||
this.form.startUser = data.form ? data.form.startUser : data.startUser
|
|
||||||
this.form.cid = data.form ? data.form.cid : data.cid
|
|
||||||
this.form.endTime = data.form ? data.form.endTime : data.endTime
|
|
||||||
this.form.fjList = data.form ? data.form.fjList : data.fjList
|
|
||||||
this.form.textType = data.form ? data.form.textType : data.textType
|
|
||||||
this.form.modelList = data.form ? data.form.modelList : data.modelList
|
|
||||||
this.form.responUserListName = data.form ? data.form.responUserListName : (data.responUserListName ? data.responUserListName : '')
|
|
||||||
this.form.responUserList = data.form ? data.form.responUserList : (data.responUserList ? data.responUserList : '')
|
|
||||||
this.json = data
|
|
||||||
}).catch(e => {
|
|
||||||
});
|
|
||||||
});
|
|
||||||
}
|
|
||||||
},
|
|
||||||
mounted() {
|
|
||||||
this.getHistoryData();
|
|
||||||
this.getData();
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
},
|
||||||
|
components: {
|
||||||
|
ProcessHeaderPhone,
|
||||||
|
ProcessFooter,
|
||||||
|
ProcessTitle
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
filesUpload (file) { // 下载
|
||||||
|
const attId = file.attId
|
||||||
|
if (attId) {
|
||||||
|
window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
|
||||||
|
} else {
|
||||||
|
this.$message.warning('文件不存在,下载失败')
|
||||||
|
}
|
||||||
|
},
|
||||||
|
fileLook(file) { // 预览
|
||||||
|
const attId = file.attId
|
||||||
|
this.$preview(attId)
|
||||||
|
},
|
||||||
|
handleTransfer() {
|
||||||
|
this.drawerModal = true
|
||||||
|
},
|
||||||
|
checkedRole (data) {
|
||||||
|
this.saveLoading = true
|
||||||
|
this.isSubmit = true
|
||||||
|
changeAssigneeNew({
|
||||||
|
taskId: this.$route.query.taskIds, // 任务id
|
||||||
|
userId:this.$store.getters.userInfo.account, // 委托人
|
||||||
|
assignee: data[0].id, // 被委托人
|
||||||
|
pId: this.$route.query.prcId, // 流程实例
|
||||||
|
}).then(res => {
|
||||||
|
if (res.success) {
|
||||||
|
this.drawerModal = false
|
||||||
|
this.$message.success('调整成功')
|
||||||
|
this.processNum()
|
||||||
|
// hwh5.close()
|
||||||
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
|
// this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
||||||
|
} else {
|
||||||
|
this.$message.warning(res.message)
|
||||||
|
}
|
||||||
|
}).finally(() => {
|
||||||
|
this.saveLoading = false
|
||||||
|
this.isSubmit = false
|
||||||
|
})
|
||||||
|
},
|
||||||
|
// 请求转换流程图
|
||||||
|
processNum (row) {
|
||||||
|
axios.request({
|
||||||
|
url: '/api/lawss/activiti/getImg?_t=' + new Date().getTime(),
|
||||||
|
responseType: 'blob',
|
||||||
|
method: 'get',
|
||||||
|
params: {
|
||||||
|
prcNum: this.$route.query.prcNum
|
||||||
|
}
|
||||||
|
}).then(res => {
|
||||||
|
this.processStep = window.URL.createObjectURL(res.data)
|
||||||
|
})
|
||||||
|
},
|
||||||
|
updataFj (item) {
|
||||||
|
window.location.href = '/api/att/attFile/downloadFile?fileId=' + item.id
|
||||||
|
},
|
||||||
|
getHistoryData() {
|
||||||
|
this.$http.get('lawss/activiti/get_list_by_instance', {
|
||||||
|
prcNum: this.$route.query.prcNum
|
||||||
|
}, {}, res => {
|
||||||
|
this.histortData = res;
|
||||||
|
}, e => {
|
||||||
|
});
|
||||||
|
},
|
||||||
|
checkedRole2(data) {
|
||||||
|
let idList = '';
|
||||||
|
let nameList = '';
|
||||||
|
if (data.length) {
|
||||||
|
data.forEach(item => {
|
||||||
|
if (nameList.length > 0) {
|
||||||
|
nameList += ',';
|
||||||
|
idList += ',';
|
||||||
|
}
|
||||||
|
idList += item.id;
|
||||||
|
nameList += item.name;
|
||||||
|
});
|
||||||
|
}
|
||||||
|
this.form.responUserList = idList;
|
||||||
|
this.form.responUserListName = nameList;
|
||||||
|
},
|
||||||
|
choiceZRR() {
|
||||||
|
this.nodeList = [];
|
||||||
|
if (this.form.responUserList.length > 0) {
|
||||||
|
this.nodeList = this.form.responUserList.split(',');
|
||||||
|
}
|
||||||
|
this.modalshowflag = true;
|
||||||
|
},
|
||||||
|
handleTabs(name) {
|
||||||
|
this.active = name;
|
||||||
|
},
|
||||||
|
//保存事件
|
||||||
|
handleSave() {
|
||||||
|
this.saveLoading = true;
|
||||||
|
this.isSubmit = true
|
||||||
|
const _formData = new FormData();
|
||||||
|
_formData.append('id', this.bpnId || '');
|
||||||
|
_formData.append('prcType', '3');
|
||||||
|
_formData.append('taskIds', this.taskIds);
|
||||||
|
_formData.append('json', JSON.stringify({
|
||||||
|
form: this.form,
|
||||||
|
commentText2: this.commentText2
|
||||||
|
}));
|
||||||
|
saveTaskForPub(_formData).then(res => {
|
||||||
|
this.$message.success('保存成功');
|
||||||
|
this.bpnId = res.result;
|
||||||
|
}).finally(() => {
|
||||||
|
this.saveLoading = false;
|
||||||
|
this.isSubmit = false
|
||||||
|
});
|
||||||
|
},
|
||||||
|
handleSubmit() {
|
||||||
|
this.$refs['bzzqyjForm'].validate((valid) => {
|
||||||
|
if (valid) {
|
||||||
|
this.isSubmit = true;
|
||||||
|
this.saveLoading = true;
|
||||||
|
const json = this.json;
|
||||||
|
json.onlyKey = this.onlyKey
|
||||||
|
json.commentText = this.commentText2;
|
||||||
|
json.responUserList = this.form.responUserList;
|
||||||
|
json.responUserListName = this.form.responUserListName;
|
||||||
|
json.presidentUser = this.form.presidentUser
|
||||||
|
json.presidentUserName = this.form.presidentUserName
|
||||||
|
json.introduce = false;
|
||||||
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
|
json: JSON.stringify(json),
|
||||||
|
taskId: this.taskIds,
|
||||||
|
userId: this.$store.getters.userInfo.account
|
||||||
|
}, {}, res => {
|
||||||
|
if (res.success) {
|
||||||
|
this.$message.success('提交成功');
|
||||||
|
// hwh5.close()
|
||||||
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
|
// this.$router.push("/processCenter");
|
||||||
|
}
|
||||||
|
this.isSubmit = false;
|
||||||
|
this.saveLoading = false;
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
return this.$message.warning('请完善基础信息');
|
||||||
|
}
|
||||||
|
});
|
||||||
|
},
|
||||||
|
getData() {
|
||||||
|
return new Promise((resolve, reject) => {
|
||||||
|
inboundLiaisonDetail({
|
||||||
|
taskIds: this.taskIds,
|
||||||
|
pId: this.pId
|
||||||
|
}).then(res => {
|
||||||
|
const data = JSON.parse(res.mesg)
|
||||||
|
this.onlyKey = data.form ? data.form.onlyKey : data.onlyKey
|
||||||
|
this.commentText2 = data.commentText2 || ''
|
||||||
|
this.form.presidentUser = data.form ? data.form.presidentUser :data.presidentUser
|
||||||
|
this.form.presidentUserName = data.form ? data.form.presidentUserName : data.presidentUserName
|
||||||
|
this.form.startUserName = data.form ? data.form.startUserName : data.startUserName
|
||||||
|
this.form.startUser = data.form ? data.form.startUser : data.startUser
|
||||||
|
this.form.cid = data.form ? data.form.cid : data.cid
|
||||||
|
this.form.endTime = data.form ? data.form.endTime : data.endTime
|
||||||
|
this.form.fjList = data.form ? data.form.fjList : data.fjList
|
||||||
|
this.form.textType = data.form ? data.form.textType : data.textType
|
||||||
|
this.form.modelList = data.form ? data.form.modelList : data.modelList
|
||||||
|
this.form.responUserListName = data.form ? data.form.responUserListName : (data.responUserListName ? data.responUserListName : '')
|
||||||
|
this.form.responUserList = data.form ? data.form.responUserList : (data.responUserList ? data.responUserList : '')
|
||||||
|
this.json = data
|
||||||
|
}).catch(e => {
|
||||||
|
});
|
||||||
|
});
|
||||||
|
}
|
||||||
|
},
|
||||||
|
mounted() {
|
||||||
|
this.getHistoryData();
|
||||||
|
this.getData();
|
||||||
|
}
|
||||||
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="less" scoped>
|
<style lang="less" scoped>
|
||||||
|
|||||||
@@ -59,16 +59,16 @@ import ProcessHeaderPhone from '@/pages/processCenter/pages/components/ProcessHe
|
|||||||
import ProcessTitle from '@/pages/processCenter/pages/components/ProcessTitle'
|
import ProcessTitle from '@/pages/processCenter/pages/components/ProcessTitle'
|
||||||
import ProcessFooter from '@/pages/processCenter/pages/components/ProcessFooter'
|
import ProcessFooter from '@/pages/processCenter/pages/components/ProcessFooter'
|
||||||
import PhoneHistortTable from '@/components/hzwlComponents/phoneComponents/phoneApprovalHistory'
|
import PhoneHistortTable from '@/components/hzwlComponents/phoneComponents/phoneApprovalHistory'
|
||||||
import ReceiptDescription from "@/components/hzwlComponents/ReceiptDescription";
|
import ReceiptDescription from '@/components/hzwlComponents/ReceiptDescription';
|
||||||
import phoneRoleTree from '@/components/hzwlComponents/phoneComponents/phoneRoleTree'
|
import phoneRoleTree from '@/components/hzwlComponents/phoneComponents/phoneRoleTree'
|
||||||
|
|
||||||
import Basic from "./componnets/Basic";
|
import Basic from './componnets/Basic';
|
||||||
import SolicitationList from "./componnets/SolicitationList";
|
import SolicitationList from './componnets/SolicitationList';
|
||||||
|
|
||||||
import {inboundLiaisonDetail, processCreateStand, changeAssigneeNew} from 'api/process'
|
import {inboundLiaisonDetail, processCreateStand, changeAssigneeNew} from 'api/process'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "step3",
|
name: 'step3',
|
||||||
components: {
|
components: {
|
||||||
ProcessHeaderPhone,
|
ProcessHeaderPhone,
|
||||||
PhoneHistortTable,
|
PhoneHistortTable,
|
||||||
@@ -153,7 +153,8 @@ export default {
|
|||||||
this.drawerModal = false
|
this.drawerModal = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
}, 100)
|
}, 100)
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
|||||||
@@ -176,232 +176,235 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { Dialog } from 'vant';
|
import { Dialog } from 'vant';
|
||||||
import ProcessHeaderPhone from "../../components/ProcessHeaderPhone";
|
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone';
|
||||||
import ProcessFooter from '../../components/ProcessFooter'
|
import ProcessFooter from '../../components/ProcessFooter'
|
||||||
import ProcessTitle from '../../components/ProcessTitle'
|
import ProcessTitle from '../../components/ProcessTitle'
|
||||||
import {inboundLiaisonDetail, processCreateStand,changeAssigneeNew} from 'api/process'
|
import {inboundLiaisonDetail, processCreateStand,changeAssigneeNew} from 'api/process'
|
||||||
import axios from "axios";
|
import axios from 'axios';
|
||||||
import hwh5 from '@/api/hwh5-cloudonline.js'
|
import hwh5 from '@/api/hwh5-cloudonline.js'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "phoneBzzqyjStep4-1",
|
name: 'phoneBzzqyjStep4-1',
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
itermsConditionsFlag: false,
|
itermsConditionsFlag: false,
|
||||||
itermsConditionsTitle: '',
|
itermsConditionsTitle: '',
|
||||||
drawerModal: false,
|
drawerModal: false,
|
||||||
histortData: [],
|
histortData: [],
|
||||||
data: [],
|
data: [],
|
||||||
commentText41: '',
|
commentText41: '',
|
||||||
taskIds: this.$route.query.taskIds,
|
taskIds: this.$route.query.taskIds,
|
||||||
pId: this.$route.query.prcId,
|
pId: this.$route.query.prcId,
|
||||||
roleRow: {},
|
roleRow: {},
|
||||||
nodeList: [],
|
nodeList: [],
|
||||||
type: '',
|
type: '',
|
||||||
defaultProps: {
|
defaultProps: {
|
||||||
children: 'children',
|
children: 'children',
|
||||||
label: 'name'
|
label: 'name'
|
||||||
},
|
},
|
||||||
treeData: [], // 人员数据
|
treeData: [], // 人员数据
|
||||||
modalshowflag: false, // drawer开关
|
modalshowflag: false, // drawer开关
|
||||||
drawerTitle: '', //drawer标题
|
drawerTitle: '', //drawer标题
|
||||||
textarea: '', // 意见
|
textarea: '', // 意见
|
||||||
ListModel: false, // 新增编辑抽屉开关
|
ListModel: false, // 新增编辑抽屉开关
|
||||||
active: '1', // 默认显示
|
active: '1', // 默认显示
|
||||||
isSubmit: false,
|
isSubmit: false,
|
||||||
saveLoading: false,
|
saveLoading: false,
|
||||||
form: {
|
form: {
|
||||||
cid: '', // 编号
|
cid: '', // 编号
|
||||||
endTime: '', // 结束日期
|
endTime: '', // 结束日期
|
||||||
cname: '', // 名称
|
cname: '', // 名称
|
||||||
fjList: [],
|
fjList: [],
|
||||||
fjListId: '',
|
fjListId: '',
|
||||||
textType: '',
|
textType: '',
|
||||||
modelList: [],
|
modelList: [],
|
||||||
modelNameList: '',
|
modelNameList: '',
|
||||||
bzfgId: '',
|
bzfgId: '',
|
||||||
bzfgName: '',
|
bzfgName: '',
|
||||||
},
|
},
|
||||||
formRules: {
|
formRules: {
|
||||||
bzfgId: [
|
bzfgId: [
|
||||||
{required: true, message: '请选择标准法规工程师分线管理员', trigger: 'change'},
|
{required: true, message: '请选择标准法规工程师分线管理员', trigger: 'change'},
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
json: {}
|
json: {}
|
||||||
}
|
|
||||||
},
|
|
||||||
components: {
|
|
||||||
[Dialog.Component.name]: Dialog.Component,
|
|
||||||
ProcessHeaderPhone,
|
|
||||||
ProcessFooter,
|
|
||||||
ProcessTitle
|
|
||||||
},
|
|
||||||
methods: {
|
|
||||||
filesUpload (file) { // 下载
|
|
||||||
const attId = file.attId
|
|
||||||
if (attId) {
|
|
||||||
window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
|
|
||||||
} else {
|
|
||||||
this.$message.warning('文件不存在,下载失败')
|
|
||||||
}
|
|
||||||
},
|
|
||||||
fileLook(file) { // 预览
|
|
||||||
const attId = file.attId
|
|
||||||
this.$preview(attId)
|
|
||||||
},
|
|
||||||
checkedRole2(data) {
|
|
||||||
this.form.bzfgId = data[0].id
|
|
||||||
this.form.bzfgName = data[0].name
|
|
||||||
},
|
|
||||||
choiceZRR(id) {
|
|
||||||
this.nodeList = []
|
|
||||||
this.nodeList.push(id)
|
|
||||||
this.modalshowflag = true;
|
|
||||||
},
|
|
||||||
dialogOk () {
|
|
||||||
this.itermsConditionsFlag = false
|
|
||||||
},
|
|
||||||
itermsConditionsOpen (row) {
|
|
||||||
this.itermsConditionsFlag = true
|
|
||||||
this.itermsConditionsTitle = row
|
|
||||||
},
|
|
||||||
downloadFile (attId) {
|
|
||||||
window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
|
|
||||||
},
|
|
||||||
handleTransfer() {
|
|
||||||
this.drawerModal = true
|
|
||||||
},
|
|
||||||
checkedRole (data) {
|
|
||||||
this.isSubmit = true
|
|
||||||
changeAssigneeNew({
|
|
||||||
taskId: this.$route.query.taskIds, // 任务id
|
|
||||||
userId:this.$store.getters.userInfo.account, // 委托人
|
|
||||||
assignee: data[0].id, // 被委托人
|
|
||||||
pId: this.$route.query.prcId, // 流程实例
|
|
||||||
}).then(res => {
|
|
||||||
if (res.success) {
|
|
||||||
this.drawerModal = false
|
|
||||||
this.$message.success('调整成功')
|
|
||||||
this.processNum()
|
|
||||||
// hwh5.close()
|
|
||||||
this.$router.go(-2)
|
|
||||||
// this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
|
||||||
} else {
|
|
||||||
this.$message.warning(res.message)
|
|
||||||
}
|
|
||||||
}).finally(() => {
|
|
||||||
this.isSubmit = false
|
|
||||||
})
|
|
||||||
},
|
|
||||||
// 请求转换流程图
|
|
||||||
processNum (row) {
|
|
||||||
axios.request({
|
|
||||||
url: '/api/lawss/activiti/getImg?_t=' + new Date().getTime(),
|
|
||||||
responseType: 'blob',
|
|
||||||
method: 'get',
|
|
||||||
params: {
|
|
||||||
prcNum: this.$route.query.prcNum
|
|
||||||
}
|
|
||||||
}).then(res => {
|
|
||||||
this.processStep = window.URL.createObjectURL(res.data)
|
|
||||||
})
|
|
||||||
},
|
|
||||||
updataFj(item) {
|
|
||||||
window.location.href = '/api/att/attFile/downloadFile?fileId=' + item.id
|
|
||||||
},
|
|
||||||
getHistoryData() {
|
|
||||||
this.$http.get('lawss/activiti/get_list_by_instance', {
|
|
||||||
prcNum: this.$route.query.prcNum,
|
|
||||||
}, {}, res => {
|
|
||||||
this.histortData = res
|
|
||||||
}, e => {
|
|
||||||
})
|
|
||||||
},
|
|
||||||
handleTabs(name) {
|
|
||||||
this.active = name
|
|
||||||
},
|
|
||||||
handleSubmit() {
|
|
||||||
this.$refs['bzzqyjForm'].validate((valid) => {
|
|
||||||
if (valid) {
|
|
||||||
this.isSubmit = true
|
|
||||||
let json = this.json
|
|
||||||
json.info = this.data
|
|
||||||
json.commentText = this.commentText41
|
|
||||||
json.bzfgId = this.form.bzfgId
|
|
||||||
json.bzfgName = this.form.bzfgName
|
|
||||||
json.spFlag = '0'
|
|
||||||
this.$http.post('lawss/activiti/completeTask', {
|
|
||||||
json: JSON.stringify(json),
|
|
||||||
taskId: this.taskIds,
|
|
||||||
userId: this.$store.getters.userInfo.account
|
|
||||||
}, {}, res => {
|
|
||||||
if (res.success) {
|
|
||||||
this.$message.success('提交成功')
|
|
||||||
// hwh5.close()
|
|
||||||
this.$router.go(-2)
|
|
||||||
// this.$router.push('/processCenter')
|
|
||||||
}
|
|
||||||
this.isSubmit = false
|
|
||||||
})
|
|
||||||
} else {
|
|
||||||
this.$message.warning('请选择标准法规工程师分线管理员')
|
|
||||||
}
|
|
||||||
})
|
|
||||||
},
|
|
||||||
handleSubmitNo() {
|
|
||||||
if (this.commentText41) {
|
|
||||||
var json = this.json
|
|
||||||
json.spFlag = '1'
|
|
||||||
json.commentText = this.commentText41
|
|
||||||
this.isSubmit = true
|
|
||||||
this.$http.post('lawss/activiti/completeTask', {
|
|
||||||
json: JSON.stringify(json),
|
|
||||||
taskId: this.taskIds,
|
|
||||||
userId: this.$store.getters.userInfo.account
|
|
||||||
}, {}, res => {
|
|
||||||
if (res.success) {
|
|
||||||
this.$message.success('提交成功')
|
|
||||||
// hwh5.close()
|
|
||||||
this.$router.go(-2)
|
|
||||||
// this.$router.push('/processCenter')
|
|
||||||
}
|
|
||||||
this.isSubmit = false
|
|
||||||
})
|
|
||||||
} else {
|
|
||||||
this.$message.warning('请输入反馈意见')
|
|
||||||
}
|
|
||||||
|
|
||||||
},
|
|
||||||
getData() {
|
|
||||||
return new Promise((resolve, reject) => {
|
|
||||||
inboundLiaisonDetail({
|
|
||||||
taskIds: this.taskIds,
|
|
||||||
pId: this.pId
|
|
||||||
}).then(res => {
|
|
||||||
let data = JSON.parse(res.mesg)
|
|
||||||
this.form.presidentUser = data.form ? data.form.presidentUser :data.presidentUser
|
|
||||||
this.form.presidentUserName = data.form ? data.form.presidentUserName : data.presidentUserName
|
|
||||||
this.form.fjList = data.fjList || data.form.fjList
|
|
||||||
this.form.cid = data.cid || data.form.cid
|
|
||||||
this.form.endTime = data.endTime || data.form.endTime
|
|
||||||
this.form.textType = data.textType || data.form.textType
|
|
||||||
this.form.modelList = data.modelList || data.form.modelList
|
|
||||||
this.commentText41 = data.commentText41 || ''
|
|
||||||
this.form.bzfgId = data.startUser || data.form.startUser
|
|
||||||
this.form.bzfgName = data.startUserName || data.form.startUserName
|
|
||||||
this.json = data
|
|
||||||
this.data = data.info || data.data
|
|
||||||
}).catch(e => {
|
|
||||||
})
|
|
||||||
})
|
|
||||||
},
|
|
||||||
},
|
|
||||||
mounted() {
|
|
||||||
this.getHistoryData()
|
|
||||||
this.getData()
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
components: {
|
||||||
|
[Dialog.Component.name]: Dialog.Component,
|
||||||
|
ProcessHeaderPhone,
|
||||||
|
ProcessFooter,
|
||||||
|
ProcessTitle
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
filesUpload (file) { // 下载
|
||||||
|
const attId = file.attId
|
||||||
|
if (attId) {
|
||||||
|
window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
|
||||||
|
} else {
|
||||||
|
this.$message.warning('文件不存在,下载失败')
|
||||||
|
}
|
||||||
|
},
|
||||||
|
fileLook(file) { // 预览
|
||||||
|
const attId = file.attId
|
||||||
|
this.$preview(attId)
|
||||||
|
},
|
||||||
|
checkedRole2(data) {
|
||||||
|
this.form.bzfgId = data[0].id
|
||||||
|
this.form.bzfgName = data[0].name
|
||||||
|
},
|
||||||
|
choiceZRR(id) {
|
||||||
|
this.nodeList = []
|
||||||
|
this.nodeList.push(id)
|
||||||
|
this.modalshowflag = true;
|
||||||
|
},
|
||||||
|
dialogOk () {
|
||||||
|
this.itermsConditionsFlag = false
|
||||||
|
},
|
||||||
|
itermsConditionsOpen (row) {
|
||||||
|
this.itermsConditionsFlag = true
|
||||||
|
this.itermsConditionsTitle = row
|
||||||
|
},
|
||||||
|
downloadFile (attId) {
|
||||||
|
window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
|
||||||
|
},
|
||||||
|
handleTransfer() {
|
||||||
|
this.drawerModal = true
|
||||||
|
},
|
||||||
|
checkedRole (data) {
|
||||||
|
this.isSubmit = true
|
||||||
|
changeAssigneeNew({
|
||||||
|
taskId: this.$route.query.taskIds, // 任务id
|
||||||
|
userId:this.$store.getters.userInfo.account, // 委托人
|
||||||
|
assignee: data[0].id, // 被委托人
|
||||||
|
pId: this.$route.query.prcId, // 流程实例
|
||||||
|
}).then(res => {
|
||||||
|
if (res.success) {
|
||||||
|
this.drawerModal = false
|
||||||
|
this.$message.success('调整成功')
|
||||||
|
this.processNum()
|
||||||
|
// hwh5.close()
|
||||||
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
|
// this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
||||||
|
} else {
|
||||||
|
this.$message.warning(res.message)
|
||||||
|
}
|
||||||
|
}).finally(() => {
|
||||||
|
this.isSubmit = false
|
||||||
|
})
|
||||||
|
},
|
||||||
|
// 请求转换流程图
|
||||||
|
processNum (row) {
|
||||||
|
axios.request({
|
||||||
|
url: '/api/lawss/activiti/getImg?_t=' + new Date().getTime(),
|
||||||
|
responseType: 'blob',
|
||||||
|
method: 'get',
|
||||||
|
params: {
|
||||||
|
prcNum: this.$route.query.prcNum
|
||||||
|
}
|
||||||
|
}).then(res => {
|
||||||
|
this.processStep = window.URL.createObjectURL(res.data)
|
||||||
|
})
|
||||||
|
},
|
||||||
|
updataFj(item) {
|
||||||
|
window.location.href = '/api/att/attFile/downloadFile?fileId=' + item.id
|
||||||
|
},
|
||||||
|
getHistoryData() {
|
||||||
|
this.$http.get('lawss/activiti/get_list_by_instance', {
|
||||||
|
prcNum: this.$route.query.prcNum,
|
||||||
|
}, {}, res => {
|
||||||
|
this.histortData = res
|
||||||
|
}, e => {
|
||||||
|
})
|
||||||
|
},
|
||||||
|
handleTabs(name) {
|
||||||
|
this.active = name
|
||||||
|
},
|
||||||
|
handleSubmit() {
|
||||||
|
this.$refs['bzzqyjForm'].validate((valid) => {
|
||||||
|
if (valid) {
|
||||||
|
this.isSubmit = true
|
||||||
|
const json = this.json
|
||||||
|
json.info = this.data
|
||||||
|
json.commentText = this.commentText41
|
||||||
|
json.bzfgId = this.form.bzfgId
|
||||||
|
json.bzfgName = this.form.bzfgName
|
||||||
|
json.spFlag = '0'
|
||||||
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
|
json: JSON.stringify(json),
|
||||||
|
taskId: this.taskIds,
|
||||||
|
userId: this.$store.getters.userInfo.account
|
||||||
|
}, {}, res => {
|
||||||
|
if (res.success) {
|
||||||
|
this.$message.success('提交成功')
|
||||||
|
// hwh5.close()
|
||||||
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
|
// this.$router.push('/processCenter')
|
||||||
|
}
|
||||||
|
this.isSubmit = false
|
||||||
|
})
|
||||||
|
} else {
|
||||||
|
this.$message.warning('请选择标准法规工程师分线管理员')
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
|
handleSubmitNo() {
|
||||||
|
if (this.commentText41) {
|
||||||
|
const json = this.json
|
||||||
|
json.spFlag = '1'
|
||||||
|
json.commentText = this.commentText41
|
||||||
|
this.isSubmit = true
|
||||||
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
|
json: JSON.stringify(json),
|
||||||
|
taskId: this.taskIds,
|
||||||
|
userId: this.$store.getters.userInfo.account
|
||||||
|
}, {}, res => {
|
||||||
|
if (res.success) {
|
||||||
|
this.$message.success('提交成功')
|
||||||
|
// hwh5.close()
|
||||||
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
|
// this.$router.push('/processCenter')
|
||||||
|
}
|
||||||
|
this.isSubmit = false
|
||||||
|
})
|
||||||
|
} else {
|
||||||
|
this.$message.warning('请输入反馈意见')
|
||||||
|
}
|
||||||
|
|
||||||
|
},
|
||||||
|
getData() {
|
||||||
|
return new Promise((resolve, reject) => {
|
||||||
|
inboundLiaisonDetail({
|
||||||
|
taskIds: this.taskIds,
|
||||||
|
pId: this.pId
|
||||||
|
}).then(res => {
|
||||||
|
const data = JSON.parse(res.mesg)
|
||||||
|
this.form.presidentUser = data.form ? data.form.presidentUser :data.presidentUser
|
||||||
|
this.form.presidentUserName = data.form ? data.form.presidentUserName : data.presidentUserName
|
||||||
|
this.form.fjList = data.fjList || data.form.fjList
|
||||||
|
this.form.cid = data.cid || data.form.cid
|
||||||
|
this.form.endTime = data.endTime || data.form.endTime
|
||||||
|
this.form.textType = data.textType || data.form.textType
|
||||||
|
this.form.modelList = data.modelList || data.form.modelList
|
||||||
|
this.commentText41 = data.commentText41 || ''
|
||||||
|
this.form.bzfgId = data.startUser || data.form.startUser
|
||||||
|
this.form.bzfgName = data.startUserName || data.form.startUserName
|
||||||
|
this.json = data
|
||||||
|
this.data = data.info || data.data
|
||||||
|
}).catch(e => {
|
||||||
|
})
|
||||||
|
})
|
||||||
|
},
|
||||||
|
},
|
||||||
|
mounted() {
|
||||||
|
this.getHistoryData()
|
||||||
|
this.getData()
|
||||||
|
}
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="less" scoped>
|
<style lang="less" scoped>
|
||||||
|
|||||||
@@ -164,226 +164,229 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { Dialog } from 'vant';
|
import { Dialog } from 'vant';
|
||||||
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
||||||
import ProcessFooter from '../../components/ProcessFooter'
|
import ProcessFooter from '../../components/ProcessFooter'
|
||||||
import ProcessTitle from '../../components/ProcessTitle'
|
import ProcessTitle from '../../components/ProcessTitle'
|
||||||
import {inboundLiaisonDetail, processCreateStand,changeAssigneeNew,getBusStandFileByAttId} from 'api/process'
|
import {inboundLiaisonDetail, processCreateStand,changeAssigneeNew,getBusStandFileByAttId} from 'api/process'
|
||||||
import axios from "axios";
|
import axios from 'axios';
|
||||||
import hwh5 from '@/api/hwh5-cloudonline.js'
|
import hwh5 from '@/api/hwh5-cloudonline.js'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "phoneBzzqyjStep4-2",
|
name: 'phoneBzzqyjStep4-2',
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
itermsConditionsFlag: false,
|
itermsConditionsFlag: false,
|
||||||
itermsConditionsTitle: '',
|
itermsConditionsTitle: '',
|
||||||
drawerModal: false,
|
drawerModal: false,
|
||||||
histortData: [],
|
histortData: [],
|
||||||
data: [],
|
data: [],
|
||||||
commentText42: '',
|
commentText42: '',
|
||||||
taskIds: this.$route.query.taskIds,
|
taskIds: this.$route.query.taskIds,
|
||||||
pId: this.$route.query.prcId,
|
pId: this.$route.query.prcId,
|
||||||
roleRow: {},
|
roleRow: {},
|
||||||
nodeList: [],
|
nodeList: [],
|
||||||
type: '',
|
type: '',
|
||||||
defaultProps: {
|
defaultProps: {
|
||||||
children: 'children',
|
children: 'children',
|
||||||
label: 'name'
|
label: 'name'
|
||||||
},
|
},
|
||||||
treeData: [], // 人员数据
|
treeData: [], // 人员数据
|
||||||
modalshowflag: false, // drawer开关
|
modalshowflag: false, // drawer开关
|
||||||
drawerTitle: '', //drawer标题
|
drawerTitle: '', //drawer标题
|
||||||
textarea: '', // 意见
|
textarea: '', // 意见
|
||||||
ListModel: false, // 新增编辑抽屉开关
|
ListModel: false, // 新增编辑抽屉开关
|
||||||
active: '1', // 默认显示
|
active: '1', // 默认显示
|
||||||
isSubmit: false,
|
isSubmit: false,
|
||||||
saveLoading: false,
|
saveLoading: false,
|
||||||
form: {
|
form: {
|
||||||
cid: '', // 编号
|
cid: '', // 编号
|
||||||
endTime: '', // 结束日期
|
endTime: '', // 结束日期
|
||||||
cname: '', // 名称
|
cname: '', // 名称
|
||||||
fjList: [],
|
fjList: [],
|
||||||
fjListId: '',
|
fjListId: '',
|
||||||
textType: '',
|
textType: '',
|
||||||
modelList: [],
|
modelList: [],
|
||||||
modelNameList: '',
|
modelNameList: '',
|
||||||
bzfgId: '',
|
bzfgId: '',
|
||||||
bzfgName: '',
|
bzfgName: '',
|
||||||
},
|
},
|
||||||
formRules: {
|
formRules: {
|
||||||
responUserList: [
|
responUserList: [
|
||||||
{required: true, message: '请选择责任人', trigger: 'change'},
|
{required: true, message: '请选择责任人', trigger: 'change'},
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
json: {}
|
json: {}
|
||||||
}
|
|
||||||
},
|
|
||||||
components: {
|
|
||||||
[Dialog.Component.name]: Dialog.Component,
|
|
||||||
ProcessHeaderPhone,
|
|
||||||
ProcessFooter,
|
|
||||||
ProcessTitle
|
|
||||||
},
|
|
||||||
methods: {
|
|
||||||
dialogOk () {
|
|
||||||
this.itermsConditionsFlag = false
|
|
||||||
},
|
|
||||||
filesUpload (file) { // 下载
|
|
||||||
const attId = file.attId
|
|
||||||
if (attId) {
|
|
||||||
window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
|
|
||||||
} else {
|
|
||||||
this.$message.warning('文件不存在,下载失败')
|
|
||||||
}
|
|
||||||
},
|
|
||||||
fileLook(file) { // 预览
|
|
||||||
const attId = file.attId
|
|
||||||
this.$preview(attId)
|
|
||||||
},
|
|
||||||
checkedRole2(data) {
|
|
||||||
this.form.bzfgId = data[0].id
|
|
||||||
this.form.bzfgName = data[0].name
|
|
||||||
},
|
|
||||||
choiceZRR(id) {
|
|
||||||
this.nodeList = []
|
|
||||||
this.nodeList.push(id)
|
|
||||||
this.modalshowflag = true;
|
|
||||||
},
|
|
||||||
itermsConditionsClose () {
|
|
||||||
this.itermsConditionsFlag = false
|
|
||||||
},
|
|
||||||
itermsConditionsOpen (row) {
|
|
||||||
this.itermsConditionsFlag = true
|
|
||||||
this.itermsConditionsTitle = row
|
|
||||||
},
|
|
||||||
downloadFile (attId) {
|
|
||||||
window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
|
|
||||||
},
|
|
||||||
handleTransfer() {
|
|
||||||
this.drawerModal = true
|
|
||||||
},
|
|
||||||
checkedRole (data) {
|
|
||||||
this.isSubmit = true
|
|
||||||
changeAssigneeNew({
|
|
||||||
taskId: this.$route.query.taskIds, // 任务id
|
|
||||||
userId:this.$store.getters.userInfo.account, // 委托人
|
|
||||||
assignee: data[0].id, // 被委托人
|
|
||||||
pId: this.$route.query.prcId, // 流程实例
|
|
||||||
}).then(res => {
|
|
||||||
if (res.success) {
|
|
||||||
this.drawerModal = false
|
|
||||||
this.$message.success('调整成功')
|
|
||||||
this.processNum()
|
|
||||||
// hwh5.close()
|
|
||||||
this.$router.go(-2)
|
|
||||||
// this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
|
||||||
} else {
|
|
||||||
this.$message.warning(res.message)
|
|
||||||
}
|
|
||||||
}).finally(() => {
|
|
||||||
this.isSubmit = false
|
|
||||||
})
|
|
||||||
},
|
|
||||||
// 请求转换流程图
|
|
||||||
processNum (row) {
|
|
||||||
axios.request({
|
|
||||||
url: '/api/lawss/activiti/getImg?_t=' + new Date().getTime(),
|
|
||||||
responseType: 'blob',
|
|
||||||
method: 'get',
|
|
||||||
params: {
|
|
||||||
prcNum: this.$route.query.prcNum
|
|
||||||
}
|
|
||||||
}).then(res => {
|
|
||||||
this.processStep = window.URL.createObjectURL(res.data)
|
|
||||||
})
|
|
||||||
},
|
|
||||||
updataFj(item) {
|
|
||||||
window.location.href = '/api/att/attFile/downloadFile?fileId=' + item.id
|
|
||||||
},
|
|
||||||
getHistoryData() {
|
|
||||||
this.$http.get('lawss/activiti/get_list_by_instance', {
|
|
||||||
prcNum: this.$route.query.prcNum,
|
|
||||||
}, {}, res => {
|
|
||||||
this.histortData = res
|
|
||||||
}, e => {
|
|
||||||
})
|
|
||||||
},
|
|
||||||
handleTabs(name) {
|
|
||||||
this.active = name
|
|
||||||
},
|
|
||||||
handleSubmit() {
|
|
||||||
this.isSubmit = true
|
|
||||||
let json = this.json
|
|
||||||
json.info = this.data
|
|
||||||
json.commentText = this.commentText42
|
|
||||||
json.bzFlag = '0'
|
|
||||||
this.$http.post('lawss/activiti/completeTask', {
|
|
||||||
json: JSON.stringify(json),
|
|
||||||
taskId: this.taskIds,
|
|
||||||
userId: this.$store.getters.userInfo.account
|
|
||||||
}, {}, res => {
|
|
||||||
if (res.success) {
|
|
||||||
this.$message.success('提交成功')
|
|
||||||
// hwh5.close()
|
|
||||||
this.$router.go(-2)
|
|
||||||
// this.$router.push('/processCenter')
|
|
||||||
}
|
|
||||||
this.isSubmit = false
|
|
||||||
})
|
|
||||||
},
|
|
||||||
handleSubmitNo() {
|
|
||||||
if (this.commentText42) {
|
|
||||||
var json = this.json
|
|
||||||
json.bzFlag = '1'
|
|
||||||
json.commentText = this.commentText42
|
|
||||||
this.isSubmit = true
|
|
||||||
this.$http.post('lawss/activiti/completeTask', {
|
|
||||||
json: JSON.stringify(json),
|
|
||||||
taskId: this.taskIds,
|
|
||||||
userId: this.$store.getters.userInfo.account
|
|
||||||
}, {}, res => {
|
|
||||||
if (res.success) {
|
|
||||||
this.$message.success('提交成功')
|
|
||||||
// hwh5.close()
|
|
||||||
this.$router.go(-2)
|
|
||||||
// this.$router.push('/processCenter')
|
|
||||||
}
|
|
||||||
this.isSubmit = false
|
|
||||||
})
|
|
||||||
} else {
|
|
||||||
this.$message.warning('请输入反馈意见')
|
|
||||||
}
|
|
||||||
|
|
||||||
},
|
|
||||||
getData() {
|
|
||||||
return new Promise((resolve, reject) => {
|
|
||||||
inboundLiaisonDetail({
|
|
||||||
taskIds: this.taskIds,
|
|
||||||
pId: this.pId
|
|
||||||
}).then(res => {
|
|
||||||
let data = JSON.parse(res.mesg)
|
|
||||||
this.form.fjList = data.fjList || data.form.fjList
|
|
||||||
this.form.presidentUser = data.form ? data.form.presidentUser :data.presidentUser
|
|
||||||
this.form.presidentUserName = data.form ? data.form.presidentUserName : data.presidentUserName
|
|
||||||
this.commentText42 = data.commentText42 || ''
|
|
||||||
this.form.cid = data.cid || data.form.cid
|
|
||||||
this.form.endTime = data.endTime || data.form.endTime
|
|
||||||
this.form.textType = data.textType || data.form.textType
|
|
||||||
this.form.modelList = data.modelList || data.form.modelList
|
|
||||||
this.form.bzfgId = data.bzfgId || ''
|
|
||||||
this.json = data
|
|
||||||
this.data = data.info || data.data
|
|
||||||
}).catch(e => {
|
|
||||||
})
|
|
||||||
})
|
|
||||||
},
|
|
||||||
},
|
|
||||||
mounted() {
|
|
||||||
this.getHistoryData()
|
|
||||||
this.getData()
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
components: {
|
||||||
|
[Dialog.Component.name]: Dialog.Component,
|
||||||
|
ProcessHeaderPhone,
|
||||||
|
ProcessFooter,
|
||||||
|
ProcessTitle
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
dialogOk () {
|
||||||
|
this.itermsConditionsFlag = false
|
||||||
|
},
|
||||||
|
filesUpload (file) { // 下载
|
||||||
|
const attId = file.attId
|
||||||
|
if (attId) {
|
||||||
|
window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
|
||||||
|
} else {
|
||||||
|
this.$message.warning('文件不存在,下载失败')
|
||||||
|
}
|
||||||
|
},
|
||||||
|
fileLook(file) { // 预览
|
||||||
|
const attId = file.attId
|
||||||
|
this.$preview(attId)
|
||||||
|
},
|
||||||
|
checkedRole2(data) {
|
||||||
|
this.form.bzfgId = data[0].id
|
||||||
|
this.form.bzfgName = data[0].name
|
||||||
|
},
|
||||||
|
choiceZRR(id) {
|
||||||
|
this.nodeList = []
|
||||||
|
this.nodeList.push(id)
|
||||||
|
this.modalshowflag = true;
|
||||||
|
},
|
||||||
|
itermsConditionsClose () {
|
||||||
|
this.itermsConditionsFlag = false
|
||||||
|
},
|
||||||
|
itermsConditionsOpen (row) {
|
||||||
|
this.itermsConditionsFlag = true
|
||||||
|
this.itermsConditionsTitle = row
|
||||||
|
},
|
||||||
|
downloadFile (attId) {
|
||||||
|
window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
|
||||||
|
},
|
||||||
|
handleTransfer() {
|
||||||
|
this.drawerModal = true
|
||||||
|
},
|
||||||
|
checkedRole (data) {
|
||||||
|
this.isSubmit = true
|
||||||
|
changeAssigneeNew({
|
||||||
|
taskId: this.$route.query.taskIds, // 任务id
|
||||||
|
userId:this.$store.getters.userInfo.account, // 委托人
|
||||||
|
assignee: data[0].id, // 被委托人
|
||||||
|
pId: this.$route.query.prcId, // 流程实例
|
||||||
|
}).then(res => {
|
||||||
|
if (res.success) {
|
||||||
|
this.drawerModal = false
|
||||||
|
this.$message.success('调整成功')
|
||||||
|
this.processNum()
|
||||||
|
// hwh5.close()
|
||||||
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
|
// this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
||||||
|
} else {
|
||||||
|
this.$message.warning(res.message)
|
||||||
|
}
|
||||||
|
}).finally(() => {
|
||||||
|
this.isSubmit = false
|
||||||
|
})
|
||||||
|
},
|
||||||
|
// 请求转换流程图
|
||||||
|
processNum (row) {
|
||||||
|
axios.request({
|
||||||
|
url: '/api/lawss/activiti/getImg?_t=' + new Date().getTime(),
|
||||||
|
responseType: 'blob',
|
||||||
|
method: 'get',
|
||||||
|
params: {
|
||||||
|
prcNum: this.$route.query.prcNum
|
||||||
|
}
|
||||||
|
}).then(res => {
|
||||||
|
this.processStep = window.URL.createObjectURL(res.data)
|
||||||
|
})
|
||||||
|
},
|
||||||
|
updataFj(item) {
|
||||||
|
window.location.href = '/api/att/attFile/downloadFile?fileId=' + item.id
|
||||||
|
},
|
||||||
|
getHistoryData() {
|
||||||
|
this.$http.get('lawss/activiti/get_list_by_instance', {
|
||||||
|
prcNum: this.$route.query.prcNum,
|
||||||
|
}, {}, res => {
|
||||||
|
this.histortData = res
|
||||||
|
}, e => {
|
||||||
|
})
|
||||||
|
},
|
||||||
|
handleTabs(name) {
|
||||||
|
this.active = name
|
||||||
|
},
|
||||||
|
handleSubmit() {
|
||||||
|
this.isSubmit = true
|
||||||
|
const json = this.json
|
||||||
|
json.info = this.data
|
||||||
|
json.commentText = this.commentText42
|
||||||
|
json.bzFlag = '0'
|
||||||
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
|
json: JSON.stringify(json),
|
||||||
|
taskId: this.taskIds,
|
||||||
|
userId: this.$store.getters.userInfo.account
|
||||||
|
}, {}, res => {
|
||||||
|
if (res.success) {
|
||||||
|
this.$message.success('提交成功')
|
||||||
|
// hwh5.close()
|
||||||
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
|
// this.$router.push('/processCenter')
|
||||||
|
}
|
||||||
|
this.isSubmit = false
|
||||||
|
})
|
||||||
|
},
|
||||||
|
handleSubmitNo() {
|
||||||
|
if (this.commentText42) {
|
||||||
|
const json = this.json
|
||||||
|
json.bzFlag = '1'
|
||||||
|
json.commentText = this.commentText42
|
||||||
|
this.isSubmit = true
|
||||||
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
|
json: JSON.stringify(json),
|
||||||
|
taskId: this.taskIds,
|
||||||
|
userId: this.$store.getters.userInfo.account
|
||||||
|
}, {}, res => {
|
||||||
|
if (res.success) {
|
||||||
|
this.$message.success('提交成功')
|
||||||
|
// hwh5.close()
|
||||||
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
|
// this.$router.push('/processCenter')
|
||||||
|
}
|
||||||
|
this.isSubmit = false
|
||||||
|
})
|
||||||
|
} else {
|
||||||
|
this.$message.warning('请输入反馈意见')
|
||||||
|
}
|
||||||
|
|
||||||
|
},
|
||||||
|
getData() {
|
||||||
|
return new Promise((resolve, reject) => {
|
||||||
|
inboundLiaisonDetail({
|
||||||
|
taskIds: this.taskIds,
|
||||||
|
pId: this.pId
|
||||||
|
}).then(res => {
|
||||||
|
const data = JSON.parse(res.mesg)
|
||||||
|
this.form.fjList = data.fjList || data.form.fjList
|
||||||
|
this.form.presidentUser = data.form ? data.form.presidentUser :data.presidentUser
|
||||||
|
this.form.presidentUserName = data.form ? data.form.presidentUserName : data.presidentUserName
|
||||||
|
this.commentText42 = data.commentText42 || ''
|
||||||
|
this.form.cid = data.cid || data.form.cid
|
||||||
|
this.form.endTime = data.endTime || data.form.endTime
|
||||||
|
this.form.textType = data.textType || data.form.textType
|
||||||
|
this.form.modelList = data.modelList || data.form.modelList
|
||||||
|
this.form.bzfgId = data.bzfgId || ''
|
||||||
|
this.json = data
|
||||||
|
this.data = data.info || data.data
|
||||||
|
}).catch(e => {
|
||||||
|
})
|
||||||
|
})
|
||||||
|
},
|
||||||
|
},
|
||||||
|
mounted() {
|
||||||
|
this.getHistoryData()
|
||||||
|
this.getData()
|
||||||
|
}
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="less" scoped>
|
<style lang="less" scoped>
|
||||||
|
|||||||
@@ -59,16 +59,16 @@ import ProcessHeaderPhone from '@/pages/processCenter/pages/components/ProcessHe
|
|||||||
import ProcessTitle from '@/pages/processCenter/pages/components/ProcessTitle'
|
import ProcessTitle from '@/pages/processCenter/pages/components/ProcessTitle'
|
||||||
import ProcessFooter from '@/pages/processCenter/pages/components/ProcessFooter'
|
import ProcessFooter from '@/pages/processCenter/pages/components/ProcessFooter'
|
||||||
import PhoneHistortTable from '@/components/hzwlComponents/phoneComponents/phoneApprovalHistory'
|
import PhoneHistortTable from '@/components/hzwlComponents/phoneComponents/phoneApprovalHistory'
|
||||||
import ReceiptDescription from "@/components/hzwlComponents/ReceiptDescription";
|
import ReceiptDescription from '@/components/hzwlComponents/ReceiptDescription';
|
||||||
import phoneRoleTree from '@/components/hzwlComponents/phoneComponents/phoneRoleTree'
|
import phoneRoleTree from '@/components/hzwlComponents/phoneComponents/phoneRoleTree'
|
||||||
|
|
||||||
import Basic from "./componnets/Basic";
|
import Basic from './componnets/Basic';
|
||||||
import SolicitationList from "./componnets/SolicitationList";
|
import SolicitationList from './componnets/SolicitationList';
|
||||||
|
|
||||||
import {inboundLiaisonDetail, processCreateStand, changeAssigneeNew} from 'api/process'
|
import {inboundLiaisonDetail, changeAssigneeNew} from 'api/process'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "step3",
|
name: 'step3',
|
||||||
components: {
|
components: {
|
||||||
ProcessHeaderPhone,
|
ProcessHeaderPhone,
|
||||||
PhoneHistortTable,
|
PhoneHistortTable,
|
||||||
@@ -153,7 +153,8 @@ export default {
|
|||||||
this.drawerModal = false
|
this.drawerModal = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
}, 100)
|
}, 100)
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
|||||||
@@ -59,16 +59,16 @@ import ProcessHeaderPhone from '@/pages/processCenter/pages/components/ProcessHe
|
|||||||
import ProcessTitle from '@/pages/processCenter/pages/components/ProcessTitle'
|
import ProcessTitle from '@/pages/processCenter/pages/components/ProcessTitle'
|
||||||
import ProcessFooter from '@/pages/processCenter/pages/components/ProcessFooter'
|
import ProcessFooter from '@/pages/processCenter/pages/components/ProcessFooter'
|
||||||
import PhoneHistortTable from '@/components/hzwlComponents/phoneComponents/phoneApprovalHistory'
|
import PhoneHistortTable from '@/components/hzwlComponents/phoneComponents/phoneApprovalHistory'
|
||||||
import ReceiptDescription from "@/components/hzwlComponents/ReceiptDescription";
|
import ReceiptDescription from '@/components/hzwlComponents/ReceiptDescription';
|
||||||
import phoneRoleTree from '@/components/hzwlComponents/phoneComponents/phoneRoleTree'
|
import phoneRoleTree from '@/components/hzwlComponents/phoneComponents/phoneRoleTree'
|
||||||
|
|
||||||
import Basic from "./componnets/Basic";
|
import Basic from './componnets/Basic';
|
||||||
import SolicitationList from "./componnets/SolicitationList";
|
import SolicitationList from './componnets/SolicitationList';
|
||||||
|
|
||||||
import {inboundLiaisonDetail, processCreateStand, changeAssigneeNew} from 'api/process'
|
import {inboundLiaisonDetail, processCreateStand, changeAssigneeNew} from 'api/process'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "step3",
|
name: 'step3',
|
||||||
components: {
|
components: {
|
||||||
ProcessHeaderPhone,
|
ProcessHeaderPhone,
|
||||||
PhoneHistortTable,
|
PhoneHistortTable,
|
||||||
@@ -153,7 +153,8 @@ export default {
|
|||||||
this.drawerModal = false
|
this.drawerModal = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
}, 100)
|
}, 100)
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
|||||||
@@ -198,286 +198,289 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { Dialog } from 'vant';
|
import { Dialog } from 'vant';
|
||||||
import isMobile from "@/store/isMobile";
|
import isMobile from '@/store/isMobile';
|
||||||
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
||||||
import ProcessFooter from "../../components/ProcessFooter";
|
import ProcessFooter from '../../components/ProcessFooter';
|
||||||
import ProcessTitle from "../../components/ProcessTitle";
|
import ProcessTitle from '../../components/ProcessTitle';
|
||||||
import { inboundLiaisonDetail, processCreateStand, changeAssigneeNew } from "api/process";
|
import { inboundLiaisonDetail, processCreateStand, changeAssigneeNew } from 'api/process';
|
||||||
import axios from "axios";
|
import axios from 'axios';
|
||||||
import hwh5 from '@/api/hwh5-cloudonline.js'
|
import hwh5 from '@/api/hwh5-cloudonline.js'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "phoneBzzqyjStep6",
|
name: 'phoneBzzqyjStep6',
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
data2: [],
|
data2: [],
|
||||||
commentText6: '',
|
commentText6: '',
|
||||||
itermsConditionsFlag: false,
|
itermsConditionsFlag: false,
|
||||||
itermsConditionsTitle: '',
|
itermsConditionsTitle: '',
|
||||||
drawerModal: false,
|
drawerModal: false,
|
||||||
histortData: [],
|
histortData: [],
|
||||||
oldData: [],
|
oldData: [],
|
||||||
data: [],
|
data: [],
|
||||||
commentText: "",
|
commentText: '',
|
||||||
oldText: "",
|
oldText: '',
|
||||||
newText: "",
|
newText: '',
|
||||||
reason: "",
|
reason: '',
|
||||||
taskIds: this.$route.query.taskIds,
|
taskIds: this.$route.query.taskIds,
|
||||||
pId: this.$route.query.prcId,
|
pId: this.$route.query.prcId,
|
||||||
roleRow: {},
|
roleRow: {},
|
||||||
nodeList: [],
|
nodeList: [],
|
||||||
type: "",
|
type: '',
|
||||||
defaultProps: {
|
defaultProps: {
|
||||||
children: "children",
|
children: 'children',
|
||||||
label: "name"
|
label: 'name'
|
||||||
},
|
|
||||||
treeData: [], // 人员数据
|
|
||||||
modalshowflag: false, // drawer开关
|
|
||||||
drawerTitle: "", //drawer标题
|
|
||||||
textarea: "", // 意见
|
|
||||||
ListModel: false, // 新增编辑抽屉开关
|
|
||||||
active: "1", // 默认显示
|
|
||||||
isSubmit: false,
|
|
||||||
saveLoading: false,
|
|
||||||
form: {
|
|
||||||
cid: "", // 编号
|
|
||||||
endTime: "", // 结束日期
|
|
||||||
cname: "", // 名称
|
|
||||||
fjList: [],
|
|
||||||
fjListId: '',
|
|
||||||
textType: '',
|
|
||||||
modelList: [],
|
|
||||||
modelNameList: '',
|
|
||||||
user7: '',
|
|
||||||
user7Name: ''
|
|
||||||
},
|
|
||||||
formRules: {
|
|
||||||
user7: [
|
|
||||||
{required: true, message: "请选择审批领导", trigger: "change"}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
json: {}
|
|
||||||
};
|
|
||||||
},
|
},
|
||||||
components: {
|
treeData: [], // 人员数据
|
||||||
[Dialog.Component.name]: Dialog.Component,
|
modalshowflag: false, // drawer开关
|
||||||
ProcessHeaderPhone,
|
drawerTitle: '', //drawer标题
|
||||||
ProcessFooter,
|
textarea: '', // 意见
|
||||||
ProcessTitle
|
ListModel: false, // 新增编辑抽屉开关
|
||||||
},
|
active: '1', // 默认显示
|
||||||
methods: {
|
isSubmit: false,
|
||||||
checkedRole2(data) {
|
saveLoading: false,
|
||||||
var idList = "";
|
form: {
|
||||||
var nameList = "";
|
cid: '', // 编号
|
||||||
if (data.length) {
|
endTime: '', // 结束日期
|
||||||
data.forEach(item => {
|
cname: '', // 名称
|
||||||
if (nameList.length > 0) {
|
fjList: [],
|
||||||
nameList += ",";
|
fjListId: '',
|
||||||
idList += ",";
|
textType: '',
|
||||||
}
|
modelList: [],
|
||||||
idList += item.id;
|
modelNameList: '',
|
||||||
nameList += item.name;
|
user7: '',
|
||||||
});
|
user7Name: ''
|
||||||
}
|
},
|
||||||
this.form.user7 = idList;
|
formRules: {
|
||||||
this.form.user7Name = nameList;
|
user7: [
|
||||||
},
|
{required: true, message: '请选择审批领导', trigger: 'change'}
|
||||||
choiceZRR() {
|
]
|
||||||
this.nodeList = [];
|
},
|
||||||
if (this.form.user7.length > 0) {
|
json: {}
|
||||||
this.nodeList = this.form.user7.split(",");
|
|
||||||
}
|
|
||||||
this.modalshowflag = true;
|
|
||||||
},
|
|
||||||
dialogOk () {
|
|
||||||
this.itermsConditionsFlag = false
|
|
||||||
},
|
|
||||||
filesUpload (file) { // 下载
|
|
||||||
const attId = file.attId
|
|
||||||
if (attId) {
|
|
||||||
window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
|
|
||||||
} else {
|
|
||||||
this.$message.warning('文件不存在,下载失败')
|
|
||||||
}
|
|
||||||
},
|
|
||||||
fileLook(file) { // 预览
|
|
||||||
const attId = file.attId
|
|
||||||
this.$preview(attId)
|
|
||||||
},
|
|
||||||
itermsConditionsClose () {
|
|
||||||
this.itermsConditionsFlag = false
|
|
||||||
},
|
|
||||||
itermsConditionsOpen (row) {
|
|
||||||
this.itermsConditionsFlag = true
|
|
||||||
this.itermsConditionsTitle = row
|
|
||||||
},
|
|
||||||
downloadFile (attId) {
|
|
||||||
window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
|
|
||||||
},
|
|
||||||
handleTransfer() {
|
|
||||||
this.drawerModal = true
|
|
||||||
},
|
|
||||||
checkedRole (data) {
|
|
||||||
this.isSubmit = true
|
|
||||||
changeAssigneeNew({
|
|
||||||
taskId: this.$route.query.taskIds, // 任务id
|
|
||||||
userId:this.$store.getters.userInfo.account, // 委托人
|
|
||||||
assignee: data[0].id, // 被委托人
|
|
||||||
pId: this.$route.query.prcId, // 流程实例
|
|
||||||
}).then(res => {
|
|
||||||
if (res.success) {
|
|
||||||
this.drawerModal = false
|
|
||||||
this.$message.success('调整成功')
|
|
||||||
this.processNum()
|
|
||||||
// hwh5.close()
|
|
||||||
this.$router.go(-2)
|
|
||||||
// this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
|
||||||
} else {
|
|
||||||
this.$message.warning(res.message)
|
|
||||||
}
|
|
||||||
}).finally(() => {
|
|
||||||
this.isSubmit = false
|
|
||||||
})
|
|
||||||
},
|
|
||||||
// 请求转换流程图
|
|
||||||
processNum (row) {
|
|
||||||
axios.request({
|
|
||||||
url: '/api/lawss/activiti/getImg?_t=' + new Date().getTime(),
|
|
||||||
responseType: 'blob',
|
|
||||||
method: 'get',
|
|
||||||
params: {
|
|
||||||
prcNum: this.$route.query.prcNum
|
|
||||||
}
|
|
||||||
}).then(res => {
|
|
||||||
this.processStep = window.URL.createObjectURL(res.data)
|
|
||||||
})
|
|
||||||
},
|
|
||||||
updataFj(item) {
|
|
||||||
window.location.href = '/api/att/attFile/downloadFile?fileId=' + item.id
|
|
||||||
},
|
|
||||||
getHistoryData() {
|
|
||||||
this.$http.get("lawss/activiti/get_list_by_instance", {
|
|
||||||
prcNum: this.$route.query.prcNum
|
|
||||||
}, {}, res => {
|
|
||||||
this.histortData = res;
|
|
||||||
}, e => {
|
|
||||||
});
|
|
||||||
},
|
|
||||||
stateText(row) {
|
|
||||||
if (row === "1") {
|
|
||||||
return "上报";
|
|
||||||
} else if (row === "2") {
|
|
||||||
return "处理后上报";
|
|
||||||
} else {
|
|
||||||
return "不上报";
|
|
||||||
}
|
|
||||||
},
|
|
||||||
upload(row, title) {
|
|
||||||
this.$message.warning('手机端不支持该操作')
|
|
||||||
},
|
|
||||||
handleTabs(name) {
|
|
||||||
this.active = name;
|
|
||||||
},
|
|
||||||
handleSubmit() {
|
|
||||||
this.$refs['bzzqyjForm'].validate((valid) => {
|
|
||||||
if (valid) {
|
|
||||||
this.isSubmit = true;
|
|
||||||
var json = this.json;
|
|
||||||
json.hqFlag = '0';
|
|
||||||
json.commentText = this.commentText6;
|
|
||||||
json.user7 = this.form.user7;
|
|
||||||
json.user7Name = this.form.user7Name;
|
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
|
||||||
json: JSON.stringify(json),
|
|
||||||
taskId: this.taskIds,
|
|
||||||
userId: this.$store.getters.userInfo.account
|
|
||||||
}, {}, res => {
|
|
||||||
if (res.success) {
|
|
||||||
this.$message.success("提交成功");
|
|
||||||
// hwh5.close()
|
|
||||||
this.$router.go(-2)
|
|
||||||
// this.$router.push("/processCenter");
|
|
||||||
}
|
|
||||||
this.isSubmit = false;
|
|
||||||
});
|
|
||||||
} else {
|
|
||||||
this.$message.warning('请选择审批领导')
|
|
||||||
}
|
|
||||||
})
|
|
||||||
},
|
|
||||||
handleSubmitNo() {
|
|
||||||
if (this.commentText6) {
|
|
||||||
this.isSubmit = true;
|
|
||||||
var json = this.json;
|
|
||||||
json.hqFlag = '1';
|
|
||||||
json.commentText = this.commentText6;
|
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
|
||||||
json: JSON.stringify(json),
|
|
||||||
taskIds: this.taskIds,
|
|
||||||
userId: this.$store.getters.userInfo.account
|
|
||||||
}, {}, res => {
|
|
||||||
if (res.success) {
|
|
||||||
this.$message.success("驳回成功");
|
|
||||||
// hwh5.close()
|
|
||||||
this.$router.go(-2)
|
|
||||||
// this.$router.push("/processCenter");
|
|
||||||
}
|
|
||||||
this.isSubmit = false;
|
|
||||||
});
|
|
||||||
} else {
|
|
||||||
this.$message.warning("请输入反馈意见");
|
|
||||||
}
|
|
||||||
},
|
|
||||||
getData() {
|
|
||||||
return new Promise((resolve, reject) => {
|
|
||||||
inboundLiaisonDetail({
|
|
||||||
taskIds: this.taskIds,
|
|
||||||
pId: this.pId
|
|
||||||
}).then(res => {
|
|
||||||
let data = JSON.parse(res.mesg);
|
|
||||||
this.commentText6 = data.commentText6 || ''
|
|
||||||
this.form.presidentUser = data.form ? data.form.presidentUser :data.presidentUser
|
|
||||||
this.form.presidentUserName = data.form ? data.form.presidentUserName : data.presidentUserName
|
|
||||||
this.form.fjList = data.fjList || data.form.fjList
|
|
||||||
this.form.cid = data.cid || data.form.cid;
|
|
||||||
this.form.endTime = data.endTime || data.form.endTime;
|
|
||||||
this.form.textType = data.textType || data.form.textType
|
|
||||||
this.form.modelList = data.modelList || data.form.modelList
|
|
||||||
if(data.form){
|
|
||||||
let user7Id = data.form.user7
|
|
||||||
if(user7Id){
|
|
||||||
this.form.user7 =user7Id
|
|
||||||
this.form.user7Name =data.form.user7Name
|
|
||||||
}else{
|
|
||||||
this.form.user7 = data.user7 ? data.user7 : data.spId
|
|
||||||
this.form.user7Name = data.user7Name ? data.user7Name : data.spName
|
|
||||||
}
|
|
||||||
}else{
|
|
||||||
this.form.user7 = data.user7 ? data.user7 : data.spId
|
|
||||||
this.form.user7Name = data.user7Name ? data.user7Name : data.spName
|
|
||||||
}
|
|
||||||
let newArr = data.info ? data.info : data.form.data
|
|
||||||
this.oldData = JSON.parse(JSON.stringify(newArr))
|
|
||||||
let arr = []
|
|
||||||
newArr.forEach(item => {
|
|
||||||
if (item.state !== '3') {
|
|
||||||
arr.push(item)
|
|
||||||
}
|
|
||||||
})
|
|
||||||
this.json = data
|
|
||||||
this.data2 = newArr
|
|
||||||
this.data = arr
|
|
||||||
}).catch(e => {
|
|
||||||
});
|
|
||||||
});
|
|
||||||
}
|
|
||||||
},
|
|
||||||
mounted() {
|
|
||||||
this.getHistoryData();
|
|
||||||
this.getData();
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
},
|
||||||
|
components: {
|
||||||
|
[Dialog.Component.name]: Dialog.Component,
|
||||||
|
ProcessHeaderPhone,
|
||||||
|
ProcessFooter,
|
||||||
|
ProcessTitle
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
checkedRole2(data) {
|
||||||
|
let idList = '';
|
||||||
|
let nameList = '';
|
||||||
|
if (data.length) {
|
||||||
|
data.forEach(item => {
|
||||||
|
if (nameList.length > 0) {
|
||||||
|
nameList += ',';
|
||||||
|
idList += ',';
|
||||||
|
}
|
||||||
|
idList += item.id;
|
||||||
|
nameList += item.name;
|
||||||
|
});
|
||||||
|
}
|
||||||
|
this.form.user7 = idList;
|
||||||
|
this.form.user7Name = nameList;
|
||||||
|
},
|
||||||
|
choiceZRR() {
|
||||||
|
this.nodeList = [];
|
||||||
|
if (this.form.user7.length > 0) {
|
||||||
|
this.nodeList = this.form.user7.split(',');
|
||||||
|
}
|
||||||
|
this.modalshowflag = true;
|
||||||
|
},
|
||||||
|
dialogOk () {
|
||||||
|
this.itermsConditionsFlag = false
|
||||||
|
},
|
||||||
|
filesUpload (file) { // 下载
|
||||||
|
const attId = file.attId
|
||||||
|
if (attId) {
|
||||||
|
window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
|
||||||
|
} else {
|
||||||
|
this.$message.warning('文件不存在,下载失败')
|
||||||
|
}
|
||||||
|
},
|
||||||
|
fileLook(file) { // 预览
|
||||||
|
const attId = file.attId
|
||||||
|
this.$preview(attId)
|
||||||
|
},
|
||||||
|
itermsConditionsClose () {
|
||||||
|
this.itermsConditionsFlag = false
|
||||||
|
},
|
||||||
|
itermsConditionsOpen (row) {
|
||||||
|
this.itermsConditionsFlag = true
|
||||||
|
this.itermsConditionsTitle = row
|
||||||
|
},
|
||||||
|
downloadFile (attId) {
|
||||||
|
window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
|
||||||
|
},
|
||||||
|
handleTransfer() {
|
||||||
|
this.drawerModal = true
|
||||||
|
},
|
||||||
|
checkedRole (data) {
|
||||||
|
this.isSubmit = true
|
||||||
|
changeAssigneeNew({
|
||||||
|
taskId: this.$route.query.taskIds, // 任务id
|
||||||
|
userId:this.$store.getters.userInfo.account, // 委托人
|
||||||
|
assignee: data[0].id, // 被委托人
|
||||||
|
pId: this.$route.query.prcId, // 流程实例
|
||||||
|
}).then(res => {
|
||||||
|
if (res.success) {
|
||||||
|
this.drawerModal = false
|
||||||
|
this.$message.success('调整成功')
|
||||||
|
this.processNum()
|
||||||
|
// hwh5.close()
|
||||||
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
|
// this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
||||||
|
} else {
|
||||||
|
this.$message.warning(res.message)
|
||||||
|
}
|
||||||
|
}).finally(() => {
|
||||||
|
this.isSubmit = false
|
||||||
|
})
|
||||||
|
},
|
||||||
|
// 请求转换流程图
|
||||||
|
processNum (row) {
|
||||||
|
axios.request({
|
||||||
|
url: '/api/lawss/activiti/getImg?_t=' + new Date().getTime(),
|
||||||
|
responseType: 'blob',
|
||||||
|
method: 'get',
|
||||||
|
params: {
|
||||||
|
prcNum: this.$route.query.prcNum
|
||||||
|
}
|
||||||
|
}).then(res => {
|
||||||
|
this.processStep = window.URL.createObjectURL(res.data)
|
||||||
|
})
|
||||||
|
},
|
||||||
|
updataFj(item) {
|
||||||
|
window.location.href = '/api/att/attFile/downloadFile?fileId=' + item.id
|
||||||
|
},
|
||||||
|
getHistoryData() {
|
||||||
|
this.$http.get('lawss/activiti/get_list_by_instance', {
|
||||||
|
prcNum: this.$route.query.prcNum
|
||||||
|
}, {}, res => {
|
||||||
|
this.histortData = res;
|
||||||
|
}, e => {
|
||||||
|
});
|
||||||
|
},
|
||||||
|
stateText(row) {
|
||||||
|
if (row === '1') {
|
||||||
|
return '上报';
|
||||||
|
} else if (row === '2') {
|
||||||
|
return '处理后上报';
|
||||||
|
} else {
|
||||||
|
return '不上报';
|
||||||
|
}
|
||||||
|
},
|
||||||
|
upload(row, title) {
|
||||||
|
this.$message.warning('手机端不支持该操作')
|
||||||
|
},
|
||||||
|
handleTabs(name) {
|
||||||
|
this.active = name;
|
||||||
|
},
|
||||||
|
handleSubmit() {
|
||||||
|
this.$refs['bzzqyjForm'].validate((valid) => {
|
||||||
|
if (valid) {
|
||||||
|
this.isSubmit = true;
|
||||||
|
const json = this.json;
|
||||||
|
json.hqFlag = '0';
|
||||||
|
json.commentText = this.commentText6;
|
||||||
|
json.user7 = this.form.user7;
|
||||||
|
json.user7Name = this.form.user7Name;
|
||||||
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
|
json: JSON.stringify(json),
|
||||||
|
taskId: this.taskIds,
|
||||||
|
userId: this.$store.getters.userInfo.account
|
||||||
|
}, {}, res => {
|
||||||
|
if (res.success) {
|
||||||
|
this.$message.success('提交成功');
|
||||||
|
// hwh5.close()
|
||||||
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
|
// this.$router.push("/processCenter");
|
||||||
|
}
|
||||||
|
this.isSubmit = false;
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
this.$message.warning('请选择审批领导')
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
|
handleSubmitNo() {
|
||||||
|
if (this.commentText6) {
|
||||||
|
this.isSubmit = true;
|
||||||
|
const json = this.json;
|
||||||
|
json.hqFlag = '1';
|
||||||
|
json.commentText = this.commentText6;
|
||||||
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
|
json: JSON.stringify(json),
|
||||||
|
taskIds: this.taskIds,
|
||||||
|
userId: this.$store.getters.userInfo.account
|
||||||
|
}, {}, res => {
|
||||||
|
if (res.success) {
|
||||||
|
this.$message.success('驳回成功');
|
||||||
|
// hwh5.close()
|
||||||
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
|
// this.$router.push("/processCenter");
|
||||||
|
}
|
||||||
|
this.isSubmit = false;
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
this.$message.warning('请输入反馈意见');
|
||||||
|
}
|
||||||
|
},
|
||||||
|
getData() {
|
||||||
|
return new Promise((resolve, reject) => {
|
||||||
|
inboundLiaisonDetail({
|
||||||
|
taskIds: this.taskIds,
|
||||||
|
pId: this.pId
|
||||||
|
}).then(res => {
|
||||||
|
const data = JSON.parse(res.mesg);
|
||||||
|
this.commentText6 = data.commentText6 || ''
|
||||||
|
this.form.presidentUser = data.form ? data.form.presidentUser :data.presidentUser
|
||||||
|
this.form.presidentUserName = data.form ? data.form.presidentUserName : data.presidentUserName
|
||||||
|
this.form.fjList = data.fjList || data.form.fjList
|
||||||
|
this.form.cid = data.cid || data.form.cid;
|
||||||
|
this.form.endTime = data.endTime || data.form.endTime;
|
||||||
|
this.form.textType = data.textType || data.form.textType
|
||||||
|
this.form.modelList = data.modelList || data.form.modelList
|
||||||
|
if(data.form){
|
||||||
|
const user7Id = data.form.user7
|
||||||
|
if(user7Id){
|
||||||
|
this.form.user7 =user7Id
|
||||||
|
this.form.user7Name =data.form.user7Name
|
||||||
|
}else{
|
||||||
|
this.form.user7 = data.user7 ? data.user7 : data.spId
|
||||||
|
this.form.user7Name = data.user7Name ? data.user7Name : data.spName
|
||||||
|
}
|
||||||
|
}else{
|
||||||
|
this.form.user7 = data.user7 ? data.user7 : data.spId
|
||||||
|
this.form.user7Name = data.user7Name ? data.user7Name : data.spName
|
||||||
|
}
|
||||||
|
const newArr = data.info ? data.info : data.form.data
|
||||||
|
this.oldData = JSON.parse(JSON.stringify(newArr))
|
||||||
|
const arr = []
|
||||||
|
newArr.forEach(item => {
|
||||||
|
if (item.state !== '3') {
|
||||||
|
arr.push(item)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
this.json = data
|
||||||
|
this.data2 = newArr
|
||||||
|
this.data = arr
|
||||||
|
}).catch(e => {
|
||||||
|
});
|
||||||
|
});
|
||||||
|
}
|
||||||
|
},
|
||||||
|
mounted() {
|
||||||
|
this.getHistoryData();
|
||||||
|
this.getData();
|
||||||
|
}
|
||||||
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="less" scoped>
|
<style lang="less" scoped>
|
||||||
|
|||||||
@@ -182,235 +182,238 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { Dialog } from 'vant';
|
import { Dialog } from 'vant';
|
||||||
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
||||||
import ProcessFooter from "../../components/ProcessFooter";
|
import ProcessFooter from '../../components/ProcessFooter';
|
||||||
import ProcessTitle from "../../components/ProcessTitle";
|
import ProcessTitle from '../../components/ProcessTitle';
|
||||||
import { inboundLiaisonDetail, processCreateStand, changeAssigneeNew,getBusStandFileByAttId } from "api/process";
|
import { inboundLiaisonDetail, processCreateStand, changeAssigneeNew,getBusStandFileByAttId } from 'api/process';
|
||||||
import axios from "axios";
|
import axios from 'axios';
|
||||||
import hwh5 from '@/api/hwh5-cloudonline.js'
|
import hwh5 from '@/api/hwh5-cloudonline.js'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "phoneBzzqyjStep7",
|
name: 'phoneBzzqyjStep7',
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
itermsConditionsFlag: false,
|
itermsConditionsFlag: false,
|
||||||
itermsConditionsTitle: '',
|
itermsConditionsTitle: '',
|
||||||
drawerModal: false,
|
drawerModal: false,
|
||||||
histortData: [],
|
histortData: [],
|
||||||
oldData: [],
|
oldData: [],
|
||||||
data: [],
|
data: [],
|
||||||
commentText7: "",
|
commentText7: '',
|
||||||
oldText: "",
|
oldText: '',
|
||||||
newText: "",
|
newText: '',
|
||||||
reason: "",
|
reason: '',
|
||||||
taskIds: this.$route.query.taskIds,
|
taskIds: this.$route.query.taskIds,
|
||||||
pId: this.$route.query.prcId,
|
pId: this.$route.query.prcId,
|
||||||
roleRow: {},
|
roleRow: {},
|
||||||
nodeList: [],
|
nodeList: [],
|
||||||
type: "",
|
type: '',
|
||||||
defaultProps: {
|
defaultProps: {
|
||||||
children: "children",
|
children: 'children',
|
||||||
label: "name"
|
label: 'name'
|
||||||
},
|
},
|
||||||
treeData: [], // 人员数据
|
treeData: [], // 人员数据
|
||||||
modalshowflag: false, // drawer开关
|
modalshowflag: false, // drawer开关
|
||||||
drawerTitle: "", //drawer标题
|
drawerTitle: '', //drawer标题
|
||||||
textarea: "", // 意见
|
textarea: '', // 意见
|
||||||
ListModel: false, // 新增编辑抽屉开关
|
ListModel: false, // 新增编辑抽屉开关
|
||||||
active: "1", // 默认显示
|
active: '1', // 默认显示
|
||||||
isSubmit: false,
|
isSubmit: false,
|
||||||
saveLoading: false,
|
saveLoading: false,
|
||||||
form: {
|
form: {
|
||||||
cid: "", // 编号
|
cid: '', // 编号
|
||||||
endTime: "", // 结束日期
|
endTime: '', // 结束日期
|
||||||
cname: "", // 名称
|
cname: '', // 名称
|
||||||
fjList: [],
|
fjList: [],
|
||||||
fjListId: '',
|
fjListId: '',
|
||||||
textType: '',
|
textType: '',
|
||||||
modelList: [],
|
modelList: [],
|
||||||
modelNameList: '',
|
modelNameList: '',
|
||||||
},
|
},
|
||||||
formRules: {
|
formRules: {
|
||||||
responUserList: [
|
responUserList: [
|
||||||
{required: true, message: "请选择责任人", trigger: "change"}
|
{required: true, message: '请选择责任人', trigger: 'change'}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
json: {}
|
json: {}
|
||||||
};
|
|
||||||
},
|
|
||||||
components: {
|
|
||||||
[Dialog.Component.name]: Dialog.Component,
|
|
||||||
ProcessHeaderPhone,
|
|
||||||
ProcessFooter,
|
|
||||||
ProcessTitle
|
|
||||||
},
|
|
||||||
methods: {
|
|
||||||
dialogOk () {
|
|
||||||
this.itermsConditionsFlag = false
|
|
||||||
},
|
|
||||||
filesUpload (file) { // 下载
|
|
||||||
const attId = file.attId
|
|
||||||
if (attId) {
|
|
||||||
window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
|
|
||||||
} else {
|
|
||||||
this.$message.warning('文件不存在,下载失败')
|
|
||||||
}
|
|
||||||
},
|
|
||||||
fileLook(file) { // 预览
|
|
||||||
const attId = file.attId
|
|
||||||
this.$preview(attId)
|
|
||||||
},
|
|
||||||
itermsConditionsClose () {
|
|
||||||
this.itermsConditionsFlag = false
|
|
||||||
},
|
|
||||||
itermsConditionsOpen (row) {
|
|
||||||
this.itermsConditionsFlag = true
|
|
||||||
this.itermsConditionsTitle = row
|
|
||||||
},
|
|
||||||
downloadFile (attId) {
|
|
||||||
window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
|
|
||||||
},
|
|
||||||
handleTransfer() {
|
|
||||||
this.drawerModal = true
|
|
||||||
},
|
|
||||||
checkedRole (data) {
|
|
||||||
this.isSubmit = true
|
|
||||||
changeAssigneeNew({
|
|
||||||
taskId: this.$route.query.taskIds, // 任务id
|
|
||||||
userId:this.$store.getters.userInfo.account, // 委托人
|
|
||||||
assignee: data[0].id, // 被委托人
|
|
||||||
pId: this.$route.query.prcId, // 流程实例
|
|
||||||
}).then(res => {
|
|
||||||
if (res.success) {
|
|
||||||
this.drawerModal = false
|
|
||||||
this.$message.success('调整成功')
|
|
||||||
this.processNum()
|
|
||||||
// hwh5.close()
|
|
||||||
this.$router.go(-2)
|
|
||||||
// this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
|
||||||
} else {
|
|
||||||
this.$message.warning(res.message)
|
|
||||||
}
|
|
||||||
}).finally(() => {
|
|
||||||
this.isSubmit = false
|
|
||||||
})
|
|
||||||
},
|
|
||||||
// 请求转换流程图
|
|
||||||
processNum (row) {
|
|
||||||
axios.request({
|
|
||||||
url: '/api/lawss/activiti/getImg?_t=' + new Date().getTime(),
|
|
||||||
responseType: 'blob',
|
|
||||||
method: 'get',
|
|
||||||
params: {
|
|
||||||
prcNum: this.$route.query.prcNum
|
|
||||||
}
|
|
||||||
}).then(res => {
|
|
||||||
this.processStep = window.URL.createObjectURL(res.data)
|
|
||||||
})
|
|
||||||
},
|
|
||||||
updataFj(item) {
|
|
||||||
window.location.href = '/api/att/attFile/downloadFile?fileId=' + item.id
|
|
||||||
},
|
|
||||||
getHistoryData() {
|
|
||||||
this.$http.get("lawss/activiti/get_list_by_instance", {
|
|
||||||
prcNum: this.$route.query.prcNum
|
|
||||||
}, {}, res => {
|
|
||||||
this.histortData = res;
|
|
||||||
}, e => {
|
|
||||||
});
|
|
||||||
},
|
|
||||||
stateText(row) {
|
|
||||||
if (row === "1") {
|
|
||||||
return "上报";
|
|
||||||
} else if (row === "2") {
|
|
||||||
return "处理后上报";
|
|
||||||
}
|
|
||||||
},
|
|
||||||
upload(row, title) {
|
|
||||||
this.$message.warning('手机端不支持该操作')
|
|
||||||
},
|
|
||||||
handleTabs(name) {
|
|
||||||
this.active = name;
|
|
||||||
},
|
|
||||||
handleSubmit() {
|
|
||||||
this.isSubmit = true
|
|
||||||
var json = this.json
|
|
||||||
json.bdFlag = '0'
|
|
||||||
json.commentText = this.commentText7
|
|
||||||
this.$http.post('lawss/activiti/completeTask', {
|
|
||||||
json: JSON.stringify(json),
|
|
||||||
taskId: this.taskIds,
|
|
||||||
userId: this.$store.getters.userInfo.account
|
|
||||||
}, {}, res => {
|
|
||||||
if (res.success) {
|
|
||||||
this.$message.success('提交成功')
|
|
||||||
// hwh5.close()
|
|
||||||
this.$router.go(-2)
|
|
||||||
// this.$router.push('/processCenter')
|
|
||||||
}
|
|
||||||
this.isSubmit = false
|
|
||||||
})
|
|
||||||
},
|
|
||||||
handleSubmitNo() {
|
|
||||||
if (this.commentText7) {
|
|
||||||
this.isSubmit = true
|
|
||||||
var json = this.json
|
|
||||||
json.bdFlag = '1'
|
|
||||||
json.commentText = this.commentText7
|
|
||||||
this.$http.post('lawss/activiti/completeTask', {
|
|
||||||
json: JSON.stringify(json),
|
|
||||||
taskIds: this.taskIds,
|
|
||||||
userId: this.$store.getters.userInfo.account
|
|
||||||
}, {}, res => {
|
|
||||||
if (res.success) {
|
|
||||||
this.$message.success('驳回成功')
|
|
||||||
// hwh5.close()
|
|
||||||
this.$router.go(-2)
|
|
||||||
// this.$router.push('/processCenter')
|
|
||||||
}
|
|
||||||
this.isSubmit = false
|
|
||||||
})
|
|
||||||
} else {
|
|
||||||
this.$message.warning('请输入反馈意见')
|
|
||||||
}
|
|
||||||
},
|
|
||||||
getData() {
|
|
||||||
return new Promise((resolve, reject) => {
|
|
||||||
inboundLiaisonDetail({
|
|
||||||
taskIds: this.taskIds,
|
|
||||||
pId: this.pId
|
|
||||||
}).then(res => {
|
|
||||||
let data = JSON.parse(res.mesg)
|
|
||||||
this.commentText7 = data.commentText7 || ''
|
|
||||||
this.form.presidentUser = data.form ? data.form.presidentUser :data.presidentUser
|
|
||||||
this.form.presidentUserName = data.form ? data.form.presidentUserName : data.presidentUserName
|
|
||||||
this.form.fjList = data.fjList || data.form.fjList
|
|
||||||
this.form.cid = data.cid || data.form.cid;
|
|
||||||
this.form.endTime = data.endTime || data.form.endTime;
|
|
||||||
this.form.textType = data.textType || data.form.textType
|
|
||||||
this.form.modelList = data.modelList || data.form.modelList
|
|
||||||
let newArr = data.info ? data.info : data.form.data
|
|
||||||
this.oldData = JSON.parse(JSON.stringify(newArr))
|
|
||||||
let arr = []
|
|
||||||
newArr.forEach(item => {
|
|
||||||
if (item.state !== '3') {
|
|
||||||
arr.push(item)
|
|
||||||
}
|
|
||||||
})
|
|
||||||
this.json = data
|
|
||||||
this.data2 = newArr
|
|
||||||
this.data = arr
|
|
||||||
}).catch(e => {
|
|
||||||
})
|
|
||||||
})
|
|
||||||
},
|
|
||||||
},
|
|
||||||
mounted() {
|
|
||||||
this.getHistoryData();
|
|
||||||
this.getData();
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
},
|
||||||
|
components: {
|
||||||
|
[Dialog.Component.name]: Dialog.Component,
|
||||||
|
ProcessHeaderPhone,
|
||||||
|
ProcessFooter,
|
||||||
|
ProcessTitle
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
dialogOk () {
|
||||||
|
this.itermsConditionsFlag = false
|
||||||
|
},
|
||||||
|
filesUpload (file) { // 下载
|
||||||
|
const attId = file.attId
|
||||||
|
if (attId) {
|
||||||
|
window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
|
||||||
|
} else {
|
||||||
|
this.$message.warning('文件不存在,下载失败')
|
||||||
|
}
|
||||||
|
},
|
||||||
|
fileLook(file) { // 预览
|
||||||
|
const attId = file.attId
|
||||||
|
this.$preview(attId)
|
||||||
|
},
|
||||||
|
itermsConditionsClose () {
|
||||||
|
this.itermsConditionsFlag = false
|
||||||
|
},
|
||||||
|
itermsConditionsOpen (row) {
|
||||||
|
this.itermsConditionsFlag = true
|
||||||
|
this.itermsConditionsTitle = row
|
||||||
|
},
|
||||||
|
downloadFile (attId) {
|
||||||
|
window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
|
||||||
|
},
|
||||||
|
handleTransfer() {
|
||||||
|
this.drawerModal = true
|
||||||
|
},
|
||||||
|
checkedRole (data) {
|
||||||
|
this.isSubmit = true
|
||||||
|
changeAssigneeNew({
|
||||||
|
taskId: this.$route.query.taskIds, // 任务id
|
||||||
|
userId:this.$store.getters.userInfo.account, // 委托人
|
||||||
|
assignee: data[0].id, // 被委托人
|
||||||
|
pId: this.$route.query.prcId, // 流程实例
|
||||||
|
}).then(res => {
|
||||||
|
if (res.success) {
|
||||||
|
this.drawerModal = false
|
||||||
|
this.$message.success('调整成功')
|
||||||
|
this.processNum()
|
||||||
|
// hwh5.close()
|
||||||
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
|
// this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
||||||
|
} else {
|
||||||
|
this.$message.warning(res.message)
|
||||||
|
}
|
||||||
|
}).finally(() => {
|
||||||
|
this.isSubmit = false
|
||||||
|
})
|
||||||
|
},
|
||||||
|
// 请求转换流程图
|
||||||
|
processNum (row) {
|
||||||
|
axios.request({
|
||||||
|
url: '/api/lawss/activiti/getImg?_t=' + new Date().getTime(),
|
||||||
|
responseType: 'blob',
|
||||||
|
method: 'get',
|
||||||
|
params: {
|
||||||
|
prcNum: this.$route.query.prcNum
|
||||||
|
}
|
||||||
|
}).then(res => {
|
||||||
|
this.processStep = window.URL.createObjectURL(res.data)
|
||||||
|
})
|
||||||
|
},
|
||||||
|
updataFj(item) {
|
||||||
|
window.location.href = '/api/att/attFile/downloadFile?fileId=' + item.id
|
||||||
|
},
|
||||||
|
getHistoryData() {
|
||||||
|
this.$http.get('lawss/activiti/get_list_by_instance', {
|
||||||
|
prcNum: this.$route.query.prcNum
|
||||||
|
}, {}, res => {
|
||||||
|
this.histortData = res;
|
||||||
|
}, e => {
|
||||||
|
});
|
||||||
|
},
|
||||||
|
stateText(row) {
|
||||||
|
if (row === '1') {
|
||||||
|
return '上报';
|
||||||
|
} else if (row === '2') {
|
||||||
|
return '处理后上报';
|
||||||
|
}
|
||||||
|
},
|
||||||
|
upload(row, title) {
|
||||||
|
this.$message.warning('手机端不支持该操作')
|
||||||
|
},
|
||||||
|
handleTabs(name) {
|
||||||
|
this.active = name;
|
||||||
|
},
|
||||||
|
handleSubmit() {
|
||||||
|
this.isSubmit = true
|
||||||
|
const json = this.json
|
||||||
|
json.bdFlag = '0'
|
||||||
|
json.commentText = this.commentText7
|
||||||
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
|
json: JSON.stringify(json),
|
||||||
|
taskId: this.taskIds,
|
||||||
|
userId: this.$store.getters.userInfo.account
|
||||||
|
}, {}, res => {
|
||||||
|
if (res.success) {
|
||||||
|
this.$message.success('提交成功')
|
||||||
|
// hwh5.close()
|
||||||
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
|
// this.$router.push('/processCenter')
|
||||||
|
}
|
||||||
|
this.isSubmit = false
|
||||||
|
})
|
||||||
|
},
|
||||||
|
handleSubmitNo() {
|
||||||
|
if (this.commentText7) {
|
||||||
|
this.isSubmit = true
|
||||||
|
const json = this.json
|
||||||
|
json.bdFlag = '1'
|
||||||
|
json.commentText = this.commentText7
|
||||||
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
|
json: JSON.stringify(json),
|
||||||
|
taskIds: this.taskIds,
|
||||||
|
userId: this.$store.getters.userInfo.account
|
||||||
|
}, {}, res => {
|
||||||
|
if (res.success) {
|
||||||
|
this.$message.success('驳回成功')
|
||||||
|
// hwh5.close()
|
||||||
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
|
// this.$router.push('/processCenter')
|
||||||
|
}
|
||||||
|
this.isSubmit = false
|
||||||
|
})
|
||||||
|
} else {
|
||||||
|
this.$message.warning('请输入反馈意见')
|
||||||
|
}
|
||||||
|
},
|
||||||
|
getData() {
|
||||||
|
return new Promise((resolve, reject) => {
|
||||||
|
inboundLiaisonDetail({
|
||||||
|
taskIds: this.taskIds,
|
||||||
|
pId: this.pId
|
||||||
|
}).then(res => {
|
||||||
|
const data = JSON.parse(res.mesg)
|
||||||
|
this.commentText7 = data.commentText7 || ''
|
||||||
|
this.form.presidentUser = data.form ? data.form.presidentUser :data.presidentUser
|
||||||
|
this.form.presidentUserName = data.form ? data.form.presidentUserName : data.presidentUserName
|
||||||
|
this.form.fjList = data.fjList || data.form.fjList
|
||||||
|
this.form.cid = data.cid || data.form.cid;
|
||||||
|
this.form.endTime = data.endTime || data.form.endTime;
|
||||||
|
this.form.textType = data.textType || data.form.textType
|
||||||
|
this.form.modelList = data.modelList || data.form.modelList
|
||||||
|
const newArr = data.info ? data.info : data.form.data
|
||||||
|
this.oldData = JSON.parse(JSON.stringify(newArr))
|
||||||
|
const arr = []
|
||||||
|
newArr.forEach(item => {
|
||||||
|
if (item.state !== '3') {
|
||||||
|
arr.push(item)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
this.json = data
|
||||||
|
this.data2 = newArr
|
||||||
|
this.data = arr
|
||||||
|
}).catch(e => {
|
||||||
|
})
|
||||||
|
})
|
||||||
|
},
|
||||||
|
},
|
||||||
|
mounted() {
|
||||||
|
this.getHistoryData();
|
||||||
|
this.getData();
|
||||||
|
}
|
||||||
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="less" scoped>
|
<style lang="less" scoped>
|
||||||
|
|||||||
@@ -183,237 +183,240 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { Dialog } from 'vant';
|
import { Dialog } from 'vant';
|
||||||
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
||||||
import ProcessFooter from "../../components/ProcessFooter";
|
import ProcessFooter from '../../components/ProcessFooter';
|
||||||
import ProcessTitle from "../../components/ProcessTitle";
|
import ProcessTitle from '../../components/ProcessTitle';
|
||||||
import { inboundLiaisonDetail, processCreateStand, changeAssigneeNew } from "api/process";
|
import { inboundLiaisonDetail, processCreateStand, changeAssigneeNew } from 'api/process';
|
||||||
import axios from "axios";
|
import axios from 'axios';
|
||||||
import hwh5 from '@/api/hwh5-cloudonline.js'
|
import hwh5 from '@/api/hwh5-cloudonline.js'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "phoneBzzqyjStep8",
|
name: 'phoneBzzqyjStep8',
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
itermsConditionsFlag: false,
|
itermsConditionsFlag: false,
|
||||||
itermsConditionsTitle: '',
|
itermsConditionsTitle: '',
|
||||||
drawerModal: false,
|
drawerModal: false,
|
||||||
histortData: [],
|
histortData: [],
|
||||||
oldData: [],
|
oldData: [],
|
||||||
data: [],
|
data: [],
|
||||||
commentText8: "",
|
commentText8: '',
|
||||||
oldText: "",
|
oldText: '',
|
||||||
newText: "",
|
newText: '',
|
||||||
reason: "",
|
reason: '',
|
||||||
taskIds: this.$route.query.taskIds,
|
taskIds: this.$route.query.taskIds,
|
||||||
pId: this.$route.query.prcId,
|
pId: this.$route.query.prcId,
|
||||||
roleRow: {},
|
roleRow: {},
|
||||||
nodeList: [],
|
nodeList: [],
|
||||||
type: "",
|
type: '',
|
||||||
defaultProps: {
|
defaultProps: {
|
||||||
children: "children",
|
children: 'children',
|
||||||
label: "name"
|
label: 'name'
|
||||||
},
|
},
|
||||||
treeData: [], // 人员数据
|
treeData: [], // 人员数据
|
||||||
modalshowflag: false, // drawer开关
|
modalshowflag: false, // drawer开关
|
||||||
drawerTitle: "", //drawer标题
|
drawerTitle: '', //drawer标题
|
||||||
textarea: "", // 意见
|
textarea: '', // 意见
|
||||||
ListModel: false, // 新增编辑抽屉开关
|
ListModel: false, // 新增编辑抽屉开关
|
||||||
active: "1", // 默认显示
|
active: '1', // 默认显示
|
||||||
isSubmit: false,
|
isSubmit: false,
|
||||||
saveLoading: false,
|
saveLoading: false,
|
||||||
form: {
|
form: {
|
||||||
cid: "", // 编号
|
cid: '', // 编号
|
||||||
endTime: "", // 结束日期
|
endTime: '', // 结束日期
|
||||||
cname: "", // 名称
|
cname: '', // 名称
|
||||||
fjList: [],
|
fjList: [],
|
||||||
fjListId: '',
|
fjListId: '',
|
||||||
textType: '',
|
textType: '',
|
||||||
modelList: [],
|
modelList: [],
|
||||||
modelNameList: '',
|
modelNameList: '',
|
||||||
},
|
},
|
||||||
formRules: {
|
formRules: {
|
||||||
responUserList: [
|
responUserList: [
|
||||||
{required: true, message: "请选择责任人", trigger: "change"}
|
{required: true, message: '请选择责任人', trigger: 'change'}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
json: {}
|
json: {}
|
||||||
};
|
|
||||||
},
|
|
||||||
components: {
|
|
||||||
[Dialog.Component.name]: Dialog.Component,
|
|
||||||
ProcessHeaderPhone,
|
|
||||||
ProcessFooter,
|
|
||||||
ProcessTitle
|
|
||||||
},
|
|
||||||
methods: {
|
|
||||||
dialogOk () {
|
|
||||||
this.itermsConditionsFlag = false
|
|
||||||
},
|
|
||||||
filesUpload (file) { // 下载
|
|
||||||
const attId = file.attId
|
|
||||||
if (attId) {
|
|
||||||
window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
|
|
||||||
} else {
|
|
||||||
this.$message.warning('文件不存在,下载失败')
|
|
||||||
}
|
|
||||||
},
|
|
||||||
fileLook(file) { // 预览
|
|
||||||
const attId = file.attId
|
|
||||||
this.$preview(attId)
|
|
||||||
},
|
|
||||||
itermsConditionsClose () {
|
|
||||||
this.itermsConditionsFlag = false
|
|
||||||
},
|
|
||||||
itermsConditionsOpen (row) {
|
|
||||||
this.itermsConditionsFlag = true
|
|
||||||
this.itermsConditionsTitle = row
|
|
||||||
},
|
|
||||||
downloadFile (attId) {
|
|
||||||
window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
|
|
||||||
},
|
|
||||||
handleTransfer() {
|
|
||||||
this.drawerModal = true
|
|
||||||
},
|
|
||||||
checkedRole (data) {
|
|
||||||
this.isSubmit = true
|
|
||||||
changeAssigneeNew({
|
|
||||||
taskId: this.$route.query.taskIds, // 任务id
|
|
||||||
userId:this.$store.getters.userInfo.account, // 委托人
|
|
||||||
assignee: data[0].id, // 被委托人
|
|
||||||
pId: this.$route.query.prcId, // 流程实例
|
|
||||||
}).then(res => {
|
|
||||||
if (res.success) {
|
|
||||||
this.drawerModal = false
|
|
||||||
this.$message.success('调整成功')
|
|
||||||
this.processNum()
|
|
||||||
// hwh5.close()
|
|
||||||
this.$router.go(-2)
|
|
||||||
// this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
|
||||||
} else {
|
|
||||||
this.$message.warning(res.message)
|
|
||||||
}
|
|
||||||
}).finally(() => {
|
|
||||||
this.isSubmit = false
|
|
||||||
})
|
|
||||||
},
|
|
||||||
// 请求转换流程图
|
|
||||||
processNum (row) {
|
|
||||||
axios.request({
|
|
||||||
url: '/api/lawss/activiti/getImg?_t=' + new Date().getTime(),
|
|
||||||
responseType: 'blob',
|
|
||||||
method: 'get',
|
|
||||||
params: {
|
|
||||||
prcNum: this.$route.query.prcNum
|
|
||||||
}
|
|
||||||
}).then(res => {
|
|
||||||
this.processStep = window.URL.createObjectURL(res.data)
|
|
||||||
})
|
|
||||||
},
|
|
||||||
updataFj(item) {
|
|
||||||
window.location.href = '/api/att/attFile/downloadFile?fileId=' + item.id
|
|
||||||
},
|
|
||||||
getHistoryData() {
|
|
||||||
this.$http.get("lawss/activiti/get_list_by_instance", {
|
|
||||||
prcNum: this.$route.query.prcNum
|
|
||||||
}, {}, res => {
|
|
||||||
this.histortData = res;
|
|
||||||
}, e => {
|
|
||||||
});
|
|
||||||
},
|
|
||||||
stateText(row) {
|
|
||||||
if (row === "1") {
|
|
||||||
return "上报";
|
|
||||||
} else if (row === "2") {
|
|
||||||
return "处理后上报";
|
|
||||||
}
|
|
||||||
},
|
|
||||||
upload(row, title) {
|
|
||||||
this.$message.warning('手机端不支持该操作')
|
|
||||||
},
|
|
||||||
handleTabs(name) {
|
|
||||||
this.active = name;
|
|
||||||
},
|
|
||||||
handleSave() {
|
|
||||||
},
|
|
||||||
handleSubmit() {
|
|
||||||
this.isSubmit = true
|
|
||||||
var json = this.json
|
|
||||||
json.directorFlag = '0'
|
|
||||||
json.commentText = this.commentText8
|
|
||||||
this.$http.post('lawss/activiti/completeTask', {
|
|
||||||
json: JSON.stringify(json),
|
|
||||||
taskId: this.taskIds,
|
|
||||||
userId: this.$store.getters.userInfo.account
|
|
||||||
}, {}, res => {
|
|
||||||
if (res.success) {
|
|
||||||
this.$message.success('提交成功')
|
|
||||||
// hwh5.close()
|
|
||||||
this.$router.go(-2)
|
|
||||||
// this.$router.push('/processCenter')
|
|
||||||
}
|
|
||||||
this.isSubmit = false
|
|
||||||
})
|
|
||||||
},
|
|
||||||
handleSubmitNo() {
|
|
||||||
if (this.commentText8) {
|
|
||||||
this.isSubmit = true
|
|
||||||
var json = this.json
|
|
||||||
json.directorFlag = '1'
|
|
||||||
json.commentText = this.commentText8
|
|
||||||
this.$http.post('lawss/activiti/completeTask', {
|
|
||||||
json: JSON.stringify(json),
|
|
||||||
taskIds: this.taskIds,
|
|
||||||
userId: this.$store.getters.userInfo.account
|
|
||||||
}, {}, res => {
|
|
||||||
if (res.success) {
|
|
||||||
this.$message.success('驳回成功')
|
|
||||||
// hwh5.close()
|
|
||||||
this.$router.go(-2)
|
|
||||||
// this.$router.push('/processCenter')
|
|
||||||
}
|
|
||||||
this.isSubmit = false
|
|
||||||
})
|
|
||||||
} else {
|
|
||||||
this.$message.warning('请输入反馈意见')
|
|
||||||
}
|
|
||||||
},
|
|
||||||
getData() {
|
|
||||||
return new Promise((resolve, reject) => {
|
|
||||||
inboundLiaisonDetail({
|
|
||||||
taskIds: this.taskIds,
|
|
||||||
pId: this.pId
|
|
||||||
}).then(res => {
|
|
||||||
let data = JSON.parse(res.mesg)
|
|
||||||
this.commentText8 = data.commentText8 || ''
|
|
||||||
this.form.presidentUser = data.form ? data.form.presidentUser :data.presidentUser
|
|
||||||
this.form.presidentUserName = data.form ? data.form.presidentUserName : data.presidentUserName
|
|
||||||
this.form.fjList = data.fjList || data.form.fjList
|
|
||||||
this.form.cid = data.cid || data.form.cid;
|
|
||||||
this.form.endTime = data.endTime || data.form.endTime;
|
|
||||||
this.form.textType = data.textType || data.form.textType
|
|
||||||
this.form.modelList = data.modelList || data.form.modelList
|
|
||||||
let newArr = data.info ? data.info : data.form.data
|
|
||||||
this.oldData = JSON.parse(JSON.stringify(newArr))
|
|
||||||
let arr = []
|
|
||||||
newArr.forEach(item => {
|
|
||||||
if (item.state !== '3') {
|
|
||||||
arr.push(item)
|
|
||||||
}
|
|
||||||
})
|
|
||||||
this.json = data
|
|
||||||
this.data2 = newArr
|
|
||||||
this.data = arr
|
|
||||||
}).catch(e => {
|
|
||||||
})
|
|
||||||
})
|
|
||||||
},
|
|
||||||
},
|
|
||||||
mounted() {
|
|
||||||
this.getHistoryData();
|
|
||||||
this.getData();
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
},
|
||||||
|
components: {
|
||||||
|
[Dialog.Component.name]: Dialog.Component,
|
||||||
|
ProcessHeaderPhone,
|
||||||
|
ProcessFooter,
|
||||||
|
ProcessTitle
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
dialogOk () {
|
||||||
|
this.itermsConditionsFlag = false
|
||||||
|
},
|
||||||
|
filesUpload (file) { // 下载
|
||||||
|
const attId = file.attId
|
||||||
|
if (attId) {
|
||||||
|
window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
|
||||||
|
} else {
|
||||||
|
this.$message.warning('文件不存在,下载失败')
|
||||||
|
}
|
||||||
|
},
|
||||||
|
fileLook(file) { // 预览
|
||||||
|
const attId = file.attId
|
||||||
|
this.$preview(attId)
|
||||||
|
},
|
||||||
|
itermsConditionsClose () {
|
||||||
|
this.itermsConditionsFlag = false
|
||||||
|
},
|
||||||
|
itermsConditionsOpen (row) {
|
||||||
|
this.itermsConditionsFlag = true
|
||||||
|
this.itermsConditionsTitle = row
|
||||||
|
},
|
||||||
|
downloadFile (attId) {
|
||||||
|
window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
|
||||||
|
},
|
||||||
|
handleTransfer() {
|
||||||
|
this.drawerModal = true
|
||||||
|
},
|
||||||
|
checkedRole (data) {
|
||||||
|
this.isSubmit = true
|
||||||
|
changeAssigneeNew({
|
||||||
|
taskId: this.$route.query.taskIds, // 任务id
|
||||||
|
userId:this.$store.getters.userInfo.account, // 委托人
|
||||||
|
assignee: data[0].id, // 被委托人
|
||||||
|
pId: this.$route.query.prcId, // 流程实例
|
||||||
|
}).then(res => {
|
||||||
|
if (res.success) {
|
||||||
|
this.drawerModal = false
|
||||||
|
this.$message.success('调整成功')
|
||||||
|
this.processNum()
|
||||||
|
// hwh5.close()
|
||||||
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
|
// this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
||||||
|
} else {
|
||||||
|
this.$message.warning(res.message)
|
||||||
|
}
|
||||||
|
}).finally(() => {
|
||||||
|
this.isSubmit = false
|
||||||
|
})
|
||||||
|
},
|
||||||
|
// 请求转换流程图
|
||||||
|
processNum (row) {
|
||||||
|
axios.request({
|
||||||
|
url: '/api/lawss/activiti/getImg?_t=' + new Date().getTime(),
|
||||||
|
responseType: 'blob',
|
||||||
|
method: 'get',
|
||||||
|
params: {
|
||||||
|
prcNum: this.$route.query.prcNum
|
||||||
|
}
|
||||||
|
}).then(res => {
|
||||||
|
this.processStep = window.URL.createObjectURL(res.data)
|
||||||
|
})
|
||||||
|
},
|
||||||
|
updataFj(item) {
|
||||||
|
window.location.href = '/api/att/attFile/downloadFile?fileId=' + item.id
|
||||||
|
},
|
||||||
|
getHistoryData() {
|
||||||
|
this.$http.get('lawss/activiti/get_list_by_instance', {
|
||||||
|
prcNum: this.$route.query.prcNum
|
||||||
|
}, {}, res => {
|
||||||
|
this.histortData = res;
|
||||||
|
}, e => {
|
||||||
|
});
|
||||||
|
},
|
||||||
|
stateText(row) {
|
||||||
|
if (row === '1') {
|
||||||
|
return '上报';
|
||||||
|
} else if (row === '2') {
|
||||||
|
return '处理后上报';
|
||||||
|
}
|
||||||
|
},
|
||||||
|
upload(row, title) {
|
||||||
|
this.$message.warning('手机端不支持该操作')
|
||||||
|
},
|
||||||
|
handleTabs(name) {
|
||||||
|
this.active = name;
|
||||||
|
},
|
||||||
|
handleSave() {
|
||||||
|
},
|
||||||
|
handleSubmit() {
|
||||||
|
this.isSubmit = true
|
||||||
|
const json = this.json
|
||||||
|
json.directorFlag = '0'
|
||||||
|
json.commentText = this.commentText8
|
||||||
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
|
json: JSON.stringify(json),
|
||||||
|
taskId: this.taskIds,
|
||||||
|
userId: this.$store.getters.userInfo.account
|
||||||
|
}, {}, res => {
|
||||||
|
if (res.success) {
|
||||||
|
this.$message.success('提交成功')
|
||||||
|
// hwh5.close()
|
||||||
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
|
// this.$router.push('/processCenter')
|
||||||
|
}
|
||||||
|
this.isSubmit = false
|
||||||
|
})
|
||||||
|
},
|
||||||
|
handleSubmitNo() {
|
||||||
|
if (this.commentText8) {
|
||||||
|
this.isSubmit = true
|
||||||
|
const json = this.json
|
||||||
|
json.directorFlag = '1'
|
||||||
|
json.commentText = this.commentText8
|
||||||
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
|
json: JSON.stringify(json),
|
||||||
|
taskIds: this.taskIds,
|
||||||
|
userId: this.$store.getters.userInfo.account
|
||||||
|
}, {}, res => {
|
||||||
|
if (res.success) {
|
||||||
|
this.$message.success('驳回成功')
|
||||||
|
// hwh5.close()
|
||||||
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
|
// this.$router.push('/processCenter')
|
||||||
|
}
|
||||||
|
this.isSubmit = false
|
||||||
|
})
|
||||||
|
} else {
|
||||||
|
this.$message.warning('请输入反馈意见')
|
||||||
|
}
|
||||||
|
},
|
||||||
|
getData() {
|
||||||
|
return new Promise((resolve, reject) => {
|
||||||
|
inboundLiaisonDetail({
|
||||||
|
taskIds: this.taskIds,
|
||||||
|
pId: this.pId
|
||||||
|
}).then(res => {
|
||||||
|
const data = JSON.parse(res.mesg)
|
||||||
|
this.commentText8 = data.commentText8 || ''
|
||||||
|
this.form.presidentUser = data.form ? data.form.presidentUser :data.presidentUser
|
||||||
|
this.form.presidentUserName = data.form ? data.form.presidentUserName : data.presidentUserName
|
||||||
|
this.form.fjList = data.fjList || data.form.fjList
|
||||||
|
this.form.cid = data.cid || data.form.cid;
|
||||||
|
this.form.endTime = data.endTime || data.form.endTime;
|
||||||
|
this.form.textType = data.textType || data.form.textType
|
||||||
|
this.form.modelList = data.modelList || data.form.modelList
|
||||||
|
const newArr = data.info ? data.info : data.form.data
|
||||||
|
this.oldData = JSON.parse(JSON.stringify(newArr))
|
||||||
|
const arr = []
|
||||||
|
newArr.forEach(item => {
|
||||||
|
if (item.state !== '3') {
|
||||||
|
arr.push(item)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
this.json = data
|
||||||
|
this.data2 = newArr
|
||||||
|
this.data = arr
|
||||||
|
}).catch(e => {
|
||||||
|
})
|
||||||
|
})
|
||||||
|
},
|
||||||
|
},
|
||||||
|
mounted() {
|
||||||
|
this.getHistoryData();
|
||||||
|
this.getData();
|
||||||
|
}
|
||||||
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="less" scoped>
|
<style lang="less" scoped>
|
||||||
|
|||||||
@@ -183,251 +183,254 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { Dialog } from 'vant';
|
import { Dialog } from 'vant';
|
||||||
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
||||||
import ProcessFooter from "../../components/ProcessFooter";
|
import ProcessFooter from '../../components/ProcessFooter';
|
||||||
import ProcessTitle from "../../components/ProcessTitle";
|
import ProcessTitle from '../../components/ProcessTitle';
|
||||||
import { inboundLiaisonDetail, processCreateStand, changeAssigneeNew,getBusStandFileByAttId } from "api/process";
|
import { inboundLiaisonDetail, processCreateStand, changeAssigneeNew,getBusStandFileByAttId } from 'api/process';
|
||||||
import axios from "axios";
|
import axios from 'axios';
|
||||||
import hwh5 from '@/api/hwh5-cloudonline.js'
|
import hwh5 from '@/api/hwh5-cloudonline.js'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "phoneBzzqyjStep9",
|
name: 'phoneBzzqyjStep9',
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
itermsConditionsFlag: false,
|
itermsConditionsFlag: false,
|
||||||
itermsConditionsTitle: '',
|
itermsConditionsTitle: '',
|
||||||
drawerModal: false,
|
drawerModal: false,
|
||||||
histortData: [],
|
histortData: [],
|
||||||
oldData: [],
|
oldData: [],
|
||||||
data: [],
|
data: [],
|
||||||
commentText9: "",
|
commentText9: '',
|
||||||
oldText: "",
|
oldText: '',
|
||||||
newText: "",
|
newText: '',
|
||||||
reason: "",
|
reason: '',
|
||||||
taskIds: this.$route.query.taskIds,
|
taskIds: this.$route.query.taskIds,
|
||||||
pId: this.$route.query.prcId,
|
pId: this.$route.query.prcId,
|
||||||
roleRow: {},
|
roleRow: {},
|
||||||
nodeList: [],
|
nodeList: [],
|
||||||
type: "",
|
type: '',
|
||||||
defaultProps: {
|
defaultProps: {
|
||||||
children: "children",
|
children: 'children',
|
||||||
label: "name"
|
label: 'name'
|
||||||
},
|
},
|
||||||
treeData: [], // 人员数据
|
treeData: [], // 人员数据
|
||||||
modalshowflag: false, // drawer开关
|
modalshowflag: false, // drawer开关
|
||||||
drawerTitle: "", //drawer标题
|
drawerTitle: '', //drawer标题
|
||||||
textarea: "", // 意见
|
textarea: '', // 意见
|
||||||
ListModel: false, // 新增编辑抽屉开关
|
ListModel: false, // 新增编辑抽屉开关
|
||||||
active: "1", // 默认显示
|
active: '1', // 默认显示
|
||||||
isSubmit: false,
|
isSubmit: false,
|
||||||
saveLoading: false,
|
saveLoading: false,
|
||||||
form: {
|
form: {
|
||||||
cid: "", // 编号
|
cid: '', // 编号
|
||||||
endTime: "", // 结束日期
|
endTime: '', // 结束日期
|
||||||
cname: "", // 名称
|
cname: '', // 名称
|
||||||
fjList: [],
|
fjList: [],
|
||||||
fjListId: '',
|
fjListId: '',
|
||||||
textType: '',
|
textType: '',
|
||||||
modelList: [],
|
modelList: [],
|
||||||
modelNameList: '',
|
modelNameList: '',
|
||||||
},
|
},
|
||||||
formRules: {
|
formRules: {
|
||||||
responUserList: [
|
responUserList: [
|
||||||
{required: true, message: "请选择责任人", trigger: "change"}
|
{required: true, message: '请选择责任人', trigger: 'change'}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
json: {}
|
json: {}
|
||||||
};
|
|
||||||
},
|
|
||||||
components: {
|
|
||||||
[Dialog.Component.name]: Dialog.Component,
|
|
||||||
ProcessHeaderPhone,
|
|
||||||
ProcessFooter,
|
|
||||||
ProcessTitle
|
|
||||||
},
|
|
||||||
methods: {
|
|
||||||
dialogOk () {
|
|
||||||
this.itermsConditionsFlag = false
|
|
||||||
},
|
|
||||||
filesUpload (file) { // 下载
|
|
||||||
const attId = file.attId
|
|
||||||
if (attId) {
|
|
||||||
window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
|
|
||||||
} else {
|
|
||||||
this.$message.warning('文件不存在,下载失败')
|
|
||||||
}
|
|
||||||
},
|
|
||||||
getBusStandFileByAttId(attId) { // 预览
|
|
||||||
return new Promise((resolve, reject) => {
|
|
||||||
getBusStandFileByAttId({
|
|
||||||
attId
|
|
||||||
}).then(res => {
|
|
||||||
if (res.ok) {
|
|
||||||
resolve(res.data)
|
|
||||||
} else {
|
|
||||||
reject()
|
|
||||||
}
|
|
||||||
}).catch(e => {
|
|
||||||
reject(e)
|
|
||||||
})
|
|
||||||
})
|
|
||||||
},
|
|
||||||
fileLook(file) { // 预览
|
|
||||||
const attId = file.attId
|
|
||||||
this.$preview(attId)
|
|
||||||
},
|
|
||||||
itermsConditionsClose () {
|
|
||||||
this.itermsConditionsFlag = false
|
|
||||||
},
|
|
||||||
itermsConditionsOpen (row) {
|
|
||||||
this.itermsConditionsFlag = true
|
|
||||||
this.itermsConditionsTitle = row
|
|
||||||
},
|
|
||||||
downloadFile (attId) {
|
|
||||||
window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
|
|
||||||
},
|
|
||||||
handleTransfer() {
|
|
||||||
this.drawerModal = true
|
|
||||||
},
|
|
||||||
checkedRole (data) {
|
|
||||||
this.isSubmit = true
|
|
||||||
changeAssigneeNew({
|
|
||||||
taskId: this.$route.query.taskIds, // 任务id
|
|
||||||
userId:this.$store.getters.userInfo.account, // 委托人
|
|
||||||
assignee: data[0].id, // 被委托人
|
|
||||||
pId: this.$route.query.prcId, // 流程实例
|
|
||||||
}).then(res => {
|
|
||||||
if (res.success) {
|
|
||||||
this.drawerModal = false
|
|
||||||
this.$message.success('调整成功')
|
|
||||||
this.processNum()
|
|
||||||
// hwh5.close()
|
|
||||||
this.$router.go(-2)
|
|
||||||
// this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
|
||||||
} else {
|
|
||||||
this.$message.warning(res.message)
|
|
||||||
}
|
|
||||||
}).finally(() => {
|
|
||||||
this.isSubmit = false
|
|
||||||
})
|
|
||||||
},
|
|
||||||
// 请求转换流程图
|
|
||||||
processNum (row) {
|
|
||||||
axios.request({
|
|
||||||
url: '/api/lawss/activiti/getImg?_t=' + new Date().getTime(),
|
|
||||||
responseType: 'blob',
|
|
||||||
method: 'get',
|
|
||||||
params: {
|
|
||||||
prcNum: this.$route.query.prcNum
|
|
||||||
}
|
|
||||||
}).then(res => {
|
|
||||||
this.processStep = window.URL.createObjectURL(res.data)
|
|
||||||
})
|
|
||||||
},
|
|
||||||
updataFj(item) {
|
|
||||||
window.location.href = '/api/att/attFile/downloadFile?fileId=' + item.id
|
|
||||||
},
|
|
||||||
getHistoryData() {
|
|
||||||
this.$http.get("lawss/activiti/get_list_by_instance", {
|
|
||||||
prcNum: this.$route.query.prcNum
|
|
||||||
}, {}, res => {
|
|
||||||
this.histortData = res;
|
|
||||||
}, e => {
|
|
||||||
});
|
|
||||||
},
|
|
||||||
stateText(row) {
|
|
||||||
if (row === "1") {
|
|
||||||
return "上报";
|
|
||||||
} else if (row === "2") {
|
|
||||||
return "处理后上报";
|
|
||||||
}
|
|
||||||
},
|
|
||||||
upload(row, title) {
|
|
||||||
this.$message.warning('手机端不支持该操作')
|
|
||||||
},
|
|
||||||
handleTabs(name) {
|
|
||||||
this.active = name;
|
|
||||||
},
|
|
||||||
handleSubmit() {
|
|
||||||
this.isSubmit = true;
|
|
||||||
var json = this.json;
|
|
||||||
json.presidentFlag = '0';
|
|
||||||
json.commentText = this.commentText9;
|
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
|
||||||
json: JSON.stringify(json),
|
|
||||||
taskId: this.taskIds,
|
|
||||||
userId: this.$store.getters.userInfo.account
|
|
||||||
}, {}, res => {
|
|
||||||
if (res.success) {
|
|
||||||
this.$message.success("提交成功");
|
|
||||||
// hwh5.close()
|
|
||||||
this.$router.go(-2)
|
|
||||||
// this.$router.push("/processCenter");
|
|
||||||
}
|
|
||||||
this.isSubmit = false;
|
|
||||||
});
|
|
||||||
},
|
|
||||||
handleSubmitNo() {
|
|
||||||
if (this.commentText9) {
|
|
||||||
this.isSubmit = true;
|
|
||||||
var json = this.json;
|
|
||||||
json.presidentFlag = '1';
|
|
||||||
json.commentText = this.commentText9;
|
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
|
||||||
json: JSON.stringify(json),
|
|
||||||
taskIds: this.taskIds,
|
|
||||||
userId: this.$store.getters.userInfo.account
|
|
||||||
}, {}, res => {
|
|
||||||
if (res.success) {
|
|
||||||
this.$message.success("驳回成功");
|
|
||||||
// hwh5.close()
|
|
||||||
this.$router.go(-2)
|
|
||||||
// this.$router.push("/processCenter");
|
|
||||||
}
|
|
||||||
this.isSubmit = false;
|
|
||||||
});
|
|
||||||
} else {
|
|
||||||
this.$message.warning("请输入反馈意见");
|
|
||||||
}
|
|
||||||
},
|
|
||||||
getData() {
|
|
||||||
return new Promise((resolve, reject) => {
|
|
||||||
inboundLiaisonDetail({
|
|
||||||
taskIds: this.taskIds,
|
|
||||||
pId: this.pId
|
|
||||||
}).then(res => {
|
|
||||||
let data = JSON.parse(res.mesg)
|
|
||||||
this.commentText9 = data.commentText9 || ''
|
|
||||||
this.onlyKey = data.form ? data.form.onlyKey :data.onlyKey
|
|
||||||
this.form.presidentUser = data.form ? data.form.presidentUser :data.presidentUser
|
|
||||||
this.form.presidentUserName = data.form ? data.form.presidentUserName : data.presidentUserName
|
|
||||||
this.form.fjList = data.fjList || data.form.fjList
|
|
||||||
this.form.cid = data.cid || data.form.cid;
|
|
||||||
this.form.endTime = data.endTime || data.form.endTime;
|
|
||||||
this.form.textType = data.textType || data.form.textType
|
|
||||||
this.form.modelList = data.modelList || data.form.modelList
|
|
||||||
let newArr = data.info ? data.info : data.form.data
|
|
||||||
this.oldData = JSON.parse(JSON.stringify(newArr))
|
|
||||||
let arr = []
|
|
||||||
newArr.forEach(item => {
|
|
||||||
if (item.state !== '3') {
|
|
||||||
arr.push(item)
|
|
||||||
}
|
|
||||||
})
|
|
||||||
this.json = data
|
|
||||||
this.data = arr
|
|
||||||
this.data2 = newArr
|
|
||||||
}).catch(e => {
|
|
||||||
});
|
|
||||||
});
|
|
||||||
}
|
|
||||||
},
|
|
||||||
mounted() {
|
|
||||||
this.getHistoryData();
|
|
||||||
this.getData();
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
},
|
||||||
|
components: {
|
||||||
|
[Dialog.Component.name]: Dialog.Component,
|
||||||
|
ProcessHeaderPhone,
|
||||||
|
ProcessFooter,
|
||||||
|
ProcessTitle
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
dialogOk () {
|
||||||
|
this.itermsConditionsFlag = false
|
||||||
|
},
|
||||||
|
filesUpload (file) { // 下载
|
||||||
|
const attId = file.attId
|
||||||
|
if (attId) {
|
||||||
|
window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
|
||||||
|
} else {
|
||||||
|
this.$message.warning('文件不存在,下载失败')
|
||||||
|
}
|
||||||
|
},
|
||||||
|
getBusStandFileByAttId(attId) { // 预览
|
||||||
|
return new Promise((resolve, reject) => {
|
||||||
|
getBusStandFileByAttId({
|
||||||
|
attId
|
||||||
|
}).then(res => {
|
||||||
|
if (res.ok) {
|
||||||
|
resolve(res.data)
|
||||||
|
} else {
|
||||||
|
reject()
|
||||||
|
}
|
||||||
|
}).catch(e => {
|
||||||
|
reject(e)
|
||||||
|
})
|
||||||
|
})
|
||||||
|
},
|
||||||
|
fileLook(file) { // 预览
|
||||||
|
const attId = file.attId
|
||||||
|
this.$preview(attId)
|
||||||
|
},
|
||||||
|
itermsConditionsClose () {
|
||||||
|
this.itermsConditionsFlag = false
|
||||||
|
},
|
||||||
|
itermsConditionsOpen (row) {
|
||||||
|
this.itermsConditionsFlag = true
|
||||||
|
this.itermsConditionsTitle = row
|
||||||
|
},
|
||||||
|
downloadFile (attId) {
|
||||||
|
window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
|
||||||
|
},
|
||||||
|
handleTransfer() {
|
||||||
|
this.drawerModal = true
|
||||||
|
},
|
||||||
|
checkedRole (data) {
|
||||||
|
this.isSubmit = true
|
||||||
|
changeAssigneeNew({
|
||||||
|
taskId: this.$route.query.taskIds, // 任务id
|
||||||
|
userId:this.$store.getters.userInfo.account, // 委托人
|
||||||
|
assignee: data[0].id, // 被委托人
|
||||||
|
pId: this.$route.query.prcId, // 流程实例
|
||||||
|
}).then(res => {
|
||||||
|
if (res.success) {
|
||||||
|
this.drawerModal = false
|
||||||
|
this.$message.success('调整成功')
|
||||||
|
this.processNum()
|
||||||
|
// hwh5.close()
|
||||||
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
|
// this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
||||||
|
} else {
|
||||||
|
this.$message.warning(res.message)
|
||||||
|
}
|
||||||
|
}).finally(() => {
|
||||||
|
this.isSubmit = false
|
||||||
|
})
|
||||||
|
},
|
||||||
|
// 请求转换流程图
|
||||||
|
processNum (row) {
|
||||||
|
axios.request({
|
||||||
|
url: '/api/lawss/activiti/getImg?_t=' + new Date().getTime(),
|
||||||
|
responseType: 'blob',
|
||||||
|
method: 'get',
|
||||||
|
params: {
|
||||||
|
prcNum: this.$route.query.prcNum
|
||||||
|
}
|
||||||
|
}).then(res => {
|
||||||
|
this.processStep = window.URL.createObjectURL(res.data)
|
||||||
|
})
|
||||||
|
},
|
||||||
|
updataFj(item) {
|
||||||
|
window.location.href = '/api/att/attFile/downloadFile?fileId=' + item.id
|
||||||
|
},
|
||||||
|
getHistoryData() {
|
||||||
|
this.$http.get('lawss/activiti/get_list_by_instance', {
|
||||||
|
prcNum: this.$route.query.prcNum
|
||||||
|
}, {}, res => {
|
||||||
|
this.histortData = res;
|
||||||
|
}, e => {
|
||||||
|
});
|
||||||
|
},
|
||||||
|
stateText(row) {
|
||||||
|
if (row === '1') {
|
||||||
|
return '上报';
|
||||||
|
} else if (row === '2') {
|
||||||
|
return '处理后上报';
|
||||||
|
}
|
||||||
|
},
|
||||||
|
upload(row, title) {
|
||||||
|
this.$message.warning('手机端不支持该操作')
|
||||||
|
},
|
||||||
|
handleTabs(name) {
|
||||||
|
this.active = name;
|
||||||
|
},
|
||||||
|
handleSubmit() {
|
||||||
|
this.isSubmit = true;
|
||||||
|
const json = this.json;
|
||||||
|
json.presidentFlag = '0';
|
||||||
|
json.commentText = this.commentText9;
|
||||||
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
|
json: JSON.stringify(json),
|
||||||
|
taskId: this.taskIds,
|
||||||
|
userId: this.$store.getters.userInfo.account
|
||||||
|
}, {}, res => {
|
||||||
|
if (res.success) {
|
||||||
|
this.$message.success('提交成功');
|
||||||
|
// hwh5.close()
|
||||||
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
|
// this.$router.push("/processCenter");
|
||||||
|
}
|
||||||
|
this.isSubmit = false;
|
||||||
|
});
|
||||||
|
},
|
||||||
|
handleSubmitNo() {
|
||||||
|
if (this.commentText9) {
|
||||||
|
this.isSubmit = true;
|
||||||
|
const json = this.json;
|
||||||
|
json.presidentFlag = '1';
|
||||||
|
json.commentText = this.commentText9;
|
||||||
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
|
json: JSON.stringify(json),
|
||||||
|
taskIds: this.taskIds,
|
||||||
|
userId: this.$store.getters.userInfo.account
|
||||||
|
}, {}, res => {
|
||||||
|
if (res.success) {
|
||||||
|
this.$message.success('驳回成功');
|
||||||
|
// hwh5.close()
|
||||||
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
|
// this.$router.push("/processCenter");
|
||||||
|
}
|
||||||
|
this.isSubmit = false;
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
this.$message.warning('请输入反馈意见');
|
||||||
|
}
|
||||||
|
},
|
||||||
|
getData() {
|
||||||
|
return new Promise((resolve, reject) => {
|
||||||
|
inboundLiaisonDetail({
|
||||||
|
taskIds: this.taskIds,
|
||||||
|
pId: this.pId
|
||||||
|
}).then(res => {
|
||||||
|
const data = JSON.parse(res.mesg)
|
||||||
|
this.commentText9 = data.commentText9 || ''
|
||||||
|
this.onlyKey = data.form ? data.form.onlyKey :data.onlyKey
|
||||||
|
this.form.presidentUser = data.form ? data.form.presidentUser :data.presidentUser
|
||||||
|
this.form.presidentUserName = data.form ? data.form.presidentUserName : data.presidentUserName
|
||||||
|
this.form.fjList = data.fjList || data.form.fjList
|
||||||
|
this.form.cid = data.cid || data.form.cid;
|
||||||
|
this.form.endTime = data.endTime || data.form.endTime;
|
||||||
|
this.form.textType = data.textType || data.form.textType
|
||||||
|
this.form.modelList = data.modelList || data.form.modelList
|
||||||
|
const newArr = data.info ? data.info : data.form.data
|
||||||
|
this.oldData = JSON.parse(JSON.stringify(newArr))
|
||||||
|
const arr = []
|
||||||
|
newArr.forEach(item => {
|
||||||
|
if (item.state !== '3') {
|
||||||
|
arr.push(item)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
this.json = data
|
||||||
|
this.data = arr
|
||||||
|
this.data2 = newArr
|
||||||
|
}).catch(e => {
|
||||||
|
});
|
||||||
|
});
|
||||||
|
}
|
||||||
|
},
|
||||||
|
mounted() {
|
||||||
|
this.getHistoryData();
|
||||||
|
this.getData();
|
||||||
|
}
|
||||||
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="less" scoped>
|
<style lang="less" scoped>
|
||||||
|
|||||||
@@ -108,13 +108,13 @@
|
|||||||
<script>
|
<script>
|
||||||
import { Dialog } from 'vant';
|
import { Dialog } from 'vant';
|
||||||
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
||||||
import ProcessTitle from "process/components/ProcessTitle";
|
import ProcessTitle from 'process/components/ProcessTitle';
|
||||||
import ProcessFooter from "process/components/ProcessFooter";
|
import ProcessFooter from 'process/components/ProcessFooter';
|
||||||
import { inboundLiaisonDetail } from "api/process";
|
import { inboundLiaisonDetail } from 'api/process';
|
||||||
import hwh5 from '@/api/hwh5-cloudonline.js'
|
import hwh5 from '@/api/hwh5-cloudonline.js'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "phoneCywbbzzxdStep2",
|
name: 'phoneCywbbzzxdStep2',
|
||||||
components: {
|
components: {
|
||||||
ProcessHeaderPhone,
|
ProcessHeaderPhone,
|
||||||
ProcessTitle,
|
ProcessTitle,
|
||||||
@@ -130,17 +130,17 @@ export default {
|
|||||||
modalshowflag: false, // drawer开关
|
modalshowflag: false, // drawer开关
|
||||||
modalshowflag2: false,
|
modalshowflag2: false,
|
||||||
nodeList2: [],
|
nodeList2: [],
|
||||||
drawerTitle: "", //drawer标题
|
drawerTitle: '', //drawer标题
|
||||||
nodeList: [],
|
nodeList: [],
|
||||||
roleForm: {
|
roleForm: {
|
||||||
prcCreateUserName: this.$store.getters.userInfo.userName,
|
prcCreateUserName: this.$store.getters.userInfo.userName,
|
||||||
prcCreateUser: this.$store.getters.userInfo.account,
|
prcCreateUser: this.$store.getters.userInfo.account,
|
||||||
dockUser: "",
|
dockUser: '',
|
||||||
directorUser: "",
|
directorUser: '',
|
||||||
workPeople: "",
|
workPeople: '',
|
||||||
dockUserName: "",
|
dockUserName: '',
|
||||||
workPeopleName: "",
|
workPeopleName: '',
|
||||||
directorUserName: ""
|
directorUserName: ''
|
||||||
},
|
},
|
||||||
roleFormRules: {
|
roleFormRules: {
|
||||||
// dockUserName: [
|
// dockUserName: [
|
||||||
@@ -192,30 +192,30 @@ export default {
|
|||||||
choiceZRRS() {
|
choiceZRRS() {
|
||||||
this.nodeList2 = [];
|
this.nodeList2 = [];
|
||||||
if (this.roleForm.workPeople.length > 0) {
|
if (this.roleForm.workPeople.length > 0) {
|
||||||
this.nodeList2 = this.roleForm.workPeople.split(",");
|
this.nodeList2 = this.roleForm.workPeople.split(',');
|
||||||
}
|
}
|
||||||
this.modalshowflag2 = true;
|
this.modalshowflag2 = true;
|
||||||
},
|
},
|
||||||
checkedRole(data) {
|
checkedRole(data) {
|
||||||
if (this.type === "dockUser") {
|
if (this.type === 'dockUser') {
|
||||||
this.roleForm.dockUser = this.roleRow.id;
|
this.roleForm.dockUser = this.roleRow.id;
|
||||||
this.roleForm.dockUserName = this.roleRow.name;
|
this.roleForm.dockUserName = this.roleRow.name;
|
||||||
} else if (this.type === "directorUser") {
|
} else if (this.type === 'directorUser') {
|
||||||
this.roleForm.directorUser = data[0].id;
|
this.roleForm.directorUser = data[0].id;
|
||||||
this.roleForm.directorUserName = data[0].name;
|
this.roleForm.directorUserName = data[0].name;
|
||||||
} else if(this.type === "workPeople"){
|
} else if(this.type === 'workPeople'){
|
||||||
this.roleForm.workPeople = data[0].id;
|
this.roleForm.workPeople = data[0].id;
|
||||||
this.roleForm.workPeopleName = data[0].name;
|
this.roleForm.workPeopleName = data[0].name;
|
||||||
}
|
}
|
||||||
this.modalshowflag = false;
|
this.modalshowflag = false;
|
||||||
},
|
},
|
||||||
checkedRole2(data) {
|
checkedRole2(data) {
|
||||||
var idList = "";
|
let idList = '';
|
||||||
var nameList = "";
|
let nameList = '';
|
||||||
data.forEach(item => {
|
data.forEach(item => {
|
||||||
if (nameList.length > 0) {
|
if (nameList.length > 0) {
|
||||||
nameList += ",";
|
nameList += ',';
|
||||||
idList += ",";
|
idList += ',';
|
||||||
}
|
}
|
||||||
idList += item.id;
|
idList += item.id;
|
||||||
nameList += item.name;
|
nameList += item.name;
|
||||||
@@ -225,11 +225,11 @@ export default {
|
|||||||
},
|
},
|
||||||
handleSubmit(){
|
handleSubmit(){
|
||||||
if(this.roleForm.workPeople !== undefined){
|
if(this.roleForm.workPeople !== undefined){
|
||||||
let json = this.roleForm
|
const json = this.roleForm
|
||||||
this.$refs["Form"].validate((valid) => {
|
this.$refs['Form'].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
this.isSubmit = true
|
this.isSubmit = true
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
taskIds: this.$route.query.taskIds,
|
taskIds: this.$route.query.taskIds,
|
||||||
userId: this.$store.getters.userInfo.account,
|
userId: this.$store.getters.userInfo.account,
|
||||||
json: JSON.stringify(json)
|
json: JSON.stringify(json)
|
||||||
@@ -239,13 +239,14 @@ export default {
|
|||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.$message.success(res.message);
|
this.$message.success(res.message);
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push("/processCenter");
|
// this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
this.isSubmit = false
|
this.isSubmit = false
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
return this.$message.warning("请完善人员信息");
|
return this.$message.warning('请完善人员信息');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}else{
|
}else{
|
||||||
|
|||||||
@@ -207,14 +207,14 @@
|
|||||||
<script>
|
<script>
|
||||||
import { Dialog } from 'vant';
|
import { Dialog } from 'vant';
|
||||||
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
||||||
import ProcessHeader from "../../components/ProcessHeader";
|
import ProcessHeader from '../../components/ProcessHeader';
|
||||||
import ProcessTitle from "process/components/ProcessTitle";
|
import ProcessTitle from 'process/components/ProcessTitle';
|
||||||
import ProcessFooter from "process/components/ProcessFooter";
|
import ProcessFooter from 'process/components/ProcessFooter';
|
||||||
import {completeTask, inboundLiaisonDetail, saveTaskForPub, changeAssigneeNew} from "@/api/process.js"
|
import {completeTask, inboundLiaisonDetail, saveTaskForPub, changeAssigneeNew} from '@/api/process.js'
|
||||||
import hwh5 from '@/api/hwh5-cloudonline.js'
|
import hwh5 from '@/api/hwh5-cloudonline.js'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "phoneCywbbzzxdStep4",
|
name: 'phoneCywbbzzxdStep4',
|
||||||
components: {
|
components: {
|
||||||
ProcessHeader,
|
ProcessHeader,
|
||||||
ProcessTitle,
|
ProcessTitle,
|
||||||
@@ -227,7 +227,7 @@ export default {
|
|||||||
phoneRoleList: [],
|
phoneRoleList: [],
|
||||||
phoneDrawerTitle: '',
|
phoneDrawerTitle: '',
|
||||||
//切换tab
|
//切换tab
|
||||||
active: "1",
|
active: '1',
|
||||||
foldFormFlag: true,
|
foldFormFlag: true,
|
||||||
isSubmit: false,
|
isSubmit: false,
|
||||||
recordLoading: false,
|
recordLoading: false,
|
||||||
@@ -239,20 +239,20 @@ export default {
|
|||||||
detailData: [], //审批历史信息
|
detailData: [], //审批历史信息
|
||||||
nodeList: [],
|
nodeList: [],
|
||||||
wbbzform: {
|
wbbzform: {
|
||||||
reportingUnit: "",
|
reportingUnit: '',
|
||||||
standNumber: "",
|
standNumber: '',
|
||||||
hostOrTask: "",
|
hostOrTask: '',
|
||||||
participants: "",
|
participants: '',
|
||||||
standMechanism: "",
|
standMechanism: '',
|
||||||
partakeTime: "",
|
partakeTime: '',
|
||||||
standName: "",
|
standName: '',
|
||||||
standType: "",
|
standType: '',
|
||||||
standRevise: "",
|
standRevise: '',
|
||||||
releaseTime: ""
|
releaseTime: ''
|
||||||
},
|
},
|
||||||
formRules: {
|
formRules: {
|
||||||
reportingUnit: [
|
reportingUnit: [
|
||||||
{ required: true, message: "请输入提报单位", trigger: "change" }
|
{ required: true, message: '请输入提报单位', trigger: 'change' }
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
participantsData: [],
|
participantsData: [],
|
||||||
@@ -263,14 +263,14 @@ export default {
|
|||||||
// costBudget:'',
|
// costBudget:'',
|
||||||
// }], //参与人表格信息
|
// }], //参与人表格信息
|
||||||
associationOptions: [{
|
associationOptions: [{
|
||||||
value: "选项1",
|
value: '选项1',
|
||||||
label: "1"
|
label: '1'
|
||||||
}, {
|
}, {
|
||||||
value: "选项2",
|
value: '选项2',
|
||||||
label: "2"
|
label: '2'
|
||||||
}, {
|
}, {
|
||||||
value: "选项3",
|
value: '选项3',
|
||||||
label: "3"
|
label: '3'
|
||||||
}]
|
}]
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
@@ -317,15 +317,15 @@ export default {
|
|||||||
this.$message.warning('请填写审批意见')
|
this.$message.warning('请填写审批意见')
|
||||||
}else{
|
}else{
|
||||||
this.wbbzform.commentText = this.commentText;
|
this.wbbzform.commentText = this.commentText;
|
||||||
let json = {
|
const json = {
|
||||||
participantsData: this.participantsData,
|
participantsData: this.participantsData,
|
||||||
wbbzform: this.wbbzform,
|
wbbzform: this.wbbzform,
|
||||||
signFlag: '2',
|
signFlag: '2',
|
||||||
};
|
};
|
||||||
this.$refs["wbbzForm"].validate((valid) => {
|
this.$refs['wbbzForm'].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
this.isSubmit = true;
|
this.isSubmit = true;
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
taskIds: this.$route.query.taskIds,
|
taskIds: this.$route.query.taskIds,
|
||||||
userId: this.$store.getters.userInfo.account,
|
userId: this.$store.getters.userInfo.account,
|
||||||
json: JSON.stringify(json)
|
json: JSON.stringify(json)
|
||||||
@@ -335,36 +335,37 @@ export default {
|
|||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.$message.success(res.message);
|
this.$message.success(res.message);
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push("/processCenter");
|
// this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
this.isSubmit = false
|
this.isSubmit = false
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
return this.$message.warning("请完善基础信息");
|
return this.$message.warning('请完善基础信息');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
if (this.participantsData.length < 1) {
|
if (this.participantsData.length < 1) {
|
||||||
this.$message.warning("项目信息不能为空");
|
this.$message.warning('项目信息不能为空');
|
||||||
} else {
|
} else {
|
||||||
this.participantsData.forEach(item => {
|
this.participantsData.forEach(item => {
|
||||||
if (item.projectNumber === undefined) {
|
if (item.projectNumber === undefined) {
|
||||||
this.$message.warning("请完善项目信息");
|
this.$message.warning('请完善项目信息');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
this.wbbzform.commentText = this.commentText;
|
this.wbbzform.commentText = this.commentText;
|
||||||
let json = {
|
const json = {
|
||||||
participantsData: this.participantsData,
|
participantsData: this.participantsData,
|
||||||
wbbzform: this.wbbzform,
|
wbbzform: this.wbbzform,
|
||||||
signFlag: '1',
|
signFlag: '1',
|
||||||
};
|
};
|
||||||
this.$refs["wbbzForm"].validate((valid) => {
|
this.$refs['wbbzForm'].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
this.isSubmit = true;
|
this.isSubmit = true;
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
taskIds: this.$route.query.taskIds,
|
taskIds: this.$route.query.taskIds,
|
||||||
userId: this.$store.getters.userInfo.account,
|
userId: this.$store.getters.userInfo.account,
|
||||||
json: JSON.stringify(json)
|
json: JSON.stringify(json)
|
||||||
@@ -374,13 +375,14 @@ export default {
|
|||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.$message.success(res.message);
|
this.$message.success(res.message);
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push("/processCenter");
|
// this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
this.isSubmit = false
|
this.isSubmit = false
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
return this.$message.warning("请完善基础信息");
|
return this.$message.warning('请完善基础信息');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@@ -407,7 +409,8 @@ export default {
|
|||||||
this.turnLoading = false
|
this.turnLoading = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push("/processCenter")
|
// this.$router.push("/processCenter")
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
@@ -420,7 +423,7 @@ export default {
|
|||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
listNoDataText() {
|
listNoDataText() {
|
||||||
return this.processType === 1 ? "暂无待办流程" : "暂无已办流程";
|
return this.processType === 1 ? '暂无待办流程' : '暂无已办流程';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -207,14 +207,14 @@
|
|||||||
<script>
|
<script>
|
||||||
import { Dialog } from 'vant';
|
import { Dialog } from 'vant';
|
||||||
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
||||||
import ProcessHeader from "../../components/ProcessHeader";
|
import ProcessHeader from '../../components/ProcessHeader';
|
||||||
import ProcessTitle from "process/components/ProcessTitle";
|
import ProcessTitle from 'process/components/ProcessTitle';
|
||||||
import ProcessFooter from "process/components/ProcessFooter";
|
import ProcessFooter from 'process/components/ProcessFooter';
|
||||||
import {completeTask, inboundLiaisonDetail, saveTaskForPub, changeAssigneeNew} from "@/api/process.js"
|
import {completeTask, inboundLiaisonDetail, saveTaskForPub, changeAssigneeNew} from '@/api/process.js'
|
||||||
import hwh5 from '@/api/hwh5-cloudonline.js'
|
import hwh5 from '@/api/hwh5-cloudonline.js'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "phoneCywbbzzxdStep5",
|
name: 'phoneCywbbzzxdStep5',
|
||||||
components: {
|
components: {
|
||||||
ProcessHeader,
|
ProcessHeader,
|
||||||
ProcessTitle,
|
ProcessTitle,
|
||||||
@@ -227,7 +227,7 @@ export default {
|
|||||||
phoneRoleList: [],
|
phoneRoleList: [],
|
||||||
phoneDrawerTitle: '',
|
phoneDrawerTitle: '',
|
||||||
//切换tab
|
//切换tab
|
||||||
active: "1",
|
active: '1',
|
||||||
foldFormFlag: true,
|
foldFormFlag: true,
|
||||||
isSubmit: false,
|
isSubmit: false,
|
||||||
recordLoading: false,
|
recordLoading: false,
|
||||||
@@ -239,20 +239,20 @@ export default {
|
|||||||
detailData: [], //审批历史信息
|
detailData: [], //审批历史信息
|
||||||
nodeList: [],
|
nodeList: [],
|
||||||
wbbzform: {
|
wbbzform: {
|
||||||
reportingUnit: "",
|
reportingUnit: '',
|
||||||
standNumber: "",
|
standNumber: '',
|
||||||
hostOrTask: "",
|
hostOrTask: '',
|
||||||
participants: "",
|
participants: '',
|
||||||
standMechanism: "",
|
standMechanism: '',
|
||||||
partakeTime: "",
|
partakeTime: '',
|
||||||
standName: "",
|
standName: '',
|
||||||
standType: "",
|
standType: '',
|
||||||
standRevise: "",
|
standRevise: '',
|
||||||
releaseTime: ""
|
releaseTime: ''
|
||||||
},
|
},
|
||||||
formRules: {
|
formRules: {
|
||||||
reportingUnit: [
|
reportingUnit: [
|
||||||
{ required: true, message: "请输入提报单位", trigger: "change" }
|
{ required: true, message: '请输入提报单位', trigger: 'change' }
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
participantsData: [],
|
participantsData: [],
|
||||||
@@ -263,14 +263,14 @@ export default {
|
|||||||
// costBudget:'',
|
// costBudget:'',
|
||||||
// }], //参与人表格信息
|
// }], //参与人表格信息
|
||||||
associationOptions: [{
|
associationOptions: [{
|
||||||
value: "选项1",
|
value: '选项1',
|
||||||
label: "1"
|
label: '1'
|
||||||
}, {
|
}, {
|
||||||
value: "选项2",
|
value: '选项2',
|
||||||
label: "2"
|
label: '2'
|
||||||
}, {
|
}, {
|
||||||
value: "选项3",
|
value: '选项3',
|
||||||
label: "3"
|
label: '3'
|
||||||
}]
|
}]
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
@@ -317,15 +317,15 @@ export default {
|
|||||||
this.$message.warning('请填写审批意见')
|
this.$message.warning('请填写审批意见')
|
||||||
}else {
|
}else {
|
||||||
this.wbbzform.commentText = this.commentText;
|
this.wbbzform.commentText = this.commentText;
|
||||||
let json = {
|
const json = {
|
||||||
participantsData: this.participantsData,
|
participantsData: this.participantsData,
|
||||||
wbbzform: this.wbbzform,
|
wbbzform: this.wbbzform,
|
||||||
signFlag: '2',
|
signFlag: '2',
|
||||||
};
|
};
|
||||||
this.$refs["wbbzForm"].validate((valid) => {
|
this.$refs['wbbzForm'].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
this.isSubmit = true;
|
this.isSubmit = true;
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
taskIds: this.$route.query.taskIds,
|
taskIds: this.$route.query.taskIds,
|
||||||
userId: this.$store.getters.userInfo.account,
|
userId: this.$store.getters.userInfo.account,
|
||||||
json: JSON.stringify(json)
|
json: JSON.stringify(json)
|
||||||
@@ -335,36 +335,37 @@ export default {
|
|||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.$message.success(res.message);
|
this.$message.success(res.message);
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push("/processCenter");
|
// this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
this.isSubmit = false
|
this.isSubmit = false
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
return this.$message.warning("请完善基础信息");
|
return this.$message.warning('请完善基础信息');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
if (this.participantsData.length < 1) {
|
if (this.participantsData.length < 1) {
|
||||||
this.$message.warning("项目信息不能为空");
|
this.$message.warning('项目信息不能为空');
|
||||||
} else {
|
} else {
|
||||||
this.participantsData.forEach(item => {
|
this.participantsData.forEach(item => {
|
||||||
if (item.projectNumber === undefined) {
|
if (item.projectNumber === undefined) {
|
||||||
this.$message.warning("请完善项目信息");
|
this.$message.warning('请完善项目信息');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
this.wbbzform.commentText = this.commentText;
|
this.wbbzform.commentText = this.commentText;
|
||||||
let json = {
|
const json = {
|
||||||
participantsData: this.participantsData,
|
participantsData: this.participantsData,
|
||||||
wbbzform: this.wbbzform,
|
wbbzform: this.wbbzform,
|
||||||
signFlag: '1',
|
signFlag: '1',
|
||||||
};
|
};
|
||||||
this.$refs["wbbzForm"].validate((valid) => {
|
this.$refs['wbbzForm'].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
this.isSubmit = true;
|
this.isSubmit = true;
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
taskIds: this.$route.query.taskIds,
|
taskIds: this.$route.query.taskIds,
|
||||||
userId: this.$store.getters.userInfo.account,
|
userId: this.$store.getters.userInfo.account,
|
||||||
json: JSON.stringify(json)
|
json: JSON.stringify(json)
|
||||||
@@ -374,13 +375,14 @@ export default {
|
|||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.$message.success(res.message);
|
this.$message.success(res.message);
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push("/processCenter");
|
// this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
this.isSubmit = false
|
this.isSubmit = false
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
return this.$message.warning("请完善基础信息");
|
return this.$message.warning('请完善基础信息');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@@ -407,7 +409,8 @@ export default {
|
|||||||
this.turnLoading = false
|
this.turnLoading = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push("/processCenter")
|
// this.$router.push("/processCenter")
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
@@ -420,7 +423,7 @@ export default {
|
|||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
listNoDataText() {
|
listNoDataText() {
|
||||||
return this.processType === 1 ? "暂无待办流程" : "暂无已办流程";
|
return this.processType === 1 ? '暂无待办流程' : '暂无已办流程';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -207,14 +207,14 @@
|
|||||||
<script>
|
<script>
|
||||||
import { Dialog } from 'vant';
|
import { Dialog } from 'vant';
|
||||||
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
||||||
import ProcessHeader from "../../components/ProcessHeader";
|
import ProcessHeader from '../../components/ProcessHeader';
|
||||||
import ProcessTitle from "process/components/ProcessTitle";
|
import ProcessTitle from 'process/components/ProcessTitle';
|
||||||
import ProcessFooter from "process/components/ProcessFooter";
|
import ProcessFooter from 'process/components/ProcessFooter';
|
||||||
import {completeTask, inboundLiaisonDetail, saveTaskForPub, changeAssigneeNew} from "@/api/process.js"
|
import {completeTask, inboundLiaisonDetail, saveTaskForPub, changeAssigneeNew} from '@/api/process.js'
|
||||||
import hwh5 from '@/api/hwh5-cloudonline.js'
|
import hwh5 from '@/api/hwh5-cloudonline.js'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "phoneCywbbzzxdStep6",
|
name: 'phoneCywbbzzxdStep6',
|
||||||
components: {
|
components: {
|
||||||
ProcessHeader,
|
ProcessHeader,
|
||||||
ProcessTitle,
|
ProcessTitle,
|
||||||
@@ -227,7 +227,7 @@ export default {
|
|||||||
phoneRoleList: [],
|
phoneRoleList: [],
|
||||||
phoneDrawerTitle: '',
|
phoneDrawerTitle: '',
|
||||||
//切换tab
|
//切换tab
|
||||||
active: "1",
|
active: '1',
|
||||||
foldFormFlag: true,
|
foldFormFlag: true,
|
||||||
isSubmit: false,
|
isSubmit: false,
|
||||||
recordLoading: false,
|
recordLoading: false,
|
||||||
@@ -239,20 +239,20 @@ export default {
|
|||||||
detailData: [], //审批历史信息
|
detailData: [], //审批历史信息
|
||||||
nodeList: [],
|
nodeList: [],
|
||||||
wbbzform: {
|
wbbzform: {
|
||||||
reportingUnit: "",
|
reportingUnit: '',
|
||||||
standNumber: "",
|
standNumber: '',
|
||||||
hostOrTask: "",
|
hostOrTask: '',
|
||||||
participants: "",
|
participants: '',
|
||||||
standMechanism: "",
|
standMechanism: '',
|
||||||
partakeTime: "",
|
partakeTime: '',
|
||||||
standName: "",
|
standName: '',
|
||||||
standType: "",
|
standType: '',
|
||||||
standRevise: "",
|
standRevise: '',
|
||||||
releaseTime: ""
|
releaseTime: ''
|
||||||
},
|
},
|
||||||
formRules: {
|
formRules: {
|
||||||
reportingUnit: [
|
reportingUnit: [
|
||||||
{ required: true, message: "请输入提报单位", trigger: "change" }
|
{ required: true, message: '请输入提报单位', trigger: 'change' }
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
participantsData: [],
|
participantsData: [],
|
||||||
@@ -263,14 +263,14 @@ export default {
|
|||||||
// costBudget:'',
|
// costBudget:'',
|
||||||
// }], //参与人表格信息
|
// }], //参与人表格信息
|
||||||
associationOptions: [{
|
associationOptions: [{
|
||||||
value: "选项1",
|
value: '选项1',
|
||||||
label: "1"
|
label: '1'
|
||||||
}, {
|
}, {
|
||||||
value: "选项2",
|
value: '选项2',
|
||||||
label: "2"
|
label: '2'
|
||||||
}, {
|
}, {
|
||||||
value: "选项3",
|
value: '选项3',
|
||||||
label: "3"
|
label: '3'
|
||||||
}]
|
}]
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
@@ -317,15 +317,15 @@ export default {
|
|||||||
this.$message.warning('请填写审批意见')
|
this.$message.warning('请填写审批意见')
|
||||||
}else{
|
}else{
|
||||||
this.wbbzform.commentText = this.commentText;
|
this.wbbzform.commentText = this.commentText;
|
||||||
let json = {
|
const json = {
|
||||||
participantsData: this.participantsData,
|
participantsData: this.participantsData,
|
||||||
wbbzform: this.wbbzform,
|
wbbzform: this.wbbzform,
|
||||||
bzFlag: '2',
|
bzFlag: '2',
|
||||||
};
|
};
|
||||||
this.$refs["wbbzForm"].validate((valid) => {
|
this.$refs['wbbzForm'].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
this.isSubmit = true;
|
this.isSubmit = true;
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
taskIds: this.$route.query.taskIds,
|
taskIds: this.$route.query.taskIds,
|
||||||
userId: this.$store.getters.userInfo.account,
|
userId: this.$store.getters.userInfo.account,
|
||||||
json: JSON.stringify(json)
|
json: JSON.stringify(json)
|
||||||
@@ -335,36 +335,37 @@ export default {
|
|||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.$message.success(res.message);
|
this.$message.success(res.message);
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push("/processCenter");
|
// this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
this.isSubmit = false
|
this.isSubmit = false
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
return this.$message.warning("请完善基础信息");
|
return this.$message.warning('请完善基础信息');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
if (this.participantsData.length < 1) {
|
if (this.participantsData.length < 1) {
|
||||||
this.$message.warning("项目信息不能为空");
|
this.$message.warning('项目信息不能为空');
|
||||||
} else {
|
} else {
|
||||||
this.participantsData.forEach(item => {
|
this.participantsData.forEach(item => {
|
||||||
if (item.projectNumber === undefined) {
|
if (item.projectNumber === undefined) {
|
||||||
this.$message.warning("请完善项目信息");
|
this.$message.warning('请完善项目信息');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
this.wbbzform.commentText = this.commentText;
|
this.wbbzform.commentText = this.commentText;
|
||||||
let json = {
|
const json = {
|
||||||
participantsData: this.participantsData,
|
participantsData: this.participantsData,
|
||||||
wbbzform: this.wbbzform,
|
wbbzform: this.wbbzform,
|
||||||
bzFlag: '1',
|
bzFlag: '1',
|
||||||
};
|
};
|
||||||
this.$refs["wbbzForm"].validate((valid) => {
|
this.$refs['wbbzForm'].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
this.isSubmit = true;
|
this.isSubmit = true;
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
taskIds: this.$route.query.taskIds,
|
taskIds: this.$route.query.taskIds,
|
||||||
userId: this.$store.getters.userInfo.account,
|
userId: this.$store.getters.userInfo.account,
|
||||||
json: JSON.stringify(json)
|
json: JSON.stringify(json)
|
||||||
@@ -374,13 +375,14 @@ export default {
|
|||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.$message.success(res.message);
|
this.$message.success(res.message);
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push("/processCenter");
|
// this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
this.isSubmit = false
|
this.isSubmit = false
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
return this.$message.warning("请完善基础信息");
|
return this.$message.warning('请完善基础信息');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@@ -407,7 +409,8 @@ export default {
|
|||||||
this.turnLoading = false
|
this.turnLoading = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push("/processCenter")
|
// this.$router.push("/processCenter")
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
@@ -420,7 +423,7 @@ export default {
|
|||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
listNoDataText() {
|
listNoDataText() {
|
||||||
return this.processType === 1 ? "暂无待办流程" : "暂无已办流程";
|
return this.processType === 1 ? '暂无待办流程' : '暂无已办流程';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -246,15 +246,15 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import ProcessHeaderPhone from "../../components/ProcessHeaderPhone";
|
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone';
|
||||||
import ProcessHeader from "../../components/ProcessHeader";
|
import ProcessHeader from '../../components/ProcessHeader';
|
||||||
import ProcessTitle from "process/components/ProcessTitle";
|
import ProcessTitle from 'process/components/ProcessTitle';
|
||||||
import ProcessFooter from "process/components/ProcessFooter";
|
import ProcessFooter from 'process/components/ProcessFooter';
|
||||||
import { changeAssigneeNew, inboundLiaisonDetail } from "api/process";
|
import { changeAssigneeNew, inboundLiaisonDetail } from 'api/process';
|
||||||
import hwh5 from '@/api/hwh5-cloudonline.js'
|
import hwh5 from '@/api/hwh5-cloudonline.js'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "phoneJrbzhxhStep3",
|
name: 'phoneJrbzhxhStep3',
|
||||||
components: {
|
components: {
|
||||||
ProcessHeader,
|
ProcessHeader,
|
||||||
ProcessTitle,
|
ProcessTitle,
|
||||||
@@ -265,9 +265,9 @@ export default {
|
|||||||
return {
|
return {
|
||||||
phoneshowflag: false,
|
phoneshowflag: false,
|
||||||
phoneRoleList: [],
|
phoneRoleList: [],
|
||||||
phoneDrawerTitle: "",
|
phoneDrawerTitle: '',
|
||||||
//切换tab
|
//切换tab
|
||||||
active: "1",
|
active: '1',
|
||||||
foldFormFlag: true,
|
foldFormFlag: true,
|
||||||
isSubmit: false,
|
isSubmit: false,
|
||||||
isTransfer: false,
|
isTransfer: false,
|
||||||
@@ -275,11 +275,11 @@ export default {
|
|||||||
loading: false,
|
loading: false,
|
||||||
modalshowflag: false,
|
modalshowflag: false,
|
||||||
drawerModal: false,
|
drawerModal: false,
|
||||||
drawerTitle: "",
|
drawerTitle: '',
|
||||||
nodeList: [],
|
nodeList: [],
|
||||||
fileList:[],
|
fileList:[],
|
||||||
commentText: '',
|
commentText: '',
|
||||||
uploadFileListPath: "api/att/attFile/uploadNew", // 上传的地址
|
uploadFileListPath: 'api/att/attFile/uploadNew', // 上传的地址
|
||||||
fileInfoList: [], // 上传的附件
|
fileInfoList: [], // 上传的附件
|
||||||
userId: this.$store.getters.userInfo.account,
|
userId: this.$store.getters.userInfo.account,
|
||||||
taskIds: this.$route.query.taskIds,
|
taskIds: this.$route.query.taskIds,
|
||||||
@@ -315,7 +315,7 @@ export default {
|
|||||||
participantsData: [], //参与人表格信息
|
participantsData: [], //参与人表格信息
|
||||||
associationData: [], //协会表格信息
|
associationData: [], //协会表格信息
|
||||||
detailData: [], //审批历史信息
|
detailData: [], //审批历史信息
|
||||||
selectedId: "",
|
selectedId: '',
|
||||||
associationOptions: [{
|
associationOptions: [{
|
||||||
value: '选项1',
|
value: '选项1',
|
||||||
label: '1'
|
label: '1'
|
||||||
@@ -343,7 +343,8 @@ export default {
|
|||||||
this.drawerModal = false
|
this.drawerModal = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push("/processCenter");
|
// this.$router.push("/processCenter");
|
||||||
// this.processNum()
|
// this.processNum()
|
||||||
} else {
|
} else {
|
||||||
@@ -354,7 +355,7 @@ export default {
|
|||||||
|
|
||||||
choiceZRRS(row, index) {
|
choiceZRRS(row, index) {
|
||||||
this.selectedId = index;
|
this.selectedId = index;
|
||||||
this.drawerTitle = "选择责任人";
|
this.drawerTitle = '选择责任人';
|
||||||
this.nodeList = [];
|
this.nodeList = [];
|
||||||
this.zrIndex = index;
|
this.zrIndex = index;
|
||||||
this.nodeList.push(row);
|
this.nodeList.push(row);
|
||||||
@@ -362,7 +363,7 @@ export default {
|
|||||||
},
|
},
|
||||||
checkedRole(data) {
|
checkedRole(data) {
|
||||||
if (this.participantsData.length > 1) {
|
if (this.participantsData.length > 1) {
|
||||||
let parList = data
|
const parList = data
|
||||||
this.participantsData.forEach(item => {
|
this.participantsData.forEach(item => {
|
||||||
parList.forEach(items => {
|
parList.forEach(items => {
|
||||||
if (items.name === item.workPeople) {
|
if (items.name === item.workPeople) {
|
||||||
@@ -376,7 +377,7 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
this.participantsData = data
|
this.participantsData = data
|
||||||
this.participantsData.forEach(item => {
|
this.participantsData.forEach(item => {
|
||||||
this.$set(item, "workPeople", item.name)
|
this.$set(item, 'workPeople', item.name)
|
||||||
});
|
});
|
||||||
this.participantsData = JSON.parse(JSON.stringify(this.participantsData));
|
this.participantsData = JSON.parse(JSON.stringify(this.participantsData));
|
||||||
}
|
}
|
||||||
@@ -438,7 +439,7 @@ export default {
|
|||||||
},
|
},
|
||||||
// 请求上传的文件信息
|
// 请求上传的文件信息
|
||||||
getFileInfo() {
|
getFileInfo() {
|
||||||
this.$http.get("att/attFile/getMultiFileInfos", {
|
this.$http.get('att/attFile/getMultiFileInfos', {
|
||||||
fileIds: this.fileIds
|
fileIds: this.fileIds
|
||||||
}, {
|
}, {
|
||||||
_this: this
|
_this: this
|
||||||
@@ -461,17 +462,17 @@ export default {
|
|||||||
* @Description: 点击下载
|
* @Description: 点击下载
|
||||||
*/
|
*/
|
||||||
downloadFile(attId) {
|
downloadFile(attId) {
|
||||||
if (attId != null && attId !== "") {
|
if (attId != null && attId !== '') {
|
||||||
window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId;
|
window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId;
|
||||||
} else {
|
} else {
|
||||||
this.$message.error("请选择要下载的文件");
|
this.$message.error('请选择要下载的文件');
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
//转办按钮
|
//转办按钮
|
||||||
handleTransfer() {
|
handleTransfer() {
|
||||||
this.phoneshowflag = true;
|
this.phoneshowflag = true;
|
||||||
this.phoneRoleList = this.roleTransfer;
|
this.phoneRoleList = this.roleTransfer;
|
||||||
this.phoneDrawerTitle = "转办处理人";
|
this.phoneDrawerTitle = '转办处理人';
|
||||||
},
|
},
|
||||||
//确认转办
|
//确认转办
|
||||||
drawerCheck(data) {
|
drawerCheck(data) {
|
||||||
@@ -487,9 +488,10 @@ export default {
|
|||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.turnLoading = false;
|
this.turnLoading = false;
|
||||||
this.$message.success("调整成功");
|
this.$message.success('调整成功');
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push("/processCenter");
|
// this.$router.push("/processCenter");
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message);
|
this.$message.warning(res.message);
|
||||||
@@ -502,13 +504,13 @@ export default {
|
|||||||
//流程提交
|
//流程提交
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
this.isSubmit = true;
|
this.isSubmit = true;
|
||||||
this.wbbzform.signFlag = "1"
|
this.wbbzform.signFlag = '1'
|
||||||
this.wbbzform.passUser = this.$store.getters.userInfo.account
|
this.wbbzform.passUser = this.$store.getters.userInfo.account
|
||||||
this.wbbzform.commentText = this.commentText;
|
this.wbbzform.commentText = this.commentText;
|
||||||
this.wbbzform.participantsData = this.participantsData;
|
this.wbbzform.participantsData = this.participantsData;
|
||||||
this.wbbzform.associationData = this.associationData;
|
this.wbbzform.associationData = this.associationData;
|
||||||
var json = JSON.stringify(this.wbbzform);
|
const json = JSON.stringify(this.wbbzform);
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
taskIds: this.taskIds,
|
taskIds: this.taskIds,
|
||||||
userId: this.userId,
|
userId: this.userId,
|
||||||
json: json
|
json: json
|
||||||
@@ -518,7 +520,8 @@ export default {
|
|||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.$message.success(res.message);
|
this.$message.success(res.message);
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push("/processCenter");
|
// this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
this.isSubmit = false
|
this.isSubmit = false
|
||||||
@@ -529,16 +532,16 @@ export default {
|
|||||||
//流程驳回
|
//流程驳回
|
||||||
beforeBack() {
|
beforeBack() {
|
||||||
if (!this.commentText) {
|
if (!this.commentText) {
|
||||||
this.$message.warning("请填写审批意见");
|
this.$message.warning('请填写审批意见');
|
||||||
} else {
|
} else {
|
||||||
this.isSubmit = true;
|
this.isSubmit = true;
|
||||||
this.wbbzform.signFlag = "0"
|
this.wbbzform.signFlag = '0'
|
||||||
this.wbbzform.passUser = this.$store.getters.userInfo.account
|
this.wbbzform.passUser = this.$store.getters.userInfo.account
|
||||||
this.wbbzform.commentText = this.commentText;
|
this.wbbzform.commentText = this.commentText;
|
||||||
this.wbbzform.participantsData = this.participantsData;
|
this.wbbzform.participantsData = this.participantsData;
|
||||||
this.wbbzform.associationData = this.associationData;
|
this.wbbzform.associationData = this.associationData;
|
||||||
var json = JSON.stringify(this.wbbzform);
|
const json = JSON.stringify(this.wbbzform);
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
taskIds: this.taskIds,
|
taskIds: this.taskIds,
|
||||||
userId: this.userId,
|
userId: this.userId,
|
||||||
json: json
|
json: json
|
||||||
@@ -548,7 +551,8 @@ export default {
|
|||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.$message.success(res.message);
|
this.$message.success(res.message);
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push("/processCenter");
|
// this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
this.isSubmit = false;
|
this.isSubmit = false;
|
||||||
@@ -563,7 +567,7 @@ export default {
|
|||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
listNoDataText() {
|
listNoDataText() {
|
||||||
return this.processType === 1 ? "暂无待办流程" : "暂无已办流程";
|
return this.processType === 1 ? '暂无待办流程' : '暂无已办流程';
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -248,14 +248,14 @@
|
|||||||
<script>
|
<script>
|
||||||
import { Dialog } from 'vant';
|
import { Dialog } from 'vant';
|
||||||
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
||||||
import ProcessHeader from "../../components/ProcessHeader";
|
import ProcessHeader from '../../components/ProcessHeader';
|
||||||
import ProcessTitle from "process/components/ProcessTitle";
|
import ProcessTitle from 'process/components/ProcessTitle';
|
||||||
import ProcessFooter from "process/components/ProcessFooter";
|
import ProcessFooter from 'process/components/ProcessFooter';
|
||||||
import { changeAssigneeNew,inboundLiaisonDetail } from "api/process";
|
import { changeAssigneeNew,inboundLiaisonDetail } from 'api/process';
|
||||||
import hwh5 from '@/api/hwh5-cloudonline.js'
|
import hwh5 from '@/api/hwh5-cloudonline.js'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "phoneJrbzhxhStep4",
|
name: 'phoneJrbzhxhStep4',
|
||||||
components: {
|
components: {
|
||||||
ProcessHeader,
|
ProcessHeader,
|
||||||
ProcessTitle,
|
ProcessTitle,
|
||||||
@@ -268,7 +268,7 @@ export default {
|
|||||||
phoneRoleList: [],
|
phoneRoleList: [],
|
||||||
phoneDrawerTitle: '',
|
phoneDrawerTitle: '',
|
||||||
//切换tab
|
//切换tab
|
||||||
active: "1",
|
active: '1',
|
||||||
foldFormFlag: true,
|
foldFormFlag: true,
|
||||||
isSubmit: false,
|
isSubmit: false,
|
||||||
isTransfer: false,
|
isTransfer: false,
|
||||||
@@ -280,7 +280,7 @@ export default {
|
|||||||
nodeList: [],
|
nodeList: [],
|
||||||
fileList:[],
|
fileList:[],
|
||||||
commentText: '',
|
commentText: '',
|
||||||
uploadFileListPath: "api/att/attFile/uploadNew", // 上传的地址
|
uploadFileListPath: 'api/att/attFile/uploadNew', // 上传的地址
|
||||||
fileInfoList: [], // 上传的附件
|
fileInfoList: [], // 上传的附件
|
||||||
userId: this.$store.getters.userInfo.account,
|
userId: this.$store.getters.userInfo.account,
|
||||||
taskIds: this.$route.query.taskIds,
|
taskIds: this.$route.query.taskIds,
|
||||||
@@ -316,7 +316,7 @@ export default {
|
|||||||
participantsData: [], //参与人表格信息
|
participantsData: [], //参与人表格信息
|
||||||
associationData: [], //协会表格信息
|
associationData: [], //协会表格信息
|
||||||
detailData: [], //审批历史信息
|
detailData: [], //审批历史信息
|
||||||
selectedId: "",
|
selectedId: '',
|
||||||
associationOptions: [{
|
associationOptions: [{
|
||||||
value: '选项1',
|
value: '选项1',
|
||||||
label: '1'
|
label: '1'
|
||||||
@@ -344,7 +344,8 @@ export default {
|
|||||||
this.drawerModal = false
|
this.drawerModal = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push("/processCenter");
|
// this.$router.push("/processCenter");
|
||||||
// this.processNum()
|
// this.processNum()
|
||||||
} else {
|
} else {
|
||||||
@@ -355,7 +356,7 @@ export default {
|
|||||||
|
|
||||||
choiceZRRS(row, index) {
|
choiceZRRS(row, index) {
|
||||||
this.selectedId = index;
|
this.selectedId = index;
|
||||||
this.drawerTitle = "选择责任人";
|
this.drawerTitle = '选择责任人';
|
||||||
this.nodeList = [];
|
this.nodeList = [];
|
||||||
this.zrIndex = index;
|
this.zrIndex = index;
|
||||||
this.nodeList.push(row);
|
this.nodeList.push(row);
|
||||||
@@ -363,7 +364,7 @@ export default {
|
|||||||
},
|
},
|
||||||
checkedRole(data) {
|
checkedRole(data) {
|
||||||
if (this.participantsData.length > 1) {
|
if (this.participantsData.length > 1) {
|
||||||
let parList = data
|
const parList = data
|
||||||
this.participantsData.forEach(item => {
|
this.participantsData.forEach(item => {
|
||||||
parList.forEach(items => {
|
parList.forEach(items => {
|
||||||
if (items.name === item.workPeople) {
|
if (items.name === item.workPeople) {
|
||||||
@@ -377,7 +378,7 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
this.participantsData = data
|
this.participantsData = data
|
||||||
this.participantsData.forEach(item => {
|
this.participantsData.forEach(item => {
|
||||||
this.$set(item, "workPeople", item.name)
|
this.$set(item, 'workPeople', item.name)
|
||||||
});
|
});
|
||||||
this.participantsData = JSON.parse(JSON.stringify(this.participantsData));
|
this.participantsData = JSON.parse(JSON.stringify(this.participantsData));
|
||||||
}
|
}
|
||||||
@@ -424,7 +425,7 @@ export default {
|
|||||||
},
|
},
|
||||||
// 请求上传的文件信息
|
// 请求上传的文件信息
|
||||||
getFileInfo() {
|
getFileInfo() {
|
||||||
this.$http.get("att/attFile/getMultiFileInfos", {
|
this.$http.get('att/attFile/getMultiFileInfos', {
|
||||||
fileIds: this.fileIds
|
fileIds: this.fileIds
|
||||||
}, {
|
}, {
|
||||||
_this: this
|
_this: this
|
||||||
@@ -447,10 +448,10 @@ export default {
|
|||||||
* @Description: 点击下载
|
* @Description: 点击下载
|
||||||
*/
|
*/
|
||||||
downloadFile(attId) {
|
downloadFile(attId) {
|
||||||
if (attId != null && attId !== "") {
|
if (attId != null && attId !== '') {
|
||||||
window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId;
|
window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId;
|
||||||
} else {
|
} else {
|
||||||
this.$message.error("请选择要下载的文件");
|
this.$message.error('请选择要下载的文件');
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
//转办按钮
|
//转办按钮
|
||||||
@@ -475,7 +476,8 @@ export default {
|
|||||||
this.turnLoading = false
|
this.turnLoading = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push("/processCenter")
|
// this.$router.push("/processCenter")
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
@@ -489,12 +491,12 @@ export default {
|
|||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
this.isSubmit = true
|
this.isSubmit = true
|
||||||
this.wbbzform.bzFlag = '1',
|
this.wbbzform.bzFlag = '1',
|
||||||
this.wbbzform.passUser = this.$store.getters.userInfo.account
|
this.wbbzform.passUser = this.$store.getters.userInfo.account
|
||||||
this.wbbzform.commentText = this.commentText;
|
this.wbbzform.commentText = this.commentText;
|
||||||
this.wbbzform.participantsData = this.participantsData
|
this.wbbzform.participantsData = this.participantsData
|
||||||
this.wbbzform.associationData = this.associationData
|
this.wbbzform.associationData = this.associationData
|
||||||
var json = JSON.stringify( this.wbbzform)
|
const json = JSON.stringify( this.wbbzform)
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
taskIds: this.taskIds,
|
taskIds: this.taskIds,
|
||||||
userId: this.userId,
|
userId: this.userId,
|
||||||
json: json
|
json: json
|
||||||
@@ -504,7 +506,8 @@ export default {
|
|||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.$message.success(res.message);
|
this.$message.success(res.message);
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push("/processCenter");
|
// this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
this.isSubmit = false
|
this.isSubmit = false
|
||||||
@@ -516,12 +519,12 @@ export default {
|
|||||||
beforeBack(){
|
beforeBack(){
|
||||||
this.isSubmit = true
|
this.isSubmit = true
|
||||||
this.wbbzform.bzFlag = '2'
|
this.wbbzform.bzFlag = '2'
|
||||||
this.wbbzform.passUser = this.$store.getters.userInfo.account
|
this.wbbzform.passUser = this.$store.getters.userInfo.account
|
||||||
this.wbbzform.commentText = this.commentText;
|
this.wbbzform.commentText = this.commentText;
|
||||||
this.wbbzform.participantsData = this.participantsData
|
this.wbbzform.participantsData = this.participantsData
|
||||||
this.wbbzform.associationData = this.associationData
|
this.wbbzform.associationData = this.associationData
|
||||||
var json = JSON.stringify( this.wbbzform)
|
const json = JSON.stringify( this.wbbzform)
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
taskIds: this.taskIds,
|
taskIds: this.taskIds,
|
||||||
userId: this.userId,
|
userId: this.userId,
|
||||||
json: json
|
json: json
|
||||||
@@ -531,7 +534,8 @@ export default {
|
|||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.$message.success(res.message);
|
this.$message.success(res.message);
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push("/processCenter");
|
// this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
this.isSubmit = false
|
this.isSubmit = false
|
||||||
@@ -545,7 +549,7 @@ export default {
|
|||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
listNoDataText() {
|
listNoDataText() {
|
||||||
return this.processType === 1 ? "暂无待办流程" : "暂无已办流程";
|
return this.processType === 1 ? '暂无待办流程' : '暂无已办流程';
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -617,7 +617,8 @@ export default {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
// this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
||||||
} else {
|
} else {
|
||||||
this.submitLoading = false
|
this.submitLoading = false
|
||||||
@@ -725,7 +726,8 @@ export default {
|
|||||||
this.drawerModal = false
|
this.drawerModal = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push("/processCenter");
|
// this.$router.push("/processCenter");
|
||||||
// this.processNum()
|
// this.processNum()
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -81,14 +81,14 @@
|
|||||||
<script>
|
<script>
|
||||||
import { Dialog } from 'vant';
|
import { Dialog } from 'vant';
|
||||||
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
||||||
import ProcessHeader from "../../components/ProcessHeader";
|
import ProcessHeader from '../../components/ProcessHeader';
|
||||||
import ProcessTitle from "process/components/ProcessTitle";
|
import ProcessTitle from 'process/components/ProcessTitle';
|
||||||
import ProcessFooter from "process/components/ProcessFooter";
|
import ProcessFooter from 'process/components/ProcessFooter';
|
||||||
import { changeAssigneeNew,inboundLiaisonDetail } from "api/process";
|
import { changeAssigneeNew,inboundLiaisonDetail } from 'api/process';
|
||||||
import hwh5 from '@/api/hwh5-cloudonline.js'
|
import hwh5 from '@/api/hwh5-cloudonline.js'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "phoneQbfzStep2",
|
name: 'phoneQbfzStep2',
|
||||||
components: {
|
components: {
|
||||||
ProcessHeader,
|
ProcessHeader,
|
||||||
ProcessTitle,
|
ProcessTitle,
|
||||||
@@ -110,7 +110,7 @@ export default {
|
|||||||
isTransfer: false,
|
isTransfer: false,
|
||||||
// 调整处理人抽屉状态
|
// 调整处理人抽屉状态
|
||||||
drawerModal: false,
|
drawerModal: false,
|
||||||
drawerTitle: "", //drawer标题
|
drawerTitle: '', //drawer标题
|
||||||
modalshowflag: false, // drawer开关
|
modalshowflag: false, // drawer开关
|
||||||
loading: false,
|
loading: false,
|
||||||
qbfsForm:{
|
qbfsForm:{
|
||||||
@@ -128,11 +128,11 @@ export default {
|
|||||||
jgUserId: '',
|
jgUserId: '',
|
||||||
},
|
},
|
||||||
roleForm: {
|
roleForm: {
|
||||||
jgUser: ""
|
jgUser: ''
|
||||||
},
|
},
|
||||||
formRules: {
|
formRules: {
|
||||||
jgUser: [
|
jgUser: [
|
||||||
{required: true, message: "请选择工作组成员", trigger: "change"}
|
{required: true, message: '请选择工作组成员', trigger: 'change'}
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
@@ -143,12 +143,12 @@ export default {
|
|||||||
},
|
},
|
||||||
methods:{
|
methods:{
|
||||||
processTable() {
|
processTable() {
|
||||||
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,
|
||||||
sortWord: this.shunxu ? this.paixu : "",
|
sortWord: this.shunxu ? this.paixu : '',
|
||||||
shunxu: this.shunxu
|
shunxu: this.shunxu
|
||||||
}, {
|
}, {
|
||||||
loading: "loading",
|
loading: 'loading',
|
||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
this.detailData = res
|
this.detailData = res
|
||||||
@@ -188,7 +188,7 @@ export default {
|
|||||||
this.isSubmit = true
|
this.isSubmit = true
|
||||||
this.qbfsForm.passFlag = '1'
|
this.qbfsForm.passFlag = '1'
|
||||||
this.qbfsForm.commentText = this.commentText
|
this.qbfsForm.commentText = this.commentText
|
||||||
let json = JSON.stringify(this.qbfsForm);
|
const json = JSON.stringify(this.qbfsForm);
|
||||||
this.$http.post('lawss/activiti/completeTask', {
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
taskIds: this.$route.query.taskIds,
|
taskIds: this.$route.query.taskIds,
|
||||||
userId: this.$store.getters.userInfo.account,
|
userId: this.$store.getters.userInfo.account,
|
||||||
@@ -199,7 +199,8 @@ export default {
|
|||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.$message.success(res.message)
|
this.$message.success(res.message)
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push('/processCenter')
|
// this.$router.push('/processCenter')
|
||||||
}
|
}
|
||||||
this.isSubmit = false
|
this.isSubmit = false
|
||||||
@@ -212,7 +213,7 @@ export default {
|
|||||||
this.isSubmit = true
|
this.isSubmit = true
|
||||||
this.qbfsForm.passFlag = '0'
|
this.qbfsForm.passFlag = '0'
|
||||||
this.qbfsForm.commentText = this.commentText
|
this.qbfsForm.commentText = this.commentText
|
||||||
let json = JSON.stringify(this.qbfsForm);
|
const json = JSON.stringify(this.qbfsForm);
|
||||||
this.$http.post('lawss/activiti/completeTask', {
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
taskIds: this.$route.query.taskIds,
|
taskIds: this.$route.query.taskIds,
|
||||||
userId: this.$store.getters.userInfo.account,
|
userId: this.$store.getters.userInfo.account,
|
||||||
@@ -223,7 +224,8 @@ export default {
|
|||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.$message.success(res.message)
|
this.$message.success(res.message)
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push('/processCenter')
|
// this.$router.push('/processCenter')
|
||||||
}
|
}
|
||||||
this.isSubmit = false
|
this.isSubmit = false
|
||||||
@@ -252,7 +254,8 @@ export default {
|
|||||||
this.turnLoading = false
|
this.turnLoading = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push("/processCenter")
|
// this.$router.push("/processCenter")
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
@@ -288,12 +291,12 @@ export default {
|
|||||||
this.modalshowflag = true;
|
this.modalshowflag = true;
|
||||||
},
|
},
|
||||||
checkedRole(data) {
|
checkedRole(data) {
|
||||||
var idList = "";
|
let idList = '';
|
||||||
var nameList = "";
|
let nameList = '';
|
||||||
data.forEach(item => {
|
data.forEach(item => {
|
||||||
if (nameList.length > 0) {
|
if (nameList.length > 0) {
|
||||||
nameList += ",";
|
nameList += ',';
|
||||||
idList += ",";
|
idList += ',';
|
||||||
}
|
}
|
||||||
idList += item.id;
|
idList += item.id;
|
||||||
nameList += item.name;
|
nameList += item.name;
|
||||||
@@ -304,7 +307,7 @@ export default {
|
|||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
listNoDataText() {
|
listNoDataText() {
|
||||||
return this.processType === 1 ? "暂无待办流程" : "暂无已办流程";
|
return this.processType === 1 ? '暂无待办流程' : '暂无已办流程';
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -157,7 +157,8 @@ export default {
|
|||||||
this.drawerModal = false
|
this.drawerModal = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
}, 100)
|
}, 100)
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
|||||||
@@ -116,13 +116,13 @@ import { Dialog } from 'vant';
|
|||||||
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
||||||
import ProcessFooter from '../../components/ProcessFooter'
|
import ProcessFooter from '../../components/ProcessFooter'
|
||||||
import ProcessTitle from '../../components/ProcessTitle'
|
import ProcessTitle from '../../components/ProcessTitle'
|
||||||
import { inboundLiaisonDetail, processCreateStand, changeAssigneeNew, execTask, saveTaskForPub } from "api/process";
|
import { inboundLiaisonDetail, processCreateStand, changeAssigneeNew, execTask, saveTaskForPub } from 'api/process';
|
||||||
import axios from "axios";
|
import axios from 'axios';
|
||||||
import ProcessHeader from "process/components/ProcessHeader";
|
import ProcessHeader from 'process/components/ProcessHeader';
|
||||||
import hwh5 from '@/api/hwh5-cloudonline.js'
|
import hwh5 from '@/api/hwh5-cloudonline.js'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "phoneQbfzStep5",
|
name: 'phoneQbfzStep5',
|
||||||
components: {
|
components: {
|
||||||
ProcessTitle,
|
ProcessTitle,
|
||||||
ProcessHeader,
|
ProcessHeader,
|
||||||
@@ -134,45 +134,45 @@ export default {
|
|||||||
phoneshowflag: false,
|
phoneshowflag: false,
|
||||||
phoneRoleList: [],
|
phoneRoleList: [],
|
||||||
phoneDrawerTitle: '',
|
phoneDrawerTitle: '',
|
||||||
active: "1",
|
active: '1',
|
||||||
isTransfer: false,
|
isTransfer: false,
|
||||||
isSubmit: false,
|
isSubmit: false,
|
||||||
saveLoading: false,
|
saveLoading: false,
|
||||||
drawerModal: false,
|
drawerModal: false,
|
||||||
drawerTitle: "",
|
drawerTitle: '',
|
||||||
nodeList: [],
|
nodeList: [],
|
||||||
fileList: [],
|
fileList: [],
|
||||||
commentText: "",
|
commentText: '',
|
||||||
dataList: [],
|
dataList: [],
|
||||||
detailData: [],
|
detailData: [],
|
||||||
loading: false,
|
loading: false,
|
||||||
foldFormFlag: false,
|
foldFormFlag: false,
|
||||||
qbfsForm: {
|
qbfsForm: {
|
||||||
entNumber: "",
|
entNumber: '',
|
||||||
cnName: "",
|
cnName: '',
|
||||||
enName: "",
|
enName: '',
|
||||||
entCategory: "",
|
entCategory: '',
|
||||||
replaceNumber: "",
|
replaceNumber: '',
|
||||||
replacedNumber: "",
|
replacedNumber: '',
|
||||||
releaseDate: "",
|
releaseDate: '',
|
||||||
implementDate: "",
|
implementDate: '',
|
||||||
reviewDate: "",
|
reviewDate: '',
|
||||||
nextStatus: ""
|
nextStatus: ''
|
||||||
},
|
},
|
||||||
formRules: {
|
formRules: {
|
||||||
nextStatus: [
|
nextStatus: [
|
||||||
{ required: true, message: "请选择下一步状态", trigger: "change" }
|
{ required: true, message: '请选择下一步状态', trigger: 'change' }
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
associationOptions: [{
|
associationOptions: [{
|
||||||
value: "修订",
|
value: '修订',
|
||||||
label: "修订"
|
label: '修订'
|
||||||
}, {
|
}, {
|
||||||
value: "废止",
|
value: '废止',
|
||||||
label: "废止"
|
label: '废止'
|
||||||
}, {
|
}, {
|
||||||
value: "有效",
|
value: '有效',
|
||||||
label: "有效"
|
label: '有效'
|
||||||
}]
|
}]
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
@@ -182,12 +182,12 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
processTable() {
|
processTable() {
|
||||||
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,
|
||||||
sortWord: this.shunxu ? this.paixu : "",
|
sortWord: this.shunxu ? this.paixu : '',
|
||||||
shunxu: this.shunxu
|
shunxu: this.shunxu
|
||||||
}, {
|
}, {
|
||||||
loading: "loading",
|
loading: 'loading',
|
||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
this.detailData = res;
|
this.detailData = res;
|
||||||
@@ -215,13 +215,13 @@ export default {
|
|||||||
console.log(item);
|
console.log(item);
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.qbfsForm = JSON.parse(JSON.stringify(item));
|
this.qbfsForm = JSON.parse(JSON.stringify(item));
|
||||||
let res = item.res ? item.res.substring(1, item.res.lastIndexOf("]")) : "";
|
let res = item.res ? item.res.substring(1, item.res.lastIndexOf(']')) : '';
|
||||||
res = res.split(",");
|
res = res.split(',');
|
||||||
this.dataList = [];
|
this.dataList = [];
|
||||||
res.forEach(item => {
|
res.forEach(item => {
|
||||||
this.dataList.push({
|
this.dataList.push({
|
||||||
opinion: item.split("-")[1],
|
opinion: item.split('-')[1],
|
||||||
people: item.split("-")[0]
|
people: item.split('-')[0]
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
@@ -273,7 +273,8 @@ export default {
|
|||||||
this.turnLoading = false
|
this.turnLoading = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push("/processCenter")
|
// this.$router.push("/processCenter")
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
@@ -286,9 +287,9 @@ export default {
|
|||||||
// 请求转换流程图
|
// 请求转换流程图
|
||||||
processNum(row) {
|
processNum(row) {
|
||||||
axios.request({
|
axios.request({
|
||||||
url: "/api/lawss/activiti/getImg?_t=" + new Date().getTime(),
|
url: '/api/lawss/activiti/getImg?_t=' + new Date().getTime(),
|
||||||
responseType: "blob",
|
responseType: 'blob',
|
||||||
method: "get",
|
method: 'get',
|
||||||
params: {
|
params: {
|
||||||
prcNum: this.$route.query.prcNum
|
prcNum: this.$route.query.prcNum
|
||||||
}
|
}
|
||||||
@@ -302,16 +303,16 @@ export default {
|
|||||||
* @Description: 点击下载
|
* @Description: 点击下载
|
||||||
*/
|
*/
|
||||||
downloadFile(attId) {
|
downloadFile(attId) {
|
||||||
if (attId != null && attId !== "") {
|
if (attId != null && attId !== '') {
|
||||||
window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId;
|
window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId;
|
||||||
} else {
|
} else {
|
||||||
this.$message.error("请选择要下载的文件");
|
this.$message.error('请选择要下载的文件');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
listNoDataText() {
|
listNoDataText() {
|
||||||
return this.processType === 1 ? "暂无待办流程" : "暂无已办流程";
|
return this.processType === 1 ? '暂无待办流程' : '暂无已办流程';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -114,13 +114,13 @@ import { Dialog } from 'vant';
|
|||||||
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
||||||
import ProcessFooter from '../../components/ProcessFooter'
|
import ProcessFooter from '../../components/ProcessFooter'
|
||||||
import ProcessTitle from '../../components/ProcessTitle'
|
import ProcessTitle from '../../components/ProcessTitle'
|
||||||
import { inboundLiaisonDetail, processCreateStand, changeAssigneeNew, execTask, saveTaskForPub } from "api/process";
|
import { inboundLiaisonDetail, processCreateStand, changeAssigneeNew, execTask, saveTaskForPub } from 'api/process';
|
||||||
import axios from "axios";
|
import axios from 'axios';
|
||||||
import ProcessHeader from "process/components/ProcessHeader";
|
import ProcessHeader from 'process/components/ProcessHeader';
|
||||||
import hwh5 from '@/api/hwh5-cloudonline.js'
|
import hwh5 from '@/api/hwh5-cloudonline.js'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "phoneQbfzStep5",
|
name: 'phoneQbfzStep5',
|
||||||
components: {
|
components: {
|
||||||
ProcessTitle,
|
ProcessTitle,
|
||||||
ProcessHeader,
|
ProcessHeader,
|
||||||
@@ -132,45 +132,45 @@ export default {
|
|||||||
phoneshowflag: false,
|
phoneshowflag: false,
|
||||||
phoneRoleList: [],
|
phoneRoleList: [],
|
||||||
phoneDrawerTitle: '',
|
phoneDrawerTitle: '',
|
||||||
active: "1",
|
active: '1',
|
||||||
isTransfer: false,
|
isTransfer: false,
|
||||||
isSubmit: false,
|
isSubmit: false,
|
||||||
saveLoading: false,
|
saveLoading: false,
|
||||||
drawerModal: false,
|
drawerModal: false,
|
||||||
drawerTitle: "",
|
drawerTitle: '',
|
||||||
nodeList: [],
|
nodeList: [],
|
||||||
fileList: [],
|
fileList: [],
|
||||||
commentText: "",
|
commentText: '',
|
||||||
dataList: [],
|
dataList: [],
|
||||||
detailData: [],
|
detailData: [],
|
||||||
loading: false,
|
loading: false,
|
||||||
foldFormFlag: false,
|
foldFormFlag: false,
|
||||||
qbfsForm: {
|
qbfsForm: {
|
||||||
entNumber: "",
|
entNumber: '',
|
||||||
cnName: "",
|
cnName: '',
|
||||||
enName: "",
|
enName: '',
|
||||||
entCategory: "",
|
entCategory: '',
|
||||||
replaceNumber: "",
|
replaceNumber: '',
|
||||||
replacedNumber: "",
|
replacedNumber: '',
|
||||||
releaseDate: "",
|
releaseDate: '',
|
||||||
implementDate: "",
|
implementDate: '',
|
||||||
reviewDate: "",
|
reviewDate: '',
|
||||||
nextStatus: ""
|
nextStatus: ''
|
||||||
},
|
},
|
||||||
formRules: {
|
formRules: {
|
||||||
nextStatus: [
|
nextStatus: [
|
||||||
{ required: true, message: "请选择下一步状态", trigger: "change" }
|
{ required: true, message: '请选择下一步状态', trigger: 'change' }
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
associationOptions: [{
|
associationOptions: [{
|
||||||
value: "修订",
|
value: '修订',
|
||||||
label: "修订"
|
label: '修订'
|
||||||
}, {
|
}, {
|
||||||
value: "废止",
|
value: '废止',
|
||||||
label: "废止"
|
label: '废止'
|
||||||
}, {
|
}, {
|
||||||
value: "有效",
|
value: '有效',
|
||||||
label: "有效"
|
label: '有效'
|
||||||
}]
|
}]
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
@@ -180,12 +180,12 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
processTable() {
|
processTable() {
|
||||||
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,
|
||||||
sortWord: this.shunxu ? this.paixu : "",
|
sortWord: this.shunxu ? this.paixu : '',
|
||||||
shunxu: this.shunxu
|
shunxu: this.shunxu
|
||||||
}, {
|
}, {
|
||||||
loading: "loading",
|
loading: 'loading',
|
||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
this.detailData = res;
|
this.detailData = res;
|
||||||
@@ -213,13 +213,13 @@ export default {
|
|||||||
console.log(item);
|
console.log(item);
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.qbfsForm = JSON.parse(JSON.stringify(item));
|
this.qbfsForm = JSON.parse(JSON.stringify(item));
|
||||||
let res = item.res ? item.res.substring(1, item.res.lastIndexOf("]")) : "";
|
let res = item.res ? item.res.substring(1, item.res.lastIndexOf(']')) : '';
|
||||||
res = res.split(",");
|
res = res.split(',');
|
||||||
this.dataList = [];
|
this.dataList = [];
|
||||||
res.forEach(item => {
|
res.forEach(item => {
|
||||||
this.dataList.push({
|
this.dataList.push({
|
||||||
opinion: item.split("-")[1],
|
opinion: item.split('-')[1],
|
||||||
people: item.split("-")[0]
|
people: item.split('-')[0]
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
@@ -233,8 +233,8 @@ export default {
|
|||||||
this.qbfsForm.commentText = this.commentText;
|
this.qbfsForm.commentText = this.commentText;
|
||||||
this.qbfsForm.bzFlag = '1'
|
this.qbfsForm.bzFlag = '1'
|
||||||
this.qbfsForm.dataList = this.dataList;
|
this.qbfsForm.dataList = this.dataList;
|
||||||
let json = JSON.stringify(this.qbfsForm);
|
const json = JSON.stringify(this.qbfsForm);
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
taskIds: this.$route.query.taskIds,
|
taskIds: this.$route.query.taskIds,
|
||||||
userId: this.$store.getters.userInfo.account,
|
userId: this.$store.getters.userInfo.account,
|
||||||
json: json
|
json: json
|
||||||
@@ -244,7 +244,8 @@ export default {
|
|||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.$message.success(res.message);
|
this.$message.success(res.message);
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push("/processCenter");
|
// this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
this.isSubmit = false;
|
this.isSubmit = false;
|
||||||
@@ -260,8 +261,8 @@ export default {
|
|||||||
this.qbfsForm.commentText = this.commentText;
|
this.qbfsForm.commentText = this.commentText;
|
||||||
this.qbfsForm.bzFlag = '0'
|
this.qbfsForm.bzFlag = '0'
|
||||||
this.qbfsForm.dataList = this.dataList;
|
this.qbfsForm.dataList = this.dataList;
|
||||||
let json = JSON.stringify(this.qbfsForm);
|
const json = JSON.stringify(this.qbfsForm);
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
taskIds: this.$route.query.taskIds,
|
taskIds: this.$route.query.taskIds,
|
||||||
userId: this.$store.getters.userInfo.account,
|
userId: this.$store.getters.userInfo.account,
|
||||||
json: json
|
json: json
|
||||||
@@ -271,7 +272,8 @@ export default {
|
|||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.$message.success(res.message);
|
this.$message.success(res.message);
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push("/processCenter");
|
// this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
this.isSubmit = false;
|
this.isSubmit = false;
|
||||||
@@ -311,7 +313,8 @@ export default {
|
|||||||
this.turnLoading = false
|
this.turnLoading = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push("/processCenter")
|
// this.$router.push("/processCenter")
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
@@ -324,9 +327,9 @@ export default {
|
|||||||
// 请求转换流程图
|
// 请求转换流程图
|
||||||
processNum(row) {
|
processNum(row) {
|
||||||
axios.request({
|
axios.request({
|
||||||
url: "/api/lawss/activiti/getImg?_t=" + new Date().getTime(),
|
url: '/api/lawss/activiti/getImg?_t=' + new Date().getTime(),
|
||||||
responseType: "blob",
|
responseType: 'blob',
|
||||||
method: "get",
|
method: 'get',
|
||||||
params: {
|
params: {
|
||||||
prcNum: this.$route.query.prcNum
|
prcNum: this.$route.query.prcNum
|
||||||
}
|
}
|
||||||
@@ -340,16 +343,16 @@ export default {
|
|||||||
* @Description: 点击下载
|
* @Description: 点击下载
|
||||||
*/
|
*/
|
||||||
downloadFile(attId) {
|
downloadFile(attId) {
|
||||||
if (attId != null && attId !== "") {
|
if (attId != null && attId !== '') {
|
||||||
window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId;
|
window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId;
|
||||||
} else {
|
} else {
|
||||||
this.$message.error("请选择要下载的文件");
|
this.$message.error('请选择要下载的文件');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
listNoDataText() {
|
listNoDataText() {
|
||||||
return this.processType === 1 ? "暂无待办流程" : "暂无已办流程";
|
return this.processType === 1 ? '暂无待办流程' : '暂无已办流程';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -114,13 +114,13 @@ import { Dialog } from 'vant';
|
|||||||
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
||||||
import ProcessFooter from '../../components/ProcessFooter'
|
import ProcessFooter from '../../components/ProcessFooter'
|
||||||
import ProcessTitle from '../../components/ProcessTitle'
|
import ProcessTitle from '../../components/ProcessTitle'
|
||||||
import { inboundLiaisonDetail, processCreateStand, changeAssigneeNew, execTask, saveTaskForPub } from "api/process";
|
import { inboundLiaisonDetail, processCreateStand, changeAssigneeNew, execTask, saveTaskForPub } from 'api/process';
|
||||||
import axios from "axios";
|
import axios from 'axios';
|
||||||
import ProcessHeader from "process/components/ProcessHeader";
|
import ProcessHeader from 'process/components/ProcessHeader';
|
||||||
import hwh5 from '@/api/hwh5-cloudonline.js'
|
import hwh5 from '@/api/hwh5-cloudonline.js'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "phoneQbfzStep5",
|
name: 'phoneQbfzStep5',
|
||||||
components: {
|
components: {
|
||||||
ProcessTitle,
|
ProcessTitle,
|
||||||
ProcessHeader,
|
ProcessHeader,
|
||||||
@@ -132,45 +132,45 @@ export default {
|
|||||||
phoneshowflag: false,
|
phoneshowflag: false,
|
||||||
phoneRoleList: [],
|
phoneRoleList: [],
|
||||||
phoneDrawerTitle: '',
|
phoneDrawerTitle: '',
|
||||||
active: "1",
|
active: '1',
|
||||||
isTransfer: false,
|
isTransfer: false,
|
||||||
isSubmit: false,
|
isSubmit: false,
|
||||||
saveLoading: false,
|
saveLoading: false,
|
||||||
drawerModal: false,
|
drawerModal: false,
|
||||||
drawerTitle: "",
|
drawerTitle: '',
|
||||||
nodeList: [],
|
nodeList: [],
|
||||||
fileList: [],
|
fileList: [],
|
||||||
commentText: "",
|
commentText: '',
|
||||||
dataList: [],
|
dataList: [],
|
||||||
detailData: [],
|
detailData: [],
|
||||||
loading: false,
|
loading: false,
|
||||||
foldFormFlag: false,
|
foldFormFlag: false,
|
||||||
qbfsForm: {
|
qbfsForm: {
|
||||||
entNumber: "",
|
entNumber: '',
|
||||||
cnName: "",
|
cnName: '',
|
||||||
enName: "",
|
enName: '',
|
||||||
entCategory: "",
|
entCategory: '',
|
||||||
replaceNumber: "",
|
replaceNumber: '',
|
||||||
replacedNumber: "",
|
replacedNumber: '',
|
||||||
releaseDate: "",
|
releaseDate: '',
|
||||||
implementDate: "",
|
implementDate: '',
|
||||||
reviewDate: "",
|
reviewDate: '',
|
||||||
nextStatus: ""
|
nextStatus: ''
|
||||||
},
|
},
|
||||||
formRules: {
|
formRules: {
|
||||||
nextStatus: [
|
nextStatus: [
|
||||||
{ required: true, message: "请选择下一步状态", trigger: "change" }
|
{ required: true, message: '请选择下一步状态', trigger: 'change' }
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
associationOptions: [{
|
associationOptions: [{
|
||||||
value: "修订",
|
value: '修订',
|
||||||
label: "修订"
|
label: '修订'
|
||||||
}, {
|
}, {
|
||||||
value: "废止",
|
value: '废止',
|
||||||
label: "废止"
|
label: '废止'
|
||||||
}, {
|
}, {
|
||||||
value: "有效",
|
value: '有效',
|
||||||
label: "有效"
|
label: '有效'
|
||||||
}]
|
}]
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
@@ -180,12 +180,12 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
processTable() {
|
processTable() {
|
||||||
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,
|
||||||
sortWord: this.shunxu ? this.paixu : "",
|
sortWord: this.shunxu ? this.paixu : '',
|
||||||
shunxu: this.shunxu
|
shunxu: this.shunxu
|
||||||
}, {
|
}, {
|
||||||
loading: "loading",
|
loading: 'loading',
|
||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
this.detailData = res;
|
this.detailData = res;
|
||||||
@@ -213,13 +213,13 @@ export default {
|
|||||||
console.log(item);
|
console.log(item);
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.qbfsForm = JSON.parse(JSON.stringify(item));
|
this.qbfsForm = JSON.parse(JSON.stringify(item));
|
||||||
let res = item.res ? item.res.substring(1, item.res.lastIndexOf("]")) : "";
|
let res = item.res ? item.res.substring(1, item.res.lastIndexOf(']')) : '';
|
||||||
res = res.split(",");
|
res = res.split(',');
|
||||||
this.dataList = [];
|
this.dataList = [];
|
||||||
res.forEach(item => {
|
res.forEach(item => {
|
||||||
this.dataList.push({
|
this.dataList.push({
|
||||||
opinion: item.split("-")[1],
|
opinion: item.split('-')[1],
|
||||||
people: item.split("-")[0]
|
people: item.split('-')[0]
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
@@ -233,8 +233,8 @@ export default {
|
|||||||
this.qbfsForm.commentText = this.commentText;
|
this.qbfsForm.commentText = this.commentText;
|
||||||
this.qbfsForm.sdFlag = '1'
|
this.qbfsForm.sdFlag = '1'
|
||||||
this.qbfsForm.dataList = this.dataList;
|
this.qbfsForm.dataList = this.dataList;
|
||||||
let json = JSON.stringify(this.qbfsForm);
|
const json = JSON.stringify(this.qbfsForm);
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
taskIds: this.$route.query.taskIds,
|
taskIds: this.$route.query.taskIds,
|
||||||
userId: this.$store.getters.userInfo.account,
|
userId: this.$store.getters.userInfo.account,
|
||||||
json: json
|
json: json
|
||||||
@@ -244,7 +244,8 @@ export default {
|
|||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.$message.success(res.message);
|
this.$message.success(res.message);
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push("/processCenter");
|
// this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
this.isSubmit = false;
|
this.isSubmit = false;
|
||||||
@@ -258,8 +259,8 @@ export default {
|
|||||||
this.qbfsForm.commentText = this.commentText;
|
this.qbfsForm.commentText = this.commentText;
|
||||||
this.qbfsForm.sdFlag = '0'
|
this.qbfsForm.sdFlag = '0'
|
||||||
this.qbfsForm.dataList = this.dataList;
|
this.qbfsForm.dataList = this.dataList;
|
||||||
let json = JSON.stringify(this.qbfsForm);
|
const json = JSON.stringify(this.qbfsForm);
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
taskIds: this.$route.query.taskIds,
|
taskIds: this.$route.query.taskIds,
|
||||||
userId: this.$store.getters.userInfo.account,
|
userId: this.$store.getters.userInfo.account,
|
||||||
json: json
|
json: json
|
||||||
@@ -269,7 +270,8 @@ export default {
|
|||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.$message.success(res.message);
|
this.$message.success(res.message);
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push("/processCenter");
|
// this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
this.isSubmit = false;
|
this.isSubmit = false;
|
||||||
@@ -305,7 +307,8 @@ export default {
|
|||||||
this.turnLoading = false
|
this.turnLoading = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push("/processCenter")
|
// this.$router.push("/processCenter")
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
@@ -318,9 +321,9 @@ export default {
|
|||||||
// 请求转换流程图
|
// 请求转换流程图
|
||||||
processNum(row) {
|
processNum(row) {
|
||||||
axios.request({
|
axios.request({
|
||||||
url: "/api/lawss/activiti/getImg?_t=" + new Date().getTime(),
|
url: '/api/lawss/activiti/getImg?_t=' + new Date().getTime(),
|
||||||
responseType: "blob",
|
responseType: 'blob',
|
||||||
method: "get",
|
method: 'get',
|
||||||
params: {
|
params: {
|
||||||
prcNum: this.$route.query.prcNum
|
prcNum: this.$route.query.prcNum
|
||||||
}
|
}
|
||||||
@@ -334,16 +337,16 @@ export default {
|
|||||||
* @Description: 点击下载
|
* @Description: 点击下载
|
||||||
*/
|
*/
|
||||||
downloadFile(attId) {
|
downloadFile(attId) {
|
||||||
if (attId != null && attId !== "") {
|
if (attId != null && attId !== '') {
|
||||||
window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId;
|
window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId;
|
||||||
} else {
|
} else {
|
||||||
this.$message.error("请选择要下载的文件");
|
this.$message.error('请选择要下载的文件');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
listNoDataText() {
|
listNoDataText() {
|
||||||
return this.processType === 1 ? "暂无待办流程" : "暂无已办流程";
|
return this.processType === 1 ? '暂无待办流程' : '暂无已办流程';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -114,13 +114,13 @@ import { Dialog } from 'vant';
|
|||||||
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
||||||
import ProcessFooter from '../../components/ProcessFooter'
|
import ProcessFooter from '../../components/ProcessFooter'
|
||||||
import ProcessTitle from '../../components/ProcessTitle'
|
import ProcessTitle from '../../components/ProcessTitle'
|
||||||
import { inboundLiaisonDetail, processCreateStand, changeAssigneeNew, execTask, saveTaskForPub } from "api/process";
|
import { inboundLiaisonDetail, processCreateStand, changeAssigneeNew, execTask, saveTaskForPub } from 'api/process';
|
||||||
import axios from "axios";
|
import axios from 'axios';
|
||||||
import ProcessHeader from "process/components/ProcessHeader";
|
import ProcessHeader from 'process/components/ProcessHeader';
|
||||||
import hwh5 from '@/api/hwh5-cloudonline.js'
|
import hwh5 from '@/api/hwh5-cloudonline.js'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "phoneQbfzStep7",
|
name: 'phoneQbfzStep7',
|
||||||
components: {
|
components: {
|
||||||
ProcessTitle,
|
ProcessTitle,
|
||||||
ProcessHeader,
|
ProcessHeader,
|
||||||
@@ -132,45 +132,45 @@ export default {
|
|||||||
phoneshowflag: false,
|
phoneshowflag: false,
|
||||||
phoneRoleList: [],
|
phoneRoleList: [],
|
||||||
phoneDrawerTitle: '',
|
phoneDrawerTitle: '',
|
||||||
active: "1",
|
active: '1',
|
||||||
isTransfer: false,
|
isTransfer: false,
|
||||||
isSubmit: false,
|
isSubmit: false,
|
||||||
saveLoading: false,
|
saveLoading: false,
|
||||||
drawerModal: false,
|
drawerModal: false,
|
||||||
drawerTitle: "",
|
drawerTitle: '',
|
||||||
nodeList: [],
|
nodeList: [],
|
||||||
fileList: [],
|
fileList: [],
|
||||||
commentText: "",
|
commentText: '',
|
||||||
dataList: [],
|
dataList: [],
|
||||||
detailData: [],
|
detailData: [],
|
||||||
loading: false,
|
loading: false,
|
||||||
foldFormFlag: false,
|
foldFormFlag: false,
|
||||||
qbfsForm: {
|
qbfsForm: {
|
||||||
entNumber: "",
|
entNumber: '',
|
||||||
cnName: "",
|
cnName: '',
|
||||||
enName: "",
|
enName: '',
|
||||||
entCategory: "",
|
entCategory: '',
|
||||||
replaceNumber: "",
|
replaceNumber: '',
|
||||||
replacedNumber: "",
|
replacedNumber: '',
|
||||||
releaseDate: "",
|
releaseDate: '',
|
||||||
implementDate: "",
|
implementDate: '',
|
||||||
reviewDate: "",
|
reviewDate: '',
|
||||||
nextStatus: ""
|
nextStatus: ''
|
||||||
},
|
},
|
||||||
formRules: {
|
formRules: {
|
||||||
nextStatus: [
|
nextStatus: [
|
||||||
{ required: true, message: "请选择下一步状态", trigger: "change" }
|
{ required: true, message: '请选择下一步状态', trigger: 'change' }
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
associationOptions: [{
|
associationOptions: [{
|
||||||
value: "修订",
|
value: '修订',
|
||||||
label: "修订"
|
label: '修订'
|
||||||
}, {
|
}, {
|
||||||
value: "废止",
|
value: '废止',
|
||||||
label: "废止"
|
label: '废止'
|
||||||
}, {
|
}, {
|
||||||
value: "有效",
|
value: '有效',
|
||||||
label: "有效"
|
label: '有效'
|
||||||
}]
|
}]
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
@@ -180,12 +180,12 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
processTable() {
|
processTable() {
|
||||||
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,
|
||||||
sortWord: this.shunxu ? this.paixu : "",
|
sortWord: this.shunxu ? this.paixu : '',
|
||||||
shunxu: this.shunxu
|
shunxu: this.shunxu
|
||||||
}, {
|
}, {
|
||||||
loading: "loading",
|
loading: 'loading',
|
||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
this.detailData = res;
|
this.detailData = res;
|
||||||
@@ -213,13 +213,13 @@ export default {
|
|||||||
console.log(item);
|
console.log(item);
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.qbfsForm = JSON.parse(JSON.stringify(item));
|
this.qbfsForm = JSON.parse(JSON.stringify(item));
|
||||||
let res = item.res ? item.res.substring(1, item.res.lastIndexOf("]")) : "";
|
let res = item.res ? item.res.substring(1, item.res.lastIndexOf(']')) : '';
|
||||||
res = res.split(",");
|
res = res.split(',');
|
||||||
this.dataList = [];
|
this.dataList = [];
|
||||||
res.forEach(item => {
|
res.forEach(item => {
|
||||||
this.dataList.push({
|
this.dataList.push({
|
||||||
opinion: item.split("-")[1],
|
opinion: item.split('-')[1],
|
||||||
people: item.split("-")[0]
|
people: item.split('-')[0]
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
@@ -233,8 +233,8 @@ export default {
|
|||||||
this.qbfsForm.commentText = this.commentText;
|
this.qbfsForm.commentText = this.commentText;
|
||||||
this.qbfsForm.bafzFlag = '1'
|
this.qbfsForm.bafzFlag = '1'
|
||||||
this.qbfsForm.dataList = this.dataList;
|
this.qbfsForm.dataList = this.dataList;
|
||||||
let json = JSON.stringify(this.qbfsForm);
|
const json = JSON.stringify(this.qbfsForm);
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
taskIds: this.$route.query.taskIds,
|
taskIds: this.$route.query.taskIds,
|
||||||
userId: this.$store.getters.userInfo.account,
|
userId: this.$store.getters.userInfo.account,
|
||||||
json: json
|
json: json
|
||||||
@@ -244,7 +244,8 @@ export default {
|
|||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.$message.success(res.message);
|
this.$message.success(res.message);
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push("/processCenter");
|
// this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
this.isSubmit = false;
|
this.isSubmit = false;
|
||||||
@@ -260,8 +261,8 @@ export default {
|
|||||||
this.qbfsForm.commentText = this.commentText;
|
this.qbfsForm.commentText = this.commentText;
|
||||||
this.qbfsForm.bafzFlag = '0'
|
this.qbfsForm.bafzFlag = '0'
|
||||||
this.qbfsForm.dataList = this.dataList;
|
this.qbfsForm.dataList = this.dataList;
|
||||||
let json = JSON.stringify(this.qbfsForm);
|
const json = JSON.stringify(this.qbfsForm);
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
taskIds: this.$route.query.taskIds,
|
taskIds: this.$route.query.taskIds,
|
||||||
userId: this.$store.getters.userInfo.account,
|
userId: this.$store.getters.userInfo.account,
|
||||||
json: json
|
json: json
|
||||||
@@ -271,7 +272,8 @@ export default {
|
|||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.$message.success(res.message);
|
this.$message.success(res.message);
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push("/processCenter");
|
// this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
this.isSubmit = false;
|
this.isSubmit = false;
|
||||||
@@ -311,7 +313,8 @@ export default {
|
|||||||
this.turnLoading = false
|
this.turnLoading = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push("/processCenter")
|
// this.$router.push("/processCenter")
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
@@ -324,9 +327,9 @@ export default {
|
|||||||
// 请求转换流程图
|
// 请求转换流程图
|
||||||
processNum(row) {
|
processNum(row) {
|
||||||
axios.request({
|
axios.request({
|
||||||
url: "/api/lawss/activiti/getImg?_t=" + new Date().getTime(),
|
url: '/api/lawss/activiti/getImg?_t=' + new Date().getTime(),
|
||||||
responseType: "blob",
|
responseType: 'blob',
|
||||||
method: "get",
|
method: 'get',
|
||||||
params: {
|
params: {
|
||||||
prcNum: this.$route.query.prcNum
|
prcNum: this.$route.query.prcNum
|
||||||
}
|
}
|
||||||
@@ -340,16 +343,16 @@ export default {
|
|||||||
* @Description: 点击下载
|
* @Description: 点击下载
|
||||||
*/
|
*/
|
||||||
downloadFile(attId) {
|
downloadFile(attId) {
|
||||||
if (attId != null && attId !== "") {
|
if (attId != null && attId !== '') {
|
||||||
window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId;
|
window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId;
|
||||||
} else {
|
} else {
|
||||||
this.$message.error("请选择要下载的文件");
|
this.$message.error('请选择要下载的文件');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
listNoDataText() {
|
listNoDataText() {
|
||||||
return this.processType === 1 ? "暂无待办流程" : "暂无已办流程";
|
return this.processType === 1 ? '暂无待办流程' : '暂无已办流程';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -235,27 +235,27 @@
|
|||||||
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
||||||
import ProcessFooter from '../../components/ProcessFooter'
|
import ProcessFooter from '../../components/ProcessFooter'
|
||||||
import ProcessTitle from '../../components/ProcessTitle'
|
import ProcessTitle from '../../components/ProcessTitle'
|
||||||
import formList from "process/phone/qbrk-product/common/formList";
|
import formList from 'process/phone/qbrk-product/common/formList';
|
||||||
import {
|
import {
|
||||||
inboundLiaisonDetail,
|
inboundLiaisonDetail,
|
||||||
processCreateStand,
|
processCreateStand,
|
||||||
changeAssigneeNew,
|
changeAssigneeNew,
|
||||||
queryTaskFirst,
|
queryTaskFirst,
|
||||||
getBusStandFileByAttId, saveTaskFirst
|
getBusStandFileByAttId, saveTaskFirst
|
||||||
} from "api/process";
|
} from 'api/process';
|
||||||
import TreeSelect from '@/components/treeSelect/treeSelect.vue';
|
import TreeSelect from '@/components/treeSelect/treeSelect.vue';
|
||||||
import CusTomDataPickerGroup
|
import CusTomDataPickerGroup
|
||||||
from "@/pages/regulatoryRepository/localProductsOrProjectLibrary/components/DatePickerGroup";
|
from '@/pages/regulatoryRepository/localProductsOrProjectLibrary/components/DatePickerGroup';
|
||||||
import Vue from 'vue';
|
import Vue from 'vue';
|
||||||
import { Form } from 'vant';
|
import { Form } from 'vant';
|
||||||
import { Field } from 'vant';
|
import { Field } from 'vant';
|
||||||
import { getEvaluationIndex } from "api/businessApi";
|
import { getEvaluationIndex } from 'api/businessApi';
|
||||||
import hwh5 from '@/api/hwh5-cloudonline.js'
|
import hwh5 from '@/api/hwh5-cloudonline.js'
|
||||||
|
|
||||||
Vue.use(Form);
|
Vue.use(Form);
|
||||||
Vue.use(Field);
|
Vue.use(Field);
|
||||||
export default {
|
export default {
|
||||||
name: "phoneBussLibraryProduct10",
|
name: 'phoneBussLibraryProduct10',
|
||||||
components: {
|
components: {
|
||||||
CusTomDataPickerGroup,
|
CusTomDataPickerGroup,
|
||||||
ProcessHeaderPhone,
|
ProcessHeaderPhone,
|
||||||
@@ -685,21 +685,21 @@ export default {
|
|||||||
'form.issueTime': {
|
'form.issueTime': {
|
||||||
handler: function() {
|
handler: function() {
|
||||||
if(this.form.issueTime !== undefined && this.form.issueTime !== null && this.form.issueTime !== ''){
|
if(this.form.issueTime !== undefined && this.form.issueTime !== null && this.form.issueTime !== ''){
|
||||||
let date = new Date(this.$moment(this.form.issueTime).format('YYYY-MM-DD'))
|
const date = new Date(this.$moment(this.form.issueTime).format('YYYY-MM-DD'))
|
||||||
// const FSRQBUSS = date.getFullYear()+ 5 + '-' + date.getMonth() + '-' + date.getDate()
|
// const FSRQBUSS = date.getFullYear()+ 5 + '-' + date.getMonth() + '-' + date.getDate()
|
||||||
// this.sarBussionessStandEO["FSRQBUSS"] = FSRQBUSS
|
// this.sarBussionessStandEO["FSRQBUSS"] = FSRQBUSS
|
||||||
|
|
||||||
let year = date.getFullYear()+5;
|
const year = date.getFullYear()+5;
|
||||||
let month =(date.getMonth() + 1).toString();
|
let month =(date.getMonth() + 1).toString();
|
||||||
let day = (date.getDate()).toString();
|
let day = (date.getDate()).toString();
|
||||||
if (month.length == 1) {
|
if (month.length == 1) {
|
||||||
month = "0" + month;
|
month = '0' + month;
|
||||||
}
|
}
|
||||||
if (day.length == 1) {
|
if (day.length == 1) {
|
||||||
day = "0" + day;
|
day = '0' + day;
|
||||||
}
|
}
|
||||||
const FSRQBUSS = year + "-" + month + "-" + day;
|
const FSRQBUSS = year + '-' + month + '-' + day;
|
||||||
this.form["FSRQBUSS"] = FSRQBUSS
|
this.form['FSRQBUSS'] = FSRQBUSS
|
||||||
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -708,7 +708,7 @@ export default {
|
|||||||
handler (val) {
|
handler (val) {
|
||||||
if (val !== '' && val !== null && typeof (val) !== 'undefined') {
|
if (val !== '' && val !== null && typeof (val) !== 'undefined') {
|
||||||
if (val instanceof Array) {
|
if (val instanceof Array) {
|
||||||
this.countryArr = val.join(",");
|
this.countryArr = val.join(',');
|
||||||
} else {
|
} else {
|
||||||
this.countryArr = val
|
this.countryArr = val
|
||||||
}
|
}
|
||||||
@@ -737,8 +737,8 @@ export default {
|
|||||||
console.log('modelData.' + index + '.modelName')
|
console.log('modelData.' + index + '.modelName')
|
||||||
return 'modelData.' + index + '.modelName';
|
return 'modelData.' + index + '.modelName';
|
||||||
}else {
|
}else {
|
||||||
let propStr = "";
|
let propStr = '';
|
||||||
const indexList = row.modelIndex.split(",");
|
const indexList = row.modelIndex.split(',');
|
||||||
for (let i = 0; i < indexList.length; i++) {
|
for (let i = 0; i < indexList.length; i++) {
|
||||||
if(i === 0){
|
if(i === 0){
|
||||||
propStr += 'modelData.' + indexList[i]
|
propStr += 'modelData.' + indexList[i]
|
||||||
@@ -769,10 +769,10 @@ export default {
|
|||||||
console.log(row)
|
console.log(row)
|
||||||
console.log(this.form.modelData)
|
console.log(this.form.modelData)
|
||||||
// 模态框删除按钮
|
// 模态框删除按钮
|
||||||
this.$confirm("是否确认删除本条数据?", "提示", {
|
this.$confirm('是否确认删除本条数据?', '提示', {
|
||||||
confirmButtonText: "确定",
|
confirmButtonText: '确定',
|
||||||
cancelButtonText: "取消",
|
cancelButtonText: '取消',
|
||||||
type: "info"
|
type: 'info'
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
// 此为假删除,只是删除了模态框中当前行的数据,并没有真正删除表格数据
|
// 此为假删除,只是删除了模态框中当前行的数据,并没有真正删除表格数据
|
||||||
const ids = []
|
const ids = []
|
||||||
@@ -780,8 +780,8 @@ export default {
|
|||||||
this.form.modelData = this.changeRestTree(this.deletedId(this.form.modelData,ids))
|
this.form.modelData = this.changeRestTree(this.deletedId(this.form.modelData,ids))
|
||||||
console.log(this.form.modelData)
|
console.log(this.form.modelData)
|
||||||
this.$message({
|
this.$message({
|
||||||
message: "删除成功",
|
message: '删除成功',
|
||||||
type: "success",
|
type: 'success',
|
||||||
duration: 2000
|
duration: 2000
|
||||||
});
|
});
|
||||||
this.$forceUpdate()
|
this.$forceUpdate()
|
||||||
@@ -810,10 +810,10 @@ export default {
|
|||||||
pid: '0',
|
pid: '0',
|
||||||
modelIndex: this.form.modelData.length,
|
modelIndex: this.form.modelData.length,
|
||||||
disabled: false,
|
disabled: false,
|
||||||
modelName: "",
|
modelName: '',
|
||||||
modelContent: "",
|
modelContent: '',
|
||||||
zrUserId:"",
|
zrUserId:'',
|
||||||
zrUserIdName:"",
|
zrUserIdName:'',
|
||||||
children:[],
|
children:[],
|
||||||
};
|
};
|
||||||
this.form.modelData.push(list);
|
this.form.modelData.push(list);
|
||||||
@@ -835,10 +835,10 @@ export default {
|
|||||||
pid: row.modelNum,
|
pid: row.modelNum,
|
||||||
modelIndex: row.children.length,
|
modelIndex: row.children.length,
|
||||||
disabled: false,
|
disabled: false,
|
||||||
modelName: "",
|
modelName: '',
|
||||||
modelContent: "",
|
modelContent: '',
|
||||||
zrUserId:"",
|
zrUserId:'',
|
||||||
zrUserIdName:"",
|
zrUserIdName:'',
|
||||||
children:[],
|
children:[],
|
||||||
};
|
};
|
||||||
row.children.push(list)
|
row.children.push(list)
|
||||||
@@ -852,7 +852,7 @@ export default {
|
|||||||
const hour = d.getHours()<10 ? '0'+d.getHours() : d.getHours();//得到时
|
const hour = d.getHours()<10 ? '0'+d.getHours() : d.getHours();//得到时
|
||||||
const minute = d.getMinutes()<10 ? '0'+d.getMinutes() : d.getMinutes();//得到分
|
const minute = d.getMinutes()<10 ? '0'+d.getMinutes() : d.getMinutes();//得到分
|
||||||
const second = d.getSeconds()<10 ? '0'+d.getSeconds() : d.getSeconds();//得到秒
|
const second = d.getSeconds()<10 ? '0'+d.getSeconds() : d.getSeconds();//得到秒
|
||||||
return [year, month, day].join('-') + " " + [hour, minute, second].join(':');//格式为:YY-MM-DD hh:mm:ss(当前时间)
|
return [year, month, day].join('-') + ' ' + [hour, minute, second].join(':');//格式为:YY-MM-DD hh:mm:ss(当前时间)
|
||||||
},
|
},
|
||||||
// choiceZRRS () {
|
// choiceZRRS () {
|
||||||
// if (this.userType === 'zrUserId') {
|
// if (this.userType === 'zrUserId') {
|
||||||
@@ -910,7 +910,8 @@ export default {
|
|||||||
this.drawerModal = false
|
this.drawerModal = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
// this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
||||||
// this.processNum()
|
// this.processNum()
|
||||||
} else {
|
} else {
|
||||||
@@ -967,7 +968,7 @@ export default {
|
|||||||
bpnId: this.$route.query.bpnId
|
bpnId: this.$route.query.bpnId
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
this.verifySarStandard = this.$route.query.verifySarStandard
|
this.verifySarStandard = this.$route.query.verifySarStandard
|
||||||
let mes = JSON.parse(res.mes)
|
const mes = JSON.parse(res.mes)
|
||||||
mes.form.date = new Date(this.$moment(mes.form.date).format('YYYY-MM-DD'))
|
mes.form.date = new Date(this.$moment(mes.form.date).format('YYYY-MM-DD'))
|
||||||
this.form = mes.form
|
this.form = mes.form
|
||||||
this.roleForm = mes.roleForm
|
this.roleForm = mes.roleForm
|
||||||
@@ -1033,96 +1034,96 @@ export default {
|
|||||||
},
|
},
|
||||||
handleProcessStandardNext(status) {
|
handleProcessStandardNext(status) {
|
||||||
switch (status) {
|
switch (status) {
|
||||||
// 新增
|
// 新增
|
||||||
case 1:
|
case 1:
|
||||||
this.selectedList = []
|
this.selectedList = []
|
||||||
this.standardCheckedList = []
|
this.standardCheckedList = []
|
||||||
this.standardDrawer = false
|
this.standardDrawer = false
|
||||||
this.verifySarStandard = true
|
this.verifySarStandard = true
|
||||||
this.clearFormData(this.form)
|
this.clearFormData(this.form)
|
||||||
break
|
break
|
||||||
// 带入
|
// 带入
|
||||||
case 2:
|
case 2:
|
||||||
if (this.standardCheckedList.length === 1) {
|
if (this.standardCheckedList.length === 1) {
|
||||||
this.$http.get('lawss/sarLawsInfo/getStandInfoUpdateById', {id: this.standardCheckedList[0].id}, {
|
this.$http.get('lawss/sarLawsInfo/getStandInfoUpdateById', {id: this.standardCheckedList[0].id}, {
|
||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
if(res && res.data){
|
if(res && res.data){
|
||||||
const bringData = res.data
|
const bringData = res.data
|
||||||
|
|
||||||
const json = Object.assign(bringData, bringData.attrInfoMap);
|
const json = Object.assign(bringData, bringData.attrInfoMap);
|
||||||
this.form = JSON.parse(JSON.stringify(json))
|
this.form = JSON.parse(JSON.stringify(json))
|
||||||
this.form.TGRLAWS = JSON.parse(JSON.stringify(json)).TGRLAWS && JSON.parse(JSON.stringify(json)).TGRLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).TGRLAWS.split(',') : []
|
this.form.TGRLAWS = JSON.parse(JSON.stringify(json)).TGRLAWS && JSON.parse(JSON.stringify(json)).TGRLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).TGRLAWS.split(',') : []
|
||||||
this.form.TGDWLAWS = JSON.parse(JSON.stringify(json)).TGDWLAWS && JSON.parse(JSON.stringify(json)).TGDWLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).TGDWLAWS.split(',') : []
|
this.form.TGDWLAWS = JSON.parse(JSON.stringify(json)).TGDWLAWS && JSON.parse(JSON.stringify(json)).TGDWLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).TGDWLAWS.split(',') : []
|
||||||
this.form.NYLXLAWS = JSON.parse(JSON.stringify(json)).NYLXLAWS && JSON.parse(JSON.stringify(json)).NYLXLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).NYLXLAWS.split(',') : []
|
this.form.NYLXLAWS = JSON.parse(JSON.stringify(json)).NYLXLAWS && JSON.parse(JSON.stringify(json)).NYLXLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).NYLXLAWS.split(',') : []
|
||||||
this.form.YYRZLAWS = JSON.parse(JSON.stringify(json)).YYRZLAWS && JSON.parse(JSON.stringify(json)).YYRZLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).YYRZLAWS.split(',') : []
|
this.form.YYRZLAWS = JSON.parse(JSON.stringify(json)).YYRZLAWS && JSON.parse(JSON.stringify(json)).YYRZLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).YYRZLAWS.split(',') : []
|
||||||
this.form.ZRBMLAWS = JSON.parse(JSON.stringify(json)).ZRBMLAWS && JSON.parse(JSON.stringify(json)).ZRBMLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).ZRBMLAWS.split(',') : []
|
this.form.ZRBMLAWS = JSON.parse(JSON.stringify(json)).ZRBMLAWS && JSON.parse(JSON.stringify(json)).ZRBMLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).ZRBMLAWS.split(',') : []
|
||||||
this.form.ZRGCSLAWS = JSON.parse(JSON.stringify(json)).ZRGCSLAWS && JSON.parse(JSON.stringify(json)).ZRGCSLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).ZRGCSLAWS.split(',') : []
|
this.form.ZRGCSLAWS = JSON.parse(JSON.stringify(json)).ZRGCSLAWS && JSON.parse(JSON.stringify(json)).ZRGCSLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).ZRGCSLAWS.split(',') : []
|
||||||
this.form.prcNum = this.prcNum
|
this.form.prcNum = this.prcNum
|
||||||
this.form.prcName = this.prcName
|
this.form.prcName = this.prcName
|
||||||
this.form['id'] = bringData.id
|
this.form['id'] = bringData.id
|
||||||
this.standardDrawer = false
|
this.standardDrawer = false
|
||||||
this.verifySarStandard = true
|
this.verifySarStandard = true
|
||||||
this.busVsFunc()
|
this.busVsFunc()
|
||||||
this.modelFunc()
|
this.modelFunc()
|
||||||
this.$forceUpdate()
|
this.$forceUpdate()
|
||||||
|
}
|
||||||
|
// 遍历对象初始化文件信息
|
||||||
|
for(const p in this.form) {
|
||||||
|
if (typeof (this.form[p ]) != 'function') {
|
||||||
|
this.initializeFileList(p,this.form[p]);
|
||||||
}
|
}
|
||||||
// 遍历对象初始化文件信息
|
}
|
||||||
for(const p in this.form) {
|
console.log('res',res);
|
||||||
if (typeof (this.form[p ]) != "function") {
|
})
|
||||||
this.initializeFileList(p,this.form[p]);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
console.log("res",res);
|
|
||||||
})
|
|
||||||
|
|
||||||
} else if (this.standardCheckedList.length > 1) {
|
} else if (this.standardCheckedList.length > 1) {
|
||||||
this.$message.warning('最多可以带入一条政策信息')
|
this.$message.warning('最多可以带入一条政策信息')
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning('请选择要带入的政策信息')
|
this.$message.warning('请选择要带入的政策信息')
|
||||||
}
|
}
|
||||||
break
|
break
|
||||||
// 取消
|
// 取消
|
||||||
case 3:
|
case 3:
|
||||||
this.selectedList = []
|
this.selectedList = []
|
||||||
this.standardCheckedList = []
|
this.standardCheckedList = []
|
||||||
this.standardDrawer = false
|
this.standardDrawer = false
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
initializeFileList(property ,value){
|
initializeFileList(property ,value){
|
||||||
switch (property){
|
switch (property){
|
||||||
case 'xgd':
|
case 'xgd':
|
||||||
this.getFileList(value,this.xgdFileList);
|
this.getFileList(value,this.xgdFileList);
|
||||||
break;
|
break;
|
||||||
case 'fbgbjbd':
|
case 'fbgbjbd':
|
||||||
this.getFileList(value,this.FBGBJBDFileList);
|
this.getFileList(value,this.FBGBJBDFileList);
|
||||||
break;
|
break;
|
||||||
case 'ssg':
|
case 'ssg':
|
||||||
this.getFileList(value,this.ssgFileList);
|
this.getFileList(value,this.ssgFileList);
|
||||||
break;
|
break;
|
||||||
case 'ca':
|
case 'ca':
|
||||||
this.getFileList(value,this.caFileList);
|
this.getFileList(value,this.caFileList);
|
||||||
break;
|
break;
|
||||||
case 'zbjbd':
|
case 'zbjbd':
|
||||||
this.getFileList(value,this.zbjbdFileList);
|
this.getFileList(value,this.zbjbdFileList);
|
||||||
break;
|
break;
|
||||||
case 'kwj':
|
case 'kwj':
|
||||||
this.getFileList(value,this.kwjFileList);
|
this.getFileList(value,this.kwjFileList);
|
||||||
break;
|
break;
|
||||||
case 'jdwj':
|
case 'jdwj':
|
||||||
this.getFileList(value,this.jdwjFileList);
|
this.getFileList(value,this.jdwjFileList);
|
||||||
break;
|
break;
|
||||||
case 'bpg':
|
case 'bpg':
|
||||||
this.getFileList(value,this.bpgFileList);
|
this.getFileList(value,this.bpgFileList);
|
||||||
break;
|
break;
|
||||||
case 'zqyjg':
|
case 'zqyjg':
|
||||||
this.getFileList(value,this.zqyjgFileList);
|
this.getFileList(value,this.zqyjgFileList);
|
||||||
break;
|
break;
|
||||||
case 'glwj':
|
case 'glwj':
|
||||||
this.getFileList(value,this.glwjFileList);
|
this.getFileList(value,this.glwjFileList);
|
||||||
break;
|
break;
|
||||||
default: ;
|
default:
|
||||||
}
|
}
|
||||||
},getFileList(fileIds,defaultFileList){
|
},getFileList(fileIds,defaultFileList){
|
||||||
|
|
||||||
@@ -1133,17 +1134,17 @@ export default {
|
|||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
|
|
||||||
let fileList = res.data
|
const fileList = res.data
|
||||||
if (fileList != null && fileList.length > 0) {
|
if (fileList != null && fileList.length > 0) {
|
||||||
for (let i = 0; i < fileList.length; i++) {
|
for (let i = 0; i < fileList.length; i++) {
|
||||||
let obj = {name: '', response: {}}
|
const obj = {name: '', response: {}}
|
||||||
obj.name = fileList[i].oldFileName
|
obj.name = fileList[i].oldFileName
|
||||||
obj.response.data = fileList[i]
|
obj.response.data = fileList[i]
|
||||||
|
|
||||||
|
|
||||||
//根据以‘,’分割的id查询到的文件信息,放入对应的文件list中
|
//根据以‘,’分割的id查询到的文件信息,放入对应的文件list中
|
||||||
defaultFileList.push(obj)
|
defaultFileList.push(obj)
|
||||||
console.log("defaultFileList",defaultFileList);
|
console.log('defaultFileList',defaultFileList);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}, e => {
|
}, e => {
|
||||||
@@ -1211,8 +1212,8 @@ export default {
|
|||||||
saveUserInfo () {
|
saveUserInfo () {
|
||||||
this.filterText = ''
|
this.filterText = ''
|
||||||
if (this.userType === 'zrUserId') {
|
if (this.userType === 'zrUserId') {
|
||||||
this.roleForm.zrUserId = this.zrUserIds.map(item => item.id).join(",")
|
this.roleForm.zrUserId = this.zrUserIds.map(item => item.id).join(',')
|
||||||
this.roleForm.zrUserName = this.zrUserIds.map(item => item.name).join(",")
|
this.roleForm.zrUserName = this.zrUserIds.map(item => item.name).join(',')
|
||||||
} else if (this.userType === 'jlUserId') {
|
} else if (this.userType === 'jlUserId') {
|
||||||
this.roleForm.jlUserId = this.roleRow.id
|
this.roleForm.jlUserId = this.roleRow.id
|
||||||
this.roleForm.jlUserName = this.roleRow.name
|
this.roleForm.jlUserName = this.roleRow.name
|
||||||
@@ -1243,7 +1244,7 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
}else {
|
}else {
|
||||||
var getlist = this.$refs.tree.getCheckedNodes().concat(this.$refs.tree.getHalfCheckedNodes());
|
const getlist = this.$refs.tree.getCheckedNodes().concat(this.$refs.tree.getHalfCheckedNodes());
|
||||||
if(getlist.length == 1) {
|
if(getlist.length == 1) {
|
||||||
this.roleRow = getlist[0]
|
this.roleRow = getlist[0]
|
||||||
}else {
|
}else {
|
||||||
@@ -1255,15 +1256,15 @@ export default {
|
|||||||
// 更多
|
// 更多
|
||||||
handleCommand (command) {
|
handleCommand (command) {
|
||||||
switch (command[2]) {
|
switch (command[2]) {
|
||||||
case '新增':
|
case '新增':
|
||||||
this.createChildRow(command[0],command[1])
|
this.createChildRow(command[0],command[1])
|
||||||
break
|
break
|
||||||
case '维护':
|
case '维护':
|
||||||
command[1].disabled = false
|
command[1].disabled = false
|
||||||
break
|
break
|
||||||
case '删除':
|
case '删除':
|
||||||
this.handleDelete(command[0],command[1])
|
this.handleDelete(command[0],command[1])
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
choiceZRRList (type, title, id) {
|
choiceZRRList (type, title, id) {
|
||||||
@@ -1323,8 +1324,8 @@ export default {
|
|||||||
this.modalShowFlag2 = true
|
this.modalShowFlag2 = true
|
||||||
this.url = ''
|
this.url = ''
|
||||||
this.urlChild = ''
|
this.urlChild = ''
|
||||||
this.url="sarVppsTree/list"
|
this.url='sarVppsTree/list'
|
||||||
this.urlChild="sarVppsTree/childByList"
|
this.urlChild='sarVppsTree/childByList'
|
||||||
this.key1++
|
this.key1++
|
||||||
},
|
},
|
||||||
choiceZRR3 (type, title, id) {
|
choiceZRR3 (type, title, id) {
|
||||||
@@ -1332,8 +1333,8 @@ export default {
|
|||||||
this.modalShowFlag3 = true
|
this.modalShowFlag3 = true
|
||||||
this.url = ''
|
this.url = ''
|
||||||
this.urlChild = ''
|
this.urlChild = ''
|
||||||
this.url="sarVppsTree/list"
|
this.url='sarVppsTree/list'
|
||||||
this.urlChild="sarVppsTree/childByList"
|
this.urlChild='sarVppsTree/childByList'
|
||||||
this.key2++
|
this.key2++
|
||||||
},
|
},
|
||||||
choiceZRR4 (type, title, id) {
|
choiceZRR4 (type, title, id) {
|
||||||
@@ -1341,8 +1342,8 @@ export default {
|
|||||||
this.modalShowFlag4 = true
|
this.modalShowFlag4 = true
|
||||||
this.url = ''
|
this.url = ''
|
||||||
this.urlChild = ''
|
this.urlChild = ''
|
||||||
this.url="sarModelTree/list"
|
this.url='sarModelTree/list'
|
||||||
this.urlChild="sarModelTree/childByList"
|
this.urlChild='sarModelTree/childByList'
|
||||||
this.key3++
|
this.key3++
|
||||||
},
|
},
|
||||||
getTree () {
|
getTree () {
|
||||||
@@ -1462,7 +1463,7 @@ export default {
|
|||||||
},
|
},
|
||||||
// 点击查看
|
// 点击查看
|
||||||
handlePreview (item) {
|
handlePreview (item) {
|
||||||
let routeUrl = this.$router.resolve({
|
const routeUrl = this.$router.resolve({
|
||||||
name: 'OtherLawsStandDetails',
|
name: 'OtherLawsStandDetails',
|
||||||
params: {
|
params: {
|
||||||
id: item.id,
|
id: item.id,
|
||||||
@@ -1520,10 +1521,10 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
beginImportFile (file) {
|
beginImportFile (file) {
|
||||||
var filename = file.name
|
const filename = file.name
|
||||||
var index1 = filename.lastIndexOf('.')
|
const index1 = filename.lastIndexOf('.')
|
||||||
var index2 = filename.length
|
const index2 = filename.length
|
||||||
var fileSuffix = filename.substring(index1, index2)
|
const fileSuffix = filename.substring(index1, index2)
|
||||||
// const fileSuffix = file.name.split('.')[1] // 后缀名
|
// const fileSuffix = file.name.split('.')[1] // 后缀名
|
||||||
// 判断上传文件格式
|
// 判断上传文件格式
|
||||||
if (fileSuffix === '.pdf' || fileSuffix === '.PDF' || fileSuffix === '.ppt'|| fileSuffix === '.PPT' || fileSuffix === '.pptx'|| fileSuffix === '.PPTX'|| fileSuffix === '.doc' || fileSuffix === '.DOC' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.zip' || fileSuffix === '.xls' || fileSuffix === '.xlsx') {
|
if (fileSuffix === '.pdf' || fileSuffix === '.PDF' || fileSuffix === '.ppt'|| fileSuffix === '.PPT' || fileSuffix === '.pptx'|| fileSuffix === '.PPTX'|| fileSuffix === '.doc' || fileSuffix === '.DOC' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.zip' || fileSuffix === '.xls' || fileSuffix === '.xlsx') {
|
||||||
@@ -1581,9 +1582,9 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}).catch(e => {
|
}).catch(e => {
|
||||||
console.log(e)
|
console.log(e)
|
||||||
this.$message.warning('文件不存在,预览失败')
|
this.$message.warning('文件不存在,预览失败')
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 导入标准数据成功后执行
|
// 导入标准数据成功后执行
|
||||||
@@ -1595,22 +1596,22 @@ export default {
|
|||||||
if (response.ok) {
|
if (response.ok) {
|
||||||
|
|
||||||
switch (this.fileType){
|
switch (this.fileType){
|
||||||
case 'FBGBUSS':
|
case 'FBGBUSS':
|
||||||
this.FBGBUSSFileList = fileList
|
this.FBGBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
case 'BZSMBUSS' :
|
case 'BZSMBUSS' :
|
||||||
this.BZSMBUSSFileList = fileList
|
this.BZSMBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
case 'LSBBBUSS':
|
case 'LSBBBUSS':
|
||||||
this.LSBBBUSSFileList = fileList
|
this.LSBBBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
case 'GLWJLAWS':
|
case 'GLWJLAWS':
|
||||||
this.QTWJBUSSFileList = fileList
|
this.QTWJBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
case 'GLWJBUSS':
|
case 'GLWJBUSS':
|
||||||
this.GLWJBUSSFileList = fileList
|
this.GLWJBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
default : ;
|
default :
|
||||||
}
|
}
|
||||||
this.$message({
|
this.$message({
|
||||||
// showClose: true,
|
// showClose: true,
|
||||||
@@ -1630,22 +1631,22 @@ export default {
|
|||||||
this.fileType = type;
|
this.fileType = type;
|
||||||
|
|
||||||
switch (this.fileType){
|
switch (this.fileType){
|
||||||
case 'FBGBUSS':
|
case 'FBGBUSS':
|
||||||
this.fileList=this.FBGBUSSFileList
|
this.fileList=this.FBGBUSSFileList
|
||||||
break;
|
break;
|
||||||
case 'BZSMBUSS' :
|
case 'BZSMBUSS' :
|
||||||
this.fileList=this.BZSMBUSSFileList
|
this.fileList=this.BZSMBUSSFileList
|
||||||
break;
|
break;
|
||||||
case 'LSBBBUSS':
|
case 'LSBBBUSS':
|
||||||
this.fileList=this.LSBBBUSSFileList
|
this.fileList=this.LSBBBUSSFileList
|
||||||
break;
|
break;
|
||||||
case 'QTWJBUSS':
|
case 'QTWJBUSS':
|
||||||
this.fileList=this.QTWJBUSSFileList
|
this.fileList=this.QTWJBUSSFileList
|
||||||
break;
|
break;
|
||||||
case 'GLWJBUSS':
|
case 'GLWJBUSS':
|
||||||
this.fileList=this.GLWJBUSSFileList
|
this.fileList=this.GLWJBUSSFileList
|
||||||
break;
|
break;
|
||||||
default : ;
|
default :
|
||||||
}
|
}
|
||||||
this.fileMadel = true;
|
this.fileMadel = true;
|
||||||
|
|
||||||
@@ -1653,29 +1654,29 @@ export default {
|
|||||||
removeOneFile(file, fileList) {
|
removeOneFile(file, fileList) {
|
||||||
|
|
||||||
switch (this.fileType){
|
switch (this.fileType){
|
||||||
case 'FBGBUSS':
|
case 'FBGBUSS':
|
||||||
this.FBGBUSSFileList = fileList
|
this.FBGBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
case 'BZSMBUSS' :
|
case 'BZSMBUSS' :
|
||||||
this.BZSMBUSSFileList = fileList
|
this.BZSMBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
case 'LSBBBUSS':
|
case 'LSBBBUSS':
|
||||||
this.LSBBBUSSFileList = fileList
|
this.LSBBBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
case 'QTWJBUSS':
|
case 'QTWJBUSS':
|
||||||
this.QTWJBUSSFileList = fileList
|
this.QTWJBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
case 'GLWJBUSS':
|
case 'GLWJBUSS':
|
||||||
this.GLWJBUSSFileList = fileList
|
this.GLWJBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
default : ;
|
default :
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
popoverHideBusVs (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
popoverHideBusVs (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
||||||
if(checkedData) {
|
if(checkedData) {
|
||||||
if(checkedData.length > 0){
|
if(checkedData.length > 0){
|
||||||
this.form.VPPSBMBUSS = checkedData.map(item => item.code).join(",")
|
this.form.VPPSBMBUSS = checkedData.map(item => item.code).join(',')
|
||||||
this.form.VPPSCNBUSS = checkedData.map(item => item.chineseName).join(",")
|
this.form.VPPSCNBUSS = checkedData.map(item => item.chineseName).join(',')
|
||||||
}else {
|
}else {
|
||||||
this.form.VPPSBMBUSS = checkedData.code
|
this.form.VPPSBMBUSS = checkedData.code
|
||||||
this.form.VPPSCNBUSS = checkedData.chineseName
|
this.form.VPPSCNBUSS = checkedData.chineseName
|
||||||
@@ -1687,7 +1688,7 @@ export default {
|
|||||||
popoverHide (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
popoverHide (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
||||||
if(checkedData) {
|
if(checkedData) {
|
||||||
if(checkedData.length > 0){
|
if(checkedData.length > 0){
|
||||||
this.form.TXLBBUSS = checkedData.map(item => item.menuName).join(",")
|
this.form.TXLBBUSS = checkedData.map(item => item.menuName).join(',')
|
||||||
}else {
|
}else {
|
||||||
this.form.TXLBBUSS = checkedData.menuName
|
this.form.TXLBBUSS = checkedData.menuName
|
||||||
}
|
}
|
||||||
@@ -1701,8 +1702,8 @@ export default {
|
|||||||
popoverHideBusVs (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
popoverHideBusVs (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
||||||
if(checkedData && checkedData.length != 0) {
|
if(checkedData && checkedData.length != 0) {
|
||||||
if(checkedData.length > 0 && checkedData.length != 0){
|
if(checkedData.length > 0 && checkedData.length != 0){
|
||||||
this.form.cycvppsbm = checkedData.map(item => item.code).join(",")
|
this.form.cycvppsbm = checkedData.map(item => item.code).join(',')
|
||||||
this.form.cycvppscn = checkedData.map(item => item.chineseName).join(",")
|
this.form.cycvppscn = checkedData.map(item => item.chineseName).join(',')
|
||||||
}else {
|
}else {
|
||||||
this.form.cycvppsbm = checkedData.code
|
this.form.cycvppsbm = checkedData.code
|
||||||
this.form.cycvppscn = checkedData.chineseName
|
this.form.cycvppscn = checkedData.chineseName
|
||||||
@@ -1717,8 +1718,8 @@ export default {
|
|||||||
popoverHideCarVs (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
popoverHideCarVs (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
||||||
if(checkedData && checkedData.length != 0) {
|
if(checkedData && checkedData.length != 0) {
|
||||||
if(checkedData.length > 0){
|
if(checkedData.length > 0){
|
||||||
this.form.kccvppsbm = checkedData.map(item => item.code).join(",")
|
this.form.kccvppsbm = checkedData.map(item => item.code).join(',')
|
||||||
this.form.kccvppscn = checkedData.map(item => item.chineseName).join(",")
|
this.form.kccvppscn = checkedData.map(item => item.chineseName).join(',')
|
||||||
}else {
|
}else {
|
||||||
this.form.kccvppsbm = checkedData.code
|
this.form.kccvppsbm = checkedData.code
|
||||||
this.form.kccvppscn = checkedData.chineseName
|
this.form.kccvppscn = checkedData.chineseName
|
||||||
@@ -1733,8 +1734,8 @@ export default {
|
|||||||
popoverHideModel (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
popoverHideModel (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
||||||
if(checkedData && checkedData.length != 0) {
|
if(checkedData && checkedData.length != 0) {
|
||||||
if(checkedData.length > 0){
|
if(checkedData.length > 0){
|
||||||
this.form.dybxh = checkedData.map(item => item.model).join(",")
|
this.form.dybxh = checkedData.map(item => item.model).join(',')
|
||||||
this.form.dymc = checkedData.map(item => item.name).join(",")
|
this.form.dymc = checkedData.map(item => item.name).join(',')
|
||||||
}else {
|
}else {
|
||||||
this.form.dybxh = checkedData.model
|
this.form.dybxh = checkedData.model
|
||||||
this.form.dymc = checkedData.name
|
this.form.dymc = checkedData.name
|
||||||
@@ -1751,7 +1752,7 @@ export default {
|
|||||||
},
|
},
|
||||||
OkDrawer() {
|
OkDrawer() {
|
||||||
this.ListModel = false
|
this.ListModel = false
|
||||||
var item = {
|
const item = {
|
||||||
remarks: '123'
|
remarks: '123'
|
||||||
}
|
}
|
||||||
this.data.push(item)
|
this.data.push(item)
|
||||||
@@ -1771,7 +1772,7 @@ export default {
|
|||||||
// }
|
// }
|
||||||
|
|
||||||
this.saveLoading = true
|
this.saveLoading = true
|
||||||
let _formData = new FormData()
|
const _formData = new FormData()
|
||||||
// _formData.append('id', this.bpnId)
|
// _formData.append('id', this.bpnId)
|
||||||
_formData.append('createUser', this.$store.getters.userInfo.account)
|
_formData.append('createUser', this.$store.getters.userInfo.account)
|
||||||
_formData.append('createUserName', this.$store.getters.userInfo.uName)
|
_formData.append('createUserName', this.$store.getters.userInfo.uName)
|
||||||
@@ -1800,20 +1801,20 @@ export default {
|
|||||||
fileInfoHandle(){
|
fileInfoHandle(){
|
||||||
|
|
||||||
//拼接文件名和id 提交到流程Activity
|
//拼接文件名和id 提交到流程Activity
|
||||||
this.form.FBGBUSS=this.FBGBUSSFileList.map(item => item.response.data.id).join(",")
|
this.form.FBGBUSS=this.FBGBUSSFileList.map(item => item.response.data.id).join(',')
|
||||||
this.form.FBGBUSSName=this.FBGBUSSFileList.map(item => item.name).join(",")
|
this.form.FBGBUSSName=this.FBGBUSSFileList.map(item => item.name).join(',')
|
||||||
|
|
||||||
this.form.BZSMBUSS=this.BZSMBUSSFileList.map(item => item.response.data.id).join(",")
|
this.form.BZSMBUSS=this.BZSMBUSSFileList.map(item => item.response.data.id).join(',')
|
||||||
this.form.BZSMBUSSName=this.BZSMBUSSFileList.map(item => item.name).join(",")
|
this.form.BZSMBUSSName=this.BZSMBUSSFileList.map(item => item.name).join(',')
|
||||||
|
|
||||||
this.form.LSBBBUSS=this.LSBBBUSSFileList.map(item => item.response.data.id).join(",")
|
this.form.LSBBBUSS=this.LSBBBUSSFileList.map(item => item.response.data.id).join(',')
|
||||||
this.form.LSBBBUSSName=this.LSBBBUSSFileList.map(item => item.name).join(",")
|
this.form.LSBBBUSSName=this.LSBBBUSSFileList.map(item => item.name).join(',')
|
||||||
|
|
||||||
this.form.QTWJBUSS=this.QTWJBUSSFileList.map(item => item.response.data.id).join(",")
|
this.form.QTWJBUSS=this.QTWJBUSSFileList.map(item => item.response.data.id).join(',')
|
||||||
this.form.QTWJBUSSName=this.QTWJBUSSFileList.map(item => item.name).join(",")
|
this.form.QTWJBUSSName=this.QTWJBUSSFileList.map(item => item.name).join(',')
|
||||||
|
|
||||||
this.form.GLWJBUSS=this.GLWJBUSSFileList.map(item => item.response.data.id).join(",")
|
this.form.GLWJBUSS=this.GLWJBUSSFileList.map(item => item.response.data.id).join(',')
|
||||||
this.form.GLWJBUSSName=this.GLWJBUSSFileList.map(item => item.name).join(",")
|
this.form.GLWJBUSSName=this.GLWJBUSSFileList.map(item => item.name).join(',')
|
||||||
|
|
||||||
},
|
},
|
||||||
// 删除方法
|
// 删除方法
|
||||||
@@ -1833,7 +1834,7 @@ export default {
|
|||||||
return data
|
return data
|
||||||
},
|
},
|
||||||
changeRestTree(val) {
|
changeRestTree(val) {
|
||||||
let arr = [];
|
const arr = [];
|
||||||
if (val.length !== 0) {
|
if (val.length !== 0) {
|
||||||
val.forEach(item => {
|
val.forEach(item => {
|
||||||
if (item.children.length >= 1) {
|
if (item.children.length >= 1) {
|
||||||
@@ -1841,7 +1842,7 @@ export default {
|
|||||||
}
|
}
|
||||||
if(item.pid === '0'){
|
if(item.pid === '0'){
|
||||||
item.id = arr.length + 1,
|
item.id = arr.length + 1,
|
||||||
item.modelNum = arr.length + 1+''
|
item.modelNum = arr.length + 1+''
|
||||||
item.orderNum = arr.length + 1 // orderNum为新创建行的索引
|
item.orderNum = arr.length + 1 // orderNum为新创建行的索引
|
||||||
item.modelIndex = arr.length
|
item.modelIndex = arr.length
|
||||||
}else {
|
}else {
|
||||||
@@ -1858,19 +1859,19 @@ export default {
|
|||||||
return arr;
|
return arr;
|
||||||
},
|
},
|
||||||
changeTree(val) {
|
changeTree(val) {
|
||||||
let arr = [];
|
const arr = [];
|
||||||
this.modelDataNameVerify = []
|
this.modelDataNameVerify = []
|
||||||
this.modelDataZrUserVerify = []
|
this.modelDataZrUserVerify = []
|
||||||
if (val.length !== 0) {
|
if (val.length !== 0) {
|
||||||
val.forEach(item => {
|
val.forEach(item => {
|
||||||
let obj = {};
|
const obj = {};
|
||||||
obj.modelName = item.modelName;
|
obj.modelName = item.modelName;
|
||||||
obj.zrUserIdName = item.zrUserIdName;
|
obj.zrUserIdName = item.zrUserIdName;
|
||||||
if(!obj.modelName || obj.modelName === ''){
|
if(!obj.modelName || obj.modelName === ''){
|
||||||
this.modelDataNameVerify.push("1")
|
this.modelDataNameVerify.push('1')
|
||||||
}
|
}
|
||||||
if(item.pid === '0' && (!obj.zrUserIdName || obj.zrUserIdName === '')){
|
if(item.pid === '0' && (!obj.zrUserIdName || obj.zrUserIdName === '')){
|
||||||
this.modelDataZrUserVerify.push("1")
|
this.modelDataZrUserVerify.push('1')
|
||||||
}
|
}
|
||||||
if (item.children.length >= 1) {
|
if (item.children.length >= 1) {
|
||||||
item.children = this.changeTree(item.children);
|
item.children = this.changeTree(item.children);
|
||||||
@@ -1930,13 +1931,14 @@ export default {
|
|||||||
if (res.success) {
|
if (res.success) {
|
||||||
// 流程提交之后,应该流转至待办任务页面
|
// 流程提交之后,应该流转至待办任务页面
|
||||||
if(this.formTongGuo.approvalOpinion === '1'){
|
if(this.formTongGuo.approvalOpinion === '1'){
|
||||||
this.$message.warning("驳回成功")
|
this.$message.warning('驳回成功')
|
||||||
}else{
|
}else{
|
||||||
this.$message.success(res.message)
|
this.$message.success(res.message)
|
||||||
// this.processCreateLaws(json)
|
// this.processCreateLaws(json)
|
||||||
}
|
}
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// 流程提交之后,应该流转至待办任务页面
|
// 流程提交之后,应该流转至待办任务页面
|
||||||
// this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
// this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
||||||
}else {
|
}else {
|
||||||
@@ -1991,16 +1993,16 @@ export default {
|
|||||||
if(obj instanceof Array){
|
if(obj instanceof Array){
|
||||||
return obj;
|
return obj;
|
||||||
}else {
|
}else {
|
||||||
return obj.split(",")
|
return obj.split(',')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return "";
|
return '';
|
||||||
},
|
},
|
||||||
assemble(ids,names){
|
assemble(ids,names){
|
||||||
let list= new Array();
|
const list= new Array();
|
||||||
if(ids && ids !== '' && names && names !== ''){
|
if(ids && ids !== '' && names && names !== ''){
|
||||||
let idArray=ids.split(',');
|
const idArray=ids.split(',');
|
||||||
let nameArray=names.split(',');
|
const nameArray=names.split(',');
|
||||||
for(let i=0; i<idArray.length; i++){
|
for(let i=0; i<idArray.length; i++){
|
||||||
list.push({id:idArray[i],name:nameArray[i]});
|
list.push({id:idArray[i],name:nameArray[i]});
|
||||||
}
|
}
|
||||||
@@ -2037,12 +2039,12 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
processTable () {
|
processTable () {
|
||||||
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,
|
||||||
sortWord: this.shunxu ? this.paixu : "",
|
sortWord: this.shunxu ? this.paixu : '',
|
||||||
shunxu: this.shunxu
|
shunxu: this.shunxu
|
||||||
}, {
|
}, {
|
||||||
loading: "loading",
|
loading: 'loading',
|
||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
this.detailData = res
|
this.detailData = res
|
||||||
|
|||||||
@@ -235,27 +235,27 @@
|
|||||||
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
||||||
import ProcessFooter from '../../components/ProcessFooter'
|
import ProcessFooter from '../../components/ProcessFooter'
|
||||||
import ProcessTitle from '../../components/ProcessTitle'
|
import ProcessTitle from '../../components/ProcessTitle'
|
||||||
import formList from "process/phone/qbrk-product/common/formList";
|
import formList from 'process/phone/qbrk-product/common/formList';
|
||||||
import {
|
import {
|
||||||
inboundLiaisonDetail,
|
inboundLiaisonDetail,
|
||||||
processCreateStand,
|
processCreateStand,
|
||||||
changeAssigneeNew,
|
changeAssigneeNew,
|
||||||
queryTaskFirst,
|
queryTaskFirst,
|
||||||
getBusStandFileByAttId, saveTaskFirst
|
getBusStandFileByAttId, saveTaskFirst
|
||||||
} from "api/process";
|
} from 'api/process';
|
||||||
import TreeSelect from '@/components/treeSelect/treeSelect.vue';
|
import TreeSelect from '@/components/treeSelect/treeSelect.vue';
|
||||||
import CusTomDataPickerGroup
|
import CusTomDataPickerGroup
|
||||||
from "@/pages/regulatoryRepository/localProductsOrProjectLibrary/components/DatePickerGroup";
|
from '@/pages/regulatoryRepository/localProductsOrProjectLibrary/components/DatePickerGroup';
|
||||||
import Vue from 'vue';
|
import Vue from 'vue';
|
||||||
import { Form } from 'vant';
|
import { Form } from 'vant';
|
||||||
import { Field } from 'vant';
|
import { Field } from 'vant';
|
||||||
import { getEvaluationIndex } from "api/businessApi";
|
import { getEvaluationIndex } from 'api/businessApi';
|
||||||
import hwh5 from '@/api/hwh5-cloudonline.js'
|
import hwh5 from '@/api/hwh5-cloudonline.js'
|
||||||
|
|
||||||
Vue.use(Form);
|
Vue.use(Form);
|
||||||
Vue.use(Field);
|
Vue.use(Field);
|
||||||
export default {
|
export default {
|
||||||
name: "phoneBussLibraryProduct12",
|
name: 'phoneBussLibraryProduct12',
|
||||||
components: {
|
components: {
|
||||||
CusTomDataPickerGroup,
|
CusTomDataPickerGroup,
|
||||||
ProcessHeaderPhone,
|
ProcessHeaderPhone,
|
||||||
@@ -685,21 +685,21 @@ export default {
|
|||||||
'form.issueTime': {
|
'form.issueTime': {
|
||||||
handler: function() {
|
handler: function() {
|
||||||
if(this.form.issueTime !== undefined && this.form.issueTime !== null && this.form.issueTime !== ''){
|
if(this.form.issueTime !== undefined && this.form.issueTime !== null && this.form.issueTime !== ''){
|
||||||
let date = new Date(this.$moment(this.form.issueTime).format('YYYY-MM-DD'))
|
const date = new Date(this.$moment(this.form.issueTime).format('YYYY-MM-DD'))
|
||||||
// const FSRQBUSS = date.getFullYear()+ 5 + '-' + date.getMonth() + '-' + date.getDate()
|
// const FSRQBUSS = date.getFullYear()+ 5 + '-' + date.getMonth() + '-' + date.getDate()
|
||||||
// this.sarBussionessStandEO["FSRQBUSS"] = FSRQBUSS
|
// this.sarBussionessStandEO["FSRQBUSS"] = FSRQBUSS
|
||||||
|
|
||||||
let year = date.getFullYear()+5;
|
const year = date.getFullYear()+5;
|
||||||
let month =(date.getMonth() + 1).toString();
|
let month =(date.getMonth() + 1).toString();
|
||||||
let day = (date.getDate()).toString();
|
let day = (date.getDate()).toString();
|
||||||
if (month.length == 1) {
|
if (month.length == 1) {
|
||||||
month = "0" + month;
|
month = '0' + month;
|
||||||
}
|
}
|
||||||
if (day.length == 1) {
|
if (day.length == 1) {
|
||||||
day = "0" + day;
|
day = '0' + day;
|
||||||
}
|
}
|
||||||
const FSRQBUSS = year + "-" + month + "-" + day;
|
const FSRQBUSS = year + '-' + month + '-' + day;
|
||||||
this.form["FSRQBUSS"] = FSRQBUSS
|
this.form['FSRQBUSS'] = FSRQBUSS
|
||||||
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -708,7 +708,7 @@ export default {
|
|||||||
handler (val) {
|
handler (val) {
|
||||||
if (val !== '' && val !== null && typeof (val) !== 'undefined') {
|
if (val !== '' && val !== null && typeof (val) !== 'undefined') {
|
||||||
if (val instanceof Array) {
|
if (val instanceof Array) {
|
||||||
this.countryArr = val.join(",");
|
this.countryArr = val.join(',');
|
||||||
} else {
|
} else {
|
||||||
this.countryArr = val
|
this.countryArr = val
|
||||||
}
|
}
|
||||||
@@ -737,8 +737,8 @@ export default {
|
|||||||
console.log('modelData.' + index + '.modelName')
|
console.log('modelData.' + index + '.modelName')
|
||||||
return 'modelData.' + index + '.modelName';
|
return 'modelData.' + index + '.modelName';
|
||||||
}else {
|
}else {
|
||||||
let propStr = "";
|
let propStr = '';
|
||||||
const indexList = row.modelIndex.split(",");
|
const indexList = row.modelIndex.split(',');
|
||||||
for (let i = 0; i < indexList.length; i++) {
|
for (let i = 0; i < indexList.length; i++) {
|
||||||
if(i === 0){
|
if(i === 0){
|
||||||
propStr += 'modelData.' + indexList[i]
|
propStr += 'modelData.' + indexList[i]
|
||||||
@@ -769,10 +769,10 @@ export default {
|
|||||||
console.log(row)
|
console.log(row)
|
||||||
console.log(this.form.modelData)
|
console.log(this.form.modelData)
|
||||||
// 模态框删除按钮
|
// 模态框删除按钮
|
||||||
this.$confirm("是否确认删除本条数据?", "提示", {
|
this.$confirm('是否确认删除本条数据?', '提示', {
|
||||||
confirmButtonText: "确定",
|
confirmButtonText: '确定',
|
||||||
cancelButtonText: "取消",
|
cancelButtonText: '取消',
|
||||||
type: "info"
|
type: 'info'
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
// 此为假删除,只是删除了模态框中当前行的数据,并没有真正删除表格数据
|
// 此为假删除,只是删除了模态框中当前行的数据,并没有真正删除表格数据
|
||||||
const ids = []
|
const ids = []
|
||||||
@@ -780,8 +780,8 @@ export default {
|
|||||||
this.form.modelData = this.changeRestTree(this.deletedId(this.form.modelData,ids))
|
this.form.modelData = this.changeRestTree(this.deletedId(this.form.modelData,ids))
|
||||||
console.log(this.form.modelData)
|
console.log(this.form.modelData)
|
||||||
this.$message({
|
this.$message({
|
||||||
message: "删除成功",
|
message: '删除成功',
|
||||||
type: "success",
|
type: 'success',
|
||||||
duration: 2000
|
duration: 2000
|
||||||
});
|
});
|
||||||
this.$forceUpdate()
|
this.$forceUpdate()
|
||||||
@@ -810,10 +810,10 @@ export default {
|
|||||||
pid: '0',
|
pid: '0',
|
||||||
modelIndex: this.form.modelData.length,
|
modelIndex: this.form.modelData.length,
|
||||||
disabled: false,
|
disabled: false,
|
||||||
modelName: "",
|
modelName: '',
|
||||||
modelContent: "",
|
modelContent: '',
|
||||||
zrUserId:"",
|
zrUserId:'',
|
||||||
zrUserIdName:"",
|
zrUserIdName:'',
|
||||||
children:[],
|
children:[],
|
||||||
};
|
};
|
||||||
this.form.modelData.push(list);
|
this.form.modelData.push(list);
|
||||||
@@ -835,10 +835,10 @@ export default {
|
|||||||
pid: row.modelNum,
|
pid: row.modelNum,
|
||||||
modelIndex: row.children.length,
|
modelIndex: row.children.length,
|
||||||
disabled: false,
|
disabled: false,
|
||||||
modelName: "",
|
modelName: '',
|
||||||
modelContent: "",
|
modelContent: '',
|
||||||
zrUserId:"",
|
zrUserId:'',
|
||||||
zrUserIdName:"",
|
zrUserIdName:'',
|
||||||
children:[],
|
children:[],
|
||||||
};
|
};
|
||||||
row.children.push(list)
|
row.children.push(list)
|
||||||
@@ -852,7 +852,7 @@ export default {
|
|||||||
const hour = d.getHours()<10 ? '0'+d.getHours() : d.getHours();//得到时
|
const hour = d.getHours()<10 ? '0'+d.getHours() : d.getHours();//得到时
|
||||||
const minute = d.getMinutes()<10 ? '0'+d.getMinutes() : d.getMinutes();//得到分
|
const minute = d.getMinutes()<10 ? '0'+d.getMinutes() : d.getMinutes();//得到分
|
||||||
const second = d.getSeconds()<10 ? '0'+d.getSeconds() : d.getSeconds();//得到秒
|
const second = d.getSeconds()<10 ? '0'+d.getSeconds() : d.getSeconds();//得到秒
|
||||||
return [year, month, day].join('-') + " " + [hour, minute, second].join(':');//格式为:YY-MM-DD hh:mm:ss(当前时间)
|
return [year, month, day].join('-') + ' ' + [hour, minute, second].join(':');//格式为:YY-MM-DD hh:mm:ss(当前时间)
|
||||||
},
|
},
|
||||||
// choiceZRRS () {
|
// choiceZRRS () {
|
||||||
// if (this.userType === 'zrUserId') {
|
// if (this.userType === 'zrUserId') {
|
||||||
@@ -910,7 +910,8 @@ export default {
|
|||||||
this.drawerModal = false
|
this.drawerModal = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
// this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
||||||
// this.processNum()
|
// this.processNum()
|
||||||
} else {
|
} else {
|
||||||
@@ -967,7 +968,7 @@ export default {
|
|||||||
bpnId: this.$route.query.bpnId
|
bpnId: this.$route.query.bpnId
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
this.verifySarStandard = this.$route.query.verifySarStandard
|
this.verifySarStandard = this.$route.query.verifySarStandard
|
||||||
let mes = JSON.parse(res.mes)
|
const mes = JSON.parse(res.mes)
|
||||||
mes.form.date = new Date(this.$moment(mes.form.date).format('YYYY-MM-DD'))
|
mes.form.date = new Date(this.$moment(mes.form.date).format('YYYY-MM-DD'))
|
||||||
this.form = mes.form
|
this.form = mes.form
|
||||||
this.roleForm = mes.roleForm
|
this.roleForm = mes.roleForm
|
||||||
@@ -1033,96 +1034,96 @@ export default {
|
|||||||
},
|
},
|
||||||
handleProcessStandardNext(status) {
|
handleProcessStandardNext(status) {
|
||||||
switch (status) {
|
switch (status) {
|
||||||
// 新增
|
// 新增
|
||||||
case 1:
|
case 1:
|
||||||
this.selectedList = []
|
this.selectedList = []
|
||||||
this.standardCheckedList = []
|
this.standardCheckedList = []
|
||||||
this.standardDrawer = false
|
this.standardDrawer = false
|
||||||
this.verifySarStandard = true
|
this.verifySarStandard = true
|
||||||
this.clearFormData(this.form)
|
this.clearFormData(this.form)
|
||||||
break
|
break
|
||||||
// 带入
|
// 带入
|
||||||
case 2:
|
case 2:
|
||||||
if (this.standardCheckedList.length === 1) {
|
if (this.standardCheckedList.length === 1) {
|
||||||
this.$http.get('lawss/sarLawsInfo/getStandInfoUpdateById', {id: this.standardCheckedList[0].id}, {
|
this.$http.get('lawss/sarLawsInfo/getStandInfoUpdateById', {id: this.standardCheckedList[0].id}, {
|
||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
if(res && res.data){
|
if(res && res.data){
|
||||||
const bringData = res.data
|
const bringData = res.data
|
||||||
|
|
||||||
const json = Object.assign(bringData, bringData.attrInfoMap);
|
const json = Object.assign(bringData, bringData.attrInfoMap);
|
||||||
this.form = JSON.parse(JSON.stringify(json))
|
this.form = JSON.parse(JSON.stringify(json))
|
||||||
this.form.TGRLAWS = JSON.parse(JSON.stringify(json)).TGRLAWS && JSON.parse(JSON.stringify(json)).TGRLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).TGRLAWS.split(',') : []
|
this.form.TGRLAWS = JSON.parse(JSON.stringify(json)).TGRLAWS && JSON.parse(JSON.stringify(json)).TGRLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).TGRLAWS.split(',') : []
|
||||||
this.form.TGDWLAWS = JSON.parse(JSON.stringify(json)).TGDWLAWS && JSON.parse(JSON.stringify(json)).TGDWLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).TGDWLAWS.split(',') : []
|
this.form.TGDWLAWS = JSON.parse(JSON.stringify(json)).TGDWLAWS && JSON.parse(JSON.stringify(json)).TGDWLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).TGDWLAWS.split(',') : []
|
||||||
this.form.NYLXLAWS = JSON.parse(JSON.stringify(json)).NYLXLAWS && JSON.parse(JSON.stringify(json)).NYLXLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).NYLXLAWS.split(',') : []
|
this.form.NYLXLAWS = JSON.parse(JSON.stringify(json)).NYLXLAWS && JSON.parse(JSON.stringify(json)).NYLXLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).NYLXLAWS.split(',') : []
|
||||||
this.form.YYRZLAWS = JSON.parse(JSON.stringify(json)).YYRZLAWS && JSON.parse(JSON.stringify(json)).YYRZLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).YYRZLAWS.split(',') : []
|
this.form.YYRZLAWS = JSON.parse(JSON.stringify(json)).YYRZLAWS && JSON.parse(JSON.stringify(json)).YYRZLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).YYRZLAWS.split(',') : []
|
||||||
this.form.ZRBMLAWS = JSON.parse(JSON.stringify(json)).ZRBMLAWS && JSON.parse(JSON.stringify(json)).ZRBMLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).ZRBMLAWS.split(',') : []
|
this.form.ZRBMLAWS = JSON.parse(JSON.stringify(json)).ZRBMLAWS && JSON.parse(JSON.stringify(json)).ZRBMLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).ZRBMLAWS.split(',') : []
|
||||||
this.form.ZRGCSLAWS = JSON.parse(JSON.stringify(json)).ZRGCSLAWS && JSON.parse(JSON.stringify(json)).ZRGCSLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).ZRGCSLAWS.split(',') : []
|
this.form.ZRGCSLAWS = JSON.parse(JSON.stringify(json)).ZRGCSLAWS && JSON.parse(JSON.stringify(json)).ZRGCSLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).ZRGCSLAWS.split(',') : []
|
||||||
this.form.prcNum = this.prcNum
|
this.form.prcNum = this.prcNum
|
||||||
this.form.prcName = this.prcName
|
this.form.prcName = this.prcName
|
||||||
this.form['id'] = bringData.id
|
this.form['id'] = bringData.id
|
||||||
this.standardDrawer = false
|
this.standardDrawer = false
|
||||||
this.verifySarStandard = true
|
this.verifySarStandard = true
|
||||||
this.busVsFunc()
|
this.busVsFunc()
|
||||||
this.modelFunc()
|
this.modelFunc()
|
||||||
this.$forceUpdate()
|
this.$forceUpdate()
|
||||||
|
}
|
||||||
|
// 遍历对象初始化文件信息
|
||||||
|
for(const p in this.form) {
|
||||||
|
if (typeof (this.form[p ]) != 'function') {
|
||||||
|
this.initializeFileList(p,this.form[p]);
|
||||||
}
|
}
|
||||||
// 遍历对象初始化文件信息
|
}
|
||||||
for(const p in this.form) {
|
console.log('res',res);
|
||||||
if (typeof (this.form[p ]) != "function") {
|
})
|
||||||
this.initializeFileList(p,this.form[p]);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
console.log("res",res);
|
|
||||||
})
|
|
||||||
|
|
||||||
} else if (this.standardCheckedList.length > 1) {
|
} else if (this.standardCheckedList.length > 1) {
|
||||||
this.$message.warning('最多可以带入一条政策信息')
|
this.$message.warning('最多可以带入一条政策信息')
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning('请选择要带入的政策信息')
|
this.$message.warning('请选择要带入的政策信息')
|
||||||
}
|
}
|
||||||
break
|
break
|
||||||
// 取消
|
// 取消
|
||||||
case 3:
|
case 3:
|
||||||
this.selectedList = []
|
this.selectedList = []
|
||||||
this.standardCheckedList = []
|
this.standardCheckedList = []
|
||||||
this.standardDrawer = false
|
this.standardDrawer = false
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
initializeFileList(property ,value){
|
initializeFileList(property ,value){
|
||||||
switch (property){
|
switch (property){
|
||||||
case 'xgd':
|
case 'xgd':
|
||||||
this.getFileList(value,this.xgdFileList);
|
this.getFileList(value,this.xgdFileList);
|
||||||
break;
|
break;
|
||||||
case 'fbgbjbd':
|
case 'fbgbjbd':
|
||||||
this.getFileList(value,this.FBGBJBDFileList);
|
this.getFileList(value,this.FBGBJBDFileList);
|
||||||
break;
|
break;
|
||||||
case 'ssg':
|
case 'ssg':
|
||||||
this.getFileList(value,this.ssgFileList);
|
this.getFileList(value,this.ssgFileList);
|
||||||
break;
|
break;
|
||||||
case 'ca':
|
case 'ca':
|
||||||
this.getFileList(value,this.caFileList);
|
this.getFileList(value,this.caFileList);
|
||||||
break;
|
break;
|
||||||
case 'zbjbd':
|
case 'zbjbd':
|
||||||
this.getFileList(value,this.zbjbdFileList);
|
this.getFileList(value,this.zbjbdFileList);
|
||||||
break;
|
break;
|
||||||
case 'kwj':
|
case 'kwj':
|
||||||
this.getFileList(value,this.kwjFileList);
|
this.getFileList(value,this.kwjFileList);
|
||||||
break;
|
break;
|
||||||
case 'jdwj':
|
case 'jdwj':
|
||||||
this.getFileList(value,this.jdwjFileList);
|
this.getFileList(value,this.jdwjFileList);
|
||||||
break;
|
break;
|
||||||
case 'bpg':
|
case 'bpg':
|
||||||
this.getFileList(value,this.bpgFileList);
|
this.getFileList(value,this.bpgFileList);
|
||||||
break;
|
break;
|
||||||
case 'zqyjg':
|
case 'zqyjg':
|
||||||
this.getFileList(value,this.zqyjgFileList);
|
this.getFileList(value,this.zqyjgFileList);
|
||||||
break;
|
break;
|
||||||
case 'glwj':
|
case 'glwj':
|
||||||
this.getFileList(value,this.glwjFileList);
|
this.getFileList(value,this.glwjFileList);
|
||||||
break;
|
break;
|
||||||
default: ;
|
default:
|
||||||
}
|
}
|
||||||
},getFileList(fileIds,defaultFileList){
|
},getFileList(fileIds,defaultFileList){
|
||||||
|
|
||||||
@@ -1133,17 +1134,17 @@ export default {
|
|||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
|
|
||||||
let fileList = res.data
|
const fileList = res.data
|
||||||
if (fileList != null && fileList.length > 0) {
|
if (fileList != null && fileList.length > 0) {
|
||||||
for (let i = 0; i < fileList.length; i++) {
|
for (let i = 0; i < fileList.length; i++) {
|
||||||
let obj = {name: '', response: {}}
|
const obj = {name: '', response: {}}
|
||||||
obj.name = fileList[i].oldFileName
|
obj.name = fileList[i].oldFileName
|
||||||
obj.response.data = fileList[i]
|
obj.response.data = fileList[i]
|
||||||
|
|
||||||
|
|
||||||
//根据以‘,’分割的id查询到的文件信息,放入对应的文件list中
|
//根据以‘,’分割的id查询到的文件信息,放入对应的文件list中
|
||||||
defaultFileList.push(obj)
|
defaultFileList.push(obj)
|
||||||
console.log("defaultFileList",defaultFileList);
|
console.log('defaultFileList',defaultFileList);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}, e => {
|
}, e => {
|
||||||
@@ -1211,8 +1212,8 @@ export default {
|
|||||||
saveUserInfo () {
|
saveUserInfo () {
|
||||||
this.filterText = ''
|
this.filterText = ''
|
||||||
if (this.userType === 'zrUserId') {
|
if (this.userType === 'zrUserId') {
|
||||||
this.roleForm.zrUserId = this.zrUserIds.map(item => item.id).join(",")
|
this.roleForm.zrUserId = this.zrUserIds.map(item => item.id).join(',')
|
||||||
this.roleForm.zrUserName = this.zrUserIds.map(item => item.name).join(",")
|
this.roleForm.zrUserName = this.zrUserIds.map(item => item.name).join(',')
|
||||||
} else if (this.userType === 'jlUserId') {
|
} else if (this.userType === 'jlUserId') {
|
||||||
this.roleForm.jlUserId = this.roleRow.id
|
this.roleForm.jlUserId = this.roleRow.id
|
||||||
this.roleForm.jlUserName = this.roleRow.name
|
this.roleForm.jlUserName = this.roleRow.name
|
||||||
@@ -1243,7 +1244,7 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
}else {
|
}else {
|
||||||
var getlist = this.$refs.tree.getCheckedNodes().concat(this.$refs.tree.getHalfCheckedNodes());
|
const getlist = this.$refs.tree.getCheckedNodes().concat(this.$refs.tree.getHalfCheckedNodes());
|
||||||
if(getlist.length == 1) {
|
if(getlist.length == 1) {
|
||||||
this.roleRow = getlist[0]
|
this.roleRow = getlist[0]
|
||||||
}else {
|
}else {
|
||||||
@@ -1255,15 +1256,15 @@ export default {
|
|||||||
// 更多
|
// 更多
|
||||||
handleCommand (command) {
|
handleCommand (command) {
|
||||||
switch (command[2]) {
|
switch (command[2]) {
|
||||||
case '新增':
|
case '新增':
|
||||||
this.createChildRow(command[0],command[1])
|
this.createChildRow(command[0],command[1])
|
||||||
break
|
break
|
||||||
case '维护':
|
case '维护':
|
||||||
command[1].disabled = false
|
command[1].disabled = false
|
||||||
break
|
break
|
||||||
case '删除':
|
case '删除':
|
||||||
this.handleDelete(command[0],command[1])
|
this.handleDelete(command[0],command[1])
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
choiceZRRList (type, title, id) {
|
choiceZRRList (type, title, id) {
|
||||||
@@ -1323,8 +1324,8 @@ export default {
|
|||||||
this.modalShowFlag2 = true
|
this.modalShowFlag2 = true
|
||||||
this.url = ''
|
this.url = ''
|
||||||
this.urlChild = ''
|
this.urlChild = ''
|
||||||
this.url="sarVppsTree/list"
|
this.url='sarVppsTree/list'
|
||||||
this.urlChild="sarVppsTree/childByList"
|
this.urlChild='sarVppsTree/childByList'
|
||||||
this.key1++
|
this.key1++
|
||||||
},
|
},
|
||||||
choiceZRR3 (type, title, id) {
|
choiceZRR3 (type, title, id) {
|
||||||
@@ -1332,8 +1333,8 @@ export default {
|
|||||||
this.modalShowFlag3 = true
|
this.modalShowFlag3 = true
|
||||||
this.url = ''
|
this.url = ''
|
||||||
this.urlChild = ''
|
this.urlChild = ''
|
||||||
this.url="sarVppsTree/list"
|
this.url='sarVppsTree/list'
|
||||||
this.urlChild="sarVppsTree/childByList"
|
this.urlChild='sarVppsTree/childByList'
|
||||||
this.key2++
|
this.key2++
|
||||||
},
|
},
|
||||||
choiceZRR4 (type, title, id) {
|
choiceZRR4 (type, title, id) {
|
||||||
@@ -1341,8 +1342,8 @@ export default {
|
|||||||
this.modalShowFlag4 = true
|
this.modalShowFlag4 = true
|
||||||
this.url = ''
|
this.url = ''
|
||||||
this.urlChild = ''
|
this.urlChild = ''
|
||||||
this.url="sarModelTree/list"
|
this.url='sarModelTree/list'
|
||||||
this.urlChild="sarModelTree/childByList"
|
this.urlChild='sarModelTree/childByList'
|
||||||
this.key3++
|
this.key3++
|
||||||
},
|
},
|
||||||
getTree () {
|
getTree () {
|
||||||
@@ -1462,7 +1463,7 @@ export default {
|
|||||||
},
|
},
|
||||||
// 点击查看
|
// 点击查看
|
||||||
handlePreview (item) {
|
handlePreview (item) {
|
||||||
let routeUrl = this.$router.resolve({
|
const routeUrl = this.$router.resolve({
|
||||||
name: 'OtherLawsStandDetails',
|
name: 'OtherLawsStandDetails',
|
||||||
params: {
|
params: {
|
||||||
id: item.id,
|
id: item.id,
|
||||||
@@ -1520,10 +1521,10 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
beginImportFile (file) {
|
beginImportFile (file) {
|
||||||
var filename = file.name
|
const filename = file.name
|
||||||
var index1 = filename.lastIndexOf('.')
|
const index1 = filename.lastIndexOf('.')
|
||||||
var index2 = filename.length
|
const index2 = filename.length
|
||||||
var fileSuffix = filename.substring(index1, index2)
|
const fileSuffix = filename.substring(index1, index2)
|
||||||
// const fileSuffix = file.name.split('.')[1] // 后缀名
|
// const fileSuffix = file.name.split('.')[1] // 后缀名
|
||||||
// 判断上传文件格式
|
// 判断上传文件格式
|
||||||
if (fileSuffix === '.pdf' || fileSuffix === '.PDF' || fileSuffix === '.ppt'|| fileSuffix === '.PPT' || fileSuffix === '.pptx'|| fileSuffix === '.PPTX'|| fileSuffix === '.doc' || fileSuffix === '.DOC' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.zip' || fileSuffix === '.xls' || fileSuffix === '.xlsx') {
|
if (fileSuffix === '.pdf' || fileSuffix === '.PDF' || fileSuffix === '.ppt'|| fileSuffix === '.PPT' || fileSuffix === '.pptx'|| fileSuffix === '.PPTX'|| fileSuffix === '.doc' || fileSuffix === '.DOC' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.zip' || fileSuffix === '.xls' || fileSuffix === '.xlsx') {
|
||||||
@@ -1581,9 +1582,9 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}).catch(e => {
|
}).catch(e => {
|
||||||
console.log(e)
|
console.log(e)
|
||||||
this.$message.warning('文件不存在,预览失败')
|
this.$message.warning('文件不存在,预览失败')
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 导入标准数据成功后执行
|
// 导入标准数据成功后执行
|
||||||
@@ -1595,22 +1596,22 @@ export default {
|
|||||||
if (response.ok) {
|
if (response.ok) {
|
||||||
|
|
||||||
switch (this.fileType){
|
switch (this.fileType){
|
||||||
case 'FBGBUSS':
|
case 'FBGBUSS':
|
||||||
this.FBGBUSSFileList = fileList
|
this.FBGBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
case 'BZSMBUSS' :
|
case 'BZSMBUSS' :
|
||||||
this.BZSMBUSSFileList = fileList
|
this.BZSMBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
case 'LSBBBUSS':
|
case 'LSBBBUSS':
|
||||||
this.LSBBBUSSFileList = fileList
|
this.LSBBBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
case 'GLWJLAWS':
|
case 'GLWJLAWS':
|
||||||
this.QTWJBUSSFileList = fileList
|
this.QTWJBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
case 'GLWJBUSS':
|
case 'GLWJBUSS':
|
||||||
this.GLWJBUSSFileList = fileList
|
this.GLWJBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
default : ;
|
default :
|
||||||
}
|
}
|
||||||
this.$message({
|
this.$message({
|
||||||
// showClose: true,
|
// showClose: true,
|
||||||
@@ -1630,22 +1631,22 @@ export default {
|
|||||||
this.fileType = type;
|
this.fileType = type;
|
||||||
|
|
||||||
switch (this.fileType){
|
switch (this.fileType){
|
||||||
case 'FBGBUSS':
|
case 'FBGBUSS':
|
||||||
this.fileList=this.FBGBUSSFileList
|
this.fileList=this.FBGBUSSFileList
|
||||||
break;
|
break;
|
||||||
case 'BZSMBUSS' :
|
case 'BZSMBUSS' :
|
||||||
this.fileList=this.BZSMBUSSFileList
|
this.fileList=this.BZSMBUSSFileList
|
||||||
break;
|
break;
|
||||||
case 'LSBBBUSS':
|
case 'LSBBBUSS':
|
||||||
this.fileList=this.LSBBBUSSFileList
|
this.fileList=this.LSBBBUSSFileList
|
||||||
break;
|
break;
|
||||||
case 'QTWJBUSS':
|
case 'QTWJBUSS':
|
||||||
this.fileList=this.QTWJBUSSFileList
|
this.fileList=this.QTWJBUSSFileList
|
||||||
break;
|
break;
|
||||||
case 'GLWJBUSS':
|
case 'GLWJBUSS':
|
||||||
this.fileList=this.GLWJBUSSFileList
|
this.fileList=this.GLWJBUSSFileList
|
||||||
break;
|
break;
|
||||||
default : ;
|
default :
|
||||||
}
|
}
|
||||||
this.fileMadel = true;
|
this.fileMadel = true;
|
||||||
|
|
||||||
@@ -1653,29 +1654,29 @@ export default {
|
|||||||
removeOneFile(file, fileList) {
|
removeOneFile(file, fileList) {
|
||||||
|
|
||||||
switch (this.fileType){
|
switch (this.fileType){
|
||||||
case 'FBGBUSS':
|
case 'FBGBUSS':
|
||||||
this.FBGBUSSFileList = fileList
|
this.FBGBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
case 'BZSMBUSS' :
|
case 'BZSMBUSS' :
|
||||||
this.BZSMBUSSFileList = fileList
|
this.BZSMBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
case 'LSBBBUSS':
|
case 'LSBBBUSS':
|
||||||
this.LSBBBUSSFileList = fileList
|
this.LSBBBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
case 'QTWJBUSS':
|
case 'QTWJBUSS':
|
||||||
this.QTWJBUSSFileList = fileList
|
this.QTWJBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
case 'GLWJBUSS':
|
case 'GLWJBUSS':
|
||||||
this.GLWJBUSSFileList = fileList
|
this.GLWJBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
default : ;
|
default :
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
popoverHideBusVs (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
popoverHideBusVs (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
||||||
if(checkedData) {
|
if(checkedData) {
|
||||||
if(checkedData.length > 0){
|
if(checkedData.length > 0){
|
||||||
this.form.VPPSBMBUSS = checkedData.map(item => item.code).join(",")
|
this.form.VPPSBMBUSS = checkedData.map(item => item.code).join(',')
|
||||||
this.form.VPPSCNBUSS = checkedData.map(item => item.chineseName).join(",")
|
this.form.VPPSCNBUSS = checkedData.map(item => item.chineseName).join(',')
|
||||||
}else {
|
}else {
|
||||||
this.form.VPPSBMBUSS = checkedData.code
|
this.form.VPPSBMBUSS = checkedData.code
|
||||||
this.form.VPPSCNBUSS = checkedData.chineseName
|
this.form.VPPSCNBUSS = checkedData.chineseName
|
||||||
@@ -1687,7 +1688,7 @@ export default {
|
|||||||
popoverHide (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
popoverHide (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
||||||
if(checkedData) {
|
if(checkedData) {
|
||||||
if(checkedData.length > 0){
|
if(checkedData.length > 0){
|
||||||
this.form.TXLBBUSS = checkedData.map(item => item.menuName).join(",")
|
this.form.TXLBBUSS = checkedData.map(item => item.menuName).join(',')
|
||||||
}else {
|
}else {
|
||||||
this.form.TXLBBUSS = checkedData.menuName
|
this.form.TXLBBUSS = checkedData.menuName
|
||||||
}
|
}
|
||||||
@@ -1701,8 +1702,8 @@ export default {
|
|||||||
popoverHideBusVs (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
popoverHideBusVs (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
||||||
if(checkedData && checkedData.length != 0) {
|
if(checkedData && checkedData.length != 0) {
|
||||||
if(checkedData.length > 0 && checkedData.length != 0){
|
if(checkedData.length > 0 && checkedData.length != 0){
|
||||||
this.form.cycvppsbm = checkedData.map(item => item.code).join(",")
|
this.form.cycvppsbm = checkedData.map(item => item.code).join(',')
|
||||||
this.form.cycvppscn = checkedData.map(item => item.chineseName).join(",")
|
this.form.cycvppscn = checkedData.map(item => item.chineseName).join(',')
|
||||||
}else {
|
}else {
|
||||||
this.form.cycvppsbm = checkedData.code
|
this.form.cycvppsbm = checkedData.code
|
||||||
this.form.cycvppscn = checkedData.chineseName
|
this.form.cycvppscn = checkedData.chineseName
|
||||||
@@ -1717,8 +1718,8 @@ export default {
|
|||||||
popoverHideCarVs (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
popoverHideCarVs (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
||||||
if(checkedData && checkedData.length != 0) {
|
if(checkedData && checkedData.length != 0) {
|
||||||
if(checkedData.length > 0){
|
if(checkedData.length > 0){
|
||||||
this.form.kccvppsbm = checkedData.map(item => item.code).join(",")
|
this.form.kccvppsbm = checkedData.map(item => item.code).join(',')
|
||||||
this.form.kccvppscn = checkedData.map(item => item.chineseName).join(",")
|
this.form.kccvppscn = checkedData.map(item => item.chineseName).join(',')
|
||||||
}else {
|
}else {
|
||||||
this.form.kccvppsbm = checkedData.code
|
this.form.kccvppsbm = checkedData.code
|
||||||
this.form.kccvppscn = checkedData.chineseName
|
this.form.kccvppscn = checkedData.chineseName
|
||||||
@@ -1733,8 +1734,8 @@ export default {
|
|||||||
popoverHideModel (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
popoverHideModel (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
||||||
if(checkedData && checkedData.length != 0) {
|
if(checkedData && checkedData.length != 0) {
|
||||||
if(checkedData.length > 0){
|
if(checkedData.length > 0){
|
||||||
this.form.dybxh = checkedData.map(item => item.model).join(",")
|
this.form.dybxh = checkedData.map(item => item.model).join(',')
|
||||||
this.form.dymc = checkedData.map(item => item.name).join(",")
|
this.form.dymc = checkedData.map(item => item.name).join(',')
|
||||||
}else {
|
}else {
|
||||||
this.form.dybxh = checkedData.model
|
this.form.dybxh = checkedData.model
|
||||||
this.form.dymc = checkedData.name
|
this.form.dymc = checkedData.name
|
||||||
@@ -1751,7 +1752,7 @@ export default {
|
|||||||
},
|
},
|
||||||
OkDrawer() {
|
OkDrawer() {
|
||||||
this.ListModel = false
|
this.ListModel = false
|
||||||
var item = {
|
const item = {
|
||||||
remarks: '123'
|
remarks: '123'
|
||||||
}
|
}
|
||||||
this.data.push(item)
|
this.data.push(item)
|
||||||
@@ -1771,7 +1772,7 @@ export default {
|
|||||||
// }
|
// }
|
||||||
|
|
||||||
this.saveLoading = true
|
this.saveLoading = true
|
||||||
let _formData = new FormData()
|
const _formData = new FormData()
|
||||||
// _formData.append('id', this.bpnId)
|
// _formData.append('id', this.bpnId)
|
||||||
_formData.append('createUser', this.$store.getters.userInfo.account)
|
_formData.append('createUser', this.$store.getters.userInfo.account)
|
||||||
_formData.append('createUserName', this.$store.getters.userInfo.uName)
|
_formData.append('createUserName', this.$store.getters.userInfo.uName)
|
||||||
@@ -1800,20 +1801,20 @@ export default {
|
|||||||
fileInfoHandle(){
|
fileInfoHandle(){
|
||||||
|
|
||||||
//拼接文件名和id 提交到流程Activity
|
//拼接文件名和id 提交到流程Activity
|
||||||
this.form.FBGBUSS=this.FBGBUSSFileList.map(item => item.response.data.id).join(",")
|
this.form.FBGBUSS=this.FBGBUSSFileList.map(item => item.response.data.id).join(',')
|
||||||
this.form.FBGBUSSName=this.FBGBUSSFileList.map(item => item.name).join(",")
|
this.form.FBGBUSSName=this.FBGBUSSFileList.map(item => item.name).join(',')
|
||||||
|
|
||||||
this.form.BZSMBUSS=this.BZSMBUSSFileList.map(item => item.response.data.id).join(",")
|
this.form.BZSMBUSS=this.BZSMBUSSFileList.map(item => item.response.data.id).join(',')
|
||||||
this.form.BZSMBUSSName=this.BZSMBUSSFileList.map(item => item.name).join(",")
|
this.form.BZSMBUSSName=this.BZSMBUSSFileList.map(item => item.name).join(',')
|
||||||
|
|
||||||
this.form.LSBBBUSS=this.LSBBBUSSFileList.map(item => item.response.data.id).join(",")
|
this.form.LSBBBUSS=this.LSBBBUSSFileList.map(item => item.response.data.id).join(',')
|
||||||
this.form.LSBBBUSSName=this.LSBBBUSSFileList.map(item => item.name).join(",")
|
this.form.LSBBBUSSName=this.LSBBBUSSFileList.map(item => item.name).join(',')
|
||||||
|
|
||||||
this.form.QTWJBUSS=this.QTWJBUSSFileList.map(item => item.response.data.id).join(",")
|
this.form.QTWJBUSS=this.QTWJBUSSFileList.map(item => item.response.data.id).join(',')
|
||||||
this.form.QTWJBUSSName=this.QTWJBUSSFileList.map(item => item.name).join(",")
|
this.form.QTWJBUSSName=this.QTWJBUSSFileList.map(item => item.name).join(',')
|
||||||
|
|
||||||
this.form.GLWJBUSS=this.GLWJBUSSFileList.map(item => item.response.data.id).join(",")
|
this.form.GLWJBUSS=this.GLWJBUSSFileList.map(item => item.response.data.id).join(',')
|
||||||
this.form.GLWJBUSSName=this.GLWJBUSSFileList.map(item => item.name).join(",")
|
this.form.GLWJBUSSName=this.GLWJBUSSFileList.map(item => item.name).join(',')
|
||||||
|
|
||||||
},
|
},
|
||||||
// 删除方法
|
// 删除方法
|
||||||
@@ -1833,7 +1834,7 @@ export default {
|
|||||||
return data
|
return data
|
||||||
},
|
},
|
||||||
changeRestTree(val) {
|
changeRestTree(val) {
|
||||||
let arr = [];
|
const arr = [];
|
||||||
if (val.length !== 0) {
|
if (val.length !== 0) {
|
||||||
val.forEach(item => {
|
val.forEach(item => {
|
||||||
if (item.children.length >= 1) {
|
if (item.children.length >= 1) {
|
||||||
@@ -1841,7 +1842,7 @@ export default {
|
|||||||
}
|
}
|
||||||
if(item.pid === '0'){
|
if(item.pid === '0'){
|
||||||
item.id = arr.length + 1,
|
item.id = arr.length + 1,
|
||||||
item.modelNum = arr.length + 1+''
|
item.modelNum = arr.length + 1+''
|
||||||
item.orderNum = arr.length + 1 // orderNum为新创建行的索引
|
item.orderNum = arr.length + 1 // orderNum为新创建行的索引
|
||||||
item.modelIndex = arr.length
|
item.modelIndex = arr.length
|
||||||
}else {
|
}else {
|
||||||
@@ -1858,19 +1859,19 @@ export default {
|
|||||||
return arr;
|
return arr;
|
||||||
},
|
},
|
||||||
changeTree(val) {
|
changeTree(val) {
|
||||||
let arr = [];
|
const arr = [];
|
||||||
this.modelDataNameVerify = []
|
this.modelDataNameVerify = []
|
||||||
this.modelDataZrUserVerify = []
|
this.modelDataZrUserVerify = []
|
||||||
if (val.length !== 0) {
|
if (val.length !== 0) {
|
||||||
val.forEach(item => {
|
val.forEach(item => {
|
||||||
let obj = {};
|
const obj = {};
|
||||||
obj.modelName = item.modelName;
|
obj.modelName = item.modelName;
|
||||||
obj.zrUserIdName = item.zrUserIdName;
|
obj.zrUserIdName = item.zrUserIdName;
|
||||||
if(!obj.modelName || obj.modelName === ''){
|
if(!obj.modelName || obj.modelName === ''){
|
||||||
this.modelDataNameVerify.push("1")
|
this.modelDataNameVerify.push('1')
|
||||||
}
|
}
|
||||||
if(item.pid === '0' && (!obj.zrUserIdName || obj.zrUserIdName === '')){
|
if(item.pid === '0' && (!obj.zrUserIdName || obj.zrUserIdName === '')){
|
||||||
this.modelDataZrUserVerify.push("1")
|
this.modelDataZrUserVerify.push('1')
|
||||||
}
|
}
|
||||||
if (item.children.length >= 1) {
|
if (item.children.length >= 1) {
|
||||||
item.children = this.changeTree(item.children);
|
item.children = this.changeTree(item.children);
|
||||||
@@ -1930,13 +1931,14 @@ export default {
|
|||||||
if (res.success) {
|
if (res.success) {
|
||||||
// 流程提交之后,应该流转至待办任务页面
|
// 流程提交之后,应该流转至待办任务页面
|
||||||
if(this.formTongGuo.approvalOpinion === '1'){
|
if(this.formTongGuo.approvalOpinion === '1'){
|
||||||
this.$message.warning("驳回成功")
|
this.$message.warning('驳回成功')
|
||||||
}else{
|
}else{
|
||||||
this.$message.success(res.message)
|
this.$message.success(res.message)
|
||||||
// this.processCreateLaws(json)
|
// this.processCreateLaws(json)
|
||||||
}
|
}
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// 流程提交之后,应该流转至待办任务页面
|
// 流程提交之后,应该流转至待办任务页面
|
||||||
// this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
// this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
||||||
}else {
|
}else {
|
||||||
@@ -1991,16 +1993,16 @@ export default {
|
|||||||
if(obj instanceof Array){
|
if(obj instanceof Array){
|
||||||
return obj;
|
return obj;
|
||||||
}else {
|
}else {
|
||||||
return obj.split(",")
|
return obj.split(',')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return "";
|
return '';
|
||||||
},
|
},
|
||||||
assemble(ids,names){
|
assemble(ids,names){
|
||||||
let list= new Array();
|
const list= new Array();
|
||||||
if(ids && ids !== '' && names && names !== ''){
|
if(ids && ids !== '' && names && names !== ''){
|
||||||
let idArray=ids.split(',');
|
const idArray=ids.split(',');
|
||||||
let nameArray=names.split(',');
|
const nameArray=names.split(',');
|
||||||
for(let i=0; i<idArray.length; i++){
|
for(let i=0; i<idArray.length; i++){
|
||||||
list.push({id:idArray[i],name:nameArray[i]});
|
list.push({id:idArray[i],name:nameArray[i]});
|
||||||
}
|
}
|
||||||
@@ -2037,12 +2039,12 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
processTable () {
|
processTable () {
|
||||||
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,
|
||||||
sortWord: this.shunxu ? this.paixu : "",
|
sortWord: this.shunxu ? this.paixu : '',
|
||||||
shunxu: this.shunxu
|
shunxu: this.shunxu
|
||||||
}, {
|
}, {
|
||||||
loading: "loading",
|
loading: 'loading',
|
||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
this.detailData = res
|
this.detailData = res
|
||||||
|
|||||||
@@ -158,7 +158,8 @@ export default {
|
|||||||
this.drawerModal = false
|
this.drawerModal = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
}, 100)
|
}, 100)
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
|||||||
@@ -164,7 +164,8 @@ export default {
|
|||||||
this.drawerModal = false
|
this.drawerModal = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
}, 100)
|
}, 100)
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
|||||||
@@ -233,17 +233,17 @@
|
|||||||
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
||||||
import ProcessFooter from '../../components/ProcessFooter'
|
import ProcessFooter from '../../components/ProcessFooter'
|
||||||
import ProcessTitle from '../../components/ProcessTitle'
|
import ProcessTitle from '../../components/ProcessTitle'
|
||||||
import formList from "process/phone/qbrk-product/common/formList";
|
import formList from 'process/phone/qbrk-product/common/formList';
|
||||||
import {
|
import {
|
||||||
inboundLiaisonDetail,
|
inboundLiaisonDetail,
|
||||||
processCreateStand,
|
processCreateStand,
|
||||||
changeAssigneeNew,
|
changeAssigneeNew,
|
||||||
queryTaskFirst,
|
queryTaskFirst,
|
||||||
getBusStandFileByAttId, saveTaskFirst
|
getBusStandFileByAttId, saveTaskFirst
|
||||||
} from "api/process";
|
} from 'api/process';
|
||||||
import TreeSelect from '@/components/treeSelect/treeSelect.vue';
|
import TreeSelect from '@/components/treeSelect/treeSelect.vue';
|
||||||
import CusTomDataPickerGroup
|
import CusTomDataPickerGroup
|
||||||
from "@/pages/regulatoryRepository/localProductsOrProjectLibrary/components/DatePickerGroup";
|
from '@/pages/regulatoryRepository/localProductsOrProjectLibrary/components/DatePickerGroup';
|
||||||
import Vue from 'vue';
|
import Vue from 'vue';
|
||||||
import { Form } from 'vant';
|
import { Form } from 'vant';
|
||||||
import { Field } from 'vant';
|
import { Field } from 'vant';
|
||||||
@@ -252,7 +252,7 @@ import hwh5 from '@/api/hwh5-cloudonline.js'
|
|||||||
Vue.use(Form);
|
Vue.use(Form);
|
||||||
Vue.use(Field);
|
Vue.use(Field);
|
||||||
export default {
|
export default {
|
||||||
name: "phoneBussLibraryProduct4",
|
name: 'phoneBussLibraryProduct4',
|
||||||
components: {
|
components: {
|
||||||
CusTomDataPickerGroup,
|
CusTomDataPickerGroup,
|
||||||
ProcessHeaderPhone,
|
ProcessHeaderPhone,
|
||||||
@@ -683,21 +683,21 @@ export default {
|
|||||||
'form.issueTime': {
|
'form.issueTime': {
|
||||||
handler: function() {
|
handler: function() {
|
||||||
if(this.form.issueTime !== undefined && this.form.issueTime !== null && this.form.issueTime !== ''){
|
if(this.form.issueTime !== undefined && this.form.issueTime !== null && this.form.issueTime !== ''){
|
||||||
let date = new Date(this.$moment(this.form.issueTime).format('YYYY-MM-DD'))
|
const date = new Date(this.$moment(this.form.issueTime).format('YYYY-MM-DD'))
|
||||||
// const FSRQBUSS = date.getFullYear()+ 5 + '-' + date.getMonth() + '-' + date.getDate()
|
// const FSRQBUSS = date.getFullYear()+ 5 + '-' + date.getMonth() + '-' + date.getDate()
|
||||||
// this.sarBussionessStandEO["FSRQBUSS"] = FSRQBUSS
|
// this.sarBussionessStandEO["FSRQBUSS"] = FSRQBUSS
|
||||||
|
|
||||||
let year = date.getFullYear()+5;
|
const year = date.getFullYear()+5;
|
||||||
let month =(date.getMonth() + 1).toString();
|
let month =(date.getMonth() + 1).toString();
|
||||||
let day = (date.getDate()).toString();
|
let day = (date.getDate()).toString();
|
||||||
if (month.length == 1) {
|
if (month.length == 1) {
|
||||||
month = "0" + month;
|
month = '0' + month;
|
||||||
}
|
}
|
||||||
if (day.length == 1) {
|
if (day.length == 1) {
|
||||||
day = "0" + day;
|
day = '0' + day;
|
||||||
}
|
}
|
||||||
const FSRQBUSS = year + "-" + month + "-" + day;
|
const FSRQBUSS = year + '-' + month + '-' + day;
|
||||||
this.form["FSRQBUSS"] = FSRQBUSS
|
this.form['FSRQBUSS'] = FSRQBUSS
|
||||||
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -706,7 +706,7 @@ export default {
|
|||||||
handler (val) {
|
handler (val) {
|
||||||
if (val !== '' && val !== null && typeof (val) !== 'undefined') {
|
if (val !== '' && val !== null && typeof (val) !== 'undefined') {
|
||||||
if (val instanceof Array) {
|
if (val instanceof Array) {
|
||||||
this.countryArr = val.join(",");
|
this.countryArr = val.join(',');
|
||||||
} else {
|
} else {
|
||||||
this.countryArr = val
|
this.countryArr = val
|
||||||
}
|
}
|
||||||
@@ -735,8 +735,8 @@ export default {
|
|||||||
console.log('modelData.' + index + '.modelName')
|
console.log('modelData.' + index + '.modelName')
|
||||||
return 'modelData.' + index + '.modelName';
|
return 'modelData.' + index + '.modelName';
|
||||||
}else {
|
}else {
|
||||||
let propStr = "";
|
let propStr = '';
|
||||||
const indexList = row.modelIndex.split(",");
|
const indexList = row.modelIndex.split(',');
|
||||||
for (let i = 0; i < indexList.length; i++) {
|
for (let i = 0; i < indexList.length; i++) {
|
||||||
if(i === 0){
|
if(i === 0){
|
||||||
propStr += 'modelData.' + indexList[i]
|
propStr += 'modelData.' + indexList[i]
|
||||||
@@ -767,10 +767,10 @@ export default {
|
|||||||
console.log(row)
|
console.log(row)
|
||||||
console.log(this.form.modelData)
|
console.log(this.form.modelData)
|
||||||
// 模态框删除按钮
|
// 模态框删除按钮
|
||||||
this.$confirm("是否确认删除本条数据?", "提示", {
|
this.$confirm('是否确认删除本条数据?', '提示', {
|
||||||
confirmButtonText: "确定",
|
confirmButtonText: '确定',
|
||||||
cancelButtonText: "取消",
|
cancelButtonText: '取消',
|
||||||
type: "info"
|
type: 'info'
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
// 此为假删除,只是删除了模态框中当前行的数据,并没有真正删除表格数据
|
// 此为假删除,只是删除了模态框中当前行的数据,并没有真正删除表格数据
|
||||||
const ids = []
|
const ids = []
|
||||||
@@ -778,8 +778,8 @@ export default {
|
|||||||
this.form.modelData = this.changeRestTree(this.deletedId(this.form.modelData,ids))
|
this.form.modelData = this.changeRestTree(this.deletedId(this.form.modelData,ids))
|
||||||
console.log(this.form.modelData)
|
console.log(this.form.modelData)
|
||||||
this.$message({
|
this.$message({
|
||||||
message: "删除成功",
|
message: '删除成功',
|
||||||
type: "success",
|
type: 'success',
|
||||||
duration: 2000
|
duration: 2000
|
||||||
});
|
});
|
||||||
this.$forceUpdate()
|
this.$forceUpdate()
|
||||||
@@ -808,10 +808,10 @@ export default {
|
|||||||
pid: '0',
|
pid: '0',
|
||||||
modelIndex: this.form.modelData.length,
|
modelIndex: this.form.modelData.length,
|
||||||
disabled: false,
|
disabled: false,
|
||||||
modelName: "",
|
modelName: '',
|
||||||
modelContent: "",
|
modelContent: '',
|
||||||
zrUserId:"",
|
zrUserId:'',
|
||||||
zrUserIdName:"",
|
zrUserIdName:'',
|
||||||
children:[],
|
children:[],
|
||||||
};
|
};
|
||||||
this.form.modelData.push(list);
|
this.form.modelData.push(list);
|
||||||
@@ -833,10 +833,10 @@ export default {
|
|||||||
pid: row.modelNum,
|
pid: row.modelNum,
|
||||||
modelIndex: row.children.length,
|
modelIndex: row.children.length,
|
||||||
disabled: false,
|
disabled: false,
|
||||||
modelName: "",
|
modelName: '',
|
||||||
modelContent: "",
|
modelContent: '',
|
||||||
zrUserId:"",
|
zrUserId:'',
|
||||||
zrUserIdName:"",
|
zrUserIdName:'',
|
||||||
children:[],
|
children:[],
|
||||||
};
|
};
|
||||||
row.children.push(list)
|
row.children.push(list)
|
||||||
@@ -850,7 +850,7 @@ export default {
|
|||||||
const hour = d.getHours()<10 ? '0'+d.getHours() : d.getHours();//得到时
|
const hour = d.getHours()<10 ? '0'+d.getHours() : d.getHours();//得到时
|
||||||
const minute = d.getMinutes()<10 ? '0'+d.getMinutes() : d.getMinutes();//得到分
|
const minute = d.getMinutes()<10 ? '0'+d.getMinutes() : d.getMinutes();//得到分
|
||||||
const second = d.getSeconds()<10 ? '0'+d.getSeconds() : d.getSeconds();//得到秒
|
const second = d.getSeconds()<10 ? '0'+d.getSeconds() : d.getSeconds();//得到秒
|
||||||
return [year, month, day].join('-') + " " + [hour, minute, second].join(':');//格式为:YY-MM-DD hh:mm:ss(当前时间)
|
return [year, month, day].join('-') + ' ' + [hour, minute, second].join(':');//格式为:YY-MM-DD hh:mm:ss(当前时间)
|
||||||
},
|
},
|
||||||
// choiceZRRS () {
|
// choiceZRRS () {
|
||||||
// if (this.userType === 'zrUserId') {
|
// if (this.userType === 'zrUserId') {
|
||||||
@@ -908,7 +908,8 @@ export default {
|
|||||||
this.drawerModal = false
|
this.drawerModal = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
// this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
||||||
// this.processNum()
|
// this.processNum()
|
||||||
} else {
|
} else {
|
||||||
@@ -965,7 +966,7 @@ export default {
|
|||||||
bpnId: this.$route.query.bpnId
|
bpnId: this.$route.query.bpnId
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
this.verifySarStandard = this.$route.query.verifySarStandard
|
this.verifySarStandard = this.$route.query.verifySarStandard
|
||||||
let mes = JSON.parse(res.mes)
|
const mes = JSON.parse(res.mes)
|
||||||
mes.form.date = new Date(this.$moment(mes.form.date).format('YYYY-MM-DD'))
|
mes.form.date = new Date(this.$moment(mes.form.date).format('YYYY-MM-DD'))
|
||||||
this.form = mes.form
|
this.form = mes.form
|
||||||
this.roleForm = mes.roleForm
|
this.roleForm = mes.roleForm
|
||||||
@@ -1031,96 +1032,96 @@ export default {
|
|||||||
},
|
},
|
||||||
handleProcessStandardNext(status) {
|
handleProcessStandardNext(status) {
|
||||||
switch (status) {
|
switch (status) {
|
||||||
// 新增
|
// 新增
|
||||||
case 1:
|
case 1:
|
||||||
this.selectedList = []
|
this.selectedList = []
|
||||||
this.standardCheckedList = []
|
this.standardCheckedList = []
|
||||||
this.standardDrawer = false
|
this.standardDrawer = false
|
||||||
this.verifySarStandard = true
|
this.verifySarStandard = true
|
||||||
this.clearFormData(this.form)
|
this.clearFormData(this.form)
|
||||||
break
|
break
|
||||||
// 带入
|
// 带入
|
||||||
case 2:
|
case 2:
|
||||||
if (this.standardCheckedList.length === 1) {
|
if (this.standardCheckedList.length === 1) {
|
||||||
this.$http.get('lawss/sarLawsInfo/getStandInfoUpdateById', {id: this.standardCheckedList[0].id}, {
|
this.$http.get('lawss/sarLawsInfo/getStandInfoUpdateById', {id: this.standardCheckedList[0].id}, {
|
||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
if(res && res.data){
|
if(res && res.data){
|
||||||
const bringData = res.data
|
const bringData = res.data
|
||||||
|
|
||||||
const json = Object.assign(bringData, bringData.attrInfoMap);
|
const json = Object.assign(bringData, bringData.attrInfoMap);
|
||||||
this.form = JSON.parse(JSON.stringify(json))
|
this.form = JSON.parse(JSON.stringify(json))
|
||||||
this.form.TGRLAWS = JSON.parse(JSON.stringify(json)).TGRLAWS && JSON.parse(JSON.stringify(json)).TGRLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).TGRLAWS.split(',') : []
|
this.form.TGRLAWS = JSON.parse(JSON.stringify(json)).TGRLAWS && JSON.parse(JSON.stringify(json)).TGRLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).TGRLAWS.split(',') : []
|
||||||
this.form.TGDWLAWS = JSON.parse(JSON.stringify(json)).TGDWLAWS && JSON.parse(JSON.stringify(json)).TGDWLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).TGDWLAWS.split(',') : []
|
this.form.TGDWLAWS = JSON.parse(JSON.stringify(json)).TGDWLAWS && JSON.parse(JSON.stringify(json)).TGDWLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).TGDWLAWS.split(',') : []
|
||||||
this.form.NYLXLAWS = JSON.parse(JSON.stringify(json)).NYLXLAWS && JSON.parse(JSON.stringify(json)).NYLXLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).NYLXLAWS.split(',') : []
|
this.form.NYLXLAWS = JSON.parse(JSON.stringify(json)).NYLXLAWS && JSON.parse(JSON.stringify(json)).NYLXLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).NYLXLAWS.split(',') : []
|
||||||
this.form.YYRZLAWS = JSON.parse(JSON.stringify(json)).YYRZLAWS && JSON.parse(JSON.stringify(json)).YYRZLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).YYRZLAWS.split(',') : []
|
this.form.YYRZLAWS = JSON.parse(JSON.stringify(json)).YYRZLAWS && JSON.parse(JSON.stringify(json)).YYRZLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).YYRZLAWS.split(',') : []
|
||||||
this.form.ZRBMLAWS = JSON.parse(JSON.stringify(json)).ZRBMLAWS && JSON.parse(JSON.stringify(json)).ZRBMLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).ZRBMLAWS.split(',') : []
|
this.form.ZRBMLAWS = JSON.parse(JSON.stringify(json)).ZRBMLAWS && JSON.parse(JSON.stringify(json)).ZRBMLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).ZRBMLAWS.split(',') : []
|
||||||
this.form.ZRGCSLAWS = JSON.parse(JSON.stringify(json)).ZRGCSLAWS && JSON.parse(JSON.stringify(json)).ZRGCSLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).ZRGCSLAWS.split(',') : []
|
this.form.ZRGCSLAWS = JSON.parse(JSON.stringify(json)).ZRGCSLAWS && JSON.parse(JSON.stringify(json)).ZRGCSLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).ZRGCSLAWS.split(',') : []
|
||||||
this.form.prcNum = this.prcNum
|
this.form.prcNum = this.prcNum
|
||||||
this.form.prcName = this.prcName
|
this.form.prcName = this.prcName
|
||||||
this.form['id'] = bringData.id
|
this.form['id'] = bringData.id
|
||||||
this.standardDrawer = false
|
this.standardDrawer = false
|
||||||
this.verifySarStandard = true
|
this.verifySarStandard = true
|
||||||
this.busVsFunc()
|
this.busVsFunc()
|
||||||
this.modelFunc()
|
this.modelFunc()
|
||||||
this.$forceUpdate()
|
this.$forceUpdate()
|
||||||
|
}
|
||||||
|
// 遍历对象初始化文件信息
|
||||||
|
for(const p in this.form) {
|
||||||
|
if (typeof (this.form[p ]) != 'function') {
|
||||||
|
this.initializeFileList(p,this.form[p]);
|
||||||
}
|
}
|
||||||
// 遍历对象初始化文件信息
|
}
|
||||||
for(const p in this.form) {
|
console.log('res',res);
|
||||||
if (typeof (this.form[p ]) != "function") {
|
})
|
||||||
this.initializeFileList(p,this.form[p]);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
console.log("res",res);
|
|
||||||
})
|
|
||||||
|
|
||||||
} else if (this.standardCheckedList.length > 1) {
|
} else if (this.standardCheckedList.length > 1) {
|
||||||
this.$message.warning('最多可以带入一条政策信息')
|
this.$message.warning('最多可以带入一条政策信息')
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning('请选择要带入的政策信息')
|
this.$message.warning('请选择要带入的政策信息')
|
||||||
}
|
}
|
||||||
break
|
break
|
||||||
// 取消
|
// 取消
|
||||||
case 3:
|
case 3:
|
||||||
this.selectedList = []
|
this.selectedList = []
|
||||||
this.standardCheckedList = []
|
this.standardCheckedList = []
|
||||||
this.standardDrawer = false
|
this.standardDrawer = false
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
initializeFileList(property ,value){
|
initializeFileList(property ,value){
|
||||||
switch (property){
|
switch (property){
|
||||||
case 'xgd':
|
case 'xgd':
|
||||||
this.getFileList(value,this.xgdFileList);
|
this.getFileList(value,this.xgdFileList);
|
||||||
break;
|
break;
|
||||||
case 'fbgbjbd':
|
case 'fbgbjbd':
|
||||||
this.getFileList(value,this.FBGBJBDFileList);
|
this.getFileList(value,this.FBGBJBDFileList);
|
||||||
break;
|
break;
|
||||||
case 'ssg':
|
case 'ssg':
|
||||||
this.getFileList(value,this.ssgFileList);
|
this.getFileList(value,this.ssgFileList);
|
||||||
break;
|
break;
|
||||||
case 'ca':
|
case 'ca':
|
||||||
this.getFileList(value,this.caFileList);
|
this.getFileList(value,this.caFileList);
|
||||||
break;
|
break;
|
||||||
case 'zbjbd':
|
case 'zbjbd':
|
||||||
this.getFileList(value,this.zbjbdFileList);
|
this.getFileList(value,this.zbjbdFileList);
|
||||||
break;
|
break;
|
||||||
case 'kwj':
|
case 'kwj':
|
||||||
this.getFileList(value,this.kwjFileList);
|
this.getFileList(value,this.kwjFileList);
|
||||||
break;
|
break;
|
||||||
case 'jdwj':
|
case 'jdwj':
|
||||||
this.getFileList(value,this.jdwjFileList);
|
this.getFileList(value,this.jdwjFileList);
|
||||||
break;
|
break;
|
||||||
case 'bpg':
|
case 'bpg':
|
||||||
this.getFileList(value,this.bpgFileList);
|
this.getFileList(value,this.bpgFileList);
|
||||||
break;
|
break;
|
||||||
case 'zqyjg':
|
case 'zqyjg':
|
||||||
this.getFileList(value,this.zqyjgFileList);
|
this.getFileList(value,this.zqyjgFileList);
|
||||||
break;
|
break;
|
||||||
case 'glwj':
|
case 'glwj':
|
||||||
this.getFileList(value,this.glwjFileList);
|
this.getFileList(value,this.glwjFileList);
|
||||||
break;
|
break;
|
||||||
default: ;
|
default:
|
||||||
}
|
}
|
||||||
},getFileList(fileIds,defaultFileList){
|
},getFileList(fileIds,defaultFileList){
|
||||||
|
|
||||||
@@ -1131,17 +1132,17 @@ export default {
|
|||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
|
|
||||||
let fileList = res.data
|
const fileList = res.data
|
||||||
if (fileList != null && fileList.length > 0) {
|
if (fileList != null && fileList.length > 0) {
|
||||||
for (let i = 0; i < fileList.length; i++) {
|
for (let i = 0; i < fileList.length; i++) {
|
||||||
let obj = {name: '', response: {}}
|
const obj = {name: '', response: {}}
|
||||||
obj.name = fileList[i].oldFileName
|
obj.name = fileList[i].oldFileName
|
||||||
obj.response.data = fileList[i]
|
obj.response.data = fileList[i]
|
||||||
|
|
||||||
|
|
||||||
//根据以‘,’分割的id查询到的文件信息,放入对应的文件list中
|
//根据以‘,’分割的id查询到的文件信息,放入对应的文件list中
|
||||||
defaultFileList.push(obj)
|
defaultFileList.push(obj)
|
||||||
console.log("defaultFileList",defaultFileList);
|
console.log('defaultFileList',defaultFileList);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}, e => {
|
}, e => {
|
||||||
@@ -1209,8 +1210,8 @@ export default {
|
|||||||
saveUserInfo () {
|
saveUserInfo () {
|
||||||
this.filterText = ''
|
this.filterText = ''
|
||||||
if (this.userType === 'zrUserId') {
|
if (this.userType === 'zrUserId') {
|
||||||
this.roleForm.zrUserId = this.zrUserIds.map(item => item.id).join(",")
|
this.roleForm.zrUserId = this.zrUserIds.map(item => item.id).join(',')
|
||||||
this.roleForm.zrUserName = this.zrUserIds.map(item => item.name).join(",")
|
this.roleForm.zrUserName = this.zrUserIds.map(item => item.name).join(',')
|
||||||
} else if (this.userType === 'jlUserId') {
|
} else if (this.userType === 'jlUserId') {
|
||||||
this.roleForm.jlUserId = this.roleRow.id
|
this.roleForm.jlUserId = this.roleRow.id
|
||||||
this.roleForm.jlUserName = this.roleRow.name
|
this.roleForm.jlUserName = this.roleRow.name
|
||||||
@@ -1241,7 +1242,7 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
}else {
|
}else {
|
||||||
var getlist = this.$refs.tree.getCheckedNodes().concat(this.$refs.tree.getHalfCheckedNodes());
|
const getlist = this.$refs.tree.getCheckedNodes().concat(this.$refs.tree.getHalfCheckedNodes());
|
||||||
if(getlist.length == 1) {
|
if(getlist.length == 1) {
|
||||||
this.roleRow = getlist[0]
|
this.roleRow = getlist[0]
|
||||||
}else {
|
}else {
|
||||||
@@ -1253,15 +1254,15 @@ export default {
|
|||||||
// 更多
|
// 更多
|
||||||
handleCommand (command) {
|
handleCommand (command) {
|
||||||
switch (command[2]) {
|
switch (command[2]) {
|
||||||
case '新增':
|
case '新增':
|
||||||
this.createChildRow(command[0],command[1])
|
this.createChildRow(command[0],command[1])
|
||||||
break
|
break
|
||||||
case '维护':
|
case '维护':
|
||||||
command[1].disabled = false
|
command[1].disabled = false
|
||||||
break
|
break
|
||||||
case '删除':
|
case '删除':
|
||||||
this.handleDelete(command[0],command[1])
|
this.handleDelete(command[0],command[1])
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
choiceZRRList (type, title, id) {
|
choiceZRRList (type, title, id) {
|
||||||
@@ -1321,8 +1322,8 @@ export default {
|
|||||||
this.modalShowFlag2 = true
|
this.modalShowFlag2 = true
|
||||||
this.url = ''
|
this.url = ''
|
||||||
this.urlChild = ''
|
this.urlChild = ''
|
||||||
this.url="sarVppsTree/list"
|
this.url='sarVppsTree/list'
|
||||||
this.urlChild="sarVppsTree/childByList"
|
this.urlChild='sarVppsTree/childByList'
|
||||||
this.key1++
|
this.key1++
|
||||||
},
|
},
|
||||||
choiceZRR3 (type, title, id) {
|
choiceZRR3 (type, title, id) {
|
||||||
@@ -1330,8 +1331,8 @@ export default {
|
|||||||
this.modalShowFlag3 = true
|
this.modalShowFlag3 = true
|
||||||
this.url = ''
|
this.url = ''
|
||||||
this.urlChild = ''
|
this.urlChild = ''
|
||||||
this.url="sarVppsTree/list"
|
this.url='sarVppsTree/list'
|
||||||
this.urlChild="sarVppsTree/childByList"
|
this.urlChild='sarVppsTree/childByList'
|
||||||
this.key2++
|
this.key2++
|
||||||
},
|
},
|
||||||
choiceZRR4 (type, title, id) {
|
choiceZRR4 (type, title, id) {
|
||||||
@@ -1339,8 +1340,8 @@ export default {
|
|||||||
this.modalShowFlag4 = true
|
this.modalShowFlag4 = true
|
||||||
this.url = ''
|
this.url = ''
|
||||||
this.urlChild = ''
|
this.urlChild = ''
|
||||||
this.url="sarModelTree/list"
|
this.url='sarModelTree/list'
|
||||||
this.urlChild="sarModelTree/childByList"
|
this.urlChild='sarModelTree/childByList'
|
||||||
this.key3++
|
this.key3++
|
||||||
},
|
},
|
||||||
getTree () {
|
getTree () {
|
||||||
@@ -1460,7 +1461,7 @@ export default {
|
|||||||
},
|
},
|
||||||
// 点击查看
|
// 点击查看
|
||||||
handlePreview (item) {
|
handlePreview (item) {
|
||||||
let routeUrl = this.$router.resolve({
|
const routeUrl = this.$router.resolve({
|
||||||
name: 'OtherLawsStandDetails',
|
name: 'OtherLawsStandDetails',
|
||||||
params: {
|
params: {
|
||||||
id: item.id,
|
id: item.id,
|
||||||
@@ -1518,10 +1519,10 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
beginImportFile (file) {
|
beginImportFile (file) {
|
||||||
var filename = file.name
|
const filename = file.name
|
||||||
var index1 = filename.lastIndexOf('.')
|
const index1 = filename.lastIndexOf('.')
|
||||||
var index2 = filename.length
|
const index2 = filename.length
|
||||||
var fileSuffix = filename.substring(index1, index2)
|
const fileSuffix = filename.substring(index1, index2)
|
||||||
// const fileSuffix = file.name.split('.')[1] // 后缀名
|
// const fileSuffix = file.name.split('.')[1] // 后缀名
|
||||||
// 判断上传文件格式
|
// 判断上传文件格式
|
||||||
if (fileSuffix === '.pdf' || fileSuffix === '.PDF' || fileSuffix === '.ppt'|| fileSuffix === '.PPT' || fileSuffix === '.pptx'|| fileSuffix === '.PPTX'|| fileSuffix === '.doc' || fileSuffix === '.DOC' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.zip' || fileSuffix === '.xls' || fileSuffix === '.xlsx') {
|
if (fileSuffix === '.pdf' || fileSuffix === '.PDF' || fileSuffix === '.ppt'|| fileSuffix === '.PPT' || fileSuffix === '.pptx'|| fileSuffix === '.PPTX'|| fileSuffix === '.doc' || fileSuffix === '.DOC' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.zip' || fileSuffix === '.xls' || fileSuffix === '.xlsx') {
|
||||||
@@ -1579,9 +1580,9 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}).catch(e => {
|
}).catch(e => {
|
||||||
console.log(e)
|
console.log(e)
|
||||||
this.$message.warning('文件不存在,预览失败')
|
this.$message.warning('文件不存在,预览失败')
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 导入标准数据成功后执行
|
// 导入标准数据成功后执行
|
||||||
@@ -1593,22 +1594,22 @@ export default {
|
|||||||
if (response.ok) {
|
if (response.ok) {
|
||||||
|
|
||||||
switch (this.fileType){
|
switch (this.fileType){
|
||||||
case 'FBGBUSS':
|
case 'FBGBUSS':
|
||||||
this.FBGBUSSFileList = fileList
|
this.FBGBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
case 'BZSMBUSS' :
|
case 'BZSMBUSS' :
|
||||||
this.BZSMBUSSFileList = fileList
|
this.BZSMBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
case 'LSBBBUSS':
|
case 'LSBBBUSS':
|
||||||
this.LSBBBUSSFileList = fileList
|
this.LSBBBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
case 'GLWJLAWS':
|
case 'GLWJLAWS':
|
||||||
this.QTWJBUSSFileList = fileList
|
this.QTWJBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
case 'GLWJBUSS':
|
case 'GLWJBUSS':
|
||||||
this.GLWJBUSSFileList = fileList
|
this.GLWJBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
default : ;
|
default :
|
||||||
}
|
}
|
||||||
this.$message({
|
this.$message({
|
||||||
// showClose: true,
|
// showClose: true,
|
||||||
@@ -1628,22 +1629,22 @@ export default {
|
|||||||
this.fileType = type;
|
this.fileType = type;
|
||||||
|
|
||||||
switch (this.fileType){
|
switch (this.fileType){
|
||||||
case 'FBGBUSS':
|
case 'FBGBUSS':
|
||||||
this.fileList=this.FBGBUSSFileList
|
this.fileList=this.FBGBUSSFileList
|
||||||
break;
|
break;
|
||||||
case 'BZSMBUSS' :
|
case 'BZSMBUSS' :
|
||||||
this.fileList=this.BZSMBUSSFileList
|
this.fileList=this.BZSMBUSSFileList
|
||||||
break;
|
break;
|
||||||
case 'LSBBBUSS':
|
case 'LSBBBUSS':
|
||||||
this.fileList=this.LSBBBUSSFileList
|
this.fileList=this.LSBBBUSSFileList
|
||||||
break;
|
break;
|
||||||
case 'QTWJBUSS':
|
case 'QTWJBUSS':
|
||||||
this.fileList=this.QTWJBUSSFileList
|
this.fileList=this.QTWJBUSSFileList
|
||||||
break;
|
break;
|
||||||
case 'GLWJBUSS':
|
case 'GLWJBUSS':
|
||||||
this.fileList=this.GLWJBUSSFileList
|
this.fileList=this.GLWJBUSSFileList
|
||||||
break;
|
break;
|
||||||
default : ;
|
default :
|
||||||
}
|
}
|
||||||
this.fileMadel = true;
|
this.fileMadel = true;
|
||||||
|
|
||||||
@@ -1651,29 +1652,29 @@ export default {
|
|||||||
removeOneFile(file, fileList) {
|
removeOneFile(file, fileList) {
|
||||||
|
|
||||||
switch (this.fileType){
|
switch (this.fileType){
|
||||||
case 'FBGBUSS':
|
case 'FBGBUSS':
|
||||||
this.FBGBUSSFileList = fileList
|
this.FBGBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
case 'BZSMBUSS' :
|
case 'BZSMBUSS' :
|
||||||
this.BZSMBUSSFileList = fileList
|
this.BZSMBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
case 'LSBBBUSS':
|
case 'LSBBBUSS':
|
||||||
this.LSBBBUSSFileList = fileList
|
this.LSBBBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
case 'QTWJBUSS':
|
case 'QTWJBUSS':
|
||||||
this.QTWJBUSSFileList = fileList
|
this.QTWJBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
case 'GLWJBUSS':
|
case 'GLWJBUSS':
|
||||||
this.GLWJBUSSFileList = fileList
|
this.GLWJBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
default : ;
|
default :
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
popoverHideBusVs (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
popoverHideBusVs (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
||||||
if(checkedData) {
|
if(checkedData) {
|
||||||
if(checkedData.length > 0){
|
if(checkedData.length > 0){
|
||||||
this.form.VPPSBMBUSS = checkedData.map(item => item.code).join(",")
|
this.form.VPPSBMBUSS = checkedData.map(item => item.code).join(',')
|
||||||
this.form.VPPSCNBUSS = checkedData.map(item => item.chineseName).join(",")
|
this.form.VPPSCNBUSS = checkedData.map(item => item.chineseName).join(',')
|
||||||
}else {
|
}else {
|
||||||
this.form.VPPSBMBUSS = checkedData.code
|
this.form.VPPSBMBUSS = checkedData.code
|
||||||
this.form.VPPSCNBUSS = checkedData.chineseName
|
this.form.VPPSCNBUSS = checkedData.chineseName
|
||||||
@@ -1685,7 +1686,7 @@ export default {
|
|||||||
popoverHide (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
popoverHide (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
||||||
if(checkedData) {
|
if(checkedData) {
|
||||||
if(checkedData.length > 0){
|
if(checkedData.length > 0){
|
||||||
this.form.TXLBBUSS = checkedData.map(item => item.menuName).join(",")
|
this.form.TXLBBUSS = checkedData.map(item => item.menuName).join(',')
|
||||||
}else {
|
}else {
|
||||||
this.form.TXLBBUSS = checkedData.menuName
|
this.form.TXLBBUSS = checkedData.menuName
|
||||||
}
|
}
|
||||||
@@ -1699,8 +1700,8 @@ export default {
|
|||||||
popoverHideBusVs (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
popoverHideBusVs (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
||||||
if(checkedData && checkedData.length != 0) {
|
if(checkedData && checkedData.length != 0) {
|
||||||
if(checkedData.length > 0 && checkedData.length != 0){
|
if(checkedData.length > 0 && checkedData.length != 0){
|
||||||
this.form.cycvppsbm = checkedData.map(item => item.code).join(",")
|
this.form.cycvppsbm = checkedData.map(item => item.code).join(',')
|
||||||
this.form.cycvppscn = checkedData.map(item => item.chineseName).join(",")
|
this.form.cycvppscn = checkedData.map(item => item.chineseName).join(',')
|
||||||
}else {
|
}else {
|
||||||
this.form.cycvppsbm = checkedData.code
|
this.form.cycvppsbm = checkedData.code
|
||||||
this.form.cycvppscn = checkedData.chineseName
|
this.form.cycvppscn = checkedData.chineseName
|
||||||
@@ -1715,8 +1716,8 @@ export default {
|
|||||||
popoverHideCarVs (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
popoverHideCarVs (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
||||||
if(checkedData && checkedData.length != 0) {
|
if(checkedData && checkedData.length != 0) {
|
||||||
if(checkedData.length > 0){
|
if(checkedData.length > 0){
|
||||||
this.form.kccvppsbm = checkedData.map(item => item.code).join(",")
|
this.form.kccvppsbm = checkedData.map(item => item.code).join(',')
|
||||||
this.form.kccvppscn = checkedData.map(item => item.chineseName).join(",")
|
this.form.kccvppscn = checkedData.map(item => item.chineseName).join(',')
|
||||||
}else {
|
}else {
|
||||||
this.form.kccvppsbm = checkedData.code
|
this.form.kccvppsbm = checkedData.code
|
||||||
this.form.kccvppscn = checkedData.chineseName
|
this.form.kccvppscn = checkedData.chineseName
|
||||||
@@ -1731,8 +1732,8 @@ export default {
|
|||||||
popoverHideModel (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
popoverHideModel (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
||||||
if(checkedData && checkedData.length != 0) {
|
if(checkedData && checkedData.length != 0) {
|
||||||
if(checkedData.length > 0){
|
if(checkedData.length > 0){
|
||||||
this.form.dybxh = checkedData.map(item => item.model).join(",")
|
this.form.dybxh = checkedData.map(item => item.model).join(',')
|
||||||
this.form.dymc = checkedData.map(item => item.name).join(",")
|
this.form.dymc = checkedData.map(item => item.name).join(',')
|
||||||
}else {
|
}else {
|
||||||
this.form.dybxh = checkedData.model
|
this.form.dybxh = checkedData.model
|
||||||
this.form.dymc = checkedData.name
|
this.form.dymc = checkedData.name
|
||||||
@@ -1749,7 +1750,7 @@ export default {
|
|||||||
},
|
},
|
||||||
OkDrawer() {
|
OkDrawer() {
|
||||||
this.ListModel = false
|
this.ListModel = false
|
||||||
var item = {
|
const item = {
|
||||||
remarks: '123'
|
remarks: '123'
|
||||||
}
|
}
|
||||||
this.data.push(item)
|
this.data.push(item)
|
||||||
@@ -1769,7 +1770,7 @@ export default {
|
|||||||
// }
|
// }
|
||||||
|
|
||||||
this.saveLoading = true
|
this.saveLoading = true
|
||||||
let _formData = new FormData()
|
const _formData = new FormData()
|
||||||
// _formData.append('id', this.bpnId)
|
// _formData.append('id', this.bpnId)
|
||||||
_formData.append('createUser', this.$store.getters.userInfo.account)
|
_formData.append('createUser', this.$store.getters.userInfo.account)
|
||||||
_formData.append('createUserName', this.$store.getters.userInfo.uName)
|
_formData.append('createUserName', this.$store.getters.userInfo.uName)
|
||||||
@@ -1798,20 +1799,20 @@ export default {
|
|||||||
fileInfoHandle(){
|
fileInfoHandle(){
|
||||||
|
|
||||||
//拼接文件名和id 提交到流程Activity
|
//拼接文件名和id 提交到流程Activity
|
||||||
this.form.FBGBUSS=this.FBGBUSSFileList.map(item => item.response.data.id).join(",")
|
this.form.FBGBUSS=this.FBGBUSSFileList.map(item => item.response.data.id).join(',')
|
||||||
this.form.FBGBUSSName=this.FBGBUSSFileList.map(item => item.name).join(",")
|
this.form.FBGBUSSName=this.FBGBUSSFileList.map(item => item.name).join(',')
|
||||||
|
|
||||||
this.form.BZSMBUSS=this.BZSMBUSSFileList.map(item => item.response.data.id).join(",")
|
this.form.BZSMBUSS=this.BZSMBUSSFileList.map(item => item.response.data.id).join(',')
|
||||||
this.form.BZSMBUSSName=this.BZSMBUSSFileList.map(item => item.name).join(",")
|
this.form.BZSMBUSSName=this.BZSMBUSSFileList.map(item => item.name).join(',')
|
||||||
|
|
||||||
this.form.LSBBBUSS=this.LSBBBUSSFileList.map(item => item.response.data.id).join(",")
|
this.form.LSBBBUSS=this.LSBBBUSSFileList.map(item => item.response.data.id).join(',')
|
||||||
this.form.LSBBBUSSName=this.LSBBBUSSFileList.map(item => item.name).join(",")
|
this.form.LSBBBUSSName=this.LSBBBUSSFileList.map(item => item.name).join(',')
|
||||||
|
|
||||||
this.form.QTWJBUSS=this.QTWJBUSSFileList.map(item => item.response.data.id).join(",")
|
this.form.QTWJBUSS=this.QTWJBUSSFileList.map(item => item.response.data.id).join(',')
|
||||||
this.form.QTWJBUSSName=this.QTWJBUSSFileList.map(item => item.name).join(",")
|
this.form.QTWJBUSSName=this.QTWJBUSSFileList.map(item => item.name).join(',')
|
||||||
|
|
||||||
this.form.GLWJBUSS=this.GLWJBUSSFileList.map(item => item.response.data.id).join(",")
|
this.form.GLWJBUSS=this.GLWJBUSSFileList.map(item => item.response.data.id).join(',')
|
||||||
this.form.GLWJBUSSName=this.GLWJBUSSFileList.map(item => item.name).join(",")
|
this.form.GLWJBUSSName=this.GLWJBUSSFileList.map(item => item.name).join(',')
|
||||||
|
|
||||||
},
|
},
|
||||||
// 删除方法
|
// 删除方法
|
||||||
@@ -1831,7 +1832,7 @@ export default {
|
|||||||
return data
|
return data
|
||||||
},
|
},
|
||||||
changeRestTree(val) {
|
changeRestTree(val) {
|
||||||
let arr = [];
|
const arr = [];
|
||||||
if (val.length !== 0) {
|
if (val.length !== 0) {
|
||||||
val.forEach(item => {
|
val.forEach(item => {
|
||||||
if (item.children.length >= 1) {
|
if (item.children.length >= 1) {
|
||||||
@@ -1839,7 +1840,7 @@ export default {
|
|||||||
}
|
}
|
||||||
if(item.pid === '0'){
|
if(item.pid === '0'){
|
||||||
item.id = arr.length + 1,
|
item.id = arr.length + 1,
|
||||||
item.modelNum = arr.length + 1+''
|
item.modelNum = arr.length + 1+''
|
||||||
item.orderNum = arr.length + 1 // orderNum为新创建行的索引
|
item.orderNum = arr.length + 1 // orderNum为新创建行的索引
|
||||||
item.modelIndex = arr.length
|
item.modelIndex = arr.length
|
||||||
}else {
|
}else {
|
||||||
@@ -1856,19 +1857,19 @@ export default {
|
|||||||
return arr;
|
return arr;
|
||||||
},
|
},
|
||||||
changeTree(val) {
|
changeTree(val) {
|
||||||
let arr = [];
|
const arr = [];
|
||||||
this.modelDataNameVerify = []
|
this.modelDataNameVerify = []
|
||||||
this.modelDataZrUserVerify = []
|
this.modelDataZrUserVerify = []
|
||||||
if (val.length !== 0) {
|
if (val.length !== 0) {
|
||||||
val.forEach(item => {
|
val.forEach(item => {
|
||||||
let obj = {};
|
const obj = {};
|
||||||
obj.modelName = item.modelName;
|
obj.modelName = item.modelName;
|
||||||
obj.zrUserIdName = item.zrUserIdName;
|
obj.zrUserIdName = item.zrUserIdName;
|
||||||
if(!obj.modelName || obj.modelName === ''){
|
if(!obj.modelName || obj.modelName === ''){
|
||||||
this.modelDataNameVerify.push("1")
|
this.modelDataNameVerify.push('1')
|
||||||
}
|
}
|
||||||
if(item.pid === '0' && (!obj.zrUserIdName || obj.zrUserIdName === '')){
|
if(item.pid === '0' && (!obj.zrUserIdName || obj.zrUserIdName === '')){
|
||||||
this.modelDataZrUserVerify.push("1")
|
this.modelDataZrUserVerify.push('1')
|
||||||
}
|
}
|
||||||
if (item.children.length >= 1) {
|
if (item.children.length >= 1) {
|
||||||
item.children = this.changeTree(item.children);
|
item.children = this.changeTree(item.children);
|
||||||
@@ -1928,13 +1929,14 @@ export default {
|
|||||||
if (res.success) {
|
if (res.success) {
|
||||||
// 流程提交之后,应该流转至待办任务页面
|
// 流程提交之后,应该流转至待办任务页面
|
||||||
if(this.formTongGuo.approvalOpinion === '1'){
|
if(this.formTongGuo.approvalOpinion === '1'){
|
||||||
this.$message.warning("驳回成功")
|
this.$message.warning('驳回成功')
|
||||||
}else{
|
}else{
|
||||||
this.$message.success(res.message)
|
this.$message.success(res.message)
|
||||||
// this.processCreateLaws(json)
|
// this.processCreateLaws(json)
|
||||||
}
|
}
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// 流程提交之后,应该流转至待办任务页面
|
// 流程提交之后,应该流转至待办任务页面
|
||||||
// this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
// this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
||||||
}else {
|
}else {
|
||||||
@@ -1989,16 +1991,16 @@ export default {
|
|||||||
if(obj instanceof Array){
|
if(obj instanceof Array){
|
||||||
return obj;
|
return obj;
|
||||||
}else {
|
}else {
|
||||||
return obj.split(",")
|
return obj.split(',')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return "";
|
return '';
|
||||||
},
|
},
|
||||||
assemble(ids,names){
|
assemble(ids,names){
|
||||||
let list= new Array();
|
const list= new Array();
|
||||||
if(ids && ids !== '' && names && names !== ''){
|
if(ids && ids !== '' && names && names !== ''){
|
||||||
let idArray=ids.split(',');
|
const idArray=ids.split(',');
|
||||||
let nameArray=names.split(',');
|
const nameArray=names.split(',');
|
||||||
for(let i=0; i<idArray.length; i++){
|
for(let i=0; i<idArray.length; i++){
|
||||||
list.push({id:idArray[i],name:nameArray[i]});
|
list.push({id:idArray[i],name:nameArray[i]});
|
||||||
}
|
}
|
||||||
@@ -2035,12 +2037,12 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
processTable () {
|
processTable () {
|
||||||
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,
|
||||||
sortWord: this.shunxu ? this.paixu : "",
|
sortWord: this.shunxu ? this.paixu : '',
|
||||||
shunxu: this.shunxu
|
shunxu: this.shunxu
|
||||||
}, {
|
}, {
|
||||||
loading: "loading",
|
loading: 'loading',
|
||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
this.detailData = res
|
this.detailData = res
|
||||||
|
|||||||
@@ -171,7 +171,8 @@ export default {
|
|||||||
this.drawerModal = false
|
this.drawerModal = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
}, 100)
|
}, 100)
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
|||||||
@@ -235,27 +235,27 @@
|
|||||||
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
||||||
import ProcessFooter from '../../components/ProcessFooter'
|
import ProcessFooter from '../../components/ProcessFooter'
|
||||||
import ProcessTitle from '../../components/ProcessTitle'
|
import ProcessTitle from '../../components/ProcessTitle'
|
||||||
import formList from "process/phone/qbrk-product/common/formList";
|
import formList from 'process/phone/qbrk-product/common/formList';
|
||||||
import {
|
import {
|
||||||
inboundLiaisonDetail,
|
inboundLiaisonDetail,
|
||||||
processCreateStand,
|
processCreateStand,
|
||||||
changeAssigneeNew,
|
changeAssigneeNew,
|
||||||
queryTaskFirst,
|
queryTaskFirst,
|
||||||
getBusStandFileByAttId, saveTaskFirst
|
getBusStandFileByAttId, saveTaskFirst
|
||||||
} from "api/process";
|
} from 'api/process';
|
||||||
import TreeSelect from '@/components/treeSelect/treeSelect.vue';
|
import TreeSelect from '@/components/treeSelect/treeSelect.vue';
|
||||||
import CusTomDataPickerGroup
|
import CusTomDataPickerGroup
|
||||||
from "@/pages/regulatoryRepository/localProductsOrProjectLibrary/components/DatePickerGroup";
|
from '@/pages/regulatoryRepository/localProductsOrProjectLibrary/components/DatePickerGroup';
|
||||||
import Vue from 'vue';
|
import Vue from 'vue';
|
||||||
import { Form } from 'vant';
|
import { Form } from 'vant';
|
||||||
import { Field } from 'vant';
|
import { Field } from 'vant';
|
||||||
import { getEvaluationIndex } from "api/businessApi";
|
import { getEvaluationIndex } from 'api/businessApi';
|
||||||
import hwh5 from '@/api/hwh5-cloudonline.js'
|
import hwh5 from '@/api/hwh5-cloudonline.js'
|
||||||
|
|
||||||
Vue.use(Form);
|
Vue.use(Form);
|
||||||
Vue.use(Field);
|
Vue.use(Field);
|
||||||
export default {
|
export default {
|
||||||
name: "phoneBussLibraryProduct7",
|
name: 'phoneBussLibraryProduct7',
|
||||||
components: {
|
components: {
|
||||||
CusTomDataPickerGroup,
|
CusTomDataPickerGroup,
|
||||||
ProcessHeaderPhone,
|
ProcessHeaderPhone,
|
||||||
@@ -266,7 +266,7 @@ export default {
|
|||||||
},
|
},
|
||||||
data () {
|
data () {
|
||||||
const numberCodeNot = (rule, value, callback) => {
|
const numberCodeNot = (rule, value, callback) => {
|
||||||
let pattern = /^[1]*$/
|
const pattern = /^[1]*$/
|
||||||
if (!pattern.test(value)) {
|
if (!pattern.test(value)) {
|
||||||
return callback(new Error('评分分值只可为1分'))
|
return callback(new Error('评分分值只可为1分'))
|
||||||
} else {
|
} else {
|
||||||
@@ -277,7 +277,7 @@ export default {
|
|||||||
if(value === undefined || value === ''){
|
if(value === undefined || value === ''){
|
||||||
return callback(new Error('评分分值不可为空'))
|
return callback(new Error('评分分值不可为空'))
|
||||||
}
|
}
|
||||||
let pattern = /^[0-9]*$/
|
const pattern = /^[0-9]*$/
|
||||||
if (!pattern.test(value)) {
|
if (!pattern.test(value)) {
|
||||||
return callback(new Error('只能输入数字'))
|
return callback(new Error('只能输入数字'))
|
||||||
} else {
|
} else {
|
||||||
@@ -714,21 +714,21 @@ export default {
|
|||||||
'form.issueTime': {
|
'form.issueTime': {
|
||||||
handler: function() {
|
handler: function() {
|
||||||
if(this.form.issueTime !== undefined && this.form.issueTime !== null && this.form.issueTime !== ''){
|
if(this.form.issueTime !== undefined && this.form.issueTime !== null && this.form.issueTime !== ''){
|
||||||
let date = new Date(this.$moment(this.form.issueTime).format('YYYY-MM-DD'))
|
const date = new Date(this.$moment(this.form.issueTime).format('YYYY-MM-DD'))
|
||||||
// const FSRQBUSS = date.getFullYear()+ 5 + '-' + date.getMonth() + '-' + date.getDate()
|
// const FSRQBUSS = date.getFullYear()+ 5 + '-' + date.getMonth() + '-' + date.getDate()
|
||||||
// this.sarBussionessStandEO["FSRQBUSS"] = FSRQBUSS
|
// this.sarBussionessStandEO["FSRQBUSS"] = FSRQBUSS
|
||||||
|
|
||||||
let year = date.getFullYear()+5;
|
const year = date.getFullYear()+5;
|
||||||
let month =(date.getMonth() + 1).toString();
|
let month =(date.getMonth() + 1).toString();
|
||||||
let day = (date.getDate()).toString();
|
let day = (date.getDate()).toString();
|
||||||
if (month.length == 1) {
|
if (month.length == 1) {
|
||||||
month = "0" + month;
|
month = '0' + month;
|
||||||
}
|
}
|
||||||
if (day.length == 1) {
|
if (day.length == 1) {
|
||||||
day = "0" + day;
|
day = '0' + day;
|
||||||
}
|
}
|
||||||
const FSRQBUSS = year + "-" + month + "-" + day;
|
const FSRQBUSS = year + '-' + month + '-' + day;
|
||||||
this.form["FSRQBUSS"] = FSRQBUSS
|
this.form['FSRQBUSS'] = FSRQBUSS
|
||||||
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -737,7 +737,7 @@ export default {
|
|||||||
handler (val) {
|
handler (val) {
|
||||||
if (val !== '' && val !== null && typeof (val) !== 'undefined') {
|
if (val !== '' && val !== null && typeof (val) !== 'undefined') {
|
||||||
if (val instanceof Array) {
|
if (val instanceof Array) {
|
||||||
this.countryArr = val.join(",");
|
this.countryArr = val.join(',');
|
||||||
} else {
|
} else {
|
||||||
this.countryArr = val
|
this.countryArr = val
|
||||||
}
|
}
|
||||||
@@ -760,7 +760,7 @@ export default {
|
|||||||
this.dataLoading = boo
|
this.dataLoading = boo
|
||||||
},
|
},
|
||||||
filterData2(){
|
filterData2(){
|
||||||
let spanOneArr = []
|
const spanOneArr = []
|
||||||
let concatOne = 0
|
let concatOne = 0
|
||||||
this.form.evaluationData.forEach((item,index)=>{//循环后端查询出来的数据(orderdata)
|
this.form.evaluationData.forEach((item,index)=>{//循环后端查询出来的数据(orderdata)
|
||||||
if(index === 0){
|
if(index === 0){
|
||||||
@@ -809,7 +809,7 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
sums[index] = '';
|
sums[index] = '';
|
||||||
}
|
}
|
||||||
if(sums[index] !== '' && sums[index].indexOf(".") !== -1){
|
if(sums[index] !== '' && sums[index].indexOf('.') !== -1){
|
||||||
sums[index] = parseFloat(sums[index]).toFixed(1);
|
sums[index] = parseFloat(sums[index]).toFixed(1);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@@ -844,8 +844,8 @@ export default {
|
|||||||
console.log('modelData.' + index + '.modelName')
|
console.log('modelData.' + index + '.modelName')
|
||||||
return 'modelData.' + index + '.modelName';
|
return 'modelData.' + index + '.modelName';
|
||||||
}else {
|
}else {
|
||||||
let propStr = "";
|
let propStr = '';
|
||||||
const indexList = row.modelIndex.split(",");
|
const indexList = row.modelIndex.split(',');
|
||||||
for (let i = 0; i < indexList.length; i++) {
|
for (let i = 0; i < indexList.length; i++) {
|
||||||
if(i === 0){
|
if(i === 0){
|
||||||
propStr += 'modelData.' + indexList[i]
|
propStr += 'modelData.' + indexList[i]
|
||||||
@@ -876,10 +876,10 @@ export default {
|
|||||||
console.log(row)
|
console.log(row)
|
||||||
console.log(this.form.modelData)
|
console.log(this.form.modelData)
|
||||||
// 模态框删除按钮
|
// 模态框删除按钮
|
||||||
this.$confirm("是否确认删除本条数据?", "提示", {
|
this.$confirm('是否确认删除本条数据?', '提示', {
|
||||||
confirmButtonText: "确定",
|
confirmButtonText: '确定',
|
||||||
cancelButtonText: "取消",
|
cancelButtonText: '取消',
|
||||||
type: "info"
|
type: 'info'
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
// 此为假删除,只是删除了模态框中当前行的数据,并没有真正删除表格数据
|
// 此为假删除,只是删除了模态框中当前行的数据,并没有真正删除表格数据
|
||||||
const ids = []
|
const ids = []
|
||||||
@@ -887,8 +887,8 @@ export default {
|
|||||||
this.form.modelData = this.changeRestTree(this.deletedId(this.form.modelData,ids))
|
this.form.modelData = this.changeRestTree(this.deletedId(this.form.modelData,ids))
|
||||||
console.log(this.form.modelData)
|
console.log(this.form.modelData)
|
||||||
this.$message({
|
this.$message({
|
||||||
message: "删除成功",
|
message: '删除成功',
|
||||||
type: "success",
|
type: 'success',
|
||||||
duration: 2000
|
duration: 2000
|
||||||
});
|
});
|
||||||
this.$forceUpdate()
|
this.$forceUpdate()
|
||||||
@@ -917,10 +917,10 @@ export default {
|
|||||||
pid: '0',
|
pid: '0',
|
||||||
modelIndex: this.form.modelData.length,
|
modelIndex: this.form.modelData.length,
|
||||||
disabled: false,
|
disabled: false,
|
||||||
modelName: "",
|
modelName: '',
|
||||||
modelContent: "",
|
modelContent: '',
|
||||||
zrUserId:"",
|
zrUserId:'',
|
||||||
zrUserIdName:"",
|
zrUserIdName:'',
|
||||||
children:[],
|
children:[],
|
||||||
};
|
};
|
||||||
this.form.modelData.push(list);
|
this.form.modelData.push(list);
|
||||||
@@ -942,10 +942,10 @@ export default {
|
|||||||
pid: row.modelNum,
|
pid: row.modelNum,
|
||||||
modelIndex: row.children.length,
|
modelIndex: row.children.length,
|
||||||
disabled: false,
|
disabled: false,
|
||||||
modelName: "",
|
modelName: '',
|
||||||
modelContent: "",
|
modelContent: '',
|
||||||
zrUserId:"",
|
zrUserId:'',
|
||||||
zrUserIdName:"",
|
zrUserIdName:'',
|
||||||
children:[],
|
children:[],
|
||||||
};
|
};
|
||||||
row.children.push(list)
|
row.children.push(list)
|
||||||
@@ -959,7 +959,7 @@ export default {
|
|||||||
const hour = d.getHours()<10 ? '0'+d.getHours() : d.getHours();//得到时
|
const hour = d.getHours()<10 ? '0'+d.getHours() : d.getHours();//得到时
|
||||||
const minute = d.getMinutes()<10 ? '0'+d.getMinutes() : d.getMinutes();//得到分
|
const minute = d.getMinutes()<10 ? '0'+d.getMinutes() : d.getMinutes();//得到分
|
||||||
const second = d.getSeconds()<10 ? '0'+d.getSeconds() : d.getSeconds();//得到秒
|
const second = d.getSeconds()<10 ? '0'+d.getSeconds() : d.getSeconds();//得到秒
|
||||||
return [year, month, day].join('-') + " " + [hour, minute, second].join(':');//格式为:YY-MM-DD hh:mm:ss(当前时间)
|
return [year, month, day].join('-') + ' ' + [hour, minute, second].join(':');//格式为:YY-MM-DD hh:mm:ss(当前时间)
|
||||||
},
|
},
|
||||||
// choiceZRRS () {
|
// choiceZRRS () {
|
||||||
// if (this.userType === 'zrUserId') {
|
// if (this.userType === 'zrUserId') {
|
||||||
@@ -1036,7 +1036,7 @@ export default {
|
|||||||
bpnId: this.$route.query.bpnId
|
bpnId: this.$route.query.bpnId
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
this.verifySarStandard = this.$route.query.verifySarStandard
|
this.verifySarStandard = this.$route.query.verifySarStandard
|
||||||
let mes = JSON.parse(res.mes)
|
const mes = JSON.parse(res.mes)
|
||||||
mes.form.date = new Date(this.$moment(mes.form.date).format('YYYY-MM-DD'))
|
mes.form.date = new Date(this.$moment(mes.form.date).format('YYYY-MM-DD'))
|
||||||
this.form = mes.form
|
this.form = mes.form
|
||||||
this.FBGBUSSFileList=this.assemble(this.form.FBGBUSS,this.form.FBGBUSSName);
|
this.FBGBUSSFileList=this.assemble(this.form.FBGBUSS,this.form.FBGBUSSName);
|
||||||
@@ -1108,96 +1108,96 @@ export default {
|
|||||||
},
|
},
|
||||||
handleProcessStandardNext(status) {
|
handleProcessStandardNext(status) {
|
||||||
switch (status) {
|
switch (status) {
|
||||||
// 新增
|
// 新增
|
||||||
case 1:
|
case 1:
|
||||||
this.selectedList = []
|
this.selectedList = []
|
||||||
this.standardCheckedList = []
|
this.standardCheckedList = []
|
||||||
this.standardDrawer = false
|
this.standardDrawer = false
|
||||||
this.verifySarStandard = true
|
this.verifySarStandard = true
|
||||||
this.clearFormData(this.form)
|
this.clearFormData(this.form)
|
||||||
break
|
break
|
||||||
// 带入
|
// 带入
|
||||||
case 2:
|
case 2:
|
||||||
if (this.standardCheckedList.length === 1) {
|
if (this.standardCheckedList.length === 1) {
|
||||||
this.$http.get('lawss/sarLawsInfo/getStandInfoUpdateById', {id: this.standardCheckedList[0].id}, {
|
this.$http.get('lawss/sarLawsInfo/getStandInfoUpdateById', {id: this.standardCheckedList[0].id}, {
|
||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
if(res && res.data){
|
if(res && res.data){
|
||||||
const bringData = res.data
|
const bringData = res.data
|
||||||
|
|
||||||
const json = Object.assign(bringData, bringData.attrInfoMap);
|
const json = Object.assign(bringData, bringData.attrInfoMap);
|
||||||
this.form = JSON.parse(JSON.stringify(json))
|
this.form = JSON.parse(JSON.stringify(json))
|
||||||
this.form.TGRLAWS = JSON.parse(JSON.stringify(json)).TGRLAWS && JSON.parse(JSON.stringify(json)).TGRLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).TGRLAWS.split(',') : []
|
this.form.TGRLAWS = JSON.parse(JSON.stringify(json)).TGRLAWS && JSON.parse(JSON.stringify(json)).TGRLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).TGRLAWS.split(',') : []
|
||||||
this.form.TGDWLAWS = JSON.parse(JSON.stringify(json)).TGDWLAWS && JSON.parse(JSON.stringify(json)).TGDWLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).TGDWLAWS.split(',') : []
|
this.form.TGDWLAWS = JSON.parse(JSON.stringify(json)).TGDWLAWS && JSON.parse(JSON.stringify(json)).TGDWLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).TGDWLAWS.split(',') : []
|
||||||
this.form.NYLXLAWS = JSON.parse(JSON.stringify(json)).NYLXLAWS && JSON.parse(JSON.stringify(json)).NYLXLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).NYLXLAWS.split(',') : []
|
this.form.NYLXLAWS = JSON.parse(JSON.stringify(json)).NYLXLAWS && JSON.parse(JSON.stringify(json)).NYLXLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).NYLXLAWS.split(',') : []
|
||||||
this.form.YYRZLAWS = JSON.parse(JSON.stringify(json)).YYRZLAWS && JSON.parse(JSON.stringify(json)).YYRZLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).YYRZLAWS.split(',') : []
|
this.form.YYRZLAWS = JSON.parse(JSON.stringify(json)).YYRZLAWS && JSON.parse(JSON.stringify(json)).YYRZLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).YYRZLAWS.split(',') : []
|
||||||
this.form.ZRBMLAWS = JSON.parse(JSON.stringify(json)).ZRBMLAWS && JSON.parse(JSON.stringify(json)).ZRBMLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).ZRBMLAWS.split(',') : []
|
this.form.ZRBMLAWS = JSON.parse(JSON.stringify(json)).ZRBMLAWS && JSON.parse(JSON.stringify(json)).ZRBMLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).ZRBMLAWS.split(',') : []
|
||||||
this.form.ZRGCSLAWS = JSON.parse(JSON.stringify(json)).ZRGCSLAWS && JSON.parse(JSON.stringify(json)).ZRGCSLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).ZRGCSLAWS.split(',') : []
|
this.form.ZRGCSLAWS = JSON.parse(JSON.stringify(json)).ZRGCSLAWS && JSON.parse(JSON.stringify(json)).ZRGCSLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).ZRGCSLAWS.split(',') : []
|
||||||
this.form.prcNum = this.prcNum
|
this.form.prcNum = this.prcNum
|
||||||
this.form.prcName = this.prcName
|
this.form.prcName = this.prcName
|
||||||
this.form['id'] = bringData.id
|
this.form['id'] = bringData.id
|
||||||
this.standardDrawer = false
|
this.standardDrawer = false
|
||||||
this.verifySarStandard = true
|
this.verifySarStandard = true
|
||||||
this.busVsFunc()
|
this.busVsFunc()
|
||||||
this.modelFunc()
|
this.modelFunc()
|
||||||
this.$forceUpdate()
|
this.$forceUpdate()
|
||||||
|
}
|
||||||
|
// 遍历对象初始化文件信息
|
||||||
|
for(const p in this.form) {
|
||||||
|
if (typeof (this.form[p ]) != 'function') {
|
||||||
|
this.initializeFileList(p,this.form[p]);
|
||||||
}
|
}
|
||||||
// 遍历对象初始化文件信息
|
}
|
||||||
for(const p in this.form) {
|
console.log('res',res);
|
||||||
if (typeof (this.form[p ]) != "function") {
|
})
|
||||||
this.initializeFileList(p,this.form[p]);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
console.log("res",res);
|
|
||||||
})
|
|
||||||
|
|
||||||
} else if (this.standardCheckedList.length > 1) {
|
} else if (this.standardCheckedList.length > 1) {
|
||||||
this.$message.warning('最多可以带入一条政策信息')
|
this.$message.warning('最多可以带入一条政策信息')
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning('请选择要带入的政策信息')
|
this.$message.warning('请选择要带入的政策信息')
|
||||||
}
|
}
|
||||||
break
|
break
|
||||||
// 取消
|
// 取消
|
||||||
case 3:
|
case 3:
|
||||||
this.selectedList = []
|
this.selectedList = []
|
||||||
this.standardCheckedList = []
|
this.standardCheckedList = []
|
||||||
this.standardDrawer = false
|
this.standardDrawer = false
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
initializeFileList(property ,value){
|
initializeFileList(property ,value){
|
||||||
switch (property){
|
switch (property){
|
||||||
case 'xgd':
|
case 'xgd':
|
||||||
this.getFileList(value,this.xgdFileList);
|
this.getFileList(value,this.xgdFileList);
|
||||||
break;
|
break;
|
||||||
case 'fbgbjbd':
|
case 'fbgbjbd':
|
||||||
this.getFileList(value,this.FBGBJBDFileList);
|
this.getFileList(value,this.FBGBJBDFileList);
|
||||||
break;
|
break;
|
||||||
case 'ssg':
|
case 'ssg':
|
||||||
this.getFileList(value,this.ssgFileList);
|
this.getFileList(value,this.ssgFileList);
|
||||||
break;
|
break;
|
||||||
case 'ca':
|
case 'ca':
|
||||||
this.getFileList(value,this.caFileList);
|
this.getFileList(value,this.caFileList);
|
||||||
break;
|
break;
|
||||||
case 'zbjbd':
|
case 'zbjbd':
|
||||||
this.getFileList(value,this.zbjbdFileList);
|
this.getFileList(value,this.zbjbdFileList);
|
||||||
break;
|
break;
|
||||||
case 'kwj':
|
case 'kwj':
|
||||||
this.getFileList(value,this.kwjFileList);
|
this.getFileList(value,this.kwjFileList);
|
||||||
break;
|
break;
|
||||||
case 'jdwj':
|
case 'jdwj':
|
||||||
this.getFileList(value,this.jdwjFileList);
|
this.getFileList(value,this.jdwjFileList);
|
||||||
break;
|
break;
|
||||||
case 'bpg':
|
case 'bpg':
|
||||||
this.getFileList(value,this.bpgFileList);
|
this.getFileList(value,this.bpgFileList);
|
||||||
break;
|
break;
|
||||||
case 'zqyjg':
|
case 'zqyjg':
|
||||||
this.getFileList(value,this.zqyjgFileList);
|
this.getFileList(value,this.zqyjgFileList);
|
||||||
break;
|
break;
|
||||||
case 'glwj':
|
case 'glwj':
|
||||||
this.getFileList(value,this.glwjFileList);
|
this.getFileList(value,this.glwjFileList);
|
||||||
break;
|
break;
|
||||||
default: ;
|
default:
|
||||||
}
|
}
|
||||||
},getFileList(fileIds,defaultFileList){
|
},getFileList(fileIds,defaultFileList){
|
||||||
|
|
||||||
@@ -1208,17 +1208,17 @@ export default {
|
|||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
|
|
||||||
let fileList = res.data
|
const fileList = res.data
|
||||||
if (fileList != null && fileList.length > 0) {
|
if (fileList != null && fileList.length > 0) {
|
||||||
for (let i = 0; i < fileList.length; i++) {
|
for (let i = 0; i < fileList.length; i++) {
|
||||||
let obj = {name: '', response: {}}
|
const obj = {name: '', response: {}}
|
||||||
obj.name = fileList[i].oldFileName
|
obj.name = fileList[i].oldFileName
|
||||||
obj.response.data = fileList[i]
|
obj.response.data = fileList[i]
|
||||||
|
|
||||||
|
|
||||||
//根据以‘,’分割的id查询到的文件信息,放入对应的文件list中
|
//根据以‘,’分割的id查询到的文件信息,放入对应的文件list中
|
||||||
defaultFileList.push(obj)
|
defaultFileList.push(obj)
|
||||||
console.log("defaultFileList",defaultFileList);
|
console.log('defaultFileList',defaultFileList);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}, e => {
|
}, e => {
|
||||||
@@ -1286,8 +1286,8 @@ export default {
|
|||||||
saveUserInfo () {
|
saveUserInfo () {
|
||||||
this.filterText = ''
|
this.filterText = ''
|
||||||
if (this.userType === 'zrUserId') {
|
if (this.userType === 'zrUserId') {
|
||||||
this.roleForm.zrUserId = this.zrUserIds.map(item => item.id).join(",")
|
this.roleForm.zrUserId = this.zrUserIds.map(item => item.id).join(',')
|
||||||
this.roleForm.zrUserName = this.zrUserIds.map(item => item.name).join(",")
|
this.roleForm.zrUserName = this.zrUserIds.map(item => item.name).join(',')
|
||||||
} else if (this.userType === 'jlUserId') {
|
} else if (this.userType === 'jlUserId') {
|
||||||
this.roleForm.jlUserId = this.roleRow.id
|
this.roleForm.jlUserId = this.roleRow.id
|
||||||
this.roleForm.jlUserName = this.roleRow.name
|
this.roleForm.jlUserName = this.roleRow.name
|
||||||
@@ -1318,7 +1318,7 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
}else {
|
}else {
|
||||||
var getlist = this.$refs.tree.getCheckedNodes().concat(this.$refs.tree.getHalfCheckedNodes());
|
const getlist = this.$refs.tree.getCheckedNodes().concat(this.$refs.tree.getHalfCheckedNodes());
|
||||||
if(getlist.length == 1) {
|
if(getlist.length == 1) {
|
||||||
this.roleRow = getlist[0]
|
this.roleRow = getlist[0]
|
||||||
}else {
|
}else {
|
||||||
@@ -1330,15 +1330,15 @@ export default {
|
|||||||
// 更多
|
// 更多
|
||||||
handleCommand (command) {
|
handleCommand (command) {
|
||||||
switch (command[2]) {
|
switch (command[2]) {
|
||||||
case '新增':
|
case '新增':
|
||||||
this.createChildRow(command[0],command[1])
|
this.createChildRow(command[0],command[1])
|
||||||
break
|
break
|
||||||
case '维护':
|
case '维护':
|
||||||
command[1].disabled = false
|
command[1].disabled = false
|
||||||
break
|
break
|
||||||
case '删除':
|
case '删除':
|
||||||
this.handleDelete(command[0],command[1])
|
this.handleDelete(command[0],command[1])
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
choiceZRRList (type, title, id) {
|
choiceZRRList (type, title, id) {
|
||||||
@@ -1398,8 +1398,8 @@ export default {
|
|||||||
this.modalShowFlag2 = true
|
this.modalShowFlag2 = true
|
||||||
this.url = ''
|
this.url = ''
|
||||||
this.urlChild = ''
|
this.urlChild = ''
|
||||||
this.url="sarVppsTree/list"
|
this.url='sarVppsTree/list'
|
||||||
this.urlChild="sarVppsTree/childByList"
|
this.urlChild='sarVppsTree/childByList'
|
||||||
this.key1++
|
this.key1++
|
||||||
},
|
},
|
||||||
choiceZRR3 (type, title, id) {
|
choiceZRR3 (type, title, id) {
|
||||||
@@ -1407,8 +1407,8 @@ export default {
|
|||||||
this.modalShowFlag3 = true
|
this.modalShowFlag3 = true
|
||||||
this.url = ''
|
this.url = ''
|
||||||
this.urlChild = ''
|
this.urlChild = ''
|
||||||
this.url="sarVppsTree/list"
|
this.url='sarVppsTree/list'
|
||||||
this.urlChild="sarVppsTree/childByList"
|
this.urlChild='sarVppsTree/childByList'
|
||||||
this.key2++
|
this.key2++
|
||||||
},
|
},
|
||||||
choiceZRR4 (type, title, id) {
|
choiceZRR4 (type, title, id) {
|
||||||
@@ -1416,8 +1416,8 @@ export default {
|
|||||||
this.modalShowFlag4 = true
|
this.modalShowFlag4 = true
|
||||||
this.url = ''
|
this.url = ''
|
||||||
this.urlChild = ''
|
this.urlChild = ''
|
||||||
this.url="sarModelTree/list"
|
this.url='sarModelTree/list'
|
||||||
this.urlChild="sarModelTree/childByList"
|
this.urlChild='sarModelTree/childByList'
|
||||||
this.key3++
|
this.key3++
|
||||||
},
|
},
|
||||||
getTree () {
|
getTree () {
|
||||||
@@ -1537,7 +1537,7 @@ export default {
|
|||||||
},
|
},
|
||||||
// 点击查看
|
// 点击查看
|
||||||
handlePreview (item) {
|
handlePreview (item) {
|
||||||
let routeUrl = this.$router.resolve({
|
const routeUrl = this.$router.resolve({
|
||||||
name: 'OtherLawsStandDetails',
|
name: 'OtherLawsStandDetails',
|
||||||
params: {
|
params: {
|
||||||
id: item.id,
|
id: item.id,
|
||||||
@@ -1595,10 +1595,10 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
beginImportFile (file) {
|
beginImportFile (file) {
|
||||||
var filename = file.name
|
const filename = file.name
|
||||||
var index1 = filename.lastIndexOf('.')
|
const index1 = filename.lastIndexOf('.')
|
||||||
var index2 = filename.length
|
const index2 = filename.length
|
||||||
var fileSuffix = filename.substring(index1, index2)
|
const fileSuffix = filename.substring(index1, index2)
|
||||||
// const fileSuffix = file.name.split('.')[1] // 后缀名
|
// const fileSuffix = file.name.split('.')[1] // 后缀名
|
||||||
// 判断上传文件格式
|
// 判断上传文件格式
|
||||||
if (fileSuffix === '.pdf' || fileSuffix === '.PDF' || fileSuffix === '.ppt'|| fileSuffix === '.PPT' || fileSuffix === '.pptx'|| fileSuffix === '.PPTX'|| fileSuffix === '.doc' || fileSuffix === '.DOC' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.zip' || fileSuffix === '.xls' || fileSuffix === '.xlsx') {
|
if (fileSuffix === '.pdf' || fileSuffix === '.PDF' || fileSuffix === '.ppt'|| fileSuffix === '.PPT' || fileSuffix === '.pptx'|| fileSuffix === '.PPTX'|| fileSuffix === '.doc' || fileSuffix === '.DOC' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.zip' || fileSuffix === '.xls' || fileSuffix === '.xlsx') {
|
||||||
@@ -1656,9 +1656,9 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}).catch(e => {
|
}).catch(e => {
|
||||||
console.log(e)
|
console.log(e)
|
||||||
this.$message.warning('文件不存在,预览失败')
|
this.$message.warning('文件不存在,预览失败')
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 导入标准数据成功后执行
|
// 导入标准数据成功后执行
|
||||||
@@ -1670,22 +1670,22 @@ export default {
|
|||||||
if (response.ok) {
|
if (response.ok) {
|
||||||
|
|
||||||
switch (this.fileType){
|
switch (this.fileType){
|
||||||
case 'FBGBUSS':
|
case 'FBGBUSS':
|
||||||
this.FBGBUSSFileList = fileList
|
this.FBGBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
case 'BZSMBUSS' :
|
case 'BZSMBUSS' :
|
||||||
this.BZSMBUSSFileList = fileList
|
this.BZSMBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
case 'LSBBBUSS':
|
case 'LSBBBUSS':
|
||||||
this.LSBBBUSSFileList = fileList
|
this.LSBBBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
case 'GLWJLAWS':
|
case 'GLWJLAWS':
|
||||||
this.QTWJBUSSFileList = fileList
|
this.QTWJBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
case 'GLWJBUSS':
|
case 'GLWJBUSS':
|
||||||
this.GLWJBUSSFileList = fileList
|
this.GLWJBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
default : ;
|
default :
|
||||||
}
|
}
|
||||||
this.$message({
|
this.$message({
|
||||||
// showClose: true,
|
// showClose: true,
|
||||||
@@ -1705,22 +1705,22 @@ export default {
|
|||||||
this.fileType = type;
|
this.fileType = type;
|
||||||
|
|
||||||
switch (this.fileType){
|
switch (this.fileType){
|
||||||
case 'FBGBUSS':
|
case 'FBGBUSS':
|
||||||
this.fileList=this.FBGBUSSFileList
|
this.fileList=this.FBGBUSSFileList
|
||||||
break;
|
break;
|
||||||
case 'BZSMBUSS' :
|
case 'BZSMBUSS' :
|
||||||
this.fileList=this.BZSMBUSSFileList
|
this.fileList=this.BZSMBUSSFileList
|
||||||
break;
|
break;
|
||||||
case 'LSBBBUSS':
|
case 'LSBBBUSS':
|
||||||
this.fileList=this.LSBBBUSSFileList
|
this.fileList=this.LSBBBUSSFileList
|
||||||
break;
|
break;
|
||||||
case 'QTWJBUSS':
|
case 'QTWJBUSS':
|
||||||
this.fileList=this.QTWJBUSSFileList
|
this.fileList=this.QTWJBUSSFileList
|
||||||
break;
|
break;
|
||||||
case 'GLWJBUSS':
|
case 'GLWJBUSS':
|
||||||
this.fileList=this.GLWJBUSSFileList
|
this.fileList=this.GLWJBUSSFileList
|
||||||
break;
|
break;
|
||||||
default : ;
|
default :
|
||||||
}
|
}
|
||||||
this.fileMadel = true;
|
this.fileMadel = true;
|
||||||
|
|
||||||
@@ -1728,29 +1728,29 @@ export default {
|
|||||||
removeOneFile(file, fileList) {
|
removeOneFile(file, fileList) {
|
||||||
|
|
||||||
switch (this.fileType){
|
switch (this.fileType){
|
||||||
case 'FBGBUSS':
|
case 'FBGBUSS':
|
||||||
this.FBGBUSSFileList = fileList
|
this.FBGBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
case 'BZSMBUSS' :
|
case 'BZSMBUSS' :
|
||||||
this.BZSMBUSSFileList = fileList
|
this.BZSMBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
case 'LSBBBUSS':
|
case 'LSBBBUSS':
|
||||||
this.LSBBBUSSFileList = fileList
|
this.LSBBBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
case 'QTWJBUSS':
|
case 'QTWJBUSS':
|
||||||
this.QTWJBUSSFileList = fileList
|
this.QTWJBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
case 'GLWJBUSS':
|
case 'GLWJBUSS':
|
||||||
this.GLWJBUSSFileList = fileList
|
this.GLWJBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
default : ;
|
default :
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
popoverHideBusVs (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
popoverHideBusVs (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
||||||
if(checkedData) {
|
if(checkedData) {
|
||||||
if(checkedData.length > 0){
|
if(checkedData.length > 0){
|
||||||
this.form.VPPSBMBUSS = checkedData.map(item => item.code).join(",")
|
this.form.VPPSBMBUSS = checkedData.map(item => item.code).join(',')
|
||||||
this.form.VPPSCNBUSS = checkedData.map(item => item.chineseName).join(",")
|
this.form.VPPSCNBUSS = checkedData.map(item => item.chineseName).join(',')
|
||||||
}else {
|
}else {
|
||||||
this.form.VPPSBMBUSS = checkedData.code
|
this.form.VPPSBMBUSS = checkedData.code
|
||||||
this.form.VPPSCNBUSS = checkedData.chineseName
|
this.form.VPPSCNBUSS = checkedData.chineseName
|
||||||
@@ -1762,7 +1762,7 @@ export default {
|
|||||||
popoverHide (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
popoverHide (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
||||||
if(checkedData) {
|
if(checkedData) {
|
||||||
if(checkedData.length > 0){
|
if(checkedData.length > 0){
|
||||||
this.form.TXLBBUSS = checkedData.map(item => item.menuName).join(",")
|
this.form.TXLBBUSS = checkedData.map(item => item.menuName).join(',')
|
||||||
}else {
|
}else {
|
||||||
this.form.TXLBBUSS = checkedData.menuName
|
this.form.TXLBBUSS = checkedData.menuName
|
||||||
}
|
}
|
||||||
@@ -1792,8 +1792,8 @@ export default {
|
|||||||
popoverHideCarVs (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
popoverHideCarVs (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
||||||
if(checkedData && checkedData.length != 0) {
|
if(checkedData && checkedData.length != 0) {
|
||||||
if(checkedData.length > 0){
|
if(checkedData.length > 0){
|
||||||
this.form.kccvppsbm = checkedData.map(item => item.code).join(",")
|
this.form.kccvppsbm = checkedData.map(item => item.code).join(',')
|
||||||
this.form.kccvppscn = checkedData.map(item => item.chineseName).join(",")
|
this.form.kccvppscn = checkedData.map(item => item.chineseName).join(',')
|
||||||
}else {
|
}else {
|
||||||
this.form.kccvppsbm = checkedData.code
|
this.form.kccvppsbm = checkedData.code
|
||||||
this.form.kccvppscn = checkedData.chineseName
|
this.form.kccvppscn = checkedData.chineseName
|
||||||
@@ -1808,8 +1808,8 @@ export default {
|
|||||||
popoverHideModel (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
popoverHideModel (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
||||||
if(checkedData && checkedData.length != 0) {
|
if(checkedData && checkedData.length != 0) {
|
||||||
if(checkedData.length > 0){
|
if(checkedData.length > 0){
|
||||||
this.form.dybxh = checkedData.map(item => item.model).join(",")
|
this.form.dybxh = checkedData.map(item => item.model).join(',')
|
||||||
this.form.dymc = checkedData.map(item => item.name).join(",")
|
this.form.dymc = checkedData.map(item => item.name).join(',')
|
||||||
}else {
|
}else {
|
||||||
this.form.dybxh = checkedData.model
|
this.form.dybxh = checkedData.model
|
||||||
this.form.dymc = checkedData.name
|
this.form.dymc = checkedData.name
|
||||||
@@ -1826,7 +1826,7 @@ export default {
|
|||||||
},
|
},
|
||||||
OkDrawer() {
|
OkDrawer() {
|
||||||
this.ListModel = false
|
this.ListModel = false
|
||||||
var item = {
|
const item = {
|
||||||
remarks: '123'
|
remarks: '123'
|
||||||
}
|
}
|
||||||
this.data.push(item)
|
this.data.push(item)
|
||||||
@@ -1846,7 +1846,7 @@ export default {
|
|||||||
// }
|
// }
|
||||||
|
|
||||||
this.saveLoading = true
|
this.saveLoading = true
|
||||||
let _formData = new FormData()
|
const _formData = new FormData()
|
||||||
// _formData.append('id', this.bpnId)
|
// _formData.append('id', this.bpnId)
|
||||||
_formData.append('createUser', this.$store.getters.userInfo.account)
|
_formData.append('createUser', this.$store.getters.userInfo.account)
|
||||||
_formData.append('createUserName', this.$store.getters.userInfo.uName)
|
_formData.append('createUserName', this.$store.getters.userInfo.uName)
|
||||||
@@ -1869,20 +1869,20 @@ export default {
|
|||||||
fileInfoHandle(){
|
fileInfoHandle(){
|
||||||
|
|
||||||
//拼接文件名和id 提交到流程Activity
|
//拼接文件名和id 提交到流程Activity
|
||||||
this.form.FBGBUSS=this.FBGBUSSFileList.map(item => item.response.data.id).join(",")
|
this.form.FBGBUSS=this.FBGBUSSFileList.map(item => item.response.data.id).join(',')
|
||||||
this.form.FBGBUSSName=this.FBGBUSSFileList.map(item => item.name).join(",")
|
this.form.FBGBUSSName=this.FBGBUSSFileList.map(item => item.name).join(',')
|
||||||
|
|
||||||
this.form.BZSMBUSS=this.BZSMBUSSFileList.map(item => item.response.data.id).join(",")
|
this.form.BZSMBUSS=this.BZSMBUSSFileList.map(item => item.response.data.id).join(',')
|
||||||
this.form.BZSMBUSSName=this.BZSMBUSSFileList.map(item => item.name).join(",")
|
this.form.BZSMBUSSName=this.BZSMBUSSFileList.map(item => item.name).join(',')
|
||||||
|
|
||||||
this.form.LSBBBUSS=this.LSBBBUSSFileList.map(item => item.response.data.id).join(",")
|
this.form.LSBBBUSS=this.LSBBBUSSFileList.map(item => item.response.data.id).join(',')
|
||||||
this.form.LSBBBUSSName=this.LSBBBUSSFileList.map(item => item.name).join(",")
|
this.form.LSBBBUSSName=this.LSBBBUSSFileList.map(item => item.name).join(',')
|
||||||
|
|
||||||
this.form.QTWJBUSS=this.QTWJBUSSFileList.map(item => item.response.data.id).join(",")
|
this.form.QTWJBUSS=this.QTWJBUSSFileList.map(item => item.response.data.id).join(',')
|
||||||
this.form.QTWJBUSSName=this.QTWJBUSSFileList.map(item => item.name).join(",")
|
this.form.QTWJBUSSName=this.QTWJBUSSFileList.map(item => item.name).join(',')
|
||||||
|
|
||||||
this.form.GLWJBUSS=this.GLWJBUSSFileList.map(item => item.response.data.id).join(",")
|
this.form.GLWJBUSS=this.GLWJBUSSFileList.map(item => item.response.data.id).join(',')
|
||||||
this.form.GLWJBUSSName=this.GLWJBUSSFileList.map(item => item.name).join(",")
|
this.form.GLWJBUSSName=this.GLWJBUSSFileList.map(item => item.name).join(',')
|
||||||
|
|
||||||
},
|
},
|
||||||
// 删除方法
|
// 删除方法
|
||||||
@@ -1902,7 +1902,7 @@ export default {
|
|||||||
return data
|
return data
|
||||||
},
|
},
|
||||||
changeRestTree(val) {
|
changeRestTree(val) {
|
||||||
let arr = [];
|
const arr = [];
|
||||||
if (val.length !== 0) {
|
if (val.length !== 0) {
|
||||||
val.forEach(item => {
|
val.forEach(item => {
|
||||||
if (item.children.length >= 1) {
|
if (item.children.length >= 1) {
|
||||||
@@ -1910,7 +1910,7 @@ export default {
|
|||||||
}
|
}
|
||||||
if(item.pid === '0'){
|
if(item.pid === '0'){
|
||||||
item.id = arr.length + 1,
|
item.id = arr.length + 1,
|
||||||
item.modelNum = arr.length + 1+''
|
item.modelNum = arr.length + 1+''
|
||||||
item.orderNum = arr.length + 1 // orderNum为新创建行的索引
|
item.orderNum = arr.length + 1 // orderNum为新创建行的索引
|
||||||
item.modelIndex = arr.length
|
item.modelIndex = arr.length
|
||||||
}else {
|
}else {
|
||||||
@@ -1927,19 +1927,19 @@ export default {
|
|||||||
return arr;
|
return arr;
|
||||||
},
|
},
|
||||||
changeTree(val) {
|
changeTree(val) {
|
||||||
let arr = [];
|
const arr = [];
|
||||||
this.modelDataNameVerify = []
|
this.modelDataNameVerify = []
|
||||||
this.modelDataZrUserVerify = []
|
this.modelDataZrUserVerify = []
|
||||||
if (val.length !== 0) {
|
if (val.length !== 0) {
|
||||||
val.forEach(item => {
|
val.forEach(item => {
|
||||||
let obj = {};
|
const obj = {};
|
||||||
obj.modelName = item.modelName;
|
obj.modelName = item.modelName;
|
||||||
obj.zrUserIdName = item.zrUserIdName;
|
obj.zrUserIdName = item.zrUserIdName;
|
||||||
if(!obj.modelName || obj.modelName === ''){
|
if(!obj.modelName || obj.modelName === ''){
|
||||||
this.modelDataNameVerify.push("1")
|
this.modelDataNameVerify.push('1')
|
||||||
}
|
}
|
||||||
if(item.pid === '0' && (!obj.zrUserIdName || obj.zrUserIdName === '')){
|
if(item.pid === '0' && (!obj.zrUserIdName || obj.zrUserIdName === '')){
|
||||||
this.modelDataZrUserVerify.push("1")
|
this.modelDataZrUserVerify.push('1')
|
||||||
}
|
}
|
||||||
if (item.children.length >= 1) {
|
if (item.children.length >= 1) {
|
||||||
item.children = this.changeTree(item.children);
|
item.children = this.changeTree(item.children);
|
||||||
@@ -1973,7 +1973,8 @@ export default {
|
|||||||
this.drawerModal = false
|
this.drawerModal = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
// this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
||||||
// this.processNum()
|
// this.processNum()
|
||||||
} else {
|
} else {
|
||||||
@@ -2025,7 +2026,8 @@ export default {
|
|||||||
this.$message.success(res.message)
|
this.$message.success(res.message)
|
||||||
// 流程提交之后,应该流转至待办任务页面
|
// 流程提交之后,应该流转至待办任务页面
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
// this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
||||||
// if(this.formTongGuo.approvalOpinion === '1'){
|
// if(this.formTongGuo.approvalOpinion === '1'){
|
||||||
// this.$message.warning("驳回成功")
|
// this.$message.warning("驳回成功")
|
||||||
@@ -2087,10 +2089,10 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
assemble(ids,names){
|
assemble(ids,names){
|
||||||
let list= new Array();
|
const list= new Array();
|
||||||
if(ids && ids !== '' && names && names !== ''){
|
if(ids && ids !== '' && names && names !== ''){
|
||||||
let idArray=ids.split(',');
|
const idArray=ids.split(',');
|
||||||
let nameArray=names.split(',');
|
const nameArray=names.split(',');
|
||||||
for(let i=0; i<idArray.length; i++){
|
for(let i=0; i<idArray.length; i++){
|
||||||
list.push({id:idArray[i],name:nameArray[i]});
|
list.push({id:idArray[i],name:nameArray[i]});
|
||||||
}
|
}
|
||||||
@@ -2153,18 +2155,18 @@ export default {
|
|||||||
if(obj instanceof Array){
|
if(obj instanceof Array){
|
||||||
return obj;
|
return obj;
|
||||||
}else {
|
}else {
|
||||||
return obj.split(",")
|
return obj.split(',')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return "";
|
return '';
|
||||||
},
|
},
|
||||||
processTable () {
|
processTable () {
|
||||||
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,
|
||||||
sortWord: this.shunxu ? this.paixu : "",
|
sortWord: this.shunxu ? this.paixu : '',
|
||||||
shunxu: this.shunxu
|
shunxu: this.shunxu
|
||||||
}, {
|
}, {
|
||||||
loading: "loading",
|
loading: 'loading',
|
||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
this.detailData = res
|
this.detailData = res
|
||||||
|
|||||||
@@ -235,27 +235,27 @@
|
|||||||
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
||||||
import ProcessFooter from '../../components/ProcessFooter'
|
import ProcessFooter from '../../components/ProcessFooter'
|
||||||
import ProcessTitle from '../../components/ProcessTitle'
|
import ProcessTitle from '../../components/ProcessTitle'
|
||||||
import formList from "process/phone/qbrk-product/common/formList";
|
import formList from 'process/phone/qbrk-product/common/formList';
|
||||||
import {
|
import {
|
||||||
inboundLiaisonDetail,
|
inboundLiaisonDetail,
|
||||||
processCreateStand,
|
processCreateStand,
|
||||||
changeAssigneeNew,
|
changeAssigneeNew,
|
||||||
queryTaskFirst,
|
queryTaskFirst,
|
||||||
getBusStandFileByAttId, saveTaskFirst
|
getBusStandFileByAttId, saveTaskFirst
|
||||||
} from "api/process";
|
} from 'api/process';
|
||||||
import TreeSelect from '@/components/treeSelect/treeSelect.vue';
|
import TreeSelect from '@/components/treeSelect/treeSelect.vue';
|
||||||
import CusTomDataPickerGroup
|
import CusTomDataPickerGroup
|
||||||
from "@/pages/regulatoryRepository/localProductsOrProjectLibrary/components/DatePickerGroup";
|
from '@/pages/regulatoryRepository/localProductsOrProjectLibrary/components/DatePickerGroup';
|
||||||
import Vue from 'vue';
|
import Vue from 'vue';
|
||||||
import { Form } from 'vant';
|
import { Form } from 'vant';
|
||||||
import { Field } from 'vant';
|
import { Field } from 'vant';
|
||||||
import { getEvaluationIndex } from "api/businessApi";
|
import { getEvaluationIndex } from 'api/businessApi';
|
||||||
import hwh5 from '@/api/hwh5-cloudonline.js'
|
import hwh5 from '@/api/hwh5-cloudonline.js'
|
||||||
|
|
||||||
Vue.use(Form);
|
Vue.use(Form);
|
||||||
Vue.use(Field);
|
Vue.use(Field);
|
||||||
export default {
|
export default {
|
||||||
name: "phoneBussLibraryProduct8",
|
name: 'phoneBussLibraryProduct8',
|
||||||
components: {
|
components: {
|
||||||
CusTomDataPickerGroup,
|
CusTomDataPickerGroup,
|
||||||
ProcessHeaderPhone,
|
ProcessHeaderPhone,
|
||||||
@@ -685,21 +685,21 @@ export default {
|
|||||||
'form.issueTime': {
|
'form.issueTime': {
|
||||||
handler: function() {
|
handler: function() {
|
||||||
if(this.form.issueTime !== undefined && this.form.issueTime !== null && this.form.issueTime !== ''){
|
if(this.form.issueTime !== undefined && this.form.issueTime !== null && this.form.issueTime !== ''){
|
||||||
let date = new Date(this.$moment(this.form.issueTime).format('YYYY-MM-DD'))
|
const date = new Date(this.$moment(this.form.issueTime).format('YYYY-MM-DD'))
|
||||||
// const FSRQBUSS = date.getFullYear()+ 5 + '-' + date.getMonth() + '-' + date.getDate()
|
// const FSRQBUSS = date.getFullYear()+ 5 + '-' + date.getMonth() + '-' + date.getDate()
|
||||||
// this.sarBussionessStandEO["FSRQBUSS"] = FSRQBUSS
|
// this.sarBussionessStandEO["FSRQBUSS"] = FSRQBUSS
|
||||||
|
|
||||||
let year = date.getFullYear()+5;
|
const year = date.getFullYear()+5;
|
||||||
let month =(date.getMonth() + 1).toString();
|
let month =(date.getMonth() + 1).toString();
|
||||||
let day = (date.getDate()).toString();
|
let day = (date.getDate()).toString();
|
||||||
if (month.length == 1) {
|
if (month.length == 1) {
|
||||||
month = "0" + month;
|
month = '0' + month;
|
||||||
}
|
}
|
||||||
if (day.length == 1) {
|
if (day.length == 1) {
|
||||||
day = "0" + day;
|
day = '0' + day;
|
||||||
}
|
}
|
||||||
const FSRQBUSS = year + "-" + month + "-" + day;
|
const FSRQBUSS = year + '-' + month + '-' + day;
|
||||||
this.form["FSRQBUSS"] = FSRQBUSS
|
this.form['FSRQBUSS'] = FSRQBUSS
|
||||||
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -708,7 +708,7 @@ export default {
|
|||||||
handler (val) {
|
handler (val) {
|
||||||
if (val !== '' && val !== null && typeof (val) !== 'undefined') {
|
if (val !== '' && val !== null && typeof (val) !== 'undefined') {
|
||||||
if (val instanceof Array) {
|
if (val instanceof Array) {
|
||||||
this.countryArr = val.join(",");
|
this.countryArr = val.join(',');
|
||||||
} else {
|
} else {
|
||||||
this.countryArr = val
|
this.countryArr = val
|
||||||
}
|
}
|
||||||
@@ -737,8 +737,8 @@ export default {
|
|||||||
console.log('modelData.' + index + '.modelName')
|
console.log('modelData.' + index + '.modelName')
|
||||||
return 'modelData.' + index + '.modelName';
|
return 'modelData.' + index + '.modelName';
|
||||||
}else {
|
}else {
|
||||||
let propStr = "";
|
let propStr = '';
|
||||||
const indexList = row.modelIndex.split(",");
|
const indexList = row.modelIndex.split(',');
|
||||||
for (let i = 0; i < indexList.length; i++) {
|
for (let i = 0; i < indexList.length; i++) {
|
||||||
if(i === 0){
|
if(i === 0){
|
||||||
propStr += 'modelData.' + indexList[i]
|
propStr += 'modelData.' + indexList[i]
|
||||||
@@ -769,10 +769,10 @@ export default {
|
|||||||
console.log(row)
|
console.log(row)
|
||||||
console.log(this.form.modelData)
|
console.log(this.form.modelData)
|
||||||
// 模态框删除按钮
|
// 模态框删除按钮
|
||||||
this.$confirm("是否确认删除本条数据?", "提示", {
|
this.$confirm('是否确认删除本条数据?', '提示', {
|
||||||
confirmButtonText: "确定",
|
confirmButtonText: '确定',
|
||||||
cancelButtonText: "取消",
|
cancelButtonText: '取消',
|
||||||
type: "info"
|
type: 'info'
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
// 此为假删除,只是删除了模态框中当前行的数据,并没有真正删除表格数据
|
// 此为假删除,只是删除了模态框中当前行的数据,并没有真正删除表格数据
|
||||||
const ids = []
|
const ids = []
|
||||||
@@ -780,8 +780,8 @@ export default {
|
|||||||
this.form.modelData = this.changeRestTree(this.deletedId(this.form.modelData,ids))
|
this.form.modelData = this.changeRestTree(this.deletedId(this.form.modelData,ids))
|
||||||
console.log(this.form.modelData)
|
console.log(this.form.modelData)
|
||||||
this.$message({
|
this.$message({
|
||||||
message: "删除成功",
|
message: '删除成功',
|
||||||
type: "success",
|
type: 'success',
|
||||||
duration: 2000
|
duration: 2000
|
||||||
});
|
});
|
||||||
this.$forceUpdate()
|
this.$forceUpdate()
|
||||||
@@ -810,10 +810,10 @@ export default {
|
|||||||
pid: '0',
|
pid: '0',
|
||||||
modelIndex: this.form.modelData.length,
|
modelIndex: this.form.modelData.length,
|
||||||
disabled: false,
|
disabled: false,
|
||||||
modelName: "",
|
modelName: '',
|
||||||
modelContent: "",
|
modelContent: '',
|
||||||
zrUserId:"",
|
zrUserId:'',
|
||||||
zrUserIdName:"",
|
zrUserIdName:'',
|
||||||
children:[],
|
children:[],
|
||||||
};
|
};
|
||||||
this.form.modelData.push(list);
|
this.form.modelData.push(list);
|
||||||
@@ -835,10 +835,10 @@ export default {
|
|||||||
pid: row.modelNum,
|
pid: row.modelNum,
|
||||||
modelIndex: row.children.length,
|
modelIndex: row.children.length,
|
||||||
disabled: false,
|
disabled: false,
|
||||||
modelName: "",
|
modelName: '',
|
||||||
modelContent: "",
|
modelContent: '',
|
||||||
zrUserId:"",
|
zrUserId:'',
|
||||||
zrUserIdName:"",
|
zrUserIdName:'',
|
||||||
children:[],
|
children:[],
|
||||||
};
|
};
|
||||||
row.children.push(list)
|
row.children.push(list)
|
||||||
@@ -852,7 +852,7 @@ export default {
|
|||||||
const hour = d.getHours()<10 ? '0'+d.getHours() : d.getHours();//得到时
|
const hour = d.getHours()<10 ? '0'+d.getHours() : d.getHours();//得到时
|
||||||
const minute = d.getMinutes()<10 ? '0'+d.getMinutes() : d.getMinutes();//得到分
|
const minute = d.getMinutes()<10 ? '0'+d.getMinutes() : d.getMinutes();//得到分
|
||||||
const second = d.getSeconds()<10 ? '0'+d.getSeconds() : d.getSeconds();//得到秒
|
const second = d.getSeconds()<10 ? '0'+d.getSeconds() : d.getSeconds();//得到秒
|
||||||
return [year, month, day].join('-') + " " + [hour, minute, second].join(':');//格式为:YY-MM-DD hh:mm:ss(当前时间)
|
return [year, month, day].join('-') + ' ' + [hour, minute, second].join(':');//格式为:YY-MM-DD hh:mm:ss(当前时间)
|
||||||
},
|
},
|
||||||
// choiceZRRS () {
|
// choiceZRRS () {
|
||||||
// if (this.userType === 'zrUserId') {
|
// if (this.userType === 'zrUserId') {
|
||||||
@@ -910,7 +910,8 @@ export default {
|
|||||||
this.drawerModal = false
|
this.drawerModal = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
// this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
||||||
// this.processNum()
|
// this.processNum()
|
||||||
} else {
|
} else {
|
||||||
@@ -967,7 +968,7 @@ export default {
|
|||||||
bpnId: this.$route.query.bpnId
|
bpnId: this.$route.query.bpnId
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
this.verifySarStandard = this.$route.query.verifySarStandard
|
this.verifySarStandard = this.$route.query.verifySarStandard
|
||||||
let mes = JSON.parse(res.mes)
|
const mes = JSON.parse(res.mes)
|
||||||
mes.form.date = new Date(this.$moment(mes.form.date).format('YYYY-MM-DD'))
|
mes.form.date = new Date(this.$moment(mes.form.date).format('YYYY-MM-DD'))
|
||||||
this.form = mes.form
|
this.form = mes.form
|
||||||
this.roleForm = mes.roleForm
|
this.roleForm = mes.roleForm
|
||||||
@@ -1033,96 +1034,96 @@ export default {
|
|||||||
},
|
},
|
||||||
handleProcessStandardNext(status) {
|
handleProcessStandardNext(status) {
|
||||||
switch (status) {
|
switch (status) {
|
||||||
// 新增
|
// 新增
|
||||||
case 1:
|
case 1:
|
||||||
this.selectedList = []
|
this.selectedList = []
|
||||||
this.standardCheckedList = []
|
this.standardCheckedList = []
|
||||||
this.standardDrawer = false
|
this.standardDrawer = false
|
||||||
this.verifySarStandard = true
|
this.verifySarStandard = true
|
||||||
this.clearFormData(this.form)
|
this.clearFormData(this.form)
|
||||||
break
|
break
|
||||||
// 带入
|
// 带入
|
||||||
case 2:
|
case 2:
|
||||||
if (this.standardCheckedList.length === 1) {
|
if (this.standardCheckedList.length === 1) {
|
||||||
this.$http.get('lawss/sarLawsInfo/getStandInfoUpdateById', {id: this.standardCheckedList[0].id}, {
|
this.$http.get('lawss/sarLawsInfo/getStandInfoUpdateById', {id: this.standardCheckedList[0].id}, {
|
||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
if(res && res.data){
|
if(res && res.data){
|
||||||
const bringData = res.data
|
const bringData = res.data
|
||||||
|
|
||||||
const json = Object.assign(bringData, bringData.attrInfoMap);
|
const json = Object.assign(bringData, bringData.attrInfoMap);
|
||||||
this.form = JSON.parse(JSON.stringify(json))
|
this.form = JSON.parse(JSON.stringify(json))
|
||||||
this.form.TGRLAWS = JSON.parse(JSON.stringify(json)).TGRLAWS && JSON.parse(JSON.stringify(json)).TGRLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).TGRLAWS.split(',') : []
|
this.form.TGRLAWS = JSON.parse(JSON.stringify(json)).TGRLAWS && JSON.parse(JSON.stringify(json)).TGRLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).TGRLAWS.split(',') : []
|
||||||
this.form.TGDWLAWS = JSON.parse(JSON.stringify(json)).TGDWLAWS && JSON.parse(JSON.stringify(json)).TGDWLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).TGDWLAWS.split(',') : []
|
this.form.TGDWLAWS = JSON.parse(JSON.stringify(json)).TGDWLAWS && JSON.parse(JSON.stringify(json)).TGDWLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).TGDWLAWS.split(',') : []
|
||||||
this.form.NYLXLAWS = JSON.parse(JSON.stringify(json)).NYLXLAWS && JSON.parse(JSON.stringify(json)).NYLXLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).NYLXLAWS.split(',') : []
|
this.form.NYLXLAWS = JSON.parse(JSON.stringify(json)).NYLXLAWS && JSON.parse(JSON.stringify(json)).NYLXLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).NYLXLAWS.split(',') : []
|
||||||
this.form.YYRZLAWS = JSON.parse(JSON.stringify(json)).YYRZLAWS && JSON.parse(JSON.stringify(json)).YYRZLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).YYRZLAWS.split(',') : []
|
this.form.YYRZLAWS = JSON.parse(JSON.stringify(json)).YYRZLAWS && JSON.parse(JSON.stringify(json)).YYRZLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).YYRZLAWS.split(',') : []
|
||||||
this.form.ZRBMLAWS = JSON.parse(JSON.stringify(json)).ZRBMLAWS && JSON.parse(JSON.stringify(json)).ZRBMLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).ZRBMLAWS.split(',') : []
|
this.form.ZRBMLAWS = JSON.parse(JSON.stringify(json)).ZRBMLAWS && JSON.parse(JSON.stringify(json)).ZRBMLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).ZRBMLAWS.split(',') : []
|
||||||
this.form.ZRGCSLAWS = JSON.parse(JSON.stringify(json)).ZRGCSLAWS && JSON.parse(JSON.stringify(json)).ZRGCSLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).ZRGCSLAWS.split(',') : []
|
this.form.ZRGCSLAWS = JSON.parse(JSON.stringify(json)).ZRGCSLAWS && JSON.parse(JSON.stringify(json)).ZRGCSLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).ZRGCSLAWS.split(',') : []
|
||||||
this.form.prcNum = this.prcNum
|
this.form.prcNum = this.prcNum
|
||||||
this.form.prcName = this.prcName
|
this.form.prcName = this.prcName
|
||||||
this.form['id'] = bringData.id
|
this.form['id'] = bringData.id
|
||||||
this.standardDrawer = false
|
this.standardDrawer = false
|
||||||
this.verifySarStandard = true
|
this.verifySarStandard = true
|
||||||
this.busVsFunc()
|
this.busVsFunc()
|
||||||
this.modelFunc()
|
this.modelFunc()
|
||||||
this.$forceUpdate()
|
this.$forceUpdate()
|
||||||
|
}
|
||||||
|
// 遍历对象初始化文件信息
|
||||||
|
for(const p in this.form) {
|
||||||
|
if (typeof (this.form[p ]) != 'function') {
|
||||||
|
this.initializeFileList(p,this.form[p]);
|
||||||
}
|
}
|
||||||
// 遍历对象初始化文件信息
|
}
|
||||||
for(const p in this.form) {
|
console.log('res',res);
|
||||||
if (typeof (this.form[p ]) != "function") {
|
})
|
||||||
this.initializeFileList(p,this.form[p]);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
console.log("res",res);
|
|
||||||
})
|
|
||||||
|
|
||||||
} else if (this.standardCheckedList.length > 1) {
|
} else if (this.standardCheckedList.length > 1) {
|
||||||
this.$message.warning('最多可以带入一条政策信息')
|
this.$message.warning('最多可以带入一条政策信息')
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning('请选择要带入的政策信息')
|
this.$message.warning('请选择要带入的政策信息')
|
||||||
}
|
}
|
||||||
break
|
break
|
||||||
// 取消
|
// 取消
|
||||||
case 3:
|
case 3:
|
||||||
this.selectedList = []
|
this.selectedList = []
|
||||||
this.standardCheckedList = []
|
this.standardCheckedList = []
|
||||||
this.standardDrawer = false
|
this.standardDrawer = false
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
initializeFileList(property ,value){
|
initializeFileList(property ,value){
|
||||||
switch (property){
|
switch (property){
|
||||||
case 'xgd':
|
case 'xgd':
|
||||||
this.getFileList(value,this.xgdFileList);
|
this.getFileList(value,this.xgdFileList);
|
||||||
break;
|
break;
|
||||||
case 'fbgbjbd':
|
case 'fbgbjbd':
|
||||||
this.getFileList(value,this.FBGBJBDFileList);
|
this.getFileList(value,this.FBGBJBDFileList);
|
||||||
break;
|
break;
|
||||||
case 'ssg':
|
case 'ssg':
|
||||||
this.getFileList(value,this.ssgFileList);
|
this.getFileList(value,this.ssgFileList);
|
||||||
break;
|
break;
|
||||||
case 'ca':
|
case 'ca':
|
||||||
this.getFileList(value,this.caFileList);
|
this.getFileList(value,this.caFileList);
|
||||||
break;
|
break;
|
||||||
case 'zbjbd':
|
case 'zbjbd':
|
||||||
this.getFileList(value,this.zbjbdFileList);
|
this.getFileList(value,this.zbjbdFileList);
|
||||||
break;
|
break;
|
||||||
case 'kwj':
|
case 'kwj':
|
||||||
this.getFileList(value,this.kwjFileList);
|
this.getFileList(value,this.kwjFileList);
|
||||||
break;
|
break;
|
||||||
case 'jdwj':
|
case 'jdwj':
|
||||||
this.getFileList(value,this.jdwjFileList);
|
this.getFileList(value,this.jdwjFileList);
|
||||||
break;
|
break;
|
||||||
case 'bpg':
|
case 'bpg':
|
||||||
this.getFileList(value,this.bpgFileList);
|
this.getFileList(value,this.bpgFileList);
|
||||||
break;
|
break;
|
||||||
case 'zqyjg':
|
case 'zqyjg':
|
||||||
this.getFileList(value,this.zqyjgFileList);
|
this.getFileList(value,this.zqyjgFileList);
|
||||||
break;
|
break;
|
||||||
case 'glwj':
|
case 'glwj':
|
||||||
this.getFileList(value,this.glwjFileList);
|
this.getFileList(value,this.glwjFileList);
|
||||||
break;
|
break;
|
||||||
default: ;
|
default:
|
||||||
}
|
}
|
||||||
},getFileList(fileIds,defaultFileList){
|
},getFileList(fileIds,defaultFileList){
|
||||||
|
|
||||||
@@ -1133,17 +1134,17 @@ export default {
|
|||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
|
|
||||||
let fileList = res.data
|
const fileList = res.data
|
||||||
if (fileList != null && fileList.length > 0) {
|
if (fileList != null && fileList.length > 0) {
|
||||||
for (let i = 0; i < fileList.length; i++) {
|
for (let i = 0; i < fileList.length; i++) {
|
||||||
let obj = {name: '', response: {}}
|
const obj = {name: '', response: {}}
|
||||||
obj.name = fileList[i].oldFileName
|
obj.name = fileList[i].oldFileName
|
||||||
obj.response.data = fileList[i]
|
obj.response.data = fileList[i]
|
||||||
|
|
||||||
|
|
||||||
//根据以‘,’分割的id查询到的文件信息,放入对应的文件list中
|
//根据以‘,’分割的id查询到的文件信息,放入对应的文件list中
|
||||||
defaultFileList.push(obj)
|
defaultFileList.push(obj)
|
||||||
console.log("defaultFileList",defaultFileList);
|
console.log('defaultFileList',defaultFileList);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}, e => {
|
}, e => {
|
||||||
@@ -1211,8 +1212,8 @@ export default {
|
|||||||
saveUserInfo () {
|
saveUserInfo () {
|
||||||
this.filterText = ''
|
this.filterText = ''
|
||||||
if (this.userType === 'zrUserId') {
|
if (this.userType === 'zrUserId') {
|
||||||
this.roleForm.zrUserId = this.zrUserIds.map(item => item.id).join(",")
|
this.roleForm.zrUserId = this.zrUserIds.map(item => item.id).join(',')
|
||||||
this.roleForm.zrUserName = this.zrUserIds.map(item => item.name).join(",")
|
this.roleForm.zrUserName = this.zrUserIds.map(item => item.name).join(',')
|
||||||
} else if (this.userType === 'jlUserId') {
|
} else if (this.userType === 'jlUserId') {
|
||||||
this.roleForm.jlUserId = this.roleRow.id
|
this.roleForm.jlUserId = this.roleRow.id
|
||||||
this.roleForm.jlUserName = this.roleRow.name
|
this.roleForm.jlUserName = this.roleRow.name
|
||||||
@@ -1243,7 +1244,7 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
}else {
|
}else {
|
||||||
var getlist = this.$refs.tree.getCheckedNodes().concat(this.$refs.tree.getHalfCheckedNodes());
|
const getlist = this.$refs.tree.getCheckedNodes().concat(this.$refs.tree.getHalfCheckedNodes());
|
||||||
if(getlist.length == 1) {
|
if(getlist.length == 1) {
|
||||||
this.roleRow = getlist[0]
|
this.roleRow = getlist[0]
|
||||||
}else {
|
}else {
|
||||||
@@ -1255,15 +1256,15 @@ export default {
|
|||||||
// 更多
|
// 更多
|
||||||
handleCommand (command) {
|
handleCommand (command) {
|
||||||
switch (command[2]) {
|
switch (command[2]) {
|
||||||
case '新增':
|
case '新增':
|
||||||
this.createChildRow(command[0],command[1])
|
this.createChildRow(command[0],command[1])
|
||||||
break
|
break
|
||||||
case '维护':
|
case '维护':
|
||||||
command[1].disabled = false
|
command[1].disabled = false
|
||||||
break
|
break
|
||||||
case '删除':
|
case '删除':
|
||||||
this.handleDelete(command[0],command[1])
|
this.handleDelete(command[0],command[1])
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
choiceZRRList (type, title, id) {
|
choiceZRRList (type, title, id) {
|
||||||
@@ -1323,8 +1324,8 @@ export default {
|
|||||||
this.modalShowFlag2 = true
|
this.modalShowFlag2 = true
|
||||||
this.url = ''
|
this.url = ''
|
||||||
this.urlChild = ''
|
this.urlChild = ''
|
||||||
this.url="sarVppsTree/list"
|
this.url='sarVppsTree/list'
|
||||||
this.urlChild="sarVppsTree/childByList"
|
this.urlChild='sarVppsTree/childByList'
|
||||||
this.key1++
|
this.key1++
|
||||||
},
|
},
|
||||||
choiceZRR3 (type, title, id) {
|
choiceZRR3 (type, title, id) {
|
||||||
@@ -1332,8 +1333,8 @@ export default {
|
|||||||
this.modalShowFlag3 = true
|
this.modalShowFlag3 = true
|
||||||
this.url = ''
|
this.url = ''
|
||||||
this.urlChild = ''
|
this.urlChild = ''
|
||||||
this.url="sarVppsTree/list"
|
this.url='sarVppsTree/list'
|
||||||
this.urlChild="sarVppsTree/childByList"
|
this.urlChild='sarVppsTree/childByList'
|
||||||
this.key2++
|
this.key2++
|
||||||
},
|
},
|
||||||
choiceZRR4 (type, title, id) {
|
choiceZRR4 (type, title, id) {
|
||||||
@@ -1341,8 +1342,8 @@ export default {
|
|||||||
this.modalShowFlag4 = true
|
this.modalShowFlag4 = true
|
||||||
this.url = ''
|
this.url = ''
|
||||||
this.urlChild = ''
|
this.urlChild = ''
|
||||||
this.url="sarModelTree/list"
|
this.url='sarModelTree/list'
|
||||||
this.urlChild="sarModelTree/childByList"
|
this.urlChild='sarModelTree/childByList'
|
||||||
this.key3++
|
this.key3++
|
||||||
},
|
},
|
||||||
getTree () {
|
getTree () {
|
||||||
@@ -1462,7 +1463,7 @@ export default {
|
|||||||
},
|
},
|
||||||
// 点击查看
|
// 点击查看
|
||||||
handlePreview (item) {
|
handlePreview (item) {
|
||||||
let routeUrl = this.$router.resolve({
|
const routeUrl = this.$router.resolve({
|
||||||
name: 'OtherLawsStandDetails',
|
name: 'OtherLawsStandDetails',
|
||||||
params: {
|
params: {
|
||||||
id: item.id,
|
id: item.id,
|
||||||
@@ -1520,10 +1521,10 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
beginImportFile (file) {
|
beginImportFile (file) {
|
||||||
var filename = file.name
|
const filename = file.name
|
||||||
var index1 = filename.lastIndexOf('.')
|
const index1 = filename.lastIndexOf('.')
|
||||||
var index2 = filename.length
|
const index2 = filename.length
|
||||||
var fileSuffix = filename.substring(index1, index2)
|
const fileSuffix = filename.substring(index1, index2)
|
||||||
// const fileSuffix = file.name.split('.')[1] // 后缀名
|
// const fileSuffix = file.name.split('.')[1] // 后缀名
|
||||||
// 判断上传文件格式
|
// 判断上传文件格式
|
||||||
if (fileSuffix === '.pdf' || fileSuffix === '.PDF' || fileSuffix === '.ppt'|| fileSuffix === '.PPT' || fileSuffix === '.pptx'|| fileSuffix === '.PPTX'|| fileSuffix === '.doc' || fileSuffix === '.DOC' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.zip' || fileSuffix === '.xls' || fileSuffix === '.xlsx') {
|
if (fileSuffix === '.pdf' || fileSuffix === '.PDF' || fileSuffix === '.ppt'|| fileSuffix === '.PPT' || fileSuffix === '.pptx'|| fileSuffix === '.PPTX'|| fileSuffix === '.doc' || fileSuffix === '.DOC' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.zip' || fileSuffix === '.xls' || fileSuffix === '.xlsx') {
|
||||||
@@ -1581,9 +1582,9 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}).catch(e => {
|
}).catch(e => {
|
||||||
console.log(e)
|
console.log(e)
|
||||||
this.$message.warning('文件不存在,预览失败')
|
this.$message.warning('文件不存在,预览失败')
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 导入标准数据成功后执行
|
// 导入标准数据成功后执行
|
||||||
@@ -1595,22 +1596,22 @@ export default {
|
|||||||
if (response.ok) {
|
if (response.ok) {
|
||||||
|
|
||||||
switch (this.fileType){
|
switch (this.fileType){
|
||||||
case 'FBGBUSS':
|
case 'FBGBUSS':
|
||||||
this.FBGBUSSFileList = fileList
|
this.FBGBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
case 'BZSMBUSS' :
|
case 'BZSMBUSS' :
|
||||||
this.BZSMBUSSFileList = fileList
|
this.BZSMBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
case 'LSBBBUSS':
|
case 'LSBBBUSS':
|
||||||
this.LSBBBUSSFileList = fileList
|
this.LSBBBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
case 'GLWJLAWS':
|
case 'GLWJLAWS':
|
||||||
this.QTWJBUSSFileList = fileList
|
this.QTWJBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
case 'GLWJBUSS':
|
case 'GLWJBUSS':
|
||||||
this.GLWJBUSSFileList = fileList
|
this.GLWJBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
default : ;
|
default :
|
||||||
}
|
}
|
||||||
this.$message({
|
this.$message({
|
||||||
// showClose: true,
|
// showClose: true,
|
||||||
@@ -1630,22 +1631,22 @@ export default {
|
|||||||
this.fileType = type;
|
this.fileType = type;
|
||||||
|
|
||||||
switch (this.fileType){
|
switch (this.fileType){
|
||||||
case 'FBGBUSS':
|
case 'FBGBUSS':
|
||||||
this.fileList=this.FBGBUSSFileList
|
this.fileList=this.FBGBUSSFileList
|
||||||
break;
|
break;
|
||||||
case 'BZSMBUSS' :
|
case 'BZSMBUSS' :
|
||||||
this.fileList=this.BZSMBUSSFileList
|
this.fileList=this.BZSMBUSSFileList
|
||||||
break;
|
break;
|
||||||
case 'LSBBBUSS':
|
case 'LSBBBUSS':
|
||||||
this.fileList=this.LSBBBUSSFileList
|
this.fileList=this.LSBBBUSSFileList
|
||||||
break;
|
break;
|
||||||
case 'QTWJBUSS':
|
case 'QTWJBUSS':
|
||||||
this.fileList=this.QTWJBUSSFileList
|
this.fileList=this.QTWJBUSSFileList
|
||||||
break;
|
break;
|
||||||
case 'GLWJBUSS':
|
case 'GLWJBUSS':
|
||||||
this.fileList=this.GLWJBUSSFileList
|
this.fileList=this.GLWJBUSSFileList
|
||||||
break;
|
break;
|
||||||
default : ;
|
default :
|
||||||
}
|
}
|
||||||
this.fileMadel = true;
|
this.fileMadel = true;
|
||||||
|
|
||||||
@@ -1653,29 +1654,29 @@ export default {
|
|||||||
removeOneFile(file, fileList) {
|
removeOneFile(file, fileList) {
|
||||||
|
|
||||||
switch (this.fileType){
|
switch (this.fileType){
|
||||||
case 'FBGBUSS':
|
case 'FBGBUSS':
|
||||||
this.FBGBUSSFileList = fileList
|
this.FBGBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
case 'BZSMBUSS' :
|
case 'BZSMBUSS' :
|
||||||
this.BZSMBUSSFileList = fileList
|
this.BZSMBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
case 'LSBBBUSS':
|
case 'LSBBBUSS':
|
||||||
this.LSBBBUSSFileList = fileList
|
this.LSBBBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
case 'QTWJBUSS':
|
case 'QTWJBUSS':
|
||||||
this.QTWJBUSSFileList = fileList
|
this.QTWJBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
case 'GLWJBUSS':
|
case 'GLWJBUSS':
|
||||||
this.GLWJBUSSFileList = fileList
|
this.GLWJBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
default : ;
|
default :
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
popoverHideBusVs (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
popoverHideBusVs (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
||||||
if(checkedData) {
|
if(checkedData) {
|
||||||
if(checkedData.length > 0){
|
if(checkedData.length > 0){
|
||||||
this.form.VPPSBMBUSS = checkedData.map(item => item.code).join(",")
|
this.form.VPPSBMBUSS = checkedData.map(item => item.code).join(',')
|
||||||
this.form.VPPSCNBUSS = checkedData.map(item => item.chineseName).join(",")
|
this.form.VPPSCNBUSS = checkedData.map(item => item.chineseName).join(',')
|
||||||
}else {
|
}else {
|
||||||
this.form.VPPSBMBUSS = checkedData.code
|
this.form.VPPSBMBUSS = checkedData.code
|
||||||
this.form.VPPSCNBUSS = checkedData.chineseName
|
this.form.VPPSCNBUSS = checkedData.chineseName
|
||||||
@@ -1687,7 +1688,7 @@ export default {
|
|||||||
popoverHide (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
popoverHide (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
||||||
if(checkedData) {
|
if(checkedData) {
|
||||||
if(checkedData.length > 0){
|
if(checkedData.length > 0){
|
||||||
this.form.TXLBBUSS = checkedData.map(item => item.menuName).join(",")
|
this.form.TXLBBUSS = checkedData.map(item => item.menuName).join(',')
|
||||||
}else {
|
}else {
|
||||||
this.form.TXLBBUSS = checkedData.menuName
|
this.form.TXLBBUSS = checkedData.menuName
|
||||||
}
|
}
|
||||||
@@ -1701,8 +1702,8 @@ export default {
|
|||||||
popoverHideBusVs (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
popoverHideBusVs (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
||||||
if(checkedData && checkedData.length != 0) {
|
if(checkedData && checkedData.length != 0) {
|
||||||
if(checkedData.length > 0 && checkedData.length != 0){
|
if(checkedData.length > 0 && checkedData.length != 0){
|
||||||
this.form.cycvppsbm = checkedData.map(item => item.code).join(",")
|
this.form.cycvppsbm = checkedData.map(item => item.code).join(',')
|
||||||
this.form.cycvppscn = checkedData.map(item => item.chineseName).join(",")
|
this.form.cycvppscn = checkedData.map(item => item.chineseName).join(',')
|
||||||
}else {
|
}else {
|
||||||
this.form.cycvppsbm = checkedData.code
|
this.form.cycvppsbm = checkedData.code
|
||||||
this.form.cycvppscn = checkedData.chineseName
|
this.form.cycvppscn = checkedData.chineseName
|
||||||
@@ -1717,8 +1718,8 @@ export default {
|
|||||||
popoverHideCarVs (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
popoverHideCarVs (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
||||||
if(checkedData && checkedData.length != 0) {
|
if(checkedData && checkedData.length != 0) {
|
||||||
if(checkedData.length > 0){
|
if(checkedData.length > 0){
|
||||||
this.form.kccvppsbm = checkedData.map(item => item.code).join(",")
|
this.form.kccvppsbm = checkedData.map(item => item.code).join(',')
|
||||||
this.form.kccvppscn = checkedData.map(item => item.chineseName).join(",")
|
this.form.kccvppscn = checkedData.map(item => item.chineseName).join(',')
|
||||||
}else {
|
}else {
|
||||||
this.form.kccvppsbm = checkedData.code
|
this.form.kccvppsbm = checkedData.code
|
||||||
this.form.kccvppscn = checkedData.chineseName
|
this.form.kccvppscn = checkedData.chineseName
|
||||||
@@ -1733,8 +1734,8 @@ export default {
|
|||||||
popoverHideModel (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
popoverHideModel (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
||||||
if(checkedData && checkedData.length != 0) {
|
if(checkedData && checkedData.length != 0) {
|
||||||
if(checkedData.length > 0){
|
if(checkedData.length > 0){
|
||||||
this.form.dybxh = checkedData.map(item => item.model).join(",")
|
this.form.dybxh = checkedData.map(item => item.model).join(',')
|
||||||
this.form.dymc = checkedData.map(item => item.name).join(",")
|
this.form.dymc = checkedData.map(item => item.name).join(',')
|
||||||
}else {
|
}else {
|
||||||
this.form.dybxh = checkedData.model
|
this.form.dybxh = checkedData.model
|
||||||
this.form.dymc = checkedData.name
|
this.form.dymc = checkedData.name
|
||||||
@@ -1751,7 +1752,7 @@ export default {
|
|||||||
},
|
},
|
||||||
OkDrawer() {
|
OkDrawer() {
|
||||||
this.ListModel = false
|
this.ListModel = false
|
||||||
var item = {
|
const item = {
|
||||||
remarks: '123'
|
remarks: '123'
|
||||||
}
|
}
|
||||||
this.data.push(item)
|
this.data.push(item)
|
||||||
@@ -1771,7 +1772,7 @@ export default {
|
|||||||
// }
|
// }
|
||||||
|
|
||||||
this.saveLoading = true
|
this.saveLoading = true
|
||||||
let _formData = new FormData()
|
const _formData = new FormData()
|
||||||
// _formData.append('id', this.bpnId)
|
// _formData.append('id', this.bpnId)
|
||||||
_formData.append('createUser', this.$store.getters.userInfo.account)
|
_formData.append('createUser', this.$store.getters.userInfo.account)
|
||||||
_formData.append('createUserName', this.$store.getters.userInfo.uName)
|
_formData.append('createUserName', this.$store.getters.userInfo.uName)
|
||||||
@@ -1800,20 +1801,20 @@ export default {
|
|||||||
fileInfoHandle(){
|
fileInfoHandle(){
|
||||||
|
|
||||||
//拼接文件名和id 提交到流程Activity
|
//拼接文件名和id 提交到流程Activity
|
||||||
this.form.FBGBUSS=this.FBGBUSSFileList.map(item => item.response.data.id).join(",")
|
this.form.FBGBUSS=this.FBGBUSSFileList.map(item => item.response.data.id).join(',')
|
||||||
this.form.FBGBUSSName=this.FBGBUSSFileList.map(item => item.name).join(",")
|
this.form.FBGBUSSName=this.FBGBUSSFileList.map(item => item.name).join(',')
|
||||||
|
|
||||||
this.form.BZSMBUSS=this.BZSMBUSSFileList.map(item => item.response.data.id).join(",")
|
this.form.BZSMBUSS=this.BZSMBUSSFileList.map(item => item.response.data.id).join(',')
|
||||||
this.form.BZSMBUSSName=this.BZSMBUSSFileList.map(item => item.name).join(",")
|
this.form.BZSMBUSSName=this.BZSMBUSSFileList.map(item => item.name).join(',')
|
||||||
|
|
||||||
this.form.LSBBBUSS=this.LSBBBUSSFileList.map(item => item.response.data.id).join(",")
|
this.form.LSBBBUSS=this.LSBBBUSSFileList.map(item => item.response.data.id).join(',')
|
||||||
this.form.LSBBBUSSName=this.LSBBBUSSFileList.map(item => item.name).join(",")
|
this.form.LSBBBUSSName=this.LSBBBUSSFileList.map(item => item.name).join(',')
|
||||||
|
|
||||||
this.form.QTWJBUSS=this.QTWJBUSSFileList.map(item => item.response.data.id).join(",")
|
this.form.QTWJBUSS=this.QTWJBUSSFileList.map(item => item.response.data.id).join(',')
|
||||||
this.form.QTWJBUSSName=this.QTWJBUSSFileList.map(item => item.name).join(",")
|
this.form.QTWJBUSSName=this.QTWJBUSSFileList.map(item => item.name).join(',')
|
||||||
|
|
||||||
this.form.GLWJBUSS=this.GLWJBUSSFileList.map(item => item.response.data.id).join(",")
|
this.form.GLWJBUSS=this.GLWJBUSSFileList.map(item => item.response.data.id).join(',')
|
||||||
this.form.GLWJBUSSName=this.GLWJBUSSFileList.map(item => item.name).join(",")
|
this.form.GLWJBUSSName=this.GLWJBUSSFileList.map(item => item.name).join(',')
|
||||||
|
|
||||||
},
|
},
|
||||||
// 删除方法
|
// 删除方法
|
||||||
@@ -1833,7 +1834,7 @@ export default {
|
|||||||
return data
|
return data
|
||||||
},
|
},
|
||||||
changeRestTree(val) {
|
changeRestTree(val) {
|
||||||
let arr = [];
|
const arr = [];
|
||||||
if (val.length !== 0) {
|
if (val.length !== 0) {
|
||||||
val.forEach(item => {
|
val.forEach(item => {
|
||||||
if (item.children.length >= 1) {
|
if (item.children.length >= 1) {
|
||||||
@@ -1841,7 +1842,7 @@ export default {
|
|||||||
}
|
}
|
||||||
if(item.pid === '0'){
|
if(item.pid === '0'){
|
||||||
item.id = arr.length + 1,
|
item.id = arr.length + 1,
|
||||||
item.modelNum = arr.length + 1+''
|
item.modelNum = arr.length + 1+''
|
||||||
item.orderNum = arr.length + 1 // orderNum为新创建行的索引
|
item.orderNum = arr.length + 1 // orderNum为新创建行的索引
|
||||||
item.modelIndex = arr.length
|
item.modelIndex = arr.length
|
||||||
}else {
|
}else {
|
||||||
@@ -1858,19 +1859,19 @@ export default {
|
|||||||
return arr;
|
return arr;
|
||||||
},
|
},
|
||||||
changeTree(val) {
|
changeTree(val) {
|
||||||
let arr = [];
|
const arr = [];
|
||||||
this.modelDataNameVerify = []
|
this.modelDataNameVerify = []
|
||||||
this.modelDataZrUserVerify = []
|
this.modelDataZrUserVerify = []
|
||||||
if (val.length !== 0) {
|
if (val.length !== 0) {
|
||||||
val.forEach(item => {
|
val.forEach(item => {
|
||||||
let obj = {};
|
const obj = {};
|
||||||
obj.modelName = item.modelName;
|
obj.modelName = item.modelName;
|
||||||
obj.zrUserIdName = item.zrUserIdName;
|
obj.zrUserIdName = item.zrUserIdName;
|
||||||
if(!obj.modelName || obj.modelName === ''){
|
if(!obj.modelName || obj.modelName === ''){
|
||||||
this.modelDataNameVerify.push("1")
|
this.modelDataNameVerify.push('1')
|
||||||
}
|
}
|
||||||
if(item.pid === '0' && (!obj.zrUserIdName || obj.zrUserIdName === '')){
|
if(item.pid === '0' && (!obj.zrUserIdName || obj.zrUserIdName === '')){
|
||||||
this.modelDataZrUserVerify.push("1")
|
this.modelDataZrUserVerify.push('1')
|
||||||
}
|
}
|
||||||
if (item.children.length >= 1) {
|
if (item.children.length >= 1) {
|
||||||
item.children = this.changeTree(item.children);
|
item.children = this.changeTree(item.children);
|
||||||
@@ -1930,13 +1931,14 @@ export default {
|
|||||||
if (res.success) {
|
if (res.success) {
|
||||||
// 流程提交之后,应该流转至待办任务页面
|
// 流程提交之后,应该流转至待办任务页面
|
||||||
if(this.formTongGuo.approvalOpinion === '1'){
|
if(this.formTongGuo.approvalOpinion === '1'){
|
||||||
this.$message.warning("驳回成功")
|
this.$message.warning('驳回成功')
|
||||||
}else{
|
}else{
|
||||||
this.$message.success(res.message)
|
this.$message.success(res.message)
|
||||||
// this.processCreateLaws(json)
|
// this.processCreateLaws(json)
|
||||||
}
|
}
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// 流程提交之后,应该流转至待办任务页面
|
// 流程提交之后,应该流转至待办任务页面
|
||||||
// this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
// this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
||||||
}else {
|
}else {
|
||||||
@@ -1990,16 +1992,16 @@ export default {
|
|||||||
if(obj instanceof Array){
|
if(obj instanceof Array){
|
||||||
return obj;
|
return obj;
|
||||||
}else {
|
}else {
|
||||||
return obj.split(",")
|
return obj.split(',')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return "";
|
return '';
|
||||||
},
|
},
|
||||||
assemble(ids,names){
|
assemble(ids,names){
|
||||||
let list= new Array();
|
const list= new Array();
|
||||||
if(ids && ids !== '' && names && names !== ''){
|
if(ids && ids !== '' && names && names !== ''){
|
||||||
let idArray=ids.split(',');
|
const idArray=ids.split(',');
|
||||||
let nameArray=names.split(',');
|
const nameArray=names.split(',');
|
||||||
for(let i=0; i<idArray.length; i++){
|
for(let i=0; i<idArray.length; i++){
|
||||||
list.push({id:idArray[i],name:nameArray[i]});
|
list.push({id:idArray[i],name:nameArray[i]});
|
||||||
}
|
}
|
||||||
@@ -2036,12 +2038,12 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
processTable () {
|
processTable () {
|
||||||
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,
|
||||||
sortWord: this.shunxu ? this.paixu : "",
|
sortWord: this.shunxu ? this.paixu : '',
|
||||||
shunxu: this.shunxu
|
shunxu: this.shunxu
|
||||||
}, {
|
}, {
|
||||||
loading: "loading",
|
loading: 'loading',
|
||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
this.detailData = res
|
this.detailData = res
|
||||||
|
|||||||
@@ -164,27 +164,27 @@
|
|||||||
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
||||||
import ProcessFooter from '../../components/ProcessFooter'
|
import ProcessFooter from '../../components/ProcessFooter'
|
||||||
import ProcessTitle from '../../components/ProcessTitle'
|
import ProcessTitle from '../../components/ProcessTitle'
|
||||||
import formList from "process/phone/qbrk/common/formList";
|
import formList from 'process/phone/qbrk/common/formList';
|
||||||
import {
|
import {
|
||||||
inboundLiaisonDetail,
|
inboundLiaisonDetail,
|
||||||
processCreateStand,
|
processCreateStand,
|
||||||
changeAssigneeNew,
|
changeAssigneeNew,
|
||||||
queryTaskFirst,
|
queryTaskFirst,
|
||||||
getBusStandFileByAttId, saveTaskFirst
|
getBusStandFileByAttId, saveTaskFirst
|
||||||
} from "api/process";
|
} from 'api/process';
|
||||||
import TreeSelect from '@/components/treeSelect/treeSelect.vue';
|
import TreeSelect from '@/components/treeSelect/treeSelect.vue';
|
||||||
import CusTomDataPickerGroup
|
import CusTomDataPickerGroup
|
||||||
from "@/pages/regulatoryRepository/localProductsOrProjectLibrary/components/DatePickerGroup";
|
from '@/pages/regulatoryRepository/localProductsOrProjectLibrary/components/DatePickerGroup';
|
||||||
import Vue from 'vue';
|
import Vue from 'vue';
|
||||||
import { Form } from 'vant';
|
import { Form } from 'vant';
|
||||||
import { Field } from 'vant';
|
import { Field } from 'vant';
|
||||||
import { getEvaluationIndex } from "api/businessApi";
|
import { getEvaluationIndex } from 'api/businessApi';
|
||||||
import hwh5 from '@/api/hwh5-cloudonline.js'
|
import hwh5 from '@/api/hwh5-cloudonline.js'
|
||||||
|
|
||||||
Vue.use(Form);
|
Vue.use(Form);
|
||||||
Vue.use(Field);
|
Vue.use(Field);
|
||||||
export default {
|
export default {
|
||||||
name: "phoneBussLibrary8",
|
name: 'phoneBussLibrary8',
|
||||||
components: {
|
components: {
|
||||||
CusTomDataPickerGroup,
|
CusTomDataPickerGroup,
|
||||||
ProcessHeaderPhone,
|
ProcessHeaderPhone,
|
||||||
@@ -195,7 +195,7 @@ export default {
|
|||||||
},
|
},
|
||||||
data () {
|
data () {
|
||||||
const numberCodeNot = (rule, value, callback) => {
|
const numberCodeNot = (rule, value, callback) => {
|
||||||
let pattern = /^[1]*$/
|
const pattern = /^[1]*$/
|
||||||
if (!pattern.test(value)) {
|
if (!pattern.test(value)) {
|
||||||
return callback(new Error('评分分值只可为1分'))
|
return callback(new Error('评分分值只可为1分'))
|
||||||
} else {
|
} else {
|
||||||
@@ -206,7 +206,7 @@ export default {
|
|||||||
if(value === undefined || value === ''){
|
if(value === undefined || value === ''){
|
||||||
return callback(new Error('评分分值不可为空'))
|
return callback(new Error('评分分值不可为空'))
|
||||||
}
|
}
|
||||||
let pattern = /^[0-9]*$/
|
const pattern = /^[0-9]*$/
|
||||||
if (!pattern.test(value)) {
|
if (!pattern.test(value)) {
|
||||||
return callback(new Error('只能输入数字'))
|
return callback(new Error('只能输入数字'))
|
||||||
} else {
|
} else {
|
||||||
@@ -650,21 +650,21 @@ export default {
|
|||||||
'form.issueTime': {
|
'form.issueTime': {
|
||||||
handler: function() {
|
handler: function() {
|
||||||
if(this.form.issueTime !== undefined && this.form.issueTime !== null && this.form.issueTime !== ''){
|
if(this.form.issueTime !== undefined && this.form.issueTime !== null && this.form.issueTime !== ''){
|
||||||
let date = new Date(this.$moment(this.form.issueTime).format('YYYY-MM-DD'))
|
const date = new Date(this.$moment(this.form.issueTime).format('YYYY-MM-DD'))
|
||||||
// const FSRQBUSS = date.getFullYear()+ 5 + '-' + date.getMonth() + '-' + date.getDate()
|
// const FSRQBUSS = date.getFullYear()+ 5 + '-' + date.getMonth() + '-' + date.getDate()
|
||||||
// this.sarBussionessStandEO["FSRQBUSS"] = FSRQBUSS
|
// this.sarBussionessStandEO["FSRQBUSS"] = FSRQBUSS
|
||||||
|
|
||||||
let year = date.getFullYear()+5;
|
const year = date.getFullYear()+5;
|
||||||
let month =(date.getMonth() + 1).toString();
|
let month =(date.getMonth() + 1).toString();
|
||||||
let day = (date.getDate()).toString();
|
let day = (date.getDate()).toString();
|
||||||
if (month.length == 1) {
|
if (month.length == 1) {
|
||||||
month = "0" + month;
|
month = '0' + month;
|
||||||
}
|
}
|
||||||
if (day.length == 1) {
|
if (day.length == 1) {
|
||||||
day = "0" + day;
|
day = '0' + day;
|
||||||
}
|
}
|
||||||
const FSRQBUSS = year + "-" + month + "-" + day;
|
const FSRQBUSS = year + '-' + month + '-' + day;
|
||||||
this.form["FSRQBUSS"] = FSRQBUSS
|
this.form['FSRQBUSS'] = FSRQBUSS
|
||||||
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -673,7 +673,7 @@ export default {
|
|||||||
handler (val) {
|
handler (val) {
|
||||||
if (val !== '' && val !== null && typeof (val) !== 'undefined') {
|
if (val !== '' && val !== null && typeof (val) !== 'undefined') {
|
||||||
if (val instanceof Array) {
|
if (val instanceof Array) {
|
||||||
this.countryArr = val.join(",");
|
this.countryArr = val.join(',');
|
||||||
} else {
|
} else {
|
||||||
this.countryArr = val
|
this.countryArr = val
|
||||||
}
|
}
|
||||||
@@ -696,7 +696,7 @@ export default {
|
|||||||
this.dataLoading = boo
|
this.dataLoading = boo
|
||||||
},
|
},
|
||||||
filterData2(){
|
filterData2(){
|
||||||
let spanOneArr = []
|
const spanOneArr = []
|
||||||
let concatOne = 0
|
let concatOne = 0
|
||||||
this.form.evaluationData.forEach((item,index)=>{//循环后端查询出来的数据(orderdata)
|
this.form.evaluationData.forEach((item,index)=>{//循环后端查询出来的数据(orderdata)
|
||||||
if(index === 0){
|
if(index === 0){
|
||||||
@@ -745,7 +745,7 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
sums[index] = '';
|
sums[index] = '';
|
||||||
}
|
}
|
||||||
if(sums[index] !== '' && sums[index].indexOf(".") !== -1){
|
if(sums[index] !== '' && sums[index].indexOf('.') !== -1){
|
||||||
sums[index] = parseFloat(sums[index]).toFixed(1);
|
sums[index] = parseFloat(sums[index]).toFixed(1);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@@ -780,8 +780,8 @@ export default {
|
|||||||
console.log('modelData.' + index + '.modelName')
|
console.log('modelData.' + index + '.modelName')
|
||||||
return 'modelData.' + index + '.modelName';
|
return 'modelData.' + index + '.modelName';
|
||||||
}else {
|
}else {
|
||||||
let propStr = "";
|
let propStr = '';
|
||||||
const indexList = row.modelIndex.split(",");
|
const indexList = row.modelIndex.split(',');
|
||||||
for (let i = 0; i < indexList.length; i++) {
|
for (let i = 0; i < indexList.length; i++) {
|
||||||
if(i === 0){
|
if(i === 0){
|
||||||
propStr += 'modelData.' + indexList[i]
|
propStr += 'modelData.' + indexList[i]
|
||||||
@@ -812,10 +812,10 @@ export default {
|
|||||||
console.log(row)
|
console.log(row)
|
||||||
console.log(this.form.modelData)
|
console.log(this.form.modelData)
|
||||||
// 模态框删除按钮
|
// 模态框删除按钮
|
||||||
this.$confirm("是否确认删除本条数据?", "提示", {
|
this.$confirm('是否确认删除本条数据?', '提示', {
|
||||||
confirmButtonText: "确定",
|
confirmButtonText: '确定',
|
||||||
cancelButtonText: "取消",
|
cancelButtonText: '取消',
|
||||||
type: "info"
|
type: 'info'
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
// 此为假删除,只是删除了模态框中当前行的数据,并没有真正删除表格数据
|
// 此为假删除,只是删除了模态框中当前行的数据,并没有真正删除表格数据
|
||||||
const ids = []
|
const ids = []
|
||||||
@@ -823,8 +823,8 @@ export default {
|
|||||||
this.form.modelData = this.changeRestTree(this.deletedId(this.form.modelData,ids))
|
this.form.modelData = this.changeRestTree(this.deletedId(this.form.modelData,ids))
|
||||||
console.log(this.form.modelData)
|
console.log(this.form.modelData)
|
||||||
this.$message({
|
this.$message({
|
||||||
message: "删除成功",
|
message: '删除成功',
|
||||||
type: "success",
|
type: 'success',
|
||||||
duration: 2000
|
duration: 2000
|
||||||
});
|
});
|
||||||
this.$forceUpdate()
|
this.$forceUpdate()
|
||||||
@@ -853,10 +853,10 @@ export default {
|
|||||||
pid: '0',
|
pid: '0',
|
||||||
modelIndex: this.form.modelData.length,
|
modelIndex: this.form.modelData.length,
|
||||||
disabled: false,
|
disabled: false,
|
||||||
modelName: "",
|
modelName: '',
|
||||||
modelContent: "",
|
modelContent: '',
|
||||||
zrUserId:"",
|
zrUserId:'',
|
||||||
zrUserIdName:"",
|
zrUserIdName:'',
|
||||||
children:[],
|
children:[],
|
||||||
};
|
};
|
||||||
this.form.modelData.push(list);
|
this.form.modelData.push(list);
|
||||||
@@ -878,10 +878,10 @@ export default {
|
|||||||
pid: row.modelNum,
|
pid: row.modelNum,
|
||||||
modelIndex: row.children.length,
|
modelIndex: row.children.length,
|
||||||
disabled: false,
|
disabled: false,
|
||||||
modelName: "",
|
modelName: '',
|
||||||
modelContent: "",
|
modelContent: '',
|
||||||
zrUserId:"",
|
zrUserId:'',
|
||||||
zrUserIdName:"",
|
zrUserIdName:'',
|
||||||
children:[],
|
children:[],
|
||||||
};
|
};
|
||||||
row.children.push(list)
|
row.children.push(list)
|
||||||
@@ -895,7 +895,7 @@ export default {
|
|||||||
const hour = d.getHours()<10 ? '0'+d.getHours() : d.getHours();//得到时
|
const hour = d.getHours()<10 ? '0'+d.getHours() : d.getHours();//得到时
|
||||||
const minute = d.getMinutes()<10 ? '0'+d.getMinutes() : d.getMinutes();//得到分
|
const minute = d.getMinutes()<10 ? '0'+d.getMinutes() : d.getMinutes();//得到分
|
||||||
const second = d.getSeconds()<10 ? '0'+d.getSeconds() : d.getSeconds();//得到秒
|
const second = d.getSeconds()<10 ? '0'+d.getSeconds() : d.getSeconds();//得到秒
|
||||||
return [year, month, day].join('-') + " " + [hour, minute, second].join(':');//格式为:YY-MM-DD hh:mm:ss(当前时间)
|
return [year, month, day].join('-') + ' ' + [hour, minute, second].join(':');//格式为:YY-MM-DD hh:mm:ss(当前时间)
|
||||||
},
|
},
|
||||||
// choiceZRRS () {
|
// choiceZRRS () {
|
||||||
// if (this.userType === 'zrUserId') {
|
// if (this.userType === 'zrUserId') {
|
||||||
@@ -938,7 +938,8 @@ export default {
|
|||||||
this.drawerModal = false
|
this.drawerModal = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
// this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
||||||
// this.processNum()
|
// this.processNum()
|
||||||
} else {
|
} else {
|
||||||
@@ -995,7 +996,7 @@ export default {
|
|||||||
bpnId: this.$route.query.bpnId
|
bpnId: this.$route.query.bpnId
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
this.verifySarStandard = this.$route.query.verifySarStandard
|
this.verifySarStandard = this.$route.query.verifySarStandard
|
||||||
let mes = JSON.parse(res.mes)
|
const mes = JSON.parse(res.mes)
|
||||||
mes.form.date = new Date(this.$moment(mes.form.date).format('YYYY-MM-DD'))
|
mes.form.date = new Date(this.$moment(mes.form.date).format('YYYY-MM-DD'))
|
||||||
this.form = mes.form
|
this.form = mes.form
|
||||||
this.form['SYCXCLASS'] = this.filterObj(this.form['SYCXCLASS'])
|
this.form['SYCXCLASS'] = this.filterObj(this.form['SYCXCLASS'])
|
||||||
@@ -1070,96 +1071,96 @@ export default {
|
|||||||
},
|
},
|
||||||
handleProcessStandardNext(status) {
|
handleProcessStandardNext(status) {
|
||||||
switch (status) {
|
switch (status) {
|
||||||
// 新增
|
// 新增
|
||||||
case 1:
|
case 1:
|
||||||
this.selectedList = []
|
this.selectedList = []
|
||||||
this.standardCheckedList = []
|
this.standardCheckedList = []
|
||||||
this.standardDrawer = false
|
this.standardDrawer = false
|
||||||
this.verifySarStandard = true
|
this.verifySarStandard = true
|
||||||
this.clearFormData(this.form)
|
this.clearFormData(this.form)
|
||||||
break
|
break
|
||||||
// 带入
|
// 带入
|
||||||
case 2:
|
case 2:
|
||||||
if (this.standardCheckedList.length === 1) {
|
if (this.standardCheckedList.length === 1) {
|
||||||
this.$http.get('lawss/sarLawsInfo/getStandInfoUpdateById', {id: this.standardCheckedList[0].id}, {
|
this.$http.get('lawss/sarLawsInfo/getStandInfoUpdateById', {id: this.standardCheckedList[0].id}, {
|
||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
if(res && res.data){
|
if(res && res.data){
|
||||||
const bringData = res.data
|
const bringData = res.data
|
||||||
|
|
||||||
const json = Object.assign(bringData, bringData.attrInfoMap);
|
const json = Object.assign(bringData, bringData.attrInfoMap);
|
||||||
this.form = JSON.parse(JSON.stringify(json))
|
this.form = JSON.parse(JSON.stringify(json))
|
||||||
this.form.TGRLAWS = JSON.parse(JSON.stringify(json)).TGRLAWS && JSON.parse(JSON.stringify(json)).TGRLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).TGRLAWS.split(',') : []
|
this.form.TGRLAWS = JSON.parse(JSON.stringify(json)).TGRLAWS && JSON.parse(JSON.stringify(json)).TGRLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).TGRLAWS.split(',') : []
|
||||||
this.form.TGDWLAWS = JSON.parse(JSON.stringify(json)).TGDWLAWS && JSON.parse(JSON.stringify(json)).TGDWLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).TGDWLAWS.split(',') : []
|
this.form.TGDWLAWS = JSON.parse(JSON.stringify(json)).TGDWLAWS && JSON.parse(JSON.stringify(json)).TGDWLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).TGDWLAWS.split(',') : []
|
||||||
this.form.NYLXLAWS = JSON.parse(JSON.stringify(json)).NYLXLAWS && JSON.parse(JSON.stringify(json)).NYLXLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).NYLXLAWS.split(',') : []
|
this.form.NYLXLAWS = JSON.parse(JSON.stringify(json)).NYLXLAWS && JSON.parse(JSON.stringify(json)).NYLXLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).NYLXLAWS.split(',') : []
|
||||||
this.form.YYRZLAWS = JSON.parse(JSON.stringify(json)).YYRZLAWS && JSON.parse(JSON.stringify(json)).YYRZLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).YYRZLAWS.split(',') : []
|
this.form.YYRZLAWS = JSON.parse(JSON.stringify(json)).YYRZLAWS && JSON.parse(JSON.stringify(json)).YYRZLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).YYRZLAWS.split(',') : []
|
||||||
this.form.ZRBMLAWS = JSON.parse(JSON.stringify(json)).ZRBMLAWS && JSON.parse(JSON.stringify(json)).ZRBMLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).ZRBMLAWS.split(',') : []
|
this.form.ZRBMLAWS = JSON.parse(JSON.stringify(json)).ZRBMLAWS && JSON.parse(JSON.stringify(json)).ZRBMLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).ZRBMLAWS.split(',') : []
|
||||||
this.form.ZRGCSLAWS = JSON.parse(JSON.stringify(json)).ZRGCSLAWS && JSON.parse(JSON.stringify(json)).ZRGCSLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).ZRGCSLAWS.split(',') : []
|
this.form.ZRGCSLAWS = JSON.parse(JSON.stringify(json)).ZRGCSLAWS && JSON.parse(JSON.stringify(json)).ZRGCSLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).ZRGCSLAWS.split(',') : []
|
||||||
this.form.prcNum = this.prcNum
|
this.form.prcNum = this.prcNum
|
||||||
this.form.prcName = this.prcName
|
this.form.prcName = this.prcName
|
||||||
this.form['id'] = bringData.id
|
this.form['id'] = bringData.id
|
||||||
this.standardDrawer = false
|
this.standardDrawer = false
|
||||||
this.verifySarStandard = true
|
this.verifySarStandard = true
|
||||||
this.busVsFunc()
|
this.busVsFunc()
|
||||||
this.modelFunc()
|
this.modelFunc()
|
||||||
this.$forceUpdate()
|
this.$forceUpdate()
|
||||||
|
}
|
||||||
|
// 遍历对象初始化文件信息
|
||||||
|
for(const p in this.form) {
|
||||||
|
if (typeof (this.form[p ]) != 'function') {
|
||||||
|
this.initializeFileList(p,this.form[p]);
|
||||||
}
|
}
|
||||||
// 遍历对象初始化文件信息
|
}
|
||||||
for(const p in this.form) {
|
console.log('res',res);
|
||||||
if (typeof (this.form[p ]) != "function") {
|
})
|
||||||
this.initializeFileList(p,this.form[p]);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
console.log("res",res);
|
|
||||||
})
|
|
||||||
|
|
||||||
} else if (this.standardCheckedList.length > 1) {
|
} else if (this.standardCheckedList.length > 1) {
|
||||||
this.$message.warning('最多可以带入一条政策信息')
|
this.$message.warning('最多可以带入一条政策信息')
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning('请选择要带入的政策信息')
|
this.$message.warning('请选择要带入的政策信息')
|
||||||
}
|
}
|
||||||
break
|
break
|
||||||
// 取消
|
// 取消
|
||||||
case 3:
|
case 3:
|
||||||
this.selectedList = []
|
this.selectedList = []
|
||||||
this.standardCheckedList = []
|
this.standardCheckedList = []
|
||||||
this.standardDrawer = false
|
this.standardDrawer = false
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
initializeFileList(property ,value){
|
initializeFileList(property ,value){
|
||||||
switch (property){
|
switch (property){
|
||||||
case 'xgd':
|
case 'xgd':
|
||||||
this.getFileList(value,this.xgdFileList);
|
this.getFileList(value,this.xgdFileList);
|
||||||
break;
|
break;
|
||||||
case 'fbgbjbd':
|
case 'fbgbjbd':
|
||||||
this.getFileList(value,this.FBGBJBDFileList);
|
this.getFileList(value,this.FBGBJBDFileList);
|
||||||
break;
|
break;
|
||||||
case 'ssg':
|
case 'ssg':
|
||||||
this.getFileList(value,this.ssgFileList);
|
this.getFileList(value,this.ssgFileList);
|
||||||
break;
|
break;
|
||||||
case 'ca':
|
case 'ca':
|
||||||
this.getFileList(value,this.caFileList);
|
this.getFileList(value,this.caFileList);
|
||||||
break;
|
break;
|
||||||
case 'zbjbd':
|
case 'zbjbd':
|
||||||
this.getFileList(value,this.zbjbdFileList);
|
this.getFileList(value,this.zbjbdFileList);
|
||||||
break;
|
break;
|
||||||
case 'kwj':
|
case 'kwj':
|
||||||
this.getFileList(value,this.kwjFileList);
|
this.getFileList(value,this.kwjFileList);
|
||||||
break;
|
break;
|
||||||
case 'jdwj':
|
case 'jdwj':
|
||||||
this.getFileList(value,this.jdwjFileList);
|
this.getFileList(value,this.jdwjFileList);
|
||||||
break;
|
break;
|
||||||
case 'bpg':
|
case 'bpg':
|
||||||
this.getFileList(value,this.bpgFileList);
|
this.getFileList(value,this.bpgFileList);
|
||||||
break;
|
break;
|
||||||
case 'zqyjg':
|
case 'zqyjg':
|
||||||
this.getFileList(value,this.zqyjgFileList);
|
this.getFileList(value,this.zqyjgFileList);
|
||||||
break;
|
break;
|
||||||
case 'glwj':
|
case 'glwj':
|
||||||
this.getFileList(value,this.glwjFileList);
|
this.getFileList(value,this.glwjFileList);
|
||||||
break;
|
break;
|
||||||
default: ;
|
default:
|
||||||
}
|
}
|
||||||
},getFileList(fileIds,defaultFileList){
|
},getFileList(fileIds,defaultFileList){
|
||||||
|
|
||||||
@@ -1170,17 +1171,17 @@ export default {
|
|||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
|
|
||||||
let fileList = res.data
|
const fileList = res.data
|
||||||
if (fileList != null && fileList.length > 0) {
|
if (fileList != null && fileList.length > 0) {
|
||||||
for (let i = 0; i < fileList.length; i++) {
|
for (let i = 0; i < fileList.length; i++) {
|
||||||
let obj = {name: '', response: {}}
|
const obj = {name: '', response: {}}
|
||||||
obj.name = fileList[i].oldFileName
|
obj.name = fileList[i].oldFileName
|
||||||
obj.response.data = fileList[i]
|
obj.response.data = fileList[i]
|
||||||
|
|
||||||
|
|
||||||
//根据以‘,’分割的id查询到的文件信息,放入对应的文件list中
|
//根据以‘,’分割的id查询到的文件信息,放入对应的文件list中
|
||||||
defaultFileList.push(obj)
|
defaultFileList.push(obj)
|
||||||
console.log("defaultFileList",defaultFileList);
|
console.log('defaultFileList',defaultFileList);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}, e => {
|
}, e => {
|
||||||
@@ -1248,8 +1249,8 @@ export default {
|
|||||||
saveUserInfo () {
|
saveUserInfo () {
|
||||||
this.filterText = ''
|
this.filterText = ''
|
||||||
if (this.userType === 'zrUserId') {
|
if (this.userType === 'zrUserId') {
|
||||||
this.roleForm.zrUserId = this.zrUserIds.map(item => item.id).join(",")
|
this.roleForm.zrUserId = this.zrUserIds.map(item => item.id).join(',')
|
||||||
this.roleForm.zrUserName = this.zrUserIds.map(item => item.name).join(",")
|
this.roleForm.zrUserName = this.zrUserIds.map(item => item.name).join(',')
|
||||||
} else if (this.userType === 'jlUserId') {
|
} else if (this.userType === 'jlUserId') {
|
||||||
this.roleForm.jlUserId = this.roleRow.id
|
this.roleForm.jlUserId = this.roleRow.id
|
||||||
this.roleForm.jlUserName = this.roleRow.name
|
this.roleForm.jlUserName = this.roleRow.name
|
||||||
@@ -1280,7 +1281,7 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
}else {
|
}else {
|
||||||
var getlist = this.$refs.tree.getCheckedNodes().concat(this.$refs.tree.getHalfCheckedNodes());
|
const getlist = this.$refs.tree.getCheckedNodes().concat(this.$refs.tree.getHalfCheckedNodes());
|
||||||
if(getlist.length == 1) {
|
if(getlist.length == 1) {
|
||||||
this.roleRow = getlist[0]
|
this.roleRow = getlist[0]
|
||||||
}else {
|
}else {
|
||||||
@@ -1292,15 +1293,15 @@ export default {
|
|||||||
// 更多
|
// 更多
|
||||||
handleCommand (command) {
|
handleCommand (command) {
|
||||||
switch (command[2]) {
|
switch (command[2]) {
|
||||||
case '新增':
|
case '新增':
|
||||||
this.createChildRow(command[0],command[1])
|
this.createChildRow(command[0],command[1])
|
||||||
break
|
break
|
||||||
case '维护':
|
case '维护':
|
||||||
command[1].disabled = false
|
command[1].disabled = false
|
||||||
break
|
break
|
||||||
case '删除':
|
case '删除':
|
||||||
this.handleDelete(command[0],command[1])
|
this.handleDelete(command[0],command[1])
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
choiceZRRList (type, title, id) {
|
choiceZRRList (type, title, id) {
|
||||||
@@ -1360,8 +1361,8 @@ export default {
|
|||||||
this.modalShowFlag2 = true
|
this.modalShowFlag2 = true
|
||||||
this.url = ''
|
this.url = ''
|
||||||
this.urlChild = ''
|
this.urlChild = ''
|
||||||
this.url="sarVppsTree/list"
|
this.url='sarVppsTree/list'
|
||||||
this.urlChild="sarVppsTree/childByList"
|
this.urlChild='sarVppsTree/childByList'
|
||||||
this.key1++
|
this.key1++
|
||||||
},
|
},
|
||||||
choiceZRR3 (type, title, id) {
|
choiceZRR3 (type, title, id) {
|
||||||
@@ -1369,8 +1370,8 @@ export default {
|
|||||||
this.modalShowFlag3 = true
|
this.modalShowFlag3 = true
|
||||||
this.url = ''
|
this.url = ''
|
||||||
this.urlChild = ''
|
this.urlChild = ''
|
||||||
this.url="sarVppsTree/list"
|
this.url='sarVppsTree/list'
|
||||||
this.urlChild="sarVppsTree/childByList"
|
this.urlChild='sarVppsTree/childByList'
|
||||||
this.key2++
|
this.key2++
|
||||||
},
|
},
|
||||||
choiceZRR4 (type, title, id) {
|
choiceZRR4 (type, title, id) {
|
||||||
@@ -1378,8 +1379,8 @@ export default {
|
|||||||
this.modalShowFlag4 = true
|
this.modalShowFlag4 = true
|
||||||
this.url = ''
|
this.url = ''
|
||||||
this.urlChild = ''
|
this.urlChild = ''
|
||||||
this.url="sarModelTree/list"
|
this.url='sarModelTree/list'
|
||||||
this.urlChild="sarModelTree/childByList"
|
this.urlChild='sarModelTree/childByList'
|
||||||
this.key3++
|
this.key3++
|
||||||
},
|
},
|
||||||
getTree () {
|
getTree () {
|
||||||
@@ -1499,7 +1500,7 @@ export default {
|
|||||||
},
|
},
|
||||||
// 点击查看
|
// 点击查看
|
||||||
handlePreview (item) {
|
handlePreview (item) {
|
||||||
let routeUrl = this.$router.resolve({
|
const routeUrl = this.$router.resolve({
|
||||||
name: 'OtherLawsStandDetails',
|
name: 'OtherLawsStandDetails',
|
||||||
params: {
|
params: {
|
||||||
id: item.id,
|
id: item.id,
|
||||||
@@ -1557,10 +1558,10 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
beginImportFile (file) {
|
beginImportFile (file) {
|
||||||
var filename = file.name
|
const filename = file.name
|
||||||
var index1 = filename.lastIndexOf('.')
|
const index1 = filename.lastIndexOf('.')
|
||||||
var index2 = filename.length
|
const index2 = filename.length
|
||||||
var fileSuffix = filename.substring(index1, index2)
|
const fileSuffix = filename.substring(index1, index2)
|
||||||
// const fileSuffix = file.name.split('.')[1] // 后缀名
|
// const fileSuffix = file.name.split('.')[1] // 后缀名
|
||||||
// 判断上传文件格式
|
// 判断上传文件格式
|
||||||
if (fileSuffix === '.pdf' || fileSuffix === '.PDF' || fileSuffix === '.ppt'|| fileSuffix === '.PPT' || fileSuffix === '.pptx'|| fileSuffix === '.PPTX'|| fileSuffix === '.doc' || fileSuffix === '.DOC' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.zip' || fileSuffix === '.xls' || fileSuffix === '.xlsx') {
|
if (fileSuffix === '.pdf' || fileSuffix === '.PDF' || fileSuffix === '.ppt'|| fileSuffix === '.PPT' || fileSuffix === '.pptx'|| fileSuffix === '.PPTX'|| fileSuffix === '.doc' || fileSuffix === '.DOC' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.zip' || fileSuffix === '.xls' || fileSuffix === '.xlsx') {
|
||||||
@@ -1618,9 +1619,9 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}).catch(e => {
|
}).catch(e => {
|
||||||
console.log(e)
|
console.log(e)
|
||||||
this.$message.warning('文件不存在,预览失败')
|
this.$message.warning('文件不存在,预览失败')
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 导入标准数据成功后执行
|
// 导入标准数据成功后执行
|
||||||
@@ -1632,22 +1633,22 @@ export default {
|
|||||||
if (response.ok) {
|
if (response.ok) {
|
||||||
|
|
||||||
switch (this.fileType){
|
switch (this.fileType){
|
||||||
case 'FBGBUSS':
|
case 'FBGBUSS':
|
||||||
this.FBGBUSSFileList = fileList
|
this.FBGBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
case 'BZSMBUSS' :
|
case 'BZSMBUSS' :
|
||||||
this.BZSMBUSSFileList = fileList
|
this.BZSMBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
case 'LSBBBUSS':
|
case 'LSBBBUSS':
|
||||||
this.LSBBBUSSFileList = fileList
|
this.LSBBBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
case 'GLWJLAWS':
|
case 'GLWJLAWS':
|
||||||
this.QTWJBUSSFileList = fileList
|
this.QTWJBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
case 'GLWJBUSS':
|
case 'GLWJBUSS':
|
||||||
this.GLWJBUSSFileList = fileList
|
this.GLWJBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
default : ;
|
default :
|
||||||
}
|
}
|
||||||
this.$message({
|
this.$message({
|
||||||
// showClose: true,
|
// showClose: true,
|
||||||
@@ -1667,22 +1668,22 @@ export default {
|
|||||||
this.fileType = type;
|
this.fileType = type;
|
||||||
|
|
||||||
switch (this.fileType){
|
switch (this.fileType){
|
||||||
case 'FBGBUSS':
|
case 'FBGBUSS':
|
||||||
this.fileList=this.FBGBUSSFileList
|
this.fileList=this.FBGBUSSFileList
|
||||||
break;
|
break;
|
||||||
case 'BZSMBUSS' :
|
case 'BZSMBUSS' :
|
||||||
this.fileList=this.BZSMBUSSFileList
|
this.fileList=this.BZSMBUSSFileList
|
||||||
break;
|
break;
|
||||||
case 'LSBBBUSS':
|
case 'LSBBBUSS':
|
||||||
this.fileList=this.LSBBBUSSFileList
|
this.fileList=this.LSBBBUSSFileList
|
||||||
break;
|
break;
|
||||||
case 'QTWJBUSS':
|
case 'QTWJBUSS':
|
||||||
this.fileList=this.QTWJBUSSFileList
|
this.fileList=this.QTWJBUSSFileList
|
||||||
break;
|
break;
|
||||||
case 'GLWJBUSS':
|
case 'GLWJBUSS':
|
||||||
this.fileList=this.GLWJBUSSFileList
|
this.fileList=this.GLWJBUSSFileList
|
||||||
break;
|
break;
|
||||||
default : ;
|
default :
|
||||||
}
|
}
|
||||||
this.fileMadel = true;
|
this.fileMadel = true;
|
||||||
|
|
||||||
@@ -1690,29 +1691,29 @@ export default {
|
|||||||
removeOneFile(file, fileList) {
|
removeOneFile(file, fileList) {
|
||||||
|
|
||||||
switch (this.fileType){
|
switch (this.fileType){
|
||||||
case 'FBGBUSS':
|
case 'FBGBUSS':
|
||||||
this.FBGBUSSFileList = fileList
|
this.FBGBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
case 'BZSMBUSS' :
|
case 'BZSMBUSS' :
|
||||||
this.BZSMBUSSFileList = fileList
|
this.BZSMBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
case 'LSBBBUSS':
|
case 'LSBBBUSS':
|
||||||
this.LSBBBUSSFileList = fileList
|
this.LSBBBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
case 'QTWJBUSS':
|
case 'QTWJBUSS':
|
||||||
this.QTWJBUSSFileList = fileList
|
this.QTWJBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
case 'GLWJBUSS':
|
case 'GLWJBUSS':
|
||||||
this.GLWJBUSSFileList = fileList
|
this.GLWJBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
default : ;
|
default :
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
popoverHideBusVs (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
popoverHideBusVs (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
||||||
if(checkedData) {
|
if(checkedData) {
|
||||||
if(checkedData.length > 0){
|
if(checkedData.length > 0){
|
||||||
this.form.VPPSBMBUSS = checkedData.map(item => item.code).join(",")
|
this.form.VPPSBMBUSS = checkedData.map(item => item.code).join(',')
|
||||||
this.form.VPPSCNBUSS = checkedData.map(item => item.chineseName).join(",")
|
this.form.VPPSCNBUSS = checkedData.map(item => item.chineseName).join(',')
|
||||||
}else {
|
}else {
|
||||||
this.form.VPPSBMBUSS = checkedData.code
|
this.form.VPPSBMBUSS = checkedData.code
|
||||||
this.form.VPPSCNBUSS = checkedData.chineseName
|
this.form.VPPSCNBUSS = checkedData.chineseName
|
||||||
@@ -1724,7 +1725,7 @@ export default {
|
|||||||
popoverHide (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
popoverHide (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
||||||
if(checkedData) {
|
if(checkedData) {
|
||||||
if(checkedData.length > 0){
|
if(checkedData.length > 0){
|
||||||
this.form.TXLBBUSS = checkedData.map(item => item.menuName).join(",")
|
this.form.TXLBBUSS = checkedData.map(item => item.menuName).join(',')
|
||||||
}else {
|
}else {
|
||||||
this.form.TXLBBUSS = checkedData.menuName
|
this.form.TXLBBUSS = checkedData.menuName
|
||||||
}
|
}
|
||||||
@@ -1738,8 +1739,8 @@ export default {
|
|||||||
popoverHideBusVs (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
popoverHideBusVs (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
||||||
if(checkedData && checkedData.length != 0) {
|
if(checkedData && checkedData.length != 0) {
|
||||||
if(checkedData.length > 0 && checkedData.length != 0){
|
if(checkedData.length > 0 && checkedData.length != 0){
|
||||||
this.form.cycvppsbm = checkedData.map(item => item.code).join(",")
|
this.form.cycvppsbm = checkedData.map(item => item.code).join(',')
|
||||||
this.form.cycvppscn = checkedData.map(item => item.chineseName).join(",")
|
this.form.cycvppscn = checkedData.map(item => item.chineseName).join(',')
|
||||||
}else {
|
}else {
|
||||||
this.form.cycvppsbm = checkedData.code
|
this.form.cycvppsbm = checkedData.code
|
||||||
this.form.cycvppscn = checkedData.chineseName
|
this.form.cycvppscn = checkedData.chineseName
|
||||||
@@ -1754,8 +1755,8 @@ export default {
|
|||||||
popoverHideCarVs (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
popoverHideCarVs (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
||||||
if(checkedData && checkedData.length != 0) {
|
if(checkedData && checkedData.length != 0) {
|
||||||
if(checkedData.length > 0){
|
if(checkedData.length > 0){
|
||||||
this.form.kccvppsbm = checkedData.map(item => item.code).join(",")
|
this.form.kccvppsbm = checkedData.map(item => item.code).join(',')
|
||||||
this.form.kccvppscn = checkedData.map(item => item.chineseName).join(",")
|
this.form.kccvppscn = checkedData.map(item => item.chineseName).join(',')
|
||||||
}else {
|
}else {
|
||||||
this.form.kccvppsbm = checkedData.code
|
this.form.kccvppsbm = checkedData.code
|
||||||
this.form.kccvppscn = checkedData.chineseName
|
this.form.kccvppscn = checkedData.chineseName
|
||||||
@@ -1770,8 +1771,8 @@ export default {
|
|||||||
popoverHideModel (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
popoverHideModel (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
||||||
if(checkedData && checkedData.length != 0) {
|
if(checkedData && checkedData.length != 0) {
|
||||||
if(checkedData.length > 0){
|
if(checkedData.length > 0){
|
||||||
this.form.dybxh = checkedData.map(item => item.model).join(",")
|
this.form.dybxh = checkedData.map(item => item.model).join(',')
|
||||||
this.form.dymc = checkedData.map(item => item.name).join(",")
|
this.form.dymc = checkedData.map(item => item.name).join(',')
|
||||||
}else {
|
}else {
|
||||||
this.form.dybxh = checkedData.model
|
this.form.dybxh = checkedData.model
|
||||||
this.form.dymc = checkedData.name
|
this.form.dymc = checkedData.name
|
||||||
@@ -1788,7 +1789,7 @@ export default {
|
|||||||
},
|
},
|
||||||
OkDrawer() {
|
OkDrawer() {
|
||||||
this.ListModel = false
|
this.ListModel = false
|
||||||
var item = {
|
const item = {
|
||||||
remarks: '123'
|
remarks: '123'
|
||||||
}
|
}
|
||||||
this.data.push(item)
|
this.data.push(item)
|
||||||
@@ -1808,7 +1809,7 @@ export default {
|
|||||||
// }
|
// }
|
||||||
|
|
||||||
this.saveLoading = true
|
this.saveLoading = true
|
||||||
let _formData = new FormData()
|
const _formData = new FormData()
|
||||||
// _formData.append('id', this.bpnId)
|
// _formData.append('id', this.bpnId)
|
||||||
_formData.append('createUser', this.$store.getters.userInfo.account)
|
_formData.append('createUser', this.$store.getters.userInfo.account)
|
||||||
_formData.append('createUserName', this.$store.getters.userInfo.uName)
|
_formData.append('createUserName', this.$store.getters.userInfo.uName)
|
||||||
@@ -1832,20 +1833,20 @@ export default {
|
|||||||
fileInfoHandle(){
|
fileInfoHandle(){
|
||||||
|
|
||||||
//拼接文件名和id 提交到流程Activity
|
//拼接文件名和id 提交到流程Activity
|
||||||
this.form.FBGBUSS=this.FBGBUSSFileList.map(item => item.response.data.id).join(",")
|
this.form.FBGBUSS=this.FBGBUSSFileList.map(item => item.response.data.id).join(',')
|
||||||
this.form.FBGBUSSName=this.FBGBUSSFileList.map(item => item.name).join(",")
|
this.form.FBGBUSSName=this.FBGBUSSFileList.map(item => item.name).join(',')
|
||||||
|
|
||||||
this.form.BZSMBUSS=this.BZSMBUSSFileList.map(item => item.response.data.id).join(",")
|
this.form.BZSMBUSS=this.BZSMBUSSFileList.map(item => item.response.data.id).join(',')
|
||||||
this.form.BZSMBUSSName=this.BZSMBUSSFileList.map(item => item.name).join(",")
|
this.form.BZSMBUSSName=this.BZSMBUSSFileList.map(item => item.name).join(',')
|
||||||
|
|
||||||
this.form.LSBBBUSS=this.LSBBBUSSFileList.map(item => item.response.data.id).join(",")
|
this.form.LSBBBUSS=this.LSBBBUSSFileList.map(item => item.response.data.id).join(',')
|
||||||
this.form.LSBBBUSSName=this.LSBBBUSSFileList.map(item => item.name).join(",")
|
this.form.LSBBBUSSName=this.LSBBBUSSFileList.map(item => item.name).join(',')
|
||||||
|
|
||||||
this.form.QTWJBUSS=this.QTWJBUSSFileList.map(item => item.response.data.id).join(",")
|
this.form.QTWJBUSS=this.QTWJBUSSFileList.map(item => item.response.data.id).join(',')
|
||||||
this.form.QTWJBUSSName=this.QTWJBUSSFileList.map(item => item.name).join(",")
|
this.form.QTWJBUSSName=this.QTWJBUSSFileList.map(item => item.name).join(',')
|
||||||
|
|
||||||
this.form.GLWJBUSS=this.GLWJBUSSFileList.map(item => item.response.data.id).join(",")
|
this.form.GLWJBUSS=this.GLWJBUSSFileList.map(item => item.response.data.id).join(',')
|
||||||
this.form.GLWJBUSSName=this.GLWJBUSSFileList.map(item => item.name).join(",")
|
this.form.GLWJBUSSName=this.GLWJBUSSFileList.map(item => item.name).join(',')
|
||||||
|
|
||||||
},
|
},
|
||||||
// 删除方法
|
// 删除方法
|
||||||
@@ -1865,7 +1866,7 @@ export default {
|
|||||||
return data
|
return data
|
||||||
},
|
},
|
||||||
changeRestTree(val) {
|
changeRestTree(val) {
|
||||||
let arr = [];
|
const arr = [];
|
||||||
if (val.length !== 0) {
|
if (val.length !== 0) {
|
||||||
val.forEach(item => {
|
val.forEach(item => {
|
||||||
if (item.children.length >= 1) {
|
if (item.children.length >= 1) {
|
||||||
@@ -1873,7 +1874,7 @@ export default {
|
|||||||
}
|
}
|
||||||
if(item.pid === '0'){
|
if(item.pid === '0'){
|
||||||
item.id = arr.length + 1,
|
item.id = arr.length + 1,
|
||||||
item.modelNum = arr.length + 1+''
|
item.modelNum = arr.length + 1+''
|
||||||
item.orderNum = arr.length + 1 // orderNum为新创建行的索引
|
item.orderNum = arr.length + 1 // orderNum为新创建行的索引
|
||||||
item.modelIndex = arr.length
|
item.modelIndex = arr.length
|
||||||
}else {
|
}else {
|
||||||
@@ -1890,19 +1891,19 @@ export default {
|
|||||||
return arr;
|
return arr;
|
||||||
},
|
},
|
||||||
changeTree(val) {
|
changeTree(val) {
|
||||||
let arr = [];
|
const arr = [];
|
||||||
this.modelDataNameVerify = []
|
this.modelDataNameVerify = []
|
||||||
this.modelDataZrUserVerify = []
|
this.modelDataZrUserVerify = []
|
||||||
if (val.length !== 0) {
|
if (val.length !== 0) {
|
||||||
val.forEach(item => {
|
val.forEach(item => {
|
||||||
let obj = {};
|
const obj = {};
|
||||||
obj.modelName = item.modelName;
|
obj.modelName = item.modelName;
|
||||||
obj.zrUserIdName = item.zrUserIdName;
|
obj.zrUserIdName = item.zrUserIdName;
|
||||||
if(!obj.modelName || obj.modelName === ''){
|
if(!obj.modelName || obj.modelName === ''){
|
||||||
this.modelDataNameVerify.push("1")
|
this.modelDataNameVerify.push('1')
|
||||||
}
|
}
|
||||||
if(item.pid === '0' && (!obj.zrUserIdName || obj.zrUserIdName === '')){
|
if(item.pid === '0' && (!obj.zrUserIdName || obj.zrUserIdName === '')){
|
||||||
this.modelDataZrUserVerify.push("1")
|
this.modelDataZrUserVerify.push('1')
|
||||||
}
|
}
|
||||||
if (item.children.length >= 1) {
|
if (item.children.length >= 1) {
|
||||||
item.children = this.changeTree(item.children);
|
item.children = this.changeTree(item.children);
|
||||||
@@ -1965,13 +1966,14 @@ export default {
|
|||||||
}, res => {
|
}, res => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
if(this.formTongGuo.approvalOpinion === '1'){
|
if(this.formTongGuo.approvalOpinion === '1'){
|
||||||
this.$message.warning("驳回成功")
|
this.$message.warning('驳回成功')
|
||||||
}else{
|
}else{
|
||||||
this.$message.success(res.message)
|
this.$message.success(res.message)
|
||||||
// this.processCreateLaws(json)
|
// this.processCreateLaws(json)
|
||||||
}
|
}
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// 流程提交之后,应该流转至待办任务页面
|
// 流程提交之后,应该流转至待办任务页面
|
||||||
// this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
// this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
||||||
}else {
|
}else {
|
||||||
@@ -2027,16 +2029,16 @@ export default {
|
|||||||
if(obj instanceof Array){
|
if(obj instanceof Array){
|
||||||
return obj;
|
return obj;
|
||||||
}else {
|
}else {
|
||||||
return obj.split(",")
|
return obj.split(',')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return "";
|
return '';
|
||||||
},
|
},
|
||||||
assemble(ids,names){
|
assemble(ids,names){
|
||||||
let list= new Array();
|
const list= new Array();
|
||||||
if(ids && ids !== '' && names && names !== ''){
|
if(ids && ids !== '' && names && names !== ''){
|
||||||
let idArray=ids.split(',');
|
const idArray=ids.split(',');
|
||||||
let nameArray=names.split(',');
|
const nameArray=names.split(',');
|
||||||
for(let i=0; i<idArray.length; i++){
|
for(let i=0; i<idArray.length; i++){
|
||||||
list.push({id:idArray[i],name:nameArray[i]});
|
list.push({id:idArray[i],name:nameArray[i]});
|
||||||
}
|
}
|
||||||
@@ -2098,7 +2100,7 @@ export default {
|
|||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
Promise.all([this.getTaskId()]).then((value) => {
|
Promise.all([this.getTaskId()]).then((value) => {
|
||||||
if(value[0] &&value.length > 0){
|
if(value[0] &&value.length > 0){
|
||||||
let mes = JSON.parse(value[0].mes)
|
const mes = JSON.parse(value[0].mes)
|
||||||
mes.form.date = new Date(this.$moment(mes.form.date).format('YYYY-MM-DD'))
|
mes.form.date = new Date(this.$moment(mes.form.date).format('YYYY-MM-DD'))
|
||||||
this.form = mes.form
|
this.form = mes.form
|
||||||
this.taskIds = mes.taskIds;
|
this.taskIds = mes.taskIds;
|
||||||
|
|||||||
@@ -216,7 +216,8 @@ export default {
|
|||||||
this.drawerModal = false
|
this.drawerModal = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
}, 100)
|
}, 100)
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
|||||||
@@ -243,27 +243,27 @@
|
|||||||
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
||||||
import ProcessFooter from '../../components/ProcessFooter'
|
import ProcessFooter from '../../components/ProcessFooter'
|
||||||
import ProcessTitle from '../../components/ProcessTitle'
|
import ProcessTitle from '../../components/ProcessTitle'
|
||||||
import formList from "process/phone/qbrk/common/formList";
|
import formList from 'process/phone/qbrk/common/formList';
|
||||||
import {
|
import {
|
||||||
inboundLiaisonDetail,
|
inboundLiaisonDetail,
|
||||||
processCreateStand,
|
processCreateStand,
|
||||||
changeAssigneeNew,
|
changeAssigneeNew,
|
||||||
queryTaskFirst,
|
queryTaskFirst,
|
||||||
getBusStandFileByAttId, saveTaskFirst
|
getBusStandFileByAttId, saveTaskFirst
|
||||||
} from "api/process";
|
} from 'api/process';
|
||||||
import TreeSelect from '@/components/treeSelect/treeSelect.vue';
|
import TreeSelect from '@/components/treeSelect/treeSelect.vue';
|
||||||
import CusTomDataPickerGroup
|
import CusTomDataPickerGroup
|
||||||
from "@/pages/regulatoryRepository/localProductsOrProjectLibrary/components/DatePickerGroup";
|
from '@/pages/regulatoryRepository/localProductsOrProjectLibrary/components/DatePickerGroup';
|
||||||
import Vue from 'vue';
|
import Vue from 'vue';
|
||||||
import { Form } from 'vant';
|
import { Form } from 'vant';
|
||||||
import { Field } from 'vant';
|
import { Field } from 'vant';
|
||||||
import { getEvaluationIndex } from "api/businessApi";
|
import { getEvaluationIndex } from 'api/businessApi';
|
||||||
import hwh5 from '@/api/hwh5-cloudonline.js'
|
import hwh5 from '@/api/hwh5-cloudonline.js'
|
||||||
|
|
||||||
Vue.use(Form);
|
Vue.use(Form);
|
||||||
Vue.use(Field);
|
Vue.use(Field);
|
||||||
export default {
|
export default {
|
||||||
name: "phoneBussLibrary10",
|
name: 'phoneBussLibrary10',
|
||||||
components: {
|
components: {
|
||||||
CusTomDataPickerGroup,
|
CusTomDataPickerGroup,
|
||||||
ProcessHeaderPhone,
|
ProcessHeaderPhone,
|
||||||
@@ -699,21 +699,21 @@ export default {
|
|||||||
'form.issueTime': {
|
'form.issueTime': {
|
||||||
handler: function() {
|
handler: function() {
|
||||||
if(this.form.issueTime !== undefined && this.form.issueTime !== null && this.form.issueTime !== ''){
|
if(this.form.issueTime !== undefined && this.form.issueTime !== null && this.form.issueTime !== ''){
|
||||||
let date = new Date(this.$moment(this.form.issueTime).format('YYYY-MM-DD'))
|
const date = new Date(this.$moment(this.form.issueTime).format('YYYY-MM-DD'))
|
||||||
// const FSRQBUSS = date.getFullYear()+ 5 + '-' + date.getMonth() + '-' + date.getDate()
|
// const FSRQBUSS = date.getFullYear()+ 5 + '-' + date.getMonth() + '-' + date.getDate()
|
||||||
// this.sarBussionessStandEO["FSRQBUSS"] = FSRQBUSS
|
// this.sarBussionessStandEO["FSRQBUSS"] = FSRQBUSS
|
||||||
|
|
||||||
let year = date.getFullYear()+5;
|
const year = date.getFullYear()+5;
|
||||||
let month =(date.getMonth() + 1).toString();
|
let month =(date.getMonth() + 1).toString();
|
||||||
let day = (date.getDate()).toString();
|
let day = (date.getDate()).toString();
|
||||||
if (month.length == 1) {
|
if (month.length == 1) {
|
||||||
month = "0" + month;
|
month = '0' + month;
|
||||||
}
|
}
|
||||||
if (day.length == 1) {
|
if (day.length == 1) {
|
||||||
day = "0" + day;
|
day = '0' + day;
|
||||||
}
|
}
|
||||||
const FSRQBUSS = year + "-" + month + "-" + day;
|
const FSRQBUSS = year + '-' + month + '-' + day;
|
||||||
this.form["FSRQBUSS"] = FSRQBUSS
|
this.form['FSRQBUSS'] = FSRQBUSS
|
||||||
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -722,7 +722,7 @@ export default {
|
|||||||
handler (val) {
|
handler (val) {
|
||||||
if (val !== '' && val !== null && typeof (val) !== 'undefined') {
|
if (val !== '' && val !== null && typeof (val) !== 'undefined') {
|
||||||
if (val instanceof Array) {
|
if (val instanceof Array) {
|
||||||
this.countryArr = val.join(",");
|
this.countryArr = val.join(',');
|
||||||
} else {
|
} else {
|
||||||
this.countryArr = val
|
this.countryArr = val
|
||||||
}
|
}
|
||||||
@@ -751,8 +751,8 @@ export default {
|
|||||||
console.log('modelData.' + index + '.modelName')
|
console.log('modelData.' + index + '.modelName')
|
||||||
return 'modelData.' + index + '.modelName';
|
return 'modelData.' + index + '.modelName';
|
||||||
}else {
|
}else {
|
||||||
let propStr = "";
|
let propStr = '';
|
||||||
const indexList = row.modelIndex.split(",");
|
const indexList = row.modelIndex.split(',');
|
||||||
for (let i = 0; i < indexList.length; i++) {
|
for (let i = 0; i < indexList.length; i++) {
|
||||||
if(i === 0){
|
if(i === 0){
|
||||||
propStr += 'modelData.' + indexList[i]
|
propStr += 'modelData.' + indexList[i]
|
||||||
@@ -783,10 +783,10 @@ export default {
|
|||||||
console.log(row)
|
console.log(row)
|
||||||
console.log(this.form.modelData)
|
console.log(this.form.modelData)
|
||||||
// 模态框删除按钮
|
// 模态框删除按钮
|
||||||
this.$confirm("是否确认删除本条数据?", "提示", {
|
this.$confirm('是否确认删除本条数据?', '提示', {
|
||||||
confirmButtonText: "确定",
|
confirmButtonText: '确定',
|
||||||
cancelButtonText: "取消",
|
cancelButtonText: '取消',
|
||||||
type: "info"
|
type: 'info'
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
// 此为假删除,只是删除了模态框中当前行的数据,并没有真正删除表格数据
|
// 此为假删除,只是删除了模态框中当前行的数据,并没有真正删除表格数据
|
||||||
const ids = []
|
const ids = []
|
||||||
@@ -794,8 +794,8 @@ export default {
|
|||||||
this.form.modelData = this.changeRestTree(this.deletedId(this.form.modelData,ids))
|
this.form.modelData = this.changeRestTree(this.deletedId(this.form.modelData,ids))
|
||||||
console.log(this.form.modelData)
|
console.log(this.form.modelData)
|
||||||
this.$message({
|
this.$message({
|
||||||
message: "删除成功",
|
message: '删除成功',
|
||||||
type: "success",
|
type: 'success',
|
||||||
duration: 2000
|
duration: 2000
|
||||||
});
|
});
|
||||||
this.$forceUpdate()
|
this.$forceUpdate()
|
||||||
@@ -824,10 +824,10 @@ export default {
|
|||||||
pid: '0',
|
pid: '0',
|
||||||
modelIndex: this.form.modelData.length,
|
modelIndex: this.form.modelData.length,
|
||||||
disabled: false,
|
disabled: false,
|
||||||
modelName: "",
|
modelName: '',
|
||||||
modelContent: "",
|
modelContent: '',
|
||||||
zrUserId:"",
|
zrUserId:'',
|
||||||
zrUserIdName:"",
|
zrUserIdName:'',
|
||||||
children:[],
|
children:[],
|
||||||
};
|
};
|
||||||
this.form.modelData.push(list);
|
this.form.modelData.push(list);
|
||||||
@@ -849,10 +849,10 @@ export default {
|
|||||||
pid: row.modelNum,
|
pid: row.modelNum,
|
||||||
modelIndex: row.children.length,
|
modelIndex: row.children.length,
|
||||||
disabled: false,
|
disabled: false,
|
||||||
modelName: "",
|
modelName: '',
|
||||||
modelContent: "",
|
modelContent: '',
|
||||||
zrUserId:"",
|
zrUserId:'',
|
||||||
zrUserIdName:"",
|
zrUserIdName:'',
|
||||||
children:[],
|
children:[],
|
||||||
};
|
};
|
||||||
row.children.push(list)
|
row.children.push(list)
|
||||||
@@ -866,7 +866,7 @@ export default {
|
|||||||
const hour = d.getHours()<10 ? '0'+d.getHours() : d.getHours();//得到时
|
const hour = d.getHours()<10 ? '0'+d.getHours() : d.getHours();//得到时
|
||||||
const minute = d.getMinutes()<10 ? '0'+d.getMinutes() : d.getMinutes();//得到分
|
const minute = d.getMinutes()<10 ? '0'+d.getMinutes() : d.getMinutes();//得到分
|
||||||
const second = d.getSeconds()<10 ? '0'+d.getSeconds() : d.getSeconds();//得到秒
|
const second = d.getSeconds()<10 ? '0'+d.getSeconds() : d.getSeconds();//得到秒
|
||||||
return [year, month, day].join('-') + " " + [hour, minute, second].join(':');//格式为:YY-MM-DD hh:mm:ss(当前时间)
|
return [year, month, day].join('-') + ' ' + [hour, minute, second].join(':');//格式为:YY-MM-DD hh:mm:ss(当前时间)
|
||||||
},
|
},
|
||||||
// choiceZRRS () {
|
// choiceZRRS () {
|
||||||
// if (this.userType === 'zrUserId') {
|
// if (this.userType === 'zrUserId') {
|
||||||
@@ -909,7 +909,8 @@ export default {
|
|||||||
this.drawerModal = false
|
this.drawerModal = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
// this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
||||||
this.processNum()
|
this.processNum()
|
||||||
} else {
|
} else {
|
||||||
@@ -966,7 +967,7 @@ export default {
|
|||||||
bpnId: this.$route.query.bpnId
|
bpnId: this.$route.query.bpnId
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
this.verifySarStandard = this.$route.query.verifySarStandard
|
this.verifySarStandard = this.$route.query.verifySarStandard
|
||||||
let mes = JSON.parse(res.mes)
|
const mes = JSON.parse(res.mes)
|
||||||
mes.form.date = new Date(this.$moment(mes.form.date).format('YYYY-MM-DD'))
|
mes.form.date = new Date(this.$moment(mes.form.date).format('YYYY-MM-DD'))
|
||||||
this.form = mes.form
|
this.form = mes.form
|
||||||
this.roleForm = mes.roleForm
|
this.roleForm = mes.roleForm
|
||||||
@@ -1032,96 +1033,96 @@ export default {
|
|||||||
},
|
},
|
||||||
handleProcessStandardNext(status) {
|
handleProcessStandardNext(status) {
|
||||||
switch (status) {
|
switch (status) {
|
||||||
// 新增
|
// 新增
|
||||||
case 1:
|
case 1:
|
||||||
this.selectedList = []
|
this.selectedList = []
|
||||||
this.standardCheckedList = []
|
this.standardCheckedList = []
|
||||||
this.standardDrawer = false
|
this.standardDrawer = false
|
||||||
this.verifySarStandard = true
|
this.verifySarStandard = true
|
||||||
this.clearFormData(this.form)
|
this.clearFormData(this.form)
|
||||||
break
|
break
|
||||||
// 带入
|
// 带入
|
||||||
case 2:
|
case 2:
|
||||||
if (this.standardCheckedList.length === 1) {
|
if (this.standardCheckedList.length === 1) {
|
||||||
this.$http.get('lawss/sarLawsInfo/getStandInfoUpdateById', {id: this.standardCheckedList[0].id}, {
|
this.$http.get('lawss/sarLawsInfo/getStandInfoUpdateById', {id: this.standardCheckedList[0].id}, {
|
||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
if(res && res.data){
|
if(res && res.data){
|
||||||
const bringData = res.data
|
const bringData = res.data
|
||||||
|
|
||||||
const json = Object.assign(bringData, bringData.attrInfoMap);
|
const json = Object.assign(bringData, bringData.attrInfoMap);
|
||||||
this.form = JSON.parse(JSON.stringify(json))
|
this.form = JSON.parse(JSON.stringify(json))
|
||||||
this.form.TGRLAWS = JSON.parse(JSON.stringify(json)).TGRLAWS && JSON.parse(JSON.stringify(json)).TGRLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).TGRLAWS.split(',') : []
|
this.form.TGRLAWS = JSON.parse(JSON.stringify(json)).TGRLAWS && JSON.parse(JSON.stringify(json)).TGRLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).TGRLAWS.split(',') : []
|
||||||
this.form.TGDWLAWS = JSON.parse(JSON.stringify(json)).TGDWLAWS && JSON.parse(JSON.stringify(json)).TGDWLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).TGDWLAWS.split(',') : []
|
this.form.TGDWLAWS = JSON.parse(JSON.stringify(json)).TGDWLAWS && JSON.parse(JSON.stringify(json)).TGDWLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).TGDWLAWS.split(',') : []
|
||||||
this.form.NYLXLAWS = JSON.parse(JSON.stringify(json)).NYLXLAWS && JSON.parse(JSON.stringify(json)).NYLXLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).NYLXLAWS.split(',') : []
|
this.form.NYLXLAWS = JSON.parse(JSON.stringify(json)).NYLXLAWS && JSON.parse(JSON.stringify(json)).NYLXLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).NYLXLAWS.split(',') : []
|
||||||
this.form.YYRZLAWS = JSON.parse(JSON.stringify(json)).YYRZLAWS && JSON.parse(JSON.stringify(json)).YYRZLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).YYRZLAWS.split(',') : []
|
this.form.YYRZLAWS = JSON.parse(JSON.stringify(json)).YYRZLAWS && JSON.parse(JSON.stringify(json)).YYRZLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).YYRZLAWS.split(',') : []
|
||||||
this.form.ZRBMLAWS = JSON.parse(JSON.stringify(json)).ZRBMLAWS && JSON.parse(JSON.stringify(json)).ZRBMLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).ZRBMLAWS.split(',') : []
|
this.form.ZRBMLAWS = JSON.parse(JSON.stringify(json)).ZRBMLAWS && JSON.parse(JSON.stringify(json)).ZRBMLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).ZRBMLAWS.split(',') : []
|
||||||
this.form.ZRGCSLAWS = JSON.parse(JSON.stringify(json)).ZRGCSLAWS && JSON.parse(JSON.stringify(json)).ZRGCSLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).ZRGCSLAWS.split(',') : []
|
this.form.ZRGCSLAWS = JSON.parse(JSON.stringify(json)).ZRGCSLAWS && JSON.parse(JSON.stringify(json)).ZRGCSLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).ZRGCSLAWS.split(',') : []
|
||||||
this.form.prcNum = this.prcNum
|
this.form.prcNum = this.prcNum
|
||||||
this.form.prcName = this.prcName
|
this.form.prcName = this.prcName
|
||||||
this.form['id'] = bringData.id
|
this.form['id'] = bringData.id
|
||||||
this.standardDrawer = false
|
this.standardDrawer = false
|
||||||
this.verifySarStandard = true
|
this.verifySarStandard = true
|
||||||
this.busVsFunc()
|
this.busVsFunc()
|
||||||
this.modelFunc()
|
this.modelFunc()
|
||||||
this.$forceUpdate()
|
this.$forceUpdate()
|
||||||
|
}
|
||||||
|
// 遍历对象初始化文件信息
|
||||||
|
for(const p in this.form) {
|
||||||
|
if (typeof (this.form[p ]) != 'function') {
|
||||||
|
this.initializeFileList(p,this.form[p]);
|
||||||
}
|
}
|
||||||
// 遍历对象初始化文件信息
|
}
|
||||||
for(const p in this.form) {
|
console.log('res',res);
|
||||||
if (typeof (this.form[p ]) != "function") {
|
})
|
||||||
this.initializeFileList(p,this.form[p]);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
console.log("res",res);
|
|
||||||
})
|
|
||||||
|
|
||||||
} else if (this.standardCheckedList.length > 1) {
|
} else if (this.standardCheckedList.length > 1) {
|
||||||
this.$message.warning('最多可以带入一条政策信息')
|
this.$message.warning('最多可以带入一条政策信息')
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning('请选择要带入的政策信息')
|
this.$message.warning('请选择要带入的政策信息')
|
||||||
}
|
}
|
||||||
break
|
break
|
||||||
// 取消
|
// 取消
|
||||||
case 3:
|
case 3:
|
||||||
this.selectedList = []
|
this.selectedList = []
|
||||||
this.standardCheckedList = []
|
this.standardCheckedList = []
|
||||||
this.standardDrawer = false
|
this.standardDrawer = false
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
initializeFileList(property ,value){
|
initializeFileList(property ,value){
|
||||||
switch (property){
|
switch (property){
|
||||||
case 'xgd':
|
case 'xgd':
|
||||||
this.getFileList(value,this.xgdFileList);
|
this.getFileList(value,this.xgdFileList);
|
||||||
break;
|
break;
|
||||||
case 'fbgbjbd':
|
case 'fbgbjbd':
|
||||||
this.getFileList(value,this.FBGBJBDFileList);
|
this.getFileList(value,this.FBGBJBDFileList);
|
||||||
break;
|
break;
|
||||||
case 'ssg':
|
case 'ssg':
|
||||||
this.getFileList(value,this.ssgFileList);
|
this.getFileList(value,this.ssgFileList);
|
||||||
break;
|
break;
|
||||||
case 'ca':
|
case 'ca':
|
||||||
this.getFileList(value,this.caFileList);
|
this.getFileList(value,this.caFileList);
|
||||||
break;
|
break;
|
||||||
case 'zbjbd':
|
case 'zbjbd':
|
||||||
this.getFileList(value,this.zbjbdFileList);
|
this.getFileList(value,this.zbjbdFileList);
|
||||||
break;
|
break;
|
||||||
case 'kwj':
|
case 'kwj':
|
||||||
this.getFileList(value,this.kwjFileList);
|
this.getFileList(value,this.kwjFileList);
|
||||||
break;
|
break;
|
||||||
case 'jdwj':
|
case 'jdwj':
|
||||||
this.getFileList(value,this.jdwjFileList);
|
this.getFileList(value,this.jdwjFileList);
|
||||||
break;
|
break;
|
||||||
case 'bpg':
|
case 'bpg':
|
||||||
this.getFileList(value,this.bpgFileList);
|
this.getFileList(value,this.bpgFileList);
|
||||||
break;
|
break;
|
||||||
case 'zqyjg':
|
case 'zqyjg':
|
||||||
this.getFileList(value,this.zqyjgFileList);
|
this.getFileList(value,this.zqyjgFileList);
|
||||||
break;
|
break;
|
||||||
case 'glwj':
|
case 'glwj':
|
||||||
this.getFileList(value,this.glwjFileList);
|
this.getFileList(value,this.glwjFileList);
|
||||||
break;
|
break;
|
||||||
default: ;
|
default:
|
||||||
}
|
}
|
||||||
},getFileList(fileIds,defaultFileList){
|
},getFileList(fileIds,defaultFileList){
|
||||||
|
|
||||||
@@ -1132,17 +1133,17 @@ export default {
|
|||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
|
|
||||||
let fileList = res.data
|
const fileList = res.data
|
||||||
if (fileList != null && fileList.length > 0) {
|
if (fileList != null && fileList.length > 0) {
|
||||||
for (let i = 0; i < fileList.length; i++) {
|
for (let i = 0; i < fileList.length; i++) {
|
||||||
let obj = {name: '', response: {}}
|
const obj = {name: '', response: {}}
|
||||||
obj.name = fileList[i].oldFileName
|
obj.name = fileList[i].oldFileName
|
||||||
obj.response.data = fileList[i]
|
obj.response.data = fileList[i]
|
||||||
|
|
||||||
|
|
||||||
//根据以‘,’分割的id查询到的文件信息,放入对应的文件list中
|
//根据以‘,’分割的id查询到的文件信息,放入对应的文件list中
|
||||||
defaultFileList.push(obj)
|
defaultFileList.push(obj)
|
||||||
console.log("defaultFileList",defaultFileList);
|
console.log('defaultFileList',defaultFileList);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}, e => {
|
}, e => {
|
||||||
@@ -1210,8 +1211,8 @@ export default {
|
|||||||
saveUserInfo () {
|
saveUserInfo () {
|
||||||
this.filterText = ''
|
this.filterText = ''
|
||||||
if (this.userType === 'zrUserId') {
|
if (this.userType === 'zrUserId') {
|
||||||
this.roleForm.zrUserId = this.zrUserIds.map(item => item.id).join(",")
|
this.roleForm.zrUserId = this.zrUserIds.map(item => item.id).join(',')
|
||||||
this.roleForm.zrUserName = this.zrUserIds.map(item => item.name).join(",")
|
this.roleForm.zrUserName = this.zrUserIds.map(item => item.name).join(',')
|
||||||
} else if (this.userType === 'jlUserId') {
|
} else if (this.userType === 'jlUserId') {
|
||||||
this.roleForm.jlUserId = this.roleRow.id
|
this.roleForm.jlUserId = this.roleRow.id
|
||||||
this.roleForm.jlUserName = this.roleRow.name
|
this.roleForm.jlUserName = this.roleRow.name
|
||||||
@@ -1242,7 +1243,7 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
}else {
|
}else {
|
||||||
var getlist = this.$refs.tree.getCheckedNodes().concat(this.$refs.tree.getHalfCheckedNodes());
|
const getlist = this.$refs.tree.getCheckedNodes().concat(this.$refs.tree.getHalfCheckedNodes());
|
||||||
if(getlist.length == 1) {
|
if(getlist.length == 1) {
|
||||||
this.roleRow = getlist[0]
|
this.roleRow = getlist[0]
|
||||||
}else {
|
}else {
|
||||||
@@ -1254,15 +1255,15 @@ export default {
|
|||||||
// 更多
|
// 更多
|
||||||
handleCommand (command) {
|
handleCommand (command) {
|
||||||
switch (command[2]) {
|
switch (command[2]) {
|
||||||
case '新增':
|
case '新增':
|
||||||
this.createChildRow(command[0],command[1])
|
this.createChildRow(command[0],command[1])
|
||||||
break
|
break
|
||||||
case '维护':
|
case '维护':
|
||||||
command[1].disabled = false
|
command[1].disabled = false
|
||||||
break
|
break
|
||||||
case '删除':
|
case '删除':
|
||||||
this.handleDelete(command[0],command[1])
|
this.handleDelete(command[0],command[1])
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
choiceZRRList (type, title, id) {
|
choiceZRRList (type, title, id) {
|
||||||
@@ -1322,8 +1323,8 @@ export default {
|
|||||||
this.modalShowFlag2 = true
|
this.modalShowFlag2 = true
|
||||||
this.url = ''
|
this.url = ''
|
||||||
this.urlChild = ''
|
this.urlChild = ''
|
||||||
this.url="sarVppsTree/list"
|
this.url='sarVppsTree/list'
|
||||||
this.urlChild="sarVppsTree/childByList"
|
this.urlChild='sarVppsTree/childByList'
|
||||||
this.key1++
|
this.key1++
|
||||||
},
|
},
|
||||||
choiceZRR3 (type, title, id) {
|
choiceZRR3 (type, title, id) {
|
||||||
@@ -1331,8 +1332,8 @@ export default {
|
|||||||
this.modalShowFlag3 = true
|
this.modalShowFlag3 = true
|
||||||
this.url = ''
|
this.url = ''
|
||||||
this.urlChild = ''
|
this.urlChild = ''
|
||||||
this.url="sarVppsTree/list"
|
this.url='sarVppsTree/list'
|
||||||
this.urlChild="sarVppsTree/childByList"
|
this.urlChild='sarVppsTree/childByList'
|
||||||
this.key2++
|
this.key2++
|
||||||
},
|
},
|
||||||
choiceZRR4 (type, title, id) {
|
choiceZRR4 (type, title, id) {
|
||||||
@@ -1340,8 +1341,8 @@ export default {
|
|||||||
this.modalShowFlag4 = true
|
this.modalShowFlag4 = true
|
||||||
this.url = ''
|
this.url = ''
|
||||||
this.urlChild = ''
|
this.urlChild = ''
|
||||||
this.url="sarModelTree/list"
|
this.url='sarModelTree/list'
|
||||||
this.urlChild="sarModelTree/childByList"
|
this.urlChild='sarModelTree/childByList'
|
||||||
this.key3++
|
this.key3++
|
||||||
},
|
},
|
||||||
getTree () {
|
getTree () {
|
||||||
@@ -1461,7 +1462,7 @@ export default {
|
|||||||
},
|
},
|
||||||
// 点击查看
|
// 点击查看
|
||||||
handlePreview (item) {
|
handlePreview (item) {
|
||||||
let routeUrl = this.$router.resolve({
|
const routeUrl = this.$router.resolve({
|
||||||
name: 'OtherLawsStandDetails',
|
name: 'OtherLawsStandDetails',
|
||||||
params: {
|
params: {
|
||||||
id: item.id,
|
id: item.id,
|
||||||
@@ -1519,10 +1520,10 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
beginImportFile (file) {
|
beginImportFile (file) {
|
||||||
var filename = file.name
|
const filename = file.name
|
||||||
var index1 = filename.lastIndexOf('.')
|
const index1 = filename.lastIndexOf('.')
|
||||||
var index2 = filename.length
|
const index2 = filename.length
|
||||||
var fileSuffix = filename.substring(index1, index2)
|
const fileSuffix = filename.substring(index1, index2)
|
||||||
// const fileSuffix = file.name.split('.')[1] // 后缀名
|
// const fileSuffix = file.name.split('.')[1] // 后缀名
|
||||||
// 判断上传文件格式
|
// 判断上传文件格式
|
||||||
if (fileSuffix === '.pdf' || fileSuffix === '.PDF' || fileSuffix === '.ppt'|| fileSuffix === '.PPT' || fileSuffix === '.pptx'|| fileSuffix === '.PPTX'|| fileSuffix === '.doc' || fileSuffix === '.DOC' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.zip' || fileSuffix === '.xls' || fileSuffix === '.xlsx') {
|
if (fileSuffix === '.pdf' || fileSuffix === '.PDF' || fileSuffix === '.ppt'|| fileSuffix === '.PPT' || fileSuffix === '.pptx'|| fileSuffix === '.PPTX'|| fileSuffix === '.doc' || fileSuffix === '.DOC' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.zip' || fileSuffix === '.xls' || fileSuffix === '.xlsx') {
|
||||||
@@ -1580,9 +1581,9 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}).catch(e => {
|
}).catch(e => {
|
||||||
console.log(e)
|
console.log(e)
|
||||||
this.$message.warning('文件不存在,预览失败')
|
this.$message.warning('文件不存在,预览失败')
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 导入标准数据成功后执行
|
// 导入标准数据成功后执行
|
||||||
@@ -1594,22 +1595,22 @@ export default {
|
|||||||
if (response.ok) {
|
if (response.ok) {
|
||||||
|
|
||||||
switch (this.fileType){
|
switch (this.fileType){
|
||||||
case 'FBGBUSS':
|
case 'FBGBUSS':
|
||||||
this.FBGBUSSFileList = fileList
|
this.FBGBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
case 'BZSMBUSS' :
|
case 'BZSMBUSS' :
|
||||||
this.BZSMBUSSFileList = fileList
|
this.BZSMBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
case 'LSBBBUSS':
|
case 'LSBBBUSS':
|
||||||
this.LSBBBUSSFileList = fileList
|
this.LSBBBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
case 'GLWJLAWS':
|
case 'GLWJLAWS':
|
||||||
this.QTWJBUSSFileList = fileList
|
this.QTWJBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
case 'GLWJBUSS':
|
case 'GLWJBUSS':
|
||||||
this.GLWJBUSSFileList = fileList
|
this.GLWJBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
default : ;
|
default :
|
||||||
}
|
}
|
||||||
this.$message({
|
this.$message({
|
||||||
// showClose: true,
|
// showClose: true,
|
||||||
@@ -1629,22 +1630,22 @@ export default {
|
|||||||
this.fileType = type;
|
this.fileType = type;
|
||||||
|
|
||||||
switch (this.fileType){
|
switch (this.fileType){
|
||||||
case 'FBGBUSS':
|
case 'FBGBUSS':
|
||||||
this.fileList=this.FBGBUSSFileList
|
this.fileList=this.FBGBUSSFileList
|
||||||
break;
|
break;
|
||||||
case 'BZSMBUSS' :
|
case 'BZSMBUSS' :
|
||||||
this.fileList=this.BZSMBUSSFileList
|
this.fileList=this.BZSMBUSSFileList
|
||||||
break;
|
break;
|
||||||
case 'LSBBBUSS':
|
case 'LSBBBUSS':
|
||||||
this.fileList=this.LSBBBUSSFileList
|
this.fileList=this.LSBBBUSSFileList
|
||||||
break;
|
break;
|
||||||
case 'QTWJBUSS':
|
case 'QTWJBUSS':
|
||||||
this.fileList=this.QTWJBUSSFileList
|
this.fileList=this.QTWJBUSSFileList
|
||||||
break;
|
break;
|
||||||
case 'GLWJBUSS':
|
case 'GLWJBUSS':
|
||||||
this.fileList=this.GLWJBUSSFileList
|
this.fileList=this.GLWJBUSSFileList
|
||||||
break;
|
break;
|
||||||
default : ;
|
default :
|
||||||
}
|
}
|
||||||
this.fileMadel = true;
|
this.fileMadel = true;
|
||||||
|
|
||||||
@@ -1652,29 +1653,29 @@ export default {
|
|||||||
removeOneFile(file, fileList) {
|
removeOneFile(file, fileList) {
|
||||||
|
|
||||||
switch (this.fileType){
|
switch (this.fileType){
|
||||||
case 'FBGBUSS':
|
case 'FBGBUSS':
|
||||||
this.FBGBUSSFileList = fileList
|
this.FBGBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
case 'BZSMBUSS' :
|
case 'BZSMBUSS' :
|
||||||
this.BZSMBUSSFileList = fileList
|
this.BZSMBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
case 'LSBBBUSS':
|
case 'LSBBBUSS':
|
||||||
this.LSBBBUSSFileList = fileList
|
this.LSBBBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
case 'QTWJBUSS':
|
case 'QTWJBUSS':
|
||||||
this.QTWJBUSSFileList = fileList
|
this.QTWJBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
case 'GLWJBUSS':
|
case 'GLWJBUSS':
|
||||||
this.GLWJBUSSFileList = fileList
|
this.GLWJBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
default : ;
|
default :
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
popoverHideBusVs (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
popoverHideBusVs (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
||||||
if(checkedData) {
|
if(checkedData) {
|
||||||
if(checkedData.length > 0){
|
if(checkedData.length > 0){
|
||||||
this.form.VPPSBMBUSS = checkedData.map(item => item.code).join(",")
|
this.form.VPPSBMBUSS = checkedData.map(item => item.code).join(',')
|
||||||
this.form.VPPSCNBUSS = checkedData.map(item => item.chineseName).join(",")
|
this.form.VPPSCNBUSS = checkedData.map(item => item.chineseName).join(',')
|
||||||
}else {
|
}else {
|
||||||
this.form.VPPSBMBUSS = checkedData.code
|
this.form.VPPSBMBUSS = checkedData.code
|
||||||
this.form.VPPSCNBUSS = checkedData.chineseName
|
this.form.VPPSCNBUSS = checkedData.chineseName
|
||||||
@@ -1686,7 +1687,7 @@ export default {
|
|||||||
popoverHide (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
popoverHide (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
||||||
if(checkedData) {
|
if(checkedData) {
|
||||||
if(checkedData.length > 0){
|
if(checkedData.length > 0){
|
||||||
this.form.TXLBBUSS = checkedData.map(item => item.menuName).join(",")
|
this.form.TXLBBUSS = checkedData.map(item => item.menuName).join(',')
|
||||||
}else {
|
}else {
|
||||||
this.form.TXLBBUSS = checkedData.menuName
|
this.form.TXLBBUSS = checkedData.menuName
|
||||||
}
|
}
|
||||||
@@ -1700,8 +1701,8 @@ export default {
|
|||||||
popoverHideBusVs (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
popoverHideBusVs (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
||||||
if(checkedData && checkedData.length != 0) {
|
if(checkedData && checkedData.length != 0) {
|
||||||
if(checkedData.length > 0 && checkedData.length != 0){
|
if(checkedData.length > 0 && checkedData.length != 0){
|
||||||
this.form.cycvppsbm = checkedData.map(item => item.code).join(",")
|
this.form.cycvppsbm = checkedData.map(item => item.code).join(',')
|
||||||
this.form.cycvppscn = checkedData.map(item => item.chineseName).join(",")
|
this.form.cycvppscn = checkedData.map(item => item.chineseName).join(',')
|
||||||
}else {
|
}else {
|
||||||
this.form.cycvppsbm = checkedData.code
|
this.form.cycvppsbm = checkedData.code
|
||||||
this.form.cycvppscn = checkedData.chineseName
|
this.form.cycvppscn = checkedData.chineseName
|
||||||
@@ -1716,8 +1717,8 @@ export default {
|
|||||||
popoverHideCarVs (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
popoverHideCarVs (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
||||||
if(checkedData && checkedData.length != 0) {
|
if(checkedData && checkedData.length != 0) {
|
||||||
if(checkedData.length > 0){
|
if(checkedData.length > 0){
|
||||||
this.form.kccvppsbm = checkedData.map(item => item.code).join(",")
|
this.form.kccvppsbm = checkedData.map(item => item.code).join(',')
|
||||||
this.form.kccvppscn = checkedData.map(item => item.chineseName).join(",")
|
this.form.kccvppscn = checkedData.map(item => item.chineseName).join(',')
|
||||||
}else {
|
}else {
|
||||||
this.form.kccvppsbm = checkedData.code
|
this.form.kccvppsbm = checkedData.code
|
||||||
this.form.kccvppscn = checkedData.chineseName
|
this.form.kccvppscn = checkedData.chineseName
|
||||||
@@ -1732,8 +1733,8 @@ export default {
|
|||||||
popoverHideModel (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
popoverHideModel (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
||||||
if(checkedData && checkedData.length != 0) {
|
if(checkedData && checkedData.length != 0) {
|
||||||
if(checkedData.length > 0){
|
if(checkedData.length > 0){
|
||||||
this.form.dybxh = checkedData.map(item => item.model).join(",")
|
this.form.dybxh = checkedData.map(item => item.model).join(',')
|
||||||
this.form.dymc = checkedData.map(item => item.name).join(",")
|
this.form.dymc = checkedData.map(item => item.name).join(',')
|
||||||
}else {
|
}else {
|
||||||
this.form.dybxh = checkedData.model
|
this.form.dybxh = checkedData.model
|
||||||
this.form.dymc = checkedData.name
|
this.form.dymc = checkedData.name
|
||||||
@@ -1750,7 +1751,7 @@ export default {
|
|||||||
},
|
},
|
||||||
OkDrawer() {
|
OkDrawer() {
|
||||||
this.ListModel = false
|
this.ListModel = false
|
||||||
var item = {
|
const item = {
|
||||||
remarks: '123'
|
remarks: '123'
|
||||||
}
|
}
|
||||||
this.data.push(item)
|
this.data.push(item)
|
||||||
@@ -1770,7 +1771,7 @@ export default {
|
|||||||
// }
|
// }
|
||||||
|
|
||||||
this.saveLoading = true
|
this.saveLoading = true
|
||||||
let _formData = new FormData()
|
const _formData = new FormData()
|
||||||
_formData.append('id', this.bpnId || '')
|
_formData.append('id', this.bpnId || '')
|
||||||
_formData.append('createUser', this.$store.getters.userInfo.account)
|
_formData.append('createUser', this.$store.getters.userInfo.account)
|
||||||
_formData.append('createUserName', this.$store.getters.userInfo.uName)
|
_formData.append('createUserName', this.$store.getters.userInfo.uName)
|
||||||
@@ -1799,20 +1800,20 @@ export default {
|
|||||||
fileInfoHandle(){
|
fileInfoHandle(){
|
||||||
|
|
||||||
//拼接文件名和id 提交到流程Activity
|
//拼接文件名和id 提交到流程Activity
|
||||||
this.form.FBGBUSS=this.FBGBUSSFileList.map(item => item.response.data.id).join(",")
|
this.form.FBGBUSS=this.FBGBUSSFileList.map(item => item.response.data.id).join(',')
|
||||||
this.form.FBGBUSSName=this.FBGBUSSFileList.map(item => item.name).join(",")
|
this.form.FBGBUSSName=this.FBGBUSSFileList.map(item => item.name).join(',')
|
||||||
|
|
||||||
this.form.BZSMBUSS=this.BZSMBUSSFileList.map(item => item.response.data.id).join(",")
|
this.form.BZSMBUSS=this.BZSMBUSSFileList.map(item => item.response.data.id).join(',')
|
||||||
this.form.BZSMBUSSName=this.BZSMBUSSFileList.map(item => item.name).join(",")
|
this.form.BZSMBUSSName=this.BZSMBUSSFileList.map(item => item.name).join(',')
|
||||||
|
|
||||||
this.form.LSBBBUSS=this.LSBBBUSSFileList.map(item => item.response.data.id).join(",")
|
this.form.LSBBBUSS=this.LSBBBUSSFileList.map(item => item.response.data.id).join(',')
|
||||||
this.form.LSBBBUSSName=this.LSBBBUSSFileList.map(item => item.name).join(",")
|
this.form.LSBBBUSSName=this.LSBBBUSSFileList.map(item => item.name).join(',')
|
||||||
|
|
||||||
this.form.QTWJBUSS=this.QTWJBUSSFileList.map(item => item.response.data.id).join(",")
|
this.form.QTWJBUSS=this.QTWJBUSSFileList.map(item => item.response.data.id).join(',')
|
||||||
this.form.QTWJBUSSName=this.QTWJBUSSFileList.map(item => item.name).join(",")
|
this.form.QTWJBUSSName=this.QTWJBUSSFileList.map(item => item.name).join(',')
|
||||||
|
|
||||||
this.form.GLWJBUSS=this.GLWJBUSSFileList.map(item => item.response.data.id).join(",")
|
this.form.GLWJBUSS=this.GLWJBUSSFileList.map(item => item.response.data.id).join(',')
|
||||||
this.form.GLWJBUSSName=this.GLWJBUSSFileList.map(item => item.name).join(",")
|
this.form.GLWJBUSSName=this.GLWJBUSSFileList.map(item => item.name).join(',')
|
||||||
|
|
||||||
},
|
},
|
||||||
// 删除方法
|
// 删除方法
|
||||||
@@ -1832,7 +1833,7 @@ export default {
|
|||||||
return data
|
return data
|
||||||
},
|
},
|
||||||
changeRestTree(val) {
|
changeRestTree(val) {
|
||||||
let arr = [];
|
const arr = [];
|
||||||
if (val.length !== 0) {
|
if (val.length !== 0) {
|
||||||
val.forEach(item => {
|
val.forEach(item => {
|
||||||
if (item.children.length >= 1) {
|
if (item.children.length >= 1) {
|
||||||
@@ -1840,7 +1841,7 @@ export default {
|
|||||||
}
|
}
|
||||||
if(item.pid === '0'){
|
if(item.pid === '0'){
|
||||||
item.id = arr.length + 1,
|
item.id = arr.length + 1,
|
||||||
item.modelNum = arr.length + 1+''
|
item.modelNum = arr.length + 1+''
|
||||||
item.orderNum = arr.length + 1 // orderNum为新创建行的索引
|
item.orderNum = arr.length + 1 // orderNum为新创建行的索引
|
||||||
item.modelIndex = arr.length
|
item.modelIndex = arr.length
|
||||||
}else {
|
}else {
|
||||||
@@ -1857,19 +1858,19 @@ export default {
|
|||||||
return arr;
|
return arr;
|
||||||
},
|
},
|
||||||
changeTree(val) {
|
changeTree(val) {
|
||||||
let arr = [];
|
const arr = [];
|
||||||
this.modelDataNameVerify = []
|
this.modelDataNameVerify = []
|
||||||
this.modelDataZrUserVerify = []
|
this.modelDataZrUserVerify = []
|
||||||
if (val.length !== 0) {
|
if (val.length !== 0) {
|
||||||
val.forEach(item => {
|
val.forEach(item => {
|
||||||
let obj = {};
|
const obj = {};
|
||||||
obj.modelName = item.modelName;
|
obj.modelName = item.modelName;
|
||||||
obj.zrUserIdName = item.zrUserIdName;
|
obj.zrUserIdName = item.zrUserIdName;
|
||||||
if(!obj.modelName || obj.modelName === ''){
|
if(!obj.modelName || obj.modelName === ''){
|
||||||
this.modelDataNameVerify.push("1")
|
this.modelDataNameVerify.push('1')
|
||||||
}
|
}
|
||||||
if(item.pid === '0' && (!obj.zrUserIdName || obj.zrUserIdName === '')){
|
if(item.pid === '0' && (!obj.zrUserIdName || obj.zrUserIdName === '')){
|
||||||
this.modelDataZrUserVerify.push("1")
|
this.modelDataZrUserVerify.push('1')
|
||||||
}
|
}
|
||||||
if (item.children.length >= 1) {
|
if (item.children.length >= 1) {
|
||||||
item.children = this.changeTree(item.children);
|
item.children = this.changeTree(item.children);
|
||||||
@@ -1928,13 +1929,14 @@ export default {
|
|||||||
}, res => {
|
}, res => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
if(this.formTongGuo.approvalOpinion === '1'){
|
if(this.formTongGuo.approvalOpinion === '1'){
|
||||||
this.$message.warning("驳回成功")
|
this.$message.warning('驳回成功')
|
||||||
}else{
|
}else{
|
||||||
this.$message.success(res.message)
|
this.$message.success(res.message)
|
||||||
// this.processCreateLaws(json)
|
// this.processCreateLaws(json)
|
||||||
}
|
}
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// 流程提交之后,应该流转至待办任务页面
|
// 流程提交之后,应该流转至待办任务页面
|
||||||
// this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
// this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
||||||
}else {
|
}else {
|
||||||
@@ -1988,16 +1990,16 @@ export default {
|
|||||||
if(obj instanceof Array){
|
if(obj instanceof Array){
|
||||||
return obj;
|
return obj;
|
||||||
}else {
|
}else {
|
||||||
return obj.split(",")
|
return obj.split(',')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return "";
|
return '';
|
||||||
},
|
},
|
||||||
assemble(ids,names){
|
assemble(ids,names){
|
||||||
let list= new Array();
|
const list= new Array();
|
||||||
if(ids && ids !== '' && names && names !== ''){
|
if(ids && ids !== '' && names && names !== ''){
|
||||||
let idArray=ids.split(',');
|
const idArray=ids.split(',');
|
||||||
let nameArray=names.split(',');
|
const nameArray=names.split(',');
|
||||||
for(let i=0; i<idArray.length; i++){
|
for(let i=0; i<idArray.length; i++){
|
||||||
list.push({id:idArray[i],name:nameArray[i]});
|
list.push({id:idArray[i],name:nameArray[i]});
|
||||||
}
|
}
|
||||||
@@ -2037,7 +2039,7 @@ export default {
|
|||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
Promise.all([this.getTaskId()]).then((value) => {
|
Promise.all([this.getTaskId()]).then((value) => {
|
||||||
if(value[0] &&value.length > 0){
|
if(value[0] &&value.length > 0){
|
||||||
let mes = JSON.parse(value[0].mes)
|
const mes = JSON.parse(value[0].mes)
|
||||||
mes.form.date = new Date(this.$moment(mes.form.date).format('YYYY-MM-DD'))
|
mes.form.date = new Date(this.$moment(mes.form.date).format('YYYY-MM-DD'))
|
||||||
this.form = mes.form
|
this.form = mes.form
|
||||||
this.taskIds = mes.taskIds;
|
this.taskIds = mes.taskIds;
|
||||||
|
|||||||
@@ -243,27 +243,27 @@
|
|||||||
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
||||||
import ProcessFooter from '../../components/ProcessFooter'
|
import ProcessFooter from '../../components/ProcessFooter'
|
||||||
import ProcessTitle from '../../components/ProcessTitle'
|
import ProcessTitle from '../../components/ProcessTitle'
|
||||||
import formList from "process/phone/qbrk/common/formList";
|
import formList from 'process/phone/qbrk/common/formList';
|
||||||
import {
|
import {
|
||||||
inboundLiaisonDetail,
|
inboundLiaisonDetail,
|
||||||
processCreateStand,
|
processCreateStand,
|
||||||
changeAssigneeNew,
|
changeAssigneeNew,
|
||||||
queryTaskFirst,
|
queryTaskFirst,
|
||||||
getBusStandFileByAttId, saveTaskFirst
|
getBusStandFileByAttId, saveTaskFirst
|
||||||
} from "api/process";
|
} from 'api/process';
|
||||||
import TreeSelect from '@/components/treeSelect/treeSelect.vue';
|
import TreeSelect from '@/components/treeSelect/treeSelect.vue';
|
||||||
import CusTomDataPickerGroup
|
import CusTomDataPickerGroup
|
||||||
from "@/pages/regulatoryRepository/localProductsOrProjectLibrary/components/DatePickerGroup";
|
from '@/pages/regulatoryRepository/localProductsOrProjectLibrary/components/DatePickerGroup';
|
||||||
import Vue from 'vue';
|
import Vue from 'vue';
|
||||||
import { Form } from 'vant';
|
import { Form } from 'vant';
|
||||||
import { Field } from 'vant';
|
import { Field } from 'vant';
|
||||||
import { getEvaluationIndex } from "api/businessApi";
|
import { getEvaluationIndex } from 'api/businessApi';
|
||||||
import hwh5 from '@/api/hwh5-cloudonline.js'
|
import hwh5 from '@/api/hwh5-cloudonline.js'
|
||||||
|
|
||||||
Vue.use(Form);
|
Vue.use(Form);
|
||||||
Vue.use(Field);
|
Vue.use(Field);
|
||||||
export default {
|
export default {
|
||||||
name: "phoneBussLibrary11",
|
name: 'phoneBussLibrary11',
|
||||||
components: {
|
components: {
|
||||||
CusTomDataPickerGroup,
|
CusTomDataPickerGroup,
|
||||||
ProcessHeaderPhone,
|
ProcessHeaderPhone,
|
||||||
@@ -698,21 +698,21 @@ export default {
|
|||||||
'form.issueTime': {
|
'form.issueTime': {
|
||||||
handler: function() {
|
handler: function() {
|
||||||
if(this.form.issueTime !== undefined && this.form.issueTime !== null && this.form.issueTime !== ''){
|
if(this.form.issueTime !== undefined && this.form.issueTime !== null && this.form.issueTime !== ''){
|
||||||
let date = new Date(this.$moment(this.form.issueTime).format('YYYY-MM-DD'))
|
const date = new Date(this.$moment(this.form.issueTime).format('YYYY-MM-DD'))
|
||||||
// const FSRQBUSS = date.getFullYear()+ 5 + '-' + date.getMonth() + '-' + date.getDate()
|
// const FSRQBUSS = date.getFullYear()+ 5 + '-' + date.getMonth() + '-' + date.getDate()
|
||||||
// this.sarBussionessStandEO["FSRQBUSS"] = FSRQBUSS
|
// this.sarBussionessStandEO["FSRQBUSS"] = FSRQBUSS
|
||||||
|
|
||||||
let year = date.getFullYear()+5;
|
const year = date.getFullYear()+5;
|
||||||
let month =(date.getMonth() + 1).toString();
|
let month =(date.getMonth() + 1).toString();
|
||||||
let day = (date.getDate()).toString();
|
let day = (date.getDate()).toString();
|
||||||
if (month.length == 1) {
|
if (month.length == 1) {
|
||||||
month = "0" + month;
|
month = '0' + month;
|
||||||
}
|
}
|
||||||
if (day.length == 1) {
|
if (day.length == 1) {
|
||||||
day = "0" + day;
|
day = '0' + day;
|
||||||
}
|
}
|
||||||
const FSRQBUSS = year + "-" + month + "-" + day;
|
const FSRQBUSS = year + '-' + month + '-' + day;
|
||||||
this.form["FSRQBUSS"] = FSRQBUSS
|
this.form['FSRQBUSS'] = FSRQBUSS
|
||||||
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -721,7 +721,7 @@ export default {
|
|||||||
handler (val) {
|
handler (val) {
|
||||||
if (val !== '' && val !== null && typeof (val) !== 'undefined') {
|
if (val !== '' && val !== null && typeof (val) !== 'undefined') {
|
||||||
if (val instanceof Array) {
|
if (val instanceof Array) {
|
||||||
this.countryArr = val.join(",");
|
this.countryArr = val.join(',');
|
||||||
} else {
|
} else {
|
||||||
this.countryArr = val
|
this.countryArr = val
|
||||||
}
|
}
|
||||||
@@ -750,8 +750,8 @@ export default {
|
|||||||
console.log('modelData.' + index + '.modelName')
|
console.log('modelData.' + index + '.modelName')
|
||||||
return 'modelData.' + index + '.modelName';
|
return 'modelData.' + index + '.modelName';
|
||||||
}else {
|
}else {
|
||||||
let propStr = "";
|
let propStr = '';
|
||||||
const indexList = row.modelIndex.split(",");
|
const indexList = row.modelIndex.split(',');
|
||||||
for (let i = 0; i < indexList.length; i++) {
|
for (let i = 0; i < indexList.length; i++) {
|
||||||
if(i === 0){
|
if(i === 0){
|
||||||
propStr += 'modelData.' + indexList[i]
|
propStr += 'modelData.' + indexList[i]
|
||||||
@@ -782,10 +782,10 @@ export default {
|
|||||||
console.log(row)
|
console.log(row)
|
||||||
console.log(this.form.modelData)
|
console.log(this.form.modelData)
|
||||||
// 模态框删除按钮
|
// 模态框删除按钮
|
||||||
this.$confirm("是否确认删除本条数据?", "提示", {
|
this.$confirm('是否确认删除本条数据?', '提示', {
|
||||||
confirmButtonText: "确定",
|
confirmButtonText: '确定',
|
||||||
cancelButtonText: "取消",
|
cancelButtonText: '取消',
|
||||||
type: "info"
|
type: 'info'
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
// 此为假删除,只是删除了模态框中当前行的数据,并没有真正删除表格数据
|
// 此为假删除,只是删除了模态框中当前行的数据,并没有真正删除表格数据
|
||||||
const ids = []
|
const ids = []
|
||||||
@@ -793,8 +793,8 @@ export default {
|
|||||||
this.form.modelData = this.changeRestTree(this.deletedId(this.form.modelData,ids))
|
this.form.modelData = this.changeRestTree(this.deletedId(this.form.modelData,ids))
|
||||||
console.log(this.form.modelData)
|
console.log(this.form.modelData)
|
||||||
this.$message({
|
this.$message({
|
||||||
message: "删除成功",
|
message: '删除成功',
|
||||||
type: "success",
|
type: 'success',
|
||||||
duration: 2000
|
duration: 2000
|
||||||
});
|
});
|
||||||
this.$forceUpdate()
|
this.$forceUpdate()
|
||||||
@@ -823,10 +823,10 @@ export default {
|
|||||||
pid: '0',
|
pid: '0',
|
||||||
modelIndex: this.form.modelData.length,
|
modelIndex: this.form.modelData.length,
|
||||||
disabled: false,
|
disabled: false,
|
||||||
modelName: "",
|
modelName: '',
|
||||||
modelContent: "",
|
modelContent: '',
|
||||||
zrUserId:"",
|
zrUserId:'',
|
||||||
zrUserIdName:"",
|
zrUserIdName:'',
|
||||||
children:[],
|
children:[],
|
||||||
};
|
};
|
||||||
this.form.modelData.push(list);
|
this.form.modelData.push(list);
|
||||||
@@ -848,10 +848,10 @@ export default {
|
|||||||
pid: row.modelNum,
|
pid: row.modelNum,
|
||||||
modelIndex: row.children.length,
|
modelIndex: row.children.length,
|
||||||
disabled: false,
|
disabled: false,
|
||||||
modelName: "",
|
modelName: '',
|
||||||
modelContent: "",
|
modelContent: '',
|
||||||
zrUserId:"",
|
zrUserId:'',
|
||||||
zrUserIdName:"",
|
zrUserIdName:'',
|
||||||
children:[],
|
children:[],
|
||||||
};
|
};
|
||||||
row.children.push(list)
|
row.children.push(list)
|
||||||
@@ -865,7 +865,7 @@ export default {
|
|||||||
const hour = d.getHours()<10 ? '0'+d.getHours() : d.getHours();//得到时
|
const hour = d.getHours()<10 ? '0'+d.getHours() : d.getHours();//得到时
|
||||||
const minute = d.getMinutes()<10 ? '0'+d.getMinutes() : d.getMinutes();//得到分
|
const minute = d.getMinutes()<10 ? '0'+d.getMinutes() : d.getMinutes();//得到分
|
||||||
const second = d.getSeconds()<10 ? '0'+d.getSeconds() : d.getSeconds();//得到秒
|
const second = d.getSeconds()<10 ? '0'+d.getSeconds() : d.getSeconds();//得到秒
|
||||||
return [year, month, day].join('-') + " " + [hour, minute, second].join(':');//格式为:YY-MM-DD hh:mm:ss(当前时间)
|
return [year, month, day].join('-') + ' ' + [hour, minute, second].join(':');//格式为:YY-MM-DD hh:mm:ss(当前时间)
|
||||||
},
|
},
|
||||||
// choiceZRRS () {
|
// choiceZRRS () {
|
||||||
// if (this.userType === 'zrUserId') {
|
// if (this.userType === 'zrUserId') {
|
||||||
@@ -908,7 +908,8 @@ export default {
|
|||||||
this.drawerModal = false
|
this.drawerModal = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
// this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
||||||
// this.processNum()
|
// this.processNum()
|
||||||
} else {
|
} else {
|
||||||
@@ -965,7 +966,7 @@ export default {
|
|||||||
bpnId: this.$route.query.bpnId
|
bpnId: this.$route.query.bpnId
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
this.verifySarStandard = this.$route.query.verifySarStandard
|
this.verifySarStandard = this.$route.query.verifySarStandard
|
||||||
let mes = JSON.parse(res.mes)
|
const mes = JSON.parse(res.mes)
|
||||||
mes.form.date = new Date(this.$moment(mes.form.date).format('YYYY-MM-DD'))
|
mes.form.date = new Date(this.$moment(mes.form.date).format('YYYY-MM-DD'))
|
||||||
this.form = mes.form
|
this.form = mes.form
|
||||||
this.roleForm = mes.roleForm
|
this.roleForm = mes.roleForm
|
||||||
@@ -1031,96 +1032,96 @@ export default {
|
|||||||
},
|
},
|
||||||
handleProcessStandardNext(status) {
|
handleProcessStandardNext(status) {
|
||||||
switch (status) {
|
switch (status) {
|
||||||
// 新增
|
// 新增
|
||||||
case 1:
|
case 1:
|
||||||
this.selectedList = []
|
this.selectedList = []
|
||||||
this.standardCheckedList = []
|
this.standardCheckedList = []
|
||||||
this.standardDrawer = false
|
this.standardDrawer = false
|
||||||
this.verifySarStandard = true
|
this.verifySarStandard = true
|
||||||
this.clearFormData(this.form)
|
this.clearFormData(this.form)
|
||||||
break
|
break
|
||||||
// 带入
|
// 带入
|
||||||
case 2:
|
case 2:
|
||||||
if (this.standardCheckedList.length === 1) {
|
if (this.standardCheckedList.length === 1) {
|
||||||
this.$http.get('lawss/sarLawsInfo/getStandInfoUpdateById', {id: this.standardCheckedList[0].id}, {
|
this.$http.get('lawss/sarLawsInfo/getStandInfoUpdateById', {id: this.standardCheckedList[0].id}, {
|
||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
if(res && res.data){
|
if(res && res.data){
|
||||||
const bringData = res.data
|
const bringData = res.data
|
||||||
|
|
||||||
const json = Object.assign(bringData, bringData.attrInfoMap);
|
const json = Object.assign(bringData, bringData.attrInfoMap);
|
||||||
this.form = JSON.parse(JSON.stringify(json))
|
this.form = JSON.parse(JSON.stringify(json))
|
||||||
this.form.TGRLAWS = JSON.parse(JSON.stringify(json)).TGRLAWS && JSON.parse(JSON.stringify(json)).TGRLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).TGRLAWS.split(',') : []
|
this.form.TGRLAWS = JSON.parse(JSON.stringify(json)).TGRLAWS && JSON.parse(JSON.stringify(json)).TGRLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).TGRLAWS.split(',') : []
|
||||||
this.form.TGDWLAWS = JSON.parse(JSON.stringify(json)).TGDWLAWS && JSON.parse(JSON.stringify(json)).TGDWLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).TGDWLAWS.split(',') : []
|
this.form.TGDWLAWS = JSON.parse(JSON.stringify(json)).TGDWLAWS && JSON.parse(JSON.stringify(json)).TGDWLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).TGDWLAWS.split(',') : []
|
||||||
this.form.NYLXLAWS = JSON.parse(JSON.stringify(json)).NYLXLAWS && JSON.parse(JSON.stringify(json)).NYLXLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).NYLXLAWS.split(',') : []
|
this.form.NYLXLAWS = JSON.parse(JSON.stringify(json)).NYLXLAWS && JSON.parse(JSON.stringify(json)).NYLXLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).NYLXLAWS.split(',') : []
|
||||||
this.form.YYRZLAWS = JSON.parse(JSON.stringify(json)).YYRZLAWS && JSON.parse(JSON.stringify(json)).YYRZLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).YYRZLAWS.split(',') : []
|
this.form.YYRZLAWS = JSON.parse(JSON.stringify(json)).YYRZLAWS && JSON.parse(JSON.stringify(json)).YYRZLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).YYRZLAWS.split(',') : []
|
||||||
this.form.ZRBMLAWS = JSON.parse(JSON.stringify(json)).ZRBMLAWS && JSON.parse(JSON.stringify(json)).ZRBMLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).ZRBMLAWS.split(',') : []
|
this.form.ZRBMLAWS = JSON.parse(JSON.stringify(json)).ZRBMLAWS && JSON.parse(JSON.stringify(json)).ZRBMLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).ZRBMLAWS.split(',') : []
|
||||||
this.form.ZRGCSLAWS = JSON.parse(JSON.stringify(json)).ZRGCSLAWS && JSON.parse(JSON.stringify(json)).ZRGCSLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).ZRGCSLAWS.split(',') : []
|
this.form.ZRGCSLAWS = JSON.parse(JSON.stringify(json)).ZRGCSLAWS && JSON.parse(JSON.stringify(json)).ZRGCSLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).ZRGCSLAWS.split(',') : []
|
||||||
this.form.prcNum = this.prcNum
|
this.form.prcNum = this.prcNum
|
||||||
this.form.prcName = this.prcName
|
this.form.prcName = this.prcName
|
||||||
this.form['id'] = bringData.id
|
this.form['id'] = bringData.id
|
||||||
this.standardDrawer = false
|
this.standardDrawer = false
|
||||||
this.verifySarStandard = true
|
this.verifySarStandard = true
|
||||||
this.busVsFunc()
|
this.busVsFunc()
|
||||||
this.modelFunc()
|
this.modelFunc()
|
||||||
this.$forceUpdate()
|
this.$forceUpdate()
|
||||||
|
}
|
||||||
|
// 遍历对象初始化文件信息
|
||||||
|
for(const p in this.form) {
|
||||||
|
if (typeof (this.form[p ]) != 'function') {
|
||||||
|
this.initializeFileList(p,this.form[p]);
|
||||||
}
|
}
|
||||||
// 遍历对象初始化文件信息
|
}
|
||||||
for(const p in this.form) {
|
console.log('res',res);
|
||||||
if (typeof (this.form[p ]) != "function") {
|
})
|
||||||
this.initializeFileList(p,this.form[p]);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
console.log("res",res);
|
|
||||||
})
|
|
||||||
|
|
||||||
} else if (this.standardCheckedList.length > 1) {
|
} else if (this.standardCheckedList.length > 1) {
|
||||||
this.$message.warning('最多可以带入一条政策信息')
|
this.$message.warning('最多可以带入一条政策信息')
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning('请选择要带入的政策信息')
|
this.$message.warning('请选择要带入的政策信息')
|
||||||
}
|
}
|
||||||
break
|
break
|
||||||
// 取消
|
// 取消
|
||||||
case 3:
|
case 3:
|
||||||
this.selectedList = []
|
this.selectedList = []
|
||||||
this.standardCheckedList = []
|
this.standardCheckedList = []
|
||||||
this.standardDrawer = false
|
this.standardDrawer = false
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
initializeFileList(property ,value){
|
initializeFileList(property ,value){
|
||||||
switch (property){
|
switch (property){
|
||||||
case 'xgd':
|
case 'xgd':
|
||||||
this.getFileList(value,this.xgdFileList);
|
this.getFileList(value,this.xgdFileList);
|
||||||
break;
|
break;
|
||||||
case 'fbgbjbd':
|
case 'fbgbjbd':
|
||||||
this.getFileList(value,this.FBGBJBDFileList);
|
this.getFileList(value,this.FBGBJBDFileList);
|
||||||
break;
|
break;
|
||||||
case 'ssg':
|
case 'ssg':
|
||||||
this.getFileList(value,this.ssgFileList);
|
this.getFileList(value,this.ssgFileList);
|
||||||
break;
|
break;
|
||||||
case 'ca':
|
case 'ca':
|
||||||
this.getFileList(value,this.caFileList);
|
this.getFileList(value,this.caFileList);
|
||||||
break;
|
break;
|
||||||
case 'zbjbd':
|
case 'zbjbd':
|
||||||
this.getFileList(value,this.zbjbdFileList);
|
this.getFileList(value,this.zbjbdFileList);
|
||||||
break;
|
break;
|
||||||
case 'kwj':
|
case 'kwj':
|
||||||
this.getFileList(value,this.kwjFileList);
|
this.getFileList(value,this.kwjFileList);
|
||||||
break;
|
break;
|
||||||
case 'jdwj':
|
case 'jdwj':
|
||||||
this.getFileList(value,this.jdwjFileList);
|
this.getFileList(value,this.jdwjFileList);
|
||||||
break;
|
break;
|
||||||
case 'bpg':
|
case 'bpg':
|
||||||
this.getFileList(value,this.bpgFileList);
|
this.getFileList(value,this.bpgFileList);
|
||||||
break;
|
break;
|
||||||
case 'zqyjg':
|
case 'zqyjg':
|
||||||
this.getFileList(value,this.zqyjgFileList);
|
this.getFileList(value,this.zqyjgFileList);
|
||||||
break;
|
break;
|
||||||
case 'glwj':
|
case 'glwj':
|
||||||
this.getFileList(value,this.glwjFileList);
|
this.getFileList(value,this.glwjFileList);
|
||||||
break;
|
break;
|
||||||
default: ;
|
default:
|
||||||
}
|
}
|
||||||
},getFileList(fileIds,defaultFileList){
|
},getFileList(fileIds,defaultFileList){
|
||||||
|
|
||||||
@@ -1131,17 +1132,17 @@ export default {
|
|||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
|
|
||||||
let fileList = res.data
|
const fileList = res.data
|
||||||
if (fileList != null && fileList.length > 0) {
|
if (fileList != null && fileList.length > 0) {
|
||||||
for (let i = 0; i < fileList.length; i++) {
|
for (let i = 0; i < fileList.length; i++) {
|
||||||
let obj = {name: '', response: {}}
|
const obj = {name: '', response: {}}
|
||||||
obj.name = fileList[i].oldFileName
|
obj.name = fileList[i].oldFileName
|
||||||
obj.response.data = fileList[i]
|
obj.response.data = fileList[i]
|
||||||
|
|
||||||
|
|
||||||
//根据以‘,’分割的id查询到的文件信息,放入对应的文件list中
|
//根据以‘,’分割的id查询到的文件信息,放入对应的文件list中
|
||||||
defaultFileList.push(obj)
|
defaultFileList.push(obj)
|
||||||
console.log("defaultFileList",defaultFileList);
|
console.log('defaultFileList',defaultFileList);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}, e => {
|
}, e => {
|
||||||
@@ -1209,8 +1210,8 @@ export default {
|
|||||||
saveUserInfo () {
|
saveUserInfo () {
|
||||||
this.filterText = ''
|
this.filterText = ''
|
||||||
if (this.userType === 'zrUserId') {
|
if (this.userType === 'zrUserId') {
|
||||||
this.roleForm.zrUserId = this.zrUserIds.map(item => item.id).join(",")
|
this.roleForm.zrUserId = this.zrUserIds.map(item => item.id).join(',')
|
||||||
this.roleForm.zrUserName = this.zrUserIds.map(item => item.name).join(",")
|
this.roleForm.zrUserName = this.zrUserIds.map(item => item.name).join(',')
|
||||||
} else if (this.userType === 'jlUserId') {
|
} else if (this.userType === 'jlUserId') {
|
||||||
this.roleForm.jlUserId = this.roleRow.id
|
this.roleForm.jlUserId = this.roleRow.id
|
||||||
this.roleForm.jlUserName = this.roleRow.name
|
this.roleForm.jlUserName = this.roleRow.name
|
||||||
@@ -1241,7 +1242,7 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
}else {
|
}else {
|
||||||
var getlist = this.$refs.tree.getCheckedNodes().concat(this.$refs.tree.getHalfCheckedNodes());
|
const getlist = this.$refs.tree.getCheckedNodes().concat(this.$refs.tree.getHalfCheckedNodes());
|
||||||
if(getlist.length == 1) {
|
if(getlist.length == 1) {
|
||||||
this.roleRow = getlist[0]
|
this.roleRow = getlist[0]
|
||||||
}else {
|
}else {
|
||||||
@@ -1253,15 +1254,15 @@ export default {
|
|||||||
// 更多
|
// 更多
|
||||||
handleCommand (command) {
|
handleCommand (command) {
|
||||||
switch (command[2]) {
|
switch (command[2]) {
|
||||||
case '新增':
|
case '新增':
|
||||||
this.createChildRow(command[0],command[1])
|
this.createChildRow(command[0],command[1])
|
||||||
break
|
break
|
||||||
case '维护':
|
case '维护':
|
||||||
command[1].disabled = false
|
command[1].disabled = false
|
||||||
break
|
break
|
||||||
case '删除':
|
case '删除':
|
||||||
this.handleDelete(command[0],command[1])
|
this.handleDelete(command[0],command[1])
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
choiceZRRList (type, title, id) {
|
choiceZRRList (type, title, id) {
|
||||||
@@ -1321,8 +1322,8 @@ export default {
|
|||||||
this.modalShowFlag2 = true
|
this.modalShowFlag2 = true
|
||||||
this.url = ''
|
this.url = ''
|
||||||
this.urlChild = ''
|
this.urlChild = ''
|
||||||
this.url="sarVppsTree/list"
|
this.url='sarVppsTree/list'
|
||||||
this.urlChild="sarVppsTree/childByList"
|
this.urlChild='sarVppsTree/childByList'
|
||||||
this.key1++
|
this.key1++
|
||||||
},
|
},
|
||||||
choiceZRR3 (type, title, id) {
|
choiceZRR3 (type, title, id) {
|
||||||
@@ -1330,8 +1331,8 @@ export default {
|
|||||||
this.modalShowFlag3 = true
|
this.modalShowFlag3 = true
|
||||||
this.url = ''
|
this.url = ''
|
||||||
this.urlChild = ''
|
this.urlChild = ''
|
||||||
this.url="sarVppsTree/list"
|
this.url='sarVppsTree/list'
|
||||||
this.urlChild="sarVppsTree/childByList"
|
this.urlChild='sarVppsTree/childByList'
|
||||||
this.key2++
|
this.key2++
|
||||||
},
|
},
|
||||||
choiceZRR4 (type, title, id) {
|
choiceZRR4 (type, title, id) {
|
||||||
@@ -1339,8 +1340,8 @@ export default {
|
|||||||
this.modalShowFlag4 = true
|
this.modalShowFlag4 = true
|
||||||
this.url = ''
|
this.url = ''
|
||||||
this.urlChild = ''
|
this.urlChild = ''
|
||||||
this.url="sarModelTree/list"
|
this.url='sarModelTree/list'
|
||||||
this.urlChild="sarModelTree/childByList"
|
this.urlChild='sarModelTree/childByList'
|
||||||
this.key3++
|
this.key3++
|
||||||
},
|
},
|
||||||
getTree () {
|
getTree () {
|
||||||
@@ -1460,7 +1461,7 @@ export default {
|
|||||||
},
|
},
|
||||||
// 点击查看
|
// 点击查看
|
||||||
handlePreview (item) {
|
handlePreview (item) {
|
||||||
let routeUrl = this.$router.resolve({
|
const routeUrl = this.$router.resolve({
|
||||||
name: 'OtherLawsStandDetails',
|
name: 'OtherLawsStandDetails',
|
||||||
params: {
|
params: {
|
||||||
id: item.id,
|
id: item.id,
|
||||||
@@ -1518,10 +1519,10 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
beginImportFile (file) {
|
beginImportFile (file) {
|
||||||
var filename = file.name
|
const filename = file.name
|
||||||
var index1 = filename.lastIndexOf('.')
|
const index1 = filename.lastIndexOf('.')
|
||||||
var index2 = filename.length
|
const index2 = filename.length
|
||||||
var fileSuffix = filename.substring(index1, index2)
|
const fileSuffix = filename.substring(index1, index2)
|
||||||
// const fileSuffix = file.name.split('.')[1] // 后缀名
|
// const fileSuffix = file.name.split('.')[1] // 后缀名
|
||||||
// 判断上传文件格式
|
// 判断上传文件格式
|
||||||
if (fileSuffix === '.pdf' || fileSuffix === '.PDF' || fileSuffix === '.ppt'|| fileSuffix === '.PPT' || fileSuffix === '.pptx'|| fileSuffix === '.PPTX'|| fileSuffix === '.doc' || fileSuffix === '.DOC' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.zip' || fileSuffix === '.xls' || fileSuffix === '.xlsx') {
|
if (fileSuffix === '.pdf' || fileSuffix === '.PDF' || fileSuffix === '.ppt'|| fileSuffix === '.PPT' || fileSuffix === '.pptx'|| fileSuffix === '.PPTX'|| fileSuffix === '.doc' || fileSuffix === '.DOC' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.zip' || fileSuffix === '.xls' || fileSuffix === '.xlsx') {
|
||||||
@@ -1579,9 +1580,9 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}).catch(e => {
|
}).catch(e => {
|
||||||
console.log(e)
|
console.log(e)
|
||||||
this.$message.warning('文件不存在,预览失败')
|
this.$message.warning('文件不存在,预览失败')
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 导入标准数据成功后执行
|
// 导入标准数据成功后执行
|
||||||
@@ -1593,22 +1594,22 @@ export default {
|
|||||||
if (response.ok) {
|
if (response.ok) {
|
||||||
|
|
||||||
switch (this.fileType){
|
switch (this.fileType){
|
||||||
case 'FBGBUSS':
|
case 'FBGBUSS':
|
||||||
this.FBGBUSSFileList = fileList
|
this.FBGBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
case 'BZSMBUSS' :
|
case 'BZSMBUSS' :
|
||||||
this.BZSMBUSSFileList = fileList
|
this.BZSMBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
case 'LSBBBUSS':
|
case 'LSBBBUSS':
|
||||||
this.LSBBBUSSFileList = fileList
|
this.LSBBBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
case 'GLWJLAWS':
|
case 'GLWJLAWS':
|
||||||
this.QTWJBUSSFileList = fileList
|
this.QTWJBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
case 'GLWJBUSS':
|
case 'GLWJBUSS':
|
||||||
this.GLWJBUSSFileList = fileList
|
this.GLWJBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
default : ;
|
default :
|
||||||
}
|
}
|
||||||
this.$message({
|
this.$message({
|
||||||
// showClose: true,
|
// showClose: true,
|
||||||
@@ -1628,22 +1629,22 @@ export default {
|
|||||||
this.fileType = type;
|
this.fileType = type;
|
||||||
|
|
||||||
switch (this.fileType){
|
switch (this.fileType){
|
||||||
case 'FBGBUSS':
|
case 'FBGBUSS':
|
||||||
this.fileList=this.FBGBUSSFileList
|
this.fileList=this.FBGBUSSFileList
|
||||||
break;
|
break;
|
||||||
case 'BZSMBUSS' :
|
case 'BZSMBUSS' :
|
||||||
this.fileList=this.BZSMBUSSFileList
|
this.fileList=this.BZSMBUSSFileList
|
||||||
break;
|
break;
|
||||||
case 'LSBBBUSS':
|
case 'LSBBBUSS':
|
||||||
this.fileList=this.LSBBBUSSFileList
|
this.fileList=this.LSBBBUSSFileList
|
||||||
break;
|
break;
|
||||||
case 'QTWJBUSS':
|
case 'QTWJBUSS':
|
||||||
this.fileList=this.QTWJBUSSFileList
|
this.fileList=this.QTWJBUSSFileList
|
||||||
break;
|
break;
|
||||||
case 'GLWJBUSS':
|
case 'GLWJBUSS':
|
||||||
this.fileList=this.GLWJBUSSFileList
|
this.fileList=this.GLWJBUSSFileList
|
||||||
break;
|
break;
|
||||||
default : ;
|
default :
|
||||||
}
|
}
|
||||||
this.fileMadel = true;
|
this.fileMadel = true;
|
||||||
|
|
||||||
@@ -1651,29 +1652,29 @@ export default {
|
|||||||
removeOneFile(file, fileList) {
|
removeOneFile(file, fileList) {
|
||||||
|
|
||||||
switch (this.fileType){
|
switch (this.fileType){
|
||||||
case 'FBGBUSS':
|
case 'FBGBUSS':
|
||||||
this.FBGBUSSFileList = fileList
|
this.FBGBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
case 'BZSMBUSS' :
|
case 'BZSMBUSS' :
|
||||||
this.BZSMBUSSFileList = fileList
|
this.BZSMBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
case 'LSBBBUSS':
|
case 'LSBBBUSS':
|
||||||
this.LSBBBUSSFileList = fileList
|
this.LSBBBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
case 'QTWJBUSS':
|
case 'QTWJBUSS':
|
||||||
this.QTWJBUSSFileList = fileList
|
this.QTWJBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
case 'GLWJBUSS':
|
case 'GLWJBUSS':
|
||||||
this.GLWJBUSSFileList = fileList
|
this.GLWJBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
default : ;
|
default :
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
popoverHideBusVs (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
popoverHideBusVs (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
||||||
if(checkedData) {
|
if(checkedData) {
|
||||||
if(checkedData.length > 0){
|
if(checkedData.length > 0){
|
||||||
this.form.VPPSBMBUSS = checkedData.map(item => item.code).join(",")
|
this.form.VPPSBMBUSS = checkedData.map(item => item.code).join(',')
|
||||||
this.form.VPPSCNBUSS = checkedData.map(item => item.chineseName).join(",")
|
this.form.VPPSCNBUSS = checkedData.map(item => item.chineseName).join(',')
|
||||||
}else {
|
}else {
|
||||||
this.form.VPPSBMBUSS = checkedData.code
|
this.form.VPPSBMBUSS = checkedData.code
|
||||||
this.form.VPPSCNBUSS = checkedData.chineseName
|
this.form.VPPSCNBUSS = checkedData.chineseName
|
||||||
@@ -1685,7 +1686,7 @@ export default {
|
|||||||
popoverHide (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
popoverHide (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
||||||
if(checkedData) {
|
if(checkedData) {
|
||||||
if(checkedData.length > 0){
|
if(checkedData.length > 0){
|
||||||
this.form.TXLBBUSS = checkedData.map(item => item.menuName).join(",")
|
this.form.TXLBBUSS = checkedData.map(item => item.menuName).join(',')
|
||||||
}else {
|
}else {
|
||||||
this.form.TXLBBUSS = checkedData.menuName
|
this.form.TXLBBUSS = checkedData.menuName
|
||||||
}
|
}
|
||||||
@@ -1699,8 +1700,8 @@ export default {
|
|||||||
popoverHideBusVs (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
popoverHideBusVs (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
||||||
if(checkedData && checkedData.length != 0) {
|
if(checkedData && checkedData.length != 0) {
|
||||||
if(checkedData.length > 0 && checkedData.length != 0){
|
if(checkedData.length > 0 && checkedData.length != 0){
|
||||||
this.form.cycvppsbm = checkedData.map(item => item.code).join(",")
|
this.form.cycvppsbm = checkedData.map(item => item.code).join(',')
|
||||||
this.form.cycvppscn = checkedData.map(item => item.chineseName).join(",")
|
this.form.cycvppscn = checkedData.map(item => item.chineseName).join(',')
|
||||||
}else {
|
}else {
|
||||||
this.form.cycvppsbm = checkedData.code
|
this.form.cycvppsbm = checkedData.code
|
||||||
this.form.cycvppscn = checkedData.chineseName
|
this.form.cycvppscn = checkedData.chineseName
|
||||||
@@ -1715,8 +1716,8 @@ export default {
|
|||||||
popoverHideCarVs (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
popoverHideCarVs (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
||||||
if(checkedData && checkedData.length != 0) {
|
if(checkedData && checkedData.length != 0) {
|
||||||
if(checkedData.length > 0){
|
if(checkedData.length > 0){
|
||||||
this.form.kccvppsbm = checkedData.map(item => item.code).join(",")
|
this.form.kccvppsbm = checkedData.map(item => item.code).join(',')
|
||||||
this.form.kccvppscn = checkedData.map(item => item.chineseName).join(",")
|
this.form.kccvppscn = checkedData.map(item => item.chineseName).join(',')
|
||||||
}else {
|
}else {
|
||||||
this.form.kccvppsbm = checkedData.code
|
this.form.kccvppsbm = checkedData.code
|
||||||
this.form.kccvppscn = checkedData.chineseName
|
this.form.kccvppscn = checkedData.chineseName
|
||||||
@@ -1731,8 +1732,8 @@ export default {
|
|||||||
popoverHideModel (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
popoverHideModel (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
||||||
if(checkedData && checkedData.length != 0) {
|
if(checkedData && checkedData.length != 0) {
|
||||||
if(checkedData.length > 0){
|
if(checkedData.length > 0){
|
||||||
this.form.dybxh = checkedData.map(item => item.model).join(",")
|
this.form.dybxh = checkedData.map(item => item.model).join(',')
|
||||||
this.form.dymc = checkedData.map(item => item.name).join(",")
|
this.form.dymc = checkedData.map(item => item.name).join(',')
|
||||||
}else {
|
}else {
|
||||||
this.form.dybxh = checkedData.model
|
this.form.dybxh = checkedData.model
|
||||||
this.form.dymc = checkedData.name
|
this.form.dymc = checkedData.name
|
||||||
@@ -1749,7 +1750,7 @@ export default {
|
|||||||
},
|
},
|
||||||
OkDrawer() {
|
OkDrawer() {
|
||||||
this.ListModel = false
|
this.ListModel = false
|
||||||
var item = {
|
const item = {
|
||||||
remarks: '123'
|
remarks: '123'
|
||||||
}
|
}
|
||||||
this.data.push(item)
|
this.data.push(item)
|
||||||
@@ -1769,7 +1770,7 @@ export default {
|
|||||||
// }
|
// }
|
||||||
|
|
||||||
this.saveLoading = true
|
this.saveLoading = true
|
||||||
let _formData = new FormData()
|
const _formData = new FormData()
|
||||||
// _formData.append('id', this.bpnId)
|
// _formData.append('id', this.bpnId)
|
||||||
_formData.append('createUser', this.$store.getters.userInfo.account)
|
_formData.append('createUser', this.$store.getters.userInfo.account)
|
||||||
_formData.append('createUserName', this.$store.getters.userInfo.uName)
|
_formData.append('createUserName', this.$store.getters.userInfo.uName)
|
||||||
@@ -1798,20 +1799,20 @@ export default {
|
|||||||
fileInfoHandle(){
|
fileInfoHandle(){
|
||||||
|
|
||||||
//拼接文件名和id 提交到流程Activity
|
//拼接文件名和id 提交到流程Activity
|
||||||
this.form.FBGBUSS=this.FBGBUSSFileList.map(item => item.response.data.id).join(",")
|
this.form.FBGBUSS=this.FBGBUSSFileList.map(item => item.response.data.id).join(',')
|
||||||
this.form.FBGBUSSName=this.FBGBUSSFileList.map(item => item.name).join(",")
|
this.form.FBGBUSSName=this.FBGBUSSFileList.map(item => item.name).join(',')
|
||||||
|
|
||||||
this.form.BZSMBUSS=this.BZSMBUSSFileList.map(item => item.response.data.id).join(",")
|
this.form.BZSMBUSS=this.BZSMBUSSFileList.map(item => item.response.data.id).join(',')
|
||||||
this.form.BZSMBUSSName=this.BZSMBUSSFileList.map(item => item.name).join(",")
|
this.form.BZSMBUSSName=this.BZSMBUSSFileList.map(item => item.name).join(',')
|
||||||
|
|
||||||
this.form.LSBBBUSS=this.LSBBBUSSFileList.map(item => item.response.data.id).join(",")
|
this.form.LSBBBUSS=this.LSBBBUSSFileList.map(item => item.response.data.id).join(',')
|
||||||
this.form.LSBBBUSSName=this.LSBBBUSSFileList.map(item => item.name).join(",")
|
this.form.LSBBBUSSName=this.LSBBBUSSFileList.map(item => item.name).join(',')
|
||||||
|
|
||||||
this.form.QTWJBUSS=this.QTWJBUSSFileList.map(item => item.response.data.id).join(",")
|
this.form.QTWJBUSS=this.QTWJBUSSFileList.map(item => item.response.data.id).join(',')
|
||||||
this.form.QTWJBUSSName=this.QTWJBUSSFileList.map(item => item.name).join(",")
|
this.form.QTWJBUSSName=this.QTWJBUSSFileList.map(item => item.name).join(',')
|
||||||
|
|
||||||
this.form.GLWJBUSS=this.GLWJBUSSFileList.map(item => item.response.data.id).join(",")
|
this.form.GLWJBUSS=this.GLWJBUSSFileList.map(item => item.response.data.id).join(',')
|
||||||
this.form.GLWJBUSSName=this.GLWJBUSSFileList.map(item => item.name).join(",")
|
this.form.GLWJBUSSName=this.GLWJBUSSFileList.map(item => item.name).join(',')
|
||||||
|
|
||||||
},
|
},
|
||||||
// 删除方法
|
// 删除方法
|
||||||
@@ -1831,7 +1832,7 @@ export default {
|
|||||||
return data
|
return data
|
||||||
},
|
},
|
||||||
changeRestTree(val) {
|
changeRestTree(val) {
|
||||||
let arr = [];
|
const arr = [];
|
||||||
if (val.length !== 0) {
|
if (val.length !== 0) {
|
||||||
val.forEach(item => {
|
val.forEach(item => {
|
||||||
if (item.children.length >= 1) {
|
if (item.children.length >= 1) {
|
||||||
@@ -1839,7 +1840,7 @@ export default {
|
|||||||
}
|
}
|
||||||
if(item.pid === '0'){
|
if(item.pid === '0'){
|
||||||
item.id = arr.length + 1,
|
item.id = arr.length + 1,
|
||||||
item.modelNum = arr.length + 1+''
|
item.modelNum = arr.length + 1+''
|
||||||
item.orderNum = arr.length + 1 // orderNum为新创建行的索引
|
item.orderNum = arr.length + 1 // orderNum为新创建行的索引
|
||||||
item.modelIndex = arr.length
|
item.modelIndex = arr.length
|
||||||
}else {
|
}else {
|
||||||
@@ -1856,19 +1857,19 @@ export default {
|
|||||||
return arr;
|
return arr;
|
||||||
},
|
},
|
||||||
changeTree(val) {
|
changeTree(val) {
|
||||||
let arr = [];
|
const arr = [];
|
||||||
this.modelDataNameVerify = []
|
this.modelDataNameVerify = []
|
||||||
this.modelDataZrUserVerify = []
|
this.modelDataZrUserVerify = []
|
||||||
if (val.length !== 0) {
|
if (val.length !== 0) {
|
||||||
val.forEach(item => {
|
val.forEach(item => {
|
||||||
let obj = {};
|
const obj = {};
|
||||||
obj.modelName = item.modelName;
|
obj.modelName = item.modelName;
|
||||||
obj.zrUserIdName = item.zrUserIdName;
|
obj.zrUserIdName = item.zrUserIdName;
|
||||||
if(!obj.modelName || obj.modelName === ''){
|
if(!obj.modelName || obj.modelName === ''){
|
||||||
this.modelDataNameVerify.push("1")
|
this.modelDataNameVerify.push('1')
|
||||||
}
|
}
|
||||||
if(item.pid === '0' && (!obj.zrUserIdName || obj.zrUserIdName === '')){
|
if(item.pid === '0' && (!obj.zrUserIdName || obj.zrUserIdName === '')){
|
||||||
this.modelDataZrUserVerify.push("1")
|
this.modelDataZrUserVerify.push('1')
|
||||||
}
|
}
|
||||||
if (item.children.length >= 1) {
|
if (item.children.length >= 1) {
|
||||||
item.children = this.changeTree(item.children);
|
item.children = this.changeTree(item.children);
|
||||||
@@ -1927,13 +1928,14 @@ export default {
|
|||||||
}, res => {
|
}, res => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
if(this.formTongGuo.approvalOpinion === '1'){
|
if(this.formTongGuo.approvalOpinion === '1'){
|
||||||
this.$message.warning("驳回成功")
|
this.$message.warning('驳回成功')
|
||||||
}else{
|
}else{
|
||||||
this.$message.success(res.message)
|
this.$message.success(res.message)
|
||||||
// this.processCreateLaws(json)
|
// this.processCreateLaws(json)
|
||||||
}
|
}
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// 流程提交之后,应该流转至待办任务页面
|
// 流程提交之后,应该流转至待办任务页面
|
||||||
// this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
// this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
||||||
}else {
|
}else {
|
||||||
@@ -1987,16 +1989,16 @@ export default {
|
|||||||
if(obj instanceof Array){
|
if(obj instanceof Array){
|
||||||
return obj;
|
return obj;
|
||||||
}else {
|
}else {
|
||||||
return obj.split(",")
|
return obj.split(',')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return "";
|
return '';
|
||||||
},
|
},
|
||||||
assemble(ids,names){
|
assemble(ids,names){
|
||||||
let list= new Array();
|
const list= new Array();
|
||||||
if(ids && ids !== '' && names && names !== ''){
|
if(ids && ids !== '' && names && names !== ''){
|
||||||
let idArray=ids.split(',');
|
const idArray=ids.split(',');
|
||||||
let nameArray=names.split(',');
|
const nameArray=names.split(',');
|
||||||
for(let i=0; i<idArray.length; i++){
|
for(let i=0; i<idArray.length; i++){
|
||||||
list.push({id:idArray[i],name:nameArray[i]});
|
list.push({id:idArray[i],name:nameArray[i]});
|
||||||
}
|
}
|
||||||
@@ -2036,7 +2038,7 @@ export default {
|
|||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
Promise.all([this.getTaskId()]).then((value) => {
|
Promise.all([this.getTaskId()]).then((value) => {
|
||||||
if(value[0] &&value.length > 0){
|
if(value[0] &&value.length > 0){
|
||||||
let mes = JSON.parse(value[0].mes)
|
const mes = JSON.parse(value[0].mes)
|
||||||
mes.form.date = new Date(this.$moment(mes.form.date).format('YYYY-MM-DD'))
|
mes.form.date = new Date(this.$moment(mes.form.date).format('YYYY-MM-DD'))
|
||||||
this.form = mes.form
|
this.form = mes.form
|
||||||
this.taskIds = mes.taskIds;
|
this.taskIds = mes.taskIds;
|
||||||
|
|||||||
@@ -239,7 +239,8 @@ export default {
|
|||||||
}
|
}
|
||||||
this.footerLoading = false
|
this.footerLoading = false
|
||||||
|
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
} else {
|
} else {
|
||||||
this.footerLoading = false
|
this.footerLoading = false
|
||||||
this.$message.error(res.message)
|
this.$message.error(res.message)
|
||||||
@@ -280,7 +281,8 @@ export default {
|
|||||||
this.drawerModal = false
|
this.drawerModal = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
}, 100)
|
}, 100)
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
|||||||
@@ -348,7 +348,8 @@ export default {
|
|||||||
}
|
}
|
||||||
this.footerLoading = false
|
this.footerLoading = false
|
||||||
|
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
} else {
|
} else {
|
||||||
this.footerLoading = false
|
this.footerLoading = false
|
||||||
this.$message.error(res.message)
|
this.$message.error(res.message)
|
||||||
@@ -389,7 +390,8 @@ export default {
|
|||||||
this.drawerModal = false
|
this.drawerModal = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
}, 100)
|
}, 100)
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
|||||||
@@ -165,7 +165,8 @@ export default {
|
|||||||
this.drawerModal = false
|
this.drawerModal = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
}, 100)
|
}, 100)
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
|||||||
@@ -171,7 +171,8 @@ export default {
|
|||||||
this.drawerModal = false
|
this.drawerModal = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
}, 100)
|
}, 100)
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
|||||||
@@ -158,17 +158,17 @@
|
|||||||
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
||||||
import ProcessFooter from '../../components/ProcessFooter'
|
import ProcessFooter from '../../components/ProcessFooter'
|
||||||
import ProcessTitle from '../../components/ProcessTitle'
|
import ProcessTitle from '../../components/ProcessTitle'
|
||||||
import formList from "process/phone/qbrk/common/formList";
|
import formList from 'process/phone/qbrk/common/formList';
|
||||||
import {
|
import {
|
||||||
inboundLiaisonDetail,
|
inboundLiaisonDetail,
|
||||||
processCreateStand,
|
processCreateStand,
|
||||||
changeAssigneeNew,
|
changeAssigneeNew,
|
||||||
queryTaskFirst,
|
queryTaskFirst,
|
||||||
getBusStandFileByAttId, saveTaskFirst
|
getBusStandFileByAttId, saveTaskFirst
|
||||||
} from "api/process";
|
} from 'api/process';
|
||||||
import TreeSelect from '@/components/treeSelect/treeSelect.vue';
|
import TreeSelect from '@/components/treeSelect/treeSelect.vue';
|
||||||
import CusTomDataPickerGroup
|
import CusTomDataPickerGroup
|
||||||
from "@/pages/regulatoryRepository/localProductsOrProjectLibrary/components/DatePickerGroup";
|
from '@/pages/regulatoryRepository/localProductsOrProjectLibrary/components/DatePickerGroup';
|
||||||
import Vue from 'vue';
|
import Vue from 'vue';
|
||||||
import { Form } from 'vant';
|
import { Form } from 'vant';
|
||||||
import { Field } from 'vant';
|
import { Field } from 'vant';
|
||||||
@@ -177,7 +177,7 @@ import hwh5 from '@/api/hwh5-cloudonline.js'
|
|||||||
Vue.use(Form);
|
Vue.use(Form);
|
||||||
Vue.use(Field);
|
Vue.use(Field);
|
||||||
export default {
|
export default {
|
||||||
name: "phoneBussLibrary4",
|
name: 'phoneBussLibrary4',
|
||||||
components: {
|
components: {
|
||||||
CusTomDataPickerGroup,
|
CusTomDataPickerGroup,
|
||||||
ProcessHeaderPhone,
|
ProcessHeaderPhone,
|
||||||
@@ -1029,21 +1029,21 @@ export default {
|
|||||||
'form.issueTime': {
|
'form.issueTime': {
|
||||||
handler: function() {
|
handler: function() {
|
||||||
if(this.form.issueTime !== undefined && this.form.issueTime !== null && this.form.issueTime !== ''){
|
if(this.form.issueTime !== undefined && this.form.issueTime !== null && this.form.issueTime !== ''){
|
||||||
let date = new Date(this.$moment(this.form.issueTime).format('YYYY-MM-DD'))
|
const date = new Date(this.$moment(this.form.issueTime).format('YYYY-MM-DD'))
|
||||||
// const FSRQBUSS = date.getFullYear()+ 5 + '-' + date.getMonth() + '-' + date.getDate()
|
// const FSRQBUSS = date.getFullYear()+ 5 + '-' + date.getMonth() + '-' + date.getDate()
|
||||||
// this.sarBussionessStandEO["FSRQBUSS"] = FSRQBUSS
|
// this.sarBussionessStandEO["FSRQBUSS"] = FSRQBUSS
|
||||||
|
|
||||||
let year = date.getFullYear()+5;
|
const year = date.getFullYear()+5;
|
||||||
let month =(date.getMonth() + 1).toString();
|
let month =(date.getMonth() + 1).toString();
|
||||||
let day = (date.getDate()).toString();
|
let day = (date.getDate()).toString();
|
||||||
if (month.length == 1) {
|
if (month.length == 1) {
|
||||||
month = "0" + month;
|
month = '0' + month;
|
||||||
}
|
}
|
||||||
if (day.length == 1) {
|
if (day.length == 1) {
|
||||||
day = "0" + day;
|
day = '0' + day;
|
||||||
}
|
}
|
||||||
const FSRQBUSS = year + "-" + month + "-" + day;
|
const FSRQBUSS = year + '-' + month + '-' + day;
|
||||||
this.form["FSRQBUSS"] = FSRQBUSS
|
this.form['FSRQBUSS'] = FSRQBUSS
|
||||||
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -1052,7 +1052,7 @@ export default {
|
|||||||
handler (val) {
|
handler (val) {
|
||||||
if (val !== '' && val !== null && typeof (val) !== 'undefined') {
|
if (val !== '' && val !== null && typeof (val) !== 'undefined') {
|
||||||
if (val instanceof Array) {
|
if (val instanceof Array) {
|
||||||
this.countryArr = val.join(",");
|
this.countryArr = val.join(',');
|
||||||
} else {
|
} else {
|
||||||
this.countryArr = val
|
this.countryArr = val
|
||||||
}
|
}
|
||||||
@@ -1081,8 +1081,8 @@ export default {
|
|||||||
console.log('modelData.' + index + '.modelName')
|
console.log('modelData.' + index + '.modelName')
|
||||||
return 'modelData.' + index + '.modelName';
|
return 'modelData.' + index + '.modelName';
|
||||||
}else {
|
}else {
|
||||||
let propStr = "";
|
let propStr = '';
|
||||||
const indexList = row.modelIndex.split(",");
|
const indexList = row.modelIndex.split(',');
|
||||||
for (let i = 0; i < indexList.length; i++) {
|
for (let i = 0; i < indexList.length; i++) {
|
||||||
if(i === 0){
|
if(i === 0){
|
||||||
propStr += 'modelData.' + indexList[i]
|
propStr += 'modelData.' + indexList[i]
|
||||||
@@ -1113,10 +1113,10 @@ export default {
|
|||||||
console.log(row)
|
console.log(row)
|
||||||
console.log(this.form.modelData)
|
console.log(this.form.modelData)
|
||||||
// 模态框删除按钮
|
// 模态框删除按钮
|
||||||
this.$confirm("是否确认删除本条数据?", "提示", {
|
this.$confirm('是否确认删除本条数据?', '提示', {
|
||||||
confirmButtonText: "确定",
|
confirmButtonText: '确定',
|
||||||
cancelButtonText: "取消",
|
cancelButtonText: '取消',
|
||||||
type: "info"
|
type: 'info'
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
// 此为假删除,只是删除了模态框中当前行的数据,并没有真正删除表格数据
|
// 此为假删除,只是删除了模态框中当前行的数据,并没有真正删除表格数据
|
||||||
const ids = []
|
const ids = []
|
||||||
@@ -1124,8 +1124,8 @@ export default {
|
|||||||
this.form.modelData = this.changeRestTree(this.deletedId(this.form.modelData,ids))
|
this.form.modelData = this.changeRestTree(this.deletedId(this.form.modelData,ids))
|
||||||
console.log(this.form.modelData)
|
console.log(this.form.modelData)
|
||||||
this.$message({
|
this.$message({
|
||||||
message: "删除成功",
|
message: '删除成功',
|
||||||
type: "success",
|
type: 'success',
|
||||||
duration: 2000
|
duration: 2000
|
||||||
});
|
});
|
||||||
this.$forceUpdate()
|
this.$forceUpdate()
|
||||||
@@ -1154,10 +1154,10 @@ export default {
|
|||||||
pid: '0',
|
pid: '0',
|
||||||
modelIndex: this.form.modelData.length,
|
modelIndex: this.form.modelData.length,
|
||||||
disabled: false,
|
disabled: false,
|
||||||
modelName: "",
|
modelName: '',
|
||||||
modelContent: "",
|
modelContent: '',
|
||||||
zrUserId:"",
|
zrUserId:'',
|
||||||
zrUserIdName:"",
|
zrUserIdName:'',
|
||||||
children:[],
|
children:[],
|
||||||
};
|
};
|
||||||
this.form.modelData.push(list);
|
this.form.modelData.push(list);
|
||||||
@@ -1179,10 +1179,10 @@ export default {
|
|||||||
pid: row.modelNum,
|
pid: row.modelNum,
|
||||||
modelIndex: row.children.length,
|
modelIndex: row.children.length,
|
||||||
disabled: false,
|
disabled: false,
|
||||||
modelName: "",
|
modelName: '',
|
||||||
modelContent: "",
|
modelContent: '',
|
||||||
zrUserId:"",
|
zrUserId:'',
|
||||||
zrUserIdName:"",
|
zrUserIdName:'',
|
||||||
children:[],
|
children:[],
|
||||||
};
|
};
|
||||||
row.children.push(list)
|
row.children.push(list)
|
||||||
@@ -1196,7 +1196,7 @@ export default {
|
|||||||
const hour = d.getHours()<10 ? '0'+d.getHours() : d.getHours();//得到时
|
const hour = d.getHours()<10 ? '0'+d.getHours() : d.getHours();//得到时
|
||||||
const minute = d.getMinutes()<10 ? '0'+d.getMinutes() : d.getMinutes();//得到分
|
const minute = d.getMinutes()<10 ? '0'+d.getMinutes() : d.getMinutes();//得到分
|
||||||
const second = d.getSeconds()<10 ? '0'+d.getSeconds() : d.getSeconds();//得到秒
|
const second = d.getSeconds()<10 ? '0'+d.getSeconds() : d.getSeconds();//得到秒
|
||||||
return [year, month, day].join('-') + " " + [hour, minute, second].join(':');//格式为:YY-MM-DD hh:mm:ss(当前时间)
|
return [year, month, day].join('-') + ' ' + [hour, minute, second].join(':');//格式为:YY-MM-DD hh:mm:ss(当前时间)
|
||||||
},
|
},
|
||||||
// choiceZRRS () {
|
// choiceZRRS () {
|
||||||
// if (this.userType === 'zrUserId') {
|
// if (this.userType === 'zrUserId') {
|
||||||
@@ -1254,7 +1254,8 @@ export default {
|
|||||||
this.drawerModal = false
|
this.drawerModal = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
// this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
||||||
this.processNum()
|
this.processNum()
|
||||||
} else {
|
} else {
|
||||||
@@ -1311,7 +1312,7 @@ export default {
|
|||||||
bpnId: this.$route.query.bpnId
|
bpnId: this.$route.query.bpnId
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
this.verifySarStandard = this.$route.query.verifySarStandard
|
this.verifySarStandard = this.$route.query.verifySarStandard
|
||||||
let mes = JSON.parse(res.mes)
|
const mes = JSON.parse(res.mes)
|
||||||
mes.form.date = new Date(this.$moment(mes.form.date).format('YYYY-MM-DD'))
|
mes.form.date = new Date(this.$moment(mes.form.date).format('YYYY-MM-DD'))
|
||||||
this.form = mes.form
|
this.form = mes.form
|
||||||
this.roleForm = mes.roleForm
|
this.roleForm = mes.roleForm
|
||||||
@@ -1377,96 +1378,96 @@ export default {
|
|||||||
},
|
},
|
||||||
handleProcessStandardNext(status) {
|
handleProcessStandardNext(status) {
|
||||||
switch (status) {
|
switch (status) {
|
||||||
// 新增
|
// 新增
|
||||||
case 1:
|
case 1:
|
||||||
this.selectedList = []
|
this.selectedList = []
|
||||||
this.standardCheckedList = []
|
this.standardCheckedList = []
|
||||||
this.standardDrawer = false
|
this.standardDrawer = false
|
||||||
this.verifySarStandard = true
|
this.verifySarStandard = true
|
||||||
this.clearFormData(this.form)
|
this.clearFormData(this.form)
|
||||||
break
|
break
|
||||||
// 带入
|
// 带入
|
||||||
case 2:
|
case 2:
|
||||||
if (this.standardCheckedList.length === 1) {
|
if (this.standardCheckedList.length === 1) {
|
||||||
this.$http.get('lawss/sarLawsInfo/getStandInfoUpdateById', {id: this.standardCheckedList[0].id}, {
|
this.$http.get('lawss/sarLawsInfo/getStandInfoUpdateById', {id: this.standardCheckedList[0].id}, {
|
||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
if(res && res.data){
|
if(res && res.data){
|
||||||
const bringData = res.data
|
const bringData = res.data
|
||||||
|
|
||||||
const json = Object.assign(bringData, bringData.attrInfoMap);
|
const json = Object.assign(bringData, bringData.attrInfoMap);
|
||||||
this.form = JSON.parse(JSON.stringify(json))
|
this.form = JSON.parse(JSON.stringify(json))
|
||||||
this.form.TGRLAWS = JSON.parse(JSON.stringify(json)).TGRLAWS && JSON.parse(JSON.stringify(json)).TGRLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).TGRLAWS.split(',') : []
|
this.form.TGRLAWS = JSON.parse(JSON.stringify(json)).TGRLAWS && JSON.parse(JSON.stringify(json)).TGRLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).TGRLAWS.split(',') : []
|
||||||
this.form.TGDWLAWS = JSON.parse(JSON.stringify(json)).TGDWLAWS && JSON.parse(JSON.stringify(json)).TGDWLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).TGDWLAWS.split(',') : []
|
this.form.TGDWLAWS = JSON.parse(JSON.stringify(json)).TGDWLAWS && JSON.parse(JSON.stringify(json)).TGDWLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).TGDWLAWS.split(',') : []
|
||||||
this.form.NYLXLAWS = JSON.parse(JSON.stringify(json)).NYLXLAWS && JSON.parse(JSON.stringify(json)).NYLXLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).NYLXLAWS.split(',') : []
|
this.form.NYLXLAWS = JSON.parse(JSON.stringify(json)).NYLXLAWS && JSON.parse(JSON.stringify(json)).NYLXLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).NYLXLAWS.split(',') : []
|
||||||
this.form.YYRZLAWS = JSON.parse(JSON.stringify(json)).YYRZLAWS && JSON.parse(JSON.stringify(json)).YYRZLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).YYRZLAWS.split(',') : []
|
this.form.YYRZLAWS = JSON.parse(JSON.stringify(json)).YYRZLAWS && JSON.parse(JSON.stringify(json)).YYRZLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).YYRZLAWS.split(',') : []
|
||||||
this.form.ZRBMLAWS = JSON.parse(JSON.stringify(json)).ZRBMLAWS && JSON.parse(JSON.stringify(json)).ZRBMLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).ZRBMLAWS.split(',') : []
|
this.form.ZRBMLAWS = JSON.parse(JSON.stringify(json)).ZRBMLAWS && JSON.parse(JSON.stringify(json)).ZRBMLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).ZRBMLAWS.split(',') : []
|
||||||
this.form.ZRGCSLAWS = JSON.parse(JSON.stringify(json)).ZRGCSLAWS && JSON.parse(JSON.stringify(json)).ZRGCSLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).ZRGCSLAWS.split(',') : []
|
this.form.ZRGCSLAWS = JSON.parse(JSON.stringify(json)).ZRGCSLAWS && JSON.parse(JSON.stringify(json)).ZRGCSLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).ZRGCSLAWS.split(',') : []
|
||||||
this.form.prcNum = this.prcNum
|
this.form.prcNum = this.prcNum
|
||||||
this.form.prcName = this.prcName
|
this.form.prcName = this.prcName
|
||||||
this.form['id'] = bringData.id
|
this.form['id'] = bringData.id
|
||||||
this.standardDrawer = false
|
this.standardDrawer = false
|
||||||
this.verifySarStandard = true
|
this.verifySarStandard = true
|
||||||
this.busVsFunc()
|
this.busVsFunc()
|
||||||
this.modelFunc()
|
this.modelFunc()
|
||||||
this.$forceUpdate()
|
this.$forceUpdate()
|
||||||
|
}
|
||||||
|
// 遍历对象初始化文件信息
|
||||||
|
for(const p in this.form) {
|
||||||
|
if (typeof (this.form[p ]) != 'function') {
|
||||||
|
this.initializeFileList(p,this.form[p]);
|
||||||
}
|
}
|
||||||
// 遍历对象初始化文件信息
|
}
|
||||||
for(const p in this.form) {
|
console.log('res',res);
|
||||||
if (typeof (this.form[p ]) != "function") {
|
})
|
||||||
this.initializeFileList(p,this.form[p]);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
console.log("res",res);
|
|
||||||
})
|
|
||||||
|
|
||||||
} else if (this.standardCheckedList.length > 1) {
|
} else if (this.standardCheckedList.length > 1) {
|
||||||
this.$message.warning('最多可以带入一条政策信息')
|
this.$message.warning('最多可以带入一条政策信息')
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning('请选择要带入的政策信息')
|
this.$message.warning('请选择要带入的政策信息')
|
||||||
}
|
}
|
||||||
break
|
break
|
||||||
// 取消
|
// 取消
|
||||||
case 3:
|
case 3:
|
||||||
this.selectedList = []
|
this.selectedList = []
|
||||||
this.standardCheckedList = []
|
this.standardCheckedList = []
|
||||||
this.standardDrawer = false
|
this.standardDrawer = false
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
initializeFileList(property ,value){
|
initializeFileList(property ,value){
|
||||||
switch (property){
|
switch (property){
|
||||||
case 'xgd':
|
case 'xgd':
|
||||||
this.getFileList(value,this.xgdFileList);
|
this.getFileList(value,this.xgdFileList);
|
||||||
break;
|
break;
|
||||||
case 'fbgbjbd':
|
case 'fbgbjbd':
|
||||||
this.getFileList(value,this.FBGBJBDFileList);
|
this.getFileList(value,this.FBGBJBDFileList);
|
||||||
break;
|
break;
|
||||||
case 'ssg':
|
case 'ssg':
|
||||||
this.getFileList(value,this.ssgFileList);
|
this.getFileList(value,this.ssgFileList);
|
||||||
break;
|
break;
|
||||||
case 'ca':
|
case 'ca':
|
||||||
this.getFileList(value,this.caFileList);
|
this.getFileList(value,this.caFileList);
|
||||||
break;
|
break;
|
||||||
case 'zbjbd':
|
case 'zbjbd':
|
||||||
this.getFileList(value,this.zbjbdFileList);
|
this.getFileList(value,this.zbjbdFileList);
|
||||||
break;
|
break;
|
||||||
case 'kwj':
|
case 'kwj':
|
||||||
this.getFileList(value,this.kwjFileList);
|
this.getFileList(value,this.kwjFileList);
|
||||||
break;
|
break;
|
||||||
case 'jdwj':
|
case 'jdwj':
|
||||||
this.getFileList(value,this.jdwjFileList);
|
this.getFileList(value,this.jdwjFileList);
|
||||||
break;
|
break;
|
||||||
case 'bpg':
|
case 'bpg':
|
||||||
this.getFileList(value,this.bpgFileList);
|
this.getFileList(value,this.bpgFileList);
|
||||||
break;
|
break;
|
||||||
case 'zqyjg':
|
case 'zqyjg':
|
||||||
this.getFileList(value,this.zqyjgFileList);
|
this.getFileList(value,this.zqyjgFileList);
|
||||||
break;
|
break;
|
||||||
case 'glwj':
|
case 'glwj':
|
||||||
this.getFileList(value,this.glwjFileList);
|
this.getFileList(value,this.glwjFileList);
|
||||||
break;
|
break;
|
||||||
default: ;
|
default:
|
||||||
}
|
}
|
||||||
},getFileList(fileIds,defaultFileList){
|
},getFileList(fileIds,defaultFileList){
|
||||||
|
|
||||||
@@ -1477,17 +1478,17 @@ export default {
|
|||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
|
|
||||||
let fileList = res.data
|
const fileList = res.data
|
||||||
if (fileList != null && fileList.length > 0) {
|
if (fileList != null && fileList.length > 0) {
|
||||||
for (let i = 0; i < fileList.length; i++) {
|
for (let i = 0; i < fileList.length; i++) {
|
||||||
let obj = {name: '', response: {}}
|
const obj = {name: '', response: {}}
|
||||||
obj.name = fileList[i].oldFileName
|
obj.name = fileList[i].oldFileName
|
||||||
obj.response.data = fileList[i]
|
obj.response.data = fileList[i]
|
||||||
|
|
||||||
|
|
||||||
//根据以‘,’分割的id查询到的文件信息,放入对应的文件list中
|
//根据以‘,’分割的id查询到的文件信息,放入对应的文件list中
|
||||||
defaultFileList.push(obj)
|
defaultFileList.push(obj)
|
||||||
console.log("defaultFileList",defaultFileList);
|
console.log('defaultFileList',defaultFileList);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}, e => {
|
}, e => {
|
||||||
@@ -1555,8 +1556,8 @@ export default {
|
|||||||
saveUserInfo () {
|
saveUserInfo () {
|
||||||
this.filterText = ''
|
this.filterText = ''
|
||||||
if (this.userType === 'zrUserId') {
|
if (this.userType === 'zrUserId') {
|
||||||
this.roleForm.zrUserId = this.zrUserIds.map(item => item.id).join(",")
|
this.roleForm.zrUserId = this.zrUserIds.map(item => item.id).join(',')
|
||||||
this.roleForm.zrUserName = this.zrUserIds.map(item => item.name).join(",")
|
this.roleForm.zrUserName = this.zrUserIds.map(item => item.name).join(',')
|
||||||
} else if (this.userType === 'jlUserId') {
|
} else if (this.userType === 'jlUserId') {
|
||||||
this.roleForm.jlUserId = this.roleRow.id
|
this.roleForm.jlUserId = this.roleRow.id
|
||||||
this.roleForm.jlUserName = this.roleRow.name
|
this.roleForm.jlUserName = this.roleRow.name
|
||||||
@@ -1587,7 +1588,7 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
}else {
|
}else {
|
||||||
var getlist = this.$refs.tree.getCheckedNodes().concat(this.$refs.tree.getHalfCheckedNodes());
|
const getlist = this.$refs.tree.getCheckedNodes().concat(this.$refs.tree.getHalfCheckedNodes());
|
||||||
if(getlist.length == 1) {
|
if(getlist.length == 1) {
|
||||||
this.roleRow = getlist[0]
|
this.roleRow = getlist[0]
|
||||||
}else {
|
}else {
|
||||||
@@ -1599,15 +1600,15 @@ export default {
|
|||||||
// 更多
|
// 更多
|
||||||
handleCommand (command) {
|
handleCommand (command) {
|
||||||
switch (command[2]) {
|
switch (command[2]) {
|
||||||
case '新增':
|
case '新增':
|
||||||
this.createChildRow(command[0],command[1])
|
this.createChildRow(command[0],command[1])
|
||||||
break
|
break
|
||||||
case '维护':
|
case '维护':
|
||||||
command[1].disabled = false
|
command[1].disabled = false
|
||||||
break
|
break
|
||||||
case '删除':
|
case '删除':
|
||||||
this.handleDelete(command[0],command[1])
|
this.handleDelete(command[0],command[1])
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
choiceZRRList (type, title, id) {
|
choiceZRRList (type, title, id) {
|
||||||
@@ -1667,8 +1668,8 @@ export default {
|
|||||||
this.modalShowFlag2 = true
|
this.modalShowFlag2 = true
|
||||||
this.url = ''
|
this.url = ''
|
||||||
this.urlChild = ''
|
this.urlChild = ''
|
||||||
this.url="sarVppsTree/list"
|
this.url='sarVppsTree/list'
|
||||||
this.urlChild="sarVppsTree/childByList"
|
this.urlChild='sarVppsTree/childByList'
|
||||||
this.key1++
|
this.key1++
|
||||||
},
|
},
|
||||||
choiceZRR3 (type, title, id) {
|
choiceZRR3 (type, title, id) {
|
||||||
@@ -1676,8 +1677,8 @@ export default {
|
|||||||
this.modalShowFlag3 = true
|
this.modalShowFlag3 = true
|
||||||
this.url = ''
|
this.url = ''
|
||||||
this.urlChild = ''
|
this.urlChild = ''
|
||||||
this.url="sarVppsTree/list"
|
this.url='sarVppsTree/list'
|
||||||
this.urlChild="sarVppsTree/childByList"
|
this.urlChild='sarVppsTree/childByList'
|
||||||
this.key2++
|
this.key2++
|
||||||
},
|
},
|
||||||
choiceZRR4 (type, title, id) {
|
choiceZRR4 (type, title, id) {
|
||||||
@@ -1685,8 +1686,8 @@ export default {
|
|||||||
this.modalShowFlag4 = true
|
this.modalShowFlag4 = true
|
||||||
this.url = ''
|
this.url = ''
|
||||||
this.urlChild = ''
|
this.urlChild = ''
|
||||||
this.url="sarModelTree/list"
|
this.url='sarModelTree/list'
|
||||||
this.urlChild="sarModelTree/childByList"
|
this.urlChild='sarModelTree/childByList'
|
||||||
this.key3++
|
this.key3++
|
||||||
},
|
},
|
||||||
getTree () {
|
getTree () {
|
||||||
@@ -1806,7 +1807,7 @@ export default {
|
|||||||
},
|
},
|
||||||
// 点击查看
|
// 点击查看
|
||||||
handlePreview (item) {
|
handlePreview (item) {
|
||||||
let routeUrl = this.$router.resolve({
|
const routeUrl = this.$router.resolve({
|
||||||
name: 'OtherLawsStandDetails',
|
name: 'OtherLawsStandDetails',
|
||||||
params: {
|
params: {
|
||||||
id: item.id,
|
id: item.id,
|
||||||
@@ -1864,10 +1865,10 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
beginImportFile (file) {
|
beginImportFile (file) {
|
||||||
var filename = file.name
|
const filename = file.name
|
||||||
var index1 = filename.lastIndexOf('.')
|
const index1 = filename.lastIndexOf('.')
|
||||||
var index2 = filename.length
|
const index2 = filename.length
|
||||||
var fileSuffix = filename.substring(index1, index2)
|
const fileSuffix = filename.substring(index1, index2)
|
||||||
// const fileSuffix = file.name.split('.')[1] // 后缀名
|
// const fileSuffix = file.name.split('.')[1] // 后缀名
|
||||||
// 判断上传文件格式
|
// 判断上传文件格式
|
||||||
if (fileSuffix === '.pdf' || fileSuffix === '.PDF' || fileSuffix === '.ppt'|| fileSuffix === '.PPT' || fileSuffix === '.pptx'|| fileSuffix === '.PPTX'|| fileSuffix === '.doc' || fileSuffix === '.DOC' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.zip' || fileSuffix === '.xls' || fileSuffix === '.xlsx') {
|
if (fileSuffix === '.pdf' || fileSuffix === '.PDF' || fileSuffix === '.ppt'|| fileSuffix === '.PPT' || fileSuffix === '.pptx'|| fileSuffix === '.PPTX'|| fileSuffix === '.doc' || fileSuffix === '.DOC' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.zip' || fileSuffix === '.xls' || fileSuffix === '.xlsx') {
|
||||||
@@ -1925,9 +1926,9 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}).catch(e => {
|
}).catch(e => {
|
||||||
console.log(e)
|
console.log(e)
|
||||||
this.$message.warning('文件不存在,预览失败')
|
this.$message.warning('文件不存在,预览失败')
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 导入标准数据成功后执行
|
// 导入标准数据成功后执行
|
||||||
@@ -1939,22 +1940,22 @@ export default {
|
|||||||
if (response.ok) {
|
if (response.ok) {
|
||||||
|
|
||||||
switch (this.fileType){
|
switch (this.fileType){
|
||||||
case 'FBGBUSS':
|
case 'FBGBUSS':
|
||||||
this.FBGBUSSFileList = fileList
|
this.FBGBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
case 'BZSMBUSS' :
|
case 'BZSMBUSS' :
|
||||||
this.BZSMBUSSFileList = fileList
|
this.BZSMBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
case 'LSBBBUSS':
|
case 'LSBBBUSS':
|
||||||
this.LSBBBUSSFileList = fileList
|
this.LSBBBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
case 'GLWJLAWS':
|
case 'GLWJLAWS':
|
||||||
this.QTWJBUSSFileList = fileList
|
this.QTWJBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
case 'GLWJBUSS':
|
case 'GLWJBUSS':
|
||||||
this.GLWJBUSSFileList = fileList
|
this.GLWJBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
default : ;
|
default :
|
||||||
}
|
}
|
||||||
this.$message({
|
this.$message({
|
||||||
// showClose: true,
|
// showClose: true,
|
||||||
@@ -1974,22 +1975,22 @@ export default {
|
|||||||
this.fileType = type;
|
this.fileType = type;
|
||||||
|
|
||||||
switch (this.fileType){
|
switch (this.fileType){
|
||||||
case 'FBGBUSS':
|
case 'FBGBUSS':
|
||||||
this.fileList=this.FBGBUSSFileList
|
this.fileList=this.FBGBUSSFileList
|
||||||
break;
|
break;
|
||||||
case 'BZSMBUSS' :
|
case 'BZSMBUSS' :
|
||||||
this.fileList=this.BZSMBUSSFileList
|
this.fileList=this.BZSMBUSSFileList
|
||||||
break;
|
break;
|
||||||
case 'LSBBBUSS':
|
case 'LSBBBUSS':
|
||||||
this.fileList=this.LSBBBUSSFileList
|
this.fileList=this.LSBBBUSSFileList
|
||||||
break;
|
break;
|
||||||
case 'QTWJBUSS':
|
case 'QTWJBUSS':
|
||||||
this.fileList=this.QTWJBUSSFileList
|
this.fileList=this.QTWJBUSSFileList
|
||||||
break;
|
break;
|
||||||
case 'GLWJBUSS':
|
case 'GLWJBUSS':
|
||||||
this.fileList=this.GLWJBUSSFileList
|
this.fileList=this.GLWJBUSSFileList
|
||||||
break;
|
break;
|
||||||
default : ;
|
default :
|
||||||
}
|
}
|
||||||
this.fileMadel = true;
|
this.fileMadel = true;
|
||||||
|
|
||||||
@@ -1997,29 +1998,29 @@ export default {
|
|||||||
removeOneFile(file, fileList) {
|
removeOneFile(file, fileList) {
|
||||||
|
|
||||||
switch (this.fileType){
|
switch (this.fileType){
|
||||||
case 'FBGBUSS':
|
case 'FBGBUSS':
|
||||||
this.FBGBUSSFileList = fileList
|
this.FBGBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
case 'BZSMBUSS' :
|
case 'BZSMBUSS' :
|
||||||
this.BZSMBUSSFileList = fileList
|
this.BZSMBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
case 'LSBBBUSS':
|
case 'LSBBBUSS':
|
||||||
this.LSBBBUSSFileList = fileList
|
this.LSBBBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
case 'QTWJBUSS':
|
case 'QTWJBUSS':
|
||||||
this.QTWJBUSSFileList = fileList
|
this.QTWJBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
case 'GLWJBUSS':
|
case 'GLWJBUSS':
|
||||||
this.GLWJBUSSFileList = fileList
|
this.GLWJBUSSFileList = fileList
|
||||||
break;
|
break;
|
||||||
default : ;
|
default :
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
popoverHideBusVs (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
popoverHideBusVs (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
||||||
if(checkedData) {
|
if(checkedData) {
|
||||||
if(checkedData.length > 0){
|
if(checkedData.length > 0){
|
||||||
this.form.VPPSBMBUSS = checkedData.map(item => item.code).join(",")
|
this.form.VPPSBMBUSS = checkedData.map(item => item.code).join(',')
|
||||||
this.form.VPPSCNBUSS = checkedData.map(item => item.chineseName).join(",")
|
this.form.VPPSCNBUSS = checkedData.map(item => item.chineseName).join(',')
|
||||||
}else {
|
}else {
|
||||||
this.form.VPPSBMBUSS = checkedData.code
|
this.form.VPPSBMBUSS = checkedData.code
|
||||||
this.form.VPPSCNBUSS = checkedData.chineseName
|
this.form.VPPSCNBUSS = checkedData.chineseName
|
||||||
@@ -2031,7 +2032,7 @@ export default {
|
|||||||
popoverHide (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
popoverHide (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
||||||
if(checkedData) {
|
if(checkedData) {
|
||||||
if(checkedData.length > 0){
|
if(checkedData.length > 0){
|
||||||
this.form.TXLBBUSS = checkedData.map(item => item.menuName).join(",")
|
this.form.TXLBBUSS = checkedData.map(item => item.menuName).join(',')
|
||||||
}else {
|
}else {
|
||||||
this.form.TXLBBUSS = checkedData.menuName
|
this.form.TXLBBUSS = checkedData.menuName
|
||||||
}
|
}
|
||||||
@@ -2045,8 +2046,8 @@ export default {
|
|||||||
popoverHideBusVs (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
popoverHideBusVs (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
||||||
if(checkedData && checkedData.length != 0) {
|
if(checkedData && checkedData.length != 0) {
|
||||||
if(checkedData.length > 0 && checkedData.length != 0){
|
if(checkedData.length > 0 && checkedData.length != 0){
|
||||||
this.form.cycvppsbm = checkedData.map(item => item.code).join(",")
|
this.form.cycvppsbm = checkedData.map(item => item.code).join(',')
|
||||||
this.form.cycvppscn = checkedData.map(item => item.chineseName).join(",")
|
this.form.cycvppscn = checkedData.map(item => item.chineseName).join(',')
|
||||||
}else {
|
}else {
|
||||||
this.form.cycvppsbm = checkedData.code
|
this.form.cycvppsbm = checkedData.code
|
||||||
this.form.cycvppscn = checkedData.chineseName
|
this.form.cycvppscn = checkedData.chineseName
|
||||||
@@ -2061,8 +2062,8 @@ export default {
|
|||||||
popoverHideCarVs (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
popoverHideCarVs (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
||||||
if(checkedData && checkedData.length != 0) {
|
if(checkedData && checkedData.length != 0) {
|
||||||
if(checkedData.length > 0){
|
if(checkedData.length > 0){
|
||||||
this.form.kccvppsbm = checkedData.map(item => item.code).join(",")
|
this.form.kccvppsbm = checkedData.map(item => item.code).join(',')
|
||||||
this.form.kccvppscn = checkedData.map(item => item.chineseName).join(",")
|
this.form.kccvppscn = checkedData.map(item => item.chineseName).join(',')
|
||||||
}else {
|
}else {
|
||||||
this.form.kccvppsbm = checkedData.code
|
this.form.kccvppsbm = checkedData.code
|
||||||
this.form.kccvppscn = checkedData.chineseName
|
this.form.kccvppscn = checkedData.chineseName
|
||||||
@@ -2077,8 +2078,8 @@ export default {
|
|||||||
popoverHideModel (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
popoverHideModel (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
||||||
if(checkedData && checkedData.length != 0) {
|
if(checkedData && checkedData.length != 0) {
|
||||||
if(checkedData.length > 0){
|
if(checkedData.length > 0){
|
||||||
this.form.dybxh = checkedData.map(item => item.model).join(",")
|
this.form.dybxh = checkedData.map(item => item.model).join(',')
|
||||||
this.form.dymc = checkedData.map(item => item.name).join(",")
|
this.form.dymc = checkedData.map(item => item.name).join(',')
|
||||||
}else {
|
}else {
|
||||||
this.form.dybxh = checkedData.model
|
this.form.dybxh = checkedData.model
|
||||||
this.form.dymc = checkedData.name
|
this.form.dymc = checkedData.name
|
||||||
@@ -2095,7 +2096,7 @@ export default {
|
|||||||
},
|
},
|
||||||
OkDrawer() {
|
OkDrawer() {
|
||||||
this.ListModel = false
|
this.ListModel = false
|
||||||
var item = {
|
const item = {
|
||||||
remarks: '123'
|
remarks: '123'
|
||||||
}
|
}
|
||||||
this.data.push(item)
|
this.data.push(item)
|
||||||
@@ -2115,7 +2116,7 @@ export default {
|
|||||||
// }
|
// }
|
||||||
|
|
||||||
this.saveLoading = true
|
this.saveLoading = true
|
||||||
let _formData = new FormData()
|
const _formData = new FormData()
|
||||||
// _formData.append('id', this.bpnId)
|
// _formData.append('id', this.bpnId)
|
||||||
_formData.append('createUser', this.$store.getters.userInfo.account)
|
_formData.append('createUser', this.$store.getters.userInfo.account)
|
||||||
_formData.append('createUserName', this.$store.getters.userInfo.uName)
|
_formData.append('createUserName', this.$store.getters.userInfo.uName)
|
||||||
@@ -2144,20 +2145,20 @@ export default {
|
|||||||
fileInfoHandle(){
|
fileInfoHandle(){
|
||||||
|
|
||||||
//拼接文件名和id 提交到流程Activity
|
//拼接文件名和id 提交到流程Activity
|
||||||
this.form.FBGBUSS=this.FBGBUSSFileList.map(item => item.response.data.id).join(",")
|
this.form.FBGBUSS=this.FBGBUSSFileList.map(item => item.response.data.id).join(',')
|
||||||
this.form.FBGBUSSName=this.FBGBUSSFileList.map(item => item.name).join(",")
|
this.form.FBGBUSSName=this.FBGBUSSFileList.map(item => item.name).join(',')
|
||||||
|
|
||||||
this.form.BZSMBUSS=this.BZSMBUSSFileList.map(item => item.response.data.id).join(",")
|
this.form.BZSMBUSS=this.BZSMBUSSFileList.map(item => item.response.data.id).join(',')
|
||||||
this.form.BZSMBUSSName=this.BZSMBUSSFileList.map(item => item.name).join(",")
|
this.form.BZSMBUSSName=this.BZSMBUSSFileList.map(item => item.name).join(',')
|
||||||
|
|
||||||
this.form.LSBBBUSS=this.LSBBBUSSFileList.map(item => item.response.data.id).join(",")
|
this.form.LSBBBUSS=this.LSBBBUSSFileList.map(item => item.response.data.id).join(',')
|
||||||
this.form.LSBBBUSSName=this.LSBBBUSSFileList.map(item => item.name).join(",")
|
this.form.LSBBBUSSName=this.LSBBBUSSFileList.map(item => item.name).join(',')
|
||||||
|
|
||||||
this.form.QTWJBUSS=this.QTWJBUSSFileList.map(item => item.response.data.id).join(",")
|
this.form.QTWJBUSS=this.QTWJBUSSFileList.map(item => item.response.data.id).join(',')
|
||||||
this.form.QTWJBUSSName=this.QTWJBUSSFileList.map(item => item.name).join(",")
|
this.form.QTWJBUSSName=this.QTWJBUSSFileList.map(item => item.name).join(',')
|
||||||
|
|
||||||
this.form.GLWJBUSS=this.GLWJBUSSFileList.map(item => item.response.data.id).join(",")
|
this.form.GLWJBUSS=this.GLWJBUSSFileList.map(item => item.response.data.id).join(',')
|
||||||
this.form.GLWJBUSSName=this.GLWJBUSSFileList.map(item => item.name).join(",")
|
this.form.GLWJBUSSName=this.GLWJBUSSFileList.map(item => item.name).join(',')
|
||||||
|
|
||||||
},
|
},
|
||||||
// 删除方法
|
// 删除方法
|
||||||
@@ -2177,7 +2178,7 @@ export default {
|
|||||||
return data
|
return data
|
||||||
},
|
},
|
||||||
changeRestTree(val) {
|
changeRestTree(val) {
|
||||||
let arr = [];
|
const arr = [];
|
||||||
if (val.length !== 0) {
|
if (val.length !== 0) {
|
||||||
val.forEach(item => {
|
val.forEach(item => {
|
||||||
if (item.children.length >= 1) {
|
if (item.children.length >= 1) {
|
||||||
@@ -2185,7 +2186,7 @@ export default {
|
|||||||
}
|
}
|
||||||
if(item.pid === '0'){
|
if(item.pid === '0'){
|
||||||
item.id = arr.length + 1,
|
item.id = arr.length + 1,
|
||||||
item.modelNum = arr.length + 1+''
|
item.modelNum = arr.length + 1+''
|
||||||
item.orderNum = arr.length + 1 // orderNum为新创建行的索引
|
item.orderNum = arr.length + 1 // orderNum为新创建行的索引
|
||||||
item.modelIndex = arr.length
|
item.modelIndex = arr.length
|
||||||
}else {
|
}else {
|
||||||
@@ -2202,19 +2203,19 @@ export default {
|
|||||||
return arr;
|
return arr;
|
||||||
},
|
},
|
||||||
changeTree(val) {
|
changeTree(val) {
|
||||||
let arr = [];
|
const arr = [];
|
||||||
this.modelDataNameVerify = []
|
this.modelDataNameVerify = []
|
||||||
this.modelDataZrUserVerify = []
|
this.modelDataZrUserVerify = []
|
||||||
if (val.length !== 0) {
|
if (val.length !== 0) {
|
||||||
val.forEach(item => {
|
val.forEach(item => {
|
||||||
let obj = {};
|
const obj = {};
|
||||||
obj.modelName = item.modelName;
|
obj.modelName = item.modelName;
|
||||||
obj.zrUserIdName = item.zrUserIdName;
|
obj.zrUserIdName = item.zrUserIdName;
|
||||||
if(!obj.modelName || obj.modelName === ''){
|
if(!obj.modelName || obj.modelName === ''){
|
||||||
this.modelDataNameVerify.push("1")
|
this.modelDataNameVerify.push('1')
|
||||||
}
|
}
|
||||||
if(item.pid === '0' && (!obj.zrUserIdName || obj.zrUserIdName === '')){
|
if(item.pid === '0' && (!obj.zrUserIdName || obj.zrUserIdName === '')){
|
||||||
this.modelDataZrUserVerify.push("1")
|
this.modelDataZrUserVerify.push('1')
|
||||||
}
|
}
|
||||||
if (item.children.length >= 1) {
|
if (item.children.length >= 1) {
|
||||||
item.children = this.changeTree(item.children);
|
item.children = this.changeTree(item.children);
|
||||||
@@ -2274,13 +2275,14 @@ export default {
|
|||||||
if (res.success) {
|
if (res.success) {
|
||||||
// 流程提交之后,应该流转至待办任务页面
|
// 流程提交之后,应该流转至待办任务页面
|
||||||
if(this.formTongGuo.approvalOpinion === '1'){
|
if(this.formTongGuo.approvalOpinion === '1'){
|
||||||
this.$message.warning("驳回成功")
|
this.$message.warning('驳回成功')
|
||||||
}else{
|
}else{
|
||||||
this.$message.success(res.message)
|
this.$message.success(res.message)
|
||||||
// this.processCreateLaws(json)
|
// this.processCreateLaws(json)
|
||||||
}
|
}
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// 流程提交之后,应该流转至待办任务页面
|
// 流程提交之后,应该流转至待办任务页面
|
||||||
// this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
// this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
||||||
}else {
|
}else {
|
||||||
@@ -2334,16 +2336,16 @@ export default {
|
|||||||
if(obj instanceof Array){
|
if(obj instanceof Array){
|
||||||
return obj;
|
return obj;
|
||||||
}else {
|
}else {
|
||||||
return obj.split(",")
|
return obj.split(',')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return "";
|
return '';
|
||||||
},
|
},
|
||||||
assemble(ids,names){
|
assemble(ids,names){
|
||||||
let list= new Array();
|
const list= new Array();
|
||||||
if(ids && ids !== '' && names && names !== ''){
|
if(ids && ids !== '' && names && names !== ''){
|
||||||
let idArray=ids.split(',');
|
const idArray=ids.split(',');
|
||||||
let nameArray=names.split(',');
|
const nameArray=names.split(',');
|
||||||
for(let i=0; i<idArray.length; i++){
|
for(let i=0; i<idArray.length; i++){
|
||||||
list.push({id:idArray[i],name:nameArray[i]});
|
list.push({id:idArray[i],name:nameArray[i]});
|
||||||
}
|
}
|
||||||
@@ -2382,7 +2384,7 @@ export default {
|
|||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
Promise.all([this.getTaskId()]).then((value) => {
|
Promise.all([this.getTaskId()]).then((value) => {
|
||||||
if(value[0] &&value.length > 0){
|
if(value[0] &&value.length > 0){
|
||||||
let mes = JSON.parse(value[0].mes)
|
const mes = JSON.parse(value[0].mes)
|
||||||
mes.form.date = new Date(this.$moment(mes.form.date).format('YYYY-MM-DD'))
|
mes.form.date = new Date(this.$moment(mes.form.date).format('YYYY-MM-DD'))
|
||||||
this.form = mes.form
|
this.form = mes.form
|
||||||
this.taskIds = mes.taskIds;
|
this.taskIds = mes.taskIds;
|
||||||
|
|||||||
@@ -194,7 +194,8 @@ export default {
|
|||||||
this.drawerModal = false
|
this.drawerModal = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
}, 100)
|
}, 100)
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
|||||||
@@ -209,7 +209,8 @@ export default {
|
|||||||
this.drawerModal = false
|
this.drawerModal = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
}, 100)
|
}, 100)
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
|||||||
@@ -221,7 +221,8 @@ export default {
|
|||||||
}
|
}
|
||||||
this.footerLoading = false
|
this.footerLoading = false
|
||||||
|
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
} else {
|
} else {
|
||||||
this.footerLoading = false
|
this.footerLoading = false
|
||||||
this.$message.error(res.message)
|
this.$message.error(res.message)
|
||||||
@@ -262,7 +263,8 @@ export default {
|
|||||||
this.drawerModal = false
|
this.drawerModal = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
}, 100)
|
}, 100)
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
|||||||
@@ -227,7 +227,8 @@ export default {
|
|||||||
}
|
}
|
||||||
this.footerLoading = false
|
this.footerLoading = false
|
||||||
|
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
} else {
|
} else {
|
||||||
this.footerLoading = false
|
this.footerLoading = false
|
||||||
this.$message.error(res.message)
|
this.$message.error(res.message)
|
||||||
@@ -268,7 +269,8 @@ export default {
|
|||||||
this.drawerModal = false
|
this.drawerModal = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
}, 100)
|
}, 100)
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
|||||||
@@ -228,7 +228,8 @@ export default {
|
|||||||
}
|
}
|
||||||
this.footerLoading = false
|
this.footerLoading = false
|
||||||
|
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
} else {
|
} else {
|
||||||
this.footerLoading = false
|
this.footerLoading = false
|
||||||
this.$message.error(res.message)
|
this.$message.error(res.message)
|
||||||
@@ -269,7 +270,8 @@ export default {
|
|||||||
this.drawerModal = false
|
this.drawerModal = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
}, 100)
|
}, 100)
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
|||||||
@@ -105,14 +105,14 @@
|
|||||||
<script>
|
<script>
|
||||||
import { Dialog } from 'vant';
|
import { Dialog } from 'vant';
|
||||||
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
||||||
import ProcessHeader from "../../components/ProcessHeader";
|
import ProcessHeader from '../../components/ProcessHeader';
|
||||||
import ProcessTitle from "process/components/ProcessTitle";
|
import ProcessTitle from 'process/components/ProcessTitle';
|
||||||
import ProcessFooter from "process/components/ProcessFooter";
|
import ProcessFooter from 'process/components/ProcessFooter';
|
||||||
import { changeAssigneeNew,inboundLiaisonDetail } from "api/process";
|
import { changeAssigneeNew,inboundLiaisonDetail } from 'api/process';
|
||||||
import hwh5 from '@/api/hwh5-cloudonline.js'
|
import hwh5 from '@/api/hwh5-cloudonline.js'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "phoneQbzxdjhgkStep2",
|
name: 'phoneQbzxdjhgkStep2',
|
||||||
components: {
|
components: {
|
||||||
ProcessHeader,
|
ProcessHeader,
|
||||||
ProcessTitle,
|
ProcessTitle,
|
||||||
@@ -158,8 +158,8 @@ export default {
|
|||||||
methods:{
|
methods:{
|
||||||
// 文件预览及下载
|
// 文件预览及下载
|
||||||
handleFilePreview(file,type) {
|
handleFilePreview(file,type) {
|
||||||
let id = ""
|
let id = ''
|
||||||
let fileName = ""
|
let fileName = ''
|
||||||
if(this.qbfsForm.esName && this.qbfsForm.esName !== ''){
|
if(this.qbfsForm.esName && this.qbfsForm.esName !== ''){
|
||||||
fileName = this.qbfsForm.esName+'-立项单.docx'
|
fileName = this.qbfsForm.esName+'-立项单.docx'
|
||||||
}else {
|
}else {
|
||||||
@@ -183,12 +183,12 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
processTable() {
|
processTable() {
|
||||||
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,
|
||||||
sortWord: this.shunxu ? this.paixu : "",
|
sortWord: this.shunxu ? this.paixu : '',
|
||||||
shunxu: this.shunxu
|
shunxu: this.shunxu
|
||||||
}, {
|
}, {
|
||||||
loading: "loading",
|
loading: 'loading',
|
||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
this.detailData = res
|
this.detailData = res
|
||||||
@@ -222,10 +222,10 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
assemble(ids,names){
|
assemble(ids,names){
|
||||||
let list= [];
|
const list= [];
|
||||||
if(ids && ids !== '' && names && names !== ''){
|
if(ids && ids !== '' && names && names !== ''){
|
||||||
let idArray=ids.split(',');
|
const idArray=ids.split(',');
|
||||||
let nameArray=names.split(',');
|
const nameArray=names.split(',');
|
||||||
for(let i=0; i<idArray.length; i++){
|
for(let i=0; i<idArray.length; i++){
|
||||||
list.push({id:idArray[i],name:nameArray[i]});
|
list.push({id:idArray[i],name:nameArray[i]});
|
||||||
}
|
}
|
||||||
@@ -257,7 +257,8 @@ export default {
|
|||||||
this.turnLoading = false
|
this.turnLoading = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push("/processCenter")
|
// this.$router.push("/processCenter")
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
@@ -286,7 +287,7 @@ export default {
|
|||||||
this.isSubmit = true
|
this.isSubmit = true
|
||||||
this.qbfsForm.passFlag = '0'
|
this.qbfsForm.passFlag = '0'
|
||||||
this.qbfsForm.commentText = this.commentText
|
this.qbfsForm.commentText = this.commentText
|
||||||
let json = JSON.stringify(this.qbfsForm);
|
const json = JSON.stringify(this.qbfsForm);
|
||||||
this.$http.post('lawss/activiti/completeTask', {
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
taskIds: this.$route.query.taskIds,
|
taskIds: this.$route.query.taskIds,
|
||||||
userId: this.$store.getters.userInfo.account,
|
userId: this.$store.getters.userInfo.account,
|
||||||
@@ -297,7 +298,8 @@ export default {
|
|||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.$message.success(res.message)
|
this.$message.success(res.message)
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push('/processCenter')
|
// this.$router.push('/processCenter')
|
||||||
}
|
}
|
||||||
this.isSubmit = false
|
this.isSubmit = false
|
||||||
@@ -311,7 +313,7 @@ export default {
|
|||||||
this.isSubmit = true
|
this.isSubmit = true
|
||||||
this.qbfsForm.passFlag = '1'
|
this.qbfsForm.passFlag = '1'
|
||||||
this.qbfsForm.commentText = this.commentText
|
this.qbfsForm.commentText = this.commentText
|
||||||
let json = JSON.stringify(this.qbfsForm);
|
const json = JSON.stringify(this.qbfsForm);
|
||||||
this.$http.post('lawss/activiti/completeTask', {
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
taskIds: this.$route.query.taskIds,
|
taskIds: this.$route.query.taskIds,
|
||||||
userId: this.$store.getters.userInfo.account,
|
userId: this.$store.getters.userInfo.account,
|
||||||
@@ -322,7 +324,8 @@ export default {
|
|||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.$message.success(res.message)
|
this.$message.success(res.message)
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push('/processCenter')
|
// this.$router.push('/processCenter')
|
||||||
}
|
}
|
||||||
this.isSubmit = false
|
this.isSubmit = false
|
||||||
|
|||||||
@@ -105,14 +105,14 @@
|
|||||||
<script>
|
<script>
|
||||||
import { Dialog } from 'vant';
|
import { Dialog } from 'vant';
|
||||||
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
||||||
import ProcessHeader from "../../components/ProcessHeader";
|
import ProcessHeader from '../../components/ProcessHeader';
|
||||||
import ProcessTitle from "process/components/ProcessTitle";
|
import ProcessTitle from 'process/components/ProcessTitle';
|
||||||
import ProcessFooter from "process/components/ProcessFooter";
|
import ProcessFooter from 'process/components/ProcessFooter';
|
||||||
import { changeAssigneeNew,inboundLiaisonDetail } from "api/process";
|
import { changeAssigneeNew,inboundLiaisonDetail } from 'api/process';
|
||||||
import hwh5 from '@/api/hwh5-cloudonline.js'
|
import hwh5 from '@/api/hwh5-cloudonline.js'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "phoneQbzxdjhgkStep3",
|
name: 'phoneQbzxdjhgkStep3',
|
||||||
components: {
|
components: {
|
||||||
ProcessHeader,
|
ProcessHeader,
|
||||||
ProcessTitle,
|
ProcessTitle,
|
||||||
@@ -158,8 +158,8 @@ export default {
|
|||||||
methods:{
|
methods:{
|
||||||
// 文件预览及下载
|
// 文件预览及下载
|
||||||
handleFilePreview(file,type) {
|
handleFilePreview(file,type) {
|
||||||
let id = ""
|
let id = ''
|
||||||
let fileName = ""
|
let fileName = ''
|
||||||
if(this.qbfsForm.esName && this.qbfsForm.esName !== ''){
|
if(this.qbfsForm.esName && this.qbfsForm.esName !== ''){
|
||||||
fileName = this.qbfsForm.esName+'-立项单.docx'
|
fileName = this.qbfsForm.esName+'-立项单.docx'
|
||||||
}else {
|
}else {
|
||||||
@@ -183,12 +183,12 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
processTable() {
|
processTable() {
|
||||||
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,
|
||||||
sortWord: this.shunxu ? this.paixu : "",
|
sortWord: this.shunxu ? this.paixu : '',
|
||||||
shunxu: this.shunxu
|
shunxu: this.shunxu
|
||||||
}, {
|
}, {
|
||||||
loading: "loading",
|
loading: 'loading',
|
||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
this.detailData = res
|
this.detailData = res
|
||||||
@@ -222,10 +222,10 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
assemble(ids,names){
|
assemble(ids,names){
|
||||||
let list= [];
|
const list= [];
|
||||||
if(ids && ids !== '' && names && names !== ''){
|
if(ids && ids !== '' && names && names !== ''){
|
||||||
let idArray=ids.split(',');
|
const idArray=ids.split(',');
|
||||||
let nameArray=names.split(',');
|
const nameArray=names.split(',');
|
||||||
for(let i=0; i<idArray.length; i++){
|
for(let i=0; i<idArray.length; i++){
|
||||||
list.push({id:idArray[i],name:nameArray[i]});
|
list.push({id:idArray[i],name:nameArray[i]});
|
||||||
}
|
}
|
||||||
@@ -257,7 +257,8 @@ export default {
|
|||||||
this.turnLoading = false
|
this.turnLoading = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push("/processCenter")
|
// this.$router.push("/processCenter")
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
@@ -286,7 +287,7 @@ export default {
|
|||||||
this.isSubmit = true
|
this.isSubmit = true
|
||||||
this.qbfsForm.deptCenterFlag = '0'
|
this.qbfsForm.deptCenterFlag = '0'
|
||||||
this.qbfsForm.commentText = this.commentText
|
this.qbfsForm.commentText = this.commentText
|
||||||
let json = JSON.stringify(this.qbfsForm);
|
const json = JSON.stringify(this.qbfsForm);
|
||||||
this.$http.post('lawss/activiti/completeTask', {
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
taskIds: this.$route.query.taskIds,
|
taskIds: this.$route.query.taskIds,
|
||||||
userId: this.$store.getters.userInfo.account,
|
userId: this.$store.getters.userInfo.account,
|
||||||
@@ -297,7 +298,8 @@ export default {
|
|||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.$message.success(res.message)
|
this.$message.success(res.message)
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push('/processCenter')
|
// this.$router.push('/processCenter')
|
||||||
}
|
}
|
||||||
this.isSubmit = false
|
this.isSubmit = false
|
||||||
@@ -311,7 +313,7 @@ export default {
|
|||||||
this.isSubmit = true
|
this.isSubmit = true
|
||||||
this.qbfsForm.deptCenterFlag = '1'
|
this.qbfsForm.deptCenterFlag = '1'
|
||||||
this.qbfsForm.commentText = this.commentText
|
this.qbfsForm.commentText = this.commentText
|
||||||
let json = JSON.stringify(this.qbfsForm);
|
const json = JSON.stringify(this.qbfsForm);
|
||||||
this.$http.post('lawss/activiti/completeTask', {
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
taskIds: this.$route.query.taskIds,
|
taskIds: this.$route.query.taskIds,
|
||||||
userId: this.$store.getters.userInfo.account,
|
userId: this.$store.getters.userInfo.account,
|
||||||
@@ -322,7 +324,8 @@ export default {
|
|||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.$message.success(res.message)
|
this.$message.success(res.message)
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push('/processCenter')
|
// this.$router.push('/processCenter')
|
||||||
}
|
}
|
||||||
this.isSubmit = false
|
this.isSubmit = false
|
||||||
|
|||||||
@@ -105,14 +105,14 @@
|
|||||||
<script>
|
<script>
|
||||||
import { Dialog } from 'vant';
|
import { Dialog } from 'vant';
|
||||||
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
||||||
import ProcessHeader from "../../components/ProcessHeader";
|
import ProcessHeader from '../../components/ProcessHeader';
|
||||||
import ProcessTitle from "process/components/ProcessTitle";
|
import ProcessTitle from 'process/components/ProcessTitle';
|
||||||
import ProcessFooter from "process/components/ProcessFooter";
|
import ProcessFooter from 'process/components/ProcessFooter';
|
||||||
import { changeAssigneeNew,inboundLiaisonDetail } from "api/process";
|
import { changeAssigneeNew,inboundLiaisonDetail } from 'api/process';
|
||||||
import hwh5 from '@/api/hwh5-cloudonline.js'
|
import hwh5 from '@/api/hwh5-cloudonline.js'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "phoneQbzxdjhgkStep4",
|
name: 'phoneQbzxdjhgkStep4',
|
||||||
components: {
|
components: {
|
||||||
ProcessHeader,
|
ProcessHeader,
|
||||||
ProcessTitle,
|
ProcessTitle,
|
||||||
@@ -158,8 +158,8 @@ export default {
|
|||||||
methods:{
|
methods:{
|
||||||
// 文件预览及下载
|
// 文件预览及下载
|
||||||
handleFilePreview(file,type) {
|
handleFilePreview(file,type) {
|
||||||
let id = ""
|
let id = ''
|
||||||
let fileName = ""
|
let fileName = ''
|
||||||
if(this.qbfsForm.esName && this.qbfsForm.esName !== ''){
|
if(this.qbfsForm.esName && this.qbfsForm.esName !== ''){
|
||||||
fileName = this.qbfsForm.esName+'-立项单.docx'
|
fileName = this.qbfsForm.esName+'-立项单.docx'
|
||||||
}else {
|
}else {
|
||||||
@@ -183,12 +183,12 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
processTable() {
|
processTable() {
|
||||||
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,
|
||||||
sortWord: this.shunxu ? this.paixu : "",
|
sortWord: this.shunxu ? this.paixu : '',
|
||||||
shunxu: this.shunxu
|
shunxu: this.shunxu
|
||||||
}, {
|
}, {
|
||||||
loading: "loading",
|
loading: 'loading',
|
||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
this.detailData = res
|
this.detailData = res
|
||||||
@@ -221,10 +221,10 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
assemble(ids,names){
|
assemble(ids,names){
|
||||||
let list= [];
|
const list= [];
|
||||||
if(ids && ids !== '' && names && names !== ''){
|
if(ids && ids !== '' && names && names !== ''){
|
||||||
let idArray=ids.split(',');
|
const idArray=ids.split(',');
|
||||||
let nameArray=names.split(',');
|
const nameArray=names.split(',');
|
||||||
for(let i=0; i<idArray.length; i++){
|
for(let i=0; i<idArray.length; i++){
|
||||||
list.push({id:idArray[i],name:nameArray[i]});
|
list.push({id:idArray[i],name:nameArray[i]});
|
||||||
}
|
}
|
||||||
@@ -256,7 +256,8 @@ export default {
|
|||||||
this.turnLoading = false
|
this.turnLoading = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push("/processCenter")
|
// this.$router.push("/processCenter")
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
@@ -285,7 +286,7 @@ export default {
|
|||||||
this.isSubmit = true
|
this.isSubmit = true
|
||||||
this.qbfsForm.bzFlag = '0'
|
this.qbfsForm.bzFlag = '0'
|
||||||
this.qbfsForm.commentText = this.commentText
|
this.qbfsForm.commentText = this.commentText
|
||||||
let json = JSON.stringify(this.qbfsForm);
|
const json = JSON.stringify(this.qbfsForm);
|
||||||
this.$http.post('lawss/activiti/completeTask', {
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
taskIds: this.$route.query.taskIds,
|
taskIds: this.$route.query.taskIds,
|
||||||
userId: this.$store.getters.userInfo.account,
|
userId: this.$store.getters.userInfo.account,
|
||||||
@@ -296,7 +297,8 @@ export default {
|
|||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.$message.success(res.message)
|
this.$message.success(res.message)
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push('/processCenter')
|
// this.$router.push('/processCenter')
|
||||||
}
|
}
|
||||||
this.isSubmit = false
|
this.isSubmit = false
|
||||||
@@ -310,7 +312,7 @@ export default {
|
|||||||
this.isSubmit = true
|
this.isSubmit = true
|
||||||
this.qbfsForm.bzFlag = '1'
|
this.qbfsForm.bzFlag = '1'
|
||||||
this.qbfsForm.commentText = this.commentText
|
this.qbfsForm.commentText = this.commentText
|
||||||
let json = JSON.stringify(this.qbfsForm);
|
const json = JSON.stringify(this.qbfsForm);
|
||||||
this.$http.post('lawss/activiti/completeTask', {
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
taskIds: this.$route.query.taskIds,
|
taskIds: this.$route.query.taskIds,
|
||||||
userId: this.$store.getters.userInfo.account,
|
userId: this.$store.getters.userInfo.account,
|
||||||
@@ -321,7 +323,8 @@ export default {
|
|||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.$message.success(res.message)
|
this.$message.success(res.message)
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push('/processCenter')
|
// this.$router.push('/processCenter')
|
||||||
}
|
}
|
||||||
this.isSubmit = false
|
this.isSubmit = false
|
||||||
|
|||||||
@@ -105,14 +105,14 @@
|
|||||||
<script>
|
<script>
|
||||||
import { Dialog } from 'vant';
|
import { Dialog } from 'vant';
|
||||||
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
||||||
import ProcessHeader from "../../components/ProcessHeader";
|
import ProcessHeader from '../../components/ProcessHeader';
|
||||||
import ProcessTitle from "process/components/ProcessTitle";
|
import ProcessTitle from 'process/components/ProcessTitle';
|
||||||
import ProcessFooter from "process/components/ProcessFooter";
|
import ProcessFooter from 'process/components/ProcessFooter';
|
||||||
import { changeAssigneeNew,inboundLiaisonDetail } from "api/process";
|
import { changeAssigneeNew,inboundLiaisonDetail } from 'api/process';
|
||||||
import hwh5 from '@/api/hwh5-cloudonline.js'
|
import hwh5 from '@/api/hwh5-cloudonline.js'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "phoneQbzxdjhgkStep5",
|
name: 'phoneQbzxdjhgkStep5',
|
||||||
components: {
|
components: {
|
||||||
ProcessHeader,
|
ProcessHeader,
|
||||||
ProcessTitle,
|
ProcessTitle,
|
||||||
@@ -158,8 +158,8 @@ export default {
|
|||||||
methods:{
|
methods:{
|
||||||
// 文件预览及下载
|
// 文件预览及下载
|
||||||
handleFilePreview(file,type) {
|
handleFilePreview(file,type) {
|
||||||
let id = ""
|
let id = ''
|
||||||
let fileName = ""
|
let fileName = ''
|
||||||
if(this.qbfsForm.esName && this.qbfsForm.esName !== ''){
|
if(this.qbfsForm.esName && this.qbfsForm.esName !== ''){
|
||||||
fileName = this.qbfsForm.esName+'-立项单.docx'
|
fileName = this.qbfsForm.esName+'-立项单.docx'
|
||||||
}else {
|
}else {
|
||||||
@@ -183,12 +183,12 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
processTable() {
|
processTable() {
|
||||||
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,
|
||||||
sortWord: this.shunxu ? this.paixu : "",
|
sortWord: this.shunxu ? this.paixu : '',
|
||||||
shunxu: this.shunxu
|
shunxu: this.shunxu
|
||||||
}, {
|
}, {
|
||||||
loading: "loading",
|
loading: 'loading',
|
||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
this.detailData = res
|
this.detailData = res
|
||||||
@@ -221,10 +221,10 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
assemble(ids,names){
|
assemble(ids,names){
|
||||||
let list= [];
|
const list= [];
|
||||||
if(ids && ids !== '' && names && names !== ''){
|
if(ids && ids !== '' && names && names !== ''){
|
||||||
let idArray=ids.split(',');
|
const idArray=ids.split(',');
|
||||||
let nameArray=names.split(',');
|
const nameArray=names.split(',');
|
||||||
for(let i=0; i<idArray.length; i++){
|
for(let i=0; i<idArray.length; i++){
|
||||||
list.push({id:idArray[i],name:nameArray[i]});
|
list.push({id:idArray[i],name:nameArray[i]});
|
||||||
}
|
}
|
||||||
@@ -256,7 +256,8 @@ export default {
|
|||||||
this.turnLoading = false
|
this.turnLoading = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push("/processCenter")
|
// this.$router.push("/processCenter")
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
@@ -289,7 +290,7 @@ export default {
|
|||||||
this.qbfsForm.area = this.qbfsForm.area.join(',')
|
this.qbfsForm.area = this.qbfsForm.area.join(',')
|
||||||
}
|
}
|
||||||
this.qbfsForm.commentText = this.commentText
|
this.qbfsForm.commentText = this.commentText
|
||||||
let json = JSON.stringify(this.qbfsForm);
|
const json = JSON.stringify(this.qbfsForm);
|
||||||
this.$http.post('lawss/activiti/completeTask', {
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
taskIds: this.$route.query.taskIds,
|
taskIds: this.$route.query.taskIds,
|
||||||
userId: this.$store.getters.userInfo.account,
|
userId: this.$store.getters.userInfo.account,
|
||||||
@@ -300,7 +301,8 @@ export default {
|
|||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.$message.success(res.message)
|
this.$message.success(res.message)
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push('/processCenter')
|
// this.$router.push('/processCenter')
|
||||||
}
|
}
|
||||||
this.isSubmit = false
|
this.isSubmit = false
|
||||||
@@ -314,7 +316,7 @@ export default {
|
|||||||
this.isSubmit = true
|
this.isSubmit = true
|
||||||
this.qbfsForm.bzfgbzFlag = '1'
|
this.qbfsForm.bzfgbzFlag = '1'
|
||||||
this.qbfsForm.commentText = this.commentText
|
this.qbfsForm.commentText = this.commentText
|
||||||
let json = JSON.stringify(this.qbfsForm);
|
const json = JSON.stringify(this.qbfsForm);
|
||||||
this.$http.post('lawss/activiti/completeTask', {
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
taskIds: this.$route.query.taskIds,
|
taskIds: this.$route.query.taskIds,
|
||||||
userId: this.$store.getters.userInfo.account,
|
userId: this.$store.getters.userInfo.account,
|
||||||
@@ -325,7 +327,8 @@ export default {
|
|||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.$message.success(res.message)
|
this.$message.success(res.message)
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push('/processCenter')
|
// this.$router.push('/processCenter')
|
||||||
}
|
}
|
||||||
this.isSubmit = false
|
this.isSubmit = false
|
||||||
|
|||||||
@@ -162,7 +162,8 @@ export default {
|
|||||||
this.drawerModal = false
|
this.drawerModal = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
}, 100)
|
}, 100)
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
|||||||
@@ -97,13 +97,13 @@ import { Dialog } from 'vant';
|
|||||||
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
||||||
import ProcessFooter from '../../components/ProcessFooter'
|
import ProcessFooter from '../../components/ProcessFooter'
|
||||||
import ProcessTitle from '../../components/ProcessTitle'
|
import ProcessTitle from '../../components/ProcessTitle'
|
||||||
import { inboundLiaisonDetail, processCreateStand, changeAssigneeNew, execTask, saveTaskForPub } from "api/process";
|
import { inboundLiaisonDetail, processCreateStand, changeAssigneeNew, execTask, saveTaskForPub } from 'api/process';
|
||||||
import axios from "axios";
|
import axios from 'axios';
|
||||||
import ProcessHeader from "process/components/ProcessHeader";
|
import ProcessHeader from 'process/components/ProcessHeader';
|
||||||
import hwh5 from '@/api/hwh5-cloudonline.js'
|
import hwh5 from '@/api/hwh5-cloudonline.js'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "phoneWbsmStep3",
|
name: 'phoneWbsmStep3',
|
||||||
components: {
|
components: {
|
||||||
ProcessTitle,
|
ProcessTitle,
|
||||||
ProcessHeader,
|
ProcessHeader,
|
||||||
@@ -174,7 +174,7 @@ export default {
|
|||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
listNoDataText() {
|
listNoDataText() {
|
||||||
return this.processType === 1 ? "暂无待办流程" : "暂无已办流程";
|
return this.processType === 1 ? '暂无待办流程' : '暂无已办流程';
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
@@ -197,7 +197,8 @@ export default {
|
|||||||
this.drawerModal = false
|
this.drawerModal = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push("/processCenter");
|
// this.$router.push("/processCenter");
|
||||||
// this.processNum()
|
// this.processNum()
|
||||||
} else {
|
} else {
|
||||||
@@ -206,12 +207,12 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
processTable() {
|
processTable() {
|
||||||
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,
|
||||||
sortWord: this.shunxu ? this.paixu : "",
|
sortWord: this.shunxu ? this.paixu : '',
|
||||||
shunxu: this.shunxu
|
shunxu: this.shunxu
|
||||||
}, {
|
}, {
|
||||||
loading: "loading",
|
loading: 'loading',
|
||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
this.detailData = res
|
this.detailData = res
|
||||||
@@ -245,7 +246,7 @@ export default {
|
|||||||
// 批量选择分发责任人
|
// 批量选择分发责任人
|
||||||
dutyEngineerList(id) {
|
dutyEngineerList(id) {
|
||||||
if (this.multipleSelection.length === 0) {
|
if (this.multipleSelection.length === 0) {
|
||||||
this.$message.warning("请选择至少一条数据进行分发责任人");
|
this.$message.warning('请选择至少一条数据进行分发责任人');
|
||||||
} else {
|
} else {
|
||||||
this.nodeList = []
|
this.nodeList = []
|
||||||
this.nodeList.push(id)
|
this.nodeList.push(id)
|
||||||
@@ -276,7 +277,7 @@ export default {
|
|||||||
// 保存按钮
|
// 保存按钮
|
||||||
handleSave() {
|
handleSave() {
|
||||||
this.isSubmit = true
|
this.isSubmit = true
|
||||||
let _formData = new FormData()
|
const _formData = new FormData()
|
||||||
_formData.append('taskIds', this.taskIds)
|
_formData.append('taskIds', this.taskIds)
|
||||||
_formData.append('json', JSON.stringify({
|
_formData.append('json', JSON.stringify({
|
||||||
// roleForm: this.roleForm,
|
// roleForm: this.roleForm,
|
||||||
@@ -293,14 +294,14 @@ export default {
|
|||||||
// 提交按钮
|
// 提交按钮
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
this.isSubmit = true
|
this.isSubmit = true
|
||||||
let son = {
|
const son = {
|
||||||
signFlag: '1',
|
signFlag: '1',
|
||||||
commentText: this.commentText,
|
commentText: this.commentText,
|
||||||
dataList: this.dataList,
|
dataList: this.dataList,
|
||||||
roleForm: this.roleForm
|
roleForm: this.roleForm
|
||||||
}
|
}
|
||||||
var json = JSON.stringify(son)
|
const json = JSON.stringify(son)
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
taskIds: this.taskIds,
|
taskIds: this.taskIds,
|
||||||
userId: this.userId,
|
userId: this.userId,
|
||||||
json: json
|
json: json
|
||||||
@@ -310,7 +311,8 @@ export default {
|
|||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.$message.success(res.message);
|
this.$message.success(res.message);
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push("/processCenter");
|
// this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
this.isSubmit = false
|
this.isSubmit = false
|
||||||
@@ -322,15 +324,15 @@ export default {
|
|||||||
if(!this.commentText){
|
if(!this.commentText){
|
||||||
this.$message.warning('请填写审批意见')
|
this.$message.warning('请填写审批意见')
|
||||||
}else{
|
}else{
|
||||||
let son = {
|
const son = {
|
||||||
signFlag: '2',
|
signFlag: '2',
|
||||||
commentText: this.commentText,
|
commentText: this.commentText,
|
||||||
dataList: this.dataList,
|
dataList: this.dataList,
|
||||||
roleForm: this.roleForm
|
roleForm: this.roleForm
|
||||||
}
|
}
|
||||||
var json = JSON.stringify(son)
|
const json = JSON.stringify(son)
|
||||||
this.isSubmit = true
|
this.isSubmit = true
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
taskIds: this.taskIds,
|
taskIds: this.taskIds,
|
||||||
userId: this.userId,
|
userId: this.userId,
|
||||||
json: json
|
json: json
|
||||||
@@ -340,7 +342,8 @@ export default {
|
|||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.$message.success(res.message);
|
this.$message.success(res.message);
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push("/processCenter");
|
// this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
this.isSubmit = false
|
this.isSubmit = false
|
||||||
@@ -370,7 +373,8 @@ export default {
|
|||||||
this.turnLoading = false
|
this.turnLoading = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push("/processCenter")
|
// this.$router.push("/processCenter")
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
@@ -390,7 +394,7 @@ export default {
|
|||||||
},
|
},
|
||||||
// 点击查看
|
// 点击查看
|
||||||
handlePreview (item) {
|
handlePreview (item) {
|
||||||
let routeUrl = this.$router.resolve({
|
const routeUrl = this.$router.resolve({
|
||||||
name: 'OtherStandardDetails',
|
name: 'OtherStandardDetails',
|
||||||
params: {
|
params: {
|
||||||
id: item.standId,
|
id: item.standId,
|
||||||
|
|||||||
@@ -103,13 +103,13 @@ import { Dialog } from 'vant';
|
|||||||
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
||||||
import ProcessFooter from '../../components/ProcessFooter'
|
import ProcessFooter from '../../components/ProcessFooter'
|
||||||
import ProcessTitle from '../../components/ProcessTitle'
|
import ProcessTitle from '../../components/ProcessTitle'
|
||||||
import { inboundLiaisonDetail, processCreateStand, changeAssigneeNew, execTask, saveTaskForPub } from "api/process";
|
import { inboundLiaisonDetail, processCreateStand, changeAssigneeNew, execTask, saveTaskForPub } from 'api/process';
|
||||||
import axios from "axios";
|
import axios from 'axios';
|
||||||
import ProcessHeader from "process/components/ProcessHeader";
|
import ProcessHeader from 'process/components/ProcessHeader';
|
||||||
import hwh5 from '@/api/hwh5-cloudonline.js'
|
import hwh5 from '@/api/hwh5-cloudonline.js'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "phoneWbsmStep4",
|
name: 'phoneWbsmStep4',
|
||||||
components: {
|
components: {
|
||||||
ProcessTitle,
|
ProcessTitle,
|
||||||
ProcessHeader,
|
ProcessHeader,
|
||||||
@@ -180,7 +180,7 @@ export default {
|
|||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
listNoDataText() {
|
listNoDataText() {
|
||||||
return this.processType === 1 ? "暂无待办流程" : "暂无已办流程";
|
return this.processType === 1 ? '暂无待办流程' : '暂无已办流程';
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
@@ -203,7 +203,8 @@ export default {
|
|||||||
this.drawerModal = false
|
this.drawerModal = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push("/processCenter");
|
// this.$router.push("/processCenter");
|
||||||
// this.processNum()
|
// this.processNum()
|
||||||
} else {
|
} else {
|
||||||
@@ -212,12 +213,12 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
processTable() {
|
processTable() {
|
||||||
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,
|
||||||
sortWord: this.shunxu ? this.paixu : "",
|
sortWord: this.shunxu ? this.paixu : '',
|
||||||
shunxu: this.shunxu
|
shunxu: this.shunxu
|
||||||
}, {
|
}, {
|
||||||
loading: "loading",
|
loading: 'loading',
|
||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
this.detailData = res
|
this.detailData = res
|
||||||
@@ -251,7 +252,7 @@ export default {
|
|||||||
// 批量选择分发责任人
|
// 批量选择分发责任人
|
||||||
dutyEngineerList(id) {
|
dutyEngineerList(id) {
|
||||||
if (this.multipleSelection.length === 0) {
|
if (this.multipleSelection.length === 0) {
|
||||||
this.$message.warning("请选择至少一条数据进行分发责任人");
|
this.$message.warning('请选择至少一条数据进行分发责任人');
|
||||||
} else {
|
} else {
|
||||||
this.nodeList = []
|
this.nodeList = []
|
||||||
this.nodeList.push(id)
|
this.nodeList.push(id)
|
||||||
@@ -282,7 +283,7 @@ export default {
|
|||||||
// 保存按钮
|
// 保存按钮
|
||||||
handleSave() {
|
handleSave() {
|
||||||
this.isSubmit = true
|
this.isSubmit = true
|
||||||
let _formData = new FormData()
|
const _formData = new FormData()
|
||||||
_formData.append('taskIds', this.taskIds)
|
_formData.append('taskIds', this.taskIds)
|
||||||
_formData.append('json', JSON.stringify({
|
_formData.append('json', JSON.stringify({
|
||||||
// roleForm: this.roleForm,
|
// roleForm: this.roleForm,
|
||||||
@@ -299,14 +300,14 @@ export default {
|
|||||||
// 提交按钮
|
// 提交按钮
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
this.isSubmit = true
|
this.isSubmit = true
|
||||||
let son = {
|
const son = {
|
||||||
signFlag: '1',
|
signFlag: '1',
|
||||||
commentText: this.commentText,
|
commentText: this.commentText,
|
||||||
dataList: this.dataList,
|
dataList: this.dataList,
|
||||||
roleForm: this.roleForm
|
roleForm: this.roleForm
|
||||||
}
|
}
|
||||||
var json = JSON.stringify(son)
|
const json = JSON.stringify(son)
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
taskIds: this.taskIds,
|
taskIds: this.taskIds,
|
||||||
userId: this.userId,
|
userId: this.userId,
|
||||||
json: json
|
json: json
|
||||||
@@ -316,7 +317,8 @@ export default {
|
|||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.$message.success(res.message);
|
this.$message.success(res.message);
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push("/processCenter");
|
// this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
this.isSubmit = false
|
this.isSubmit = false
|
||||||
@@ -328,15 +330,15 @@ export default {
|
|||||||
if(!this.commentText){
|
if(!this.commentText){
|
||||||
this.$message.warning('请填写审批意见')
|
this.$message.warning('请填写审批意见')
|
||||||
}else{
|
}else{
|
||||||
let son = {
|
const son = {
|
||||||
signFlag: '2',
|
signFlag: '2',
|
||||||
commentText: this.commentText,
|
commentText: this.commentText,
|
||||||
dataList: this.dataList,
|
dataList: this.dataList,
|
||||||
roleForm: this.roleForm
|
roleForm: this.roleForm
|
||||||
}
|
}
|
||||||
var json = JSON.stringify(son)
|
const json = JSON.stringify(son)
|
||||||
this.isSubmit = true
|
this.isSubmit = true
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
taskIds: this.taskIds,
|
taskIds: this.taskIds,
|
||||||
userId: this.userId,
|
userId: this.userId,
|
||||||
json: json
|
json: json
|
||||||
@@ -346,7 +348,8 @@ export default {
|
|||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.$message.success(res.message);
|
this.$message.success(res.message);
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push("/processCenter");
|
// this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
this.isSubmit = false
|
this.isSubmit = false
|
||||||
@@ -376,7 +379,8 @@ export default {
|
|||||||
this.turnLoading = false
|
this.turnLoading = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push("/processCenter")
|
// this.$router.push("/processCenter")
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
@@ -396,7 +400,7 @@ export default {
|
|||||||
},
|
},
|
||||||
// 点击查看
|
// 点击查看
|
||||||
handlePreview (item) {
|
handlePreview (item) {
|
||||||
let routeUrl = this.$router.resolve({
|
const routeUrl = this.$router.resolve({
|
||||||
name: 'OtherStandardDetails',
|
name: 'OtherStandardDetails',
|
||||||
params: {
|
params: {
|
||||||
id: item.standId,
|
id: item.standId,
|
||||||
|
|||||||
@@ -103,13 +103,13 @@ import { Dialog } from 'vant';
|
|||||||
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
||||||
import ProcessFooter from '../../components/ProcessFooter'
|
import ProcessFooter from '../../components/ProcessFooter'
|
||||||
import ProcessTitle from '../../components/ProcessTitle'
|
import ProcessTitle from '../../components/ProcessTitle'
|
||||||
import { inboundLiaisonDetail, processCreateStand, changeAssigneeNew, execTask, saveTaskForPub } from "api/process";
|
import { inboundLiaisonDetail, processCreateStand, changeAssigneeNew, execTask, saveTaskForPub } from 'api/process';
|
||||||
import axios from "axios";
|
import axios from 'axios';
|
||||||
import ProcessHeader from "process/components/ProcessHeader";
|
import ProcessHeader from 'process/components/ProcessHeader';
|
||||||
import hwh5 from '@/api/hwh5-cloudonline.js'
|
import hwh5 from '@/api/hwh5-cloudonline.js'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "phoneWbsmStep5",
|
name: 'phoneWbsmStep5',
|
||||||
components: {
|
components: {
|
||||||
ProcessTitle,
|
ProcessTitle,
|
||||||
ProcessHeader,
|
ProcessHeader,
|
||||||
@@ -180,7 +180,7 @@ export default {
|
|||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
listNoDataText() {
|
listNoDataText() {
|
||||||
return this.processType === 1 ? "暂无待办流程" : "暂无已办流程";
|
return this.processType === 1 ? '暂无待办流程' : '暂无已办流程';
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
@@ -203,7 +203,8 @@ export default {
|
|||||||
this.drawerModal = false
|
this.drawerModal = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push("/processCenter");
|
// this.$router.push("/processCenter");
|
||||||
// this.processNum()
|
// this.processNum()
|
||||||
} else {
|
} else {
|
||||||
@@ -212,12 +213,12 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
processTable() {
|
processTable() {
|
||||||
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,
|
||||||
sortWord: this.shunxu ? this.paixu : "",
|
sortWord: this.shunxu ? this.paixu : '',
|
||||||
shunxu: this.shunxu
|
shunxu: this.shunxu
|
||||||
}, {
|
}, {
|
||||||
loading: "loading",
|
loading: 'loading',
|
||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
this.detailData = res
|
this.detailData = res
|
||||||
@@ -251,7 +252,7 @@ export default {
|
|||||||
// 批量选择分发责任人
|
// 批量选择分发责任人
|
||||||
dutyEngineerList(id) {
|
dutyEngineerList(id) {
|
||||||
if (this.multipleSelection.length === 0) {
|
if (this.multipleSelection.length === 0) {
|
||||||
this.$message.warning("请选择至少一条数据进行分发责任人");
|
this.$message.warning('请选择至少一条数据进行分发责任人');
|
||||||
} else {
|
} else {
|
||||||
this.nodeList = []
|
this.nodeList = []
|
||||||
this.nodeList.push(id)
|
this.nodeList.push(id)
|
||||||
@@ -282,7 +283,7 @@ export default {
|
|||||||
// 保存按钮
|
// 保存按钮
|
||||||
handleSave() {
|
handleSave() {
|
||||||
this.isSubmit = true
|
this.isSubmit = true
|
||||||
let _formData = new FormData()
|
const _formData = new FormData()
|
||||||
_formData.append('taskIds', this.taskIds)
|
_formData.append('taskIds', this.taskIds)
|
||||||
_formData.append('json', JSON.stringify({
|
_formData.append('json', JSON.stringify({
|
||||||
// roleForm: this.roleForm,
|
// roleForm: this.roleForm,
|
||||||
@@ -299,14 +300,14 @@ export default {
|
|||||||
// 提交按钮
|
// 提交按钮
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
this.isSubmit = true
|
this.isSubmit = true
|
||||||
let son = {
|
const son = {
|
||||||
yzFlag: '1',
|
yzFlag: '1',
|
||||||
commentText: this.commentText,
|
commentText: this.commentText,
|
||||||
dataList: this.dataList,
|
dataList: this.dataList,
|
||||||
roleForm: this.roleForm
|
roleForm: this.roleForm
|
||||||
}
|
}
|
||||||
var json = JSON.stringify(son)
|
const json = JSON.stringify(son)
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
taskIds: this.taskIds,
|
taskIds: this.taskIds,
|
||||||
userId: this.userId,
|
userId: this.userId,
|
||||||
json: json
|
json: json
|
||||||
@@ -316,7 +317,8 @@ export default {
|
|||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.$message.success(res.message);
|
this.$message.success(res.message);
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push("/processCenter");
|
// this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
this.isSubmit = false
|
this.isSubmit = false
|
||||||
@@ -328,15 +330,15 @@ export default {
|
|||||||
if(!this.commentText){
|
if(!this.commentText){
|
||||||
this.$message.warning('请填写审批意见')
|
this.$message.warning('请填写审批意见')
|
||||||
}else{
|
}else{
|
||||||
let son = {
|
const son = {
|
||||||
yzFlag: '2',
|
yzFlag: '2',
|
||||||
commentText: this.commentText,
|
commentText: this.commentText,
|
||||||
dataList: this.dataList,
|
dataList: this.dataList,
|
||||||
roleForm: this.roleForm
|
roleForm: this.roleForm
|
||||||
}
|
}
|
||||||
var json = JSON.stringify(son)
|
const json = JSON.stringify(son)
|
||||||
this.isSubmit = true
|
this.isSubmit = true
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
taskIds: this.taskIds,
|
taskIds: this.taskIds,
|
||||||
userId: this.userId,
|
userId: this.userId,
|
||||||
json: json
|
json: json
|
||||||
@@ -346,7 +348,8 @@ export default {
|
|||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.$message.success(res.message);
|
this.$message.success(res.message);
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push("/processCenter");
|
// this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
this.isSubmit = false
|
this.isSubmit = false
|
||||||
@@ -376,7 +379,8 @@ export default {
|
|||||||
this.turnLoading = false
|
this.turnLoading = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push("/processCenter")
|
// this.$router.push("/processCenter")
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
@@ -396,7 +400,7 @@ export default {
|
|||||||
},
|
},
|
||||||
// 点击查看
|
// 点击查看
|
||||||
handlePreview (item) {
|
handlePreview (item) {
|
||||||
let routeUrl = this.$router.resolve({
|
const routeUrl = this.$router.resolve({
|
||||||
name: 'OtherStandardDetails',
|
name: 'OtherStandardDetails',
|
||||||
params: {
|
params: {
|
||||||
id: item.standId,
|
id: item.standId,
|
||||||
|
|||||||
@@ -113,10 +113,10 @@
|
|||||||
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
||||||
import ProcessFooter from '../../components/ProcessFooter'
|
import ProcessFooter from '../../components/ProcessFooter'
|
||||||
import ProcessTitle from '../../components/ProcessTitle'
|
import ProcessTitle from '../../components/ProcessTitle'
|
||||||
import {completeTask, inboundLiaisonDetail, saveTaskForPub, changeAssigneeNew} from "@/api/process.js"
|
import {completeTask, inboundLiaisonDetail, saveTaskForPub, changeAssigneeNew} from '@/api/process.js'
|
||||||
import hwh5 from '@/api/hwh5-cloudonline.js'
|
import hwh5 from '@/api/hwh5-cloudonline.js'
|
||||||
export default {
|
export default {
|
||||||
name: "phoneWfhxzgStep2",
|
name: 'phoneWfhxzgStep2',
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
passInfo: 0,
|
passInfo: 0,
|
||||||
@@ -215,7 +215,7 @@ export default {
|
|||||||
// 批量选择分发责任人
|
// 批量选择分发责任人
|
||||||
dutyEngineerList(id) {
|
dutyEngineerList(id) {
|
||||||
if (this.multipleSelection.length === 0) {
|
if (this.multipleSelection.length === 0) {
|
||||||
this.$message.warning("请选择至少一条数据进行分发责任人");
|
this.$message.warning('请选择至少一条数据进行分发责任人');
|
||||||
} else {
|
} else {
|
||||||
this.phoneRoleList = []
|
this.phoneRoleList = []
|
||||||
if (this.multipleSelection[0].dutyPeopleInfoId.length > 0) {
|
if (this.multipleSelection[0].dutyPeopleInfoId.length > 0) {
|
||||||
@@ -251,7 +251,7 @@ export default {
|
|||||||
// 保存按钮
|
// 保存按钮
|
||||||
handleSave() {
|
handleSave() {
|
||||||
this.isSubmit = true
|
this.isSubmit = true
|
||||||
let _formData = new FormData()
|
const _formData = new FormData()
|
||||||
_formData.append('taskIds', this.taskIds)
|
_formData.append('taskIds', this.taskIds)
|
||||||
_formData.append('json', JSON.stringify({
|
_formData.append('json', JSON.stringify({
|
||||||
// roleForm: this.roleForm,
|
// roleForm: this.roleForm,
|
||||||
@@ -270,8 +270,8 @@ export default {
|
|||||||
if(!this.commentInfo){
|
if(!this.commentInfo){
|
||||||
this.$message.warning('请填写审批意见')
|
this.$message.warning('请填写审批意见')
|
||||||
}else{
|
}else{
|
||||||
let zqa = new Map();
|
const zqa = new Map();
|
||||||
for (let lastDataListElement of this.dataList) {
|
for (const lastDataListElement of this.dataList) {
|
||||||
let a = zqa.get(lastDataListElement.dutyPeopleInfoId)
|
let a = zqa.get(lastDataListElement.dutyPeopleInfoId)
|
||||||
if( a == null){
|
if( a == null){
|
||||||
a = {
|
a = {
|
||||||
@@ -283,11 +283,11 @@ export default {
|
|||||||
a.standardInfoList.push(lastDataListElement);
|
a.standardInfoList.push(lastDataListElement);
|
||||||
zqa.set(a.id, a);
|
zqa.set(a.id, a);
|
||||||
}
|
}
|
||||||
let list = [];
|
const list = [];
|
||||||
for(let item of zqa) {
|
for(const item of zqa) {
|
||||||
list.push(item[1])
|
list.push(item[1])
|
||||||
}
|
}
|
||||||
let json = {
|
const json = {
|
||||||
dockUserList: list,
|
dockUserList: list,
|
||||||
passInfo: this.passInfo,
|
passInfo: this.passInfo,
|
||||||
passFlag: '1',
|
passFlag: '1',
|
||||||
@@ -302,7 +302,8 @@ export default {
|
|||||||
if(res.success === true) {
|
if(res.success === true) {
|
||||||
this.$message.success('提交成功')
|
this.$message.success('提交成功')
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push("/processCenter");
|
// this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
}).finally(() => {
|
}).finally(() => {
|
||||||
@@ -314,8 +315,8 @@ export default {
|
|||||||
// 提交按钮
|
// 提交按钮
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
this.isSubmit = true
|
this.isSubmit = true
|
||||||
let zqa = new Map();
|
const zqa = new Map();
|
||||||
for (let lastDataListElement of this.dataList) {
|
for (const lastDataListElement of this.dataList) {
|
||||||
let a = zqa.get(lastDataListElement.dutyPeopleInfoId)
|
let a = zqa.get(lastDataListElement.dutyPeopleInfoId)
|
||||||
if( a == null){
|
if( a == null){
|
||||||
a = {
|
a = {
|
||||||
@@ -327,11 +328,11 @@ export default {
|
|||||||
a.standardInfoList.push(lastDataListElement);
|
a.standardInfoList.push(lastDataListElement);
|
||||||
zqa.set(a.id, a);
|
zqa.set(a.id, a);
|
||||||
}
|
}
|
||||||
let list = [];
|
const list = [];
|
||||||
for(let item of zqa) {
|
for(const item of zqa) {
|
||||||
list.push(item[1])
|
list.push(item[1])
|
||||||
}
|
}
|
||||||
let json = {
|
const json = {
|
||||||
dockUserList: list,
|
dockUserList: list,
|
||||||
passInfo: this.passInfo,
|
passInfo: this.passInfo,
|
||||||
passFlag: '0',
|
passFlag: '0',
|
||||||
@@ -353,7 +354,8 @@ export default {
|
|||||||
if(res.success === true) {
|
if(res.success === true) {
|
||||||
this.$message.success('提交成功')
|
this.$message.success('提交成功')
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push("/processCenter");
|
// this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
this.isSubmit = false
|
this.isSubmit = false
|
||||||
@@ -376,7 +378,8 @@ export default {
|
|||||||
this.turnLoading = false
|
this.turnLoading = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push("/processCenter")
|
// this.$router.push("/processCenter")
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
@@ -409,7 +412,7 @@ export default {
|
|||||||
},
|
},
|
||||||
// 点击查看
|
// 点击查看
|
||||||
handlePreview (item) {
|
handlePreview (item) {
|
||||||
let routeUrl = this.$router.resolve({
|
const routeUrl = this.$router.resolve({
|
||||||
name: 'OtherStandardDetails',
|
name: 'OtherStandardDetails',
|
||||||
params: {
|
params: {
|
||||||
id: item.standId,
|
id: item.standId,
|
||||||
|
|||||||
@@ -116,11 +116,11 @@
|
|||||||
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
||||||
import ProcessFooter from '../../components/ProcessFooter'
|
import ProcessFooter from '../../components/ProcessFooter'
|
||||||
import ProcessTitle from '../../components/ProcessTitle'
|
import ProcessTitle from '../../components/ProcessTitle'
|
||||||
import {changeAssigneeNew, completeTask, inboundLiaisonDetail, saveTaskForPub} from "@/api/process.js";
|
import {changeAssigneeNew, completeTask, inboundLiaisonDetail, saveTaskForPub} from '@/api/process.js';
|
||||||
import hwh5 from '@/api/hwh5-cloudonline.js'
|
import hwh5 from '@/api/hwh5-cloudonline.js'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "phoneWfhxzgStep3",
|
name: 'phoneWfhxzgStep3',
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
passInfo: 0,
|
passInfo: 0,
|
||||||
@@ -187,7 +187,7 @@ export default {
|
|||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
if (item.passInfo !== 0) {
|
if (item.passInfo !== 0) {
|
||||||
this.passInfo = JSON.parse(JSON.stringify(item)).passInfo
|
this.passInfo = JSON.parse(JSON.stringify(item)).passInfo
|
||||||
let fileData = JSON.parse(JSON.stringify(item)).dockUserList
|
const fileData = JSON.parse(JSON.stringify(item)).dockUserList
|
||||||
for (let i = 0; i<fileData.length; i++) {
|
for (let i = 0; i<fileData.length; i++) {
|
||||||
if (fileData[i].name.slice(0,fileData[i].name.indexOf('(')) === this.$store.getters.userInfo.userName) {
|
if (fileData[i].name.slice(0,fileData[i].name.indexOf('(')) === this.$store.getters.userInfo.userName) {
|
||||||
this.dataList = fileData[0].standardInfoList
|
this.dataList = fileData[0].standardInfoList
|
||||||
@@ -196,7 +196,7 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
let fileData = JSON.parse(JSON.stringify(item)).dockUserList
|
const fileData = JSON.parse(JSON.stringify(item)).dockUserList
|
||||||
for (let i = 0; i<fileData.length; i++) {
|
for (let i = 0; i<fileData.length; i++) {
|
||||||
if (fileData[i].name.slice(0,fileData[i].name.indexOf('(')) === this.$store.getters.userInfo.userName) {
|
if (fileData[i].name.slice(0,fileData[i].name.indexOf('(')) === this.$store.getters.userInfo.userName) {
|
||||||
this.dataList = fileData[i].standardInfoList
|
this.dataList = fileData[i].standardInfoList
|
||||||
@@ -219,7 +219,7 @@ export default {
|
|||||||
// 批量选择分发责任人
|
// 批量选择分发责任人
|
||||||
dutyPeopleList(id) {
|
dutyPeopleList(id) {
|
||||||
if (this.selectTableMore.length === 0) {
|
if (this.selectTableMore.length === 0) {
|
||||||
this.$message.warning("请选择至少一条数据进行分发责任人");
|
this.$message.warning('请选择至少一条数据进行分发责任人');
|
||||||
} else {
|
} else {
|
||||||
this.phoneRoleList = []
|
this.phoneRoleList = []
|
||||||
if (this.selectTableMore[0].dutyPeopleId.length > 0) {
|
if (this.selectTableMore[0].dutyPeopleId.length > 0) {
|
||||||
@@ -243,7 +243,7 @@ export default {
|
|||||||
},
|
},
|
||||||
// 点击查看
|
// 点击查看
|
||||||
handlePreview (item) {
|
handlePreview (item) {
|
||||||
let routeUrl = this.$router.resolve({
|
const routeUrl = this.$router.resolve({
|
||||||
name: 'OtherStandardDetails',
|
name: 'OtherStandardDetails',
|
||||||
params: {
|
params: {
|
||||||
id: item.standId,
|
id: item.standId,
|
||||||
@@ -255,8 +255,8 @@ export default {
|
|||||||
},
|
},
|
||||||
// 保存按钮
|
// 保存按钮
|
||||||
handleSave() {
|
handleSave() {
|
||||||
let zqa = new Map();
|
const zqa = new Map();
|
||||||
for (let lastDataListElement of this.dataList) {
|
for (const lastDataListElement of this.dataList) {
|
||||||
let a = zqa.get(lastDataListElement.dutyPeopleInfoId)
|
let a = zqa.get(lastDataListElement.dutyPeopleInfoId)
|
||||||
if( a == null){
|
if( a == null){
|
||||||
a = {
|
a = {
|
||||||
@@ -268,12 +268,12 @@ export default {
|
|||||||
a.standardInfoList.push(lastDataListElement);
|
a.standardInfoList.push(lastDataListElement);
|
||||||
zqa.set(a.id, a);
|
zqa.set(a.id, a);
|
||||||
}
|
}
|
||||||
let list = [];
|
const list = [];
|
||||||
for(let item of zqa) {
|
for(const item of zqa) {
|
||||||
list.push(item[1])
|
list.push(item[1])
|
||||||
}
|
}
|
||||||
this.isSubmit = true
|
this.isSubmit = true
|
||||||
let _formData = new FormData()
|
const _formData = new FormData()
|
||||||
_formData.append('taskIds', this.taskIds)
|
_formData.append('taskIds', this.taskIds)
|
||||||
_formData.append('json', JSON.stringify({
|
_formData.append('json', JSON.stringify({
|
||||||
// roleForm: this.roleForm,
|
// roleForm: this.roleForm,
|
||||||
@@ -298,8 +298,8 @@ export default {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
if(flag)return this.$message.warning('请选择负责人填入')
|
if(flag)return this.$message.warning('请选择负责人填入')
|
||||||
let zqa = new Map();
|
const zqa = new Map();
|
||||||
for (let lastDataListElement of this.dataList) {
|
for (const lastDataListElement of this.dataList) {
|
||||||
let a = zqa.get(lastDataListElement.dutyPeopleId)
|
let a = zqa.get(lastDataListElement.dutyPeopleId)
|
||||||
if( a == null){
|
if( a == null){
|
||||||
a = {
|
a = {
|
||||||
@@ -311,11 +311,11 @@ export default {
|
|||||||
a.standardInfoList.push(lastDataListElement);
|
a.standardInfoList.push(lastDataListElement);
|
||||||
zqa.set(a.id, a);
|
zqa.set(a.id, a);
|
||||||
}
|
}
|
||||||
let list = [];
|
const list = [];
|
||||||
for(let item of zqa) {
|
for(const item of zqa) {
|
||||||
list.push(item[1])
|
list.push(item[1])
|
||||||
}
|
}
|
||||||
let json = {
|
const json = {
|
||||||
passInfo: this.passInfo,
|
passInfo: this.passInfo,
|
||||||
responUserList: list,
|
responUserList: list,
|
||||||
commentText: this.textarea,
|
commentText: this.textarea,
|
||||||
@@ -330,7 +330,8 @@ export default {
|
|||||||
if (res.success === true) {
|
if (res.success === true) {
|
||||||
this.$message.success('提交成功')
|
this.$message.success('提交成功')
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push("/processCenter");
|
// this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
}).finally(() => {
|
}).finally(() => {
|
||||||
@@ -352,7 +353,8 @@ export default {
|
|||||||
this.turnLoading = false
|
this.turnLoading = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push({
|
// this.$router.push({
|
||||||
// name: "processCenter"
|
// name: "processCenter"
|
||||||
// })
|
// })
|
||||||
|
|||||||
@@ -186,7 +186,8 @@ export default {
|
|||||||
this.drawerModal = false
|
this.drawerModal = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
}, 100)
|
}, 100)
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
|||||||
@@ -102,11 +102,11 @@
|
|||||||
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
||||||
import ProcessFooter from '../../components/ProcessFooter'
|
import ProcessFooter from '../../components/ProcessFooter'
|
||||||
import ProcessTitle from '../../components/ProcessTitle'
|
import ProcessTitle from '../../components/ProcessTitle'
|
||||||
import {inboundLiaisonDetail, changeAssigneeNew} from "@/api/process";
|
import {inboundLiaisonDetail, changeAssigneeNew} from '@/api/process';
|
||||||
import hwh5 from '@/api/hwh5-cloudonline.js'
|
import hwh5 from '@/api/hwh5-cloudonline.js'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "phoneWfhxzgStep5",
|
name: 'phoneWfhxzgStep5',
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
drawerTitle: '',
|
drawerTitle: '',
|
||||||
@@ -193,7 +193,7 @@ export default {
|
|||||||
},
|
},
|
||||||
// 点击查看
|
// 点击查看
|
||||||
handlePreview (item) {
|
handlePreview (item) {
|
||||||
let routeUrl = this.$router.resolve({
|
const routeUrl = this.$router.resolve({
|
||||||
name: 'OtherStandardDetails',
|
name: 'OtherStandardDetails',
|
||||||
params: {
|
params: {
|
||||||
id: item.standId,
|
id: item.standId,
|
||||||
@@ -205,15 +205,15 @@ export default {
|
|||||||
},
|
},
|
||||||
// 点击上传的文件进行下载
|
// 点击上传的文件进行下载
|
||||||
handleOnPreview(file) {
|
handleOnPreview(file) {
|
||||||
let attId = file.id
|
const attId = file.id
|
||||||
if (attId != null && attId !== "") {
|
if (attId != null && attId !== '') {
|
||||||
this.$preview(attId)
|
this.$preview(attId)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 提交按钮
|
// 提交按钮
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
this.isSubmit = true
|
this.isSubmit = true
|
||||||
var json = this.json
|
const json = this.json
|
||||||
json.info = {
|
json.info = {
|
||||||
fileDataList: this.dataList
|
fileDataList: this.dataList
|
||||||
}
|
}
|
||||||
@@ -227,7 +227,8 @@ export default {
|
|||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.$message.success('提交成功')
|
this.$message.success('提交成功')
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push('/processCenter')
|
// this.$router.push('/processCenter')
|
||||||
}
|
}
|
||||||
this.isSubmit = false
|
this.isSubmit = false
|
||||||
@@ -252,7 +253,8 @@ export default {
|
|||||||
this.turnLoading = false
|
this.turnLoading = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push("/processCenter")
|
// this.$router.push("/processCenter")
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
@@ -265,7 +267,7 @@ export default {
|
|||||||
handleSubmitNo() {
|
handleSubmitNo() {
|
||||||
this.backLoading = true
|
this.backLoading = true
|
||||||
if (this.commentText) {
|
if (this.commentText) {
|
||||||
var json = {
|
const json = {
|
||||||
responUserList: this.dataList,
|
responUserList: this.dataList,
|
||||||
actionFlag: 1,
|
actionFlag: 1,
|
||||||
commentText: this.commentText
|
commentText: this.commentText
|
||||||
@@ -279,7 +281,8 @@ export default {
|
|||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.$message.success('驳回成功')
|
this.$message.success('驳回成功')
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push('/processCenter')
|
// this.$router.push('/processCenter')
|
||||||
this.backLoading = false
|
this.backLoading = false
|
||||||
}
|
}
|
||||||
@@ -324,8 +327,8 @@ export default {
|
|||||||
this.getData()
|
this.getData()
|
||||||
},
|
},
|
||||||
download(row) {
|
download(row) {
|
||||||
let attId = row.fileTextId
|
const attId = row.fileTextId
|
||||||
window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId;
|
window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId;
|
||||||
},
|
},
|
||||||
// 分页事件
|
// 分页事件
|
||||||
pageChange (page) {
|
pageChange (page) {
|
||||||
|
|||||||
@@ -145,7 +145,8 @@ export default {
|
|||||||
this.drawerModal = false
|
this.drawerModal = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
}, 100)
|
}, 100)
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
|||||||
@@ -145,7 +145,8 @@ export default {
|
|||||||
this.drawerModal = false
|
this.drawerModal = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
}, 100)
|
}, 100)
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
|||||||
@@ -201,14 +201,14 @@
|
|||||||
<script>
|
<script>
|
||||||
import { Dialog } from 'vant';
|
import { Dialog } from 'vant';
|
||||||
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
||||||
import ProcessHeader from "../../components/ProcessHeader";
|
import ProcessHeader from '../../components/ProcessHeader';
|
||||||
import ProcessFooter from "../../components/ProcessFooter";
|
import ProcessFooter from '../../components/ProcessFooter';
|
||||||
import ProcessTitle from "../../components/ProcessTitle";
|
import ProcessTitle from '../../components/ProcessTitle';
|
||||||
import { inboundLiaisonDetail, queryDetail ,changeAssigneeNew } from "api/process";
|
import { inboundLiaisonDetail, queryDetail ,changeAssigneeNew } from 'api/process';
|
||||||
import hwh5 from '@/api/hwh5-cloudonline.js'
|
import hwh5 from '@/api/hwh5-cloudonline.js'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "phoneXmpgStep4",
|
name: 'phoneXmpgStep4',
|
||||||
components: {
|
components: {
|
||||||
ProcessTitle,
|
ProcessTitle,
|
||||||
ProcessHeader,
|
ProcessHeader,
|
||||||
@@ -231,7 +231,7 @@ export default {
|
|||||||
isTransfer: false,
|
isTransfer: false,
|
||||||
// 调整处理人抽屉状态
|
// 调整处理人抽屉状态
|
||||||
drawerModal: false,
|
drawerModal: false,
|
||||||
active: "1",
|
active: '1',
|
||||||
loading: false,
|
loading: false,
|
||||||
// 当前流程类型(1待办/2已办)
|
// 当前流程类型(1待办/2已办)
|
||||||
processType: 1,
|
processType: 1,
|
||||||
@@ -239,14 +239,14 @@ export default {
|
|||||||
saveLoading: false,
|
saveLoading: false,
|
||||||
//表单的数据
|
//表单的数据
|
||||||
listForm: {
|
listForm: {
|
||||||
ffFlag: " ", //1审批通过 其他为驳回
|
ffFlag: ' ', //1审批通过 其他为驳回
|
||||||
projectNumber: "", //项目编号
|
projectNumber: '', //项目编号
|
||||||
projectName: "", //项目名称
|
projectName: '', //项目名称
|
||||||
dataList: [], //项目下的标准数据
|
dataList: [], //项目下的标准数据
|
||||||
breakdownList: [] //标准下的分解单数据
|
breakdownList: [] //标准下的分解单数据
|
||||||
},
|
},
|
||||||
dataList: [], //展示的标准数据
|
dataList: [], //展示的标准数据
|
||||||
commentText: "", //审批意见
|
commentText: '', //审批意见
|
||||||
detailData: [],//流程历史数据
|
detailData: [],//流程历史数据
|
||||||
userId: this.$store.getters.userInfo.account,
|
userId: this.$store.getters.userInfo.account,
|
||||||
taskIds: this.$route.query.taskIds,
|
taskIds: this.$route.query.taskIds,
|
||||||
@@ -256,12 +256,12 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
tableLoading () {
|
tableLoading () {
|
||||||
this.tableIndex++
|
this.tableIndex++
|
||||||
let index = this.tableIndex * 20
|
const index = this.tableIndex * 20
|
||||||
let endIndex = index + 20
|
const endIndex = index + 20
|
||||||
if (this.tableIndex * 20 > this.itemLists.length) {
|
if (this.tableIndex * 20 > this.itemLists.length) {
|
||||||
this.$message.warning('没有更多了')
|
this.$message.warning('没有更多了')
|
||||||
}
|
}
|
||||||
let newData = this.itemLists.slice(index, endIndex)
|
const newData = this.itemLists.slice(index, endIndex)
|
||||||
this.itemList = this.itemList.concat(newData)
|
this.itemList = this.itemList.concat(newData)
|
||||||
},
|
},
|
||||||
//折叠/展开基础信息方法
|
//折叠/展开基础信息方法
|
||||||
@@ -282,7 +282,8 @@ export default {
|
|||||||
this.drawerModal = false
|
this.drawerModal = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push("/processCenter");
|
// this.$router.push("/processCenter");
|
||||||
// this.processNum()
|
// this.processNum()
|
||||||
} else {
|
} else {
|
||||||
@@ -327,7 +328,8 @@ export default {
|
|||||||
this.turnLoading = false
|
this.turnLoading = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push("/processCenter")
|
// this.$router.push("/processCenter")
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
@@ -339,17 +341,17 @@ export default {
|
|||||||
},
|
},
|
||||||
// 点击查看
|
// 点击查看
|
||||||
handlePreview(item) {
|
handlePreview(item) {
|
||||||
let replaceStandInfoEO ={}
|
const replaceStandInfoEO ={}
|
||||||
replaceStandInfoEO.standNumber = item.standNumber
|
replaceStandInfoEO.standNumber = item.standNumber
|
||||||
this.$http.get('sarStandardsInfo/sar-standards-info/queryInfoByStandNum', replaceStandInfoEO, {
|
this.$http.get('sarStandardsInfo/sar-standards-info/queryInfoByStandNum', replaceStandInfoEO, {
|
||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
if (res.data != null) {
|
if (res.data != null) {
|
||||||
let routeUrl = this.$router.resolve({
|
const routeUrl = this.$router.resolve({
|
||||||
name: 'OtherStandardDetails',
|
name: 'OtherStandardDetails',
|
||||||
params: {
|
params: {
|
||||||
id: res.data.id,
|
id: res.data.id,
|
||||||
pageType:"INLAND_STAND"
|
pageType:'INLAND_STAND'
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
window.open(routeUrl.href, '_blank')
|
window.open(routeUrl.href, '_blank')
|
||||||
@@ -369,7 +371,7 @@ export default {
|
|||||||
},
|
},
|
||||||
//查询项目下的标准
|
//查询项目下的标准
|
||||||
getStandData() {
|
getStandData() {
|
||||||
this.$http.get("sarStandardsInfo/sar-standards-info/getSarStandardsInfoPage", {
|
this.$http.get('sarStandardsInfo/sar-standards-info/getSarStandardsInfoPage', {
|
||||||
standType: this.standardSearch.standType,
|
standType: this.standardSearch.standType,
|
||||||
standNumber: this.standardSearch.standNumber,
|
standNumber: this.standardSearch.standNumber,
|
||||||
page: this.pageNo,
|
page: this.pageNo,
|
||||||
@@ -380,11 +382,11 @@ export default {
|
|||||||
this.standardData = res.data.list;
|
this.standardData = res.data.list;
|
||||||
this.standardData.forEach(item => {
|
this.standardData.forEach(item => {
|
||||||
if (item.attrInfoMap === null) {
|
if (item.attrInfoMap === null) {
|
||||||
this.$set(item, "ZCCSSRQ", "");
|
this.$set(item, 'ZCCSSRQ', '');
|
||||||
this.$set(item, "XCXSSRQ", "");
|
this.$set(item, 'XCXSSRQ', '');
|
||||||
} else {
|
} else {
|
||||||
this.$set(item, "ZCCSSRQ", item.attrInfoMap.ZCCSSRQ);
|
this.$set(item, 'ZCCSSRQ', item.attrInfoMap.ZCCSSRQ);
|
||||||
this.$set(item, "XCXSSRQ", item.attrInfoMap.XCXSSRQ);
|
this.$set(item, 'XCXSSRQ', item.attrInfoMap.XCXSSRQ);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
this.totalNo = res.data.count;
|
this.totalNo = res.data.count;
|
||||||
@@ -392,12 +394,12 @@ export default {
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
processTable() {
|
processTable() {
|
||||||
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,
|
||||||
sortWord: this.shunxu ? this.paixu : "",
|
sortWord: this.shunxu ? this.paixu : '',
|
||||||
shunxu: this.shunxu
|
shunxu: this.shunxu
|
||||||
}, {
|
}, {
|
||||||
loading: "loading",
|
loading: 'loading',
|
||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
this.detailData = res;
|
this.detailData = res;
|
||||||
@@ -427,11 +429,11 @@ export default {
|
|||||||
getFormFieldList(item) {
|
getFormFieldList(item) {
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.listForm = JSON.parse(JSON.stringify(item));
|
this.listForm = JSON.parse(JSON.stringify(item));
|
||||||
let dataChildren = []
|
const dataChildren = []
|
||||||
let dataListChildren = []
|
let dataListChildren = []
|
||||||
this.listForm.prcNum = this.prcNum;
|
this.listForm.prcNum = this.prcNum;
|
||||||
this.listForm.prcName = this.prcName;
|
this.listForm.prcName = this.prcName;
|
||||||
this.listForm["id"] = item.id;
|
this.listForm['id'] = item.id;
|
||||||
this.listForm.dataList = item.dataList;
|
this.listForm.dataList = item.dataList;
|
||||||
this.dataList = item.dataList;
|
this.dataList = item.dataList;
|
||||||
this.dataList.forEach(item =>{
|
this.dataList.forEach(item =>{
|
||||||
@@ -444,11 +446,11 @@ export default {
|
|||||||
this.dataList.forEach(item => {
|
this.dataList.forEach(item => {
|
||||||
dataChildren.forEach(items =>{
|
dataChildren.forEach(items =>{
|
||||||
if (items.key === item.standId) {
|
if (items.key === item.standId) {
|
||||||
this.$set(items, "standName", item.standName);
|
this.$set(items, 'standName', item.standName);
|
||||||
this.$set(items, "standEnName", item.standEnName);
|
this.$set(items, 'standEnName', item.standEnName);
|
||||||
this.$set(items, "standYear", item.standYear);
|
this.$set(items, 'standYear', item.standYear);
|
||||||
this.$set(items, "standSort", item.standSort);
|
this.$set(items, 'standSort', item.standSort);
|
||||||
this.$set(items, "standNumber", item.standNumber);
|
this.$set(items, 'standNumber', item.standNumber);
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
@@ -456,7 +458,7 @@ export default {
|
|||||||
dataListChildren = dataListChildren.concat(item);
|
dataListChildren = dataListChildren.concat(item);
|
||||||
});
|
});
|
||||||
dataListChildren = this.dataList.concat(dataListChildren);
|
dataListChildren = this.dataList.concat(dataListChildren);
|
||||||
let index = dataListChildren.findIndex(item => {
|
const index = dataListChildren.findIndex(item => {
|
||||||
return item.people
|
return item.people
|
||||||
})
|
})
|
||||||
if(index > -1){
|
if(index > -1){
|
||||||
@@ -469,13 +471,13 @@ export default {
|
|||||||
//驳回事件
|
//驳回事件
|
||||||
beforeBack() {
|
beforeBack() {
|
||||||
if (!this.commentText) {
|
if (!this.commentText) {
|
||||||
this.$message.warning("请填写审批意见");
|
this.$message.warning('请填写审批意见');
|
||||||
} else {
|
} else {
|
||||||
this.listForm.passFlag = "1";
|
this.listForm.passFlag = '1';
|
||||||
this.listForm.commentText = this.commentText;
|
this.listForm.commentText = this.commentText;
|
||||||
const json = JSON.stringify(this.listForm);
|
const json = JSON.stringify(this.listForm);
|
||||||
this.isSubmit = true;
|
this.isSubmit = true;
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
taskIds: this.taskIds,
|
taskIds: this.taskIds,
|
||||||
userId: this.userId,
|
userId: this.userId,
|
||||||
json: json
|
json: json
|
||||||
@@ -485,7 +487,8 @@ export default {
|
|||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.$message.success(res.message);
|
this.$message.success(res.message);
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push("/processCenter");
|
// this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
this.isSubmit = false;
|
this.isSubmit = false;
|
||||||
@@ -496,10 +499,10 @@ export default {
|
|||||||
//提交事件
|
//提交事件
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
this.isSubmit = true;
|
this.isSubmit = true;
|
||||||
this.listForm.passFlag = "0";
|
this.listForm.passFlag = '0';
|
||||||
this.listForm.commentText = this.commentText;
|
this.listForm.commentText = this.commentText;
|
||||||
const json = JSON.stringify(this.listForm);
|
const json = JSON.stringify(this.listForm);
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
taskIds: this.taskIds,
|
taskIds: this.taskIds,
|
||||||
userId: this.userId,
|
userId: this.userId,
|
||||||
json: json
|
json: json
|
||||||
@@ -509,7 +512,8 @@ export default {
|
|||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.$message.success(res.message);
|
this.$message.success(res.message);
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push("/processCenter");
|
// this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
this.isSubmit = false;
|
this.isSubmit = false;
|
||||||
@@ -523,7 +527,7 @@ export default {
|
|||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
listNoDataText() {
|
listNoDataText() {
|
||||||
return this.processType === 1 ? "暂无待办流程" : "暂无已办流程";
|
return this.processType === 1 ? '暂无待办流程' : '暂无已办流程';
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
|||||||
@@ -199,14 +199,14 @@
|
|||||||
<script>
|
<script>
|
||||||
import { Dialog } from 'vant';
|
import { Dialog } from 'vant';
|
||||||
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
||||||
import ProcessHeader from "../../components/ProcessHeader";
|
import ProcessHeader from '../../components/ProcessHeader';
|
||||||
import ProcessFooter from "../../components/ProcessFooter";
|
import ProcessFooter from '../../components/ProcessFooter';
|
||||||
import ProcessTitle from "../../components/ProcessTitle";
|
import ProcessTitle from '../../components/ProcessTitle';
|
||||||
import { inboundLiaisonDetail, queryDetail ,changeAssigneeNew } from "api/process";
|
import { inboundLiaisonDetail, queryDetail ,changeAssigneeNew } from 'api/process';
|
||||||
import hwh5 from '@/api/hwh5-cloudonline.js'
|
import hwh5 from '@/api/hwh5-cloudonline.js'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "phoneXmpgStep5",
|
name: 'phoneXmpgStep5',
|
||||||
components: {
|
components: {
|
||||||
ProcessTitle,
|
ProcessTitle,
|
||||||
ProcessHeader,
|
ProcessHeader,
|
||||||
@@ -229,7 +229,7 @@ export default {
|
|||||||
isTransfer: false,
|
isTransfer: false,
|
||||||
// 调整处理人抽屉状态
|
// 调整处理人抽屉状态
|
||||||
drawerModal: false,
|
drawerModal: false,
|
||||||
active: "1",
|
active: '1',
|
||||||
loading: false,
|
loading: false,
|
||||||
// 当前流程类型(1待办/2已办)
|
// 当前流程类型(1待办/2已办)
|
||||||
processType: 1,
|
processType: 1,
|
||||||
@@ -237,14 +237,14 @@ export default {
|
|||||||
saveLoading: false,
|
saveLoading: false,
|
||||||
//表单的数据
|
//表单的数据
|
||||||
listForm: {
|
listForm: {
|
||||||
ffFlag: " ", //1审批通过 其他为驳回
|
ffFlag: ' ', //1审批通过 其他为驳回
|
||||||
projectNumber: "", //项目编号
|
projectNumber: '', //项目编号
|
||||||
projectName: "", //项目名称
|
projectName: '', //项目名称
|
||||||
dataList: [], //项目下的标准数据
|
dataList: [], //项目下的标准数据
|
||||||
breakdownList: [] //标准下的分解单数据
|
breakdownList: [] //标准下的分解单数据
|
||||||
},
|
},
|
||||||
dataList: [], //展示的标准数据
|
dataList: [], //展示的标准数据
|
||||||
commentText: "", //审批意见
|
commentText: '', //审批意见
|
||||||
detailData: [],//流程历史数据
|
detailData: [],//流程历史数据
|
||||||
userId: this.$store.getters.userInfo.account,
|
userId: this.$store.getters.userInfo.account,
|
||||||
taskIds: this.$route.query.taskIds,
|
taskIds: this.$route.query.taskIds,
|
||||||
@@ -254,12 +254,12 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
tableLoading () {
|
tableLoading () {
|
||||||
this.tableIndex++
|
this.tableIndex++
|
||||||
let index = this.tableIndex * 20
|
const index = this.tableIndex * 20
|
||||||
let endIndex = index + 20
|
const endIndex = index + 20
|
||||||
if (this.tableIndex * 20 > this.itemLists.length) {
|
if (this.tableIndex * 20 > this.itemLists.length) {
|
||||||
this.$message.warning('没有更多了')
|
this.$message.warning('没有更多了')
|
||||||
}
|
}
|
||||||
let newData = this.itemLists.slice(index, endIndex)
|
const newData = this.itemLists.slice(index, endIndex)
|
||||||
this.itemList = this.itemList.concat(newData)
|
this.itemList = this.itemList.concat(newData)
|
||||||
},
|
},
|
||||||
//折叠/展开基础信息方法
|
//折叠/展开基础信息方法
|
||||||
@@ -280,7 +280,8 @@ export default {
|
|||||||
this.drawerModal = false
|
this.drawerModal = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push("/processCenter");
|
// this.$router.push("/processCenter");
|
||||||
// this.processNum()
|
// this.processNum()
|
||||||
} else {
|
} else {
|
||||||
@@ -325,7 +326,8 @@ export default {
|
|||||||
this.turnLoading = false
|
this.turnLoading = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push("/processCenter")
|
// this.$router.push("/processCenter")
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
@@ -337,17 +339,17 @@ export default {
|
|||||||
},
|
},
|
||||||
// 点击查看
|
// 点击查看
|
||||||
handlePreview(item) {
|
handlePreview(item) {
|
||||||
let replaceStandInfoEO ={}
|
const replaceStandInfoEO ={}
|
||||||
replaceStandInfoEO.standNumber = item.standNumber
|
replaceStandInfoEO.standNumber = item.standNumber
|
||||||
this.$http.get('sarStandardsInfo/sar-standards-info/queryInfoByStandNum', replaceStandInfoEO, {
|
this.$http.get('sarStandardsInfo/sar-standards-info/queryInfoByStandNum', replaceStandInfoEO, {
|
||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
if (res.data != null) {
|
if (res.data != null) {
|
||||||
let routeUrl = this.$router.resolve({
|
const routeUrl = this.$router.resolve({
|
||||||
name: 'OtherStandardDetails',
|
name: 'OtherStandardDetails',
|
||||||
params: {
|
params: {
|
||||||
id: res.data.id,
|
id: res.data.id,
|
||||||
pageType:"INLAND_STAND"
|
pageType:'INLAND_STAND'
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
window.open(routeUrl.href, '_blank')
|
window.open(routeUrl.href, '_blank')
|
||||||
@@ -367,7 +369,7 @@ export default {
|
|||||||
},
|
},
|
||||||
//查询项目下的标准
|
//查询项目下的标准
|
||||||
getStandData() {
|
getStandData() {
|
||||||
this.$http.get("sarStandardsInfo/sar-standards-info/getSarStandardsInfoPage", {
|
this.$http.get('sarStandardsInfo/sar-standards-info/getSarStandardsInfoPage', {
|
||||||
standType: this.standardSearch.standType,
|
standType: this.standardSearch.standType,
|
||||||
standNumber: this.standardSearch.standNumber,
|
standNumber: this.standardSearch.standNumber,
|
||||||
page: this.pageNo,
|
page: this.pageNo,
|
||||||
@@ -378,11 +380,11 @@ export default {
|
|||||||
this.standardData = res.data.list;
|
this.standardData = res.data.list;
|
||||||
this.standardData.forEach(item => {
|
this.standardData.forEach(item => {
|
||||||
if (item.attrInfoMap === null) {
|
if (item.attrInfoMap === null) {
|
||||||
this.$set(item, "ZCCSSRQ", "");
|
this.$set(item, 'ZCCSSRQ', '');
|
||||||
this.$set(item, "XCXSSRQ", "");
|
this.$set(item, 'XCXSSRQ', '');
|
||||||
} else {
|
} else {
|
||||||
this.$set(item, "ZCCSSRQ", item.attrInfoMap.ZCCSSRQ);
|
this.$set(item, 'ZCCSSRQ', item.attrInfoMap.ZCCSSRQ);
|
||||||
this.$set(item, "XCXSSRQ", item.attrInfoMap.XCXSSRQ);
|
this.$set(item, 'XCXSSRQ', item.attrInfoMap.XCXSSRQ);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
this.totalNo = res.data.count;
|
this.totalNo = res.data.count;
|
||||||
@@ -390,12 +392,12 @@ export default {
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
processTable() {
|
processTable() {
|
||||||
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,
|
||||||
sortWord: this.shunxu ? this.paixu : "",
|
sortWord: this.shunxu ? this.paixu : '',
|
||||||
shunxu: this.shunxu
|
shunxu: this.shunxu
|
||||||
}, {
|
}, {
|
||||||
loading: "loading",
|
loading: 'loading',
|
||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
this.detailData = res;
|
this.detailData = res;
|
||||||
@@ -426,11 +428,11 @@ export default {
|
|||||||
console.log(item);
|
console.log(item);
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.listForm = JSON.parse(JSON.stringify(item));
|
this.listForm = JSON.parse(JSON.stringify(item));
|
||||||
let dataChildren = []
|
const dataChildren = []
|
||||||
let dataListChildren = []
|
let dataListChildren = []
|
||||||
this.listForm.prcNum = this.prcNum;
|
this.listForm.prcNum = this.prcNum;
|
||||||
this.listForm.prcName = this.prcName;
|
this.listForm.prcName = this.prcName;
|
||||||
this.listForm["id"] = item.id;
|
this.listForm['id'] = item.id;
|
||||||
this.dataList = item.dataList;
|
this.dataList = item.dataList;
|
||||||
this.dataList.forEach(item =>{
|
this.dataList.forEach(item =>{
|
||||||
if(item.children){
|
if(item.children){
|
||||||
@@ -442,11 +444,11 @@ export default {
|
|||||||
this.dataList.forEach(item => {
|
this.dataList.forEach(item => {
|
||||||
dataChildren.forEach(items =>{
|
dataChildren.forEach(items =>{
|
||||||
if (items.key === item.standId) {
|
if (items.key === item.standId) {
|
||||||
this.$set(items, "standName", item.standName);
|
this.$set(items, 'standName', item.standName);
|
||||||
this.$set(items, "standEnName", item.standEnName);
|
this.$set(items, 'standEnName', item.standEnName);
|
||||||
this.$set(items, "standYear", item.standYear);
|
this.$set(items, 'standYear', item.standYear);
|
||||||
this.$set(items, "standSort", item.standSort);
|
this.$set(items, 'standSort', item.standSort);
|
||||||
this.$set(items, "standNumber", item.standNumber);
|
this.$set(items, 'standNumber', item.standNumber);
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
@@ -454,7 +456,7 @@ export default {
|
|||||||
dataListChildren = dataListChildren.concat(item);
|
dataListChildren = dataListChildren.concat(item);
|
||||||
});
|
});
|
||||||
dataListChildren = this.dataList.concat(dataListChildren);
|
dataListChildren = this.dataList.concat(dataListChildren);
|
||||||
let newDataListChildren = []
|
const newDataListChildren = []
|
||||||
dataListChildren.forEach(item => {
|
dataListChildren.forEach(item => {
|
||||||
if(!item.people){
|
if(!item.people){
|
||||||
newDataListChildren.push(item)
|
newDataListChildren.push(item)
|
||||||
@@ -467,13 +469,13 @@ export default {
|
|||||||
//驳回事件
|
//驳回事件
|
||||||
beforeBack() {
|
beforeBack() {
|
||||||
if (!this.commentText) {
|
if (!this.commentText) {
|
||||||
this.$message.warning("请填写审批意见");
|
this.$message.warning('请填写审批意见');
|
||||||
} else {
|
} else {
|
||||||
this.listForm.dlFlag = "2";
|
this.listForm.dlFlag = '2';
|
||||||
this.listForm.commentText = this.commentText;
|
this.listForm.commentText = this.commentText;
|
||||||
const json = JSON.stringify(this.listForm);
|
const json = JSON.stringify(this.listForm);
|
||||||
this.isSubmit = true;
|
this.isSubmit = true;
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
taskIds: this.taskIds,
|
taskIds: this.taskIds,
|
||||||
userId: this.userId,
|
userId: this.userId,
|
||||||
json: json
|
json: json
|
||||||
@@ -483,7 +485,8 @@ export default {
|
|||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.$message.success(res.message);
|
this.$message.success(res.message);
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push("/processCenter");
|
// this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
this.isSubmit = false;
|
this.isSubmit = false;
|
||||||
@@ -497,7 +500,7 @@ export default {
|
|||||||
this.listForm.dataList = this.dataList
|
this.listForm.dataList = this.dataList
|
||||||
this.listForm.commentText = this.commentText;
|
this.listForm.commentText = this.commentText;
|
||||||
const json = JSON.stringify(this.listForm);
|
const json = JSON.stringify(this.listForm);
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
taskIds: this.taskIds,
|
taskIds: this.taskIds,
|
||||||
userId: this.userId,
|
userId: this.userId,
|
||||||
json: json
|
json: json
|
||||||
@@ -507,7 +510,8 @@ export default {
|
|||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.$message.success(res.message);
|
this.$message.success(res.message);
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
// this.$router.push("/processCenter");
|
// this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
this.isSubmit = false;
|
this.isSubmit = false;
|
||||||
@@ -521,7 +525,7 @@ export default {
|
|||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
listNoDataText() {
|
listNoDataText() {
|
||||||
return this.processType === 1 ? "暂无待办流程" : "暂无已办流程";
|
return this.processType === 1 ? '暂无待办流程' : '暂无已办流程';
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
|||||||
@@ -147,7 +147,8 @@ export default {
|
|||||||
this.drawerModal = false
|
this.drawerModal = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
}, 100)
|
}, 100)
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
|||||||
@@ -147,7 +147,8 @@ export default {
|
|||||||
this.drawerModal = false
|
this.drawerModal = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
|
this.$close()
|
||||||
}, 100)
|
}, 100)
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user