Merge remote-tracking branch 'origin/develop' into develop

This commit is contained in:
yanyizhou
2021-11-05 10:03:03 +08:00
14 changed files with 582 additions and 286 deletions
+47 -14
View File
@@ -16,9 +16,9 @@
<el-menu <el-menu
unique-opened unique-opened
:default-active="defaultActive" :default-active="defaultActive"
background-color="#f00" background-color="#0068B7"
text-color="#fff" text-color="#fff"
active-text-color="#ff0" active-text-color="#000"
router router
:collapse="isCollapse" :collapse="isCollapse"
> >
@@ -91,12 +91,12 @@ export default {
title: '首页', title: '首页',
path: '/home2', path: '/home2',
isChildren: true, // 判断没有子菜单 isChildren: true, // 判断没有子菜单
'icon-class': 'home' 'icon-class': 'el-icon-s-home'
}, },
{ {
title: '标准法规库', title: '标准法规库',
path: '/regulatoryRepository', path: '/regulatoryRepository',
'icon-class': 'fagui', 'icon-class': 'el-icon-s-management',
menuId: '2ewfwfa', menuId: '2ewfwfa',
children: [ children: [
// { // {
@@ -180,10 +180,10 @@ export default {
path: '/nonConfomity', path: '/nonConfomity',
menuId: '0119abd677e0204e061eb0f0b8cafda0' menuId: '0119abd677e0204e061eb0f0b8cafda0'
}, },
// { {
// title: '工作组', title: '工作组',
// path: '/workingGroup', path: '/workingGroup',
// }, },
// { // {
// title: '备案产品标准库', // title: '备案产品标准库',
// path: '/enterpriseStandardFiling', // path: '/enterpriseStandardFiling',
@@ -204,7 +204,7 @@ export default {
{ {
title: '我的工作', title: '我的工作',
path: '/processCenter', path: '/processCenter',
'icon-class': 'liucheng', 'icon-class': 'el-icon-s-platform',
menuId: '3fadf', menuId: '3fadf',
children: [ children: [
{ {
@@ -222,7 +222,7 @@ export default {
{ {
title: '本地工具', title: '本地工具',
path: '/localTool', path: '/localTool',
'icon-class': 'tools', 'icon-class': 'el-icon-s-tools',
menuId: 'afsd12', menuId: 'afsd12',
children: [ children: [
// { // {
@@ -266,7 +266,7 @@ export default {
{ {
title: '标准预警', title: '标准预警',
path: '/standardWarning', path: '/standardWarning',
'icon-class': 'warning', 'icon-class': 'el-icon-warning',
menuId: 'asfdew33', menuId: 'asfdew33',
isChildren: true // 判断没有子菜单 isChildren: true // 判断没有子菜单
}, },
@@ -287,7 +287,7 @@ export default {
{ {
title: '配置管理', title: '配置管理',
path: '/config', path: '/config',
'icon-class': 'conf', 'icon-class': 'el-icon-s-operation',
menuId: 'adff323', menuId: 'adff323',
children: [ children: [
{ {
@@ -379,7 +379,7 @@ export default {
{ {
title: '个人中心', title: '个人中心',
path: '/personal', path: '/personal',
'icon-class': 'ucenter', 'icon-class': 'el-icon-s-check',
menuId: '32143ffasdf', menuId: '32143ffasdf',
children: [ children: [
// { // {
@@ -496,6 +496,18 @@ export default {
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
@import '~@/assets/styles/mixins'; @import '~@/assets/styles/mixins';
/deep/.el-menu--popup > div {
border-radius: 5px;
}
.el-menu--collapse {
.is-active {
background-color: #fff !important;
.shangqi-icon {
color: #0068B7 !important;
}
color: #0068B7 !important;
}
}
.nav-menu { .nav-menu {
width: 58px; width: 58px;
height: 100%; height: 100%;
@@ -565,10 +577,31 @@ export default {
top:-15px; top:-15px;
left:10px left:10px
} }
/*.el-menu--collapse {*/
/* .shangqi-icon {*/
/* color: #4091FF !important;*/
/* }*/
/* .is-active /deep/.shangqi-icon {*/
/* color: #4091FF !important;*/
/* }*/
/* /deep/.el-submenu__title i {*/
/* color: #fff;*/
/* }*/
/* /deep/.el-submenu__title i {*/
/* color: #fff;*/
/* }*/
/*}*/
.is-active /deep/.shangqi-icon {
color: #4091FF;
}
/deep/.el-submenu__title i {
color: #fff;
}
.nav-menu /deep/.el-submenu__title i { .nav-menu /deep/.el-submenu__title i {
color: #000; color: #fff;
} }
.nav-menu{ .nav-menu{
background-color: #4091FF;
scrollbar-width: none; scrollbar-width: none;
-ms-overflow-style: none; /* IE 10+ */ -ms-overflow-style: none; /* IE 10+ */
} }
+1
View File
@@ -64,6 +64,7 @@
height: 70px; height: 70px;
background: #fff; background: #fff;
border: 2px dashed #E4E4E4; border: 2px dashed #E4E4E4;
border-radius: 5px;
div { div {
width: 100%; width: 100%;
height: 100%; height: 100%;
+92 -84
View File
@@ -1,96 +1,104 @@
<!-- 尾部链接 --> <!-- 尾部链接 -->
<template> <template>
<div class="link"> <div class="link" id="link">
<div class="title">友情链接</div> <div>
<ul> <span class="title borderRight">友情链接</span>
<li class="myLi1" v-for="(link, index) in linkList" v-if="index<5" :key="index" @click="openLinkUrl(link.url)"> <span class="myLi1 borderRight" v-for="(link, index) in linkList" :key="index" @click="openLinkUrl(link.url)" :title="link.name" >
<a v-if="link.name.length>10" v-html="link.name.substring(0,10)+'...'" :title="link.name"></a> {{ link.name }}
<a v-else v-html="link.name" :title="link.name"></a> </span>
</li> <span class="myLi1" @click="$router.push('linkManage')">更多链接 </span>
<li class="myLi2"> </div>
<span @click="$router.push('linkManage')">更多链接 </span> </div>
</li>
</ul>
</div>
</template> </template>
<script> <script>
export default { export default {
name: 'Empennage', name: 'Empennage',
components: {}, components: {},
mixins: [], mixins: [],
data() { data() {
return { return {
linkList: [], linkList: [],
} width: ''
}, }
computed: {}, },
watch: {}, computed: {},
mounted() { watch: {
this.getLink(); width(val) {
}, console.log(val);
methods: { }
// 跳转链接 },
openLinkUrl (linkUri) { mounted() {
let getHttp = linkUri.substring(0, 7) this.getLink();
let getHttps = linkUri.substring(0, 8) this.width = document.getElementById("link").offsetWidth
if (getHttp === 'http://' || getHttps === 'https://') { let self = this
window.open(linkUri) this.screenWidth = document.body.clientWidth
} else { window.onresize = () => {
window.open('https://' + linkUri) return (() => {
} console.log(document.body.clientWidth);
}, })
// 获取链接数据 }
getLink () { },
this.$http.get('sarUrl/tsUrl', { methods: {
}, { // 跳转链接
_this: this, openLinkUrl (linkUri) {
loading: 'Loading' let getHttp = linkUri.substring(0, 7)
}, res=> { let getHttps = linkUri.substring(0, 8)
this.linkList = res.data if (getHttp === 'http://' || getHttps === 'https://') {
}) window.open(linkUri)
} } else {
}, window.open('https://' + linkUri)
}
},
// 获取链接数据
getLink () {
var width = document.getElementById("link").offsetWidth
this.$http.get('sarUrl/tsUrl', {
}, {
_this: this,
loading: 'Loading'
}, res=> {
let b = 0
let c = 0
for (let a = 0; a < res.data.length; a++) {
b += res.data[a].name.length * 14 + 100
if (b > width) {
c = a - 1
} else {
c = a
}
}
let list
list = res.data.slice(0, c)
this.linkList = list
})
}
},
} }
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
.link { .link {
display: flex; display: flex;
border-radius: 3px; border-radius: 3px;
height: 100%; height: 100%;
.title { align-items: center;
font-weight: bold; justify-content: space-around;
padding-left: 10px; .borderRight {
width: 80px; padding-right: 30px;
} margin-right: 30px;
ul { border-right: 2px dotted #aaa;
width: calc(~'100% - 80px'); }
display: flex; .title {
height: 100%; font-weight: bold;
text-align: center; padding-left: 10px;
user-select: none; width: 80px;
.myLi1 { }
border-right: 2px solid #f4f4f4; .myLi1 {
flex: 1; cursor: pointer;
a { color: #0068B7;
color: #333333; }
}
} }
.myLi1:hover {
background: #5ea9f6;
a {
color: #fff;
text-decoration: none;
}
}
.myLi2 {
padding: 0 10px;
cursor: pointer;
color: #5ea9f6 !important;
}
}
}
</style> </style>
@@ -16,36 +16,36 @@
<div class="content_form"> <div class="content_form">
<el-form ref="hh_pageData" :model="hh_pageData" :rules="hh_rules" label-width="120px"> <el-form ref="hh_pageData" :model="hh_pageData" :rules="hh_rules" label-width="120px">
<el-row> <el-row>
<el-col :span="5"> <el-col :span="8">
<el-form-item label="标委会:"> <el-form-item label="标委会:">
{{ hh_pageData.associaName || '-' }} {{ hh_pageData.associaName || '-' }}
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="5"> <el-col :span="8">
<el-form-item label="分标委:"> <el-form-item label="分标委:">
{{ hh_pageData.associaNameOne || '-' }} {{ hh_pageData.associaNameOne || '-' }}
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="5"> <el-col :span="8">
<el-form-item label="工作组:"> <el-form-item label="工作组:">
{{ hh_pageData.associaNameTwo || '-' }} {{ hh_pageData.associaNameTwo || '-' }}
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="5"> <el-col :span="8">
<el-form-item label="参会人:"> <el-form-item label="参会人:">
{{ hh_pageData.partPeople || '-' }} {{ hh_pageData.partPeople || '-' }}
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="5"> <el-col :span="8">
<el-form-item label="参会时间:"> <el-form-item label="参会时间:">
{{ hh_pageData.meetingStartTime || '-' }} {{ hh_pageData.meetingStartTime || '-' }}
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="5"> <el-col :span="8">
<el-form-item label="会议名称:"> <el-form-item label="会议名称:">
{{ hh_pageData.meetingName || '-' }} {{ hh_pageData.meetingName || '-' }}
</el-form-item> </el-form-item>
@@ -79,28 +79,12 @@
</el-table-column> </el-table-column>
<el-table-column prop="material" label="资料" align="center"> <el-table-column prop="material" label="资料" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<el-upload <el-button type="primary" size="mini" @click="uploadTable(scope.row)">点击上传</el-button>
:disabled="acceptShow"
multiple
ref="uploadFile"
:action="actionPath"
name="file"
:file-list="scope.row.fileTextList"
accept=".ZIP, .zip, .docx, .DOCX, .xls, .xlsx"
:before-upload="handleBeforeUpload"
:before-remove="handleBeforeRemove"
:on-success="handleOnsuccess"
>
<el-button type="primary" size="mini" @click="uploadTable(scope.row)">点击上传</el-button>
</el-upload>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
<div style="text-align: right">
<el-button type="primary" size="small" @click="otherAdd">添加(测试用)</el-button>
</div>
<el-table <el-table
:data="hh_pageData.themeTable" :data="hh_pageData.themeTable"
border border
@@ -110,27 +94,10 @@
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px', :header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
fontWeight: 'bold', height: '20px'}"> fontWeight: 'bold', height: '20px'}">
<el-table-column type="index" label="序号" align="center" width="50"/> <el-table-column type="index" label="序号" align="center" width="50"/>
<el-table-column label="议题" align="center" prop="meetingTheme"> <el-table-column label="议题" align="center" prop="meetingTheme"/>
<template slot-scope="scope">
<el-input v-model="scope.row.meetingTheme"></el-input>
</template>
</el-table-column>
<el-table-column label="资料" align="center" prop="meetingFile" width="200"> <el-table-column label="资料" align="center" prop="meetingFile" width="200">
<template slot-scope="scope"> <template slot-scope="scope">
<el-upload <el-button type="primary" size="mini" @click="uploadThemeTable(scope.row)">点击上传</el-button>
:action="actionPath"
:disabled="acceptShow"
multiple
ref="uploadThemeFile"
name="themeFile"
:file-list="scope.row.themeFileList"
accept=".ZIP, .zip, .docx, .DOCX, .xls, .xlsx"
:before-upload="beforeUploadTheme"
:before-remove="beforeRemoveTheme"
:on-success="onsuccessTheme"
>
<el-button type="primary" size="mini" @click="uploadThemeTable(scope.row)">点击上传</el-button>
</el-upload>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@@ -138,18 +105,17 @@
<el-form-item label="其他资料:" prop="otherFile"> <el-form-item label="其他资料:" prop="otherFile">
<el-upload <el-upload
:action="actionPath" :action="actionPath"
:disabled="acceptShow"
multiple multiple
style="width: 30%" style="width: 30%"
ref="uploadOtherFile" ref="uploadOtherFile"
name="otherFile" name="file"
:file-list="otherFileList" :file-list="upOtherData"
accept=".ZIP, .zip, .docx, .DOCX, .xls, .xlsx" accept=".ZIP, .zip, .docx, .DOCX, .xls, .xlsx"
:before-upload="beforeUploadOther" :before-upload="beforeUploadOther"
:before-remove="beforeRemoveOther" :before-remove="beforeRemoveOther"
:on-success="onsuccessOther" :on-success="onsuccessOther"
> >
<el-button type="primary" size="small" @click="otherBtn">点击上传</el-button> <el-button type="primary" size="small">点击上传</el-button>
</el-upload> </el-upload>
</el-form-item> </el-form-item>
</el-form> </el-form>
@@ -164,13 +130,13 @@
:model="roleForm" :model="roleForm"
:rules="roleFormRules" :rules="roleFormRules"
class="label-input-form"> class="label-input-form">
<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">
<h4>流程发起</h4> <h4>参会</h4>
<div style="margin-top: 10px;width: 300px;"> <div style="margin-top: 10px;width: 300px;">
<el-input v-model="roleForm.startUser" :disabled="true" style="display: none;"></el-input> <el-input v-model="roleForm.startUser" :disabled="true" style="display: none;"></el-input>
<el-input v-model="roleForm.startUserName" :disabled="true" placeholder="流程发起人"></el-input> <el-input v-model="roleForm.startUserName" :disabled="true" placeholder="参会人"></el-input>
</div> </div>
</el-form-item> </el-form-item>
</el-card> </el-card>
@@ -207,6 +173,48 @@
:nodeList="nodeListOne" :nodeList="nodeListOne"
@checkedRole="drawerCheckOne" @checkedRole="drawerCheckOne"
/> />
<!-- 标准号table上传弹框 -->
<el-dialog
:visible.sync="upDialog"
width="30%"
:before-close="handleClose">
<el-upload
:disabled="acceptShow"
multiple
ref="uploadFile"
:action="actionPath"
name="file"
:file-list="reData"
accept=".ZIP, .zip, .docx, .DOCX, .xls, .xlsx"
:before-upload="handleBeforeUpload"
:before-remove="handleBeforeRemove"
:on-success="handleOnsuccess"
>
<i class="el-icon-upload"></i>
<div class="el-upload__text">将文件拖到此处<em style="color: #0c91e5">点击上传</em></div>
</el-upload>
</el-dialog>
<!-- 议题table上传弹框 -->
<el-dialog
:visible.sync="upThemeDialog"
width="30%"
:before-close="handleClose">
<el-upload
:disabled="acceptShow"
multiple
ref="uploadFile"
:action="actionPath"
name="file"
:file-list="themeData"
accept=".ZIP, .zip, .docx, .DOCX, .xls, .xlsx"
:before-upload="beforeUploadTheme"
:before-remove="beforeRemoveTheme"
:on-success="onsuccessTheme"
>
<i class="el-icon-upload"></i>
<div class="el-upload__text">将文件拖到此处<em style="color: #0c91e5">点击上传</em></div>
</el-upload>
</el-dialog>
</div> </div>
</template> </template>
@@ -214,7 +222,8 @@
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 {startProcess, saveTaskFirst, completeTask, queryTaskFirst, inboundLiaisonDetail} from '@/api/process.js' import { saveTaskFirst, completeTask, inboundLiaisonDetail} from '@/api/process.js'
export default { export default {
components: { components: {
ProcessHeader, ProcessHeader,
@@ -237,6 +246,7 @@ export default {
partPeople: '', partPeople: '',
standardTable: [], standardTable: [],
themeTable: [], themeTable: [],
otherFileList: [],
}, },
hh_rules: {}, hh_rules: {},
deleteDataList: [], deleteDataList: [],
@@ -246,15 +256,13 @@ export default {
nodeListOne: [], nodeListOne: [],
// 上传文件储存 // 上传文件储存
fileTextList: [], reData: [],
newDataList: [],
themeFileList: [], themeData: [],
newThemeFile: [],
otherFileList: [], upOtherData: [],
newOtherFile: [],
unqualidiedData: [],
roleForm: { roleForm: {
startUserName: this.$store.getters.userInfo.userName, startUserName: this.$store.getters.userInfo.userName,
startUser: this.$store.getters.userInfo.userId, startUser: this.$store.getters.userInfo.userId,
@@ -263,6 +271,8 @@ export default {
}, },
roleFormRules: {}, roleFormRules: {},
upDialog: false,
upThemeDialog: false,
isSubmit: false, isSubmit: false,
saveLoading: false saveLoading: false
} }
@@ -283,30 +293,36 @@ export default {
} }
inboundLiaisonDetail(params).then(res => { inboundLiaisonDetail(params).then(res => {
const processForm = JSON.parse(res.mesg) const processForm = JSON.parse(res.mesg)
let commitStatus = res.commitStatus
if(commitStatus && commitStatus > 0){
this.acceptShow = true
this.submitShow = false
}else {
this.acceptShow = false
this.submitShow = true
}
this.todoId = res.id
this.getFormFieldList(processForm) this.getFormFieldList(processForm)
}) })
}, },
getFormFieldList (item) { getFormFieldList(item) {
this.$nextTick(() => { this.$nextTick(() => {
let listJSON = JSON.parse(JSON.stringify(item)).hh_pageData let formList = JSON.parse(JSON.stringify(item)).ch_pageData
if (formList === undefined) {
this.hh_pageData = JSON.parse(JSON.stringify(item)).hh_pageData
this.upOtherData = this.hh_pageData.otherFileList
} else {
this.hh_pageData.associaName = formList.associaName
this.hh_pageData.associaNameOne = formList.associaNameOne
this.hh_pageData.associaNameTwo = formList.associaNameTwo
this.hh_pageData.meetingStartTime = formList.meetingStartTime
this.hh_pageData.meetingName = formList.meetingName
this.hh_pageData.themeTable = formList.meetingTable
this.hh_pageData.themeTable.forEach(item=>{
this.$set(item,'meetingFile','')
})
this.hh_pageData.partPeople = this.$store.getters.userInfo.userName
}
}) })
}, },
// 添加按钮 // 添加按钮
table_add() { table_add() {
var list = { var list = {
standardId: this.standardId, standardId: this.standardId = '',
standardName: this.standardName, standardName: this.standardName = '',
material: this.material, material: this.material = [],
} }
this.hh_pageData.standardTable.push(list) this.hh_pageData.standardTable.push(list)
}, },
@@ -341,39 +357,36 @@ export default {
} }
}, },
otherAdd() {
var list = {
meetingTheme: this.meetingTheme,
meetingFile: this.meetingFile,
}
this.hh_pageData.themeTable.push(list)
},
/** 标准号的表格上传 */ /** 标准号的表格上传 */
// 标准号的表格上传按钮 // 标准号的表格上传按钮
uploadTable(val) { uploadTable(val) {
this.fileListData = val this.fileListData = val
this.reData = this.fileListData.material
this.upDialog = true
}, },
// 文件上传成功 // 文件上传成功
handleOnsuccess(res, file, fileList) { handleOnsuccess(res, file, fileList) {
if (res.ok) { if (res.ok) {
if (this.fileTextList !== null) { if (this.reData !== undefined) {
this.newDataList = this.fileTextList this.newDataList = this.reData
this.newDataList.push({ this.newDataList.push({
id: res.data.attId, id: res.data.attId,
name: res.data.standName name: res.data.standName
}) })
} else { } else {
this.newDataList.push({ this.newDataList.push({
id: res.data.attId, id: res.data.attId,
name: res.data.standName name: res.data.standName
}) })
} }
this.fileListData.fileText = this.newDataList
this.fileListData.material = this.newDataList
this.$message({ this.$message({
showClose: true, showClose: true,
message: res.message, message: res.message,
type: 'success' type: 'success'
}) })
this.newDataList = []
this.fileMadel = false this.fileMadel = false
} }
}, },
@@ -404,12 +417,16 @@ export default {
}, },
// 移除上传的文件 // 移除上传的文件
handleBeforeRemove(file, fileList) { handleBeforeRemove(file, fileList) {
this.fileData = fileList this.reData.forEach((item, index) => {
this.fileTextList.forEach((item, index) => { if (item.name === file.name || item.id === file.id) {
if (item.name === file.name || item.id === file.id ) { this.reData.splice(index, 1)
this.fileTextList.splice(index,1)
} }
}) })
this.fileListData.material = this.reData
},
handleClose() {
this.upDialog = false
this.upThemeDialog = false
}, },
@@ -417,28 +434,32 @@ export default {
// 议题列表资料上传按钮 // 议题列表资料上传按钮
uploadThemeTable(val) { uploadThemeTable(val) {
this.themeDataList = val this.themeDataList = val
this.upThemeDialog = this.themeDataList.meetingFile
this.upThemeDialog = true
}, },
// 文件上传成功 // 文件上传成功
onsuccessTheme(res, file, fileList) { onsuccessTheme(res, file, fileList) {
if (res.ok) { if (res.ok) {
if (this.themeFileList !== null) { if (this.themeData !== null) {
this.newThemeFile = this.themeFileList this.newThemeFile = this.themeData
this.newThemeFile.push({ this.newThemeFile.push({
id: res.data.attId, id: res.data.attId,
name: res.data.standName name: res.data.standName
}) })
} else { } else {
this.newThemeFile.push({ this.newDataList.push({
id: res.data.attId, id: res.data.attId,
name: res.data.standName name: res.data.standName
}) })
} }
this.themeDataList.fileText = this.newThemeFile this.themeDataList.meetingFile = this.newThemeFile
this.$message({ this.$message({
showClose: true, showClose: true,
message: res.message, message: res.message,
type: 'success' type: 'success'
}) })
this.newThemeFile = []
this.fileMadel = false this.fileMadel = false
} }
}, },
@@ -469,24 +490,20 @@ export default {
}, },
// 移除上传的文件 // 移除上传的文件
beforeRemoveTheme(file, fileList) { beforeRemoveTheme(file, fileList) {
this.fileData = fileList this.themeData.forEach((item, index) => {
this.themeFileList.forEach((item, index) => { if (item.name === file.name || item.id === file.id) {
if (item.name === file.name || item.id === file.id ) { this.themeData.splice(index, 1)
this.themeFileList.splice(index,1)
} }
}) })
this.themeDataList.meetingFile = this.themeData
}, },
/** 其他资料上传 */ /** 其他资料上传 */
// 其他资料上传按钮
otherBtn(val) {
this.otherDataList = val
},
// 文件上传成功 // 文件上传成功
onsuccessOther(res, file, fileList) { onsuccessOther(res, file, fileList) {
if (res.ok) { if (res.ok) {
if (this.otherFileList !== null) { if (this.hh_pageData.otherFileList !== null) {
this.newOtherFile = this.otherFileList this.newOtherFile = this.hh_pageData.otherFileList
this.newOtherFile.push({ this.newOtherFile.push({
id: res.data.attId, id: res.data.attId,
name: res.data.standName name: res.data.standName
@@ -497,7 +514,7 @@ export default {
name: res.data.standName name: res.data.standName
}) })
} }
this.otherDataList.fileText = this.newOtherFile this.hh_pageData.otherFileList = this.newOtherFile
this.$message({ this.$message({
showClose: true, showClose: true,
message: res.message, message: res.message,
@@ -533,12 +550,12 @@ export default {
}, },
// 移除上传的文件 // 移除上传的文件
beforeRemoveOther(file, fileList) { beforeRemoveOther(file, fileList) {
this.fileData = fileList this.upOtherData.forEach((item, index) => {
this.otherFileList.forEach((item, index) => { if (item.name === file.name || item.id === file.id) {
if (item.name === file.name || item.id === file.id ) { this.upOtherData.splice(index, 1)
this.otherFileList.splice(index,1)
} }
}) })
this.hh_pageData.otherFileList = this.upOtherData
}, },
/** 法规工程师选择 */ /** 法规工程师选择 */
@@ -567,7 +584,7 @@ export default {
_formData.append('id', this.bpnId || '') _formData.append('id', this.bpnId || '')
_formData.append('createUser', this.$store.getters.userInfo.userId) _formData.append('createUser', this.$store.getters.userInfo.userId)
_formData.append('createUserName', this.$store.getters.userInfo.userName) _formData.append('createUserName', this.$store.getters.userInfo.userName)
_formData.append('prcType', '20') _formData.append('prcType', '22')
_formData.append('json', JSON.stringify({ _formData.append('json', JSON.stringify({
roleForm: this.roleForm, roleForm: this.roleForm,
hh_pageData: this.hh_pageData hh_pageData: this.hh_pageData
@@ -583,32 +600,24 @@ export default {
/** 提交按钮*/ /** 提交按钮*/
handleSubmit() { handleSubmit() {
let json = { let json = {
prcCreateUser: this.$store.getters.userInfo.userId,
prcCreateUserName: this.$store.getters.userInfo.userName,
hh_pageData: this.hh_pageData, hh_pageData: this.hh_pageData,
director: this.roleForm.engineerUserId, // director: this.roleForm.engineerUserId,
} }
this.$refs['hh_pageData'].validate((valid) => { this.$refs['hh_pageData'].validate((valid) => {
if (valid) { if (valid) {
this.$refs['roleForm'].validate((valid) => { this.$refs['roleForm'].validate((valid) => {
if (valid) { if (valid) {
this.isSubmit = true this.isSubmit = true
const paramsInfo = { const params = new FormData();
type: '22' params.set('json', JSON.stringify(json))
} params.set('userId', this.$store.getters.userInfo.userId)
startProcess(paramsInfo).then(res => { params.set('taskId', this.taskIds)
this.taskID = res.data completeTask(params).then(res => {
const params = new FormData(); if (res.success === true) {
params.set('json', JSON.stringify(json)) this.$message.success('提交成功')
params.set('userId', this.$store.getters.userInfo.userId) this.$router.push("/processCenter");
params.set('taskId', this.taskID) }
completeTask(params).then(res => { this.isSubmit = false
if (res.success === true) {
this.$message.success('提交成功')
this.$router.push("/processCenter");
}
this.isSubmit = false
})
}) })
} }
}) })
@@ -684,16 +693,33 @@ export default {
} }
} }
/deep/ .el-dialog__body {
padding-top: 0;
text-align: center;
.el-upload-list__item:first-child {
margin-top: 20px;
}
.el-icon-upload:before {
font-size: 60px;
color: #7EC4CC;
}
}
.content_form { .content_form {
/deep/ .el-table__body-wrapper { /deep/ .el-table__body-wrapper {
height: auto !important; height: auto !important;
} }
/deep/ .el-table th { /deep/ .el-table th {
padding: 0px; padding: 0px;
} }
/deep/ .el-input__inner { /deep/ .el-input__inner {
text-align: center; text-align: center;
} }
.table_btn { .table_btn {
text-align: right;; text-align: right;;
} }
@@ -1,5 +1,5 @@
<template> <template>
<div class="bzhhStep1"> <div class="bzhhStep2">
<ProcessHeader toggle> <ProcessHeader toggle>
<template slot="proName">外部标准化会后管理流程</template> <template slot="proName">外部标准化会后管理流程</template>
<template slot="proNode">审批</template> <template slot="proNode">审批</template>
@@ -16,36 +16,36 @@
<div class="content_form"> <div class="content_form">
<el-form ref="hh_pageData" :model="hh_pageData" :rules="hh_rules" label-width="120px"> <el-form ref="hh_pageData" :model="hh_pageData" :rules="hh_rules" label-width="120px">
<el-row> <el-row>
<el-col :span="5"> <el-col :span="8">
<el-form-item label="标委会:"> <el-form-item label="标委会:">
{{ hh_pageData.associaName || '-' }} {{ hh_pageData.associaName || '-' }}
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="5"> <el-col :span="8">
<el-form-item label="分标委:"> <el-form-item label="分标委:">
{{ hh_pageData.associaNameOne || '-' }} {{ hh_pageData.associaNameOne || '-' }}
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="5"> <el-col :span="8">
<el-form-item label="工作组:"> <el-form-item label="工作组:">
{{ hh_pageData.associaNameTwo || '-' }} {{ hh_pageData.associaNameTwo || '-' }}
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="5"> <el-col :span="8">
<el-form-item label="参会人:"> <el-form-item label="参会人:">
{{ hh_pageData.partPeople || '-' }} {{ hh_pageData.partPeople || '-' }}
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="5"> <el-col :span="8">
<el-form-item label="参会时间:"> <el-form-item label="参会时间:">
{{ hh_pageData.meetingStartTime || '-' }} {{ hh_pageData.meetingStartTime || '-' }}
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="5"> <el-col :span="8">
<el-form-item label="会议名称:"> <el-form-item label="会议名称:">
{{ hh_pageData.meetingName || '-' }} {{ hh_pageData.meetingName || '-' }}
</el-form-item> </el-form-item>
@@ -66,12 +66,7 @@
<el-table-column prop="standardName" label="标准名称" align="center"/> <el-table-column prop="standardName" label="标准名称" align="center"/>
<el-table-column prop="material" label="资料" align="center"> <el-table-column prop="material" label="资料" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<el-upload <el-button size="mini" type="primary" @click="materialBtn(scope.row)">查看</el-button>
:action="actionPath"
name="file"
:file-list="scope.row.fileTextList"
>
</el-upload>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@@ -89,21 +84,16 @@
<el-table-column label="议题" align="center" prop="meetingTheme"></el-table-column> <el-table-column label="议题" align="center" prop="meetingTheme"></el-table-column>
<el-table-column label="资料" align="center" prop="meetingFile"> <el-table-column label="资料" align="center" prop="meetingFile">
<template slot-scope="scope"> <template slot-scope="scope">
<el-upload <el-button type="primary" size="mini" @click="meetingFileBtn(scope.row)">查看</el-button>
:action="''"
name="themeFile"
:file-list="scope.row.themeFileList"
:on-preview="onPreviewTheme(scope.row)"
/>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
</el-form-item> </el-form-item>
<el-form-item label="其他资料:" prop="otherFile"> <el-form-item label="其他资料:" prop="otherFile">
<el-upload <el-upload
:action="actionPath" :action="''"
name="otherFile" name="name"
:file-list="otherFileList" :file-list="otherFile"
:on-preview="onPreviewOther" :on-preview="onPreviewOther"
> >
</el-upload> </el-upload>
@@ -192,6 +182,39 @@
<loading :loading="loading">流程列表加载中</loading> <loading :loading="loading">流程列表加载中</loading>
</div> </div>
</div> </div>
<ProcessFooter
show-back
show-submit
:submitLoading="isSubmit"
:isSubmitBack="isBack"
@back="handleSubmitNo"
@submit="handleSubmit"
/>
<el-dialog
:visible.sync="materialDialog"
width="30%"
:before-close="handleClose">
<el-upload
:action="''"
name="file"
:file-list="fileTextList"
:on-preview="handleOnPreview"
>
</el-upload>
</el-dialog>
<el-dialog
:visible.sync="meetingFileDialog"
width="30%"
:before-close="handleClose">
<el-upload
:action="''"
name="file"
:file-list="themeFileList"
:on-preview="onPreviewTheme"
>
</el-upload>
</el-dialog>
</div> </div>
</template> </template>
@@ -213,6 +236,7 @@ export default {
actionPath: 'api/att/attFile/upload', actionPath: 'api/att/attFile/upload',
acceptShow: false, acceptShow: false,
active: '1', active: '1',
loading: false,
hh_pageData: { hh_pageData: {
associaName: '', associaName: '',
associaNameOne: '', associaNameOne: '',
@@ -227,10 +251,17 @@ export default {
fileTextList: [], fileTextList: [],
themeFileList: [], themeFileList: [],
otherFileList: [], otherFile: [],
materialDialog: false,
meetingFileDialog: false,
hh_rules: {}, hh_rules: {},
detailData: [], detailData: [],
isBack: false,
isSubmit: false,
taskIds: this.$route.query.taskIds,
pId: this.$route.query.prcId,
} }
}, },
computed: { computed: {
@@ -275,11 +306,24 @@ export default {
getFormFieldList(item) { getFormFieldList(item) {
this.$nextTick(() => { this.$nextTick(() => {
this.hh_pageData = JSON.parse(JSON.stringify(item)).hh_pageData this.hh_pageData = JSON.parse(JSON.stringify(item)).hh_pageData
this.roleForm = JSON.parse(JSON.stringify(item)).roleList this.otherFile = this.hh_pageData.otherFileList
// this.rh_pageData.comityFileNum = this.fileTextList
}) })
}, },
/** 标准号列表查看按钮 */
materialBtn(val) {
this.fileTextList = val.material
this.materialDialog = true
},
/** 议题列表查看按钮 */
meetingFileBtn(val) {
this.themeFileList = val.material
this.meetingFileDialog = true
},
handleClose() {
this.materialDialog = false
this.meetingFileDialog = false
},
// 点击上传的文件进行下载 // 点击上传的文件进行下载
handleOnPreview(file) { handleOnPreview(file) {
let attId = file.id let attId = file.id
@@ -302,6 +346,55 @@ export default {
} }
}, },
// 退回按钮
handleSubmitNo() {
let json = {
passFlag: '0',
commentText: this.commentText,
hh_pageData: this.hh_pageData,
}
this.$refs['hh_pageData'].validate((valid) => {
if (valid) {
this.isBack = true
const params = new FormData();
params.set('json', JSON.stringify(json))
params.set('userId', this.$store.getters.userInfo.userId)
params.set('taskId', this.taskIds)
completeTask(params).then(res => {
if (res.success === true) {
this.$message.success('退回成功')
this.$router.push("/processCenter");
}
this.isBack = false
});
}
})
},
// 提交按钮
handleSubmit() {
let json = {
passFlag: '1',
commentText: this.commentText,
ch_pageData: this.ch_pageData,
}
this.$refs['hh_pageData'].validate((valid) => {
if (valid) {
this.isSubmit = true
const params = new FormData();
params.set('json', JSON.stringify(json))
params.set('userId', this.$store.getters.userInfo.userId)
params.set('taskId', this.taskIds)
completeTask(params).then(res => {
if (res.success === true) {
this.$message.success('提交成功')
this.$router.push("/processCenter");
}
this.isSubmit = false
});
}
})
}
} }
} }
</script> </script>
@@ -380,6 +473,21 @@ export default {
/deep/ .el-input__inner { /deep/ .el-input__inner {
text-align: center; text-align: center;
} }
/deep/.el-upload {
display: unset;
}
/deep/.el-upload-list__item-status-label {
font-size: 0;
}
/deep/.el-upload-list__item {
.el-icon-close {
font-size: 0;
}
.el-icon-close-tip {
font-size: 0;
}
}
.table_btn { .table_btn {
text-align: right;; text-align: right;;
} }
@@ -40,7 +40,7 @@
v-for="item in associaNameOptions" v-for="item in associaNameOptions"
:key="item.value" :key="item.value"
:label="item.label" :label="item.label"
:value="item.value"/> :value="item.label"/>
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
@@ -53,7 +53,7 @@
v-for="item in associaNameOptions" v-for="item in associaNameOptions"
:key="item.value" :key="item.value"
:label="item.label" :label="item.label"
:value="item.value"/> :value="item.label"/>
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
@@ -66,7 +66,7 @@
v-for="item in associaNameOptions" v-for="item in associaNameOptions"
:key="item.value" :key="item.value"
:label="item.label" :label="item.label"
:value="item.value"/> :value="item.label"/>
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
@@ -77,6 +77,7 @@
<el-date-picker <el-date-picker
v-model="ch_pageData.meetingStartTime" v-model="ch_pageData.meetingStartTime"
type="datetime" type="datetime"
value-format="yyyy-MM-dd HH:mm:ss"
placeholder="选择日期时间" placeholder="选择日期时间"
align="right"> align="right">
</el-date-picker> </el-date-picker>
@@ -103,7 +104,7 @@
v-for="item in feeKindOptions" v-for="item in feeKindOptions"
:key="item.value" :key="item.value"
:label="item.label" :label="item.label"
:value="item.value"/> :value="item.label"/>
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
@@ -112,14 +113,14 @@
<el-col :span="8"> <el-col :span="8">
<el-form-item label="上传附件:" prop="uploadFile"> <el-form-item label="上传附件:" prop="uploadFile">
<el-upload <el-upload
style="width: 30%" style="width: 70%"
class="upload_style" class="upload_style"
:disabled="acceptShow" :disabled="acceptShow"
multiple multiple
ref="uploadFile" ref="uploadFile"
:action="uploadPath" :action="uploadPath"
name="file" name="file"
:file-list="fileTextList" :file-list="ch_pageData.fileTextList"
accept=".ZIP, .zip, .docx, .DOCX, .xls, .xlsx" accept=".ZIP, .zip, .docx, .DOCX, .xls, .xlsx"
:before-upload="handleBeforeUpload" :before-upload="handleBeforeUpload"
:before-remove="handleBeforeRemove" :before-remove="handleBeforeRemove"
@@ -129,7 +130,6 @@
:disabled="acceptShow" :disabled="acceptShow"
type="primary" type="primary"
class="common-button-primary" class="common-button-primary"
@click="uploadFile"
size="mini"> size="mini">
点击上传 点击上传
</el-button> </el-button>
@@ -345,6 +345,7 @@ export default {
uploadFile: '', uploadFile: '',
sort: '1', sort: '1',
meetingTable: [], meetingTable: [],
fileTextList: [],
}, },
associaNameOptions: [ associaNameOptions: [
{value: '0', label: '国内法规入库流程'}, {value: '0', label: '国内法规入库流程'},
@@ -361,7 +362,6 @@ export default {
// 上传路径 // 上传路径
uploadPath: 'api/att/attFile/upload', uploadPath: 'api/att/attFile/upload',
// 上传所储存文件数组 // 上传所储存文件数组
fileTextList: [],
newDataList: [], newDataList: [],
ch_rules: {}, ch_rules: {},
@@ -398,9 +398,9 @@ export default {
}, },
//上传按钮 //上传按钮
uploadFile(val) { /* uploadFile(val) {
this.fileListData = val this.fileListData = val
}, },*/
// 文件上传限制条件 // 文件上传限制条件
handleBeforeUpload(file) { handleBeforeUpload(file) {
var filename = file.name var filename = file.name
@@ -429,17 +429,17 @@ export default {
// 移除上传的文件 // 移除上传的文件
handleBeforeRemove(file, fileList) { handleBeforeRemove(file, fileList) {
this.fileData = fileList this.fileData = fileList
this.fileTextList.forEach((item, index) => { this.ch_pageData.fileTextList.forEach((item, index) => {
if (item.name === file.name || item.id === file.id) { if (item.name === file.name || item.id === file.id) {
this.fileTextList.splice(index, 1) this.ch_pageData.fileTextList.splice(index, 1)
} }
}) })
}, },
// 文件上传成功 // 文件上传成功
handleOnsuccess(res, file, fileList) { handleOnsuccess(res, file, fileList) {
if (res.ok) { if (res.ok) {
if (this.fileTextList !== null) { if (this.ch_pageData.fileTextList !== null) {
this.newDataList = this.fileTextList this.newDataList = this.ch_pageData.fileTextList
this.newDataList.push({ this.newDataList.push({
id: res.data.attId, id: res.data.attId,
name: res.data.standName name: res.data.standName
@@ -450,7 +450,7 @@ export default {
name: res.data.standName name: res.data.standName
}) })
} }
this.rh_pageData.infoSources = this.newDataList this.ch_pageData.fileTextList = this.newDataList
this.$message({ this.$message({
showClose: true, showClose: true,
message: res.message, message: res.message,
@@ -14,7 +14,7 @@
<template slot="title">基础信息</template> <template slot="title">基础信息</template>
</ProcessTitle> </ProcessTitle>
<div class="content_form"> <div class="content_form">
<el-form ref="ch_pageData" :model="ch_pageData" :rules="ch_rules" label-width="150px"> <el-form ref="ch_pageData" :model="ch_pageData" :rules="ch_rules" label-width="120px">
<el-row :gutter="24"> <el-row :gutter="24">
<el-col :span="8"> <el-col :span="8">
<el-form-item label="会议名称:"> <el-form-item label="会议名称:">
@@ -59,7 +59,12 @@
</el-col> </el-col>
<el-col :span="8"> <el-col :span="8">
<el-form-item label="上传附件:" prop="uploadFile"> <el-form-item label="上传附件:" prop="uploadFile">
<i></i> <el-upload
action=""
name="file"
:disabled="acceptShow"
:file-list="ch_pageData.fileTextList"
/>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
@@ -208,6 +213,7 @@ export default {
return { return {
active: '1', active: '1',
acceptShow: false,
ch_pageData: {}, ch_pageData: {},
ch_rules: {}, ch_rules: {},
nodeList: [], nodeList: [],
@@ -397,6 +403,20 @@ export default {
/deep/.el-textarea__inner { /deep/.el-textarea__inner {
font-family: inherit; font-family: inherit;
} }
/deep/.el-upload {
display: unset;
}
/deep/.el-upload-list__item-status-label {
font-size: 0;
}
/deep/.el-upload-list__item {
.el-icon-close {
font-size: 0;
}
.el-icon-close-tip {
font-size: 0;
}
}
/deep/.el-table th { /deep/.el-table th {
padding: 0px; padding: 0px;
} }
@@ -14,7 +14,7 @@
<template slot="title">基础信息</template> <template slot="title">基础信息</template>
</ProcessTitle> </ProcessTitle>
<div class="content_form"> <div class="content_form">
<el-form ref="ch_pageData" :model="ch_pageData" :rules="ch_rules" label-width="150px"> <el-form ref="ch_pageData" :model="ch_pageData" :rules="ch_rules" label-width="120px">
<el-row :gutter="24"> <el-row :gutter="24">
<el-col :span="8"> <el-col :span="8">
<el-form-item label="会议名称:"> <el-form-item label="会议名称:">
@@ -59,7 +59,11 @@
</el-col> </el-col>
<el-col :span="8"> <el-col :span="8">
<el-form-item label="上传附件:" prop="uploadFile"> <el-form-item label="上传附件:" prop="uploadFile">
<i></i> <el-upload
action=""
name="file"
:file-list="ch_pageData.fileTextList"
/>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
@@ -476,6 +480,21 @@ export default {
font-family: inherit; font-family: inherit;
} }
/deep/.el-upload {
display: unset;
}
/deep/.el-upload-list__item-status-label {
font-size: 0;
}
/deep/.el-upload-list__item {
.el-icon-close {
font-size: 0;
}
.el-icon-close-tip {
font-size: 0;
}
}
/deep/ .el-table th { /deep/ .el-table th {
padding: 0px; padding: 0px;
} }
@@ -14,7 +14,7 @@
<template slot="title">基础信息</template> <template slot="title">基础信息</template>
</ProcessTitle> </ProcessTitle>
<div class="content_form"> <div class="content_form">
<el-form ref="ch_pageData" :model="ch_pageData" :rules="ch_rules" label-width="150px"> <el-form ref="ch_pageData" :model="ch_pageData" :rules="ch_rules" label-width="120px">
<el-row :gutter="24"> <el-row :gutter="24">
<el-col :span="8"> <el-col :span="8">
<el-form-item label="会议名称:"> <el-form-item label="会议名称:">
@@ -59,7 +59,11 @@
</el-col> </el-col>
<el-col :span="8"> <el-col :span="8">
<el-form-item label="上传附件:" prop="uploadFile"> <el-form-item label="上传附件:" prop="uploadFile">
<i/> <el-upload
action=""
name="file"
:file-list="ch_pageData.fileTextList"
/>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
@@ -413,6 +417,21 @@ export default {
/deep/.el-textarea__inner { /deep/.el-textarea__inner {
font-family: inherit; font-family: inherit;
} }
/deep/.el-upload {
display: unset;
}
/deep/.el-upload-list__item-status-label {
font-size: 0;
}
/deep/.el-upload-list__item {
.el-icon-close {
font-size: 0;
}
.el-icon-close-tip {
font-size: 0;
}
}
/deep/.el-table th { /deep/.el-table th {
padding: 0px; padding: 0px;
} }
@@ -14,7 +14,7 @@
<template slot="title">基础信息</template> <template slot="title">基础信息</template>
</ProcessTitle> </ProcessTitle>
<div class="content_form"> <div class="content_form">
<el-form ref="ch_pageData" :model="ch_pageData" :rules="ch_rules" label-width="150px"> <el-form ref="ch_pageData" :model="ch_pageData" :rules="ch_rules" label-width="120px">
<el-row :gutter="24"> <el-row :gutter="24">
<el-col :span="8"> <el-col :span="8">
<el-form-item label="会议名称:"> <el-form-item label="会议名称:">
@@ -59,7 +59,11 @@
</el-col> </el-col>
<el-col :span="8"> <el-col :span="8">
<el-form-item label="上传附件:" prop="uploadFile"> <el-form-item label="上传附件:" prop="uploadFile">
<i/> <el-upload
action=""
name="file"
:file-list="ch_pageData.fileTextList"
/>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
@@ -422,6 +426,21 @@ export default {
/deep/.el-table th { /deep/.el-table th {
padding: 0px; padding: 0px;
} }
/deep/.el-upload {
display: unset;
}
/deep/.el-upload-list__item-status-label {
font-size: 0;
}
/deep/.el-upload-list__item {
.el-icon-close {
font-size: 0;
}
.el-icon-close-tip {
font-size: 0;
}
}
.myPart_btn { .myPart_btn {
text-align: right; text-align: right;
} }
@@ -17,7 +17,7 @@
<template slot="title">基础信息</template> <template slot="title">基础信息</template>
</ProcessTitle> </ProcessTitle>
<div class="content_form"> <div class="content_form">
<el-form ref="ch_pageData" :model="ch_pageData" :rules="ch_rules" label-width="150px"> <el-form ref="ch_pageData" :model="ch_pageData" :rules="ch_rules" label-width="120px">
<el-row :gutter="24"> <el-row :gutter="24">
<el-col :span="8"> <el-col :span="8">
<el-form-item label="会议名称:"> <el-form-item label="会议名称:">
@@ -62,7 +62,11 @@
</el-col> </el-col>
<el-col :span="8"> <el-col :span="8">
<el-form-item label="上传附件:" prop="uploadFile"> <el-form-item label="上传附件:" prop="uploadFile">
<i/> <el-upload
action=""
name="file"
:file-list="ch_pageData.fileTextList"
/>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
@@ -454,6 +458,21 @@ export default {
text-align: center; text-align: center;
} }
} }
/deep/.el-upload {
display: unset;
}
/deep/.el-upload-list__item-status-label {
font-size: 0;
}
/deep/.el-upload-list__item {
.el-icon-close {
font-size: 0;
}
.el-icon-close-tip {
font-size: 0;
}
}
/deep/.el-table th { /deep/.el-table th {
padding: 0px; padding: 0px;
} }
@@ -1510,16 +1510,29 @@ export default {
break break
case '22': case '22':
this.$router.push({ if (row.taskInfo === '参会人上传会议资料,填写标准及议题') {
this.$router.push({
name: 'bzhhStep1',
query:{
taskIds: row.taskIds,
prcId: row.prcId,
prcNum: row.prcNum,
prcName: row.prcName,
prcType: row.prcType
}
})
} else {
this.$router.push({
name: 'bzhhStep2', name: 'bzhhStep2',
query:{ query:{
taskIds: row.taskIds, taskIds: row.taskIds,
prcId: row.prcId, prcId: row.prcId,
prcNum: row.prcNum, prcNum: row.prcNum,
prcName: row.prcName, prcName: row.prcName,
prcType: row.prcType prcType: row.prcType
} }
}) })
}
break break
} }
}, },
@@ -518,6 +518,16 @@ export default {
} }
}) })
break break
case '22':
this.$router.push({
name: 'bzhhStep1',
query: {
type: '22',
processName: '外部标准化会后管理流程',
bpnId: id
}
})
break
} }
}, },
...mapMutations(['setProcess', 'setHandleInfo']), ...mapMutations(['setProcess', 'setHandleInfo']),
File diff suppressed because one or more lines are too long