This commit is contained in:
zhutianqi
2021-07-26 17:12:50 +08:00
parent ef026e41fa
commit cc49ef4152
9 changed files with 68 additions and 12 deletions
@@ -84,7 +84,7 @@
ref="Form" ref="Form"
:model="roleForm" :model="roleForm"
:rules="roleFormRules" :rules="roleFormRules"
class="label-input-form"> class="label-input-form myForm">
<el-timeline-item timestamp="发起流程" placement="top" :color="roleForm.startUser ? '#66b1ff' : ''"> <el-timeline-item timestamp="发起流程" placement="top" :color="roleForm.startUser ? '#66b1ff' : ''">
<el-card> <el-card>
<el-form-item prop="startUserName" style="margin-bottom: 0"> <el-form-item prop="startUserName" style="margin-bottom: 0">
@@ -430,6 +430,11 @@
<style lang="less" scoped> <style lang="less" scoped>
@import '~@/assets/styles/style'; @import '~@/assets/styles/style';
.bzdyStep1-1 { .bzdyStep1-1 {
.myForm {
/deep/.el-form-item__content {
line-height: 10px;
}
}
/deep/.el-drawer__container { /deep/.el-drawer__container {
.prc-content-border { .prc-content-border {
border: none; border: none;
@@ -84,7 +84,7 @@
ref="Form" ref="Form"
:model="roleForm" :model="roleForm"
:rules="roleFormRules" :rules="roleFormRules"
class="label-input-form"> class="label-input-form myForm">
<el-timeline-item timestamp="发起流程" placement="top" :color="roleForm.startUser ? '#66b1ff' : ''"> <el-timeline-item timestamp="发起流程" placement="top" :color="roleForm.startUser ? '#66b1ff' : ''">
<el-card> <el-card>
<el-form-item prop="startUserName" style="margin-bottom: 0"> <el-form-item prop="startUserName" style="margin-bottom: 0">
@@ -419,6 +419,11 @@ export default {
<style lang="less" scoped> <style lang="less" scoped>
@import '~@/assets/styles/style'; @import '~@/assets/styles/style';
.bzdyStep1 { .bzdyStep1 {
.myForm {
/deep/.el-form-item__content {
line-height: 10px;
}
}
/deep/.el-drawer__container { /deep/.el-drawer__container {
.prc-content-border { .prc-content-border {
border: none; border: none;
@@ -78,7 +78,7 @@
ref="Form" ref="Form"
:model="roleForm" :model="roleForm"
:rules="roleFormRules" :rules="roleFormRules"
class="label-input-form"> class="label-input-form myForm">
<el-timeline-item timestamp="发起流程" placement="top" :color="roleForm.startUser ? '#66b1ff' : ''"> <el-timeline-item timestamp="发起流程" placement="top" :color="roleForm.startUser ? '#66b1ff' : ''">
<el-card> <el-card>
<el-form-item prop="startUserName" style="margin-bottom: 0"> <el-form-item prop="startUserName" style="margin-bottom: 0">
@@ -534,6 +534,11 @@ export default {
@import '~@/assets/styles/style'; @import '~@/assets/styles/style';
@import '~@/assets/styles/mixins'; @import '~@/assets/styles/mixins';
.bzzqyjStep1 { .bzzqyjStep1 {
.myForm {
/deep/.el-form-item__content {
line-height: 10px;
}
}
/deep/.el-drawer__container { /deep/.el-drawer__container {
.prc-content-border { .prc-content-border {
border: none; border: none;
@@ -355,7 +355,7 @@
this.form.endTime = data.endTime this.form.endTime = data.endTime
this.form.cname = data.cname this.form.cname = data.cname
this.json = data this.json = data
this.data = data.info this.data = data.info || []
}).catch(e => { }).catch(e => {
}) })
}) })
@@ -318,6 +318,7 @@
pId: this.pId pId: this.pId
}).then(res => { }).then(res => {
let data = JSON.parse(res.mesg) let data = JSON.parse(res.mesg)
console.log(data);
this.form.cid = data.cid this.form.cid = data.cid
this.form.endTime = data.endTime this.form.endTime = data.endTime
this.form.cname = data.cname this.form.cname = data.cname
@@ -270,11 +270,21 @@
chapterName : '章节名称', chapterName : '章节名称',
commentText: '修改意见内容(包括理由或依据)', commentText: '修改意见内容(包括理由或依据)',
department: '提出部门', department: '提出部门',
responUserName: '提出人' responUserName: '提出人',
stateText: '处理意见'
}, },
dataList: [] dataList: []
} }
params.dataList = row params.dataList = JSON.parse(JSON.stringify(row))
params.dataList.forEach(item => {
if (item.state === '1') {
item.stateText = '上报'
} else if (item.state === '2') {
item.stateText = '处理后上报'
} else {
item.stateText = '不上报'
}
})
this.$http.downloadFile('/api/lawss/activiti/export_excel', params, title, res => {}) this.$http.downloadFile('/api/lawss/activiti/export_excel', params, title, res => {})
}, },
handleTabs(name) { handleTabs(name) {
@@ -263,11 +263,21 @@
chapterName : '章节名称', chapterName : '章节名称',
commentText: '修改意见内容(包括理由或依据)', commentText: '修改意见内容(包括理由或依据)',
department: '提出部门', department: '提出部门',
responUserName: '提出人' responUserName: '提出人',
stateText: '处理意见'
}, },
dataList: [] dataList: []
} }
params.dataList = row params.dataList = JSON.parse(JSON.stringify(row))
params.dataList.forEach(item => {
if (item.state === '1') {
item.stateText = '上报'
} else if (item.state === '2') {
item.stateText = '处理后上报'
} else {
item.stateText = '不上报'
}
})
this.$http.downloadFile('/api/lawss/activiti/export_excel', params, title, res => {}) this.$http.downloadFile('/api/lawss/activiti/export_excel', params, title, res => {})
}, },
stateText (row) { stateText (row) {
@@ -263,11 +263,21 @@
chapterName : '章节名称', chapterName : '章节名称',
commentText: '修改意见内容(包括理由或依据)', commentText: '修改意见内容(包括理由或依据)',
department: '提出部门', department: '提出部门',
responUserName: '提出人' responUserName: '提出人',
stateText: '处理意见'
}, },
dataList: [] dataList: []
} }
params.dataList = row params.dataList = JSON.parse(JSON.stringify(row))
params.dataList.forEach(item => {
if (item.state === '1') {
item.stateText = '上报'
} else if (item.state === '2') {
item.stateText = '处理后上报'
} else {
item.stateText = '不上报'
}
})
this.$http.downloadFile('/api/lawss/activiti/export_excel', params, title, res => {}) this.$http.downloadFile('/api/lawss/activiti/export_excel', params, title, res => {})
}, },
stateText (row) { stateText (row) {
@@ -263,11 +263,21 @@
chapterName : '章节名称', chapterName : '章节名称',
commentText: '修改意见内容(包括理由或依据)', commentText: '修改意见内容(包括理由或依据)',
department: '提出部门', department: '提出部门',
responUserName: '提出人' responUserName: '提出人',
stateText: '处理意见'
}, },
dataList: [] dataList: []
} }
params.dataList = row params.dataList = JSON.parse(JSON.stringify(row))
params.dataList.forEach(item => {
if (item.state === '1') {
item.stateText = '上报'
} else if (item.state === '2') {
item.stateText = '处理后上报'
} else {
item.stateText = '不上报'
}
})
this.$http.downloadFile('/api/lawss/activiti/export_excel', params, title, res => {}) this.$http.downloadFile('/api/lawss/activiti/export_excel', params, title, res => {})
}, },
stateText (row) { stateText (row) {