Merge branch 'develop' into FOTON
# Conflicts: # src/pages/processCenter/pages/newProcess/index.vue
This commit is contained in:
@@ -12,6 +12,9 @@
|
||||
:value="value"
|
||||
:placeholder="placeholder"
|
||||
:disabled="disabled"
|
||||
type="textarea"
|
||||
resize="none"
|
||||
:autosize="true"
|
||||
clearable
|
||||
@input="handleChange"
|
||||
></el-input>
|
||||
@@ -63,6 +66,15 @@ export default {
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
||||
<style lang="less" scoped>
|
||||
.add-form-item{
|
||||
/deep/.el-form-item__content{
|
||||
.el-textarea{
|
||||
width: calc(~'100% - 90px');
|
||||
}
|
||||
}
|
||||
}
|
||||
/deep/.el-dialog__body{
|
||||
padding: 15px 20px;
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -1,73 +1,78 @@
|
||||
<template>
|
||||
<!-- <div>-->
|
||||
<!-- <div>-->
|
||||
<el-col :span="span">
|
||||
<el-form-item
|
||||
:label="config.attrName"
|
||||
:prop="config.attrField"
|
||||
:label-width="labelWidth"
|
||||
class="add-form-item leftButton"
|
||||
:class="{'form-item-disabled': disabled}"
|
||||
:label="config.attrName"
|
||||
:prop="config.attrField"
|
||||
:label-width="labelWidth"
|
||||
class="add-form-item leftButton"
|
||||
:class="{'form-item-disabled': disabled}"
|
||||
>
|
||||
<el-input
|
||||
:value="value"
|
||||
:placeholder="placeholder"
|
||||
:disabled="disabled"
|
||||
clearable
|
||||
@input="handleChange"
|
||||
type="textarea"
|
||||
resize="none"
|
||||
:autosize="true"
|
||||
:value="value"
|
||||
:placeholder="placeholder"
|
||||
:disabled="disabled"
|
||||
clearable
|
||||
@input="handleChange"
|
||||
></el-input>
|
||||
<el-button
|
||||
type="primary"
|
||||
class="common-button-primary"
|
||||
size="mini"
|
||||
style="position:absolute;top: 10px;right: 0;"
|
||||
@click="selectLaws"
|
||||
v-if="(processModel && !disabled) || !processModel"
|
||||
>手动查找</el-button>
|
||||
type="primary"
|
||||
class="common-button-primary"
|
||||
size="mini"
|
||||
style="position:absolute;top: 10px;right: 0;"
|
||||
@click="selectLaws"
|
||||
v-if="(processModel && !disabled) || !processModel"
|
||||
>手动查找
|
||||
</el-button>
|
||||
</el-form-item>
|
||||
<el-dialog
|
||||
:title="config.attrName"
|
||||
:visible.sync="replaceLawsNumModel"
|
||||
width="875px"
|
||||
:close-on-click-modal="false"
|
||||
@close="replaceLawsNumModelCancel"
|
||||
:append-to-body="true"
|
||||
:title="config.attrName"
|
||||
:visible.sync="replaceLawsNumModel"
|
||||
width="875px"
|
||||
:close-on-click-modal="false"
|
||||
@close="replaceLawsNumModelCancel"
|
||||
:append-to-body="true"
|
||||
>
|
||||
<div class="search-area">
|
||||
<div class="left">
|
||||
<el-form :modal="replaceLawsNumForm" :inline="true" class="label-input-form" @keyup.enter.native="getReplaceLawsNumRowSearch">
|
||||
<!-- <el-form-item label="数据来源" class="search-item">-->
|
||||
<!-- <el-select v-model="replaceLawsNumForm.dataSource" filterable>-->
|
||||
<!-- <el-option-->
|
||||
<!-- v-for="item in dataSourceOptions"-->
|
||||
<!-- :key="item.value"-->
|
||||
<!-- :value="item.value"-->
|
||||
<!-- :label="item.label"-->
|
||||
<!-- >-->
|
||||
<!-- </el-option>-->
|
||||
<!-- </el-select>-->
|
||||
<!-- </el-form-item>-->
|
||||
<el-form :modal="replaceLawsNumForm" :inline="true" class="label-input-form"
|
||||
@keyup.enter.native="getReplaceLawsNumRowSearch">
|
||||
<!-- <el-form-item label="数据来源" class="search-item">-->
|
||||
<!-- <el-select v-model="replaceLawsNumForm.dataSource" filterable>-->
|
||||
<!-- <el-option-->
|
||||
<!-- v-for="item in dataSourceOptions"-->
|
||||
<!-- :key="item.value"-->
|
||||
<!-- :value="item.value"-->
|
||||
<!-- :label="item.label"-->
|
||||
<!-- >-->
|
||||
<!-- </el-option>-->
|
||||
<!-- </el-select>-->
|
||||
<!-- </el-form-item>-->
|
||||
<el-form-item label="企标编号/标准名称" class="search-item input-width">
|
||||
<el-input
|
||||
v-model="replaceLawsNumForm.numberName"
|
||||
placeholder="根据企标编号/标准名称查找"
|
||||
clearable
|
||||
:maxlength="100"></el-input>
|
||||
v-model="replaceLawsNumForm.numberName"
|
||||
placeholder="根据企标编号/标准名称查找"
|
||||
clearable
|
||||
:maxlength="100"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item class="search-item btn-box">
|
||||
<el-button
|
||||
type="primary"
|
||||
class="common-button-primary"
|
||||
round
|
||||
@click="getReplaceLawsNumRowSearch">
|
||||
type="primary"
|
||||
class="common-button-primary"
|
||||
round
|
||||
@click="getReplaceLawsNumRowSearch">
|
||||
查询
|
||||
</el-button>
|
||||
</el-form-item>
|
||||
<el-form-item class="search-item btn-box">
|
||||
<el-button
|
||||
class="common-button-default"
|
||||
round
|
||||
type="default"
|
||||
@click="getResetLawsNumRow">
|
||||
class="common-button-default"
|
||||
round
|
||||
type="default"
|
||||
@click="getResetLawsNumRow">
|
||||
清空
|
||||
</el-button>
|
||||
</el-form-item>
|
||||
@@ -75,77 +80,87 @@
|
||||
</div>
|
||||
</div>
|
||||
<el-table
|
||||
ref="selections"
|
||||
:data="replaceLawsNumRow"
|
||||
tooltip-effect="dark"
|
||||
style="width: 100%;overflow-y: auto;overflow-x: hidden;"
|
||||
border
|
||||
:height="300"
|
||||
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
|
||||
ref="selections"
|
||||
:data="replaceLawsNumRow"
|
||||
tooltip-effect="dark"
|
||||
style="width: 100%;overflow-y: auto;overflow-x: hidden;"
|
||||
border
|
||||
:height="300"
|
||||
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
|
||||
fontWeight: 'bold', height: '48px'}"
|
||||
@selection-change="selectReplaceStandNumRowChange">
|
||||
@selection-change="selectReplaceStandNumRowChange">
|
||||
<el-table-column
|
||||
type="selection"
|
||||
width="55"
|
||||
align="center">
|
||||
type="selection"
|
||||
width="55"
|
||||
align="center">
|
||||
</el-table-column>
|
||||
<!-- <el-table-column-->
|
||||
<!-- prop="standSortShow"-->
|
||||
<!-- label="企标类别"-->
|
||||
<!-- min-width="130"-->
|
||||
<!-- >-->
|
||||
<!-- </el-table-column>-->
|
||||
<!-- <el-table-column-->
|
||||
<!-- prop="standSortShow"-->
|
||||
<!-- label="企标类别"-->
|
||||
<!-- min-width="130"-->
|
||||
<!-- >-->
|
||||
<!-- </el-table-column>-->
|
||||
<el-table-column
|
||||
label="企标编号"
|
||||
min-width="130">
|
||||
label="企标编号"
|
||||
min-width="130">
|
||||
<template slot-scope="scope">
|
||||
<span v-if="dataSource === 'BUSINESS'">
|
||||
<a v-if="scope.row.standYear" class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standCode }}-{{ scope.row.standYear }}</a>
|
||||
<a v-if="scope.row.standYear" class="table-jump" @click="handlePreview(scope.row)">{{
|
||||
scope.row.standCode
|
||||
}}-{{ scope.row.standYear }}</a>
|
||||
<a v-else class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standCode }}</a>
|
||||
</span>
|
||||
<span v-else>
|
||||
<a v-if="scope.row.standYear" class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standSortShow }} {{ scope.row.standNumber }}-{{ scope.row.standYear }}</a>
|
||||
<a v-else @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standSortShow }} {{ scope.row.standNumber }}</a>
|
||||
<a v-if="scope.row.standYear" class="table-jump"
|
||||
@click="handlePreview(scope.row)">{{ scope.row.standSortShow }} {{
|
||||
scope.row.standNumber
|
||||
}}-{{ scope.row.standYear }}</a>
|
||||
<a v-else @click="handlePreview(scope.row)" class="table-jump">{{
|
||||
scope.row.standSortShow
|
||||
}} {{ scope.row.standNumber }}</a>
|
||||
</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="standName"
|
||||
label="标准名称"
|
||||
min-width="130">
|
||||
prop="standName"
|
||||
label="标准名称"
|
||||
min-width="130">
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="issueTime"
|
||||
label="发布日期"
|
||||
width="130">
|
||||
prop="issueTime"
|
||||
label="发布日期"
|
||||
width="130">
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="putTime"
|
||||
label="实施日期"
|
||||
width="130">
|
||||
prop="putTime"
|
||||
label="实施日期"
|
||||
width="130">
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="standStatusShow"
|
||||
label="文本状态"
|
||||
width="130">
|
||||
prop="standStatusShow"
|
||||
label="文本状态"
|
||||
width="130">
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
<loading :loading="replaceLoading">{{$t('m.dataAcquisition')}}</loading>
|
||||
<loading :loading="replaceLoading">{{ $t('m.dataAcquisition') }}</loading>
|
||||
<!--分页-->
|
||||
<pagination
|
||||
style="position: relative;"
|
||||
:page="replacePage"
|
||||
:total="replaceTotal"
|
||||
@pageChange="pageChangeReplace"
|
||||
@pageSizeChange="pageSizeChangeReplace"></pagination>
|
||||
style="position: relative;"
|
||||
:page="replacePage"
|
||||
:total="replaceTotal"
|
||||
@pageChange="pageChangeReplace"
|
||||
@pageSizeChange="pageSizeChangeReplace"></pagination>
|
||||
<div slot="footer" class="demo-drawer-footer">
|
||||
<el-button class="common-button-default" round icon="el-icon-close" @click="replaceLawsNumModel = false">取消</el-button>
|
||||
<el-button type="primary" round class="common-button-primary" icon="el-icon-check" @click="replaceLawsNumModelBt">提交</el-button>
|
||||
<el-button class="common-button-default" round icon="el-icon-close" @click="replaceLawsNumModel = false">取消
|
||||
</el-button>
|
||||
<el-button type="primary" round class="common-button-primary" icon="el-icon-check"
|
||||
@click="replaceLawsNumModelBt">提交
|
||||
</el-button>
|
||||
</div>
|
||||
</el-dialog>
|
||||
|
||||
</el-col>
|
||||
<!-- </div>-->
|
||||
<!-- </div>-->
|
||||
|
||||
</template>
|
||||
|
||||
@@ -180,7 +195,7 @@ export default {
|
||||
default: '150px'
|
||||
}
|
||||
},
|
||||
data () {
|
||||
data() {
|
||||
return {
|
||||
replaceLawsNumModel: false,
|
||||
sarBussionessLawsEO: {
|
||||
@@ -212,28 +227,28 @@ export default {
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
placeholder () {
|
||||
placeholder() {
|
||||
return `请输入${this.config.attrName}`
|
||||
},
|
||||
showMessage () {
|
||||
showMessage() {
|
||||
return `${this.config.attrName}不能为空`
|
||||
},
|
||||
isRequired () {
|
||||
isRequired() {
|
||||
return !!this.config.isMust
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
getReplaceLawsNumRowSearch () {
|
||||
getReplaceLawsNumRowSearch() {
|
||||
this.replaceLawsNumForm.page = 1
|
||||
this.replacePage = 1
|
||||
this.getReplaceLawsNumRow()
|
||||
},
|
||||
handleChange (event) {
|
||||
handleChange(event) {
|
||||
// const value = event.target.value
|
||||
const value = event
|
||||
this.$emit('input', value)
|
||||
},
|
||||
selectLaws () {
|
||||
selectLaws() {
|
||||
// if (this.standNumFlag === 1) {
|
||||
// this.$refs.selections.selectAll(false)
|
||||
// }
|
||||
@@ -242,7 +257,7 @@ export default {
|
||||
this.getReplaceLawsNumRow()
|
||||
},
|
||||
// 代替政策号 请求数据
|
||||
getReplaceLawsNumRow () {
|
||||
getReplaceLawsNumRow() {
|
||||
if (this.sarBussionessLawsEO.replaceLawsNum !== null && this.sarBussionessLawsEO.replaceLawsNum !== '') {
|
||||
this.replaceLawsNumForm.quoteIdList = this.quoteIdList1.toString() === '' ? '' : this.quoteIdList1
|
||||
} else {
|
||||
@@ -257,7 +272,7 @@ export default {
|
||||
formData.standType = this.replaceLawsNumForm.dataSource === 'INLAND_STAND' ? 'INLAND'
|
||||
: this.replaceLawsNumForm.dataSource === 'FOREIGN_STAND' ? 'FOREIGN' : ''
|
||||
formData.standNumber = formData.numberName
|
||||
let url = this.replaceLawsNumForm.dataSource === 'BUSINESS' ? 'lawss/sarBussionessStand/getSarBussionStandPage' : 'sarStandardsInfo/sar-standards-info/getSarStandardsInfoPage'
|
||||
let url = this.replaceLawsNumForm.dataSource === 'BUSINESS' ? 'lawss/sarBussionessStand/getSarBussionStandPage' : 'sarStandardsInfo/sar-standards-info/getSarStandardsInfoPage'
|
||||
this.$http.get(url, formData, {
|
||||
_this: this,
|
||||
loading: 'replaceLoading'
|
||||
@@ -277,27 +292,27 @@ export default {
|
||||
})
|
||||
},
|
||||
// 代替政策编号-取消
|
||||
replaceLawsNumModelCancel () {
|
||||
replaceLawsNumModelCancel() {
|
||||
// this.replaceLawsNumModel = false
|
||||
this.$refs.selections.clearSelection()
|
||||
},
|
||||
// 代替政策号 table选择事件
|
||||
selectReplaceStandNumRowChange (row) {
|
||||
selectReplaceStandNumRowChange(row) {
|
||||
this.selectedListRep = row
|
||||
},
|
||||
// 代替政策分页
|
||||
pageChangeReplace (page) {
|
||||
pageChangeReplace(page) {
|
||||
this.replacePage = page
|
||||
this.replaceLawsNumForm.page = page
|
||||
this.getReplaceLawsNumRow()
|
||||
},
|
||||
pageSizeChangeReplace (pageSize) {
|
||||
pageSizeChangeReplace(pageSize) {
|
||||
// this.replaceRows = pageSize
|
||||
this.replaceLawsNumForm.pageSize = pageSize
|
||||
this.getReplaceLawsNumRow()
|
||||
},
|
||||
// 代替政策编号确定
|
||||
replaceLawsNumModelBt () {
|
||||
replaceLawsNumModelBt() {
|
||||
let textArr = []
|
||||
|
||||
if (typeof this.value === 'string') {
|
||||
@@ -342,7 +357,7 @@ export default {
|
||||
this.$refs.selections.clearSelection()
|
||||
},
|
||||
// 点击查看
|
||||
handlePreview (item) {
|
||||
handlePreview(item) {
|
||||
let name = ''
|
||||
let pageType = ''
|
||||
switch (this.dataSource) {
|
||||
@@ -369,7 +384,7 @@ export default {
|
||||
window.open(routeUrl.href, '_blank')
|
||||
|
||||
},
|
||||
getResetLawsNumRow () {
|
||||
getResetLawsNumRow() {
|
||||
this.replaceLawsNumForm = {
|
||||
dataSource: 'BUSINESS',
|
||||
numberName: '', // 政策编号
|
||||
@@ -387,13 +402,23 @@ export default {
|
||||
</script>
|
||||
|
||||
<style scoped lang="less">
|
||||
/deep/.el-dialog__body {
|
||||
padding: 0 20px 0;
|
||||
}
|
||||
/deep/.el-dialog__footer {
|
||||
padding: 0 20px 20px;
|
||||
}
|
||||
/deep/.input-width input.el-input__inner {
|
||||
width: 220px;
|
||||
/deep/ .el-dialog__body {
|
||||
padding: 0 20px 0;
|
||||
}
|
||||
|
||||
/deep/ .el-dialog__footer {
|
||||
padding: 0 20px 20px;
|
||||
}
|
||||
|
||||
.add-form-item {
|
||||
/deep/ .el-form-item__content {
|
||||
.el-textarea {
|
||||
width: calc(~'100% - 90px');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/deep/ .input-width input.el-input__inner {
|
||||
width: 220px;
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -185,7 +185,7 @@ export default {
|
||||
pubOrgName: '',
|
||||
content: '',
|
||||
linkUri: '',
|
||||
uploadPath: 'uploadPath',
|
||||
uploadPath: 'file',
|
||||
resPk: '',
|
||||
fileList: [],
|
||||
picList: [],
|
||||
|
||||
@@ -174,7 +174,7 @@ export default {
|
||||
pubOrgName: '',
|
||||
content: '',
|
||||
linkUri: '',
|
||||
uploadPath: 'uploadPath',
|
||||
uploadPath: 'file',
|
||||
resPk: '',
|
||||
fileList: [],
|
||||
picList: [],
|
||||
|
||||
@@ -3688,6 +3688,7 @@ export default {
|
||||
//报批稿撑开
|
||||
//top: 10px;
|
||||
right: 0;
|
||||
top:-20px;
|
||||
padding: 0 10px;
|
||||
height: 30px;
|
||||
line-height: 30px;
|
||||
|
||||
@@ -1707,7 +1707,7 @@ export default {
|
||||
if (res.ok) {
|
||||
let imgPath = res.data.filePath
|
||||
let imgName = res.data.fileName
|
||||
let imgSrc = 'uploadPath' + imgPath + imgName
|
||||
let imgSrc = 'file' + imgPath + imgName
|
||||
// let imgSrc = imgPath + imgName
|
||||
// this.itemsContentList[this.saveUploadImgIndex].itemContent = 'uploadPath' + imgPath + imgName
|
||||
this.itemsContentList[this.saveAddIndex + 1].itemContent = '<img class=\'wordImg\' src=\'' + imgSrc + '\'>'
|
||||
|
||||
@@ -87,7 +87,7 @@ export default {
|
||||
pubOrgName: '',
|
||||
content: '',
|
||||
linkUri: '',
|
||||
uploadPath: 'uploadPath',
|
||||
uploadPath: 'file',
|
||||
resPk: '',
|
||||
fileList: [],
|
||||
picList: [],
|
||||
|
||||
@@ -194,7 +194,7 @@ export default {
|
||||
loading: 'loading'
|
||||
}, res => {
|
||||
this.userInfo.userPic = res.data.id
|
||||
this.userAvator = 'uploadPath' + res.data.filePath + res.data.fileName
|
||||
this.userAvator = 'file' + res.data.filePath + res.data.fileName
|
||||
})
|
||||
},
|
||||
// 保存用户信息
|
||||
|
||||
@@ -22,7 +22,7 @@ export default {
|
||||
value: "laws1"
|
||||
},
|
||||
{
|
||||
label: "企标制修订流程及企业标准库流程",
|
||||
label: "企标制修订-技术标准",
|
||||
value: "buss1"
|
||||
},
|
||||
{
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<template><div class="bzrkStep1">
|
||||
<!-- 标准入库流程-->
|
||||
<ProcessHeader toggle>
|
||||
<template slot="proName">企标制修订流程及企业标准库流程</template>
|
||||
<template slot="proName">企标制修订-技术标准</template>
|
||||
<template slot="proNode">发起企标制修订流程</template>
|
||||
</ProcessHeader>
|
||||
<div class="headerTabs">
|
||||
@@ -2442,7 +2442,7 @@
|
||||
_formData.append('createUser', this.$store.getters.userInfo.userId)
|
||||
_formData.append('createUserName', this.$store.getters.userInfo.uName)
|
||||
_formData.append('prcType', 'buss1')
|
||||
_formData.append('prcName', '企标制修订流程及企业标准库流程')
|
||||
_formData.append('prcName', '企标制修订-技术标准')
|
||||
_formData.append('json', JSON.stringify({
|
||||
taskInfo: '发起企标制修订流程',
|
||||
form: this.form,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<template><div class="bzrkStep1">
|
||||
<!-- 标准入库流程-->
|
||||
<ProcessHeader toggle>
|
||||
<template slot="proName">企标制修订流程及企业标准库流程</template>
|
||||
<template slot="proName">企标制修订-技术标准</template>
|
||||
<template slot="proNode">专委会副主任/起草单位中心主任审定</template>
|
||||
</ProcessHeader>
|
||||
<div class="headerTabs">
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<template><div class="bzrkStep1">
|
||||
<!-- 标准入库流程-->
|
||||
<ProcessHeader toggle>
|
||||
<template slot="proName">企标制修订流程及企业标准库流程</template>
|
||||
<template slot="proName">企标制修订-技术标准</template>
|
||||
<template slot="proNode">专委会主任/总院院长或主管副院长批准</template>
|
||||
</ProcessHeader>
|
||||
<div class="headerTabs">
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<template><div class="bzrkStep1">
|
||||
<!-- 标准入库流程-->
|
||||
<ProcessHeader toggle>
|
||||
<template slot="proName">企标制修订流程及企业标准库流程</template>
|
||||
<template slot="proName">企标制修订-技术标准</template>
|
||||
<template slot="proNode">主起草人培训</template>
|
||||
</ProcessHeader>
|
||||
<div class="headerTabs">
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<template><div class="bzrkStep1">
|
||||
<!-- 标准入库流程-->
|
||||
<ProcessHeader toggle>
|
||||
<template slot="proName">企标制修订流程及企业标准库流程</template>
|
||||
<template slot="proName">企标制修订-技术标准</template>
|
||||
<template slot="proNode">企标编写流程</template>
|
||||
</ProcessHeader>
|
||||
<div class="headerTabs">
|
||||
@@ -2276,7 +2276,7 @@
|
||||
_formData.append('createUser', this.$store.getters.userInfo.userId)
|
||||
_formData.append('createUserName', this.$store.getters.userInfo.uName)
|
||||
_formData.append('prcType', 'buss1')
|
||||
_formData.append('prcName', '企标制修订流程及企业标准库流程')
|
||||
_formData.append('prcName', '企标制修订-技术标准')
|
||||
_formData.append('json', JSON.stringify({
|
||||
taskInfo: this.taskInfo,
|
||||
form: this.form,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<template><div class="bzrkStep1">
|
||||
<!-- 标准入库流程-->
|
||||
<ProcessHeader toggle>
|
||||
<template slot="proName">企标制修订流程及企业标准库流程</template>
|
||||
<template slot="proName">企标制修订-技术标准</template>
|
||||
<template slot="proNode">企标汇总修订</template>
|
||||
</ProcessHeader>
|
||||
<div class="headerTabs">
|
||||
@@ -2275,7 +2275,7 @@
|
||||
_formData.append('createUser', this.$store.getters.userInfo.userId)
|
||||
_formData.append('createUserName', this.$store.getters.userInfo.uName)
|
||||
_formData.append('prcType', 'buss1')
|
||||
_formData.append('prcName', '企标制修订流程及企业标准库流程')
|
||||
_formData.append('prcName', '企标制修订-技术标准')
|
||||
_formData.append('json', JSON.stringify({
|
||||
taskInfo: this.taskInfo,
|
||||
form: this.form,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<template><div class="bzrkStep1">
|
||||
<!-- 标准入库流程-->
|
||||
<ProcessHeader toggle>
|
||||
<template slot="proName">企标制修订流程及企业标准库流程</template>
|
||||
<template slot="proName">企标制修订-技术标准</template>
|
||||
<template slot="proNode">标准化员审批</template>
|
||||
</ProcessHeader>
|
||||
<div class="headerTabs">
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<template><div class="bzrkStep1">
|
||||
<!-- 标准入库流程-->
|
||||
<ProcessHeader toggle>
|
||||
<template slot="proName">企标制修订流程及企业标准库流程</template>
|
||||
<template slot="proName">企标制修订-技术标准</template>
|
||||
<template slot="proNode">会签征求意见</template>
|
||||
</ProcessHeader>
|
||||
<div class="headerTabs">
|
||||
@@ -2483,7 +2483,7 @@
|
||||
_formData.append('createUser', this.$store.getters.userInfo.userId)
|
||||
_formData.append('createUserName', this.$store.getters.userInfo.uName)
|
||||
_formData.append('prcType', 'buss1')
|
||||
_formData.append('prcName', '企标制修订流程及企业标准库流程')
|
||||
_formData.append('prcName', '企标制修订-技术标准')
|
||||
_formData.append('json', JSON.stringify({
|
||||
taskInfo: this.taskInfo,
|
||||
form: this.form,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<template><div class="bzrkStep1">
|
||||
<!-- 标准入库流程-->
|
||||
<ProcessHeader toggle>
|
||||
<template slot="proName">企标制修订流程及企业标准库流程</template>
|
||||
<template slot="proName">企标制修订-技术标准</template>
|
||||
<template slot="proNode">主起草人修订并组织评审</template>
|
||||
</ProcessHeader>
|
||||
<div class="headerTabs">
|
||||
@@ -2381,7 +2381,7 @@
|
||||
_formData.append('createUser', this.$store.getters.userInfo.userId)
|
||||
_formData.append('createUserName', this.$store.getters.userInfo.uName)
|
||||
_formData.append('prcType', 'buss1')
|
||||
_formData.append('prcName', '企标制修订流程及企业标准库流程')
|
||||
_formData.append('prcName', '企标制修订-技术标准')
|
||||
_formData.append('json', JSON.stringify({
|
||||
taskInfo: this.taskInfo,
|
||||
form: this.form,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<template><div class="bzrkStep1">
|
||||
<!-- 标准入库流程-->
|
||||
<ProcessHeader toggle>
|
||||
<template slot="proName">企标制修订流程及企业标准库流程</template>
|
||||
<template slot="proName">企标制修订-技术标准</template>
|
||||
<template slot="proNode">标准法规工程师复审</template>
|
||||
</ProcessHeader>
|
||||
<div class="headerTabs">
|
||||
@@ -2543,7 +2543,7 @@
|
||||
_formData.append('createUser', this.$store.getters.userInfo.userId)
|
||||
_formData.append('createUserName', this.$store.getters.userInfo.uName)
|
||||
_formData.append('prcType', 'buss1')
|
||||
_formData.append('prcName', '企标制修订流程及企业标准库流程')
|
||||
_formData.append('prcName', '企标制修订-技术标准')
|
||||
_formData.append('json', JSON.stringify({
|
||||
taskInfo: this.taskInfo,
|
||||
form: this.form,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<template><div class="bzrkStep1">
|
||||
<!-- 标准入库流程-->
|
||||
<ProcessHeader toggle>
|
||||
<template slot="proName">企标制修订流程及企业标准库流程</template>
|
||||
<template slot="proName">企标制修订-技术标准</template>
|
||||
<template slot="proNode">技术委员会负责人/起草中心主任审核</template>
|
||||
</ProcessHeader>
|
||||
<div class="headerTabs">
|
||||
@@ -2513,7 +2513,7 @@
|
||||
_formData.append('createUser', this.$store.getters.userInfo.userId)
|
||||
_formData.append('createUserName', this.$store.getters.userInfo.uName)
|
||||
_formData.append('prcType', 'buss1')
|
||||
_formData.append('prcName', '企标制修订流程及企业标准库流程')
|
||||
_formData.append('prcName', '企标制修订-技术标准')
|
||||
_formData.append('json', JSON.stringify({
|
||||
taskInfo: this.taskInfo,
|
||||
form: this.form,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<template><div class="bzrkStep1">
|
||||
<!-- 标准入库流程-->
|
||||
<ProcessHeader toggle>
|
||||
<template slot="proName">企标制修订流程及企业标准库流程</template>
|
||||
<template slot="proName">企标制修订-技术标准</template>
|
||||
<template slot="proNode">标准法规部部长审核</template>
|
||||
</ProcessHeader>
|
||||
<div class="headerTabs">
|
||||
@@ -2513,7 +2513,7 @@
|
||||
_formData.append('createUser', this.$store.getters.userInfo.userId)
|
||||
_formData.append('createUserName', this.$store.getters.userInfo.uName)
|
||||
_formData.append('prcType', 'buss1')
|
||||
_formData.append('prcName', '企标制修订流程及企业标准库流程')
|
||||
_formData.append('prcName', '企标制修订-技术标准')
|
||||
_formData.append('json', JSON.stringify({
|
||||
taskInfo: this.taskInfo,
|
||||
form: this.form,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<template><div class="bzrkStep1">
|
||||
<!-- 标准入库流程-->
|
||||
<ProcessHeader toggle>
|
||||
<template slot="proName">企标制修订流程及企业标准库流程</template>
|
||||
<template slot="proName">企标制修订-技术标准</template>
|
||||
<template slot="proNode">重新企标汇总修订</template>
|
||||
</ProcessHeader>
|
||||
<div class="headerTabs">
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<template><div class="bzrkStep1">
|
||||
<!-- 标准入库流程-->
|
||||
<ProcessHeader toggle>
|
||||
<template slot="proName">企标制修订流程及企业标准库流程</template>
|
||||
<template slot="proName">企标制修订-技术标准</template>
|
||||
<template slot="proNode">重新修订并组织评审</template>
|
||||
</ProcessHeader>
|
||||
<div class="headerTabs">
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<template><div class="bzrkStep1">
|
||||
<!-- 标准入库流程-->
|
||||
<ProcessHeader toggle>
|
||||
<template slot="proName">企标制修订流程及企业标准库流程</template>
|
||||
<template slot="proName">企标制修订-技术标准</template>
|
||||
<template slot="proNode">企标制修订流程详情</template>
|
||||
</ProcessHeader>
|
||||
<div class="headerTabs">
|
||||
|
||||
@@ -197,7 +197,7 @@
|
||||
<img :src="getImg(Math.floor(Math.random() * 6))">
|
||||
</div>
|
||||
<div class="card-top-right">
|
||||
<div class="card-top-right-text">企标制修订流程及企业标准库流程</div>
|
||||
<div class="card-top-right-text">企标制修订-技术标准</div>
|
||||
<div class="card-top-right-line"></div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -366,115 +366,115 @@
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
export default {
|
||||
name: 'NewProcess',
|
||||
data () {
|
||||
return {
|
||||
type: '',
|
||||
size: true
|
||||
export default {
|
||||
name: 'NewProcess',
|
||||
data () {
|
||||
return {
|
||||
type: '',
|
||||
size: true
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
getImg (num) {
|
||||
var url = ''
|
||||
if (num == 0) {
|
||||
url = require('@/assets/images/shangqi/img/process1.png')
|
||||
} else if (num == 1) {
|
||||
url = require('@/assets/images/shangqi/img/process2.png')
|
||||
} else if (num == 2) {
|
||||
url = require('@/assets/images/shangqi/img/process3.png')
|
||||
} else if (num == 3) {
|
||||
url = require('@/assets/images/shangqi/img/process4.png')
|
||||
} else if (num == 4) {
|
||||
url = require('@/assets/images/shangqi/img/process5.png')
|
||||
} else if (num == 5) {
|
||||
url = require('@/assets/images/shangqi/img/process6.png')
|
||||
}
|
||||
return url
|
||||
},
|
||||
methods: {
|
||||
getImg (num) {
|
||||
var url = ''
|
||||
if (num == 0) {
|
||||
url = require('@/assets/images/shangqi/img/process1.png')
|
||||
} else if (num == 1) {
|
||||
url = require('@/assets/images/shangqi/img/process2.png')
|
||||
} else if (num == 2) {
|
||||
url = require('@/assets/images/shangqi/img/process3.png')
|
||||
} else if (num == 3) {
|
||||
url = require('@/assets/images/shangqi/img/process4.png')
|
||||
} else if (num == 4) {
|
||||
url = require('@/assets/images/shangqi/img/process5.png')
|
||||
} else if (num == 5) {
|
||||
url = require('@/assets/images/shangqi/img/process6.png')
|
||||
}
|
||||
return url
|
||||
},
|
||||
// 新建流程
|
||||
handleCreateProcess (prcType) {
|
||||
this.$store.commit('setDetailMap', this.$route.path)
|
||||
this.$store.commit('setHandleInfo')
|
||||
switch (prcType) {
|
||||
case 'buss1':
|
||||
// 企标制修订流程及企业标准库流程
|
||||
this.$router.push({
|
||||
name: 'bussLibrary1'
|
||||
})
|
||||
break
|
||||
case '2':
|
||||
// 标准调研流程
|
||||
this.$router.push({
|
||||
name: 'bzdyStep1'
|
||||
})
|
||||
break
|
||||
case 'laws1':
|
||||
// 政策入库流程
|
||||
this.$router.push({
|
||||
name: 'zcrkStep1'
|
||||
})
|
||||
break
|
||||
case '1':
|
||||
// 标准入库流程
|
||||
this.$router.push({
|
||||
name: 'bzrkStep1'
|
||||
})
|
||||
break
|
||||
case '3':
|
||||
// 标准征求意见流程
|
||||
// 新建流程
|
||||
handleCreateProcess (prcType) {
|
||||
this.$store.commit('setDetailMap', this.$route.path)
|
||||
this.$store.commit('setHandleInfo')
|
||||
switch (prcType) {
|
||||
case 'buss1':
|
||||
// 企标制修订-技术标准
|
||||
this.$router.push({
|
||||
name: 'bussLibrary1'
|
||||
})
|
||||
break
|
||||
case '2':
|
||||
// 标准调研流程
|
||||
this.$router.push({
|
||||
name: 'bzdyStep1'
|
||||
})
|
||||
break
|
||||
case 'laws1':
|
||||
// 政策入库流程
|
||||
this.$router.push({
|
||||
name: 'zcrkStep1'
|
||||
})
|
||||
break
|
||||
case '1':
|
||||
// 标准入库流程
|
||||
this.$router.push({
|
||||
name: 'bzrkStep1'
|
||||
})
|
||||
break
|
||||
case '3':
|
||||
// 标准征求意见流程
|
||||
this.$router.push({
|
||||
name:'bzzqyjStep1'
|
||||
})
|
||||
break
|
||||
case '4':
|
||||
this.$router.push({
|
||||
name: 'bzfyStep1'
|
||||
})
|
||||
// 标准需求(翻译)申请流程
|
||||
break
|
||||
case '5':
|
||||
this.$router.push({
|
||||
name: 'bzffStep1'
|
||||
})
|
||||
// 标准发放申请流程
|
||||
break
|
||||
case '6':
|
||||
//标准清单发布流程
|
||||
this.$router.push({
|
||||
name:'bzqdfbStep1'
|
||||
})
|
||||
break
|
||||
case '7':
|
||||
//项目评估流程 - 标准
|
||||
this.$router.push({
|
||||
name: 'xmpgStep1'
|
||||
})
|
||||
break
|
||||
case '8':
|
||||
//未符合项整改流程
|
||||
this.$router.push({
|
||||
name:'wfhxzgStep1'
|
||||
})
|
||||
break
|
||||
case '9':
|
||||
// 标准解读流程
|
||||
this.$router.push({
|
||||
name:'bzjdStep1'
|
||||
})
|
||||
break
|
||||
case '10':
|
||||
//项目评估流程- 项目
|
||||
this.$router.push({
|
||||
name: 'xmpg2Step1'
|
||||
})
|
||||
break
|
||||
case '11':
|
||||
// 项目清单确认流程
|
||||
this.$router.push({
|
||||
name:'xmqdqrStep1'
|
||||
})
|
||||
break
|
||||
break
|
||||
case '4':
|
||||
this.$router.push({
|
||||
name: 'bzfyStep1'
|
||||
})
|
||||
// 标准需求(翻译)申请流程
|
||||
break
|
||||
case '5':
|
||||
this.$router.push({
|
||||
name: 'bzffStep1'
|
||||
})
|
||||
// 标准发放申请流程
|
||||
break
|
||||
case '6':
|
||||
//标准清单发布流程
|
||||
this.$router.push({
|
||||
name:'bzqdfbStep1'
|
||||
})
|
||||
break
|
||||
case '7':
|
||||
//项目评估流程 - 标准
|
||||
this.$router.push({
|
||||
name: 'xmpgStep1'
|
||||
})
|
||||
break
|
||||
case '8':
|
||||
//未符合项整改流程
|
||||
this.$router.push({
|
||||
name:'wfhxzgStep1'
|
||||
})
|
||||
break
|
||||
case '9':
|
||||
// 标准解读流程
|
||||
this.$router.push({
|
||||
name:'bzjdStep1'
|
||||
})
|
||||
break
|
||||
case '10':
|
||||
//项目评估流程- 项目
|
||||
this.$router.push({
|
||||
name: 'xmpg2Step1'
|
||||
})
|
||||
break
|
||||
case '11':
|
||||
// 项目清单确认流程
|
||||
this.$router.push({
|
||||
name:'xmqdqrStep1'
|
||||
})
|
||||
break
|
||||
case '12':
|
||||
// 政策征求意见流程
|
||||
this.$router.push({
|
||||
@@ -487,145 +487,145 @@
|
||||
name: 'zdrzbzORzchgxxmscStep1'
|
||||
})
|
||||
break
|
||||
case '17':
|
||||
//政策课题入会流程
|
||||
this.$router.push({
|
||||
name: 'zcrhStep1'
|
||||
})
|
||||
break
|
||||
case '18':
|
||||
//政策课题参会流程
|
||||
this.$router.push({
|
||||
name: 'zcchStep1'
|
||||
})
|
||||
break
|
||||
case '19':
|
||||
//政策课题会后流程
|
||||
this.$router.push({
|
||||
name: 'zchhStep1'
|
||||
})
|
||||
break
|
||||
case '16':
|
||||
//外部署名推荐审批流程
|
||||
this.$router.push({
|
||||
name: 'wbsmStep1'
|
||||
})
|
||||
break
|
||||
case '15':
|
||||
//加入标准化协会信息提报流程
|
||||
this.$router.push({
|
||||
name: 'jrbzhxhStep1'
|
||||
})
|
||||
break
|
||||
case '14':
|
||||
//参与外部标准制修订信息提报流程
|
||||
this.$router.push({
|
||||
name: 'cywbbzzxdStep1'
|
||||
})
|
||||
break
|
||||
// 外部标准化协会入会流程
|
||||
case '20':
|
||||
this.$router.push({
|
||||
name: 'bzrhStep1'
|
||||
})
|
||||
break
|
||||
// 外部标准化协会参会流程
|
||||
case '21':
|
||||
this.$router.push({
|
||||
name: 'bzchStep1'
|
||||
})
|
||||
break
|
||||
// 企标复审流程
|
||||
case '23':
|
||||
this.$router.push({
|
||||
name: 'qbfsStep1'
|
||||
})
|
||||
break
|
||||
// 企标废止流程
|
||||
case '24':
|
||||
this.$router.push({
|
||||
name: 'qbfzStep1'
|
||||
})
|
||||
break
|
||||
// 企标制修订计划管控
|
||||
case '25':
|
||||
this.$router.push({
|
||||
name: 'qbzxdjhgkStep1'
|
||||
})
|
||||
break
|
||||
}
|
||||
},
|
||||
checkPermission(permissionIdArray) {
|
||||
return permissionIdArray.some(id => {
|
||||
return this.$hasPermission(id)
|
||||
})
|
||||
case '17':
|
||||
//政策课题入会流程
|
||||
this.$router.push({
|
||||
name: 'zcrhStep1'
|
||||
})
|
||||
break
|
||||
case '18':
|
||||
//政策课题参会流程
|
||||
this.$router.push({
|
||||
name: 'zcchStep1'
|
||||
})
|
||||
break
|
||||
case '19':
|
||||
//政策课题会后流程
|
||||
this.$router.push({
|
||||
name: 'zchhStep1'
|
||||
})
|
||||
break
|
||||
case '16':
|
||||
//外部署名推荐审批流程
|
||||
this.$router.push({
|
||||
name: 'wbsmStep1'
|
||||
})
|
||||
break
|
||||
case '15':
|
||||
//加入标准化协会信息提报流程
|
||||
this.$router.push({
|
||||
name: 'jrbzhxhStep1'
|
||||
})
|
||||
break
|
||||
case '14':
|
||||
//参与外部标准制修订信息提报流程
|
||||
this.$router.push({
|
||||
name: 'cywbbzzxdStep1'
|
||||
})
|
||||
break
|
||||
// 外部标准化协会入会流程
|
||||
case '20':
|
||||
this.$router.push({
|
||||
name: 'bzrhStep1'
|
||||
})
|
||||
break
|
||||
// 外部标准化协会参会流程
|
||||
case '21':
|
||||
this.$router.push({
|
||||
name: 'bzchStep1'
|
||||
})
|
||||
break
|
||||
// 企标复审流程
|
||||
case '23':
|
||||
this.$router.push({
|
||||
name: 'qbfsStep1'
|
||||
})
|
||||
break
|
||||
// 企标废止流程
|
||||
case '24':
|
||||
this.$router.push({
|
||||
name: 'qbfzStep1'
|
||||
})
|
||||
break
|
||||
// 企标制修订计划管控
|
||||
case '25':
|
||||
this.$router.push({
|
||||
name: 'qbzxdjhgkStep1'
|
||||
})
|
||||
break
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
$route (newVal) {
|
||||
this.type = newVal.params.type
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
/**
|
||||
* 标准法规管理流程
|
||||
* @returns {boolean}
|
||||
*/
|
||||
bzfggllc() {
|
||||
const idArray = ['2564bd61852551b99e0fe3d49a89b288', '2d0f99ba961c551b1d8cad8ad5223731', '7751d25f72d0a6515e4110ae41837db8', '90c7bae6308595f053c6f6f90167e493', '9adff72ab464793564c5d1de20b45620', 'a151f5e2ee44f8df81e201b8696fca31', 'f4eeb9ed48eac5686a456a5582508d9c', 'fc25b770ad3752cdec52f3bd7b35a6a1']
|
||||
return this.checkPermission(idArray)
|
||||
},
|
||||
/**
|
||||
* 政策管理流程
|
||||
* @returns {boolean}
|
||||
*/
|
||||
zcgllc() {
|
||||
const idArray = ['GFG2G4NGWBXQ5GMS33KU', '3PJAEEHWU6NYDB6MNZ6V']
|
||||
return this.checkPermission(idArray)
|
||||
},
|
||||
/**
|
||||
* 企标管理流程
|
||||
* @returns {boolean}
|
||||
*/
|
||||
qbgllc() {
|
||||
const idArray = ['L9AVMSGJPTD8T5SEGK6W', 'JCZTCC97UPRNGFJFC5HJ', 'ZZUF89DR92R8WEZYSHN5', '2PNXPCPW5CAWJHDYFHRY', 'K4KS87V6KFSA35VZFPC3']
|
||||
return this.checkPermission(idArray)
|
||||
},
|
||||
/**
|
||||
* 标准采购翻译申请流程
|
||||
* @returns {boolean}
|
||||
*/
|
||||
bzcgfysqlc() {
|
||||
const idArray = ['C2C8BENY5MRSZGP7W5RK', 'WR9C2TYTHD8TTRVJ5LH4']
|
||||
return this.checkPermission(idArray)
|
||||
},
|
||||
/**
|
||||
* 工作组会议管理流程
|
||||
* @returns {boolean}
|
||||
*/
|
||||
gzzhygllc() {
|
||||
const idArray = ['7FM6KNU2DCDY7G46RD2E']
|
||||
return this.checkPermission(idArray)
|
||||
},
|
||||
/**
|
||||
* 标准法规清单管理流程
|
||||
* @returns {boolean}
|
||||
*/
|
||||
bzfgqdgllc() {
|
||||
const idArray = ['4TR77UXU6RYHZPFHZND9']
|
||||
return this.checkPermission(idArray)
|
||||
}
|
||||
},
|
||||
mounted () {
|
||||
let width = document.body.clientWidth
|
||||
if (width > 1900) {
|
||||
this.size = true
|
||||
} else {
|
||||
this.size = false
|
||||
}
|
||||
this.type = this.$route.params.type
|
||||
checkPermission(permissionIdArray) {
|
||||
return permissionIdArray.some(id => {
|
||||
return this.$hasPermission(id)
|
||||
})
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
$route (newVal) {
|
||||
this.type = newVal.params.type
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
/**
|
||||
* 标准法规管理流程
|
||||
* @returns {boolean}
|
||||
*/
|
||||
bzfggllc() {
|
||||
const idArray = ['2564bd61852551b99e0fe3d49a89b288', '2d0f99ba961c551b1d8cad8ad5223731', '7751d25f72d0a6515e4110ae41837db8', '90c7bae6308595f053c6f6f90167e493', '9adff72ab464793564c5d1de20b45620', 'a151f5e2ee44f8df81e201b8696fca31', 'f4eeb9ed48eac5686a456a5582508d9c', 'fc25b770ad3752cdec52f3bd7b35a6a1']
|
||||
return this.checkPermission(idArray)
|
||||
},
|
||||
/**
|
||||
* 政策管理流程
|
||||
* @returns {boolean}
|
||||
*/
|
||||
zcgllc() {
|
||||
const idArray = ['GFG2G4NGWBXQ5GMS33KU', '3PJAEEHWU6NYDB6MNZ6V']
|
||||
return this.checkPermission(idArray)
|
||||
},
|
||||
/**
|
||||
* 企标管理流程
|
||||
* @returns {boolean}
|
||||
*/
|
||||
qbgllc() {
|
||||
const idArray = ['L9AVMSGJPTD8T5SEGK6W', 'JCZTCC97UPRNGFJFC5HJ', 'ZZUF89DR92R8WEZYSHN5', '2PNXPCPW5CAWJHDYFHRY', 'K4KS87V6KFSA35VZFPC3']
|
||||
return this.checkPermission(idArray)
|
||||
},
|
||||
/**
|
||||
* 标准采购翻译申请流程
|
||||
* @returns {boolean}
|
||||
*/
|
||||
bzcgfysqlc() {
|
||||
const idArray = ['C2C8BENY5MRSZGP7W5RK', 'WR9C2TYTHD8TTRVJ5LH4']
|
||||
return this.checkPermission(idArray)
|
||||
},
|
||||
/**
|
||||
* 工作组会议管理流程
|
||||
* @returns {boolean}
|
||||
*/
|
||||
gzzhygllc() {
|
||||
const idArray = ['7FM6KNU2DCDY7G46RD2E']
|
||||
return this.checkPermission(idArray)
|
||||
},
|
||||
/**
|
||||
* 标准法规清单管理流程
|
||||
* @returns {boolean}
|
||||
*/
|
||||
bzfgqdgllc() {
|
||||
const idArray = ['4TR77UXU6RYHZPFHZND9']
|
||||
return this.checkPermission(idArray)
|
||||
}
|
||||
},
|
||||
mounted () {
|
||||
let width = document.body.clientWidth
|
||||
if (width > 1900) {
|
||||
this.size = true
|
||||
} else {
|
||||
this.size = false
|
||||
}
|
||||
this.type = this.$route.params.type
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style lang="less" scoped>
|
||||
#NewProcess{
|
||||
|
||||
@@ -2747,7 +2747,7 @@ export default {
|
||||
this.OCRModel = false
|
||||
this.OCRSubmitLoading = false
|
||||
if (res.ok) {
|
||||
this.$message.success('OCR实别成功')
|
||||
this.$message.success('OCR识别成功')
|
||||
} else {
|
||||
}
|
||||
},
|
||||
|
||||
+1
-1
@@ -81,7 +81,7 @@ export default {
|
||||
content: ''
|
||||
},
|
||||
linkUri: '',
|
||||
uploadPath: 'uploadPath',
|
||||
uploadPath: 'file',
|
||||
resPk: '',
|
||||
fileList: [],
|
||||
picList: [],
|
||||
|
||||
+111
-2
@@ -537,6 +537,44 @@
|
||||
</el-form-item>
|
||||
</template>
|
||||
<template v-for="field in displayLocation.child">
|
||||
<!--起草单位QCDW-->
|
||||
<template v-if="field.attrField === 'QCDW'">
|
||||
<el-form-item
|
||||
prop="QCDW"
|
||||
label-width="150px"
|
||||
class="add-form-item"
|
||||
>
|
||||
<template slot="label">起草部门</template>
|
||||
<el-input
|
||||
:key="field.attrField"
|
||||
:config="field"
|
||||
clearable
|
||||
v-model="sarBussionessStandEO[field.attrField]"
|
||||
:disabled="formdisableflag" placeholder="选择起草部门"
|
||||
@click.native="choiceQCDW('QCDWId', '起草部门', sarBussionessStandEO.QCDWId)">
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
</template>
|
||||
<!--起草人QCRBUSS-->
|
||||
<template v-if="field.attrField === 'QCRBUSS'">
|
||||
<el-form-item
|
||||
prop="QCRBUSS"
|
||||
label-width="150px"
|
||||
class="add-form-item"
|
||||
>
|
||||
<template slot="label">起草人</template>
|
||||
<el-input v-model="sarBussionessStandEO[field.attrField]" placeholder="选择起草人" @click.native="choiceQCR('QCRBUSS', '选择起草人', sarBussionessStandEO[field.attrField])">
|
||||
</el-input>
|
||||
<!-- <el-input-->
|
||||
<!-- :key="field.attrField"-->
|
||||
<!-- :config="field"-->
|
||||
<!-- clearable-->
|
||||
<!-- v-model="sarStandardsInfoEO['ZRGCS']"-->
|
||||
<!-- :disabled="formdisableflag" placeholder="选择责任工程师"-->
|
||||
<!-- @click.native="choiceRole('ZRGCSUserId', '责任工程师', sarStandardsInfoEO.ZRGCSUserId)">-->
|
||||
<!-- </el-input>-->
|
||||
</el-form-item>
|
||||
</template>
|
||||
<template v-if="field.attrField === 'SVPPS'">
|
||||
<custom-SVPPS
|
||||
:key="field.attrField"
|
||||
@@ -684,7 +722,7 @@
|
||||
:disabled="formdisableflag"
|
||||
></custom-select>
|
||||
</template>
|
||||
<template v-else-if="field.attrType === 'SEL_OPTS'">
|
||||
<template v-else-if="field.attrType === 'SEL_OPTS' && field.attrField !== 'QCDW' && field.attrField !== 'QCRBUSS'">
|
||||
<custom-select-array
|
||||
:key="field.attrField"
|
||||
:config="field"
|
||||
@@ -1150,6 +1188,20 @@
|
||||
@isOk="isOk"
|
||||
></GenerationNumber>
|
||||
|
||||
<Role-tree
|
||||
:is-title="drawerTitle"
|
||||
:is-visible.sync="modalShowRoleFlag"
|
||||
@checkedRole="checkedRole2"
|
||||
:nodeList="nodeList2"
|
||||
></Role-tree>
|
||||
|
||||
<Mechanism-tree
|
||||
is-title="选择部门信息"
|
||||
:is-visible.sync="modalshowflagZRBM"
|
||||
:nodeList="nodeListZRBM"
|
||||
@checkedRole="drawerCheckZRBM"
|
||||
/>
|
||||
|
||||
<!-- 授权人员(上汽全公司选人解决方案) -->
|
||||
<!-- :max-selected="1"-->
|
||||
<!-- max-selected-tips="采购处理人只能为一个人"-->
|
||||
@@ -1913,6 +1965,11 @@ export default {
|
||||
syrzOptions:[],//适用认证下拉框
|
||||
gkglbmOptions:[],//归口管理部门下拉框
|
||||
drawerTitle: '',
|
||||
modalShowRoleFlag: false,
|
||||
nodeList: [],
|
||||
nodeList2: [],
|
||||
nodeListZRBM: [],
|
||||
modalshowflagZRBM: false,
|
||||
addOrUPdateFlag: 1, // 新增:1, 修改:2
|
||||
modalshowflag: false,
|
||||
standSubclassConfigOptions: [], // 企标细类下拉框-所有数据
|
||||
@@ -2826,6 +2883,7 @@ export default {
|
||||
})
|
||||
})
|
||||
this.dynamicFormField = displayLocation
|
||||
console.log('2805',this.dynamicFormField)
|
||||
this.loading = false
|
||||
})
|
||||
this.sarBussionessStandEO = JSON.parse(JSON.stringify(item))
|
||||
@@ -2876,6 +2934,57 @@ export default {
|
||||
// $('#deptBtn').click()
|
||||
$('#deptBtn2').click()
|
||||
},
|
||||
choiceQCR (type, title, id) {
|
||||
console.log('2077',title)
|
||||
this.nodeList = []
|
||||
this.nodeList.push(id)
|
||||
this.userType = type
|
||||
this.drawerTitle = title
|
||||
this.modalShowRoleFlag = true
|
||||
},
|
||||
checkedRole2 (data) {
|
||||
console.log('1712',this.drawerTitle)
|
||||
let idList = ''
|
||||
let nameList = ''
|
||||
data.forEach( item => {
|
||||
if (nameList.length > 0) {
|
||||
nameList += ','
|
||||
idList += ','
|
||||
}
|
||||
idList += item.id
|
||||
nameList += item.name
|
||||
})
|
||||
this.sarBussionessStandEO['QCRBUSS'] = nameList
|
||||
|
||||
},
|
||||
choiceQCDW(type, title, id) {
|
||||
|
||||
|
||||
this.nodeListZRBM = []
|
||||
this.nodeListZRBM.push(id)
|
||||
this.drawerTitle = title
|
||||
this.modalshowflagZRBM = true
|
||||
},
|
||||
drawerCheckZRBM(data) {
|
||||
|
||||
console.log("5389", data);
|
||||
let idList = ''
|
||||
let nameList = ''
|
||||
data.forEach(item => {
|
||||
// if (item.hasChild === '0') {
|
||||
if (nameList.length > 0) {
|
||||
nameList += ','
|
||||
idList += ','
|
||||
}
|
||||
idList += item.id
|
||||
nameList += item.name
|
||||
// }
|
||||
})
|
||||
|
||||
this.sarBussionessStandEO.QCDWId = idList;
|
||||
this.sarBussionessStandEO['QCDW'] = nameList;
|
||||
|
||||
},
|
||||
// 新增-表单空
|
||||
resetForm () {
|
||||
this.modalshowflag = false
|
||||
@@ -3685,7 +3794,7 @@ export default {
|
||||
this.OCRType = type
|
||||
if (type === '0') {
|
||||
text = 'OCR识别'
|
||||
this.OCRTitle = '选择OCR实别文件'
|
||||
this.OCRTitle = '选择OCR识别文件'
|
||||
} else if(type === '1') {
|
||||
text = '拆分'
|
||||
this.OCRTitle = '选择拆分文件'
|
||||
|
||||
@@ -146,7 +146,7 @@
|
||||
:loading="delLoading"
|
||||
size="mini"
|
||||
@click="deleteStand(2)"
|
||||
v-btn-permission="'4d01342db0f56f01bfceaee7b46904f4'"><i class="iconfont"></i>批量删除
|
||||
v-btn-permission="'b299fa5edb3f3f35badb2adb6bda9f2e'"><i class="iconfont"></i>批量删除
|
||||
</el-button>
|
||||
<el-button class="common-button-default"
|
||||
size="mini" @click="configurationStandard"
|
||||
@@ -4237,7 +4237,7 @@ export default {
|
||||
this.OCRType = type
|
||||
if (type === '0') {
|
||||
text = 'OCR识别'
|
||||
this.OCRTitle = '选择OCR实别文件'
|
||||
this.OCRTitle = '选择OCR识别文件'
|
||||
} else if(type === '1') {
|
||||
text = '拆分'
|
||||
this.OCRTitle = '选择拆分文件'
|
||||
|
||||
@@ -158,7 +158,7 @@ export default {
|
||||
pubOrgName: '',
|
||||
content: '',
|
||||
linkUri: '',
|
||||
uploadPath: 'uploadPath',
|
||||
uploadPath: 'file',
|
||||
resPk: '',
|
||||
fileList: [],
|
||||
picList: [],
|
||||
|
||||
+15
-15
@@ -931,7 +931,7 @@ const routes = [
|
||||
component: () => import('@/pages/processCenter/pages/creatProcess/qbrk/step1.vue'),
|
||||
meta: {
|
||||
requireAuth: true,
|
||||
title: '企标制修订流程及企业标准库流程'
|
||||
title: '企标制修订-技术标准'
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -940,7 +940,7 @@ const routes = [
|
||||
component: () => import('@/pages/processCenter/pages/creatProcess/qbrk/step2.vue'),
|
||||
meta: {
|
||||
requireAuth: true,
|
||||
title: '企标制修订流程及企业标准库流程'
|
||||
title: '企标制修订-技术标准'
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -949,7 +949,7 @@ const routes = [
|
||||
component: () => import('@/pages/processCenter/pages/creatProcess/qbrk/step3.vue'),
|
||||
meta: {
|
||||
requireAuth: true,
|
||||
title: '企标制修订流程及企业标准库流程'
|
||||
title: '企标制修订-技术标准'
|
||||
}
|
||||
},{
|
||||
path: '/bussLibraryC3',
|
||||
@@ -957,7 +957,7 @@ const routes = [
|
||||
component: () => import('@/pages/processCenter/pages/creatProcess/qbrk/stepC3.vue'),
|
||||
meta: {
|
||||
requireAuth: true,
|
||||
title: '企标制修订流程及企业标准库流程'
|
||||
title: '企标制修订-技术标准'
|
||||
}
|
||||
},{
|
||||
path: '/bussLibrary4',
|
||||
@@ -965,7 +965,7 @@ const routes = [
|
||||
component: () => import('@/pages/processCenter/pages/creatProcess/qbrk/step4.vue'),
|
||||
meta: {
|
||||
requireAuth: true,
|
||||
title: '企标制修订流程及企业标准库流程'
|
||||
title: '企标制修订-技术标准'
|
||||
}
|
||||
},{
|
||||
path: '/bussLibrary5',
|
||||
@@ -973,7 +973,7 @@ const routes = [
|
||||
component: () => import('@/pages/processCenter/pages/creatProcess/qbrk/step5.vue'),
|
||||
meta: {
|
||||
requireAuth: true,
|
||||
title: '企标制修订流程及企业标准库流程'
|
||||
title: '企标制修订-技术标准'
|
||||
}
|
||||
},{
|
||||
path: '/bussLibrary6',
|
||||
@@ -981,7 +981,7 @@ const routes = [
|
||||
component: () => import('@/pages/processCenter/pages/creatProcess/qbrk/step6.vue'),
|
||||
meta: {
|
||||
requireAuth: true,
|
||||
title: '企标制修订流程及企业标准库流程'
|
||||
title: '企标制修订-技术标准'
|
||||
}
|
||||
},{
|
||||
path: '/bussLibraryC6',
|
||||
@@ -989,7 +989,7 @@ const routes = [
|
||||
component: () => import('@/pages/processCenter/pages/creatProcess/qbrk/stepC6.vue'),
|
||||
meta: {
|
||||
requireAuth: true,
|
||||
title: '企标制修订流程及企业标准库流程'
|
||||
title: '企标制修订-技术标准'
|
||||
}
|
||||
},{
|
||||
path: '/bussLibrary7',
|
||||
@@ -997,7 +997,7 @@ const routes = [
|
||||
component: () => import('@/pages/processCenter/pages/creatProcess/qbrk/step7.vue'),
|
||||
meta: {
|
||||
requireAuth: true,
|
||||
title: '企标制修订流程及企业标准库流程'
|
||||
title: '企标制修订-技术标准'
|
||||
}
|
||||
},{
|
||||
path: '/bussLibrary8',
|
||||
@@ -1005,7 +1005,7 @@ const routes = [
|
||||
component: () => import('@/pages/processCenter/pages/creatProcess/qbrk/step8.vue'),
|
||||
meta: {
|
||||
requireAuth: true,
|
||||
title: '企标制修订流程及企业标准库流程'
|
||||
title: '企标制修订-技术标准'
|
||||
}
|
||||
},{
|
||||
path: '/bussLibrary9',
|
||||
@@ -1013,7 +1013,7 @@ const routes = [
|
||||
component: () => import('@/pages/processCenter/pages/creatProcess/qbrk/step9.vue'),
|
||||
meta: {
|
||||
requireAuth: true,
|
||||
title: '企标制修订流程及企业标准库流程'
|
||||
title: '企标制修订-技术标准'
|
||||
}
|
||||
},{
|
||||
path: '/bussLibrary10',
|
||||
@@ -1021,7 +1021,7 @@ const routes = [
|
||||
component: () => import('@/pages/processCenter/pages/creatProcess/qbrk/step10.vue'),
|
||||
meta: {
|
||||
requireAuth: true,
|
||||
title: '企标制修订流程及企业标准库流程'
|
||||
title: '企标制修订-技术标准'
|
||||
}
|
||||
},{
|
||||
path: '/bussLibrary11',
|
||||
@@ -1029,7 +1029,7 @@ const routes = [
|
||||
component: () => import('@/pages/processCenter/pages/creatProcess/qbrk/step11.vue'),
|
||||
meta: {
|
||||
requireAuth: true,
|
||||
title: '企标制修订流程及企业标准库流程'
|
||||
title: '企标制修订-技术标准'
|
||||
}
|
||||
},{
|
||||
path: '/bussLibrary12',
|
||||
@@ -1037,7 +1037,7 @@ const routes = [
|
||||
component: () => import('@/pages/processCenter/pages/creatProcess/qbrk/step12.vue'),
|
||||
meta: {
|
||||
requireAuth: true,
|
||||
title: '企标制修订流程及企业标准库流程'
|
||||
title: '企标制修订-技术标准'
|
||||
}
|
||||
},{
|
||||
path: '/bussLibraryDetail',
|
||||
@@ -1045,7 +1045,7 @@ const routes = [
|
||||
component: () => import('@/pages/processCenter/pages/creatProcess/qbrk/stepDetail.vue'),
|
||||
meta: {
|
||||
requireAuth: true,
|
||||
title: '企标制修订流程及企业标准库流程'
|
||||
title: '企标制修订-技术标准'
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user