Merge remote-tracking branch 'origin/develop' into develop
|
After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 2.6 KiB |
|
After Width: | Height: | Size: 943 B |
|
After Width: | Height: | Size: 8.6 KiB |
|
After Width: | Height: | Size: 632 B |
|
After Width: | Height: | Size: 6.5 KiB |
|
After Width: | Height: | Size: 17 KiB |
@@ -361,7 +361,7 @@ export default {
|
|||||||
page: 1,
|
page: 1,
|
||||||
pageSize: this.$store.getters.userInfo.configContent,
|
pageSize: this.$store.getters.userInfo.configContent,
|
||||||
total: 0,
|
total: 0,
|
||||||
standType: 'INLAND',
|
standType: 'ALL',
|
||||||
quoteIdList: '',
|
quoteIdList: '',
|
||||||
validFlag: '0'
|
validFlag: '0'
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -329,7 +329,7 @@ export default {
|
|||||||
page: 1,
|
page: 1,
|
||||||
pageSize: this.$store.getters.userInfo.configContent,
|
pageSize: this.$store.getters.userInfo.configContent,
|
||||||
total: 0,
|
total: 0,
|
||||||
standType: 'FOREIGN',
|
standType: 'ALL',
|
||||||
quoteIdList: '',
|
quoteIdList: '',
|
||||||
validFlag: '0'
|
validFlag: '0'
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -434,7 +434,7 @@ export default {
|
|||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
logo () {
|
logo () {
|
||||||
return this.isCollapse ? require('assets/images/shangqi/img/logo-isCollapse.png') : require('assets/images/shangqi/img/logo2.png')
|
return this.isCollapse ? require('assets/images/shangqi/img/logo4.png') : require('assets/images/shangqi/img/logo2.png')
|
||||||
},
|
},
|
||||||
...mapGetters(['getDynamicTotal', 'isCollapse'])
|
...mapGetters(['getDynamicTotal', 'isCollapse'])
|
||||||
},
|
},
|
||||||
@@ -458,7 +458,7 @@ export default {
|
|||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
background: url("~assets/images/shangqi/sideBar/side-bar-isCollapse-bg.png") no-repeat;
|
background: url("~assets/images/shangqi/sideBar/newside-bar-bg1.png") no-repeat;
|
||||||
background-size: 100% 100%;
|
background-size: 100% 100%;
|
||||||
&:not(.is-collapse) {
|
&:not(.is-collapse) {
|
||||||
width: 212px;
|
width: 212px;
|
||||||
|
|||||||
@@ -6,6 +6,7 @@
|
|||||||
:size="width"
|
:size="width"
|
||||||
:append-to-body=true
|
:append-to-body=true
|
||||||
:before-close="cancelUserInfo"
|
:before-close="cancelUserInfo"
|
||||||
|
:show-checkbox="showCheckBox"
|
||||||
>
|
>
|
||||||
<el-tree class="common-tree" :style="style" ref="tree" :data="data" :props="defaultProps"
|
<el-tree class="common-tree" :style="style" ref="tree" :data="data" :props="defaultProps"
|
||||||
:load="loadNode"
|
:load="loadNode"
|
||||||
@@ -111,6 +112,12 @@
|
|||||||
return '';
|
return '';
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
showCheckBox:{
|
||||||
|
type: Boolean,
|
||||||
|
default () {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
},
|
||||||
// 配置是否展开
|
// 配置是否展开
|
||||||
modalShowFlag: {
|
modalShowFlag: {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
|
|||||||
@@ -48,8 +48,10 @@
|
|||||||
width="220px">
|
width="220px">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="url"
|
|
||||||
label="链接">
|
label="链接">
|
||||||
|
<template slot-scope="scope" >
|
||||||
|
<span @click="linkto(scope.row.url)" style="color: #0c91e5;cursor: pointer;text-decoration: underline">{{ scope.row.url }}</span>
|
||||||
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
label="操作"
|
label="操作"
|
||||||
@@ -149,6 +151,10 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
//链接点击跳转,链接形式为http://xxxxxx
|
||||||
|
linkto(link_href){
|
||||||
|
window.open(link_href)
|
||||||
|
},
|
||||||
//头部新增按钮
|
//头部新增按钮
|
||||||
addLink () {
|
addLink () {
|
||||||
this.type = 1
|
this.type = 1
|
||||||
@@ -157,33 +163,46 @@
|
|||||||
},
|
},
|
||||||
//表格中操作列删除操作弹窗
|
//表格中操作列删除操作弹窗
|
||||||
deleteLink (row) {
|
deleteLink (row) {
|
||||||
|
this.$confirm('此操作将删除该链接, 是否继续?', '提示', {
|
||||||
|
confirmButtonText: '确定',
|
||||||
|
cancelButtonText: '取消',
|
||||||
|
type: 'warning'
|
||||||
|
}).then(() => {
|
||||||
|
|
||||||
this.$http.delete('sarUrl/tsUrl/delete', {
|
this.$http.delete('sarUrl/tsUrl/delete', {
|
||||||
id: row.id
|
id: row.id
|
||||||
}, {
|
}, {
|
||||||
_this: this,
|
_this: this,
|
||||||
loading: 'Loading'
|
loading: 'Loading'
|
||||||
}, res => {
|
}, res => {
|
||||||
if (res.ok) {
|
if (res.ok) {
|
||||||
this.$message.success('删除成功')
|
this.$message.success('删除成功')
|
||||||
let arr = []
|
let arr = []
|
||||||
for (let a = 0; a < this.linkList.length; a++) {
|
for (let a = 0; a < this.linkList.length; a++) {
|
||||||
if (this.linkList[a].id === row.id) {
|
if (this.linkList[a].id === row.id) {
|
||||||
this.linkList.splice(a, 1)
|
this.linkList.splice(a, 1)
|
||||||
}
|
}
|
||||||
}
|
|
||||||
this.linkList.forEach((item, index) => {
|
|
||||||
let json = {}
|
|
||||||
json.id = item.id
|
|
||||||
json.orderBy = index + 1
|
|
||||||
arr.push(json)
|
|
||||||
})
|
|
||||||
this.$http.putData('sarUrl/tsUrl/updateOrder', JSON.stringify(arr), {}, res => {
|
|
||||||
this.getLink()
|
|
||||||
})
|
|
||||||
}else {
|
|
||||||
this.$message.warning(res.message)
|
|
||||||
}
|
}
|
||||||
|
this.linkList.forEach((item, index) => {
|
||||||
|
let json = {}
|
||||||
|
json.id = item.id
|
||||||
|
json.orderBy = index + 1
|
||||||
|
arr.push(json)
|
||||||
|
})
|
||||||
|
this.$http.putData('sarUrl/tsUrl/updateOrder', JSON.stringify(arr), {}, res => {
|
||||||
|
this.getLink()
|
||||||
|
})
|
||||||
|
}else {
|
||||||
|
this.$message.warning(res.message)
|
||||||
|
}
|
||||||
})
|
})
|
||||||
|
}).catch(() => {
|
||||||
|
this.$message({
|
||||||
|
type: 'info',
|
||||||
|
message: '已取消删除'
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
},
|
},
|
||||||
//头部删除按钮
|
//头部删除按钮
|
||||||
deleteAllLink() {
|
deleteAllLink() {
|
||||||
@@ -196,28 +215,39 @@
|
|||||||
this.$message.warning('请选择要删除的链接')
|
this.$message.warning('请选择要删除的链接')
|
||||||
} else {
|
} else {
|
||||||
this.modalRole = true
|
this.modalRole = true
|
||||||
|
this.$confirm('此操作将删除链接, 是否继续?', '提示', {
|
||||||
|
confirmButtonText: '确定',
|
||||||
|
cancelButtonText: '取消',
|
||||||
|
type: 'warning'
|
||||||
|
}).then(() => {
|
||||||
this.$http.delete('sarUrl/tsUrl/deleteBatch', {
|
this.$http.delete('sarUrl/tsUrl/deleteBatch', {
|
||||||
ids: this.ids
|
ids: this.ids
|
||||||
}, {}, res => {
|
}, {}, res => {
|
||||||
if (res.ok) {
|
if (res.ok) {
|
||||||
this.$message.success('删除成功')
|
this.$message.success('删除成功')
|
||||||
let arr = this.linkList.filter(items => {
|
let arr = this.linkList.filter(items => {
|
||||||
if (!this.ids.includes(items.id)) return items;
|
if (!this.ids.includes(items.id)) return items;
|
||||||
})
|
})
|
||||||
let newArr = []
|
let newArr = []
|
||||||
arr.forEach((item, index) => {
|
arr.forEach((item, index) => {
|
||||||
let json = {}
|
let json = {}
|
||||||
json.id = item.id
|
json.id = item.id
|
||||||
json.orderBy = index + 1
|
json.orderBy = index + 1
|
||||||
newArr.push(json)
|
newArr.push(json)
|
||||||
})
|
})
|
||||||
this.$http.putData('sarUrl/tsUrl/updateOrder', JSON.stringify(newArr), {}, res => {
|
this.$http.putData('sarUrl/tsUrl/updateOrder', JSON.stringify(newArr), {}, res => {
|
||||||
this.getLink()
|
this.getLink()
|
||||||
})
|
})
|
||||||
}else {
|
}else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
}).catch(() => {
|
||||||
|
this.$message({
|
||||||
|
type: 'info',
|
||||||
|
message: '已取消删除'
|
||||||
|
});
|
||||||
|
});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
//弹窗关闭操作
|
//弹窗关闭操作
|
||||||
|
|||||||
@@ -147,7 +147,8 @@
|
|||||||
},
|
},
|
||||||
sarStandardsInfoRules: {
|
sarStandardsInfoRules: {
|
||||||
name: [
|
name: [
|
||||||
{ required: true, message: '请输入岗位名称', trigger: 'blur' }
|
{ required: true, message: '请输入岗位名称', trigger: 'blur' },
|
||||||
|
{ min: 0, max: 100, message: '长度应不超过100个字符', trigger: 'blur' }
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
modalRole: false,
|
modalRole: false,
|
||||||
|
|||||||
@@ -65,14 +65,14 @@
|
|||||||
</template>
|
</template>
|
||||||
<template
|
<template
|
||||||
v-for="(child, childIndex) in item.half"
|
v-for="(child, childIndex) in item.half"
|
||||||
v-if="child.isShowImp === '0'"
|
v-if="child.isShowImp === '0' && child.attrField !== 'CBCD'"
|
||||||
>
|
>
|
||||||
<!-- 代替标准编号-->
|
<!-- 代替标准编号-->
|
||||||
<div
|
<div
|
||||||
:key="child.id"
|
:key="child.id"
|
||||||
class="modular-item"
|
class="modular-item"
|
||||||
:class="!(childIndex === item.half.length - 1) || childIndex % 2 === 1 ? 'half' : ''"
|
:class="!(childIndex === item.half.length - 1) || childIndex % 2 === 1 ? 'half' : ''"
|
||||||
v-if="child.attrField === 'DTBJH' || child.attrField === 'YYBJ' || child.attrField === 'BYYBJ' || child.attrField === 'CBBH' || child.attrField === 'DXBZ' || child.attrField === 'XGLC' || child.attrField === 'BDTBZBH'"
|
v-if=" child.attrField === 'DTBJH' || child.attrField === 'YYBJ' || child.attrField === 'BYYBJ' || child.attrField === 'CBBH' || child.attrField === 'DXBZ' || child.attrField === 'XGLC' || child.attrField === 'BDTBZBH' || child.attrField === 'BFDTBZ' "
|
||||||
>
|
>
|
||||||
<label class="modular-content-p-name" :title="child.attrName">{{ child.attrName }}</label>
|
<label class="modular-content-p-name" :title="child.attrName">{{ child.attrName }}</label>
|
||||||
<span
|
<span
|
||||||
@@ -189,19 +189,113 @@
|
|||||||
/>
|
/>
|
||||||
<span class="time-text">上传时间:{{ dateFormat(file.modifyTime) }}</span>
|
<span class="time-text">上传时间:{{ dateFormat(file.modifyTime) }}</span>
|
||||||
</template>
|
</template>
|
||||||
<el-button
|
<!-- <el-button-->
|
||||||
@click="showItemsModel(child.attrField)"
|
<!-- @click="showItemsModel(child.attrField)"-->
|
||||||
class="decomposition-btn"
|
<!-- class="decomposition-btn"-->
|
||||||
icon="icon-separate"
|
<!-- icon="icon-separate"-->
|
||||||
>标准分解单</el-button>
|
<!-- >标准分解单</el-button>-->
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</template>
|
</template>
|
||||||
|
<template
|
||||||
|
v-for="(child, childIndex) in item.one"
|
||||||
|
v-if="child.isShowImp === '0' && (item.label !== '关联信息' && (item.label !== '实施日期' && child.attrField !== 'SSRQGJ' && child.attrField !== 'ZCCSSRQGJ' && child.attrField !== 'XCXSSRQGJ' || (childIndex < 6 || item.showAll)) || item.label === '适用范围')"
|
||||||
|
>
|
||||||
|
<div
|
||||||
|
:key="child.id"
|
||||||
|
class="modular-item"
|
||||||
|
>
|
||||||
|
<label class="modular-content-p-name" :title="child.attrName">{{ child.attrName }}</label>
|
||||||
|
<!--相关流程-->
|
||||||
|
<template v-if="child.attrField === 'XGLC' && child.value">
|
||||||
|
<p class="modular-content-p-val">
|
||||||
|
<span v-for="(item, index) in child.value.split(',')" :key="index">
|
||||||
|
<a @click="processCenterClick(item)" style="cursor: pointer;color: #0c91e5;margin-right: 5px;" class="span-line">{{item}}</a>
|
||||||
|
</span>
|
||||||
|
</p>
|
||||||
|
</template>
|
||||||
|
<template
|
||||||
|
v-else-if="child.attrField === 'DTBJH'|| child.attrField === 'BDTBZBH' || child.attrField === 'YYBJ' || child.attrField === 'BYYBJ' || child.attrField === 'CBBH' || child.attrField === 'DXBZ' || child.attrField === 'BFDTBZ'"
|
||||||
|
>
|
||||||
|
<p class="modular-content-p-val" v-if="child.value">
|
||||||
|
<span v-for="(item, index) in child.value.split(',')" :key="index">
|
||||||
|
<a @click="showReplaceStandInfo(item)" style="cursor: pointer;color: #0c91e5;margin-right: 5px;" class="span-line">{{item}}</a>
|
||||||
|
</span>
|
||||||
|
</p>
|
||||||
|
<span class="modular-content-p-val" v-else>-</span>
|
||||||
|
</template>
|
||||||
|
<span
|
||||||
|
v-else-if="child.attrField === 'SVPPS'"
|
||||||
|
class="modular-content-p-val"
|
||||||
|
:title="child.tips || '-'"
|
||||||
|
>
|
||||||
|
{{ !child.value || child.value === 'null' ? '-' : child.value }}
|
||||||
|
</span>
|
||||||
|
<span
|
||||||
|
v-else-if="child.attrType !== 'FILE'"
|
||||||
|
class="modular-content-p-val"
|
||||||
|
:title="child.value || '-'"
|
||||||
|
>
|
||||||
|
{{ child.value || '-' }}
|
||||||
|
</span>
|
||||||
|
<div v-else class="modular-content-p-flies">
|
||||||
|
<p
|
||||||
|
class="files-title"
|
||||||
|
v-for="(file, fileIndex) in child.value"
|
||||||
|
:key="fileIndex"
|
||||||
|
>
|
||||||
|
<!-- <span style="cursor: pointer;" @click="openFileInPdf(file.id, file.oldFileName)">|{{file.id}}|</span>-->
|
||||||
|
<!--发布稿、增补件单独设置下载权限-->
|
||||||
|
<template v-if="child.attrField === 'XGD' || child.attrField === 'FBGBJBD' || child.attrField === 'BPG'
|
||||||
|
|| child.attrField === 'SSG'|| child.attrField === 'ZQYJG'|| child.attrField === 'CA'
|
||||||
|
|| child.attrField === 'JDWJ' || child.attrField === 'GLWJ'">
|
||||||
|
<a @click="openFileInPdf(file.id, file.oldFileName)" target="_blank">{{ file.oldFileName }}</a>
|
||||||
|
<i
|
||||||
|
title="下载"
|
||||||
|
@click="downloadFile(file.id)"
|
||||||
|
class="icon-download"
|
||||||
|
v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? '02fd6eff0537c283dd071683de10689f' : 'a772afab2a6708883335500f3f86e771'"
|
||||||
|
/>
|
||||||
|
<i
|
||||||
|
title="下载带水印"
|
||||||
|
@click="downloadFileByWater(file.id, file.fileSuffix)"
|
||||||
|
class="icon-download2"
|
||||||
|
v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? 'd5b28957b5105c805e90a16fd5056a45' : '824f3bf9edef83fc7488917136167232'"
|
||||||
|
/>
|
||||||
|
<span class="time-text">上传时间:{{ dateFormat(file.modifyTime) }}</span>
|
||||||
|
</template>
|
||||||
|
<template v-else>
|
||||||
|
<a @click="openFileInPdf(file.id, file.oldFileName)" target="_blank">{{ file.oldFileName }}</a>
|
||||||
|
<i
|
||||||
|
title="下载"
|
||||||
|
@click="downloadFile(file.id)"
|
||||||
|
class="icon-download"
|
||||||
|
v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? '02fd6eff0537c283dd071683de10689f' : 'a772afab2a6708883335500f3f86e771'"
|
||||||
|
/>
|
||||||
|
<i
|
||||||
|
title="下载带水印"
|
||||||
|
@click="downloadFileByWater(file.id, file.fileSuffix)"
|
||||||
|
class="icon-download2"
|
||||||
|
v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? 'd5b28957b5105c805e90a16fd5056a45' : '824f3bf9edef83fc7488917136167232'"
|
||||||
|
/>
|
||||||
|
<span class="time-text">上传时间:{{ dateFormat(file.modifyTime) }}</span>
|
||||||
|
</template>
|
||||||
|
</p>
|
||||||
|
<!-- <el-button-->
|
||||||
|
<!-- v-if="child.attrField === 'FBGBJBD' || child.attrField === 'SSG' || child.attrField === 'ZQYJG' || child.attrField === 'BPG' || child.attrField === 'ZBJBD' || child.attrField === 'CA'"-->
|
||||||
|
<!-- @click="showItemsModel(child.attrField)"-->
|
||||||
|
<!-- class="decomposition-btn"-->
|
||||||
|
<!-- icon="icon-separate"-->
|
||||||
|
<!-- >标准分解单</el-button>-->
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</template>
|
||||||
<template
|
<template
|
||||||
v-for="(child, childIndex) in item.one"
|
v-for="(child, childIndex) in item.child"
|
||||||
v-if="child.isShowImp === '0' && (item.label !== '实施日期' || (childIndex < 6 || item.showAll))"
|
v-if="child.isShowImp === '0' && item.label !== '实施日期' && item.label !== '适用范围'"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
:key="child.id"
|
:key="child.id"
|
||||||
@@ -217,7 +311,7 @@
|
|||||||
</p>
|
</p>
|
||||||
</template>
|
</template>
|
||||||
<template
|
<template
|
||||||
v-else-if="child.attrField === 'DTBJH'|| child.attrField === 'BDTBZBH' || child.attrField === 'YYBJ' || child.attrField === 'BYYBJ' || child.attrField === 'CBBH' || child.attrField === 'DXBZ'"
|
v-else-if="child.attrField === 'DTBJH'|| child.attrField === 'BDTBZBH' || child.attrField === 'YYBJ' || child.attrField === 'BYYBJ' || child.attrField === 'CBBH' || child.attrField === 'DXBZ' || child.attrField === 'BFDTBZ'"
|
||||||
>
|
>
|
||||||
<p class="modular-content-p-val" v-if="child.value">
|
<p class="modular-content-p-val" v-if="child.value">
|
||||||
<span v-for="(item, index) in child.value.split(',')" :key="index">
|
<span v-for="(item, index) in child.value.split(',')" :key="index">
|
||||||
@@ -283,12 +377,12 @@
|
|||||||
<span class="time-text">上传时间:{{ dateFormat(file.modifyTime) }}</span>
|
<span class="time-text">上传时间:{{ dateFormat(file.modifyTime) }}</span>
|
||||||
</template>
|
</template>
|
||||||
</p>
|
</p>
|
||||||
<el-button
|
<!-- <el-button-->
|
||||||
v-if="child.attrField === 'FBGBJBD' || child.attrField === 'SSG' || child.attrField === 'ZQYJG' || child.attrField === 'BPG' || child.attrField === 'ZBJBD' || child.attrField === 'CA'"
|
<!-- v-if="child.attrField === 'FBGBJBD' || child.attrField === 'SSG' || child.attrField === 'ZQYJG' || child.attrField === 'BPG' || child.attrField === 'ZBJBD' || child.attrField === 'CA'"-->
|
||||||
@click="showItemsModel(child.attrField)"
|
<!-- @click="showItemsModel(child.attrField)"-->
|
||||||
class="decomposition-btn"
|
<!-- class="decomposition-btn"-->
|
||||||
icon="icon-separate"
|
<!-- icon="icon-separate"-->
|
||||||
>标准分解单</el-button>
|
<!-- >标准分解单</el-button>-->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -404,27 +498,23 @@
|
|||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
prop="itemsNum"
|
prop="itemsNum"
|
||||||
label="条款号"
|
label="条款号"
|
||||||
width="150"
|
|
||||||
>
|
>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
prop="itemsName"
|
prop="itemsName"
|
||||||
label="条款名称"
|
label="条款名称"
|
||||||
width="150"
|
|
||||||
>
|
>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
prop="itemsName"
|
prop="itemsName"
|
||||||
label="条款内容"
|
label="条款内容"
|
||||||
width="150"
|
|
||||||
>
|
>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="termsConditions"
|
prop="termsConditions"
|
||||||
label="解读内容"
|
label="解读内容"
|
||||||
width="250"
|
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
:resizable="false"
|
:resizable="false"
|
||||||
>
|
>
|
||||||
@@ -433,28 +523,28 @@
|
|||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
show-overflow-tooltip
|
prop="XCXSSRQ"
|
||||||
prop="putTime"
|
label="新车型实施日期(文本)"
|
||||||
label="实施日期"
|
width="180">
|
||||||
width="150"
|
</el-table-column>
|
||||||
>
|
<el-table-column
|
||||||
|
prop="ZCCSSRQ"
|
||||||
|
label="在产车实施日期(文本)"
|
||||||
|
width="180">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
prop="putTime"
|
prop="putTime"
|
||||||
label="适用车型"
|
label="适用车型"
|
||||||
width="150"
|
|
||||||
>
|
>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="responsibleUnitShow"
|
prop="responsibleUnitShow"
|
||||||
label="责任部门"
|
label="责任部门">
|
||||||
width="150">
|
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="zrgcs"
|
prop="zrgcs"
|
||||||
label="责任工程师"
|
label="责任工程师">
|
||||||
width="150">
|
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="dutyEngineerShow"
|
prop="dutyEngineerShow"
|
||||||
@@ -464,13 +554,11 @@
|
|||||||
<el-table-column
|
<el-table-column
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
prop="svppsShow"
|
prop="svppsShow"
|
||||||
label="符合性状态"
|
label="符合性状态">
|
||||||
width="150">
|
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="applyArcticShow"
|
prop="applyArcticShow"
|
||||||
label="合规性分析"
|
label="合规性分析">
|
||||||
width="150">
|
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="操作" align="center" width="50" fixed="right">
|
<el-table-column label="操作" align="center" width="50" fixed="right">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
@@ -1267,6 +1355,9 @@ export default {
|
|||||||
},
|
},
|
||||||
watch: {},
|
watch: {},
|
||||||
methods: {
|
methods: {
|
||||||
|
FormatDate(date){
|
||||||
|
return moment(date).format('YYYY-MM-DD');
|
||||||
|
},
|
||||||
// 将文本状态的id与name对应
|
// 将文本状态的id与name对应
|
||||||
setMap(data){
|
setMap(data){
|
||||||
data.forEach(item => {
|
data.forEach(item => {
|
||||||
@@ -2170,7 +2261,7 @@ export default {
|
|||||||
this.$message.error('水印下载仅支持PDF,pdf格式文件')
|
this.$message.error('水印下载仅支持PDF,pdf格式文件')
|
||||||
} else {
|
} else {
|
||||||
if (attId != null && attId !== '') {
|
if (attId != null && attId !== '') {
|
||||||
window.location.href = '/api/att/attFile/downloadFileForSarWaterMark?fileId=' + attId
|
window.location.href = '/api/att/attFile/downloadFileForSarWaterMark?fileId=' + attId + '&userId=' + this.$store.getters.userInfo.userId
|
||||||
} else {
|
} else {
|
||||||
this.$message.error('请选择要下载的文件')
|
this.$message.error('请选择要下载的文件')
|
||||||
}
|
}
|
||||||
@@ -2703,8 +2794,8 @@ export default {
|
|||||||
location.half = half
|
location.half = half
|
||||||
location.showAll = false
|
location.showAll = false
|
||||||
})
|
})
|
||||||
this.$http.get('sarSarAccessInfo/sar-sar-access-info/selectProTimeInfoByStandId', {
|
this.$http.get('sarLawsAttrDetailedList/sar-laws-attr-detailed-list', {
|
||||||
standId: this.$route.params.id
|
id: this.$route.params.id
|
||||||
}, {
|
}, {
|
||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
@@ -2721,7 +2812,7 @@ export default {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
this.dynamicFormField = displayLocation
|
this.dynamicFormField = displayLocation
|
||||||
console.log(this.dynamicFormField)
|
console.log(this.dynamicFormField)
|
||||||
})
|
})
|
||||||
sessionStorage.setItem('displayLocation', JSON.stringify(displayLocation))
|
sessionStorage.setItem('displayLocation', JSON.stringify(displayLocation))
|
||||||
this.loading = false
|
this.loading = false
|
||||||
|
|||||||
@@ -146,7 +146,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<ProcessFooter
|
<ProcessFooter
|
||||||
show-save
|
|
||||||
show-submit
|
show-submit
|
||||||
:submitLoading="isSubmit"
|
:submitLoading="isSubmit"
|
||||||
:saveLoading="saveLoading"
|
:saveLoading="saveLoading"
|
||||||
@@ -328,11 +327,11 @@
|
|||||||
var fileSuffix = filename.substring(index1, index2)
|
var fileSuffix = filename.substring(index1, index2)
|
||||||
// const fileSuffix = file.name.split('.')[1] // 后缀名
|
// const fileSuffix = file.name.split('.')[1] // 后缀名
|
||||||
// 判断上传文件格式
|
// 判断上传文件格式
|
||||||
if (fileSuffix === '.ppt' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.PPT' || fileSuffix === '.xls' || fileSuffix === '.xlsx'|| fileSuffix === '.pdf'|| fileSuffix === '.PDF'|| fileSuffix === '.jpg'|| fileSuffix === '.JPG'|| fileSuffix === '.png'|| fileSuffix === '.PNG') {
|
if (fileSuffix === '.ppt' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.PPT' || fileSuffix === '.xls' || fileSuffix === '.xlsx') {
|
||||||
return true
|
return true
|
||||||
} else {
|
} else {
|
||||||
this.spinShow = false
|
this.spinShow = false
|
||||||
this.$message.error('文件' + file.name + '格式不正确,请上传PPT,DOCX,XLS,PDF文件或图片')
|
this.$message.error('文件' + file.name + '格式不正确,请上传PPT,DOCX,XLS文件')
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
// 判断文件上传大小
|
// 判断文件上传大小
|
||||||
|
|||||||
@@ -318,11 +318,11 @@ export default {
|
|||||||
var fileSuffix = filename.substring(index1, index2)
|
var fileSuffix = filename.substring(index1, index2)
|
||||||
// const fileSuffix = file.name.split('.')[1] // 后缀名
|
// const fileSuffix = file.name.split('.')[1] // 后缀名
|
||||||
// 判断上传文件格式
|
// 判断上传文件格式
|
||||||
if (fileSuffix === '.ppt' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.PPT' || fileSuffix === '.xls' || fileSuffix === '.xlsx'|| fileSuffix === '.pdf'|| fileSuffix === '.PDF'|| fileSuffix === '.jpg'|| fileSuffix === '.JPG'|| fileSuffix === '.png'|| fileSuffix === '.PNG') {
|
if (fileSuffix === '.ppt' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.PPT' || fileSuffix === '.xls' || fileSuffix === '.xlsx') {
|
||||||
return true
|
return true
|
||||||
} else {
|
} else {
|
||||||
this.spinShow = false
|
this.spinShow = false
|
||||||
this.$message.error('文件' + file.name + '格式不正确,请上传PPT,DOCX,XLS,PDF文件或图片')
|
this.$message.error('文件' + file.name + '格式不正确,请上传PPT,DOCX,XLS文件')
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
// 判断文件上传大小
|
// 判断文件上传大小
|
||||||
|
|||||||
@@ -147,7 +147,6 @@
|
|||||||
</el-table>
|
</el-table>
|
||||||
</div>
|
</div>
|
||||||
<ProcessFooter
|
<ProcessFooter
|
||||||
show-save
|
|
||||||
show-submit
|
show-submit
|
||||||
:submitLoading="isSubmit"
|
:submitLoading="isSubmit"
|
||||||
:saveLoading="saveLoading"
|
:saveLoading="saveLoading"
|
||||||
@@ -237,11 +236,11 @@
|
|||||||
var fileSuffix = filename.substring(index1, index2)
|
var fileSuffix = filename.substring(index1, index2)
|
||||||
// const fileSuffix = file.name.split('.')[1] // 后缀名
|
// const fileSuffix = file.name.split('.')[1] // 后缀名
|
||||||
// 判断上传文件格式
|
// 判断上传文件格式
|
||||||
if (fileSuffix === '.ppt' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.PPT' || fileSuffix === '.xls' || fileSuffix === '.xlsx'|| fileSuffix === '.pdf'|| fileSuffix === '.PDF'|| fileSuffix === '.jpg'|| fileSuffix === '.JPG'|| fileSuffix === '.png'|| fileSuffix === '.PNG') {
|
if (fileSuffix === '.ppt' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.PPT' || fileSuffix === '.xls' || fileSuffix === '.xlsx') {
|
||||||
return true
|
return true
|
||||||
} else {
|
} else {
|
||||||
this.spinShow = false
|
this.spinShow = false
|
||||||
this.$message.error('文件' + file.name + '格式不正确,请上传PPT,DOCX,XLS,PDF文件或图片')
|
this.$message.error('文件' + file.name + '格式不正确,请上传PPT,DOCX,XLS文件')
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
// 判断文件上传大小
|
// 判断文件上传大小
|
||||||
|
|||||||
@@ -135,7 +135,6 @@
|
|||||||
</el-table>
|
</el-table>
|
||||||
</div>
|
</div>
|
||||||
<ProcessFooter
|
<ProcessFooter
|
||||||
show-save
|
|
||||||
show-submit
|
show-submit
|
||||||
:submitLoading="isSubmit"
|
:submitLoading="isSubmit"
|
||||||
:saveLoading="saveLoading"
|
:saveLoading="saveLoading"
|
||||||
|
|||||||
@@ -174,7 +174,6 @@
|
|||||||
</el-table>
|
</el-table>
|
||||||
</div>
|
</div>
|
||||||
<ProcessFooter
|
<ProcessFooter
|
||||||
show-save
|
|
||||||
show-submit
|
show-submit
|
||||||
:submitLoading="isSubmit"
|
:submitLoading="isSubmit"
|
||||||
:saveLoading="saveLoading"
|
:saveLoading="saveLoading"
|
||||||
@@ -261,11 +260,11 @@
|
|||||||
var fileSuffix = filename.substring(index1, index2)
|
var fileSuffix = filename.substring(index1, index2)
|
||||||
// const fileSuffix = file.name.split('.')[1] // 后缀名
|
// const fileSuffix = file.name.split('.')[1] // 后缀名
|
||||||
// 判断上传文件格式
|
// 判断上传文件格式
|
||||||
if (fileSuffix === '.ppt' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.PPT' || fileSuffix === '.xls' || fileSuffix === '.xlsx'|| fileSuffix === '.pdf'|| fileSuffix === '.PDF'|| fileSuffix === '.jpg'|| fileSuffix === '.JPG'|| fileSuffix === '.png'|| fileSuffix === '.PNG') {
|
if (fileSuffix === '.ppt' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.PPT' || fileSuffix === '.xls' || fileSuffix === '.xlsx') {
|
||||||
return true
|
return true
|
||||||
} else {
|
} else {
|
||||||
this.spinShow = false
|
this.spinShow = false
|
||||||
this.$message.error('文件' + file.name + '格式不正确,请上传PPT,DOCX,XLS,PDF文件或图片')
|
this.$message.error('文件' + file.name + '格式不正确,请上传PPT,DOCX,XLS文件')
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
// 判断文件上传大小
|
// 判断文件上传大小
|
||||||
|
|||||||
@@ -259,11 +259,11 @@
|
|||||||
var fileSuffix = filename.substring(index1, index2)
|
var fileSuffix = filename.substring(index1, index2)
|
||||||
// const fileSuffix = file.name.split('.')[1] // 后缀名
|
// const fileSuffix = file.name.split('.')[1] // 后缀名
|
||||||
// 判断上传文件格式
|
// 判断上传文件格式
|
||||||
if (fileSuffix === '.ppt' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.PPT' || fileSuffix === '.xls' || fileSuffix === '.xlsx'|| fileSuffix === '.pdf'|| fileSuffix === '.PDF'|| fileSuffix === '.jpg'|| fileSuffix === '.JPG'|| fileSuffix === '.png'|| fileSuffix === '.PNG') {
|
if (fileSuffix === '.ppt' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.PPT' || fileSuffix === '.xls' || fileSuffix === '.xlsx') {
|
||||||
return true
|
return true
|
||||||
} else {
|
} else {
|
||||||
this.spinShow = false
|
this.spinShow = false
|
||||||
this.$message.error('文件' + file.name + '格式不正确,请上传PPT,DOCX,XLS,PDF文件或图片')
|
this.$message.error('文件' + file.name + '格式不正确,请上传PPT,DOCX,XLS文件')
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
// 判断文件上传大小
|
// 判断文件上传大小
|
||||||
|
|||||||
@@ -259,11 +259,11 @@
|
|||||||
var fileSuffix = filename.substring(index1, index2)
|
var fileSuffix = filename.substring(index1, index2)
|
||||||
// const fileSuffix = file.name.split('.')[1] // 后缀名
|
// const fileSuffix = file.name.split('.')[1] // 后缀名
|
||||||
// 判断上传文件格式
|
// 判断上传文件格式
|
||||||
if (fileSuffix === '.ppt' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.PPT' || fileSuffix === '.xls' || fileSuffix === '.xlsx'|| fileSuffix === '.pdf'|| fileSuffix === '.PDF'|| fileSuffix === '.jpg'|| fileSuffix === '.JPG'|| fileSuffix === '.png'|| fileSuffix === '.PNG') {
|
if (fileSuffix === '.ppt' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.PPT' || fileSuffix === '.xls' || fileSuffix === '.xlsx') {
|
||||||
return true
|
return true
|
||||||
} else {
|
} else {
|
||||||
this.spinShow = false
|
this.spinShow = false
|
||||||
this.$message.error('文件' + file.name + '格式不正确,请上传PPT,DOCX,XLS,PDF文件或图片')
|
this.$message.error('文件' + file.name + '格式不正确,请上传PPT,DOCX,XLS文件')
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
// 判断文件上传大小
|
// 判断文件上传大小
|
||||||
|
|||||||
@@ -259,11 +259,11 @@
|
|||||||
var fileSuffix = filename.substring(index1, index2)
|
var fileSuffix = filename.substring(index1, index2)
|
||||||
// const fileSuffix = file.name.split('.')[1] // 后缀名
|
// const fileSuffix = file.name.split('.')[1] // 后缀名
|
||||||
// 判断上传文件格式
|
// 判断上传文件格式
|
||||||
if (fileSuffix === '.ppt' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.PPT' || fileSuffix === '.xls' || fileSuffix === '.xlsx'|| fileSuffix === '.pdf'|| fileSuffix === '.PDF'|| fileSuffix === '.jpg'|| fileSuffix === '.JPG'|| fileSuffix === '.png'|| fileSuffix === '.PNG') {
|
if (fileSuffix === '.ppt' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.PPT' || fileSuffix === '.xls' || fileSuffix === '.xlsx') {
|
||||||
return true
|
return true
|
||||||
} else {
|
} else {
|
||||||
this.spinShow = false
|
this.spinShow = false
|
||||||
this.$message.error('文件' + file.name + '格式不正确,请上传PPT,DOCX,XLS,PDF文件或图片')
|
this.$message.error('文件' + file.name + '格式不正确,请上传PPT,DOCX,XLS文件')
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
// 判断文件上传大小
|
// 判断文件上传大小
|
||||||
|
|||||||
@@ -259,11 +259,11 @@
|
|||||||
var fileSuffix = filename.substring(index1, index2)
|
var fileSuffix = filename.substring(index1, index2)
|
||||||
// const fileSuffix = file.name.split('.')[1] // 后缀名
|
// const fileSuffix = file.name.split('.')[1] // 后缀名
|
||||||
// 判断上传文件格式
|
// 判断上传文件格式
|
||||||
if (fileSuffix === '.ppt' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.PPT' || fileSuffix === '.xls' || fileSuffix === '.xlsx'|| fileSuffix === '.pdf'|| fileSuffix === '.PDF'|| fileSuffix === '.jpg'|| fileSuffix === '.JPG'|| fileSuffix === '.png'|| fileSuffix === '.PNG') {
|
if (fileSuffix === '.ppt' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.PPT' || fileSuffix === '.xls' || fileSuffix === '.xlsx') {
|
||||||
return true
|
return true
|
||||||
} else {
|
} else {
|
||||||
this.spinShow = false
|
this.spinShow = false
|
||||||
this.$message.error('文件' + file.name + '格式不正确,请上传PPT,DOCX,XLS,PDF文件或图片')
|
this.$message.error('文件' + file.name + '格式不正确,请上传PPT,DOCX,XLS文件')
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
// 判断文件上传大小
|
// 判断文件上传大小
|
||||||
|
|||||||
@@ -165,7 +165,7 @@
|
|||||||
<el-input
|
<el-input
|
||||||
v-model="roleForm.deptUserIdName"
|
v-model="roleForm.deptUserIdName"
|
||||||
placeholder="选择标准法规部部长"
|
placeholder="选择标准法规部部长"
|
||||||
@click.native="choiceZRR('deptUserId', '选择标准法规部部长', roleForm.deptUserId)"
|
@click.native="choiceZRRS(roleForm.deptUserId, 0, '')"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
@@ -313,58 +313,63 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</el-drawer>
|
</el-drawer>
|
||||||
<el-drawer
|
<Role-tree
|
||||||
:title="drawerTitle"
|
check-box
|
||||||
:visible.sync="modalshowflag"
|
:is-title="drawerTitle"
|
||||||
:wrapperClosable="false"
|
:is-visible.sync="modalshowflag"
|
||||||
size="800px">
|
@checkedRole="saveUserInfo"
|
||||||
<el-tree
|
:nodeList="nodeList"
|
||||||
v-if="modalshowflag"
|
></Role-tree>
|
||||||
node-key="id"
|
<!-- <el-drawer-->
|
||||||
style="height: 100%; overflow: auto;"
|
<!-- :title="drawerTitle"-->
|
||||||
class="filter-tree"
|
<!-- :visible.sync="modalshowflag"-->
|
||||||
:data="treeData"
|
<!-- :wrapperClosable="false"-->
|
||||||
:props="defaultProps"
|
<!-- size="800px">-->
|
||||||
:default-checked-keys="nodeList"
|
<!-- <el-tree-->
|
||||||
highlight-current
|
<!-- v-if="modalshowflag"-->
|
||||||
check-strictly
|
<!-- node-key="id"-->
|
||||||
@check="drawerCheck"
|
<!-- style="height: 100%; overflow: auto;"-->
|
||||||
default-expand-all
|
<!-- class="filter-tree"-->
|
||||||
:expand-on-click-node="false"
|
<!-- :data="treeData"-->
|
||||||
show-checkbox
|
<!-- :props="defaultProps"-->
|
||||||
ref="tree">
|
<!-- :default-checked-keys="nodeList"-->
|
||||||
</el-tree>
|
<!-- highlight-current-->
|
||||||
<div id="roleFormButton" class="demo-drawer-footer">
|
<!-- check-strictly-->
|
||||||
<el-button class="common-button-primary" size="mini" icon="el-icon-check" type="primary" @click="saveUserInfo">确定</el-button>
|
<!-- @check="drawerCheck"-->
|
||||||
<el-button class="common-button-default" size="mini" icon="el-icon-close" @click="cancleUserInfo">取消</el-button>
|
<!-- :expand-on-click-node="false"-->
|
||||||
</div>
|
<!-- show-checkbox-->
|
||||||
</el-drawer>
|
<!-- ref="tree">-->
|
||||||
<el-drawer
|
<!-- </el-tree>-->
|
||||||
title="选择责任部门对接人"
|
<!-- <div id="roleFormButton" class="demo-drawer-footer">-->
|
||||||
:visible.sync="modalshowflag2"
|
<!-- <el-button class="common-button-primary" size="mini" icon="el-icon-check" type="primary" @click="saveUserInfo">确定</el-button>-->
|
||||||
:wrapperClosable="false"
|
<!-- <el-button class="common-button-default" size="mini" icon="el-icon-close" @click="cancleUserInfo">取消</el-button>-->
|
||||||
size="800px">
|
<!-- </div>-->
|
||||||
<el-tree
|
<!-- </el-drawer>-->
|
||||||
v-if="modalshowflag2"
|
<!-- <el-drawer-->
|
||||||
node-key="id"
|
<!-- title="选择责任部门对接人"-->
|
||||||
style="height: 100%; overflow: auto;"
|
<!-- :visible.sync="modalshowflag2"-->
|
||||||
class="filter-tree"
|
<!-- :wrapperClosable="false"-->
|
||||||
:data="treeData"
|
<!-- size="800px">-->
|
||||||
:props="defaultProps"
|
<!-- <el-tree-->
|
||||||
:default-checked-keys="nodeList2"
|
<!-- v-if="modalshowflag2"-->
|
||||||
highlight-current
|
<!-- node-key="id"-->
|
||||||
check-strictly
|
<!-- style="height: 100%; overflow: auto;"-->
|
||||||
@check="drawerCheck2"
|
<!-- class="filter-tree"-->
|
||||||
default-expand-all
|
<!-- :data="treeData"-->
|
||||||
:expand-on-click-node="false"
|
<!-- :props="defaultProps"-->
|
||||||
show-checkbox
|
<!-- :default-checked-keys="nodeList2"-->
|
||||||
ref="tree2">
|
<!-- highlight-current-->
|
||||||
</el-tree>
|
<!-- check-strictly-->
|
||||||
<div id="roleFormButton2" class="demo-drawer-footer">
|
<!-- @check="drawerCheck2"-->
|
||||||
<el-button class="common-button-primary" size="mini" icon="el-icon-check" type="primary" @click="saveUserInfo2">确定</el-button>
|
<!-- :expand-on-click-node="false"-->
|
||||||
<el-button class="common-button-default" size="mini" icon="el-icon-close" @click="cancleUserInfo2">取消</el-button>
|
<!-- show-checkbox-->
|
||||||
</div>
|
<!-- ref="tree2">-->
|
||||||
</el-drawer>
|
<!-- </el-tree>-->
|
||||||
|
<!-- <div id="roleFormButton2" class="demo-drawer-footer">-->
|
||||||
|
<!-- <el-button class="common-button-primary" size="mini" icon="el-icon-check" type="primary" @click="saveUserInfo2">确定</el-button>-->
|
||||||
|
<!-- <el-button class="common-button-default" size="mini" icon="el-icon-close" @click="cancleUserInfo2">取消</el-button>-->
|
||||||
|
<!-- </div>-->
|
||||||
|
<!-- </el-drawer>-->
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -392,6 +397,7 @@
|
|||||||
saveLoading: false,
|
saveLoading: false,
|
||||||
// 基础信息form表单
|
// 基础信息form表单
|
||||||
form: {
|
form: {
|
||||||
|
id: '',
|
||||||
itemsNum: '',
|
itemsNum: '',
|
||||||
itemsName: '',
|
itemsName: '',
|
||||||
standId: '',
|
standId: '',
|
||||||
@@ -570,7 +576,7 @@
|
|||||||
this.listModel = false;
|
this.listModel = false;
|
||||||
this.listModel2 = true
|
this.listModel2 = true
|
||||||
this.$http.get('lawss/sarFileSplitItems/getSplitItemsByPage', {
|
this.$http.get('lawss/sarFileSplitItems/getSplitItemsByPage', {
|
||||||
infoId: this.form.id,
|
infoId: this.form.standId,
|
||||||
page: 1,
|
page: 1,
|
||||||
pageSize: 9999
|
pageSize: 9999
|
||||||
}, {
|
}, {
|
||||||
@@ -621,46 +627,25 @@
|
|||||||
},
|
},
|
||||||
/*** **********************************************/
|
/*** **********************************************/
|
||||||
/** 流程节点负责人的选择 *****************************/
|
/** 流程节点负责人的选择 *****************************/
|
||||||
choiceZRR (type, title, id) {
|
saveUserInfo (data) {
|
||||||
this.nodeList = []
|
if (this.type === 0) {
|
||||||
this.nodeList.push(id)
|
this.roleForm.deptUserId = data[0].id
|
||||||
this.type = type
|
this.roleForm.deptUserIdName = data[0].name
|
||||||
this.drawerTitle = title
|
} else if (this.type === 1) {
|
||||||
this.modalshowflag = true
|
this.itemList[this.zrIndex].zrUserId = data[0].id
|
||||||
},
|
this.itemList[this.zrIndex].zrUserIdName = data[0].name
|
||||||
getTree () {
|
} else {
|
||||||
this.$http.get('SarInstitution/institution/institutionAndUser', {}, {}, res=> {
|
this.itemList.forEach( item => {
|
||||||
this.treeData = res.data
|
this.zrIdList.forEach( items => {
|
||||||
})
|
if (item.id === items) {
|
||||||
},
|
item.zrUserId = data[0].id
|
||||||
saveUserInfo () {
|
item.zrUserIdName = data[0].name
|
||||||
if (this.type === 'deptUserId') {
|
}
|
||||||
this.roleForm.deptUserId = this.roleRow.id
|
})
|
||||||
this.roleForm.deptUserIdName = this.roleRow.name
|
})
|
||||||
}
|
}
|
||||||
this.modalshowflag = false
|
this.modalshowflag = false
|
||||||
},
|
},
|
||||||
cancleUserInfo () {
|
|
||||||
this.modalshowflag = false
|
|
||||||
},
|
|
||||||
drawerCheck (data) {
|
|
||||||
var getlist = this.$refs.tree.getCheckedNodes().concat(this.$refs.tree.getHalfCheckedNodes());
|
|
||||||
if(getlist.length == 1) {
|
|
||||||
this.roleRow = getlist[0]
|
|
||||||
}else {
|
|
||||||
this.$refs.tree.setCheckedKeys([data.id]);
|
|
||||||
this.roleRow = this.$refs.tree.getCheckedNodes()[0]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
drawerCheck2 (data) {
|
|
||||||
var getlist = this.$refs.tree2.getCheckedNodes().concat(this.$refs.tree2.getHalfCheckedNodes());
|
|
||||||
if(getlist.length == 1) {
|
|
||||||
this.roleRow = getlist[0]
|
|
||||||
}else {
|
|
||||||
this.$refs.tree2.setCheckedKeys([data.id]);
|
|
||||||
this.roleRow = this.$refs.tree2.getCheckedNodes()[0]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
handleSelectionChange (val) {
|
handleSelectionChange (val) {
|
||||||
this.zrIdList = []
|
this.zrIdList = []
|
||||||
val.forEach( item => {
|
val.forEach( item => {
|
||||||
@@ -668,51 +653,30 @@
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
choiceZRRS (row, type, index) {
|
choiceZRRS (row, type, index) {
|
||||||
|
this.type = type
|
||||||
if (type === 1) {
|
if (type === 1) {
|
||||||
this.nodeList2 = []
|
this.drawerTitle = '选择责任人'
|
||||||
this.zrIndex= index
|
this.nodeList = []
|
||||||
|
this.zrIndex = index
|
||||||
this.zrType = type
|
this.zrType = type
|
||||||
this.nodeList2.push(row)
|
this.nodeList.push(row)
|
||||||
this.modalshowflag2 = true
|
this.modalshowflag = true
|
||||||
} else {
|
} else if (type === 2) {
|
||||||
// 批量
|
// 批量
|
||||||
if (this.zrIdList.length > 0) {
|
if (this.zrIdList.length > 0) {
|
||||||
this.zrType = type
|
this.zrType = type
|
||||||
this.nodeList2 = []
|
this.nodeList = []
|
||||||
this.modalshowflag2 = true
|
this.modalshowflag = true
|
||||||
|
this.drawerTitle = '批量选择责任人'
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning('请选择要编辑的数据')
|
this.$message.warning('请选择要编辑的数据')
|
||||||
}
|
}
|
||||||
}
|
|
||||||
},
|
|
||||||
saveUserInfo2 () {
|
|
||||||
var idList = ''
|
|
||||||
var nameList = ''
|
|
||||||
this.$refs.tree2.getCheckedNodes().concat(this.$refs.tree2.getHalfCheckedNodes()).forEach( item => {
|
|
||||||
if (nameList.length > 0) {
|
|
||||||
nameList += ','
|
|
||||||
idList += ','
|
|
||||||
}
|
|
||||||
idList += item.id
|
|
||||||
nameList += item.name
|
|
||||||
})
|
|
||||||
if (this.zrType == 1) {
|
|
||||||
this.itemList[this.zrIndex].zrUserId = idList
|
|
||||||
this.itemList[this.zrIndex].zrUserIdName = nameList
|
|
||||||
} else {
|
} else {
|
||||||
this.itemList.forEach( item => {
|
this.nodeList = []
|
||||||
this.zrIdList.forEach( items => {
|
this.nodeList.push(row)
|
||||||
if (item.id === items) {
|
this.drawerTitle = '选择标准法规部部长'
|
||||||
item.zrUserId = idList
|
this.modalshowflag = true
|
||||||
item.zrUserIdName = nameList
|
|
||||||
}
|
|
||||||
})
|
|
||||||
})
|
|
||||||
}
|
}
|
||||||
this.modalshowflag2 = false
|
|
||||||
},
|
|
||||||
cancleUserInfo2 () {
|
|
||||||
this.modalshowflag2 = false
|
|
||||||
},
|
},
|
||||||
handleTabs(name) {
|
handleTabs(name) {
|
||||||
this.active = name
|
this.active = name
|
||||||
@@ -766,7 +730,6 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted () {
|
mounted () {
|
||||||
this.getTree()
|
|
||||||
this.sarStandCompareHis()
|
this.sarStandCompareHis()
|
||||||
this.sarStandCompareHis2()
|
this.sarStandCompareHis2()
|
||||||
this.tableHeight = $('.content').height() - 44
|
this.tableHeight = $('.content').height() - 44
|
||||||
|
|||||||
@@ -49,26 +49,25 @@
|
|||||||
></el-input>
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="附件" prop="fileName" class="add-form-item form-item-disabled">
|
<el-form-item label="附件" prop="fileName" class="add-form-item form-item-disabled">
|
||||||
<div class="file-box" v-if="listForm.fileName">
|
<div>
|
||||||
<p>{{listForm.fileName}}
|
<p>
|
||||||
|
{{ listForm.fileName }}
|
||||||
|
<el-upload
|
||||||
|
:action="uploadFileListPath"
|
||||||
|
show-file-list
|
||||||
|
:file-list="fileInfoList"
|
||||||
|
name="file"
|
||||||
|
accept=".PDF, .pdf, .doc, .DOC, .docx, .DOCX, .xls, .xlsx, .ppt, .pptx, .PPT, .PPTX, .JPG, .JPEG, .PNG, .jpg, .jpeg, .png"
|
||||||
|
:on-remove="delFileInfo"
|
||||||
|
:on-success="uploadBackSuccess"
|
||||||
|
:before-upload="beforeUpload"
|
||||||
|
>
|
||||||
|
<el-button class="common-button-default" size="mini">
|
||||||
|
点击上传
|
||||||
|
</el-button>
|
||||||
|
</el-upload>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
|
||||||
<el-upload
|
|
||||||
:action="uploadFileListPath"
|
|
||||||
show-file-list
|
|
||||||
:file-list="fileInfoList"
|
|
||||||
name="file"
|
|
||||||
accept=".PDF, .pdf, .doc, .DOC, .docx, .DOCX, .xls, .xlsx, .ppt, .pptx, .PPT, .PPTX, .JPG, .JPEG, .PNG, .jpg, .jpeg, .png"
|
|
||||||
:on-remove="delFileInfo"
|
|
||||||
:on-success="uploadBackSuccess"
|
|
||||||
:before-upload="beforeUpload"
|
|
||||||
>
|
|
||||||
<el-button class="common-button-default" size="mini">
|
|
||||||
点击上传
|
|
||||||
</el-button>
|
|
||||||
</el-upload>
|
|
||||||
</div>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="会签" prop="sign" class="add-form-item form-item-disabled">
|
<el-form-item label="会签" prop="sign" class="add-form-item form-item-disabled">
|
||||||
<el-radio-group v-model="signFlag" @change="selectSign">
|
<el-radio-group v-model="signFlag" @change="selectSign">
|
||||||
@@ -741,17 +740,13 @@ export default {
|
|||||||
},
|
},
|
||||||
roleForm: {
|
roleForm: {
|
||||||
startUserName: this.$store.getters.userInfo.userName,
|
startUserName: this.$store.getters.userInfo.userName,
|
||||||
startUser: this.$store.getters.userInfo.id,
|
startUser: this.$store.getters.userInfo.userId,
|
||||||
dockUser: "",
|
dockUser: "",
|
||||||
responUserList: "",
|
|
||||||
ministerUser: "",
|
ministerUser: "",
|
||||||
directorUser: "",
|
directorUser: "",
|
||||||
presidentUser: "",
|
|
||||||
dockUserName: "",
|
dockUserName: "",
|
||||||
responUserListName: "",
|
|
||||||
ministerUserName: "",
|
ministerUserName: "",
|
||||||
directorUserName: "",
|
directorUserName: "",
|
||||||
presidentUserName: ""
|
|
||||||
},
|
},
|
||||||
formRules: {
|
formRules: {
|
||||||
listType: [
|
listType: [
|
||||||
@@ -806,7 +801,7 @@ export default {
|
|||||||
modelName: "",
|
modelName: "",
|
||||||
standId: "", //选择的清单的id
|
standId: "", //选择的清单的id
|
||||||
signFlag: "1", //是否会签 1为会签 2为不会签
|
signFlag: "1", //是否会签 1为会签 2为不会签
|
||||||
inforlist: "", //用来存放标准列表的标准id
|
inforlist: " ", //用来存放标准列表的标准id
|
||||||
dataList: [{
|
dataList: [{
|
||||||
code: "", //标准号
|
code: "", //标准号
|
||||||
standName: "", //标准名称
|
standName: "", //标准名称
|
||||||
@@ -850,9 +845,6 @@ export default {
|
|||||||
} else if (this.type === "directorUser") {
|
} else if (this.type === "directorUser") {
|
||||||
this.roleForm.directorUser = data[0].id;
|
this.roleForm.directorUser = data[0].id;
|
||||||
this.roleForm.directorUserName = data[0].name;
|
this.roleForm.directorUserName = data[0].name;
|
||||||
} else if (this.type === "presidentUser") {
|
|
||||||
this.roleForm.presidentUser = data[0].id;
|
|
||||||
this.roleForm.presidentUserName = data[0].name;
|
|
||||||
}
|
}
|
||||||
this.modalshowflag = false;
|
this.modalshowflag = false;
|
||||||
},
|
},
|
||||||
@@ -1032,19 +1024,8 @@ export default {
|
|||||||
if (this.dataList.length < 1) {
|
if (this.dataList.length < 1) {
|
||||||
this.$message.warning("标准不能为空");
|
this.$message.warning("标准不能为空");
|
||||||
} else {
|
} else {
|
||||||
let json = this.listForm;
|
var json = Object.assign(this.listForm, this.roleForm)
|
||||||
this.listForm.fileId = this.fileIds.join(",");
|
console.log(json);
|
||||||
this.listForm.fileName = this.fileListName.join(",");
|
|
||||||
this.listForm.model = this.listForm.fileId;
|
|
||||||
this.listForm.modelName = this.listForm.fileName;
|
|
||||||
json.zrUserId = this.roleForm.dockUser; //会签人
|
|
||||||
json.jlUserId = this.roleForm.directorUser; //业务经理
|
|
||||||
json.applyUpdUserId = this.roleForm.ministerUser; // 修订人
|
|
||||||
json.approvalOpinion = "";
|
|
||||||
json.prcCreateUser = this.$store.getters.userInfo.userId;
|
|
||||||
json.prcCreateUserName = this.$store.getters.userInfo.uName;
|
|
||||||
json.standName = this.listForm.listName;
|
|
||||||
json.standId = this.listForm.standId;
|
|
||||||
this.$refs["qdfbForm"].validate((valid) => {
|
this.$refs["qdfbForm"].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
this.$refs["Form"].validate((valid) => {
|
this.$refs["Form"].validate((valid) => {
|
||||||
@@ -1085,8 +1066,10 @@ export default {
|
|||||||
middle.push(item.name);
|
middle.push(item.name);
|
||||||
files.push(item.response.data.id);
|
files.push(item.response.data.id);
|
||||||
});
|
});
|
||||||
this.fileListName = middle;
|
this.listForm.fileName = middle.join(',');
|
||||||
this.fileIds = files;
|
this.listForm.fileId = files.join(',');
|
||||||
|
// this.fileListName = middle;
|
||||||
|
// this.fileIds = files;
|
||||||
},
|
},
|
||||||
fileUpload() {
|
fileUpload() {
|
||||||
this.fileMadel = true;
|
this.fileMadel = true;
|
||||||
@@ -1100,6 +1083,17 @@ export default {
|
|||||||
});
|
});
|
||||||
this.fileListName = middle;
|
this.fileListName = middle;
|
||||||
this.fileIds.push(file.response.data.id);
|
this.fileIds.push(file.response.data.id);
|
||||||
|
if(this.listForm.fileName === null || this.listForm.fileName === undefined){
|
||||||
|
this.listForm.fileName = this.fileListName.join(',')
|
||||||
|
} else {
|
||||||
|
this.listForm.fileName = this.listForm.fileName + ',' + this.fileListName.join(',');
|
||||||
|
}
|
||||||
|
if(this.listForm.fileId === null || this.listForm.fileId === undefined){
|
||||||
|
this.listForm.fileId = this.fileIds.join(',')
|
||||||
|
}else {
|
||||||
|
this.listForm.fileId = this.listForm.fileId + ',' + this.fileIds.join(',')
|
||||||
|
}
|
||||||
|
console.log(this.listForm);
|
||||||
this.$message.success("上传成功");
|
this.$message.success("上传成功");
|
||||||
} else {
|
} else {
|
||||||
this.$message.error(res.message);
|
this.$message.error(res.message);
|
||||||
@@ -1202,6 +1196,7 @@ export default {
|
|||||||
if (this.standList.length < 1) {
|
if (this.standList.length < 1) {
|
||||||
this.$message.warning("请选择需要添加进清单的数据");
|
this.$message.warning("请选择需要添加进清单的数据");
|
||||||
} else {
|
} else {
|
||||||
|
let exits = []
|
||||||
this.standList.map(item => {
|
this.standList.map(item => {
|
||||||
let newStand = false;
|
let newStand = false;
|
||||||
for (let itemKey of this.dataList) {
|
for (let itemKey of this.dataList) {
|
||||||
@@ -1214,8 +1209,14 @@ export default {
|
|||||||
this.$message.warning("请勿重复添加数据");
|
this.$message.warning("请勿重复添加数据");
|
||||||
} else {
|
} else {
|
||||||
this.dataList.push(item);
|
this.dataList.push(item);
|
||||||
|
exits.push(item.id)
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
if(this.listForm.inforlist === null || this.listForm.inforlist === undefined){
|
||||||
|
this.listForm.inforlist = exits.join(',')
|
||||||
|
} else {
|
||||||
|
this.listForm.inforlist = this.listForm.inforlist + ',' + exits.join(',')
|
||||||
|
}
|
||||||
this.standardData = [];
|
this.standardData = [];
|
||||||
this.standModel = false;
|
this.standModel = false;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -369,14 +369,11 @@ export default {
|
|||||||
},
|
},
|
||||||
//提交事件
|
//提交事件
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
this.listForm.applyUpdUserId = this.listForm.applyUpdUserId;
|
if(this.commentText === null || this.commentText === undefined || this.commentText === ''){
|
||||||
this.listForm.zrUserId = this.listForm.zrUserId;
|
this.$message.warning('请填写会签意见')
|
||||||
this.listForm.jlUserId = this.listForm.jlUserId;
|
}
|
||||||
this.listForm.prcCreateUser = this.$store.getters.userInfo.userId;
|
|
||||||
this.listForm.prcCreateUserName = this.$store.getters.userInfo.account;
|
|
||||||
this.listForm.commentText = this.commentText;
|
this.listForm.commentText = this.commentText;
|
||||||
this.listForm.approvalOpinion = "";
|
this.listForm.approvalOpinion = "";
|
||||||
this.listForm.standId = this.listForm.standId;
|
|
||||||
this.listForm.signFlag = "";
|
this.listForm.signFlag = "";
|
||||||
const json = JSON.stringify(this.listForm);
|
const json = JSON.stringify(this.listForm);
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
this.$http.post("lawss/activiti/completeTask", {
|
||||||
|
|||||||
@@ -527,14 +527,6 @@ export default {
|
|||||||
},
|
},
|
||||||
//提交事件
|
//提交事件
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
this.listForm.applyUpdUserId = this.listForm.applyUpdUserId;
|
|
||||||
this.listForm.zrUserId = this.listForm.zrUserId;
|
|
||||||
this.listForm.jlUserId = this.listForm.jlUserId;
|
|
||||||
this.listForm.prcCreateUser = this.$store.getters.userInfo.userId;
|
|
||||||
this.listForm.prcCreateUserName = this.$store.getters.userInfo.account;
|
|
||||||
this.listForm.commentText = this.commentText;
|
|
||||||
this.listForm.approvalOpinion = "";
|
|
||||||
this.listForm.standId = this.listForm.standId;
|
|
||||||
const json = JSON.stringify(this.listForm);
|
const json = JSON.stringify(this.listForm);
|
||||||
this.$http.post('lawss/activiti/completeTask', {
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
taskIds: this.taskIds,
|
taskIds: this.taskIds,
|
||||||
|
|||||||
@@ -376,14 +376,10 @@
|
|||||||
},
|
},
|
||||||
//提交事件
|
//提交事件
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
this.listForm.applyUpdUserId = this.listForm.applyUpdUserId;
|
if (this.commentText === null || this.commentText === undefined || this.commentText === ''){
|
||||||
this.listForm.zrUserId = this.listForm.zrUserId;
|
this.$message.warning('请填写审批意见')
|
||||||
this.listForm.jlUserId = this.listForm.jlUserId;
|
}
|
||||||
this.listForm.prcCreateUser = this.$store.getters.userInfo.userId;
|
|
||||||
this.listForm.prcCreateUserName = this.$store.getters.userInfo.account;
|
|
||||||
this.listForm.commentText = this.commentText;
|
this.listForm.commentText = this.commentText;
|
||||||
this.listForm.signflag = "";
|
|
||||||
this.listForm.standId = this.listForm.standId;
|
|
||||||
const json = JSON.stringify(this.listForm);
|
const json = JSON.stringify(this.listForm);
|
||||||
this.$http.post('lawss/activiti/completeTask', {
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
taskIds: this.taskIds,
|
taskIds: this.taskIds,
|
||||||
|
|||||||
@@ -511,9 +511,11 @@
|
|||||||
width = "800"
|
width = "800"
|
||||||
:key="key1"
|
:key="key1"
|
||||||
:lazy=true
|
:lazy=true
|
||||||
:multiple=false
|
:multiple=true
|
||||||
|
:check-Strictly="false"
|
||||||
:modalShowFlag="modalShowFlag2"
|
:modalShowFlag="modalShowFlag2"
|
||||||
:drawerTitle="drawerTitle"
|
:drawerTitle="drawerTitle"
|
||||||
|
:show-checkBox="showCheckBox"
|
||||||
:url="url"
|
:url="url"
|
||||||
:urlChild="urlChild"
|
:urlChild="urlChild"
|
||||||
:defaultProps="defaultCodeProps" :checkedKeys="defaultCheckedKeys1"
|
:defaultProps="defaultCodeProps" :checkedKeys="defaultCheckedKeys1"
|
||||||
@@ -525,9 +527,11 @@
|
|||||||
width = "800"
|
width = "800"
|
||||||
:key="key2"
|
:key="key2"
|
||||||
:lazy=true
|
:lazy=true
|
||||||
:multiple=false
|
:multiple=true
|
||||||
|
:check-Strictly="false"
|
||||||
:modalShowFlag="modalShowFlag3"
|
:modalShowFlag="modalShowFlag3"
|
||||||
:drawerTitle="drawerTitle"
|
:drawerTitle="drawerTitle"
|
||||||
|
:show-checkBox="showCheckBox"
|
||||||
:url="url"
|
:url="url"
|
||||||
:urlChild="urlChild"
|
:urlChild="urlChild"
|
||||||
:defaultProps="defaultCodeProps" :checkedKeys="defaultCheckedKeys2"
|
:defaultProps="defaultCodeProps" :checkedKeys="defaultCheckedKeys2"
|
||||||
@@ -539,20 +543,20 @@
|
|||||||
width = "800"
|
width = "800"
|
||||||
:key="key3"
|
:key="key3"
|
||||||
:lazy=true
|
:lazy=true
|
||||||
:multiple=false
|
:multiple=true
|
||||||
|
:check-Strictly="false"
|
||||||
:modalShowFlag="modalShowFlag4"
|
:modalShowFlag="modalShowFlag4"
|
||||||
:drawerTitle="drawerTitle"
|
:drawerTitle="drawerTitle"
|
||||||
:url="url"
|
:url="url"
|
||||||
|
:show-checkBox="showCheckBox"
|
||||||
:urlChild="urlChild"
|
:urlChild="urlChild"
|
||||||
:defaultProps="defaultModelProps" :checkedKeys="defaultCheckedKeys3"
|
:defaultProps="defaultModelProps" :checkedKeys="defaultCheckedKeys3"
|
||||||
:nodeKey="nodeKeyModel" @popoverHide="popoverHideModel"></tree-select-new>
|
:nodeKey="nodeKeyModel" @popoverHide="popoverHideModel"></tree-select-new>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item v-if="form.standInData === '0'" label="归口管理部门" prop="gkdw" class="add-form-item form-item-disabled">
|
<el-form-item v-if="form.standInData === '0'" label="归口管理部门" prop="gkdw" class="add-form-item form-item-disabled">
|
||||||
<el-input
|
<el-select :popper-append-to-body="false" v-model="form.gkdw" placeholder="请选择归口管理部门">
|
||||||
v-model="form.gkdw"
|
<el-option v-for="item in gkglbmOptions" :value="item.value" :key="item.value" :label="item.label"></el-option>
|
||||||
placeholder="请输入归口管理部门"
|
</el-select>
|
||||||
clearable
|
|
||||||
></el-input>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item v-if="form.standInData === '0'" label="起草单位" prop="qcdw" class="add-form-item form-item-disabled">
|
<el-form-item v-if="form.standInData === '0'" label="起草单位" prop="qcdw" class="add-form-item form-item-disabled">
|
||||||
<el-select :popper-append-to-body="false" v-model="form.qcdw" placeholder="请选择起草单位" multiple>
|
<el-select :popper-append-to-body="false" v-model="form.qcdw" placeholder="请选择起草单位" multiple>
|
||||||
@@ -727,6 +731,13 @@
|
|||||||
placeholder="请输入采标编号"
|
placeholder="请输入采标编号"
|
||||||
clearable
|
clearable
|
||||||
></el-input>
|
></el-input>
|
||||||
|
<el-button
|
||||||
|
type="primary"
|
||||||
|
class="common-button-primary"
|
||||||
|
size="mini"
|
||||||
|
style="position:absolute;top: 10px;right: 0;"
|
||||||
|
@click="selectLaws('cbbh'),config.attrName = '采标编号'"
|
||||||
|
>{{'手动查找'}}</el-button>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- <el-form-item label="被引用标准" prop="byybj" class="add-form-item form-item-disabled">-->
|
<!-- <el-form-item label="被引用标准" prop="byybj" class="add-form-item form-item-disabled">-->
|
||||||
<!-- <el-input-->
|
<!-- <el-input-->
|
||||||
@@ -950,7 +961,13 @@
|
|||||||
:visible.sync="modalShowFlag"
|
:visible.sync="modalShowFlag"
|
||||||
:wrapperClosable="false"
|
:wrapperClosable="false"
|
||||||
size="800px">
|
size="800px">
|
||||||
|
<el-input
|
||||||
|
style="width:70%;padding: 10px"
|
||||||
|
placeholder="请输入姓名"
|
||||||
|
v-model="filterText">
|
||||||
|
</el-input>
|
||||||
<el-tree
|
<el-tree
|
||||||
|
:filter-node-method="filterNode"
|
||||||
v-if="modalShowFlag"
|
v-if="modalShowFlag"
|
||||||
node-key="id"
|
node-key="id"
|
||||||
style="height: 100%; overflow: auto;"
|
style="height: 100%; overflow: auto;"
|
||||||
@@ -1145,6 +1162,7 @@
|
|||||||
},
|
},
|
||||||
data () {
|
data () {
|
||||||
return {
|
return {
|
||||||
|
filterText:'',
|
||||||
textStatusMap: {}, // 文本状态id与name对应
|
textStatusMap: {}, // 文本状态id与name对应
|
||||||
standardDrawer: false,
|
standardDrawer: false,
|
||||||
loadSarStandard: false,
|
loadSarStandard: false,
|
||||||
@@ -1235,6 +1253,7 @@
|
|||||||
url:'',
|
url:'',
|
||||||
urlChild:'',
|
urlChild:'',
|
||||||
drawerTitle: '', //drawer标题
|
drawerTitle: '', //drawer标题
|
||||||
|
showCheckBox: true, // 树形控件是否展示多选框
|
||||||
nodeKey: 'id',
|
nodeKey: 'id',
|
||||||
defaultCheckedKeys: [],
|
defaultCheckedKeys: [],
|
||||||
nodeKeyCode: 'code',
|
nodeKeyCode: 'code',
|
||||||
@@ -1377,6 +1396,7 @@
|
|||||||
modelOptions: [], // 模块体系架构
|
modelOptions: [], // 模块体系架构
|
||||||
modelChildOptions: [], // 模块体系架构子集合
|
modelChildOptions: [], // 模块体系架构子集合
|
||||||
applyArcticOptions: [], // 适用车型
|
applyArcticOptions: [], // 适用车型
|
||||||
|
gkglbmOptions: [], // 归口管理部门
|
||||||
categoryOptions: [], // 能源类型
|
categoryOptions: [], // 能源类型
|
||||||
applyAuthOptions: [], // 适用认证
|
applyAuthOptions: [], // 适用认证
|
||||||
cysdOptions: [], // 我司参与深度
|
cysdOptions: [], // 我司参与深度
|
||||||
@@ -1391,6 +1411,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch:{
|
watch:{
|
||||||
|
filterText(val) {
|
||||||
|
this.$refs.tree.filter(val);
|
||||||
|
},
|
||||||
'form.standInData': {
|
'form.standInData': {
|
||||||
handler: function() {
|
handler: function() {
|
||||||
this.verifySarStandard = false
|
this.verifySarStandard = false
|
||||||
@@ -1444,6 +1467,11 @@
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
// z责任人会签姓名搜索
|
||||||
|
filterNode(value, data) {
|
||||||
|
if (!value) return true;
|
||||||
|
return data.name.indexOf(value) !== -1;
|
||||||
|
},
|
||||||
getTaskId () {
|
getTaskId () {
|
||||||
queryTaskFirst({
|
queryTaskFirst({
|
||||||
bpnId: this.$route.query.bpnId
|
bpnId: this.$route.query.bpnId
|
||||||
@@ -1655,6 +1683,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
saveUserInfo () {
|
saveUserInfo () {
|
||||||
|
this.filterText = ''
|
||||||
if (this.userType === 'zrUserId') {
|
if (this.userType === 'zrUserId') {
|
||||||
this.roleForm.zrUserId = this.zrUserIds.map(item => item.id).join(",")
|
this.roleForm.zrUserId = this.zrUserIds.map(item => item.id).join(",")
|
||||||
this.roleForm.zrUserName = this.zrUserIds.map(item => item.name).join(",")
|
this.roleForm.zrUserName = this.zrUserIds.map(item => item.name).join(",")
|
||||||
@@ -1666,6 +1695,7 @@
|
|||||||
this.modalShowFlag = false
|
this.modalShowFlag = false
|
||||||
},
|
},
|
||||||
cancelUserInfo () {
|
cancelUserInfo () {
|
||||||
|
this.filterText = ''
|
||||||
this.modalShowFlag = false
|
this.modalShowFlag = false
|
||||||
},
|
},
|
||||||
drawerCheck (data) {
|
drawerCheck (data) {
|
||||||
@@ -1834,12 +1864,15 @@
|
|||||||
this.replaceLawsNumModel = false
|
this.replaceLawsNumModel = false
|
||||||
})
|
})
|
||||||
// this.SarLawsInfoEO.replaceLawsNum = textArr.join(',')
|
// this.SarLawsInfoEO.replaceLawsNum = textArr.join(',')
|
||||||
|
// 解决 标准入库流程--圈住的字段,先手动输入,然后再手动查找,点提交就会把手动输入的标准号覆盖
|
||||||
if(this.replaceLawType === 'dtbjh'){
|
if(this.replaceLawType === 'dtbjh'){
|
||||||
this.form.dtbjh = textArr.join(',')
|
this.form.dtbjh = this.form.dtbjh ? this.form.dtbjh + ',' + textArr.join(',') : textArr.join(',')
|
||||||
}else if(this.replaceLawType === 'yybj'){
|
}else if(this.replaceLawType === 'yybj'){
|
||||||
this.form.yybj = textArr.join(',')
|
this.form.yybj = this.form.yybj ? this.form.yybj + ',' +textArr.join(',') : textArr.join(',')
|
||||||
|
}else if(this.replaceLawType === 'cbbh'){
|
||||||
|
this.form.cbbh = this.form.cbbh ? this.form.cbbh + ',' +textArr.join(',') : textArr.join(',')
|
||||||
}else {
|
}else {
|
||||||
this.form.byybj = textArr.join(',')
|
this.form.byybj = this.form.byybj ? this.form.byybj + ',' +textArr.join(',') : textArr.join(',')
|
||||||
}
|
}
|
||||||
// this.$emit('input', textArr.join(','))
|
// this.$emit('input', textArr.join(','))
|
||||||
this.$refs.selections.clearSelection()
|
this.$refs.selections.clearSelection()
|
||||||
@@ -2065,8 +2098,6 @@
|
|||||||
saveTaskFirst(_formData).then(res => {
|
saveTaskFirst(_formData).then(res => {
|
||||||
this.saveLoading = false
|
this.saveLoading = false
|
||||||
this.$message.success('保存成功')
|
this.$message.success('保存成功')
|
||||||
// 流程保存之后,应该流转至草稿页面
|
|
||||||
this.$router.push({path:'/processCenter?tabsName=TaskDraft'})
|
|
||||||
// this.bpnId = res.result
|
// this.bpnId = res.result
|
||||||
}).catch(e => {
|
}).catch(e => {
|
||||||
this.saveLoading = false
|
this.saveLoading = false
|
||||||
@@ -2158,7 +2189,8 @@
|
|||||||
this.zrbmOptions = res.data.ZRBMCLASS // 责任部门
|
this.zrbmOptions = res.data.ZRBMCLASS // 责任部门
|
||||||
this.zrgcsOptions = res.data.ZRGCSCLASS // 责任工程师
|
this.zrgcsOptions = res.data.ZRGCSCLASS // 责任工程师
|
||||||
this.qcdwOption = res.data.QCDW // 体系类别
|
this.qcdwOption = res.data.QCDW // 体系类别
|
||||||
this.setMap(this.standStateOptions)
|
this.gkglbmOptions = res.data.GKGLBM // 归口管理部门
|
||||||
|
this.setMap(this.standStateOptions)
|
||||||
})
|
})
|
||||||
this.busVsFunc()
|
this.busVsFunc()
|
||||||
this.modelFunc()
|
this.modelFunc()
|
||||||
|
|||||||
@@ -201,84 +201,84 @@
|
|||||||
<template slot="title">文本信息</template>
|
<template slot="title">文本信息</template>
|
||||||
</ProcessTitle>
|
</ProcessTitle>
|
||||||
<div class="prc-content-border">
|
<div class="prc-content-border">
|
||||||
<el-row :gutter="24">
|
<el-row :gutter="24">
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item v-if="form.standInData === '0'" label="修改单" prop="xgdName" class="add-form-item form-item-disabled">
|
<el-form-item v-if="form.standInData === '0'" label="修改单" prop="xgdName" class="add-form-item form-item-disabled">
|
||||||
<div v-if="form.xgdName">
|
<div style="cursor: pointer;color: #00b7ee" v-if="form.xgdName" @click="downloadFile('xgd')">
|
||||||
{{ form.xgdName }}
|
{{ form.xgdName }}
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
- -
|
- -
|
||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="发布稿" prop="fbgbjbdName" class="add-form-item form-item-disabled">
|
<el-form-item label="发布稿" prop="fbgbjbdName" class="add-form-item form-item-disabled">
|
||||||
<div v-if="form.fbgbjbdName">
|
<div style="cursor: pointer;color: #00b7ee" v-if="form.fbgbjbdName" @click="downloadFile('fbgbjbd')">
|
||||||
{{ form.fbgbjbdName }}
|
{{ form.fbgbjbdName }}
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
- -
|
- -
|
||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item v-if="form.standInData === '1'" label="增补件" prop="zbjbdName" class="add-form-item form-item-disabled">
|
<el-form-item v-if="form.standInData === '1'" label="增补件" prop="zbjbdName" class="add-form-item form-item-disabled">
|
||||||
<div v-if="form.zbjbdName">
|
<div v-if="form.zbjbdName" style="cursor: pointer;color: #00b7ee" @click="downloadFile('zbjbd')">
|
||||||
{{ form.zbjbdName }}
|
{{ form.zbjbdName }}
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
- -
|
- -
|
||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item v-if="form.standInData === '0'" label="报批稿" prop="bpgName" class="add-form-item form-item-disabled">
|
<el-form-item v-if="form.standInData === '0'" label="报批稿" prop="bpgName" class="add-form-item form-item-disabled">
|
||||||
<div v-if="form.bpgName">
|
<div v-if="form.bpgName" style="cursor: pointer;color: #00b7ee" @click="downloadFile('bpg')">
|
||||||
{{ form.bpgName }}
|
{{ form.bpgName }}
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
- -
|
- -
|
||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item v-if="form.standInData === '0'" label="送审稿" prop="ssgName" class="add-form-item form-item-disabled">
|
<el-form-item v-if="form.standInData === '0'" label="送审稿" prop="ssgName" class="add-form-item form-item-disabled">
|
||||||
<div v-if="form.ssgName">
|
<div v-if="form.ssgName" style="cursor: pointer;color: #00b7ee" @click="downloadFile('ssg')">
|
||||||
{{ form.ssgName }}
|
{{ form.ssgName }}
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
- -
|
- -
|
||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item v-if="form.standInData === '1'" label="勘误件" prop="kwjName" class="add-form-item form-item-disabled">
|
<el-form-item v-if="form.standInData === '1'" label="勘误件" prop="kwjName" class="add-form-item form-item-disabled">
|
||||||
<div v-if="form.kwjName">
|
<div v-if="form.kwjName" style="cursor: pointer;color: #00b7ee" @click="downloadFile('kwj')">
|
||||||
{{ form.kwjName }}
|
{{ form.kwjName }}
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
- -
|
- -
|
||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item v-if="form.standInData === '0'" label="征求意见稿" prop="zqyjgName" class="add-form-item form-item-disabled">
|
<el-form-item v-if="form.standInData === '0'" label="征求意见稿" prop="zqyjgName" class="add-form-item form-item-disabled">
|
||||||
<div v-if="form.zqyjgName">
|
<div v-if="form.zqyjgName" style="cursor: pointer;color: #00b7ee" @click="downloadFile('zqyjg')">
|
||||||
{{ form.zqyjgName }}
|
{{ form.zqyjgName }}
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
- -
|
- -
|
||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="草案" prop="caName" class="add-form-item form-item-disabled">
|
<el-form-item label="草案" prop="caName" class="add-form-item form-item-disabled">
|
||||||
<div v-if="form.caName">
|
<div v-if="form.caName" style="cursor: pointer;color: #00b7ee" @click="downloadFile('ca')">
|
||||||
{{ form.caName }}
|
{{ form.caName }}
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
- -
|
- -
|
||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item v-if="form.standInData === '0'" label="解读文件" prop="jdwjName" class="add-form-item form-item-disabled">
|
<el-form-item v-if="form.standInData === '0'" label="解读文件" prop="jdwjName" class="add-form-item form-item-disabled">
|
||||||
<div v-if="form.jdwjName">
|
<div v-if="form.jdwjName" style="cursor: pointer;color: #00b7ee" @click="downloadFile('jdwj')">
|
||||||
{{ form.jdwjName }}
|
{{ form.jdwjName }}
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
- -
|
- -
|
||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
</div>
|
</div>
|
||||||
<ProcessTitle>
|
<ProcessTitle>
|
||||||
<template slot="title">适用范围</template>
|
<template slot="title">适用范围</template>
|
||||||
@@ -328,14 +328,11 @@
|
|||||||
<el-form-item label="模块结构单元变型号" prop="dybxh" class="add-form-item form-item-disabled">
|
<el-form-item label="模块结构单元变型号" prop="dybxh" class="add-form-item form-item-disabled">
|
||||||
<el-input v-model="form.dybxh" disabled></el-input>
|
<el-input v-model="form.dybxh" disabled></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item v-if="form.standInData === '0'" label="归口管理部门" prop="gkdw" class="add-form-item form-item-disabled">
|
<el-form-item v-if="form.standInData === '0'" label="归口管理部门" prop="gkdw" class="add-form-item form-item-disabled">
|
||||||
<el-input
|
<el-select :popper-append-to-body="false" v-model="form.gkdw" placeholder="请选择归口管理部门">
|
||||||
disabled
|
<el-option v-for="item in gkglbmOptions" :value="item.value" :key="item.value" :label="item.label"></el-option>
|
||||||
v-model="form.gkdw"
|
</el-select>
|
||||||
placeholder="请输入归口管理部门"
|
</el-form-item>
|
||||||
clearable
|
|
||||||
></el-input>
|
|
||||||
</el-form-item>
|
|
||||||
<el-form-item v-if="form.standInData === '0'" label="起草单位" prop="qcdw" class="add-form-item form-item-disabled">
|
<el-form-item v-if="form.standInData === '0'" label="起草单位" prop="qcdw" class="add-form-item form-item-disabled">
|
||||||
<el-select v-model="form.qcdw" placeholder="请选择起草单位" multiple disabled>
|
<el-select v-model="form.qcdw" placeholder="请选择起草单位" multiple disabled>
|
||||||
<el-option
|
<el-option
|
||||||
@@ -467,14 +464,14 @@
|
|||||||
clearable
|
clearable
|
||||||
></el-input>
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="关联文件" prop="glwjName" class="add-form-item form-item-disabled">
|
<el-form-item label="关联文件" prop="glwjName" class="add-form-item form-item-disabled">
|
||||||
<div v-if="form.glwjName">
|
<div v-if="form.glwjName" style="cursor: pointer;color: #00b7ee" @click="downloadFile('glwj')">
|
||||||
{{ form.glwjName }}
|
{{ form.glwjName }}
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
- -
|
- -
|
||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="引用标准" prop="yybj" class="add-form-item form-item-disabled">
|
<el-form-item label="引用标准" prop="yybj" class="add-form-item form-item-disabled">
|
||||||
@@ -685,6 +682,16 @@
|
|||||||
name: "bzrkStep2",
|
name: "bzrkStep2",
|
||||||
data () {
|
data () {
|
||||||
return {
|
return {
|
||||||
|
xgdFileId: '',
|
||||||
|
fbgbjbdFileId: '',
|
||||||
|
bpgFileId: '',
|
||||||
|
ssgFileId: '',
|
||||||
|
zqyjgFileId: '',
|
||||||
|
jdwjFileId: '',
|
||||||
|
kwjFileId: '',
|
||||||
|
glwjFileId: '',
|
||||||
|
caFileId: '',
|
||||||
|
zbjbdFileId:'',
|
||||||
rules: {
|
rules: {
|
||||||
commentText: [{ required: true, message: '请输入意见', trigger: 'blur' }],
|
commentText: [{ required: true, message: '请输入意见', trigger: 'blur' }],
|
||||||
approvalOpinion: [{ required: true, message: '请选择审批意见', trigger: 'change' }]
|
approvalOpinion: [{ required: true, message: '请选择审批意见', trigger: 'change' }]
|
||||||
@@ -811,6 +818,7 @@
|
|||||||
standStateOptions: [], // 文本状态
|
standStateOptions: [], // 文本状态
|
||||||
standSystemOptions: [], // 标准体系
|
standSystemOptions: [], // 标准体系
|
||||||
applyArcticOptions: [], // 适用车型
|
applyArcticOptions: [], // 适用车型
|
||||||
|
gkglbmOptions: [], // 归口管理部门
|
||||||
categoryOptions: [], // 能源类型
|
categoryOptions: [], // 能源类型
|
||||||
applyAuthOptions: [], // 适用认证
|
applyAuthOptions: [], // 适用认证
|
||||||
cysdOptions: [], // 我司参与深度
|
cysdOptions: [], // 我司参与深度
|
||||||
@@ -844,6 +852,29 @@
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
downloadFile (fileType) {
|
||||||
|
if(fileType === 'fbgbjbd'){
|
||||||
|
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.fbgbjbdFileId
|
||||||
|
}else if(fileType === 'xgd'){
|
||||||
|
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.xgdFileId
|
||||||
|
}else if(fileType === 'bpg'){
|
||||||
|
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.bpgFileId
|
||||||
|
}else if(fileType === 'ssg'){
|
||||||
|
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.ssgFileId
|
||||||
|
}else if(fileType === 'zqyjg'){
|
||||||
|
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.zqyjgFileId
|
||||||
|
}else if(fileType === 'jdwj'){
|
||||||
|
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.jdwjFileId
|
||||||
|
}else if(fileType === 'kwj'){
|
||||||
|
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.kwjFileId
|
||||||
|
}else if(fileType === 'glwj'){
|
||||||
|
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.glwjFileId
|
||||||
|
}else if(fileType === 'ca'){
|
||||||
|
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.caFileId
|
||||||
|
}else if(fileType === 'zbjbd'){
|
||||||
|
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.zbjbdFileId
|
||||||
|
}
|
||||||
|
},
|
||||||
getRule(){
|
getRule(){
|
||||||
if (this.formTongGuo.approvalOpinion !== '1') {
|
if (this.formTongGuo.approvalOpinion !== '1') {
|
||||||
this.$refs.formTongGuo.clearValidate('commentText')
|
this.$refs.formTongGuo.clearValidate('commentText')
|
||||||
@@ -910,6 +941,16 @@
|
|||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res) {
|
if (res) {
|
||||||
const processForm = JSON.parse(res.mesg)
|
const processForm = JSON.parse(res.mesg)
|
||||||
|
this.xgdFileId = processForm.xgd
|
||||||
|
this.fbgbjbdFileId = processForm.fbgbjbd
|
||||||
|
this.bpgFileId = processForm.bpg
|
||||||
|
this.ssgFileId = processForm.ssg
|
||||||
|
this.zqyjgFileId = processForm.zqyjg
|
||||||
|
this.jdwjFileId = processForm.jdwj
|
||||||
|
this.kwjFileId = processForm.kwj
|
||||||
|
this.glwjFileId = processForm.glwj
|
||||||
|
this.caFileId = processForm.ca
|
||||||
|
this.zbjbdFileId = processForm.zbjbd
|
||||||
this.getFormFieldList(processForm)
|
this.getFormFieldList(processForm)
|
||||||
}
|
}
|
||||||
}).catch(e => {
|
}).catch(e => {
|
||||||
@@ -1027,6 +1068,7 @@
|
|||||||
this.zrbmOptions = res.data.ZRBMCLASS // 责任部门
|
this.zrbmOptions = res.data.ZRBMCLASS // 责任部门
|
||||||
this.zrgcsOptions = res.data.ZRGCSCLASS // 责任工程师
|
this.zrgcsOptions = res.data.ZRGCSCLASS // 责任工程师
|
||||||
this.txlbOptions = res.data.TXLBCLASS // 体系类别
|
this.txlbOptions = res.data.TXLBCLASS // 体系类别
|
||||||
|
this.gkglbmOptions = res.data.GKGLBM // 归口管理部门
|
||||||
this.key++
|
this.key++
|
||||||
})
|
})
|
||||||
this.busVsFunc()
|
this.busVsFunc()
|
||||||
|
|||||||
@@ -197,7 +197,7 @@
|
|||||||
<el-row :gutter="24">
|
<el-row :gutter="24">
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item v-if="form.standInData === '0'" label="修改单" prop="xgdName" class="add-form-item form-item-disabled">
|
<el-form-item v-if="form.standInData === '0'" label="修改单" prop="xgdName" class="add-form-item form-item-disabled">
|
||||||
<div v-if="form.xgdName">
|
<div style="cursor: pointer;color: #00b7ee" v-if="form.xgdName" @click="downloadFile('xgd')">
|
||||||
{{ form.xgdName }}
|
{{ form.xgdName }}
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
@@ -205,7 +205,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="发布稿" prop="fbgbjbdName" class="add-form-item form-item-disabled">
|
<el-form-item label="发布稿" prop="fbgbjbdName" class="add-form-item form-item-disabled">
|
||||||
<div v-if="form.fbgbjbdName">
|
<div style="cursor: pointer;color: #00b7ee" v-if="form.fbgbjbdName" @click="downloadFile('fbgbjbd')">
|
||||||
{{ form.fbgbjbdName }}
|
{{ form.fbgbjbdName }}
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
@@ -213,7 +213,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item v-if="form.standInData === '1'" label="增补件" prop="zbjbdName" class="add-form-item form-item-disabled">
|
<el-form-item v-if="form.standInData === '1'" label="增补件" prop="zbjbdName" class="add-form-item form-item-disabled">
|
||||||
<div v-if="form.zbjbdName">
|
<div v-if="form.zbjbdName" style="cursor: pointer;color: #00b7ee" @click="downloadFile('zbjbd')">
|
||||||
{{ form.zbjbdName }}
|
{{ form.zbjbdName }}
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
@@ -221,7 +221,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item v-if="form.standInData === '0'" label="报批稿" prop="bpgName" class="add-form-item form-item-disabled">
|
<el-form-item v-if="form.standInData === '0'" label="报批稿" prop="bpgName" class="add-form-item form-item-disabled">
|
||||||
<div v-if="form.bpgName">
|
<div v-if="form.bpgName" style="cursor: pointer;color: #00b7ee" @click="downloadFile('bpg')">
|
||||||
{{ form.bpgName }}
|
{{ form.bpgName }}
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
@@ -229,7 +229,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item v-if="form.standInData === '0'" label="送审稿" prop="ssgName" class="add-form-item form-item-disabled">
|
<el-form-item v-if="form.standInData === '0'" label="送审稿" prop="ssgName" class="add-form-item form-item-disabled">
|
||||||
<div v-if="form.ssgName">
|
<div v-if="form.ssgName" style="cursor: pointer;color: #00b7ee" @click="downloadFile('ssg')">
|
||||||
{{ form.ssgName }}
|
{{ form.ssgName }}
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
@@ -239,7 +239,7 @@
|
|||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item v-if="form.standInData === '1'" label="勘误件" prop="kwjName" class="add-form-item form-item-disabled">
|
<el-form-item v-if="form.standInData === '1'" label="勘误件" prop="kwjName" class="add-form-item form-item-disabled">
|
||||||
<div v-if="form.kwjName">
|
<div v-if="form.kwjName" style="cursor: pointer;color: #00b7ee" @click="downloadFile('kwj')">
|
||||||
{{ form.kwjName }}
|
{{ form.kwjName }}
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
@@ -247,7 +247,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item v-if="form.standInData === '0'" label="征求意见稿" prop="zqyjgName" class="add-form-item form-item-disabled">
|
<el-form-item v-if="form.standInData === '0'" label="征求意见稿" prop="zqyjgName" class="add-form-item form-item-disabled">
|
||||||
<div v-if="form.zqyjgName">
|
<div v-if="form.zqyjgName" style="cursor: pointer;color: #00b7ee" @click="downloadFile('zqyjg')">
|
||||||
{{ form.zqyjgName }}
|
{{ form.zqyjgName }}
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
@@ -255,7 +255,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="草案" prop="caName" class="add-form-item form-item-disabled">
|
<el-form-item label="草案" prop="caName" class="add-form-item form-item-disabled">
|
||||||
<div v-if="form.caName">
|
<div v-if="form.caName" style="cursor: pointer;color: #00b7ee" @click="downloadFile('ca')">
|
||||||
{{ form.caName }}
|
{{ form.caName }}
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
@@ -263,7 +263,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item v-if="form.standInData === '0'" label="解读文件" prop="jdwjName" class="add-form-item form-item-disabled">
|
<el-form-item v-if="form.standInData === '0'" label="解读文件" prop="jdwjName" class="add-form-item form-item-disabled">
|
||||||
<div v-if="form.jdwjName">
|
<div v-if="form.jdwjName" style="cursor: pointer;color: #00b7ee" @click="downloadFile('jdwj')">
|
||||||
{{ form.jdwjName }}
|
{{ form.jdwjName }}
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
@@ -322,12 +322,9 @@
|
|||||||
<el-input v-model="form.dybxh" disabled></el-input>
|
<el-input v-model="form.dybxh" disabled></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item v-if="form.standInData === '0'" label="归口管理部门" prop="gkdw" class="add-form-item form-item-disabled">
|
<el-form-item v-if="form.standInData === '0'" label="归口管理部门" prop="gkdw" class="add-form-item form-item-disabled">
|
||||||
<el-input
|
<el-select :popper-append-to-body="false" v-model="form.gkdw" placeholder="请选择归口管理部门">
|
||||||
disabled
|
<el-option v-for="item in gkglbmOptions" :value="item.value" :key="item.value" :label="item.label"></el-option>
|
||||||
v-model="form.gkdw"
|
</el-select>
|
||||||
placeholder="请输入归口管理部门"
|
|
||||||
clearable
|
|
||||||
></el-input>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item v-if="form.standInData === '0'" label="起草单位" prop="qcdw" class="add-form-item form-item-disabled">
|
<el-form-item v-if="form.standInData === '0'" label="起草单位" prop="qcdw" class="add-form-item form-item-disabled">
|
||||||
<el-select v-model="form.qcdw" placeholder="请选择起草单位" multiple disabled>
|
<el-select v-model="form.qcdw" placeholder="请选择起草单位" multiple disabled>
|
||||||
@@ -461,7 +458,7 @@
|
|||||||
<!-- ></el-input>-->
|
<!-- ></el-input>-->
|
||||||
<!-- </el-form-item>-->
|
<!-- </el-form-item>-->
|
||||||
<el-form-item label="关联文件" prop="glwjName" class="add-form-item form-item-disabled">
|
<el-form-item label="关联文件" prop="glwjName" class="add-form-item form-item-disabled">
|
||||||
<div v-if="form.glwjName">
|
<div v-if="form.glwjName" style="cursor: pointer;color: #00b7ee" @click="downloadFile('glwj')">
|
||||||
{{ form.glwjName }}
|
{{ form.glwjName }}
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
@@ -666,6 +663,16 @@ export default {
|
|||||||
name: "bzrkStep3",
|
name: "bzrkStep3",
|
||||||
data () {
|
data () {
|
||||||
return {
|
return {
|
||||||
|
xgdFileId: '',
|
||||||
|
fbgbjbdFileId: '',
|
||||||
|
bpgFileId: '',
|
||||||
|
ssgFileId: '',
|
||||||
|
zqyjgFileId: '',
|
||||||
|
jdwjFileId: '',
|
||||||
|
kwjFileId: '',
|
||||||
|
glwjFileId: '',
|
||||||
|
caFileId: '',
|
||||||
|
zbjbdFileId:'',
|
||||||
activeName:'1',
|
activeName:'1',
|
||||||
// 当前流程类型(1待办/2已办)
|
// 当前流程类型(1待办/2已办)
|
||||||
processType: 1,
|
processType: 1,
|
||||||
@@ -785,6 +792,7 @@ export default {
|
|||||||
standStateOptions: [], // 文本状态
|
standStateOptions: [], // 文本状态
|
||||||
standSystemOptions: [], // 标准体系
|
standSystemOptions: [], // 标准体系
|
||||||
applyArcticOptions: [], // 适用车型
|
applyArcticOptions: [], // 适用车型
|
||||||
|
gkglbmOptions: [], // 归口管理部门
|
||||||
categoryOptions: [], // 能源类型
|
categoryOptions: [], // 能源类型
|
||||||
applyAuthOptions: [], // 适用认证
|
applyAuthOptions: [], // 适用认证
|
||||||
cysdOptions: [], // 我司参与深度
|
cysdOptions: [], // 我司参与深度
|
||||||
@@ -818,6 +826,29 @@ export default {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
downloadFile (fileType) {
|
||||||
|
if(fileType === 'fbgbjbd'){
|
||||||
|
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.fbgbjbdFileId
|
||||||
|
}else if(fileType === 'xgd'){
|
||||||
|
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.xgdFileId
|
||||||
|
}else if(fileType === 'bpg'){
|
||||||
|
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.bpgFileId
|
||||||
|
}else if(fileType === 'ssg'){
|
||||||
|
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.ssgFileId
|
||||||
|
}else if(fileType === 'zqyjg'){
|
||||||
|
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.zqyjgFileId
|
||||||
|
}else if(fileType === 'jdwj'){
|
||||||
|
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.jdwjFileId
|
||||||
|
}else if(fileType === 'kwj'){
|
||||||
|
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.kwjFileId
|
||||||
|
}else if(fileType === 'glwj'){
|
||||||
|
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.glwjFileId
|
||||||
|
}else if(fileType === 'ca'){
|
||||||
|
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.caFileId
|
||||||
|
}else if(fileType === 'zbjbd'){
|
||||||
|
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.zbjbdFileId
|
||||||
|
}
|
||||||
|
},
|
||||||
popoverHide (checkedIds, checkedData) {
|
popoverHide (checkedIds, checkedData) {
|
||||||
if(checkedData) {
|
if(checkedData) {
|
||||||
this.form.standSystem = checkedData.id
|
this.form.standSystem = checkedData.id
|
||||||
@@ -879,6 +910,16 @@ export default {
|
|||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res) {
|
if (res) {
|
||||||
const processForm = JSON.parse(res.mesg)
|
const processForm = JSON.parse(res.mesg)
|
||||||
|
this.xgdFileId = processForm.xgd
|
||||||
|
this.fbgbjbdFileId = processForm.fbgbjbd
|
||||||
|
this.bpgFileId = processForm.bpg
|
||||||
|
this.ssgFileId = processForm.ssg
|
||||||
|
this.zqyjgFileId = processForm.zqyjg
|
||||||
|
this.jdwjFileId = processForm.jdwj
|
||||||
|
this.kwjFileId = processForm.kwj
|
||||||
|
this.glwjFileId = processForm.glwj
|
||||||
|
this.caFileId = processForm.ca
|
||||||
|
this.zbjbdFileId = processForm.zbjbd
|
||||||
this.getFormFieldList(processForm)
|
this.getFormFieldList(processForm)
|
||||||
}
|
}
|
||||||
}).catch(e => {
|
}).catch(e => {
|
||||||
@@ -1011,6 +1052,7 @@ export default {
|
|||||||
this.zrbmOptions = res.data.ZRBMCLASS // 责任部门
|
this.zrbmOptions = res.data.ZRBMCLASS // 责任部门
|
||||||
this.zrgcsOptions = res.data.ZRGCSCLASS // 责任工程师
|
this.zrgcsOptions = res.data.ZRGCSCLASS // 责任工程师
|
||||||
this.txlbOptions = res.data.TXLBCLASS // 体系类别
|
this.txlbOptions = res.data.TXLBCLASS // 体系类别
|
||||||
|
this.gkglbmOptions = res.data.GKGLBM // 归口管理部门
|
||||||
this.key++
|
this.key++
|
||||||
})
|
})
|
||||||
this.busVsFunc()
|
this.busVsFunc()
|
||||||
|
|||||||
@@ -534,11 +534,9 @@
|
|||||||
:nodeKey="nodeKeyModel" @popoverHide="popoverHideModel"></tree-select-new>
|
:nodeKey="nodeKeyModel" @popoverHide="popoverHideModel"></tree-select-new>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item v-if="form.standInData === '0'" label="归口管理部门" prop="gkdw" class="add-form-item form-item-disabled">
|
<el-form-item v-if="form.standInData === '0'" label="归口管理部门" prop="gkdw" class="add-form-item form-item-disabled">
|
||||||
<el-input
|
<el-select :popper-append-to-body="false" v-model="form.gkdw" placeholder="请选择归口管理部门">
|
||||||
v-model="form.gkdw"
|
<el-option v-for="item in gkglbmOptions" :value="item.value" :key="item.value" :label="item.label"></el-option>
|
||||||
placeholder="请输入归口管理部门"
|
</el-select>
|
||||||
clearable
|
|
||||||
></el-input>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item v-if="form.standInData === '0'" label="起草单位" prop="qcdw" class="add-form-item form-item-disabled">
|
<el-form-item v-if="form.standInData === '0'" label="起草单位" prop="qcdw" class="add-form-item form-item-disabled">
|
||||||
<el-select v-model="form.qcdw" placeholder="请选择起草单位" multiple>
|
<el-select v-model="form.qcdw" placeholder="请选择起草单位" multiple>
|
||||||
@@ -709,7 +707,7 @@
|
|||||||
class="common-button-primary"
|
class="common-button-primary"
|
||||||
size="mini"
|
size="mini"
|
||||||
style="position:absolute;top: 10px;right: 0;"
|
style="position:absolute;top: 10px;right: 0;"
|
||||||
@click="selectLaws('dtbjh'),config.attrName = '代替标准号'"
|
@click="selectLaws('yybj'),config.attrName = '引用标准'"
|
||||||
>{{'手动查找'}}</el-button>
|
>{{'手动查找'}}</el-button>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item v-if="form.standInData === '0'" label="采标编号" prop="cbbh" class="add-form-item form-item-disabled">
|
<el-form-item v-if="form.standInData === '0'" label="采标编号" prop="cbbh" class="add-form-item form-item-disabled">
|
||||||
@@ -718,6 +716,13 @@
|
|||||||
placeholder="请输入采标编号"
|
placeholder="请输入采标编号"
|
||||||
clearable
|
clearable
|
||||||
></el-input>
|
></el-input>
|
||||||
|
<el-button
|
||||||
|
type="primary"
|
||||||
|
class="common-button-primary"
|
||||||
|
size="mini"
|
||||||
|
style="position:absolute;top: 10px;right: 0;"
|
||||||
|
@click="selectLaws('cbbh'),config.attrName = '采标编号'"
|
||||||
|
>{{'手动查找'}}</el-button>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="被引用标准" prop="byybj" class="add-form-item form-item-disabled">
|
<el-form-item label="被引用标准" prop="byybj" class="add-form-item form-item-disabled">
|
||||||
<el-input
|
<el-input
|
||||||
@@ -730,7 +735,7 @@
|
|||||||
class="common-button-primary"
|
class="common-button-primary"
|
||||||
size="mini"
|
size="mini"
|
||||||
style="position:absolute;top: 10px;right: 0;"
|
style="position:absolute;top: 10px;right: 0;"
|
||||||
@click="selectLaws('dtbjh'),config.attrName = '代替标准号'"
|
@click="selectLaws('byybj'),config.attrName = '被引用标准'"
|
||||||
>{{'手动查找'}}</el-button>
|
>{{'手动查找'}}</el-button>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item v-if="form.standInData === '0'" label="参会记录" prop="chjl" class="add-form-item form-item-disabled">
|
<el-form-item v-if="form.standInData === '0'" label="参会记录" prop="chjl" class="add-form-item form-item-disabled">
|
||||||
@@ -1218,6 +1223,7 @@ export default {
|
|||||||
modelOptions: [], // 模块体系架构
|
modelOptions: [], // 模块体系架构
|
||||||
applyArcticOptions: [], // 适用车型
|
applyArcticOptions: [], // 适用车型
|
||||||
categoryOptions: [], // 能源类型
|
categoryOptions: [], // 能源类型
|
||||||
|
gkglbmOptions: [], // 归口管理部门
|
||||||
applyAuthOptions: [], // 适用认证
|
applyAuthOptions: [], // 适用认证
|
||||||
cysdOptions: [], // 我司参与深度
|
cysdOptions: [], // 我司参与深度
|
||||||
wssmrOptions: [], // 我司署名人
|
wssmrOptions: [], // 我司署名人
|
||||||
@@ -1398,12 +1404,15 @@ export default {
|
|||||||
this.replaceLawsNumModel = false
|
this.replaceLawsNumModel = false
|
||||||
})
|
})
|
||||||
// this.SarLawsInfoEO.replaceLawsNum = textArr.join(',')
|
// this.SarLawsInfoEO.replaceLawsNum = textArr.join(',')
|
||||||
|
// 解决 标准入库流程--圈住的字段,先手动输入,然后再手动查找,点提交就会把手动输入的标准号覆盖
|
||||||
if(this.replaceLawType === 'dtbjh'){
|
if(this.replaceLawType === 'dtbjh'){
|
||||||
this.form.dtbjh = textArr.join(',')
|
this.form.dtbjh = this.form.dtbjh ? this.form.dtbjh + ',' + textArr.join(',') : textArr.join(',')
|
||||||
}else if(this.replaceLawType === 'yybj'){
|
}else if(this.replaceLawType === 'yybj'){
|
||||||
this.form.yybj = textArr.join(',')
|
this.form.yybj = this.form.yybj ? this.form.yybj + ',' +textArr.join(',') : textArr.join(',')
|
||||||
}else {
|
}else if(this.replaceLawType === 'cbbh'){
|
||||||
this.form.byybj = textArr.join(',')
|
this.form.cbbh = this.form.cbbh ? this.form.cbbh + ',' +textArr.join(',') : textArr.join(',')
|
||||||
|
} else {
|
||||||
|
this.form.byybj = this.form.byybj ? this.form.byybj + ',' +textArr.join(',') : textArr.join(',')
|
||||||
}
|
}
|
||||||
// this.$emit('input', textArr.join(','))
|
// this.$emit('input', textArr.join(','))
|
||||||
this.$refs.selections.clearSelection()
|
this.$refs.selections.clearSelection()
|
||||||
@@ -1605,6 +1614,7 @@ export default {
|
|||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res) {
|
if (res) {
|
||||||
const processForm = JSON.parse(res.mesg)
|
const processForm = JSON.parse(res.mesg)
|
||||||
|
this.commentText = processForm.commentText
|
||||||
this.getFormFieldList(processForm)
|
this.getFormFieldList(processForm)
|
||||||
}
|
}
|
||||||
}).catch(e => {
|
}).catch(e => {
|
||||||
@@ -1739,6 +1749,7 @@ export default {
|
|||||||
this.zrbmOptions = res.data.ZRBMCLASS // 责任部门
|
this.zrbmOptions = res.data.ZRBMCLASS // 责任部门
|
||||||
this.zrgcsOptions = res.data.ZRGCSCLASS // 责任工程师
|
this.zrgcsOptions = res.data.ZRGCSCLASS // 责任工程师
|
||||||
this.txlbOptions = res.data.TXLBCLASS // 体系类别
|
this.txlbOptions = res.data.TXLBCLASS // 体系类别
|
||||||
|
this.gkglbmOptions = res.data.GKGLBM // 归口管理部门
|
||||||
this.treeStatus = true
|
this.treeStatus = true
|
||||||
this.key++
|
this.key++
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -42,13 +42,11 @@
|
|||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="标准年份" prop="standYear" class="add-form-item form-item-disabled">
|
<el-form-item label="标准年份" prop="standYear" class="add-form-item form-item-disabled">
|
||||||
<el-date-picker
|
<el-input
|
||||||
disabled
|
v-model.number="form.standYear"
|
||||||
v-model="form.standYear"
|
placeholder="请输入标准标准年份"
|
||||||
type="year"
|
disabled
|
||||||
placeholder="请选择标准年份"
|
></el-input>
|
||||||
value-format="yyyy">
|
|
||||||
</el-date-picker>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="标准中文名称" prop="standName" class="add-form-item form-item-disabled">
|
<el-form-item label="标准中文名称" prop="standName" class="add-form-item form-item-disabled">
|
||||||
<el-input
|
<el-input
|
||||||
@@ -119,10 +117,16 @@
|
|||||||
</el-radio-group>
|
</el-radio-group>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item v-if="form.standInData === '0'" label="标准体系" prop="standSystem" class="add-form-item form-item-disabled">
|
<el-form-item v-if="form.standInData === '0'" label="标准体系" prop="standSystem" class="add-form-item form-item-disabled">
|
||||||
<tree-select
|
<el-input
|
||||||
:data="standSystemOptions"
|
disabled
|
||||||
:defaultProps="defaultProps" :checkedKeys="defaultCheckedKeys"
|
v-model="form.standSystem"
|
||||||
:nodeKey="nodeKey" @popoverHide="popoverHide"></tree-select>
|
placeholder="请选择标准体系"
|
||||||
|
clearable
|
||||||
|
></el-input>
|
||||||
|
<!-- <tree-select-->
|
||||||
|
<!-- :data="standSystemOptions"-->
|
||||||
|
<!-- :defaultProps="defaultProps" :checkedKeys="defaultCheckedKeys"-->
|
||||||
|
<!-- :nodeKey="nodeKey" @popoverHide="popoverHide"></tree-select>-->
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item v-if="form.standInData === '1'" label="标签" prop="gxhbq" class="add-form-item form-item-disabled">
|
<el-form-item v-if="form.standInData === '1'" label="标签" prop="gxhbq" class="add-form-item form-item-disabled">
|
||||||
<el-input
|
<el-input
|
||||||
@@ -198,84 +202,84 @@
|
|||||||
<template slot="title">文本信息</template>
|
<template slot="title">文本信息</template>
|
||||||
</ProcessTitle>
|
</ProcessTitle>
|
||||||
<div class="prc-content-border">
|
<div class="prc-content-border">
|
||||||
<el-row :gutter="24">
|
<el-row :gutter="24">
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item v-if="form.standInData === '0'" label="修改单" prop="xgd" class="add-form-item form-item-disabled">
|
<el-form-item v-if="form.standInData === '0'" label="修改单" prop="xgdName" class="add-form-item form-item-disabled">
|
||||||
<div v-if="form.xgd">
|
<div style="cursor: pointer;color: #00b7ee" v-if="form.xgdName" @click="downloadFile('xgd')">
|
||||||
{{ form.xgd }}
|
{{ form.xgdName }}
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
- -
|
- -
|
||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="发布稿" prop="fbgbjbd" class="add-form-item form-item-disabled">
|
<el-form-item label="发布稿" prop="fbgbjbdName" class="add-form-item form-item-disabled">
|
||||||
<div v-if="form.fbgbjbd">
|
<div style="cursor: pointer;color: #00b7ee" v-if="form.fbgbjbdName" @click="downloadFile('fbgbjbd')">
|
||||||
{{ form.fbgbjbd }}
|
{{ form.fbgbjbdName }}
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
- -
|
- -
|
||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item v-if="form.standInData === '1'" label="增补件" prop="zbjbd" class="add-form-item form-item-disabled">
|
<el-form-item v-if="form.standInData === '1'" label="增补件" prop="zbjbdName" class="add-form-item form-item-disabled">
|
||||||
<div v-if="form.zbjbd">
|
<div v-if="form.zbjbdName" style="cursor: pointer;color: #00b7ee" @click="downloadFile('zbjbd')">
|
||||||
{{ form.zbjbd }}
|
{{ form.zbjbdName }}
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
- -
|
- -
|
||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item v-if="form.standInData === '0'" label="报批稿" prop="bpg" class="add-form-item form-item-disabled">
|
<el-form-item v-if="form.standInData === '0'" label="报批稿" prop="bpgName" class="add-form-item form-item-disabled">
|
||||||
<div v-if="form.bpg">
|
<div v-if="form.bpgName" style="cursor: pointer;color: #00b7ee" @click="downloadFile('bpg')">
|
||||||
{{ form.bpg }}
|
{{ form.bpgName }}
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
- -
|
- -
|
||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item v-if="form.standInData === '0'" label="送审稿" prop="ssg" class="add-form-item form-item-disabled">
|
<el-form-item v-if="form.standInData === '0'" label="送审稿" prop="ssgName" class="add-form-item form-item-disabled">
|
||||||
<div v-if="form.ssg">
|
<div v-if="form.ssgName" style="cursor: pointer;color: #00b7ee" @click="downloadFile('ssg')">
|
||||||
{{ form.ssg }}
|
{{ form.ssgName }}
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
- -
|
- -
|
||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item v-if="form.standInData === '1'" label="勘误件" prop="kwj" class="add-form-item form-item-disabled">
|
<el-form-item v-if="form.standInData === '1'" label="勘误件" prop="kwjName" class="add-form-item form-item-disabled">
|
||||||
<div v-if="form.kwj">
|
<div v-if="form.kwjName" style="cursor: pointer;color: #00b7ee" @click="downloadFile('kwj')">
|
||||||
{{ form.kwj }}
|
{{ form.kwjName }}
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
- -
|
- -
|
||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item v-if="form.standInData === '0'" label="征求意见稿" prop="zqyjg" class="add-form-item form-item-disabled">
|
<el-form-item v-if="form.standInData === '0'" label="征求意见稿" prop="zqyjgName" class="add-form-item form-item-disabled">
|
||||||
<div v-if="form.zqyjg">
|
<div v-if="form.zqyjgName" style="cursor: pointer;color: #00b7ee" @click="downloadFile('zqyjg')">
|
||||||
{{ form.zqyjg }}
|
{{ form.zqyjgName }}
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
- -
|
- -
|
||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="草案" prop="ca" class="add-form-item form-item-disabled">
|
<el-form-item label="草案" prop="caName" class="add-form-item form-item-disabled">
|
||||||
<div v-if="form.ca">
|
<div v-if="form.caName" style="cursor: pointer;color: #00b7ee" @click="downloadFile('ca')">
|
||||||
{{ form.ca }}
|
{{ form.caName }}
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
- -
|
- -
|
||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item v-if="form.standInData === '0'" label="解读文件" prop="jdwj" class="add-form-item form-item-disabled">
|
<el-form-item v-if="form.standInData === '0'" label="解读文件" prop="jdwjName" class="add-form-item form-item-disabled">
|
||||||
<div v-if="form.jdwj">
|
<div v-if="form.jdwjName" style="cursor: pointer;color: #00b7ee" @click="downloadFile('jdwj')">
|
||||||
{{ form.jdwj }}
|
{{ form.jdwjName }}
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
- -
|
- -
|
||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
</div>
|
</div>
|
||||||
<ProcessTitle>
|
<ProcessTitle>
|
||||||
<template slot="title">适用范围</template>
|
<template slot="title">适用范围</template>
|
||||||
@@ -317,39 +321,45 @@
|
|||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="关联模块--乘用车VPPS编码" prop="cycvppsbm" class="add-form-item form-item-disabled">
|
<el-form-item label="关联模块--乘用车VPPS编码" prop="cycvppsbm" class="add-form-item form-item-disabled">
|
||||||
<el-select v-model="form.cycvppsbm" placeholder="请选择乘用车VPPS编码" multiple disabled>
|
<el-input
|
||||||
<el-option label="乘用车VPPS编码1" value="1"></el-option>
|
disabled
|
||||||
<el-option label="乘用车VPPS编码2" value="2"></el-option>
|
v-model.number="form.cycvppsbm"
|
||||||
</el-select>
|
placeholder="请选择关联模块--乘用车VPPS编码"
|
||||||
|
clearable
|
||||||
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="关联模块--卡车VPPS编码" prop="kccvppsbm" class="add-form-item form-item-disabled">
|
<el-form-item label="关联模块--卡车VPPS编码" prop="kccvppsbm" class="add-form-item form-item-disabled">
|
||||||
<el-select v-model="form.kccvppsbm" placeholder="请选择卡车VPPS编码" multiple disabled>
|
<el-input
|
||||||
<el-option label="卡车VPPS编码1" value="1"></el-option>
|
disabled
|
||||||
<el-option label="卡车VPPS编码2" value="2"></el-option>
|
v-model.number="form.kccvppsbm"
|
||||||
</el-select>
|
placeholder="关联模块--卡车VPPS编码"
|
||||||
|
clearable
|
||||||
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="模块结构单元变型号" prop="dybxh" class="add-form-item form-item-disabled">
|
<el-form-item label="模块结构单元变型号" prop="dybxh" class="add-form-item form-item-disabled">
|
||||||
<el-select v-model="form.dybxh" placeholder="请选择模块结构单元变型号" multiple disabled>
|
<el-input
|
||||||
<el-option label="模块结构单元变型号1" value="1"></el-option>
|
disabled
|
||||||
<el-option label="模块结构单元变型号2" value="2"></el-option>
|
v-model.number="form.dybxh"
|
||||||
</el-select>
|
placeholder="请选择模块结构单元变型号"
|
||||||
</el-form-item>
|
clearable
|
||||||
<el-form-item v-if="form.standInData === '0'" label="归口管理部门" prop="gkdw" class="add-form-item form-item-disabled">
|
></el-input>
|
||||||
<el-input
|
|
||||||
disabled
|
|
||||||
v-model="form.gkdw"
|
|
||||||
placeholder="请输入归口管理部门"
|
|
||||||
clearable
|
|
||||||
></el-input>
|
|
||||||
</el-form-item>
|
|
||||||
<el-form-item v-if="form.standInData === '0'" label="起草单位" prop="fbjg" class="add-form-item form-item-disabled">
|
|
||||||
<el-input
|
|
||||||
disabled
|
|
||||||
v-model="form.fbjg"
|
|
||||||
placeholder="请选择起草单位"
|
|
||||||
clearable
|
|
||||||
></el-input>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
<el-form-item v-if="form.standInData === '0'" label="归口管理部门" prop="gkdw" class="add-form-item form-item-disabled">
|
||||||
|
<el-select disabled :popper-append-to-body="false" v-model="form.gkdw" placeholder="请选择归口管理部门">
|
||||||
|
<el-option v-for="item in gkglbmOptions" :value="item.value" :key="item.value" :label="item.label"></el-option>
|
||||||
|
</el-select>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item v-if="form.standInData === '0'" label="起草单位" prop="qcdw" class="add-form-item form-item-disabled">
|
||||||
|
<el-select :popper-append-to-body="false" v-model="form.qcdw" placeholder="请选择起草单位" multiple>
|
||||||
|
<el-option
|
||||||
|
v-for="item in qcdwOption"
|
||||||
|
placeholder="请选择"
|
||||||
|
:key="item.value"
|
||||||
|
:value="item.value"
|
||||||
|
:label="item.label"
|
||||||
|
></el-option>
|
||||||
|
</el-select>
|
||||||
|
</el-form-item>
|
||||||
<el-form-item v-if="form.standInData === '1'" label="体系类别" prop="txlb" class="add-form-item form-item-disabled">
|
<el-form-item v-if="form.standInData === '1'" label="体系类别" prop="txlb" class="add-form-item form-item-disabled">
|
||||||
<el-select v-model="form.txlb" placeholder="请选择体系类别" multiple disabled>
|
<el-select v-model="form.txlb" placeholder="请选择体系类别" multiple disabled>
|
||||||
<el-option
|
<el-option
|
||||||
@@ -457,22 +467,23 @@
|
|||||||
<el-option label="采标程度2" value="2"></el-option>
|
<el-option label="采标程度2" value="2"></el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="相关流程" prop="xglc" class="add-form-item form-item-disabled">
|
<!-- <el-form-item label="相关流程" prop="xglc" class="add-form-item form-item-disabled">-->
|
||||||
<el-input
|
<!-- <el-input-->
|
||||||
disabled
|
<!-- disabled-->
|
||||||
v-model="form.xglc"
|
<!-- v-model="form.xglc"-->
|
||||||
placeholder="请输入相关流程"
|
<!-- placeholder="请输入相关流程"-->
|
||||||
clearable
|
<!-- clearable-->
|
||||||
></el-input>
|
<!-- ></el-input>-->
|
||||||
</el-form-item>
|
<!-- </el-form-item>-->
|
||||||
<el-form-item label="关联文件" prop="glwj" class="add-form-item form-item-disabled">
|
<el-form-item label="关联文件" prop="glwjName" class="add-form-item form-item-disabled">
|
||||||
<div v-if="form.glwj">
|
<div v-if="form.glwjName" style="cursor: pointer;color: #00b7ee" @click="downloadFile('glwj')">
|
||||||
{{ form.glwj }}
|
{{ form.glwjName }}
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
- -
|
- -
|
||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="引用标准" prop="yybj" class="add-form-item form-item-disabled">
|
<el-form-item label="引用标准" prop="yybj" class="add-form-item form-item-disabled">
|
||||||
@@ -491,22 +502,22 @@
|
|||||||
clearable
|
clearable
|
||||||
></el-input>
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="被引用标准" prop="byybj" class="add-form-item form-item-disabled">
|
<!-- <el-form-item label="被引用标准" prop="byybj" class="add-form-item form-item-disabled">-->
|
||||||
<el-input
|
<!-- <el-input-->
|
||||||
disabled
|
<!-- disabled-->
|
||||||
v-model="form.byybj"
|
<!-- v-model="form.byybj"-->
|
||||||
placeholder="请输入被引用标准"
|
<!-- placeholder="请输入被引用标准"-->
|
||||||
clearable
|
<!-- clearable-->
|
||||||
></el-input>
|
<!-- ></el-input>-->
|
||||||
</el-form-item>
|
<!-- </el-form-item>-->
|
||||||
<el-form-item v-if="form.standInData === '0'" label="参会记录" prop="chjl" class="add-form-item form-item-disabled">
|
<!-- <el-form-item v-if="form.standInData === '0'" label="参会记录" prop="chjl" class="add-form-item form-item-disabled">-->
|
||||||
<el-input
|
<!-- <el-input-->
|
||||||
disabled
|
<!-- disabled-->
|
||||||
v-model="form.chjl"
|
<!-- v-model="form.chjl"-->
|
||||||
placeholder="请输入参会记录"
|
<!-- placeholder="请输入参会记录"-->
|
||||||
clearable
|
<!-- clearable-->
|
||||||
></el-input>
|
<!-- ></el-input>-->
|
||||||
</el-form-item>
|
<!-- </el-form-item>-->
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
</div>
|
</div>
|
||||||
@@ -670,6 +681,16 @@
|
|||||||
name: "bzrkStep5",
|
name: "bzrkStep5",
|
||||||
data () {
|
data () {
|
||||||
return {
|
return {
|
||||||
|
xgdFileId: '',
|
||||||
|
fbgbjbdFileId: '',
|
||||||
|
bpgFileId: '',
|
||||||
|
ssgFileId: '',
|
||||||
|
zqyjgFileId: '',
|
||||||
|
jdwjFileId: '',
|
||||||
|
kwjFileId: '',
|
||||||
|
glwjFileId: '',
|
||||||
|
caFileId: '',
|
||||||
|
zbjbdFileId:'',
|
||||||
// 当前流程类型(1待办/2已办)
|
// 当前流程类型(1待办/2已办)
|
||||||
processType: 1,
|
processType: 1,
|
||||||
detailData: [],
|
detailData: [],
|
||||||
@@ -760,12 +781,14 @@
|
|||||||
standSystemOptions: [], // 标准体系
|
standSystemOptions: [], // 标准体系
|
||||||
applyArcticOptions: [], // 适用车型
|
applyArcticOptions: [], // 适用车型
|
||||||
categoryOptions: [], // 能源类型
|
categoryOptions: [], // 能源类型
|
||||||
|
gkglbmOptions: [], // 归口管理部门
|
||||||
applyAuthOptions: [], // 适用认证
|
applyAuthOptions: [], // 适用认证
|
||||||
cysdOptions: [], // 我司参与深度
|
cysdOptions: [], // 我司参与深度
|
||||||
sycpxOptions: [], // 适用产品线
|
sycpxOptions: [], // 适用产品线
|
||||||
zrbmOptions: [], // 责任部门
|
zrbmOptions: [], // 责任部门
|
||||||
zrgcsOptions: [], // 责任工程师
|
zrgcsOptions: [], // 责任工程师
|
||||||
txlbOptions: [], // 体系类别
|
txlbOptions: [], // 体系类别
|
||||||
|
qcdwOption: [], // 起草单位
|
||||||
data: [], // 标准列表数据
|
data: [], // 标准列表数据
|
||||||
ListForm: {}, // 新增数据
|
ListForm: {}, // 新增数据
|
||||||
user1: '',
|
user1: '',
|
||||||
@@ -790,6 +813,29 @@
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
downloadFile (fileType) {
|
||||||
|
if(fileType === 'fbgbjbd'){
|
||||||
|
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.fbgbjbdFileId
|
||||||
|
}else if(fileType === 'xgd'){
|
||||||
|
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.xgdFileId
|
||||||
|
}else if(fileType === 'bpg'){
|
||||||
|
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.bpgFileId
|
||||||
|
}else if(fileType === 'ssg'){
|
||||||
|
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.ssgFileId
|
||||||
|
}else if(fileType === 'zqyjg'){
|
||||||
|
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.zqyjgFileId
|
||||||
|
}else if(fileType === 'jdwj'){
|
||||||
|
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.jdwjFileId
|
||||||
|
}else if(fileType === 'kwj'){
|
||||||
|
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.kwjFileId
|
||||||
|
}else if(fileType === 'glwj'){
|
||||||
|
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.glwjFileId
|
||||||
|
}else if(fileType === 'ca'){
|
||||||
|
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.caFileId
|
||||||
|
}else if(fileType === 'zbjbd'){
|
||||||
|
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.zbjbdFileId
|
||||||
|
}
|
||||||
|
},
|
||||||
popoverHide (checkedIds, checkedData) {
|
popoverHide (checkedIds, checkedData) {
|
||||||
console.log(checkedIds);
|
console.log(checkedIds);
|
||||||
console.log(checkedData);
|
console.log(checkedData);
|
||||||
@@ -816,6 +862,21 @@
|
|||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res) {
|
if (res) {
|
||||||
const processForm = JSON.parse(res.mesg)
|
const processForm = JSON.parse(res.mesg)
|
||||||
|
this.xgdFileId = processForm.xgd
|
||||||
|
this.fbgbjbdFileId = processForm.fbgbjbd
|
||||||
|
this.bpgFileId = processForm.bpg
|
||||||
|
this.ssgFileId = processForm.ssg
|
||||||
|
this.zqyjgFileId = processForm.zqyjg
|
||||||
|
this.jdwjFileId = processForm.jdwj
|
||||||
|
this.kwjFileId = processForm.kwj
|
||||||
|
this.glwjFileId = processForm.glwj
|
||||||
|
this.caFileId = processForm.ca
|
||||||
|
this.zbjbdFileId = processForm.zbjbd
|
||||||
|
this.form.standYear = processForm.standYear
|
||||||
|
this.form.standSystem = processForm.standSystem
|
||||||
|
this.form.kccvppsbm = processForm.kccvppsbm
|
||||||
|
this.form.cycvppsbm = processForm.cycvppsbm
|
||||||
|
this.form.dybxh = processForm.dybxh
|
||||||
this.getFormFieldList(processForm)
|
this.getFormFieldList(processForm)
|
||||||
}
|
}
|
||||||
}).catch(e => {
|
}).catch(e => {
|
||||||
@@ -914,6 +975,8 @@
|
|||||||
this.zrbmOptions = res.data.ZRBMCLASS // 责任部门
|
this.zrbmOptions = res.data.ZRBMCLASS // 责任部门
|
||||||
this.zrgcsOptions = res.data.ZRGCSCLASS // 责任工程师
|
this.zrgcsOptions = res.data.ZRGCSCLASS // 责任工程师
|
||||||
this.txlbOptions = res.data.TXLBCLASS // 体系类别
|
this.txlbOptions = res.data.TXLBCLASS // 体系类别
|
||||||
|
this.qcdwOption = res.data.QCDW // 体系类别
|
||||||
|
this.gkglbmOptions = res.data.GKGLBM // 归口管理部门
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,622 @@
|
|||||||
|
<template>
|
||||||
|
<div class="bzzqyjStep1-1">
|
||||||
|
<!-- 标准征求意见流程-->
|
||||||
|
<ProcessHeader toggle>
|
||||||
|
<template slot="proName">标准征求意见流程</template>
|
||||||
|
<template slot="proNode">申请人发起流程</template>
|
||||||
|
</ProcessHeader>
|
||||||
|
<div class="headerTabs">
|
||||||
|
<div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div>
|
||||||
|
<div class="headerTabsItem" :class="active === '2' ? 'active' : ''" @click="handleTabs('2')">人员信息</div>
|
||||||
|
</div>
|
||||||
|
<div class="content" v-show="active === '1'">
|
||||||
|
<div style="flex: auto; overflow: auto;">
|
||||||
|
<el-form
|
||||||
|
ref="bzzqyjForm"
|
||||||
|
:model="form"
|
||||||
|
:rules="formRules"
|
||||||
|
class="label-input-form"
|
||||||
|
label-width="210px"
|
||||||
|
>
|
||||||
|
<ProcessTitle>
|
||||||
|
<template slot="title">基础信息</template>
|
||||||
|
</ProcessTitle>
|
||||||
|
<div class="prc-content-border">
|
||||||
|
<el-row :gutter="24">
|
||||||
|
<el-col :span="24">
|
||||||
|
<el-form-item label="选择征求意见" class="add-form-item form-item-disabled">
|
||||||
|
<div class="addButton">
|
||||||
|
<el-button size="small" type="primary" @click="addZqyjList">选择标准</el-button>
|
||||||
|
</div>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="标准号" prop="cid" class="add-form-item form-item-disabled">
|
||||||
|
<el-input
|
||||||
|
disabled
|
||||||
|
v-model="form.cid"
|
||||||
|
placeholder="请输入标准编号"
|
||||||
|
clearable
|
||||||
|
></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="标准名称" prop="cname" class="add-form-item form-item-disabled">
|
||||||
|
<el-input
|
||||||
|
disabled
|
||||||
|
v-model="form.cname"
|
||||||
|
placeholder="请输入标准名称"
|
||||||
|
clearable
|
||||||
|
></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="征求意见结束日期" prop="endTime" class="add-form-item form-item-disabled">
|
||||||
|
<el-date-picker
|
||||||
|
v-model="form.endTime"
|
||||||
|
type="date"
|
||||||
|
placeholder="请选择结束日期">
|
||||||
|
</el-date-picker>
|
||||||
|
</el-form-item>
|
||||||
|
</el-col>
|
||||||
|
</el-row>
|
||||||
|
</div>
|
||||||
|
</el-form>
|
||||||
|
</div>
|
||||||
|
<el-collapse accordion>
|
||||||
|
<el-collapse-item title="意见填写">
|
||||||
|
<div style="margin: 10px 0;">
|
||||||
|
<el-input
|
||||||
|
type="textarea"
|
||||||
|
:rows="3"
|
||||||
|
resize="none"
|
||||||
|
placeholder="请输入意见"
|
||||||
|
v-model="commentText">
|
||||||
|
</el-input>
|
||||||
|
</div>
|
||||||
|
</el-collapse-item>
|
||||||
|
</el-collapse>
|
||||||
|
</div>
|
||||||
|
<div class="content" v-show="active === '2'">
|
||||||
|
<div class="block" style="padding-top: 20px;">
|
||||||
|
<el-timeline>
|
||||||
|
<el-form
|
||||||
|
ref="Form"
|
||||||
|
:model="roleForm"
|
||||||
|
:rules="roleFormRules"
|
||||||
|
class="label-input-form myForm">
|
||||||
|
<el-timeline-item timestamp="发起流程" placement="top" :color="roleForm.startUser ? '#66b1ff' : ''">
|
||||||
|
<el-card>
|
||||||
|
<el-form-item prop="startUserName" style="margin-bottom: 0">
|
||||||
|
<h4>流程发起人</h4>
|
||||||
|
<div style="margin-top: 10px;width: 300px;">
|
||||||
|
<el-input v-model="roleForm.startUser" style="display: none;"/>
|
||||||
|
<el-input v-model="roleForm.startUserName" placeholder="流程发起人" disabled/>
|
||||||
|
</div>
|
||||||
|
</el-form-item>
|
||||||
|
</el-card>
|
||||||
|
</el-timeline-item>
|
||||||
|
<el-timeline-item timestamp="指派责任人" placement="top" :color="roleForm.dockUserList ? '#66b1ff' : ''">
|
||||||
|
<el-card>
|
||||||
|
<el-form-item prop="dockUserList" style="margin-bottom: 0">
|
||||||
|
<h4>责任部门对接人</h4>
|
||||||
|
<div style="margin-top: 10px;width: 300px;">
|
||||||
|
<el-input v-model="roleForm.dockUserList" style="display: none;"/>
|
||||||
|
<el-input
|
||||||
|
v-model="roleForm.dockUserListName"
|
||||||
|
placeholder="选择责任部门对接人"
|
||||||
|
@click.native="choiceZRRS">
|
||||||
|
</el-input>
|
||||||
|
</div>
|
||||||
|
</el-form-item>
|
||||||
|
</el-card>
|
||||||
|
</el-timeline-item>
|
||||||
|
<el-timeline-item timestamp="审核征求意见" placement="top" :color="roleForm.ministerUser ? '#66b1ff' : ''">
|
||||||
|
<el-card>
|
||||||
|
<el-form-item prop="ministerUser" style="margin-bottom: 0">
|
||||||
|
<h4>标准法规部部长</h4>
|
||||||
|
<div style="margin-top: 10px;width: 300px;">
|
||||||
|
<el-input v-model="roleForm.ministerUser" style="display: none;"/>
|
||||||
|
<el-input
|
||||||
|
v-model="roleForm.ministerUserName"
|
||||||
|
placeholder="选择标准法规部部长·"
|
||||||
|
@click.native="choiceZRR('ministerUser', '选择标准法规部部长', roleForm.ministerUser)"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
</el-form-item>
|
||||||
|
</el-card>
|
||||||
|
</el-timeline-item>
|
||||||
|
<el-timeline-item timestamp="审定征求意见" placement="top" :color="roleForm.directorUser ? '#66b1ff' : ''">
|
||||||
|
<el-card>
|
||||||
|
<el-form-item prop="directorUser" style="margin-bottom: 0">
|
||||||
|
<h4>技术管理中心主任</h4>
|
||||||
|
<div style="margin-top: 10px;width: 300px;">
|
||||||
|
<el-input v-model="roleForm.directorUser" style="display: none;"/>
|
||||||
|
<el-input
|
||||||
|
v-model="roleForm.directorUserName"
|
||||||
|
placeholder="选择技术管理中心主任"
|
||||||
|
@click.native="choiceZRR('directorUser', '选择技术管理中心主任', roleForm.directorUser)"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
</el-form-item>
|
||||||
|
</el-card>
|
||||||
|
</el-timeline-item>
|
||||||
|
<el-timeline-item timestamp="批准征求意见" placement="top" :color="roleForm.presidentUser ? '#66b1ff' : ''">
|
||||||
|
<el-card>
|
||||||
|
<el-form-item prop="presidentUser" style="margin-bottom: 0">
|
||||||
|
<h4>工程研究总院院长</h4>
|
||||||
|
<div style="margin-top: 10px;width: 300px;">
|
||||||
|
<el-input v-model="roleForm.presidentUser" style="display: none;"/>
|
||||||
|
<el-input
|
||||||
|
v-model="roleForm.presidentUserName"
|
||||||
|
placeholder="选择工程研究总院院长"
|
||||||
|
@click.native="choiceZRR('presidentUser', '选择工程研究总院院长', roleForm.presidentUser)"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
</el-form-item>
|
||||||
|
</el-card>
|
||||||
|
</el-timeline-item>
|
||||||
|
</el-form>
|
||||||
|
</el-timeline>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<ProcessFooter
|
||||||
|
show-submit
|
||||||
|
:submitLoading="isSubmit"
|
||||||
|
:saveLoading="saveLoading"
|
||||||
|
@save="handleSave"
|
||||||
|
@submit="handleSubmit"
|
||||||
|
>
|
||||||
|
</ProcessFooter>
|
||||||
|
<el-drawer
|
||||||
|
title="标准库"
|
||||||
|
:visible.sync="listModel"
|
||||||
|
size="900px"
|
||||||
|
custom-class="demo-drawer"
|
||||||
|
>
|
||||||
|
<div class="standardForComments">
|
||||||
|
<div class="content">
|
||||||
|
<!-- 顶部工具栏 -->
|
||||||
|
<table-tools-bar>
|
||||||
|
<div slot="left">
|
||||||
|
<div class="search-area">
|
||||||
|
<el-form :model="standCommonlySearch" inline class="label-input-form">
|
||||||
|
<el-formItem label="标准号/名称" prop="standNumber" class="search-item">
|
||||||
|
<el-input v-model="standCommonlySearch.standNumber" placeholder="根据标准号/名称查找" clearable/>
|
||||||
|
</el-formItem>
|
||||||
|
<el-formItem label="标准类别" prop="standSort" class="search-item">
|
||||||
|
<el-select v-model="standCommonlySearch.standSort" placeholder="根据标准类别查找" clearable>
|
||||||
|
<el-option v-for="opt in standSortOptions" :value="opt.value === undefined ? '' :opt.value" :key="opt.value" :label="opt.label">{{ opt.label }}
|
||||||
|
</el-option>
|
||||||
|
</el-select>
|
||||||
|
</el-formItem>
|
||||||
|
<el-formItem label="标准来源" prop="standType" class="search-item">
|
||||||
|
<el-select v-model="standCommonlySearch.standType" placeholder="根据标准来源查找" clearable>
|
||||||
|
<el-option value="INLAND" key="1" label="国内标准"></el-option>
|
||||||
|
<el-option value="FOREIGN" key="2" label="海外标准"></el-option>
|
||||||
|
</el-select>
|
||||||
|
</el-formItem>
|
||||||
|
<el-formItem class="search-item btn-box">
|
||||||
|
<el-button
|
||||||
|
type="primary"
|
||||||
|
size="mini"
|
||||||
|
class="common-button-primary"
|
||||||
|
|
||||||
|
@click="sarStandCompareHisInfo">查询</el-button>
|
||||||
|
<el-button
|
||||||
|
class="common-button-default"
|
||||||
|
size="mini"
|
||||||
|
@click="clearSearchStand">清空</el-button>
|
||||||
|
</el-formItem>
|
||||||
|
</el-form>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</table-tools-bar>
|
||||||
|
<div class="table-wrap">
|
||||||
|
<div style="position: absolute;height: calc(100% - 10px);width: 100%;">
|
||||||
|
<el-table
|
||||||
|
ref="selection"
|
||||||
|
:data="standInfoList"
|
||||||
|
tooltip-effect="dark"
|
||||||
|
style="width: 100%;padding:0 0 20px 0;"
|
||||||
|
height="100%"
|
||||||
|
border
|
||||||
|
@selection-change="handleSelection"
|
||||||
|
:header-cell-style="{background: '#f8f8f9', color: '#515a6e'}">
|
||||||
|
<el-table-column type="selection" width="55" align="center"/>
|
||||||
|
<el-table-column label="标准号" align="center">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<div v-if="scope.row.standYear">{{ scope.row.standSortShow }} {{ scope.row.standNumber }}-{{ scope.row.standYear }}</div>
|
||||||
|
<div v-else>{{ scope.row.standSortShow }} {{ scope.row.standNumber }}</div>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column prop="cname" label="标准名称" align="center">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<div>{{ scope.row.standName }}</div>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
</el-table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<pagination :page="standCommonlySearch.page" :total="total" @pageChange="pageChange" @pageSizeChange="pageSizeChange"></pagination>
|
||||||
|
<loading :loading="spinShow">数据加载中……</loading>
|
||||||
|
<div class="demo-drawer-footer">
|
||||||
|
<el-button size="mini" @click="closeDrawer">取消</el-button>
|
||||||
|
<el-button type="primary" size="mini" @click="enterDrawer">带入</el-button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</el-drawer>
|
||||||
|
<Role-tree
|
||||||
|
is-title="选择责任部门对接人"
|
||||||
|
:is-visible.sync="modalshowflag2"
|
||||||
|
@checkedRole="checkedRole2"
|
||||||
|
:nodeList="nodeList2"
|
||||||
|
></Role-tree>
|
||||||
|
<Role-tree
|
||||||
|
check-box
|
||||||
|
:is-title="drawerTitle"
|
||||||
|
:is-visible.sync="modalshowflag"
|
||||||
|
@checkedRole="checkedRole"
|
||||||
|
:nodeList="nodeList"
|
||||||
|
></Role-tree>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import ProcessHeader from '../../components/ProcessHeader'
|
||||||
|
import ProcessFooter from '../../components/ProcessFooter'
|
||||||
|
import ProcessTitle from '../../components/ProcessTitle'
|
||||||
|
import { saveTaskFirst, queryTaskFirst } from 'api/process'
|
||||||
|
|
||||||
|
export default {
|
||||||
|
name: "bzzqyjStep1-1",
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
commentText: '',
|
||||||
|
textarea: '', // 意见
|
||||||
|
title: '', // 新增抽屉标题
|
||||||
|
listModel: false, // 新增抽屉开关
|
||||||
|
active: '1', // 默认显示
|
||||||
|
isSubmit: false,
|
||||||
|
saveLoading: false,
|
||||||
|
// 基础信息form表单
|
||||||
|
form: {
|
||||||
|
cid: '', // 编号
|
||||||
|
endTime: '', // 结束日期
|
||||||
|
cname: '', // 名称
|
||||||
|
},
|
||||||
|
formRules: {
|
||||||
|
cid: [
|
||||||
|
{ required: true, message: '请输入标准编号', trigger: 'change' },
|
||||||
|
],
|
||||||
|
endTime: [
|
||||||
|
{ required: true, message: '请输入标准结束日期', trigger: 'change' },
|
||||||
|
],
|
||||||
|
cname: [
|
||||||
|
{ required: true, message: '请输入标准名称', trigger: 'change' },
|
||||||
|
],
|
||||||
|
},
|
||||||
|
// 标准征求意见数据可库
|
||||||
|
standCommonlySearch: {
|
||||||
|
standSort: '',
|
||||||
|
standNumber: '',
|
||||||
|
standType: '',
|
||||||
|
page: 1,
|
||||||
|
pageSize: this.$store.getters.userInfo.configContent
|
||||||
|
},
|
||||||
|
spinShow: false,
|
||||||
|
standInfoList: [],
|
||||||
|
tableHeight: null,
|
||||||
|
total: 0,
|
||||||
|
selectedList: [],
|
||||||
|
data: [],
|
||||||
|
roleForm: {
|
||||||
|
startUserName: this.$store.getters.userInfo.userName,
|
||||||
|
startUser: this.$store.getters.userInfo.userId,
|
||||||
|
dockUserList: '',
|
||||||
|
dockUserListName: '',
|
||||||
|
ministerUser: '',
|
||||||
|
ministerUserName: '',
|
||||||
|
directorUser: '',
|
||||||
|
directorUserName: '',
|
||||||
|
presidentUser: '',
|
||||||
|
presidentUserName: '',
|
||||||
|
},
|
||||||
|
roleFormRules: {
|
||||||
|
dockUserList: [
|
||||||
|
{ required: true, message: '请选择责任部门对接人', trigger: 'change' },
|
||||||
|
],
|
||||||
|
ministerUser: [
|
||||||
|
{ required: true, message: '请选择标准法规部部长', trigger: 'change' },
|
||||||
|
],
|
||||||
|
directorUser: [
|
||||||
|
{ required: true, message: '请选择技术管理中心主任', trigger: 'change' },
|
||||||
|
],
|
||||||
|
presidentUser: [
|
||||||
|
{ required: true, message: '请选择工程研究院院长', trigger: 'change' },
|
||||||
|
]
|
||||||
|
},
|
||||||
|
nodeList: [],
|
||||||
|
nodeList2: [],
|
||||||
|
type: '',
|
||||||
|
drawerTitle: '',
|
||||||
|
modalshowflag: false,
|
||||||
|
modalshowflag2: false,
|
||||||
|
standSortOptions: [],
|
||||||
|
}
|
||||||
|
},
|
||||||
|
components: {
|
||||||
|
ProcessHeader,
|
||||||
|
ProcessFooter,
|
||||||
|
ProcessTitle
|
||||||
|
},
|
||||||
|
mounted () {
|
||||||
|
this.getData()
|
||||||
|
this.sarStandCompareHis()
|
||||||
|
this.$http.get('sys/dictype/getDicTypeListCode', '', {
|
||||||
|
_this: this
|
||||||
|
}, res => {
|
||||||
|
this.standSortOptions = res.data.STANDCLASSIFY // 标准类别
|
||||||
|
}, e => {
|
||||||
|
})
|
||||||
|
this.tableHeight = $('.content').height() - 44
|
||||||
|
window.onresize = () => {
|
||||||
|
this.tableHeight = $('.content').height() - 44
|
||||||
|
}
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
getData () {
|
||||||
|
queryTaskFirst({
|
||||||
|
bpnId: this.$route.query.bpnId
|
||||||
|
}).then(res => {
|
||||||
|
let mes = JSON.parse(res.mes)
|
||||||
|
mes.form.endTime = new Date(this.$moment(mes.form.endTime).format('YYYY-MM-DD'))
|
||||||
|
this.form = mes.form
|
||||||
|
this.roleForm = mes.roleForm
|
||||||
|
this.commentText = mes.commentText
|
||||||
|
})
|
||||||
|
},
|
||||||
|
addZqyjList() {
|
||||||
|
this.title = '国内外标准库'
|
||||||
|
this.listModel = true
|
||||||
|
},
|
||||||
|
/** 标准征求意见库方法*
|
||||||
|
* **********************************************/
|
||||||
|
// 清空
|
||||||
|
clearSearchStand () {
|
||||||
|
this.standCommonlySearch.page = 1
|
||||||
|
this.standCommonlySearch.standSort = ''
|
||||||
|
this.standCommonlySearch.standNumber = ''
|
||||||
|
this.standCommonlySearch.standType = ''
|
||||||
|
this.sarStandCompareHis()
|
||||||
|
},
|
||||||
|
// 搜索
|
||||||
|
sarStandCompareHisInfo() {
|
||||||
|
this.standCommonlySearch.page = 1
|
||||||
|
this.sarStandCompareHis()
|
||||||
|
},
|
||||||
|
// 查询表格
|
||||||
|
sarStandCompareHis () {
|
||||||
|
this.spinShow = true
|
||||||
|
var formData = this.standCommonlySearch
|
||||||
|
this.$http.get('sarStandardsInfo/sar-standards-info/getSarStandardsInfoPage', formData, {
|
||||||
|
_this: this
|
||||||
|
}, res => {
|
||||||
|
this.standInfoList = res.data.list
|
||||||
|
this.total = res.data.count
|
||||||
|
this.spinShow = false
|
||||||
|
})
|
||||||
|
// var form = this.standCommonlySearch
|
||||||
|
// this.$http.get('slrs/sar-public-idea/SelectAllPage', form, {
|
||||||
|
// _this: this
|
||||||
|
// }, res => {
|
||||||
|
// this.standInfoList = res.data.records
|
||||||
|
// this.total = res.data.total
|
||||||
|
// this.spinShow = false
|
||||||
|
// }, e => {
|
||||||
|
// })
|
||||||
|
},
|
||||||
|
pageChange (page) {
|
||||||
|
this.standCommonlySearch.page = page
|
||||||
|
this.sarStandCompareHis()
|
||||||
|
},
|
||||||
|
// 分页每页显示数改变后方法
|
||||||
|
pageSizeChange (pageSize) {
|
||||||
|
this.$store.getters.userInfo.configContent = pageSize
|
||||||
|
this.standCommonlySearch.size = pageSize
|
||||||
|
this.sarStandCompareHis()
|
||||||
|
},
|
||||||
|
/** 选择带入数据的方法操作
|
||||||
|
* */
|
||||||
|
handleSelection(data) {
|
||||||
|
this.selectedList = [];
|
||||||
|
for (let i = 0; i < data.length; i++) {
|
||||||
|
this.selectedList.push(data[i].id);
|
||||||
|
}
|
||||||
|
},
|
||||||
|
closeDrawer() {
|
||||||
|
this.listModel = false
|
||||||
|
},
|
||||||
|
enterDrawer() {
|
||||||
|
if (this.selectedList.length === 1) {
|
||||||
|
let deposit = new Map();
|
||||||
|
this.standInfoList.forEach(item => {
|
||||||
|
deposit.set(item.id, item);
|
||||||
|
});
|
||||||
|
let bringData = [];
|
||||||
|
for (let i = 0; i < this.selectedList.length; i++) {
|
||||||
|
bringData.push(deposit.get(this.selectedList[i]));
|
||||||
|
}
|
||||||
|
if (bringData[0].standYear) {
|
||||||
|
this.form.cid = bringData[0].standSortShow + ' ' + bringData[0].standNumber + '-' + bringData[0].standYear
|
||||||
|
} else {
|
||||||
|
this.form.cid = bringData[0].standSortShow + '-' + bringData[0].standNumber
|
||||||
|
}
|
||||||
|
this.form.cname = bringData[0].standName;
|
||||||
|
this.listModel = false;
|
||||||
|
} else if (this.selectedList.length > 1) {
|
||||||
|
this.$message.warning("只能选择一条数据进行带入");
|
||||||
|
} else {
|
||||||
|
this.$message.warning("请选择一条数据进行带入");
|
||||||
|
}
|
||||||
|
},
|
||||||
|
/*** **********************************************/
|
||||||
|
/** 流程节点负责人的选择 *****************************/
|
||||||
|
checkedRole2 (data) {
|
||||||
|
var idList = ''
|
||||||
|
var nameList = ''
|
||||||
|
data.forEach( item => {
|
||||||
|
if (nameList.length > 0) {
|
||||||
|
nameList += ','
|
||||||
|
idList += ','
|
||||||
|
}
|
||||||
|
idList += item.id
|
||||||
|
nameList += item.name
|
||||||
|
})
|
||||||
|
this.roleForm.dockUserList = idList
|
||||||
|
this.roleForm.dockUserListName = nameList
|
||||||
|
},
|
||||||
|
checkedRole (data) {
|
||||||
|
if (this.type === 'ministerUser') {
|
||||||
|
this.roleForm.ministerUser = data[0].id
|
||||||
|
this.roleForm.ministerUserName = data[0].name
|
||||||
|
} else if (this.type === 'directorUser') {
|
||||||
|
this.roleForm.directorUser = data[0].id
|
||||||
|
this.roleForm.directorUserName = data[0].name
|
||||||
|
} else if (this.type === 'presidentUser') {
|
||||||
|
this.roleForm.presidentUser = data[0].id
|
||||||
|
this.roleForm.presidentUserName = data[0].name
|
||||||
|
}
|
||||||
|
},
|
||||||
|
choiceZRRS () {
|
||||||
|
this.nodeList2 = []
|
||||||
|
if ( this.roleForm.dockUserList.length > 0) {
|
||||||
|
this.nodeList2 = this.roleForm.dockUserList.split(',')
|
||||||
|
}
|
||||||
|
this.modalshowflag2 = true
|
||||||
|
},
|
||||||
|
choiceZRR (type, title, id) {
|
||||||
|
this.nodeList = []
|
||||||
|
this.nodeList.push(id)
|
||||||
|
this.type = type
|
||||||
|
this.drawerTitle = title
|
||||||
|
this.modalshowflag = true
|
||||||
|
},
|
||||||
|
handleTabs(name) {
|
||||||
|
this.active = name
|
||||||
|
},
|
||||||
|
handleSave() {},
|
||||||
|
handleSubmit() {
|
||||||
|
this.$refs['bzzqyjForm'].validate((valid) => {
|
||||||
|
if (valid) {
|
||||||
|
this.$refs['Form'].validate((valid) => {
|
||||||
|
if (valid) {
|
||||||
|
this.isSubmit = true
|
||||||
|
this.$http.get('lawss/activiti/startProcess', {
|
||||||
|
type: '3'
|
||||||
|
}, {}, res => {
|
||||||
|
if (res.ok) {
|
||||||
|
var json = Object.assign(this.form, this.roleForm)
|
||||||
|
json.commentText = this.commentText
|
||||||
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
|
json: JSON.stringify(json),
|
||||||
|
taskId: res.data,
|
||||||
|
userId: this.$store.getters.userInfo.userId
|
||||||
|
}, {}, res => {
|
||||||
|
if (res.success) {
|
||||||
|
this.$message.success('流程发起成功')
|
||||||
|
this.$router.push('/processCenter')
|
||||||
|
}
|
||||||
|
})
|
||||||
|
} else {
|
||||||
|
this.$message.warning('流程启动失败')
|
||||||
|
}
|
||||||
|
this.isSubmit = false
|
||||||
|
})
|
||||||
|
} else {
|
||||||
|
return this.$message.warning('请完善人员信息')
|
||||||
|
}
|
||||||
|
})
|
||||||
|
} else {
|
||||||
|
return this.$message.warning('请完善基础信息')
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="less" scoped>
|
||||||
|
@import '~@/assets/styles/style';
|
||||||
|
@import '~@/assets/styles/mixins';
|
||||||
|
.bzzqyjStep1-1 {
|
||||||
|
.myForm {
|
||||||
|
/deep/.el-form-item__content {
|
||||||
|
line-height: 10px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/deep/.el-drawer__container {
|
||||||
|
.prc-content-border {
|
||||||
|
border: none;
|
||||||
|
padding: 0 20px 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
position: relative;
|
||||||
|
height: 100%;
|
||||||
|
.headerTabs {
|
||||||
|
height: 52px;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
right: 10px;
|
||||||
|
.headerTabsItem {
|
||||||
|
border: 1px solid #c1c1c1;
|
||||||
|
padding: 0 5px;
|
||||||
|
height: 30px;
|
||||||
|
line-height: 30px;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
.active {
|
||||||
|
border: 1px solid #E6A23C;
|
||||||
|
color: #fff;
|
||||||
|
background: #E6A23C;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.content {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: space-between;
|
||||||
|
height: calc(~'100% - 107px');
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
|
.standardForComments {
|
||||||
|
height: 100%;
|
||||||
|
background: #fff;
|
||||||
|
.el-divider--horizontal {
|
||||||
|
display: block;
|
||||||
|
height: 1px;
|
||||||
|
width: 100%;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
flex-direction: column;
|
||||||
|
.action-bar {
|
||||||
|
margin-bottom: 5px;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
.content {
|
||||||
|
flex: auto;
|
||||||
|
overflow: hidden;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
.table-wrap {
|
||||||
|
flex: auto;
|
||||||
|
overflow: hidden;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
& > .pagination {
|
||||||
|
position: static;
|
||||||
|
/deep/.pagination-slot {
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
@@ -263,6 +263,7 @@
|
|||||||
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 { saveTaskFirst } from 'api/process'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "bzzqyjStep1",
|
name: "bzzqyjStep1",
|
||||||
@@ -489,7 +490,26 @@ export default {
|
|||||||
handleTabs(name) {
|
handleTabs(name) {
|
||||||
this.active = name
|
this.active = name
|
||||||
},
|
},
|
||||||
handleSave() {},
|
handleSave() {
|
||||||
|
this.saveLoading = true
|
||||||
|
let _formData = new FormData()
|
||||||
|
_formData.append('id', this.bpnId || '')
|
||||||
|
_formData.append('createUser', this.$store.getters.userInfo.userId)
|
||||||
|
_formData.append('createUserName', this.$store.getters.userInfo.userName)
|
||||||
|
_formData.append('prcType', '3')
|
||||||
|
_formData.append('json', JSON.stringify({
|
||||||
|
form: this.form,
|
||||||
|
roleForm: this.roleForm,
|
||||||
|
commentText: this.commentText
|
||||||
|
}))
|
||||||
|
saveTaskFirst(_formData).then(res => {
|
||||||
|
this.saveLoading = false
|
||||||
|
this.$message.success('保存成功')
|
||||||
|
this.bpnId = res.result
|
||||||
|
}).catch(e => {
|
||||||
|
this.saveLoading = false
|
||||||
|
})
|
||||||
|
},
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
this.$refs['bzzqyjForm'].validate((valid) => {
|
this.$refs['bzzqyjForm'].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
|
|||||||
@@ -135,7 +135,6 @@
|
|||||||
</el-table>
|
</el-table>
|
||||||
</div>
|
</div>
|
||||||
<ProcessFooter
|
<ProcessFooter
|
||||||
show-save
|
|
||||||
show-submit
|
show-submit
|
||||||
:submitLoading="isSubmit"
|
:submitLoading="isSubmit"
|
||||||
:saveLoading="saveLoading"
|
:saveLoading="saveLoading"
|
||||||
@@ -264,6 +263,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
|
||||||
|
console.log(data);
|
||||||
}).catch(e => {
|
}).catch(e => {
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -184,7 +184,6 @@
|
|||||||
</el-table>
|
</el-table>
|
||||||
</div>
|
</div>
|
||||||
<ProcessFooter
|
<ProcessFooter
|
||||||
show-save
|
|
||||||
show-submit
|
show-submit
|
||||||
:submitLoading="isSubmit"
|
:submitLoading="isSubmit"
|
||||||
:saveLoading="saveLoading"
|
:saveLoading="saveLoading"
|
||||||
|
|||||||
@@ -167,7 +167,6 @@
|
|||||||
</el-table>
|
</el-table>
|
||||||
</div>
|
</div>
|
||||||
<ProcessFooter
|
<ProcessFooter
|
||||||
show-save
|
|
||||||
show-submit
|
show-submit
|
||||||
:submitLoading="isSubmit"
|
:submitLoading="isSubmit"
|
||||||
:saveLoading="saveLoading"
|
:saveLoading="saveLoading"
|
||||||
|
|||||||
@@ -193,7 +193,6 @@
|
|||||||
</el-table>
|
</el-table>
|
||||||
</div>
|
</div>
|
||||||
<ProcessFooter
|
<ProcessFooter
|
||||||
show-save
|
|
||||||
show-submit
|
show-submit
|
||||||
:submitLoading="isSubmit"
|
:submitLoading="isSubmit"
|
||||||
:saveLoading="saveLoading"
|
:saveLoading="saveLoading"
|
||||||
|
|||||||
@@ -184,7 +184,6 @@
|
|||||||
</el-table>
|
</el-table>
|
||||||
</div>
|
</div>
|
||||||
<ProcessFooter
|
<ProcessFooter
|
||||||
show-save
|
|
||||||
show-submit
|
show-submit
|
||||||
:submitLoading="isSubmit"
|
:submitLoading="isSubmit"
|
||||||
:saveLoading="saveLoading"
|
:saveLoading="saveLoading"
|
||||||
|
|||||||
@@ -184,7 +184,6 @@
|
|||||||
</el-table>
|
</el-table>
|
||||||
</div>
|
</div>
|
||||||
<ProcessFooter
|
<ProcessFooter
|
||||||
show-save
|
|
||||||
show-submit
|
show-submit
|
||||||
:submitLoading="isSubmit"
|
:submitLoading="isSubmit"
|
||||||
:saveLoading="saveLoading"
|
:saveLoading="saveLoading"
|
||||||
|
|||||||
@@ -184,7 +184,6 @@
|
|||||||
</el-table>
|
</el-table>
|
||||||
</div>
|
</div>
|
||||||
<ProcessFooter
|
<ProcessFooter
|
||||||
show-save
|
|
||||||
show-submit
|
show-submit
|
||||||
:submitLoading="isSubmit"
|
:submitLoading="isSubmit"
|
||||||
:saveLoading="saveLoading"
|
:saveLoading="saveLoading"
|
||||||
|
|||||||
@@ -184,7 +184,6 @@
|
|||||||
</el-table>
|
</el-table>
|
||||||
</div>
|
</div>
|
||||||
<ProcessFooter
|
<ProcessFooter
|
||||||
show-save
|
|
||||||
show-submit
|
show-submit
|
||||||
:submitLoading="isSubmit"
|
:submitLoading="isSubmit"
|
||||||
:saveLoading="saveLoading"
|
:saveLoading="saveLoading"
|
||||||
|
|||||||
@@ -288,18 +288,7 @@ export default {
|
|||||||
ProcessFooter,
|
ProcessFooter,
|
||||||
ProcessTitle
|
ProcessTitle
|
||||||
},
|
},
|
||||||
mounted () {
|
|
||||||
this.getJsonData()
|
|
||||||
},
|
|
||||||
methods: {
|
methods: {
|
||||||
getJsonData() {
|
|
||||||
const params = {
|
|
||||||
type: '8'
|
|
||||||
}
|
|
||||||
startProcess(params).then(res => {
|
|
||||||
this.taskID = res.data
|
|
||||||
})
|
|
||||||
},
|
|
||||||
//点击新增事件
|
//点击新增事件
|
||||||
addList() {
|
addList() {
|
||||||
standUnqualified(this.queryUnqualidiedData).then(res => {
|
standUnqualified(this.queryUnqualidiedData).then(res => {
|
||||||
@@ -383,15 +372,21 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
this.$refs['roleForm'].validate((valid) => {
|
this.$refs['roleForm'].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
const params = new FormData();
|
const paramsInfo = {
|
||||||
params.set('json', JSON.stringify(json))
|
type: '8'
|
||||||
params.set('userId', this.$store.getters.userInfo.userId)
|
}
|
||||||
params.set('taskIds', this.taskID)
|
startProcess(paramsInfo).then(res => {
|
||||||
completeTask(params).then(res => {
|
this.taskID = res.data
|
||||||
if(res.success === true) {
|
const params = new FormData();
|
||||||
this.$message.success('提交成功')
|
params.set('json', JSON.stringify(json))
|
||||||
this.$router.push("/processCenter");
|
params.set('userId', this.$store.getters.userInfo.userId)
|
||||||
}
|
params.set('taskIds', this.taskID)
|
||||||
|
completeTask(params).then(res => {
|
||||||
|
if(res.success === true) {
|
||||||
|
this.$message.success('提交成功')
|
||||||
|
this.$router.push("/processCenter");
|
||||||
|
}
|
||||||
|
})
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
@@ -407,7 +402,7 @@ export default {
|
|||||||
this.modalshowflag = true
|
this.modalshowflag = true
|
||||||
},
|
},
|
||||||
drawerCheck (data) {
|
drawerCheck (data) {
|
||||||
this.roleForm.dockUserName = data[0].id
|
this.roleForm.dockUser = data[0].id
|
||||||
this.roleForm.dockUserName = data[0].name
|
this.roleForm.dockUserName = data[0].name
|
||||||
this.modalshowflag = false
|
this.modalshowflag = false
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -193,7 +193,6 @@ export default {
|
|||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.getData()
|
this.getData()
|
||||||
this.getTree()
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
getData() {
|
getData() {
|
||||||
@@ -293,8 +292,8 @@ export default {
|
|||||||
drawerCheck (data) {
|
drawerCheck (data) {
|
||||||
this.roleForm = data[0]
|
this.roleForm = data[0]
|
||||||
// 选择责任人时input框内值
|
// 选择责任人时input框内值
|
||||||
this.newDataList.dutyPeople = this.roleRow.name
|
this.newDataList.dutyPeople = this.roleForm.name
|
||||||
this.newDataList.dutyPeopleId = this.roleRow.id
|
this.newDataList.dutyPeopleId = this.roleForm.id
|
||||||
this.lastDataList = this.dataList
|
this.lastDataList = this.dataList
|
||||||
this.modalshowflag = false
|
this.modalshowflag = false
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -94,7 +94,7 @@
|
|||||||
<el-table-column prop="dutyEngineer" label="负责人"/>
|
<el-table-column prop="dutyEngineer" label="负责人"/>
|
||||||
<el-table-column label="佐证材料" show-overflow-tooltip>
|
<el-table-column label="佐证材料" show-overflow-tooltip>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-button type="text" @click="download" >{{scope.row.fileText}}</el-button>
|
<el-button type="text" @click="download(scope.row)" >{{scope.row.fileText}}</el-button>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
@@ -187,9 +187,7 @@ export default {
|
|||||||
},
|
},
|
||||||
getFormFieldList (item) {
|
getFormFieldList (item) {
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
console.log(item)
|
|
||||||
this.dataList = JSON.parse(JSON.stringify(item)).info.fileDataList
|
this.dataList = JSON.parse(JSON.stringify(item)).info.fileDataList
|
||||||
console.log(this.dataList)
|
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -266,14 +264,8 @@ export default {
|
|||||||
this.getData()
|
this.getData()
|
||||||
},
|
},
|
||||||
download(row) {
|
download(row) {
|
||||||
// window.open(process.env.VUE_APP_BASE_API + "/hospital/file/downloadFile?tPath=" + tPath)
|
let attId = row.fileTextId
|
||||||
var name = row.fileText;
|
window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId;
|
||||||
var url = row.fileTextPath;
|
|
||||||
const a = document.createElement('a')
|
|
||||||
a.setAttribute('download', name)
|
|
||||||
a.setAttribute('target', '_blank')
|
|
||||||
a.setAttribute('href', process.env.VUE_APP_BASE_API + "/hospital/file/downloadFile?tPath=" + url)
|
|
||||||
a.click()
|
|
||||||
},
|
},
|
||||||
// 分页事件
|
// 分页事件
|
||||||
pageChange (page) {
|
pageChange (page) {
|
||||||
|
|||||||
@@ -28,16 +28,16 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="标准编号" prop="standNumber" class="add-form-item form-item-disabled">
|
<el-form-item label="标准编号" prop="standNumber" class="add-form-item form-item-disabled">
|
||||||
<el-input
|
<el-input
|
||||||
|
disabled
|
||||||
v-model="listForm.standNumber"
|
v-model="listForm.standNumber"
|
||||||
placeholder="请输入标准编号"
|
placeholder="请输入标准编号"
|
||||||
clearable
|
|
||||||
></el-input>
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="标准名称" prop="standName" class="add-form-item form-item-disabled">
|
<el-form-item label="标准名称" prop="standName" class="add-form-item form-item-disabled">
|
||||||
<el-input
|
<el-input
|
||||||
|
disabled
|
||||||
v-model="listForm.standName"
|
v-model="listForm.standName"
|
||||||
placeholder="请输入标准名称"
|
placeholder="请输入标准名称"
|
||||||
clearable
|
|
||||||
></el-input>
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="认证工程师" prop="certifiedEngineerName" class="add-form-item form-item-disabled">
|
<el-form-item label="认证工程师" prop="certifiedEngineerName" class="add-form-item form-item-disabled">
|
||||||
@@ -93,13 +93,22 @@
|
|||||||
<el-table-column
|
<el-table-column
|
||||||
prop="distributePerson"
|
prop="distributePerson"
|
||||||
label="分发责任人">
|
label="分发责任人">
|
||||||
|
<!-- <template slot-scope="scope">-->
|
||||||
|
<!-- <el-input v-model="scope.row.distributePerson" v-show="false"></el-input>-->
|
||||||
|
<!-- <el-input-->
|
||||||
|
<!-- v-model="dataList.distributePerson"-->
|
||||||
|
<!-- placeholder="请选择分发责任人"-->
|
||||||
|
<!-- @click.native="choiceZRR(scope,'distributePerson', '选择分发责任人', roleForm.distributePerson)"-->
|
||||||
|
<!-- readonly-->
|
||||||
|
<!-- v-if="dataList[scope.$index].distributePerson==null"-->
|
||||||
|
<!-- />-->
|
||||||
|
<!-- </template>-->
|
||||||
<template slot-scope="scope,text" v-if="showColumn">
|
<template slot-scope="scope,text" v-if="showColumn">
|
||||||
<div>
|
<div>
|
||||||
<div @click="choiceZRR(scope,'distributePerson', '选择分发责任人', roleForm.distributePerson)">
|
<div @click="choiceZRR(scope,'distributePerson', '选择分发责任人', roleForm.distributePerson)">
|
||||||
{{listForm.dataList[scope.$index].distributePerson==null?"请选择分发负责人":listForm.dataList[scope.$index].distributePerson}}
|
{{ listForm.dataList[scope.$index].distributePerson == null ? "请选择分发负责人" : listForm.dataList[scope.$index].distributePerson }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
@@ -113,7 +122,7 @@
|
|||||||
: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>
|
||||||
@@ -241,17 +250,26 @@
|
|||||||
>
|
>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="issueTime"
|
prop="putTime"
|
||||||
label="发布日期">
|
label="发布日期">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ scope.row.putTime ? $moment(scope.row.putTime).format("YYYY-MM-DD") : "" }}</span>
|
||||||
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="xcxssrq"
|
prop="xcxssrqgj"
|
||||||
label="新车型实施日期">
|
label="新车型实施日期">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ scope.row.xcxssrqgj ? $moment(scope.row.xcxssrqgj).format("YYYY-MM-DD") : "" }}</span>
|
||||||
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
prop="zccssrq"
|
prop="zccssrqgj"
|
||||||
label="在产车实施日期">
|
label="在产车实施日期">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ scope.row.zccssrqgj ? $moment(scope.row.zccssrqgj).format("YYYY-MM-DD") : "" }}</span>
|
||||||
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
@@ -370,20 +388,20 @@ export default {
|
|||||||
// 查询相关参数
|
// 查询相关参数
|
||||||
searching: false,
|
searching: false,
|
||||||
standardSearch: {
|
standardSearch: {
|
||||||
standType:'',
|
standType: "",
|
||||||
standName:'',
|
standName: ""
|
||||||
},
|
},
|
||||||
standardTypeOptions: [
|
standardTypeOptions: [
|
||||||
{
|
{
|
||||||
value: 'INLAND',
|
value: "INLAND",
|
||||||
label: '国内标准法规',
|
label: "国内标准法规",
|
||||||
item:'INLAND',
|
item: "INLAND"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
value: 'FOREIGN',
|
value: "FOREIGN",
|
||||||
label: '海外标准法规',
|
label: "海外标准法规",
|
||||||
item:'FOREIGN',
|
item: "FOREIGN"
|
||||||
},
|
}
|
||||||
],
|
],
|
||||||
nodeList: [],
|
nodeList: [],
|
||||||
defaultProps: {
|
defaultProps: {
|
||||||
@@ -394,14 +412,14 @@ export default {
|
|||||||
startUserName: this.$store.getters.userInfo.userName,
|
startUserName: this.$store.getters.userInfo.userName,
|
||||||
startUser: this.$store.getters.userInfo.id,
|
startUser: this.$store.getters.userInfo.id,
|
||||||
qualityEngineer: "",
|
qualityEngineer: "",
|
||||||
certifiedEngineer:"",
|
certifiedEngineer: "",
|
||||||
qualityEngineerName: "",
|
qualityEngineerName: "",
|
||||||
certifiedEngineerName:"",
|
certifiedEngineerName: "",
|
||||||
distributePerson: "",
|
distributePerson: "",
|
||||||
dockUser:'',
|
dockUser: "",
|
||||||
ministerUser:"",
|
ministerUser: "",
|
||||||
dockUserName:'',
|
dockUserName: "",
|
||||||
ministerUserName:"",
|
ministerUserName: ""
|
||||||
},
|
},
|
||||||
formRules: {
|
formRules: {
|
||||||
standName: [
|
standName: [
|
||||||
@@ -415,7 +433,7 @@ export default {
|
|||||||
],
|
],
|
||||||
certifiedEngineer: [
|
certifiedEngineer: [
|
||||||
{ required: true, message: "请选择认证工程师", trigger: "change" }
|
{ required: true, message: "请选择认证工程师", trigger: "change" }
|
||||||
],
|
]
|
||||||
},
|
},
|
||||||
roleFormRules: {
|
roleFormRules: {
|
||||||
dockUserName: [
|
dockUserName: [
|
||||||
@@ -423,7 +441,7 @@ export default {
|
|||||||
],
|
],
|
||||||
ministerUserName: [
|
ministerUserName: [
|
||||||
{ required: true, message: "请选择标准法规部领导", trigger: "change" }
|
{ required: true, message: "请选择标准法规部领导", trigger: "change" }
|
||||||
],
|
]
|
||||||
},
|
},
|
||||||
ListModel: false, //选择拆分标准抽屉状态
|
ListModel: false, //选择拆分标准抽屉状态
|
||||||
treeData: [], // 人员数据
|
treeData: [], // 人员数据
|
||||||
@@ -459,29 +477,29 @@ export default {
|
|||||||
dataList: [{
|
dataList: [{
|
||||||
projectLine: "", //产品线
|
projectLine: "", //产品线
|
||||||
uname: "",//产品线责任人
|
uname: "",//产品线责任人
|
||||||
projectManager:"",// 产品线责任人id
|
projectManager: "",// 产品线责任人id
|
||||||
distributePerson: "", //分发责任人
|
distributePerson: "", //分发责任人
|
||||||
distributePersonId: "", //分发责任人id
|
distributePersonId: "", //分发责任人id
|
||||||
id: "",
|
id: "",
|
||||||
sarStandProjectLibraries: [{
|
sarStandProjectLibraries: [{
|
||||||
projectManager: '',
|
projectManager: "",
|
||||||
projectLevel: '',
|
projectLevel: "",
|
||||||
projectNumber: '',
|
projectNumber: "",
|
||||||
projectEndDate: '',
|
projectEndDate: "",
|
||||||
currentNode: '',
|
currentNode: "",
|
||||||
projectGroup: '',
|
projectGroup: "",
|
||||||
productLine: '',
|
productLine: "",
|
||||||
projectClassification: '',
|
projectClassification: "",
|
||||||
projectStatus: '',
|
projectStatus: "",
|
||||||
projectStartDate: '',
|
projectStartDate: "",
|
||||||
id: '',
|
id: "",
|
||||||
projectName: '',
|
projectName: "",
|
||||||
projectPlatfor: ''
|
projectPlatfor: ""
|
||||||
}]
|
}]
|
||||||
}]
|
}]
|
||||||
},
|
},
|
||||||
choiceForm: {}, //选择标准清单列表
|
choiceForm: {}, //选择标准清单列表
|
||||||
showColumn:true
|
showColumn: true
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
@@ -491,25 +509,26 @@ export default {
|
|||||||
this.roleForm.dockUserName = data[0].name;
|
this.roleForm.dockUserName = data[0].name;
|
||||||
} else if (this.type === "ministerUser") {
|
} else if (this.type === "ministerUser") {
|
||||||
this.roleForm.ministerUser = data[0].id;
|
this.roleForm.ministerUser = data[0].id;
|
||||||
this.roleForm.ministerUserName = data[0].name;
|
this.roleForm.ministerUserName = data[0].name;
|
||||||
} else if (this.type === "qualityEngineer") {
|
} else if (this.type === "qualityEngineer") {
|
||||||
this.roleForm.qualityEngineer = data[0].id;
|
this.roleForm.qualityEngineer = data[0].id;
|
||||||
this.roleForm.qualityEngineerName = data[0].name;
|
this.roleForm.qualityEngineerName = data[0].name;
|
||||||
this.listForm.qualityEngineer = data[0].id;
|
this.listForm.qualityEngineer = data[0].id;
|
||||||
this.listForm.qualityEngineerName = data[0].name;
|
this.listForm.qualityEngineerName = data[0].name;
|
||||||
} else if (this.type === "certifiedEngineer") {
|
} else if (this.type === "certifiedEngineer") {
|
||||||
this.roleForm.certifiedEngineer = data[0].id;
|
this.roleForm.certifiedEngineer = data[0].id;
|
||||||
this.roleForm.certifiedEngineerName = data[0].name;
|
this.roleForm.certifiedEngineerName = data[0].name;
|
||||||
this.listForm.certifiedEngineer = data[0].id;
|
this.listForm.certifiedEngineer = data[0].id;
|
||||||
this.listForm.certifiedEngineerName = data[0].name;
|
this.listForm.certifiedEngineerName = data[0].name;
|
||||||
} else if (this.type === "distributePerson") {
|
} else if (this.type === "distributePerson") {
|
||||||
this.listForm.distributePerson = data[0].name;
|
// this.dataList.distributePerson = data[0].id;
|
||||||
this.listForm.dataList[this.dsadadadsada].distributePersonId= data[0].id
|
// this.dataList.distributePersonName = data[0].name;
|
||||||
this.listForm.dataList[this.dsadadadsada].distributePerson= data[0].name
|
this.listForm.dataList[this.dsadadadsada].distributePersonId = data[0].id;
|
||||||
|
this.listForm.dataList[this.dsadadadsada].distributePerson = data[0].name;
|
||||||
this.showColumn = false;
|
this.showColumn = false;
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.showColumn = true
|
this.showColumn = true;
|
||||||
})
|
});
|
||||||
}
|
}
|
||||||
this.modalshowflag = false;
|
this.modalshowflag = false;
|
||||||
},
|
},
|
||||||
@@ -521,7 +540,7 @@ export default {
|
|||||||
this.active = name;
|
this.active = name;
|
||||||
},
|
},
|
||||||
typeChange(type) {
|
typeChange(type) {
|
||||||
this.standardSearch.standType = type
|
this.standardSearch.standType = type;
|
||||||
},
|
},
|
||||||
choiceShow() {
|
choiceShow() {
|
||||||
this.ListModel = true;
|
this.ListModel = true;
|
||||||
@@ -542,32 +561,32 @@ export default {
|
|||||||
//点击添加事件
|
//点击添加事件
|
||||||
addList() {
|
addList() {
|
||||||
this.standModel = true;
|
this.standModel = true;
|
||||||
this.$refs.projectTable.clearSelection()
|
this.$refs.projectTable.clearSelection();
|
||||||
},
|
},
|
||||||
// 点击批量删除事件
|
// 点击批量删除事件
|
||||||
deleteList() {
|
deleteList() {
|
||||||
if(this.selectList.length < 1){
|
if (this.selectList.length < 1) {
|
||||||
this.$message.warning('请选择一条数据进行删除')
|
this.$message.warning("请选择一条数据进行删除");
|
||||||
}else {
|
} else {
|
||||||
this.$confirm('您确认删除这些数据?', '提示', {
|
this.$confirm("您确认删除这些数据?", "提示", {
|
||||||
confirmButtonText: "确认",
|
confirmButtonText: "确认",
|
||||||
confirmButtonClass: "common-button-primary",
|
confirmButtonClass: "common-button-primary",
|
||||||
cancelButtonText: "取消",
|
cancelButtonText: "取消",
|
||||||
type: "warning"
|
type: "warning"
|
||||||
}). then(() => {
|
}).then(() => {
|
||||||
this.selectList.map(item => {
|
this.selectList.map(item => {
|
||||||
let index;
|
let index;
|
||||||
index = this.dataList.findIndex(items => {
|
index = this.dataList.findIndex(items => {
|
||||||
return items.productLine = item
|
return items.productLine = item;
|
||||||
})
|
|
||||||
if (index > -1) {
|
|
||||||
this.dataList.splice(index, 1);
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
this.selectList = [];
|
if (index > -1) {
|
||||||
}).catch(() => {
|
this.dataList.splice(index, 1);
|
||||||
})
|
}
|
||||||
}
|
});
|
||||||
|
this.selectList = [];
|
||||||
|
}).catch(() => {
|
||||||
|
});
|
||||||
|
}
|
||||||
},
|
},
|
||||||
//取消添加事件
|
//取消添加事件
|
||||||
cancelStand() {
|
cancelStand() {
|
||||||
@@ -576,21 +595,21 @@ export default {
|
|||||||
//确认添加事件
|
//确认添加事件
|
||||||
okStand() {
|
okStand() {
|
||||||
let proData = [];
|
let proData = [];
|
||||||
if(this.dataList.length >= 1){
|
if (this.dataList.length >= 1) {
|
||||||
this.dataList.forEach(item => {
|
this.dataList.forEach(item => {
|
||||||
if(proData.length === 0){
|
if (proData.length === 0) {
|
||||||
proData.push(item.productLine)
|
proData.push(item.productLine);
|
||||||
}else if(!proData.includes(item.productLine)){
|
} else if (!proData.includes(item.productLine)) {
|
||||||
proData.push(item.productLine)
|
proData.push(item.productLine);
|
||||||
}
|
|
||||||
})
|
|
||||||
this.standList.forEach(items => {
|
|
||||||
if(!proData.includes(items.productLine)){
|
|
||||||
this.dataList.push(items)
|
|
||||||
}
|
}
|
||||||
})
|
});
|
||||||
|
this.standList.forEach(items => {
|
||||||
|
if (!proData.includes(items.productLine)) {
|
||||||
|
this.dataList.push(items);
|
||||||
|
}
|
||||||
|
});
|
||||||
this.standModel = false;
|
this.standModel = false;
|
||||||
}else{
|
} else {
|
||||||
if (this.standList.length >= 1) {
|
if (this.standList.length >= 1) {
|
||||||
this.dataList = this.standList;
|
this.dataList = this.standList;
|
||||||
this.roleForm.directorUser = this.dataList[0].uname;
|
this.roleForm.directorUser = this.dataList[0].uname;
|
||||||
@@ -607,7 +626,7 @@ export default {
|
|||||||
let _formData = new FormData();
|
let _formData = new FormData();
|
||||||
_formData.append("createUser", this.$store.getters.userInfo.userId);
|
_formData.append("createUser", this.$store.getters.userInfo.userId);
|
||||||
_formData.append("createUserName", this.$store.getters.userInfo.uName);
|
_formData.append("createUserName", this.$store.getters.userInfo.uName);
|
||||||
_formData.append("prcType", '5');
|
_formData.append("prcType", "5");
|
||||||
_formData.append("json", JSON.stringify({
|
_formData.append("json", JSON.stringify({
|
||||||
prcForm: this.prcForm,
|
prcForm: this.prcForm,
|
||||||
sarAccessInfoList: this.sarAccessInfoList,
|
sarAccessInfoList: this.sarAccessInfoList,
|
||||||
@@ -625,19 +644,17 @@ export default {
|
|||||||
},
|
},
|
||||||
//提交事件
|
//提交事件
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
|
if (this.dataList.length < 1) {
|
||||||
|
this.$message.warning("请添加产品线信息");
|
||||||
|
}
|
||||||
this.dataList.forEach(item => {
|
this.dataList.forEach(item => {
|
||||||
if(item.distributePerson === '' || item.distributePerson === null || item.distributePerson === undefined){
|
if (item.distributePerson === "" || item.distributePerson === null || item.distributePerson === undefined) {
|
||||||
this.$message.warning('请选择分发责任人')
|
this.$message.warning("请选择分发责任人");
|
||||||
} else {
|
} else {
|
||||||
var json = Object.assign(this.listForm, this.roleForm)
|
var json = Object.assign(this.listForm, this.roleForm);
|
||||||
json.prcCreateUser = this.$store.getters.userInfo.userId;
|
this.$refs["listForm"].validate((valid) => {
|
||||||
json.prcCreateUserName = this.$store.getters.userInfo.uName;
|
|
||||||
json.standId = this.listForm.standId;
|
|
||||||
json.XCXSSRQ = this.sarAccessListDatas[0].xcxssrqgj
|
|
||||||
json.ZCCSSRQ = this.sarAccessListDatas[0].zccssrqgj
|
|
||||||
this.$refs['listForm'].validate((valid) => {
|
|
||||||
if (valid) {
|
if (valid) {
|
||||||
this.$refs['roleForm'].validate((valid) => {
|
this.$refs["roleForm"].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
this.$http.get("lawss/activiti/startProcess", { type: "5" }, {
|
this.$http.get("lawss/activiti/startProcess", { type: "5" }, {
|
||||||
_this: this
|
_this: this
|
||||||
@@ -666,7 +683,7 @@ export default {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
})
|
});
|
||||||
|
|
||||||
},
|
},
|
||||||
//选择拆分标准取消事件
|
//选择拆分标准取消事件
|
||||||
@@ -723,8 +740,8 @@ export default {
|
|||||||
selectThree(data) {
|
selectThree(data) {
|
||||||
this.standList = data;
|
this.standList = data;
|
||||||
},
|
},
|
||||||
choiceZRR(scope,type, title, id) {
|
choiceZRR(scope, type, title, id) {
|
||||||
if(scope!=null){
|
if (scope != null) {
|
||||||
this.dsadadadsada = scope.$index;
|
this.dsadadadsada = scope.$index;
|
||||||
}
|
}
|
||||||
this.nodeList = [];
|
this.nodeList = [];
|
||||||
@@ -740,19 +757,19 @@ export default {
|
|||||||
},
|
},
|
||||||
pageChange(page) {
|
pageChange(page) {
|
||||||
this.page = page;
|
this.page = page;
|
||||||
this.getStandData()
|
this.getStandData();
|
||||||
},
|
},
|
||||||
pageSizeChange(pageSize) {
|
pageSizeChange(pageSize) {
|
||||||
this.pageSize = this.$store.getters.userInfo.configContent;
|
this.pageSize = this.$store.getters.userInfo.configContent;
|
||||||
this.getStandData()
|
this.getStandData();
|
||||||
},
|
},
|
||||||
pageChangeNo(page) {
|
pageChangeNo(page) {
|
||||||
this.pageNO = page;
|
this.pageNO = page;
|
||||||
this.getProductData()
|
this.getProductData();
|
||||||
},
|
},
|
||||||
pageSizeChangeNo(pageSize) {
|
pageSizeChangeNo(pageSize) {
|
||||||
this.pageSizeNo = this.$store.getters.userInfo.configContent;
|
this.pageSizeNo = this.$store.getters.userInfo.configContent;
|
||||||
this.getProductData()
|
this.getProductData();
|
||||||
},
|
},
|
||||||
//获取产品线数据
|
//获取产品线数据
|
||||||
getProductData() {
|
getProductData() {
|
||||||
@@ -769,27 +786,27 @@ export default {
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
//获取标准数据
|
//获取标准数据
|
||||||
getStandData(){
|
getStandData() {
|
||||||
this.$http.post('SarStandItems/sar-stand-items/findStand',{
|
this.$http.post("SarStandItems/sar-stand-items/findStand", {
|
||||||
page: this.page,
|
page: this.page,
|
||||||
size: this.pageSize,
|
size: this.pageSize,
|
||||||
...this.standardSearch,
|
...this.standardSearch
|
||||||
},{
|
}, {
|
||||||
_this: this,
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
this.sarAccessListDatas = res.records;
|
this.sarAccessListDatas = res.records;
|
||||||
this.total = res.total
|
this.total = res.total;
|
||||||
}, e => {
|
}, e => {
|
||||||
|
|
||||||
})
|
});
|
||||||
},
|
},
|
||||||
clearSearch() {
|
clearSearch() {
|
||||||
this.standardSearch = {
|
this.standardSearch = {
|
||||||
standName: "",
|
standName: "",
|
||||||
standType:"",
|
standType: ""
|
||||||
};
|
};
|
||||||
this.getStandData();
|
this.getStandData();
|
||||||
},
|
}
|
||||||
},
|
},
|
||||||
computed: {},
|
computed: {},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
|||||||
@@ -25,14 +25,14 @@
|
|||||||
<el-input
|
<el-input
|
||||||
v-model="listForm.standNumber"
|
v-model="listForm.standNumber"
|
||||||
placeholder="请输入标准编号"
|
placeholder="请输入标准编号"
|
||||||
clearable
|
disabled
|
||||||
></el-input>
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="标准名称" prop="standName" class="add-form-item form-item-disabled">
|
<el-form-item label="标准名称" prop="standName" class="add-form-item form-item-disabled">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="listForm.standName"
|
v-model="listForm.standName"
|
||||||
placeholder="请输入标准名称"
|
placeholder="请输入标准名称"
|
||||||
clearable
|
disabled
|
||||||
></el-input>
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="认证工程师" prop="certifiedEngineerName" class="add-form-item form-item-disabled">
|
<el-form-item label="认证工程师" prop="certifiedEngineerName" class="add-form-item form-item-disabled">
|
||||||
|
|||||||
@@ -25,14 +25,14 @@
|
|||||||
<el-input
|
<el-input
|
||||||
v-model="listForm.standNumber"
|
v-model="listForm.standNumber"
|
||||||
placeholder="请输入标准编号"
|
placeholder="请输入标准编号"
|
||||||
clearable
|
disabled
|
||||||
></el-input>
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="标准名称" prop="standName" class="add-form-item form-item-disabled">
|
<el-form-item label="标准名称" prop="standName" class="add-form-item form-item-disabled">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="listForm.standName"
|
v-model="listForm.standName"
|
||||||
placeholder="请输入标准名称"
|
placeholder="请输入标准名称"
|
||||||
clearable
|
disabled
|
||||||
></el-input>
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="认证工程师" prop="certifiedEngineerName" class="add-form-item form-item-disabled">
|
<el-form-item label="认证工程师" prop="certifiedEngineerName" class="add-form-item form-item-disabled">
|
||||||
|
|||||||
@@ -25,14 +25,14 @@
|
|||||||
<el-input
|
<el-input
|
||||||
v-model="listForm.standNumber"
|
v-model="listForm.standNumber"
|
||||||
placeholder="请输入标准编号"
|
placeholder="请输入标准编号"
|
||||||
clearable
|
disabled
|
||||||
></el-input>
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="标准名称" prop="standName" class="add-form-item form-item-disabled">
|
<el-form-item label="标准名称" prop="standName" class="add-form-item form-item-disabled">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="listForm.standName"
|
v-model="listForm.standName"
|
||||||
placeholder="请输入标准名称"
|
placeholder="请输入标准名称"
|
||||||
clearable
|
disabled
|
||||||
></el-input>
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="认证工程师" prop="certifiedEngineerName" class="add-form-item form-item-disabled">
|
<el-form-item label="认证工程师" prop="certifiedEngineerName" class="add-form-item form-item-disabled">
|
||||||
|
|||||||
@@ -25,14 +25,14 @@
|
|||||||
<el-input
|
<el-input
|
||||||
v-model="listForm.standNumber"
|
v-model="listForm.standNumber"
|
||||||
placeholder="请输入标准编号"
|
placeholder="请输入标准编号"
|
||||||
clearable
|
disabled
|
||||||
></el-input>
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="标准名称" prop="standName" class="add-form-item form-item-disabled">
|
<el-form-item label="标准名称" prop="standName" class="add-form-item form-item-disabled">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="listForm.standName"
|
v-model="listForm.standName"
|
||||||
placeholder="请输入标准名称"
|
placeholder="请输入标准名称"
|
||||||
clearable
|
disabled
|
||||||
></el-input>
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="认证工程师" prop="certifiedEngineerName" class="add-form-item form-item-disabled">
|
<el-form-item label="认证工程师" prop="certifiedEngineerName" class="add-form-item form-item-disabled">
|
||||||
|
|||||||
@@ -25,14 +25,14 @@
|
|||||||
<el-input
|
<el-input
|
||||||
v-model="listForm.standNumber"
|
v-model="listForm.standNumber"
|
||||||
placeholder="请输入标准编号"
|
placeholder="请输入标准编号"
|
||||||
clearable
|
disabled
|
||||||
></el-input>
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="标准名称" prop="standName" class="add-form-item form-item-disabled">
|
<el-form-item label="标准名称" prop="standName" class="add-form-item form-item-disabled">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="listForm.standName"
|
v-model="listForm.standName"
|
||||||
placeholder="请输入标准名称"
|
placeholder="请输入标准名称"
|
||||||
clearable
|
disabled
|
||||||
></el-input>
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="认证工程师" prop="certifiedEngineerName" class="add-form-item form-item-disabled">
|
<el-form-item label="认证工程师" prop="certifiedEngineerName" class="add-form-item form-item-disabled">
|
||||||
|
|||||||
@@ -25,14 +25,14 @@
|
|||||||
<el-input
|
<el-input
|
||||||
v-model="listForm.standNumber"
|
v-model="listForm.standNumber"
|
||||||
placeholder="请输入标准编号"
|
placeholder="请输入标准编号"
|
||||||
clearable
|
disabled
|
||||||
></el-input>
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="标准名称" prop="standName" class="add-form-item form-item-disabled">
|
<el-form-item label="标准名称" prop="standName" class="add-form-item form-item-disabled">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="listForm.standName"
|
v-model="listForm.standName"
|
||||||
placeholder="请输入标准名称"
|
placeholder="请输入标准名称"
|
||||||
clearable
|
disabled
|
||||||
></el-input>
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="认证工程师" prop="certifiedEngineerName" class="add-form-item form-item-disabled">
|
<el-form-item label="认证工程师" prop="certifiedEngineerName" class="add-form-item form-item-disabled">
|
||||||
|
|||||||
@@ -41,92 +41,98 @@
|
|||||||
<template slot="title">填写信息</template>
|
<template slot="title">填写信息</template>
|
||||||
</process-title>
|
</process-title>
|
||||||
<el-table
|
<el-table
|
||||||
:data="dataList"
|
:data="dataList"
|
||||||
border
|
style="width: 100%; border: 1px solid #cccccc"
|
||||||
ref="selection"
|
row-key="standId"
|
||||||
height="70%"
|
height="70%"
|
||||||
style="width: 100%; border:1px solid #ccc"
|
border
|
||||||
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
|
@selection-change="selectStandChange"
|
||||||
fontWeight: 'bold', height: '48px'}">
|
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
|
||||||
|
fontWeight: 'bold', height: '48px'}"
|
||||||
|
>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
type="selection"
|
type="selection"
|
||||||
width="55"
|
width="55"
|
||||||
align="center">
|
align="center">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="standNumber"
|
prop="standEnName"
|
||||||
align="center"
|
label="标准编号"
|
||||||
width="200"
|
width="180"
|
||||||
label="标准编号">
|
fixed="left"
|
||||||
|
align="center"
|
||||||
|
>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="standName"
|
prop="standName"
|
||||||
align="center"
|
fixed="left"
|
||||||
width="200"
|
width="180"
|
||||||
label="标准名称">
|
align="center"
|
||||||
|
label="标准名称"
|
||||||
|
>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="itemNum"
|
prop="itemsNum"
|
||||||
align="center"
|
align="center"
|
||||||
width="200"
|
width="200"
|
||||||
label="条款号">
|
label="条款号">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="itemsName"
|
prop="itemsName"
|
||||||
width="200"
|
width="200"
|
||||||
align="center"
|
align="center"
|
||||||
label="条款名称">
|
label="条款名称">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="xCXSSRQ"
|
prop="xcxssrqgj"
|
||||||
width="200"
|
width="200"
|
||||||
align="center"
|
align="center"
|
||||||
label="新车型实施日期">
|
label="新车型实施日期">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.xCXSSRQ ? $moment(scope.row.xCXSSRQ).format('YYYY-MM-DD') : '' }}</span>
|
<span>{{ scope.row.xcxssrqgj ? $moment(scope.row.xcxssrqgj).format("YYYY-MM-DD") : "" }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="zCCSSRQ"
|
prop="zccssrqgj"
|
||||||
width="200"
|
width="200"
|
||||||
align="center"
|
align="center"
|
||||||
label="在产车实施日期">
|
label="在产车实施日期">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.zCCSSRQ ? $moment(scope.row.zCCSSRQ).format('YYYY-MM-DD') : '' }}</span>
|
<span>{{ scope.row.zccssrqgj ? $moment(scope.row.zccssrqgj).format("YYYY-MM-DD") : "" }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="productType"
|
prop="productType"
|
||||||
align="center"
|
align="center"
|
||||||
label="在研产品">
|
label="在研产品">
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="complianceReasons"
|
prop="complianceReasons"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="合规">
|
label="合规">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
prop="researchNonCompliance"
|
prop="researchNonCompliance"
|
||||||
label="不合规">
|
label="不合规">
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="noCompliance"
|
prop="noCompliance"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="不合规项目">
|
label="不合规项目">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="countermeasures"
|
prop="countermeasures"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="应对措施">
|
label="应对措施">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="completionTime"
|
prop="completionTime"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="完成时间">
|
label="完成时间">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.completionTime ? $moment(scope.row.completionTime).format('YYYY-MM-DD') : '' }}</span>
|
<span>{{ scope.row.completionTime ? $moment(scope.row.completionTime).format('YYYY-MM-DD') : '' }}</span>
|
||||||
</template>
|
</template>
|
||||||
@@ -134,48 +140,41 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
align="center"
|
align="center"
|
||||||
label="在产产品">
|
label="在产产品">
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="zcComplianceReasons"
|
prop="zcComplianceReasons"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="合规(具体情况)">
|
label="合规(具体情况)">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="不合规">
|
label="不合规">
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="zcNoCompliance"
|
prop="zcNoCompliance"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="不合规项目">
|
label="不合规项目">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="zcCountermeasures"
|
prop="zcCountermeasures"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="应对措施">
|
label="应对措施">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="zcCompletionTime"
|
prop="zcCompletionTime"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="完成时间">
|
label="完成时间">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.zcCompletionTime ? $moment(scope.row.zcCompletionTime).format('YYYY-MM-DD') : '' }}</span>
|
<span>{{ scope.row.zcCompletionTime ? $moment(scope.row.zcCompletionTime).format('YYYY-MM-DD') : '' }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
|
||||||
fixed="right"
|
|
||||||
align="center"
|
|
||||||
width="150"
|
|
||||||
prop="workPeople"
|
|
||||||
label="落实人">
|
|
||||||
</el-table-column>
|
|
||||||
</el-table>
|
</el-table>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
@@ -297,7 +296,7 @@ export default {
|
|||||||
saveLoading: false,
|
saveLoading: false,
|
||||||
//表单的数据
|
//表单的数据
|
||||||
listForm: {
|
listForm: {
|
||||||
BZFlag: " ", //1审批通过 其他为驳回
|
bzFlag: " ", //1审批通过 其他为驳回
|
||||||
projectNumber: "", //项目编号
|
projectNumber: "", //项目编号
|
||||||
projectName: "", //项目名称
|
projectName: "", //项目名称
|
||||||
dataList: [], //项目下的标准数据
|
dataList: [], //项目下的标准数据
|
||||||
@@ -359,42 +358,50 @@ export default {
|
|||||||
},
|
},
|
||||||
//驳回事件
|
//驳回事件
|
||||||
beforeBack() {
|
beforeBack() {
|
||||||
this.listForm.BZFlag = "2";
|
if(this.commentText === null || this.commentText === undefined || this.commentText === ''){
|
||||||
this.listForm.commentText = this.commentText;
|
this.$message.warning('请填写审批意见')
|
||||||
const json = JSON.stringify(this.listForm);
|
}else{
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
this.listForm.bzFlag = "2";
|
||||||
taskIds: this.taskIds,
|
this.listForm.commentText = this.commentText;
|
||||||
userId: this.userId,
|
const json = JSON.stringify(this.listForm);
|
||||||
json: json
|
this.$http.post("lawss/activiti/completeTask", {
|
||||||
}, {
|
taskIds: this.taskIds,
|
||||||
_this: this
|
userId: this.userId,
|
||||||
}, res => {
|
json: json
|
||||||
if (res.success) {
|
}, {
|
||||||
this.$message.success(res.message);
|
_this: this
|
||||||
this.$router.push("/processCenter");
|
}, res => {
|
||||||
}
|
if (res.success) {
|
||||||
}, e => {
|
this.$message.success(res.message);
|
||||||
});
|
this.$router.push("/processCenter");
|
||||||
|
}
|
||||||
|
}, e => {
|
||||||
|
});
|
||||||
|
}
|
||||||
},
|
},
|
||||||
//提交事件
|
//提交事件
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
this.listForm.BZFlag = "1";
|
if(this.commentText === null || this.commentText === undefined || this.commentText === ''){
|
||||||
this.listForm.commentText = this.commentText;
|
this.$message.warning('请填写审批意见')
|
||||||
const json = JSON.stringify(this.listForm);
|
}else{
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
this.listForm.bzFlag = "1";
|
||||||
taskIds: this.taskIds,
|
this.listForm.commentText = this.commentText;
|
||||||
userId: this.userId,
|
const json = JSON.stringify(this.listForm);
|
||||||
json: json
|
this.$http.post("lawss/activiti/completeTask", {
|
||||||
}, {
|
taskIds: this.taskIds,
|
||||||
_this: this
|
userId: this.userId,
|
||||||
}, res => {
|
json: json
|
||||||
if (res.success) {
|
}, {
|
||||||
this.$message.success(res.message);
|
_this: this
|
||||||
this.$router.push("/processCenter");
|
}, res => {
|
||||||
}
|
if (res.success) {
|
||||||
}, e => {
|
this.$message.success(res.message);
|
||||||
});
|
this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
|
}, e => {
|
||||||
|
});
|
||||||
|
}
|
||||||
|
},
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
listNoDataText() {
|
listNoDataText() {
|
||||||
|
|||||||
@@ -41,92 +41,98 @@
|
|||||||
<template slot="title">填写信息</template>
|
<template slot="title">填写信息</template>
|
||||||
</process-title>
|
</process-title>
|
||||||
<el-table
|
<el-table
|
||||||
:data="dataList"
|
:data="dataList"
|
||||||
border
|
style="width: 100%; border: 1px solid #cccccc"
|
||||||
ref="selection"
|
row-key="standId"
|
||||||
height="70%"
|
height="70%"
|
||||||
style="width: 100%; border:1px solid #ccc"
|
border
|
||||||
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
|
@selection-change="selectStandChange"
|
||||||
fontWeight: 'bold', height: '48px'}">
|
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
|
||||||
|
fontWeight: 'bold', height: '48px'}"
|
||||||
|
>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
type="selection"
|
type="selection"
|
||||||
width="55"
|
width="55"
|
||||||
align="center">
|
align="center">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="standNumber"
|
prop="standEnName"
|
||||||
align="center"
|
label="标准编号"
|
||||||
width="200"
|
width="180"
|
||||||
label="标准编号">
|
fixed="left"
|
||||||
|
align="center"
|
||||||
|
>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="standName"
|
prop="standName"
|
||||||
align="center"
|
fixed="left"
|
||||||
width="200"
|
width="180"
|
||||||
label="标准名称">
|
align="center"
|
||||||
|
label="标准名称"
|
||||||
|
>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="itemNum"
|
prop="itemsNum"
|
||||||
align="center"
|
align="center"
|
||||||
width="200"
|
width="200"
|
||||||
label="条款号">
|
label="条款号">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="itemsName"
|
prop="itemsName"
|
||||||
width="200"
|
width="200"
|
||||||
align="center"
|
align="center"
|
||||||
label="条款名称">
|
label="条款名称">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="xCXSSRQ"
|
prop="xcxssrqgj"
|
||||||
width="200"
|
width="200"
|
||||||
align="center"
|
align="center"
|
||||||
label="新车型实施日期">
|
label="新车型实施日期">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.xCXSSRQ ? $moment(scope.row.xCXSSRQ).format('YYYY-MM-DD') : '' }}</span>
|
<span>{{ scope.row.xcxssrqgj ? $moment(scope.row.xcxssrqgj).format("YYYY-MM-DD") : "" }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="zCCSSRQ"
|
prop="zccssrqgj"
|
||||||
width="200"
|
width="200"
|
||||||
align="center"
|
align="center"
|
||||||
label="在产车实施日期">
|
label="在产车实施日期">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.zCCSSRQ ? $moment(scope.row.zCCSSRQ).format('YYYY-MM-DD') : '' }}</span>
|
<span>{{ scope.row.zccssrqgj ? $moment(scope.row.zccssrqgj).format("YYYY-MM-DD") : "" }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="productType"
|
prop="productType"
|
||||||
align="center"
|
align="center"
|
||||||
label="在研产品">
|
label="在研产品">
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="complianceReasons"
|
prop="complianceReasons"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="合规">
|
label="合规">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
prop="researchNonCompliance"
|
prop="researchNonCompliance"
|
||||||
label="不合规">
|
label="不合规">
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="noCompliance"
|
prop="noCompliance"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="不合规项目">
|
label="不合规项目">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="countermeasures"
|
prop="countermeasures"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="应对措施">
|
label="应对措施">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="completionTime"
|
prop="completionTime"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="完成时间">
|
label="完成时间">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.completionTime ? $moment(scope.row.completionTime).format('YYYY-MM-DD') : '' }}</span>
|
<span>{{ scope.row.completionTime ? $moment(scope.row.completionTime).format('YYYY-MM-DD') : '' }}</span>
|
||||||
</template>
|
</template>
|
||||||
@@ -134,48 +140,41 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
align="center"
|
align="center"
|
||||||
label="在产产品">
|
label="在产产品">
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="zcComplianceReasons"
|
prop="zcComplianceReasons"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="合规(具体情况)">
|
label="合规(具体情况)">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="不合规">
|
label="不合规">
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="zcNoCompliance"
|
prop="zcNoCompliance"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="不合规项目">
|
label="不合规项目">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="zcCountermeasures"
|
prop="zcCountermeasures"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="应对措施">
|
label="应对措施">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="zcCompletionTime"
|
prop="zcCompletionTime"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="完成时间">
|
label="完成时间">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.zcCompletionTime ? $moment(scope.row.zcCompletionTime).format('YYYY-MM-DD') : '' }}</span>
|
<span>{{ scope.row.zcCompletionTime ? $moment(scope.row.zcCompletionTime).format('YYYY-MM-DD') : '' }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
|
||||||
fixed="right"
|
|
||||||
align="center"
|
|
||||||
width="150"
|
|
||||||
prop="workPeople"
|
|
||||||
label="落实人">
|
|
||||||
</el-table-column>
|
|
||||||
</el-table>
|
</el-table>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
@@ -297,7 +296,7 @@ export default {
|
|||||||
saveLoading: false,
|
saveLoading: false,
|
||||||
//表单的数据
|
//表单的数据
|
||||||
listForm: {
|
listForm: {
|
||||||
BZFlag: " ", //1审批通过 其他为驳回
|
bzFlag: " ", //1审批通过 其他为驳回
|
||||||
projectNumber: "", //项目编号
|
projectNumber: "", //项目编号
|
||||||
projectName: "", //项目名称
|
projectName: "", //项目名称
|
||||||
dataList: [], //项目下的标准数据
|
dataList: [], //项目下的标准数据
|
||||||
@@ -359,43 +358,52 @@ export default {
|
|||||||
},
|
},
|
||||||
//驳回事件
|
//驳回事件
|
||||||
beforeBack() {
|
beforeBack() {
|
||||||
this.listForm.BZFlag = "2";
|
if (this.commentText === null || this.commentText === undefined || this.commentText === '') {
|
||||||
this.listForm.commentText = this.commentText;
|
this.$message.warning('请填写审批意见')
|
||||||
const json = JSON.stringify(this.listForm);
|
} else {
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
this.listForm.bzFlag = "2";
|
||||||
taskIds: this.taskIds,
|
this.listForm.commentText = this.commentText;
|
||||||
userId: this.userId,
|
const json = JSON.stringify(this.listForm);
|
||||||
json: json
|
this.$http.post("lawss/activiti/completeTask", {
|
||||||
}, {
|
taskIds: this.taskIds,
|
||||||
_this: this
|
userId: this.userId,
|
||||||
}, res => {
|
json: json
|
||||||
if (res.success) {
|
}, {
|
||||||
this.$message.success(res.message);
|
_this: this
|
||||||
this.$router.push("/processCenter");
|
}, res => {
|
||||||
}
|
if (res.success) {
|
||||||
}, e => {
|
this.$message.success(res.message);
|
||||||
});
|
this.$router.push("/processCenter");
|
||||||
|
}
|
||||||
|
}, e => {
|
||||||
|
});
|
||||||
|
}
|
||||||
},
|
},
|
||||||
//提交事件
|
//提交事件
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
this.listForm.BZFlag = "1";
|
if (this.commentText === null || this.commentText === undefined || this.commentText === '') {
|
||||||
this.listForm.commentText = this.commentText;
|
this.$message.warning('请填写审批意见')
|
||||||
const json = JSON.stringify(this.listForm);
|
} else {
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
this.listForm.bzFlag = "1";
|
||||||
taskIds: this.taskIds,
|
this.listForm.commentText = this.commentText;
|
||||||
userId: this.userId,
|
const json = JSON.stringify(this.listForm);
|
||||||
json: json
|
this.$http.post("lawss/activiti/completeTask", {
|
||||||
}, {
|
taskIds: this.taskIds,
|
||||||
_this: this
|
userId: this.userId,
|
||||||
}, res => {
|
json: json
|
||||||
if (res.success) {
|
}, {
|
||||||
this.$message.success(res.message);
|
_this: this
|
||||||
this.$router.push("/processCenter");
|
}, res => {
|
||||||
}
|
if (res.success) {
|
||||||
}, e => {
|
this.$message.success(res.message);
|
||||||
});
|
this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
|
}, e => {
|
||||||
|
});
|
||||||
|
}
|
||||||
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
computed: {
|
computed: {
|
||||||
listNoDataText() {
|
listNoDataText() {
|
||||||
return this.processType === 1 ? "暂无待办流程" : "暂无已办流程";
|
return this.processType === 1 ? "暂无待办流程" : "暂无已办流程";
|
||||||
|
|||||||
@@ -41,92 +41,98 @@
|
|||||||
<template slot="title">填写信息</template>
|
<template slot="title">填写信息</template>
|
||||||
</process-title>
|
</process-title>
|
||||||
<el-table
|
<el-table
|
||||||
:data="dataList"
|
:data="dataList"
|
||||||
border
|
style="width: 100%; border: 1px solid #cccccc"
|
||||||
ref="selection"
|
row-key="standId"
|
||||||
height="70%"
|
height="70%"
|
||||||
style="width: 100%; border:1px solid #ccc"
|
border
|
||||||
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
|
@selection-change="selectStandChange"
|
||||||
fontWeight: 'bold', height: '48px'}">
|
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
|
||||||
|
fontWeight: 'bold', height: '48px'}"
|
||||||
|
>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
type="selection"
|
type="selection"
|
||||||
width="55"
|
width="55"
|
||||||
align="center">
|
align="center">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="standNumber"
|
prop="standEnName"
|
||||||
align="center"
|
label="标准编号"
|
||||||
width="200"
|
width="180"
|
||||||
label="标准编号">
|
fixed="left"
|
||||||
|
align="center"
|
||||||
|
>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="standName"
|
prop="standName"
|
||||||
align="center"
|
fixed="left"
|
||||||
width="200"
|
width="180"
|
||||||
label="标准名称">
|
align="center"
|
||||||
|
label="标准名称"
|
||||||
|
>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="itemNum"
|
prop="itemsNum"
|
||||||
align="center"
|
align="center"
|
||||||
width="200"
|
width="200"
|
||||||
label="条款号">
|
label="条款号">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="itemsName"
|
prop="itemsName"
|
||||||
width="200"
|
width="200"
|
||||||
align="center"
|
align="center"
|
||||||
label="条款名称">
|
label="条款名称">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="xCXSSRQ"
|
prop="xcxssrqgj"
|
||||||
width="200"
|
width="200"
|
||||||
align="center"
|
align="center"
|
||||||
label="新车型实施日期">
|
label="新车型实施日期">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.xCXSSRQ ? $moment(scope.row.xCXSSRQ).format('YYYY-MM-DD') : '' }}</span>
|
<span>{{ scope.row.xcxssrqgj ? $moment(scope.row.xcxssrqgj).format("YYYY-MM-DD") : "" }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="zCCSSRQ"
|
prop="zccssrqgj"
|
||||||
width="200"
|
width="200"
|
||||||
align="center"
|
align="center"
|
||||||
label="在产车实施日期">
|
label="在产车实施日期">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.zCCSSRQ ? $moment(scope.row.zCCSSRQ).format('YYYY-MM-DD') : '' }}</span>
|
<span>{{ scope.row.zccssrqgj ? $moment(scope.row.zccssrqgj).format("YYYY-MM-DD") : "" }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="productType"
|
prop="productType"
|
||||||
align="center"
|
align="center"
|
||||||
label="在研产品">
|
label="在研产品">
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="complianceReasons"
|
prop="complianceReasons"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="合规">
|
label="合规">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
prop="researchNonCompliance"
|
prop="researchNonCompliance"
|
||||||
label="不合规">
|
label="不合规">
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="noCompliance"
|
prop="noCompliance"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="不合规项目">
|
label="不合规项目">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="countermeasures"
|
prop="countermeasures"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="应对措施">
|
label="应对措施">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="completionTime"
|
prop="completionTime"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="完成时间">
|
label="完成时间">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.completionTime ? $moment(scope.row.completionTime).format('YYYY-MM-DD') : '' }}</span>
|
<span>{{ scope.row.completionTime ? $moment(scope.row.completionTime).format('YYYY-MM-DD') : '' }}</span>
|
||||||
</template>
|
</template>
|
||||||
@@ -134,48 +140,41 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
align="center"
|
align="center"
|
||||||
label="在产产品">
|
label="在产产品">
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="zcComplianceReasons"
|
prop="zcComplianceReasons"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="合规(具体情况)">
|
label="合规(具体情况)">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="不合规">
|
label="不合规">
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="zcNoCompliance"
|
prop="zcNoCompliance"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="不合规项目">
|
label="不合规项目">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="zcCountermeasures"
|
prop="zcCountermeasures"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="应对措施">
|
label="应对措施">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="zcCompletionTime"
|
prop="zcCompletionTime"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="完成时间">
|
label="完成时间">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.zcCompletionTime ? $moment(scope.row.zcCompletionTime).format('YYYY-MM-DD') : '' }}</span>
|
<span>{{ scope.row.zcCompletionTime ? $moment(scope.row.zcCompletionTime).format('YYYY-MM-DD') : '' }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
|
||||||
fixed="right"
|
|
||||||
align="center"
|
|
||||||
width="150"
|
|
||||||
prop="workPeople"
|
|
||||||
label="落实人">
|
|
||||||
</el-table-column>
|
|
||||||
</el-table>
|
</el-table>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
@@ -297,7 +296,7 @@ export default {
|
|||||||
saveLoading: false,
|
saveLoading: false,
|
||||||
//表单的数据
|
//表单的数据
|
||||||
listForm: {
|
listForm: {
|
||||||
BZFlag: " ", //1审批通过 其他为驳回
|
dlFlag: " ", //1审批通过 其他为驳回
|
||||||
projectNumber: "", //项目编号
|
projectNumber: "", //项目编号
|
||||||
projectName: "", //项目名称
|
projectName: "", //项目名称
|
||||||
dataList: [], //项目下的标准数据
|
dataList: [], //项目下的标准数据
|
||||||
@@ -359,42 +358,50 @@ export default {
|
|||||||
},
|
},
|
||||||
//驳回事件
|
//驳回事件
|
||||||
beforeBack() {
|
beforeBack() {
|
||||||
this.listForm.BZFlag = "2";
|
if(this.commentText === null || this.commentText === undefined || this.commentText === ''){
|
||||||
this.listForm.commentText = this.commentText;
|
this.$message.warning('请填写审批意见')
|
||||||
const json = JSON.stringify(this.listForm);
|
}else{
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
this.listForm.dlFlag = "2";
|
||||||
taskIds: this.taskIds,
|
this.listForm.commentText = this.commentText;
|
||||||
userId: this.userId,
|
const json = JSON.stringify(this.listForm);
|
||||||
json: json
|
this.$http.post("lawss/activiti/completeTask", {
|
||||||
}, {
|
taskIds: this.taskIds,
|
||||||
_this: this
|
userId: this.userId,
|
||||||
}, res => {
|
json: json
|
||||||
if (res.success) {
|
}, {
|
||||||
this.$message.success(res.message);
|
_this: this
|
||||||
this.$router.push("/processCenter");
|
}, res => {
|
||||||
}
|
if (res.success) {
|
||||||
}, e => {
|
this.$message.success(res.message);
|
||||||
});
|
this.$router.push("/processCenter");
|
||||||
|
}
|
||||||
|
}, e => {
|
||||||
|
});
|
||||||
|
}
|
||||||
},
|
},
|
||||||
//提交事件
|
//提交事件
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
this.listForm.BZFlag = "1";
|
if(this.commentText === null || this.commentText === undefined || this.commentText === ''){
|
||||||
this.listForm.commentText = this.commentText;
|
this.$message.warning('请填写审批意见')
|
||||||
const json = JSON.stringify(this.listForm);
|
}else{
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
this.listForm.dlFlag = "1";
|
||||||
taskIds: this.taskIds,
|
this.listForm.commentText = this.commentText;
|
||||||
userId: this.userId,
|
const json = JSON.stringify(this.listForm);
|
||||||
json: json
|
this.$http.post("lawss/activiti/completeTask", {
|
||||||
}, {
|
taskIds: this.taskIds,
|
||||||
_this: this
|
userId: this.userId,
|
||||||
}, res => {
|
json: json
|
||||||
if (res.success) {
|
}, {
|
||||||
this.$message.success(res.message);
|
_this: this
|
||||||
this.$router.push("/processCenter");
|
}, res => {
|
||||||
}
|
if (res.success) {
|
||||||
}, e => {
|
this.$message.success(res.message);
|
||||||
});
|
this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
|
}, e => {
|
||||||
|
});
|
||||||
|
}
|
||||||
|
},
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
listNoDataText() {
|
listNoDataText() {
|
||||||
@@ -404,7 +411,7 @@ export default {
|
|||||||
mounted() {
|
mounted() {
|
||||||
this.processTable();
|
this.processTable();
|
||||||
this.getData();
|
this.getData();
|
||||||
}
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
@@ -83,7 +83,8 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="责任人" prop="workPeople" align="center">
|
<el-table-column label="责任人" prop="workPeople" align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<div :class="{'fileClass': !scope.row.workPeople}">{{ scope.row.workPeople ? scope.row.workPeople: '请选择责任人' }}</div>
|
<div :class="{'fileClass': !scope.row.workPeople}">
|
||||||
|
{{ scope.row.workPeople ? scope.row.workPeople: '' }}</div>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
@@ -303,8 +304,6 @@ export default {
|
|||||||
},
|
},
|
||||||
//提交事件
|
//提交事件
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
this.listForm.dataList.forEach(item => {
|
|
||||||
if (item.workPeople !== undefined) {
|
|
||||||
this.listForm.commentText = this.commentText;
|
this.listForm.commentText = this.commentText;
|
||||||
const json = JSON.stringify(this.listForm);
|
const json = JSON.stringify(this.listForm);
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
this.$http.post("lawss/activiti/completeTask", {
|
||||||
@@ -320,10 +319,6 @@ export default {
|
|||||||
}
|
}
|
||||||
}, e => {
|
}, e => {
|
||||||
});
|
});
|
||||||
} else {
|
|
||||||
this.$message.warning("请选择分发负责人");
|
|
||||||
}
|
|
||||||
});
|
|
||||||
},
|
},
|
||||||
//批量分发按钮
|
//批量分发按钮
|
||||||
batchOperation(id) {
|
batchOperation(id) {
|
||||||
|
|||||||
@@ -72,7 +72,7 @@
|
|||||||
>
|
>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="itemNum"
|
prop="itemsNum"
|
||||||
align="center"
|
align="center"
|
||||||
width="200"
|
width="200"
|
||||||
label="条款号">
|
label="条款号">
|
||||||
@@ -84,21 +84,21 @@
|
|||||||
label="条款名称">
|
label="条款名称">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="xCXSSRQ"
|
prop="xcxssrqgj"
|
||||||
width="200"
|
width="200"
|
||||||
align="center"
|
align="center"
|
||||||
label="新车型实施日期">
|
label="新车型实施日期">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.xCXSSRQ ? $moment(scope.row.xCXSSRQ).format("YYYY-MM-DD") : "" }}</span>
|
<span>{{ scope.row.xcxssrqgj ? $moment(scope.row.xcxssrqgj).format("YYYY-MM-DD") : "" }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="zCCSSRQ"
|
prop="zccssrqgj"
|
||||||
width="200"
|
width="200"
|
||||||
align="center"
|
align="center"
|
||||||
label="在产车实施日期">
|
label="在产车实施日期">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.zCCSSRQ ? $moment(scope.row.zCCSSRQ).format("YYYY-MM-DD") : "" }}</span>
|
<span>{{ scope.row.zccssrqgj ? $moment(scope.row.zccssrqgj).format("YYYY-MM-DD") : "" }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
@@ -112,7 +112,7 @@
|
|||||||
label="合规">
|
label="合规">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="dataList[scope.$index].complianceReasons"
|
v-model="scope.row.complianceReasons"
|
||||||
placeholder="请输入合规原因"
|
placeholder="请输入合规原因"
|
||||||
>
|
>
|
||||||
</el-input>
|
</el-input>
|
||||||
@@ -130,7 +130,7 @@
|
|||||||
label="不合规项目">
|
label="不合规项目">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="dataList[scope.$index].noCompliance"
|
v-model="scope.row.noCompliance"
|
||||||
placeholder="请输入不合规项目"
|
placeholder="请输入不合规项目"
|
||||||
>
|
>
|
||||||
</el-input>
|
</el-input>
|
||||||
@@ -143,7 +143,7 @@
|
|||||||
label="应对措施">
|
label="应对措施">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="dataList[scope.$index].countermeasures"
|
v-model="scope.row.countermeasures"
|
||||||
placeholder="请输入应对措施"
|
placeholder="请输入应对措施"
|
||||||
>
|
>
|
||||||
</el-input>
|
</el-input>
|
||||||
@@ -156,7 +156,7 @@
|
|||||||
label="完成时间">
|
label="完成时间">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-date-picker
|
<el-date-picker
|
||||||
v-model="dataList[scope.$index].completionTime"
|
v-model="scope.row.completionTime"
|
||||||
type="date"
|
type="date"
|
||||||
placeholder="选择日期">
|
placeholder="选择日期">
|
||||||
</el-date-picker>
|
</el-date-picker>
|
||||||
@@ -174,7 +174,7 @@
|
|||||||
label="合规(具体情况)">
|
label="合规(具体情况)">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="dataList[scope.$index].zcComplianceReasons"
|
v-model="scope.row.zcComplianceReasons"
|
||||||
placeholder="请输入合规原因"
|
placeholder="请输入合规原因"
|
||||||
>
|
>
|
||||||
</el-input>
|
</el-input>
|
||||||
@@ -191,7 +191,7 @@
|
|||||||
label="不合规项目">
|
label="不合规项目">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="dataList[scope.$index].zcNoCompliance"
|
v-model="scope.row.zcNoCompliance"
|
||||||
placeholder="请输入不合规项目"
|
placeholder="请输入不合规项目"
|
||||||
>
|
>
|
||||||
</el-input>
|
</el-input>
|
||||||
@@ -204,7 +204,7 @@
|
|||||||
label="应对措施">
|
label="应对措施">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="dataList[scope.$index].zcCountermeasures"
|
v-model="scope.row.zcCountermeasures"
|
||||||
placeholder="请输入应对措施"
|
placeholder="请输入应对措施"
|
||||||
>
|
>
|
||||||
</el-input>
|
</el-input>
|
||||||
@@ -217,7 +217,7 @@
|
|||||||
label="完成时间">
|
label="完成时间">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-date-picker
|
<el-date-picker
|
||||||
v-model="dataList[scope.$index].zcCompletionTime"
|
v-model="scope.row.zcCompletionTime"
|
||||||
type="date"
|
type="date"
|
||||||
placeholder="选择日期">
|
placeholder="选择日期">
|
||||||
</el-date-picker>
|
</el-date-picker>
|
||||||
@@ -396,6 +396,7 @@ export default {
|
|||||||
pId: this.pId
|
pId: this.pId
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res) {
|
if (res) {
|
||||||
|
console.log(res.mesg)
|
||||||
const processForm = JSON.parse(res.mesg);
|
const processForm = JSON.parse(res.mesg);
|
||||||
this.getFormFieldList(processForm);
|
this.getFormFieldList(processForm);
|
||||||
}
|
}
|
||||||
@@ -407,37 +408,13 @@ export default {
|
|||||||
getFormFieldList(item) {
|
getFormFieldList(item) {
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.listForm = JSON.parse(JSON.stringify(item));
|
this.listForm = JSON.parse(JSON.stringify(item));
|
||||||
|
console.log(this.listForm)
|
||||||
this.listForm.prcNum = this.prcNum;
|
this.listForm.prcNum = this.prcNum;
|
||||||
this.listForm.prcName = this.prcName;
|
this.listForm.prcName = this.prcName;
|
||||||
this.listForm["id"] = item.id;
|
this.listForm["id"] = item.id;
|
||||||
this.listForm.dataList = item.dataList;
|
// this.listForm.dataList = item.dataList;
|
||||||
this.dataList = item.dataList;
|
this.dataList = this.listForm.dataList;
|
||||||
let children = [];
|
console.log(this.dataList)
|
||||||
item.breakdownList.forEach(
|
|
||||||
item => {
|
|
||||||
let aa = {
|
|
||||||
key: item.standId,
|
|
||||||
id: item.id,
|
|
||||||
standId: item.itemsNum,
|
|
||||||
itemsNum: item.itemsNum,
|
|
||||||
itemsName: item.itemsName,
|
|
||||||
workPeople: "请选择责任人"
|
|
||||||
};
|
|
||||||
children.push(aa);
|
|
||||||
}
|
|
||||||
);
|
|
||||||
this.dataList.forEach(key => {
|
|
||||||
key["children"] = [];
|
|
||||||
children.forEach(breakDown => {
|
|
||||||
if (key.standId === breakDown.key) {
|
|
||||||
key["children"].push(breakDown);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
if (key["children"].length === 0) {
|
|
||||||
delete key["children"];
|
|
||||||
}
|
|
||||||
});
|
|
||||||
this.listForm.children = children;
|
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
//保存事件
|
//保存事件
|
||||||
@@ -446,8 +423,6 @@ export default {
|
|||||||
},
|
},
|
||||||
//提交事件
|
//提交事件
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
this.listForm.dataList.forEach(item => {
|
|
||||||
if (item.workPeople !== undefined) {
|
|
||||||
this.listForm.commentText = this.commentText;
|
this.listForm.commentText = this.commentText;
|
||||||
const json = JSON.stringify(this.listForm);
|
const json = JSON.stringify(this.listForm);
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
this.$http.post("lawss/activiti/completeTask", {
|
||||||
@@ -463,10 +438,6 @@ export default {
|
|||||||
}
|
}
|
||||||
}, e => {
|
}, e => {
|
||||||
});
|
});
|
||||||
} else {
|
|
||||||
this.$message.warning("请选择分发负责人");
|
|
||||||
}
|
|
||||||
});
|
|
||||||
},
|
},
|
||||||
//标准表格选择框改变
|
//标准表格选择框改变
|
||||||
selectStandChange(data) {
|
selectStandChange(data) {
|
||||||
|
|||||||
@@ -1,485 +1,491 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="xmpg2-step7">
|
<div class="xmpg2-step7">
|
||||||
<ProcessHeader toggle>
|
<ProcessHeader toggle>
|
||||||
<template slot="proName">项目合规评估流程-项目</template>
|
<template slot="proName">项目合规评估流程-项目</template>
|
||||||
<template slot="proNode">分发责任人审批</template>
|
<template slot="proNode">分发责任人审批</template>
|
||||||
</ProcessHeader>
|
</ProcessHeader>
|
||||||
<div class="headerTabs">
|
<div class="headerTabs">
|
||||||
<div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div>
|
<div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div>
|
||||||
<div class="headerTabsItem" :class="active === '3' ? 'active' : ''" @click="handleTabs('3')">审批历史</div>
|
<div class="headerTabsItem" :class="active === '3' ? 'active' : ''" @click="handleTabs('3')">审批历史</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="content" v-show="active === '1'">
|
<div class="content" v-show="active === '1'">
|
||||||
<div style="flex: auto; overflow: auto">
|
<div style="flex: auto; overflow: auto">
|
||||||
<process-title>
|
<process-title>
|
||||||
<template slot="title">基础信息</template>
|
<template slot="title">基础信息</template>
|
||||||
</process-title>
|
</process-title>
|
||||||
<el-form
|
<el-form
|
||||||
:model="listForm"
|
:model="listForm"
|
||||||
class="label-input-form prc-content-border"
|
class="label-input-form prc-content-border"
|
||||||
label-width="150px"
|
label-width="150px"
|
||||||
>
|
>
|
||||||
<el-row :gutter="24">
|
<el-row :gutter="24">
|
||||||
<el-col :span="24">
|
<el-col :span="24">
|
||||||
<el-form-item label="项目编号" prop="projectNumber" class="add-form-item form-item-disabled">
|
<el-form-item label="项目编号" prop="projectNumber" class="add-form-item form-item-disabled">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="listForm.projectNumber"
|
v-model="listForm.projectNumber"
|
||||||
placeholder="请输入项目编号"
|
placeholder="请输入项目编号"
|
||||||
clearable
|
clearable
|
||||||
></el-input>
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="项目名称" prop="projectName" class="add-form-item form-item-disabled">
|
<el-form-item label="项目名称" prop="projectName" class="add-form-item form-item-disabled">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="listForm.projectName"
|
v-model="listForm.projectName"
|
||||||
placeholder="请输入项目名称"
|
placeholder="请输入项目名称"
|
||||||
clearable
|
clearable
|
||||||
></el-input>
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
</el-form>
|
</el-form>
|
||||||
<process-title style="margin-top:5px; margin-bottom: 5px">
|
<process-title style="margin-top:5px; margin-bottom: 5px">
|
||||||
<template slot="title">填写信息</template>
|
<template slot="title">填写信息</template>
|
||||||
</process-title>
|
</process-title>
|
||||||
<el-table
|
<el-table
|
||||||
:data="dataList"
|
:data="dataList"
|
||||||
border
|
style="width: 100%; border: 1px solid #cccccc"
|
||||||
ref="selection"
|
row-key="standId"
|
||||||
height="70%"
|
height="70%"
|
||||||
style="width: 100%; border:1px solid #ccc"
|
border
|
||||||
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
|
@selection-change="selectStandChange"
|
||||||
fontWeight: 'bold', height: '48px'}">
|
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
|
||||||
<el-table-column
|
fontWeight: 'bold', height: '48px'}"
|
||||||
type="selection"
|
>
|
||||||
width="55"
|
<el-table-column
|
||||||
align="center">
|
type="selection"
|
||||||
</el-table-column>
|
width="55"
|
||||||
<el-table-column
|
align="center">
|
||||||
prop="standNumber"
|
</el-table-column>
|
||||||
align="center"
|
<el-table-column
|
||||||
width="200"
|
prop="standEnName"
|
||||||
label="标准编号">
|
label="标准编号"
|
||||||
</el-table-column>
|
width="180"
|
||||||
<el-table-column
|
fixed="left"
|
||||||
prop="standName"
|
align="center"
|
||||||
align="center"
|
>
|
||||||
width="200"
|
</el-table-column>
|
||||||
label="标准名称">
|
<el-table-column
|
||||||
</el-table-column>
|
prop="standName"
|
||||||
<el-table-column
|
fixed="left"
|
||||||
prop="itemNum"
|
width="180"
|
||||||
align="center"
|
align="center"
|
||||||
width="200"
|
label="标准名称"
|
||||||
label="条款号">
|
>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="itemsName"
|
prop="itemsNum"
|
||||||
width="200"
|
align="center"
|
||||||
align="center"
|
width="200"
|
||||||
label="条款名称">
|
label="条款号">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="xCXSSRQ"
|
prop="itemsName"
|
||||||
width="200"
|
width="200"
|
||||||
align="center"
|
align="center"
|
||||||
label="新车型实施日期">
|
label="条款名称">
|
||||||
<template slot-scope="scope">
|
</el-table-column>
|
||||||
<span>{{ scope.row.xCXSSRQ ? $moment(scope.row.xCXSSRQ).format('YYYY-MM-DD') : '' }}</span>
|
<el-table-column
|
||||||
</template>
|
prop="xcxssrqgj"
|
||||||
</el-table-column>
|
width="200"
|
||||||
<el-table-column
|
align="center"
|
||||||
prop="zCCSSRQ"
|
label="新车型实施日期">
|
||||||
width="200"
|
<template slot-scope="scope">
|
||||||
align="center"
|
<span>{{ scope.row.xcxssrqgj ? $moment(scope.row.xcxssrqgj).format("YYYY-MM-DD") : "" }}</span>
|
||||||
label="在产车实施日期">
|
</template>
|
||||||
<template slot-scope="scope">
|
</el-table-column>
|
||||||
<span>{{ scope.row.zCCSSRQ ? $moment(scope.row.zCCSSRQ).format('YYYY-MM-DD') : '' }}</span>
|
<el-table-column
|
||||||
</template>
|
prop="zccssrqgj"
|
||||||
</el-table-column>
|
width="200"
|
||||||
<el-table-column
|
align="center"
|
||||||
prop="productType"
|
label="在产车实施日期">
|
||||||
align="center"
|
<template slot-scope="scope">
|
||||||
label="在研产品">
|
<span>{{ scope.row.zccssrqgj ? $moment(scope.row.zccssrqgj).format("YYYY-MM-DD") : "" }}</span>
|
||||||
<el-table-column
|
</template>
|
||||||
prop="complianceReasons"
|
</el-table-column>
|
||||||
align="center"
|
<el-table-column
|
||||||
width="160"
|
prop="productType"
|
||||||
label="合规">
|
align="center"
|
||||||
</el-table-column>
|
label="在研产品">
|
||||||
<el-table-column
|
<el-table-column
|
||||||
align="center"
|
prop="complianceReasons"
|
||||||
width="160"
|
align="center"
|
||||||
prop="researchNonCompliance"
|
width="160"
|
||||||
label="不合规">
|
label="合规">
|
||||||
<el-table-column
|
</el-table-column>
|
||||||
prop="noCompliance"
|
<el-table-column
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="不合规项目">
|
prop="researchNonCompliance"
|
||||||
</el-table-column>
|
label="不合规">
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="countermeasures"
|
prop="noCompliance"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="应对措施">
|
label="不合规项目">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="completionTime"
|
prop="countermeasures"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="完成时间">
|
label="应对措施">
|
||||||
<template slot-scope="scope">
|
</el-table-column>
|
||||||
<span>{{ scope.row.completionTime ? $moment(scope.row.completionTime).format('YYYY-MM-DD') : '' }}</span>
|
<el-table-column
|
||||||
</template>
|
prop="completionTime"
|
||||||
</el-table-column>
|
align="center"
|
||||||
</el-table-column>
|
width="160"
|
||||||
</el-table-column>
|
label="完成时间">
|
||||||
<el-table-column
|
<template slot-scope="scope">
|
||||||
align="center"
|
<span>{{ scope.row.completionTime ? $moment(scope.row.completionTime).format('YYYY-MM-DD') : '' }}</span>
|
||||||
label="在产产品">
|
</template>
|
||||||
<el-table-column
|
</el-table-column>
|
||||||
prop="zcComplianceReasons"
|
</el-table-column>
|
||||||
align="center"
|
</el-table-column>
|
||||||
width="160"
|
<el-table-column
|
||||||
label="合规(具体情况)">
|
align="center"
|
||||||
</el-table-column>
|
label="在产产品">
|
||||||
<el-table-column
|
<el-table-column
|
||||||
align="center"
|
prop="zcComplianceReasons"
|
||||||
width="160"
|
align="center"
|
||||||
label="不合规">
|
width="160"
|
||||||
<el-table-column
|
label="合规(具体情况)">
|
||||||
prop="zcNoCompliance"
|
</el-table-column>
|
||||||
align="center"
|
<el-table-column
|
||||||
width="160"
|
align="center"
|
||||||
label="不合规项目">
|
width="160"
|
||||||
</el-table-column>
|
label="不合规">
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="zcCountermeasures"
|
prop="zcNoCompliance"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="应对措施">
|
label="不合规项目">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="zcCompletionTime"
|
prop="zcCountermeasures"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="完成时间">
|
label="应对措施">
|
||||||
<template slot-scope="scope">
|
</el-table-column>
|
||||||
<span>{{ scope.row.zcCompletionTime ? $moment(scope.row.zcCompletionTime).format('YYYY-MM-DD') : '' }}</span>
|
<el-table-column
|
||||||
</template>
|
prop="zcCompletionTime"
|
||||||
</el-table-column>
|
align="center"
|
||||||
</el-table-column>
|
width="160"
|
||||||
</el-table-column>
|
label="完成时间">
|
||||||
<el-table-column
|
<template slot-scope="scope">
|
||||||
fixed="right"
|
<span>{{ scope.row.zcCompletionTime ? $moment(scope.row.zcCompletionTime).format('YYYY-MM-DD') : '' }}</span>
|
||||||
align="center"
|
</template>
|
||||||
width="150"
|
</el-table-column>
|
||||||
prop="workPeople"
|
</el-table-column>
|
||||||
label="落实人">
|
</el-table-column>
|
||||||
</el-table-column>
|
</el-table>
|
||||||
</el-table>
|
|
||||||
</div>
|
|
||||||
<div>
|
|
||||||
<el-collapse accordion>
|
|
||||||
<el-collapse-item title="意见填写">
|
|
||||||
<div style="margin: 10px 0;">
|
|
||||||
<el-input
|
|
||||||
type="textarea"
|
|
||||||
:rows="3"
|
|
||||||
resize="none"
|
|
||||||
placeholder="请输入意见"
|
|
||||||
v-model="commentText">
|
|
||||||
</el-input>
|
|
||||||
</div>
|
</div>
|
||||||
</el-collapse-item>
|
<div>
|
||||||
</el-collapse>
|
<el-collapse accordion>
|
||||||
</div>
|
<el-collapse-item title="意见填写">
|
||||||
</div>
|
<div style="margin: 10px 0;">
|
||||||
<div class="content" v-show="active === '3'">
|
<el-input
|
||||||
<div class="flow-list" style="height: 100%">
|
type="textarea"
|
||||||
<el-table
|
:rows="3"
|
||||||
height="100%"
|
resize="none"
|
||||||
ref="selection"
|
placeholder="请输入意见"
|
||||||
:data="detailData"
|
v-model="commentText">
|
||||||
tooltip-effect="dark"
|
</el-input>
|
||||||
style="width: 100%"
|
</div>
|
||||||
border
|
</el-collapse-item>
|
||||||
row-key="id"
|
</el-collapse>
|
||||||
:no-data-text="listNoDataText"
|
</div>
|
||||||
:header-cell-style="{background: '#f8f8f9', color: '#515a6e'}"
|
</div>
|
||||||
|
<div class="content" v-show="active === '3'">
|
||||||
|
<div class="flow-list" style="height: 100%">
|
||||||
|
<el-table
|
||||||
|
height="100%"
|
||||||
|
ref="selection"
|
||||||
|
:data="detailData"
|
||||||
|
tooltip-effect="dark"
|
||||||
|
style="width: 100%"
|
||||||
|
border
|
||||||
|
row-key="id"
|
||||||
|
:no-data-text="listNoDataText"
|
||||||
|
:header-cell-style="{background: '#f8f8f9', color: '#515a6e'}"
|
||||||
|
>
|
||||||
|
<el-table-column
|
||||||
|
type="selection"
|
||||||
|
width="55"
|
||||||
|
align="center">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="name"
|
||||||
|
label="任务步骤"
|
||||||
|
align="center"
|
||||||
|
>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="assignee"
|
||||||
|
label="任务受理人"
|
||||||
|
align="center"
|
||||||
|
>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="createTime"
|
||||||
|
label="创建时间"
|
||||||
|
sortable="custom"
|
||||||
|
align="center">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ scope.row.createTime ? $moment(scope.row.createTime).format("YYYY-MM-DD") : "" }}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="endTime"
|
||||||
|
label="完成时间"
|
||||||
|
align="center">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ scope.row.endTime ? $moment(scope.row.endTime).format("YYYY-MM-DD") : "" }}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="comment"
|
||||||
|
label="审批意见"
|
||||||
|
align="center">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ scope.row.commentText }}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="completeFlag"
|
||||||
|
label="状态"
|
||||||
|
align="center">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ scope.row.endTime ? "已完成" : "未完成" }}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
</el-table>
|
||||||
|
<loading :loading="loading">流程列表加载中</loading>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<ProcessFooter
|
||||||
|
show-back
|
||||||
|
show-submit
|
||||||
|
:submitLoading="isSubmit"
|
||||||
|
:saveLoading="saveLoading"
|
||||||
|
:approval="true"
|
||||||
|
@back="beforeBack"
|
||||||
|
@submit="handleSubmit"
|
||||||
>
|
>
|
||||||
<el-table-column
|
</ProcessFooter>
|
||||||
type="selection"
|
|
||||||
width="55"
|
|
||||||
align="center">
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="name"
|
|
||||||
label="任务步骤"
|
|
||||||
align="center"
|
|
||||||
>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="assignee"
|
|
||||||
label="任务受理人"
|
|
||||||
align="center"
|
|
||||||
>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="createTime"
|
|
||||||
label="创建时间"
|
|
||||||
sortable="custom"
|
|
||||||
align="center">
|
|
||||||
<template slot-scope="scope">
|
|
||||||
<span>{{ scope.row.createTime ? $moment(scope.row.createTime).format("YYYY-MM-DD") : "" }}</span>
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="endTime"
|
|
||||||
label="完成时间"
|
|
||||||
align="center">
|
|
||||||
<template slot-scope="scope">
|
|
||||||
<span>{{ scope.row.endTime ? $moment(scope.row.endTime).format("YYYY-MM-DD") : "" }}</span>
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="comment"
|
|
||||||
label="审批意见"
|
|
||||||
align="center">
|
|
||||||
<template slot-scope="scope">
|
|
||||||
<span>{{ scope.row.commentText }}</span>
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="completeFlag"
|
|
||||||
label="状态"
|
|
||||||
align="center">
|
|
||||||
<template slot-scope="scope">
|
|
||||||
<span>{{ scope.row.endTime ? "已完成" : "未完成" }}</span>
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
|
||||||
</el-table>
|
|
||||||
<loading :loading="loading">流程列表加载中</loading>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<ProcessFooter
|
|
||||||
show-back
|
|
||||||
show-submit
|
|
||||||
:submitLoading="isSubmit"
|
|
||||||
:saveLoading="saveLoading"
|
|
||||||
:approval="true"
|
|
||||||
@back="beforeBack"
|
|
||||||
@submit="handleSubmit"
|
|
||||||
>
|
|
||||||
</ProcessFooter>
|
|
||||||
</div>
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import ProcessHeader from "../../components/ProcessHeader";
|
import ProcessHeader from "../../components/ProcessHeader";
|
||||||
import ProcessFooter from "../../components/ProcessFooter";
|
import ProcessFooter from "../../components/ProcessFooter";
|
||||||
import ProcessTitle from "../../components/ProcessTitle";
|
import ProcessTitle from "../../components/ProcessTitle";
|
||||||
import { inboundLiaisonDetail, queryDetail } from "api/process";
|
import {inboundLiaisonDetail, queryDetail} from "api/process";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "xmpg2Step7",
|
name: "xmpg2Step7",
|
||||||
components: {
|
components: {
|
||||||
ProcessTitle,
|
ProcessTitle,
|
||||||
ProcessHeader,
|
ProcessHeader,
|
||||||
ProcessFooter
|
ProcessFooter
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
active: "1",
|
active: "1",
|
||||||
loading: false,
|
loading: false,
|
||||||
// 当前流程类型(1待办/2已办)
|
// 当前流程类型(1待办/2已办)
|
||||||
processType: 1,
|
processType: 1,
|
||||||
isSubmit: false,
|
isSubmit: false,
|
||||||
saveLoading: false,
|
saveLoading: false,
|
||||||
//表单的数据
|
//表单的数据
|
||||||
listForm: {
|
listForm: {
|
||||||
BZFlag: " ", //1审批通过 其他为驳回
|
ffFlag: " ", //1审批通过 其他为驳回
|
||||||
projectNumber: "", //项目编号
|
projectNumber: "", //项目编号
|
||||||
projectName: "", //项目名称
|
projectName: "", //项目名称
|
||||||
dataList: [], //项目下的标准数据
|
dataList: [], //项目下的标准数据
|
||||||
breakdownList: [] //标准下的分解单数据
|
breakdownList: [] //标准下的分解单数据
|
||||||
},
|
},
|
||||||
dataList: [], //展示的标准数据
|
dataList: [], //展示的标准数据
|
||||||
commentText: "", //审批意见
|
commentText: "", //审批意见
|
||||||
detailData: [],//流程历史数据
|
detailData: [],//流程历史数据
|
||||||
userId: this.$store.getters.userInfo.userId,
|
userId: this.$store.getters.userInfo.userId,
|
||||||
taskIds: this.$route.query.taskIds,
|
taskIds: this.$route.query.taskIds,
|
||||||
pId: this.$route.query.prcId
|
pId: this.$route.query.prcId
|
||||||
|
};
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
processTable() {
|
||||||
|
this.$http.get("lawss/activiti/get_list_by_instance", {
|
||||||
|
prcNum: this.$route.query.prcNum,
|
||||||
|
sortWord: this.shunxu ? this.paixu : "",
|
||||||
|
shunxu: this.shunxu
|
||||||
|
}, {
|
||||||
|
loading: "loading",
|
||||||
|
_this: this
|
||||||
|
}, res => {
|
||||||
|
this.detailData = res;
|
||||||
|
}, e => {
|
||||||
|
});
|
||||||
|
},
|
||||||
|
//tab改变
|
||||||
|
handleTabs(type) {
|
||||||
|
this.active = type;
|
||||||
|
},
|
||||||
|
//获取数据
|
||||||
|
getData() {
|
||||||
|
return new Promise((resolve, reject) => {
|
||||||
|
inboundLiaisonDetail({
|
||||||
|
taskIds: this.taskIds,
|
||||||
|
pId: this.pId
|
||||||
|
}).then(res => {
|
||||||
|
if (res) {
|
||||||
|
const processForm = JSON.parse(res.mesg);
|
||||||
|
this.getFormFieldList(processForm);
|
||||||
|
}
|
||||||
|
}).catch(e => {
|
||||||
|
});
|
||||||
|
});
|
||||||
|
},
|
||||||
|
//动态表单读取
|
||||||
|
getFormFieldList(item) {
|
||||||
|
this.$nextTick(() => {
|
||||||
|
this.listForm = JSON.parse(JSON.stringify(item));
|
||||||
|
this.listForm.prcNum = this.prcNum;
|
||||||
|
this.listForm.prcName = this.prcName;
|
||||||
|
this.listForm["id"] = item.id;
|
||||||
|
this.listForm.dataList = item.dataList;
|
||||||
|
this.dataList = item.dataList;
|
||||||
|
this.dataList.distributePerson = item.dataList[0].distributePerson;
|
||||||
|
this.listForm.breakdownList = item.breakdownList;
|
||||||
|
});
|
||||||
|
},
|
||||||
|
//驳回事件
|
||||||
|
beforeBack() {
|
||||||
|
if (this.commentText === null || this.commentText === undefined || this.commentText === '') {
|
||||||
|
this.$message.warning('请填写审批意见')
|
||||||
|
} else {
|
||||||
|
this.listForm.ffFlag = "2";
|
||||||
|
this.listForm.commentText = this.commentText;
|
||||||
|
const json = JSON.stringify(this.listForm);
|
||||||
|
this.$http.post("lawss/activiti/completeTask", {
|
||||||
|
taskIds: this.taskIds,
|
||||||
|
userId: this.userId,
|
||||||
|
json: json
|
||||||
|
}, {
|
||||||
|
_this: this
|
||||||
|
}, res => {
|
||||||
|
if (res.success) {
|
||||||
|
this.$message.success(res.message);
|
||||||
|
this.$router.push("/processCenter");
|
||||||
|
}
|
||||||
|
}, e => {
|
||||||
|
});
|
||||||
|
}
|
||||||
|
},
|
||||||
|
//提交事件
|
||||||
|
handleSubmit() {
|
||||||
|
if (this.commentText === null || this.commentText === undefined || this.commentText === '') {
|
||||||
|
this.$message.warning('请填写审批意见')
|
||||||
|
} else {
|
||||||
|
this.listForm.ffFlag = "1";
|
||||||
|
this.listForm.commentText = this.commentText;
|
||||||
|
const json = JSON.stringify(this.listForm);
|
||||||
|
this.$http.post("lawss/activiti/completeTask", {
|
||||||
|
taskIds: this.taskIds,
|
||||||
|
userId: this.userId,
|
||||||
|
json: json
|
||||||
|
}, {
|
||||||
|
_this: this
|
||||||
|
}, res => {
|
||||||
|
if (res.success) {
|
||||||
|
this.$message.success(res.message);
|
||||||
|
this.$router.push("/processCenter");
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
},
|
||||||
|
},
|
||||||
|
computed: {
|
||||||
|
listNoDataText() {
|
||||||
|
return this.processType === 1 ? "暂无待办流程" : "暂无已办流程";
|
||||||
|
}
|
||||||
|
},
|
||||||
|
mounted() {
|
||||||
|
this.processTable();
|
||||||
|
this.getData();
|
||||||
|
},
|
||||||
};
|
};
|
||||||
},
|
|
||||||
methods: {
|
|
||||||
processTable() {
|
|
||||||
this.$http.get("lawss/activiti/get_list_by_instance", {
|
|
||||||
prcNum: this.$route.query.prcNum,
|
|
||||||
sortWord: this.shunxu ? this.paixu : "",
|
|
||||||
shunxu: this.shunxu
|
|
||||||
}, {
|
|
||||||
loading: "loading",
|
|
||||||
_this: this
|
|
||||||
}, res => {
|
|
||||||
this.detailData = res;
|
|
||||||
}, e => {
|
|
||||||
});
|
|
||||||
},
|
|
||||||
//tab改变
|
|
||||||
handleTabs(type) {
|
|
||||||
this.active = type;
|
|
||||||
},
|
|
||||||
//获取数据
|
|
||||||
getData() {
|
|
||||||
return new Promise((resolve, reject) => {
|
|
||||||
inboundLiaisonDetail({
|
|
||||||
taskIds: this.taskIds,
|
|
||||||
pId: this.pId
|
|
||||||
}).then(res => {
|
|
||||||
if (res) {
|
|
||||||
const processForm = JSON.parse(res.mesg);
|
|
||||||
this.getFormFieldList(processForm);
|
|
||||||
}
|
|
||||||
}).catch(e => {
|
|
||||||
});
|
|
||||||
});
|
|
||||||
},
|
|
||||||
//动态表单读取
|
|
||||||
getFormFieldList(item) {
|
|
||||||
this.$nextTick(() => {
|
|
||||||
this.listForm = JSON.parse(JSON.stringify(item));
|
|
||||||
this.listForm.prcNum = this.prcNum;
|
|
||||||
this.listForm.prcName = this.prcName;
|
|
||||||
this.listForm["id"] = item.id;
|
|
||||||
this.listForm.dataList = item.dataList;
|
|
||||||
this.dataList = item.dataList;
|
|
||||||
this.dataList.distributePerson = item.dataList[0].distributePerson;
|
|
||||||
this.listForm.breakdownList = item.breakdownList;
|
|
||||||
});
|
|
||||||
},
|
|
||||||
//驳回事件
|
|
||||||
beforeBack() {
|
|
||||||
this.listForm.BZFlag = "2";
|
|
||||||
this.listForm.commentText = this.commentText;
|
|
||||||
const json = JSON.stringify(this.listForm);
|
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
|
||||||
taskIds: this.taskIds,
|
|
||||||
userId: this.userId,
|
|
||||||
json: json
|
|
||||||
}, {
|
|
||||||
_this: this
|
|
||||||
}, res => {
|
|
||||||
if (res.success) {
|
|
||||||
this.$message.success(res.message);
|
|
||||||
this.$router.push("/processCenter");
|
|
||||||
}
|
|
||||||
}, e => {
|
|
||||||
});
|
|
||||||
},
|
|
||||||
//提交事件
|
|
||||||
handleSubmit() {
|
|
||||||
this.listForm.BZFlag = "1";
|
|
||||||
this.listForm.commentText = this.commentText;
|
|
||||||
const json = JSON.stringify(this.listForm);
|
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
|
||||||
taskIds: this.taskIds,
|
|
||||||
userId: this.userId,
|
|
||||||
json: json
|
|
||||||
}, {
|
|
||||||
_this: this
|
|
||||||
}, res => {
|
|
||||||
if (res.success) {
|
|
||||||
this.$message.success(res.message);
|
|
||||||
this.$router.push("/processCenter");
|
|
||||||
}
|
|
||||||
}, e => {
|
|
||||||
});
|
|
||||||
}
|
|
||||||
},
|
|
||||||
computed: {
|
|
||||||
listNoDataText() {
|
|
||||||
return this.processType === 1 ? "暂无待办流程" : "暂无已办流程";
|
|
||||||
}
|
|
||||||
},
|
|
||||||
mounted() {
|
|
||||||
this.processTable();
|
|
||||||
this.getData();
|
|
||||||
}
|
|
||||||
};
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="less" scoped>
|
<style lang="less" scoped>
|
||||||
@import '~@/assets/styles/style';
|
@import '~@/assets/styles/style';
|
||||||
|
|
||||||
.xmpg2-step7 {
|
.xmpg2-step7 {
|
||||||
/deep/ .el-drawer__container {
|
/deep/ .el-drawer__container {
|
||||||
.prc-content-border {
|
.prc-content-border {
|
||||||
border: none;
|
border: none;
|
||||||
padding: 0 20px 0;
|
padding: 0 20px 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.choiceBtn {
|
.choiceBtn {
|
||||||
.el-button--primary {
|
.el-button--primary {
|
||||||
width: 150px;
|
width: 150px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
position: relative;
|
position: relative;
|
||||||
height: 100%;
|
|
||||||
|
|
||||||
.headerTabs {
|
|
||||||
height: 52px;
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
position: absolute;
|
|
||||||
top: 0;
|
|
||||||
right: 10px;
|
|
||||||
|
|
||||||
.headerTabsItem {
|
|
||||||
border: 1px solid #c1c1c1;
|
|
||||||
padding: 0 5px;
|
|
||||||
height: 30px;
|
|
||||||
line-height: 30px;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
|
|
||||||
.active {
|
|
||||||
border: 1px solid #E6A23C;
|
|
||||||
color: #fff;
|
|
||||||
background: #E6A23C;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.content {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
justify-content: space-between;
|
|
||||||
height: calc(~'100% - 103px');
|
|
||||||
overflow: auto;
|
|
||||||
|
|
||||||
.tableTitle {
|
|
||||||
margin-bottom: 10px;
|
|
||||||
height: 30px;
|
|
||||||
line-height: 30px;
|
|
||||||
position: relative;
|
|
||||||
font-size: 13px;
|
|
||||||
font-weight: bold;
|
|
||||||
|
|
||||||
.tableButton {
|
|
||||||
position: absolute;
|
|
||||||
right: 0;
|
|
||||||
top: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.accessStandardsAndRegulations {
|
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.demo-drawer-content {
|
.headerTabs {
|
||||||
margin-top: 10px;
|
height: 52px;
|
||||||
}
|
display: flex;
|
||||||
}
|
align-items: center;
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
right: 10px;
|
||||||
|
|
||||||
|
.headerTabsItem {
|
||||||
|
border: 1px solid #c1c1c1;
|
||||||
|
padding: 0 5px;
|
||||||
|
height: 30px;
|
||||||
|
line-height: 30px;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
.active {
|
||||||
|
border: 1px solid #E6A23C;
|
||||||
|
color: #fff;
|
||||||
|
background: #E6A23C;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.content {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: space-between;
|
||||||
|
height: calc(~'100% - 103px');
|
||||||
|
overflow: auto;
|
||||||
|
|
||||||
|
.tableTitle {
|
||||||
|
margin-bottom: 10px;
|
||||||
|
height: 30px;
|
||||||
|
line-height: 30px;
|
||||||
|
position: relative;
|
||||||
|
font-size: 13px;
|
||||||
|
font-weight: bold;
|
||||||
|
|
||||||
|
.tableButton {
|
||||||
|
position: absolute;
|
||||||
|
right: 0;
|
||||||
|
top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.accessStandardsAndRegulations {
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.demo-drawer-content {
|
||||||
|
margin-top: 10px;
|
||||||
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -41,92 +41,98 @@
|
|||||||
<template slot="title">填写信息</template>
|
<template slot="title">填写信息</template>
|
||||||
</process-title>
|
</process-title>
|
||||||
<el-table
|
<el-table
|
||||||
:data="dataList"
|
:data="dataList"
|
||||||
border
|
style="width: 100%; border: 1px solid #cccccc"
|
||||||
ref="selection"
|
row-key="standId"
|
||||||
height="70%"
|
height="70%"
|
||||||
style="width: 100%; border:1px solid #ccc"
|
border
|
||||||
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
|
@selection-change="selectStandChange"
|
||||||
fontWeight: 'bold', height: '48px'}">
|
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
|
||||||
|
fontWeight: 'bold', height: '48px'}"
|
||||||
|
>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
type="selection"
|
type="selection"
|
||||||
width="55"
|
width="55"
|
||||||
align="center">
|
align="center">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="standNumber"
|
prop="standEnName"
|
||||||
align="center"
|
label="标准编号"
|
||||||
width="200"
|
width="180"
|
||||||
label="标准编号">
|
fixed="left"
|
||||||
|
align="center"
|
||||||
|
>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="standName"
|
prop="standName"
|
||||||
align="center"
|
fixed="left"
|
||||||
width="200"
|
width="180"
|
||||||
label="标准名称">
|
align="center"
|
||||||
|
label="标准名称"
|
||||||
|
>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="itemNum"
|
prop="itemsNum"
|
||||||
align="center"
|
align="center"
|
||||||
width="200"
|
width="200"
|
||||||
label="条款号">
|
label="条款号">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="itemsName"
|
prop="itemsName"
|
||||||
width="200"
|
width="200"
|
||||||
align="center"
|
align="center"
|
||||||
label="条款名称">
|
label="条款名称">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="xCXSSRQ"
|
prop="xcxssrqgj"
|
||||||
width="200"
|
width="200"
|
||||||
align="center"
|
align="center"
|
||||||
label="新车型实施日期">
|
label="新车型实施日期">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.xCXSSRQ ? $moment(scope.row.xCXSSRQ).format('YYYY-MM-DD') : '' }}</span>
|
<span>{{ scope.row.xcxssrqgj ? $moment(scope.row.xcxssrqgj).format("YYYY-MM-DD") : "" }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="zCCSSRQ"
|
prop="zccssrqgj"
|
||||||
width="200"
|
width="200"
|
||||||
align="center"
|
align="center"
|
||||||
label="在产车实施日期">
|
label="在产车实施日期">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.zCCSSRQ ? $moment(scope.row.zCCSSRQ).format('YYYY-MM-DD') : '' }}</span>
|
<span>{{ scope.row.zccssrqgj ? $moment(scope.row.zccssrqgj).format("YYYY-MM-DD") : "" }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="productType"
|
prop="productType"
|
||||||
align="center"
|
align="center"
|
||||||
label="在研产品">
|
label="在研产品">
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="complianceReasons"
|
prop="complianceReasons"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="合规">
|
label="合规">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
prop="researchNonCompliance"
|
prop="researchNonCompliance"
|
||||||
label="不合规">
|
label="不合规">
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="noCompliance"
|
prop="noCompliance"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="不合规项目">
|
label="不合规项目">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="countermeasures"
|
prop="countermeasures"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="应对措施">
|
label="应对措施">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="completionTime"
|
prop="completionTime"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="完成时间">
|
label="完成时间">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.completionTime ? $moment(scope.row.completionTime).format('YYYY-MM-DD') : '' }}</span>
|
<span>{{ scope.row.completionTime ? $moment(scope.row.completionTime).format('YYYY-MM-DD') : '' }}</span>
|
||||||
</template>
|
</template>
|
||||||
@@ -134,48 +140,41 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
align="center"
|
align="center"
|
||||||
label="在产产品">
|
label="在产产品">
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="zcComplianceReasons"
|
prop="zcComplianceReasons"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="合规(具体情况)">
|
label="合规(具体情况)">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="不合规">
|
label="不合规">
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="zcNoCompliance"
|
prop="zcNoCompliance"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="不合规项目">
|
label="不合规项目">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="zcCountermeasures"
|
prop="zcCountermeasures"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="应对措施">
|
label="应对措施">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="zcCompletionTime"
|
prop="zcCompletionTime"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="完成时间">
|
label="完成时间">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.zcCompletionTime ? $moment(scope.row.zcCompletionTime).format('YYYY-MM-DD') : '' }}</span>
|
<span>{{ scope.row.zcCompletionTime ? $moment(scope.row.zcCompletionTime).format('YYYY-MM-DD') : '' }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
|
||||||
fixed="right"
|
|
||||||
align="center"
|
|
||||||
width="150"
|
|
||||||
prop="workPeople"
|
|
||||||
label="落实人">
|
|
||||||
</el-table-column>
|
|
||||||
</el-table>
|
</el-table>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
@@ -297,7 +296,7 @@ export default {
|
|||||||
saveLoading: false,
|
saveLoading: false,
|
||||||
//表单的数据
|
//表单的数据
|
||||||
listForm: {
|
listForm: {
|
||||||
BZFlag: " ", //1审批通过 其他为驳回
|
jgFlag: " ", //1审批通过 其他为驳回
|
||||||
projectNumber: "", //项目编号
|
projectNumber: "", //项目编号
|
||||||
projectName: "", //项目名称
|
projectName: "", //项目名称
|
||||||
dataList: [], //项目下的标准数据
|
dataList: [], //项目下的标准数据
|
||||||
@@ -359,42 +358,50 @@ export default {
|
|||||||
},
|
},
|
||||||
//驳回事件
|
//驳回事件
|
||||||
beforeBack() {
|
beforeBack() {
|
||||||
this.listForm.BZFlag = "2";
|
if(this.commentText === null || this.commentText === undefined || this.commentText === ''){
|
||||||
this.listForm.commentText = this.commentText;
|
this.$message.warning('请填写审批意见')
|
||||||
const json = JSON.stringify(this.listForm);
|
}else{
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
this.listForm.jgFlag = "2";
|
||||||
taskIds: this.taskIds,
|
this.listForm.commentText = this.commentText;
|
||||||
userId: this.userId,
|
const json = JSON.stringify(this.listForm);
|
||||||
json: json
|
this.$http.post("lawss/activiti/completeTask", {
|
||||||
}, {
|
taskIds: this.taskIds,
|
||||||
_this: this
|
userId: this.userId,
|
||||||
}, res => {
|
json: json
|
||||||
if (res.success) {
|
}, {
|
||||||
this.$message.success(res.message);
|
_this: this
|
||||||
this.$router.push("/processCenter");
|
}, res => {
|
||||||
}
|
if (res.success) {
|
||||||
}, e => {
|
this.$message.success(res.message);
|
||||||
});
|
this.$router.push("/processCenter");
|
||||||
|
}
|
||||||
|
}, e => {
|
||||||
|
});
|
||||||
|
}
|
||||||
},
|
},
|
||||||
//提交事件
|
//提交事件
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
this.listForm.BZFlag = "1";
|
if(this.commentText === null || this.commentText === undefined || this.commentText === ''){
|
||||||
this.listForm.commentText = this.commentText;
|
this.$message.warning('请填写审批意见')
|
||||||
const json = JSON.stringify(this.listForm);
|
}else{
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
this.listForm.jgFlag = "1";
|
||||||
taskIds: this.taskIds,
|
this.listForm.commentText = this.commentText;
|
||||||
userId: this.userId,
|
const json = JSON.stringify(this.listForm);
|
||||||
json: json
|
this.$http.post("lawss/activiti/completeTask", {
|
||||||
}, {
|
taskIds: this.taskIds,
|
||||||
_this: this
|
userId: this.userId,
|
||||||
}, res => {
|
json: json
|
||||||
if (res.success) {
|
}, {
|
||||||
this.$message.success(res.message);
|
_this: this
|
||||||
this.$router.push("/processCenter");
|
}, res => {
|
||||||
}
|
if (res.success) {
|
||||||
}, e => {
|
this.$message.success(res.message);
|
||||||
});
|
this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
|
}, e => {
|
||||||
|
});
|
||||||
|
}
|
||||||
|
},
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
listNoDataText() {
|
listNoDataText() {
|
||||||
|
|||||||
@@ -41,92 +41,98 @@
|
|||||||
<template slot="title">填写信息</template>
|
<template slot="title">填写信息</template>
|
||||||
</process-title>
|
</process-title>
|
||||||
<el-table
|
<el-table
|
||||||
:data="dataList"
|
:data="dataList"
|
||||||
border
|
style="width: 100%; border: 1px solid #cccccc"
|
||||||
ref="selection"
|
row-key="standId"
|
||||||
height="70%"
|
height="70%"
|
||||||
style="width: 100%; border:1px solid #ccc"
|
border
|
||||||
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
|
@selection-change="selectStandChange"
|
||||||
fontWeight: 'bold', height: '48px'}">
|
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
|
||||||
|
fontWeight: 'bold', height: '48px'}"
|
||||||
|
>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
type="selection"
|
type="selection"
|
||||||
width="55"
|
width="55"
|
||||||
align="center">
|
align="center">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="standNumber"
|
prop="standEnName"
|
||||||
align="center"
|
label="标准编号"
|
||||||
width="200"
|
width="180"
|
||||||
label="标准编号">
|
fixed="left"
|
||||||
|
align="center"
|
||||||
|
>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="standName"
|
prop="standName"
|
||||||
align="center"
|
fixed="left"
|
||||||
width="200"
|
width="180"
|
||||||
label="标准名称">
|
align="center"
|
||||||
|
label="标准名称"
|
||||||
|
>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="itemNum"
|
prop="itemsNum"
|
||||||
align="center"
|
align="center"
|
||||||
width="200"
|
width="200"
|
||||||
label="条款号">
|
label="条款号">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="itemsName"
|
prop="itemsName"
|
||||||
width="200"
|
width="200"
|
||||||
align="center"
|
align="center"
|
||||||
label="条款名称">
|
label="条款名称">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="xCXSSRQ"
|
prop="xcxssrqgj"
|
||||||
width="200"
|
width="200"
|
||||||
align="center"
|
align="center"
|
||||||
label="新车型实施日期">
|
label="新车型实施日期">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.xCXSSRQ ? $moment(scope.row.xCXSSRQ).format('YYYY-MM-DD') : '' }}</span>
|
<span>{{ scope.row.xcxssrqgj ? $moment(scope.row.xcxssrqgj).format("YYYY-MM-DD") : "" }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="zCCSSRQ"
|
prop="zccssrqgj"
|
||||||
width="200"
|
width="200"
|
||||||
align="center"
|
align="center"
|
||||||
label="在产车实施日期">
|
label="在产车实施日期">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.zCCSSRQ ? $moment(scope.row.zCCSSRQ).format('YYYY-MM-DD') : '' }}</span>
|
<span>{{ scope.row.zccssrqgj ? $moment(scope.row.zccssrqgj).format("YYYY-MM-DD") : "" }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="productType"
|
prop="productType"
|
||||||
align="center"
|
align="center"
|
||||||
label="在研产品">
|
label="在研产品">
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="complianceReasons"
|
prop="complianceReasons"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="合规">
|
label="合规">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
prop="researchNonCompliance"
|
prop="researchNonCompliance"
|
||||||
label="不合规">
|
label="不合规">
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="noCompliance"
|
prop="noCompliance"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="不合规项目">
|
label="不合规项目">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="countermeasures"
|
prop="countermeasures"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="应对措施">
|
label="应对措施">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="completionTime"
|
prop="completionTime"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="完成时间">
|
label="完成时间">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.completionTime ? $moment(scope.row.completionTime).format('YYYY-MM-DD') : '' }}</span>
|
<span>{{ scope.row.completionTime ? $moment(scope.row.completionTime).format('YYYY-MM-DD') : '' }}</span>
|
||||||
</template>
|
</template>
|
||||||
@@ -134,48 +140,41 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
align="center"
|
align="center"
|
||||||
label="在产产品">
|
label="在产产品">
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="zcComplianceReasons"
|
prop="zcComplianceReasons"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="合规(具体情况)">
|
label="合规(具体情况)">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="不合规">
|
label="不合规">
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="zcNoCompliance"
|
prop="zcNoCompliance"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="不合规项目">
|
label="不合规项目">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="zcCountermeasures"
|
prop="zcCountermeasures"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="应对措施">
|
label="应对措施">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="zcCompletionTime"
|
prop="zcCompletionTime"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="完成时间">
|
label="完成时间">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.zcCompletionTime ? $moment(scope.row.zcCompletionTime).format('YYYY-MM-DD') : '' }}</span>
|
<span>{{ scope.row.zcCompletionTime ? $moment(scope.row.zcCompletionTime).format('YYYY-MM-DD') : '' }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
|
||||||
fixed="right"
|
|
||||||
align="center"
|
|
||||||
width="150"
|
|
||||||
prop="workPeople"
|
|
||||||
label="落实人">
|
|
||||||
</el-table-column>
|
|
||||||
</el-table>
|
</el-table>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
@@ -359,42 +358,50 @@ export default {
|
|||||||
},
|
},
|
||||||
//驳回事件
|
//驳回事件
|
||||||
beforeBack() {
|
beforeBack() {
|
||||||
this.listForm.BZFlag = "2";
|
if(this.commentText === null || this.commentText === undefined || this.commentText === ''){
|
||||||
this.listForm.commentText = this.commentText;
|
this.$message.warning('请填写审批意见')
|
||||||
const json = JSON.stringify(this.listForm);
|
}else{
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
this.listForm.gcFlag = "2";
|
||||||
taskIds: this.taskIds,
|
this.listForm.commentText = this.commentText;
|
||||||
userId: this.userId,
|
const json = JSON.stringify(this.listForm);
|
||||||
json: json
|
this.$http.post("lawss/activiti/completeTask", {
|
||||||
}, {
|
taskIds: this.taskIds,
|
||||||
_this: this
|
userId: this.userId,
|
||||||
}, res => {
|
json: json
|
||||||
if (res.success) {
|
}, {
|
||||||
this.$message.success(res.message);
|
_this: this
|
||||||
this.$router.push("/processCenter");
|
}, res => {
|
||||||
}
|
if (res.success) {
|
||||||
}, e => {
|
this.$message.success(res.message);
|
||||||
});
|
this.$router.push("/processCenter");
|
||||||
|
}
|
||||||
|
}, e => {
|
||||||
|
});
|
||||||
|
}
|
||||||
},
|
},
|
||||||
//提交事件
|
//提交事件
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
this.listForm.BZFlag = "1";
|
if(this.commentText === null || this.commentText === undefined || this.commentText === ''){
|
||||||
this.listForm.commentText = this.commentText;
|
this.$message.warning('请填写审批意见')
|
||||||
const json = JSON.stringify(this.listForm);
|
}else{
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
this.listForm.gcFlag = "1";
|
||||||
taskIds: this.taskIds,
|
this.listForm.commentText = this.commentText;
|
||||||
userId: this.userId,
|
const json = JSON.stringify(this.listForm);
|
||||||
json: json
|
this.$http.post("lawss/activiti/completeTask", {
|
||||||
}, {
|
taskIds: this.taskIds,
|
||||||
_this: this
|
userId: this.userId,
|
||||||
}, res => {
|
json: json
|
||||||
if (res.success) {
|
}, {
|
||||||
this.$message.success(res.message);
|
_this: this
|
||||||
this.$router.push("/processCenter");
|
}, res => {
|
||||||
}
|
if (res.success) {
|
||||||
}, e => {
|
this.$message.success(res.message);
|
||||||
});
|
this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
|
}, e => {
|
||||||
|
});
|
||||||
|
}
|
||||||
|
},
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
listNoDataText() {
|
listNoDataText() {
|
||||||
|
|||||||
@@ -127,7 +127,7 @@
|
|||||||
<el-dropdown trigger="click" @command="handleCommand">
|
<el-dropdown trigger="click" @command="handleCommand">
|
||||||
<i class="iconfont"></i>
|
<i class="iconfont"></i>
|
||||||
<el-dropdown-menu slot="dropdown">
|
<el-dropdown-menu slot="dropdown">
|
||||||
<el-dropdown-item :command="[scope.row, '查看']">查看</el-dropdown-item>
|
<el-dropdown-item :command="[scope.row, '查看']" v-btn-permission="'4f71b81686079ba2b7e3739d3994e0af'">查看</el-dropdown-item>
|
||||||
</el-dropdown-menu>
|
</el-dropdown-menu>
|
||||||
</el-dropdown>
|
</el-dropdown>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -127,7 +127,7 @@
|
|||||||
<el-dropdown trigger="click" @command="handleCommand">
|
<el-dropdown trigger="click" @command="handleCommand">
|
||||||
<i class="iconfont"></i>
|
<i class="iconfont"></i>
|
||||||
<el-dropdown-menu slot="dropdown">
|
<el-dropdown-menu slot="dropdown">
|
||||||
<el-dropdown-item :command="[scope.row, '查看']">查看</el-dropdown-item>
|
<el-dropdown-item :command="[scope.row, '查看']" v-btn-permission="'b9abd00768c8ed97be89547c2da3f0eb'">查看</el-dropdown-item>
|
||||||
</el-dropdown-menu>
|
</el-dropdown-menu>
|
||||||
</el-dropdown>
|
</el-dropdown>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -124,7 +124,7 @@
|
|||||||
<el-table-column :label="$t('m.operation')" align="center" width="50">
|
<el-table-column :label="$t('m.operation')" align="center" width="50">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<div @click.stop style="display: inline-block">
|
<div @click.stop style="display: inline-block">
|
||||||
<el-dropdown trigger="click" @command="handleCommand">
|
<el-dropdown trigger="click" @command="handleCommand" v-btn-permission="'4219fdb5e33dbbc84d845af98c947e66'">
|
||||||
<i class="iconfont"></i>
|
<i class="iconfont"></i>
|
||||||
<el-dropdown-menu slot="dropdown">
|
<el-dropdown-menu slot="dropdown">
|
||||||
<el-dropdown-item :command="[scope.row, '办理']">办理</el-dropdown-item>
|
<el-dropdown-item :command="[scope.row, '办理']">办理</el-dropdown-item>
|
||||||
@@ -600,6 +600,72 @@ export default {
|
|||||||
prcType: row.prcType
|
prcType: row.prcType
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
} else if(row.taskInfo === '分发负责人审批') {
|
||||||
|
this.$router.push({
|
||||||
|
name: 'xmpg2Step7',
|
||||||
|
query: {
|
||||||
|
taskIds: row.taskIds,
|
||||||
|
prcId: row.prcId,
|
||||||
|
prcNum: row.prcNum,
|
||||||
|
prcName: row.prcName,
|
||||||
|
prcType: row.prcType
|
||||||
|
}
|
||||||
|
})
|
||||||
|
} else if(row.taskInfo === '架构经理审批') {
|
||||||
|
this.$router.push({
|
||||||
|
name: 'xmpg2Step8',
|
||||||
|
query: {
|
||||||
|
taskIds: row.taskIds,
|
||||||
|
prcId: row.prcId,
|
||||||
|
prcNum: row.prcNum,
|
||||||
|
prcName: row.prcName,
|
||||||
|
prcType: row.prcType
|
||||||
|
}
|
||||||
|
})
|
||||||
|
} else if(row.taskInfo === '工程经理审批') {
|
||||||
|
this.$router.push({
|
||||||
|
name: 'xmpg2Step9',
|
||||||
|
query: {
|
||||||
|
taskIds: row.taskIds,
|
||||||
|
prcId: row.prcId,
|
||||||
|
prcNum: row.prcNum,
|
||||||
|
prcName: row.prcName,
|
||||||
|
prcType: row.prcType
|
||||||
|
}
|
||||||
|
})
|
||||||
|
} else if(row.taskInfo === '标准法规部经理审批') {
|
||||||
|
this.$router.push({
|
||||||
|
name: 'xmpg2Step10',
|
||||||
|
query: {
|
||||||
|
taskIds: row.taskIds,
|
||||||
|
prcId: row.prcId,
|
||||||
|
prcNum: row.prcNum,
|
||||||
|
prcName: row.prcName,
|
||||||
|
prcType: row.prcType
|
||||||
|
}
|
||||||
|
})
|
||||||
|
} else if(row.taskInfo === '汇总审批') {
|
||||||
|
this.$router.push({
|
||||||
|
name: 'xmpg2Step11',
|
||||||
|
query: {
|
||||||
|
taskIds: row.taskIds,
|
||||||
|
prcId: row.prcId,
|
||||||
|
prcNum: row.prcNum,
|
||||||
|
prcName: row.prcName,
|
||||||
|
prcType: row.prcType
|
||||||
|
}
|
||||||
|
})
|
||||||
|
} else if(row.taskInfo === '标准法规部部长审批') {
|
||||||
|
this.$router.push({
|
||||||
|
name: 'xmpg2Step12',
|
||||||
|
query: {
|
||||||
|
taskIds: row.taskIds,
|
||||||
|
prcId: row.prcId,
|
||||||
|
prcNum: row.prcNum,
|
||||||
|
prcName: row.prcName,
|
||||||
|
prcType: row.prcType
|
||||||
|
}
|
||||||
|
})
|
||||||
}
|
}
|
||||||
break
|
break
|
||||||
//未符合项整改流程
|
//未符合项整改流程
|
||||||
|
|||||||
@@ -127,7 +127,7 @@
|
|||||||
<el-dropdown trigger="click" @command="handleCommand">
|
<el-dropdown trigger="click" @command="handleCommand">
|
||||||
<i class="iconfont"></i>
|
<i class="iconfont"></i>
|
||||||
<el-dropdown-menu slot="dropdown">
|
<el-dropdown-menu slot="dropdown">
|
||||||
<el-dropdown-item :command="[scope.row, '办理']">办理</el-dropdown-item>
|
<el-dropdown-item :command="[scope.row, '办理']" v-btn-permission="'fa19fb2dc2cf3055a64732dab6c40cb9'">办理</el-dropdown-item>
|
||||||
</el-dropdown-menu>
|
</el-dropdown-menu>
|
||||||
</el-dropdown>
|
</el-dropdown>
|
||||||
</div>
|
</div>
|
||||||
@@ -212,7 +212,6 @@ export default {
|
|||||||
this.queryProcess()
|
this.queryProcess()
|
||||||
},
|
},
|
||||||
dealWith (row) { // 办理
|
dealWith (row) { // 办理
|
||||||
debugger
|
|
||||||
//草稿办理待开发
|
//草稿办理待开发
|
||||||
const { prcType, id } = row
|
const { prcType, id } = row
|
||||||
const mes = JSON.parse(row.mes)
|
const mes = JSON.parse(row.mes)
|
||||||
@@ -251,6 +250,17 @@ export default {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
break
|
break
|
||||||
|
// 征求意见流程
|
||||||
|
case '3':
|
||||||
|
this.$router.push({
|
||||||
|
name: 'bzzqyjStep1-1',
|
||||||
|
query: {
|
||||||
|
type: '3',
|
||||||
|
processName: '标准征求意见流程',
|
||||||
|
bpnId: id
|
||||||
|
}
|
||||||
|
})
|
||||||
|
break
|
||||||
case '4':
|
case '4':
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
name: 'bzqdfbStep1-1',
|
name: 'bzqdfbStep1-1',
|
||||||
|
|||||||
@@ -117,16 +117,6 @@
|
|||||||
}}</span>
|
}}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<!-- <el-table-column
|
|
||||||
prop="applicationScope"
|
|
||||||
label="适用领域"
|
|
||||||
align="center">
|
|
||||||
<template slot-scope="scope">
|
|
||||||
<span
|
|
||||||
v-if="scope.row.applicationScope != null && scope.row.applicationScope !== ''">{{ scope.row.applicationScope
|
|
||||||
}}</span>
|
|
||||||
</template>
|
|
||||||
</el-table-column>-->
|
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="updateTime"
|
prop="updateTime"
|
||||||
label="更新时间"
|
label="更新时间"
|
||||||
@@ -269,6 +259,7 @@ export default {
|
|||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
this.sarAccessListDatas = res.data.records
|
this.sarAccessListDatas = res.data.records
|
||||||
|
this.sarSarAccessEOSearch.page = 1
|
||||||
this.sarAccessListTotal = res.data.total
|
this.sarAccessListTotal = res.data.total
|
||||||
}, e => {
|
}, e => {
|
||||||
|
|
||||||
|
|||||||
@@ -266,6 +266,7 @@ export default {
|
|||||||
//分页查询
|
//分页查询
|
||||||
searchSarAccess() {
|
searchSarAccess() {
|
||||||
this.$http.get("sarLawsDetailedList/sar-laws-detailed-list/getAllStand", {
|
this.$http.get("sarLawsDetailedList/sar-laws-detailed-list/getAllStand", {
|
||||||
|
current: 1,
|
||||||
page: 1,
|
page: 1,
|
||||||
pageSize: this.pageSize,
|
pageSize: this.pageSize,
|
||||||
...this.sarSarAccessEOSearch,
|
...this.sarSarAccessEOSearch,
|
||||||
@@ -274,6 +275,7 @@ export default {
|
|||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
this.sarAccessListDatas = res.data.records;
|
this.sarAccessListDatas = res.data.records;
|
||||||
|
this.sarSarAccessEOSearch.page = 1
|
||||||
this.sarAccessListTotal = res.data.total;
|
this.sarAccessListTotal = res.data.total;
|
||||||
}, e => {
|
}, e => {
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -267,7 +267,7 @@ export default {
|
|||||||
//分页查询
|
//分页查询
|
||||||
searchSarAccess() {
|
searchSarAccess() {
|
||||||
this.$http.get("sarLawsDetailedList/sar-laws-detailed-list/getAllStand", {
|
this.$http.get("sarLawsDetailedList/sar-laws-detailed-list/getAllStand", {
|
||||||
page: this.page,
|
page: 1,
|
||||||
pageSize: this.pageSize,
|
pageSize: this.pageSize,
|
||||||
...this.sarSarAccessEOSearch,
|
...this.sarSarAccessEOSearch,
|
||||||
sortKey: 2
|
sortKey: 2
|
||||||
@@ -275,6 +275,7 @@ export default {
|
|||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
this.sarAccessListDatas = res.data.records;
|
this.sarAccessListDatas = res.data.records;
|
||||||
|
this.sarSarAccessEOSearch.page = 1
|
||||||
this.sarAccessListTotal = res.data.total
|
this.sarAccessListTotal = res.data.total
|
||||||
}, e => {
|
}, e => {
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -80,55 +80,13 @@
|
|||||||
</el-option>
|
</el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="标准名称" v-if="sarAccessInfoSearch.dataSource !== 'TEMP'" class="search-item">
|
<el-form-item label="标准名称" class="search-item">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="sarAccessInfoSearch.standName"
|
v-model="sarAccessInfoSearch.standName"
|
||||||
placeholder="请输入"
|
placeholder="请输入"
|
||||||
:maxlength="100"
|
:maxlength="100"
|
||||||
></el-input>
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="适用车辆类型" class="search-item" v-show="moreSearchShow">
|
|
||||||
<el-select v-model="sarAccessInfoSearch.applyArctic" filterable clearable>
|
|
||||||
<el-option
|
|
||||||
v-for="item in energyKindOptions"
|
|
||||||
:key="item.value"
|
|
||||||
:value="item.value"
|
|
||||||
:label="item.label"
|
|
||||||
></el-option>
|
|
||||||
</el-select>
|
|
||||||
</el-form-item>
|
|
||||||
<el-form-item class="search-item" prop="askType" label="要求类型" v-show="moreSearchShow">
|
|
||||||
<el-select v-model="sarAccessInfoSearch.askType">
|
|
||||||
<el-option
|
|
||||||
v-for="item in accessSarTypeOptions"
|
|
||||||
:key="item.value"
|
|
||||||
:value="item.value"
|
|
||||||
:label="item.label"
|
|
||||||
></el-option>
|
|
||||||
</el-select>
|
|
||||||
</el-form-item>
|
|
||||||
<el-form-item label="国家/地区" class="search-item" v-show="isListType">
|
|
||||||
<el-select
|
|
||||||
v-model="sarAccessInfoSearch.countryArea"
|
|
||||||
placeholder="请选择"
|
|
||||||
filterable
|
|
||||||
>
|
|
||||||
<el-option
|
|
||||||
v-for="item in drawerCountryOptions"
|
|
||||||
:value="item.value"
|
|
||||||
:key="item.value"
|
|
||||||
:label="item.label"
|
|
||||||
>
|
|
||||||
</el-option>
|
|
||||||
</el-select>
|
|
||||||
</el-form-item>
|
|
||||||
<el-form-item label="清单名称" prop="detailedListName" class="search-item" v-show="isListType">
|
|
||||||
<el-input
|
|
||||||
v-model="sarAccessInfoSearch.detailedListName"
|
|
||||||
placeholder="请输入"
|
|
||||||
:maxlength="100"
|
|
||||||
></el-input>
|
|
||||||
</el-form-item>
|
|
||||||
<el-form-item class="search-item btn-box">
|
<el-form-item class="search-item btn-box">
|
||||||
<el-button
|
<el-button
|
||||||
type="primary"
|
type="primary"
|
||||||
@@ -158,46 +116,23 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="showSelectBox" v-if="!showSelectBox">
|
<div class="showSelectBox" v-if="!showSelectBox">
|
||||||
<el-form :model="sarAccessInfoSearch" class="label-input-form" v-if="!disabledFlag" inline>
|
<el-form :model="sarAccessInfo" class="label-input-form" v-if="!disabledFlag" inline>
|
||||||
<el-form-item label="文本状态" v-show="!isListType">
|
<el-form-item label="标准号" class="labelBox">
|
||||||
<el-select
|
|
||||||
v-model="sarAccessInfoSearch.textStatus"
|
|
||||||
placeholder="请选择"
|
|
||||||
filterable
|
|
||||||
size="small"
|
|
||||||
>
|
|
||||||
<el-option
|
|
||||||
v-for="item in textStatusOptions"
|
|
||||||
:value="item.value"
|
|
||||||
:key="item.value"
|
|
||||||
:label="item.label"
|
|
||||||
/>
|
|
||||||
</el-select>
|
|
||||||
</el-form-item>
|
|
||||||
<el-form-item label="发布日期" v-show="!isListType">
|
|
||||||
<el-date-picker
|
|
||||||
v-model="sarAccessInfoSearch.issueTime"
|
|
||||||
type="date"
|
|
||||||
value-format="yyyy-MM-DD"
|
|
||||||
size="small"
|
|
||||||
placeholder="选择发布日期">
|
|
||||||
</el-date-picker>
|
|
||||||
</el-form-item>
|
|
||||||
<el-form-item label="更新人" v-show="isListType">
|
|
||||||
<el-input
|
<el-input
|
||||||
v-model="sarAccessInfoSearch.standName"
|
v-model="sarAccessInfo.standNumber"
|
||||||
placeholder="请输入"
|
placeholder="请输入"
|
||||||
:maxlength="100"
|
|
||||||
size="small"/>
|
|
||||||
</el-form-item>
|
|
||||||
<el-form-item label="更新时间" v-show="isListType">
|
|
||||||
<el-date-picker
|
|
||||||
v-model="sarAccessInfoSearch.modifyTime"
|
|
||||||
type="date"
|
|
||||||
size="small"
|
size="small"
|
||||||
value-format="yyyy-MM-DD"
|
clearable/>
|
||||||
placeholder="选择更新日期">
|
</el-form-item>
|
||||||
</el-date-picker>
|
<el-form-item label="标准名称" class="labelBox">
|
||||||
|
<el-input
|
||||||
|
v-model="sarAccessInfo.standName"
|
||||||
|
placeholder="请输入"
|
||||||
|
size="small"
|
||||||
|
clearable/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item>
|
||||||
|
<el-button size="small" type="primary" @click="selectBtn">查询</el-button>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
</div>
|
</div>
|
||||||
@@ -243,13 +178,12 @@
|
|||||||
width="180px"
|
width="180px"
|
||||||
label="标准号">
|
label="标准号">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<a @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standNumber }}</a>
|
<span @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standNumber }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="standName"
|
prop="standName"
|
||||||
label="标准名称"
|
label="标准名称"
|
||||||
width="260px"
|
|
||||||
>
|
>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
@@ -287,52 +221,6 @@
|
|||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
<el-table
|
|
||||||
v-show="isListType"
|
|
||||||
:data="sarAccessInfoSearchList"
|
|
||||||
style="width: 100%"
|
|
||||||
border
|
|
||||||
height="300px"
|
|
||||||
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
|
|
||||||
fontWeight: 'bold', height: '48px'}"
|
|
||||||
@selection-change="accessSarTypeSelect"
|
|
||||||
ref="accessTypeSelect"
|
|
||||||
>
|
|
||||||
<el-table-column
|
|
||||||
type="selection"
|
|
||||||
width="55"
|
|
||||||
align="center">
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="country"
|
|
||||||
label="国家/地区"
|
|
||||||
align="center">
|
|
||||||
<template slot-scope="scope">
|
|
||||||
<span v-if="scope.row.country !== null && scope.row.country.indexOf(',') > 0">
|
|
||||||
<span>{{ scope.row.country }}</span>
|
|
||||||
</span>
|
|
||||||
<span v-else>{{ countryAreaMap[scope.row.country] }}</span>
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="detailedListName"
|
|
||||||
label="清单名称"
|
|
||||||
align="center">
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="modifyTime"
|
|
||||||
label="更新时间"
|
|
||||||
align="center">
|
|
||||||
<template slot-scope="scope">
|
|
||||||
<div>{{ scope.row.modifyTime ? scope.row.modifyTime.split(' ')[0] : '' }}</div>
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="uname"
|
|
||||||
label="更新人"
|
|
||||||
align="center">
|
|
||||||
</el-table-column>
|
|
||||||
</el-table>
|
|
||||||
<pagination :page="drawerPage" :total="drawerTotal" @pageChange="drawerPageChange"
|
<pagination :page="drawerPage" :total="drawerTotal" @pageChange="drawerPageChange"
|
||||||
@pageSizeChange="drawerPageSizeChange"></pagination>
|
@pageSizeChange="drawerPageSizeChange"></pagination>
|
||||||
<loading :loading="dataLoading">{{$t('m.dataAcquisition')}}</loading>
|
<loading :loading="dataLoading">{{$t('m.dataAcquisition')}}</loading>
|
||||||
@@ -354,6 +242,7 @@
|
|||||||
v-btn-permission="''"
|
v-btn-permission="''"
|
||||||
><i class="iconfont"></i>删除</el-button>
|
><i class="iconfont"></i>删除</el-button>
|
||||||
</div>
|
</div>
|
||||||
|
<!-- 清单条目的列表页 -->
|
||||||
<el-table
|
<el-table
|
||||||
ref="entryTable"
|
ref="entryTable"
|
||||||
:data="sarAccessInfoList"
|
:data="sarAccessInfoList"
|
||||||
@@ -541,21 +430,19 @@
|
|||||||
>
|
>
|
||||||
<el-form :modal="editRowData" label-position="left" ref="editRowData" label-width="150px" style="margin: 20px">
|
<el-form :modal="editRowData" label-position="left" ref="editRowData" label-width="150px" style="margin: 20px">
|
||||||
<el-form-item label="标准号">
|
<el-form-item label="标准号">
|
||||||
<el-input v-model.trim="editRowData.standNumber" :disabled="true">
|
<el-input v-model.trim="editRowData.standNumber" :disabled="true"/>
|
||||||
<!-- <a>{{ editRowData.standSortShow }} {{ editRowData.standNumber }}</a>-->
|
|
||||||
</el-input>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="标准名称" prop="standName">
|
<el-form-item label="标准名称" prop="standName">
|
||||||
<el-input v-model.trim="editRowData.standName" :disabled="true"></el-input>
|
<el-input v-model.trim="editRowData.standName" :disabled="true"/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="英文名称" prop="standEnName">
|
<el-form-item label="英文名称" prop="standEnName">
|
||||||
<el-input v-model.trim="editRowData.standEnName" :disabled="true"></el-input>
|
<el-input v-model.trim="editRowData.standEnName" :disabled="true"/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="适用车型" prop="typeApplicable">
|
<el-form-item label="适用车型" prop="typeApplicable">
|
||||||
<el-input v-model.trim="editRowData.typeApplicable" :disabled="true"></el-input>
|
<el-input v-model.trim="editRowData.typeApplicable" :disabled="true"/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="能源类型" prop="nylx">
|
<el-form-item label="能源类型" prop="nylx">
|
||||||
<el-input v-model.trim="editRowData.nylx" :disabled="true"></el-input>
|
<el-input v-model.trim="editRowData.nylx" :disabled="true"/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="标准实施日期" prop="putTime">
|
<el-form-item label="标准实施日期" prop="putTime">
|
||||||
<el-date-picker
|
<el-date-picker
|
||||||
@@ -582,22 +469,22 @@
|
|||||||
</el-date-picker>
|
</el-date-picker>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="责任部门" prop="zrbm">
|
<el-form-item label="责任部门" prop="zrbm">
|
||||||
<el-input v-model.trim="editRowData.zrbm" :disabled="true"></el-input>
|
<el-input v-model.trim="editRowData.zrbm" :disabled="true"/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="适用产品线" prop="sycpx">
|
<el-form-item label="适用产品线" prop="sycpx">
|
||||||
<el-input v-model.trim="editRowData.sycpx" :disabled="true"></el-input>
|
<el-input v-model.trim="editRowData.sycpx" :disabled="true"/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="乘用车VPPS编码" prop="cycvppsbm">
|
<el-form-item label="乘用车VPPS编码" prop="cycvppsbm">
|
||||||
<el-input v-model.trim="editRowData.cycvppsbm" :disabled="true"></el-input>
|
<el-input v-model.trim="editRowData.cycvppsbm" :disabled="true"/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="乘用车VPPS中文名称" prop="cycvppscn">
|
<el-form-item label="乘用车VPPS中文名称" prop="cycvppscn">
|
||||||
<el-input v-model.trim="editRowData.cycvppscn" :disabled="true"></el-input>
|
<el-input v-model.trim="editRowData.cycvppscn" :disabled="true"/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="卡车VPPS编码" prop="kccvppsbm">
|
<el-form-item label="卡车VPPS编码" prop="kccvppsbm">
|
||||||
<el-input v-model.trim="editRowData.kccvppsbm" :disabled="true"></el-input>
|
<el-input v-model.trim="editRowData.kccvppsbm" :disabled="true"/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="卡车VPPS中文名称" prop="kccvppscn">
|
<el-form-item label="卡车VPPS中文名称" prop="kccvppscn">
|
||||||
<el-input v-model.trim="editRowData.kccvppscn" :disabled="true"></el-input>
|
<el-input v-model.trim="editRowData.kccvppscn" :disabled="true"/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
<div class="demo-drawer-footer">
|
<div class="demo-drawer-footer">
|
||||||
@@ -746,19 +633,23 @@ export default {
|
|||||||
{value: 'FOREIGN_STAND', label: '海外标准法规'},
|
{value: 'FOREIGN_STAND', label: '海外标准法规'},
|
||||||
//{value: 'FOREIGN_LAWS', label: '国内外政策'},
|
//{value: 'FOREIGN_LAWS', label: '国内外政策'},
|
||||||
// {value: 'BUSINESS', label: '企业标准 '},
|
// {value: 'BUSINESS', label: '企业标准 '},
|
||||||
{value: 'TEMP', label: '标准法规清单 '}
|
// {value: 'TEMP', label: '标准法规清单 '}
|
||||||
],
|
],
|
||||||
// 新增、编辑 数据搜索字段
|
// 新增、编辑 数据搜索字段
|
||||||
sarAccessInfoSearch: {
|
sarAccessInfoSearch: {
|
||||||
id: '',
|
id: '',
|
||||||
countryArea: '', // 国家
|
|
||||||
issueTime: '',
|
|
||||||
standName: '',
|
standName: '',
|
||||||
textStatus: '',
|
askType: '', // 监管类型
|
||||||
// applicationScope: '', //适用区域
|
dataSource: 'INLAND_STAND', // 数据来源
|
||||||
keywords: '', // 关键字
|
page: 1,
|
||||||
detailedListName: '', //清单名称
|
pageSize: this.$store.getters.userInfo.configContent,
|
||||||
applyArctic: '', // 能源种类
|
validFlag: 0,
|
||||||
|
advanceSearchVOStr: ''
|
||||||
|
},
|
||||||
|
sarAccessInfo: {
|
||||||
|
id: '',
|
||||||
|
standNumber: '',
|
||||||
|
standName: '',
|
||||||
askType: '', // 监管类型
|
askType: '', // 监管类型
|
||||||
dataSource: 'INLAND_STAND', // 数据来源
|
dataSource: 'INLAND_STAND', // 数据来源
|
||||||
page: 1,
|
page: 1,
|
||||||
@@ -1082,8 +973,8 @@ export default {
|
|||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
// 判断文件上传大小
|
// 判断文件上传大小
|
||||||
if (file.size / 1024 / 1024 > 300) {
|
if (file.size / 1024 / 1024 > 200) {
|
||||||
this.$message.warning('文件' + file.name + '大小不能超过300M')
|
this.$message.warning('文件' + file.name + '大小不能超过200M')
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
return true
|
return true
|
||||||
@@ -1104,15 +995,11 @@ export default {
|
|||||||
},
|
},
|
||||||
// 点击清空查询条件 按钮事件
|
// 点击清空查询条件 按钮事件
|
||||||
clearSearchLaws () {
|
clearSearchLaws () {
|
||||||
this.sarAccessInfoSearch.advanceSearchVOStr = ''
|
|
||||||
this.sarAccessInfoSearch.applyArctic = '' // 能源种类
|
|
||||||
this.sarAccessInfoSearch.keywords = '' // 关键字
|
|
||||||
this.sarAccessInfoSearch.askType = '' // 监管类型
|
this.sarAccessInfoSearch.askType = '' // 监管类型
|
||||||
this.sarAccessInfoSearch.detailedListName = '' // 清单名称
|
|
||||||
this.sarAccessInfoSearch.dataSource = 'INLAND_STAND' // 数据来源
|
this.sarAccessInfoSearch.dataSource = 'INLAND_STAND' // 数据来源
|
||||||
this.sarAccessInfoSearch.standName = ''
|
this.sarAccessInfoSearch.standName = ''
|
||||||
this.sarAccessInfoSearch.putTime = ''
|
this.sarAccessInfo.standName = ''
|
||||||
this.sarAccessInfoSearch.textStatus = ''
|
this.sarAccessInfo.standNumber = ''
|
||||||
this.isListType = false
|
this.isListType = false
|
||||||
this.selectLawsStands()
|
this.selectLawsStands()
|
||||||
},
|
},
|
||||||
@@ -1281,19 +1168,19 @@ export default {
|
|||||||
this.selectedAccInfoSearchList.map(item => {
|
this.selectedAccInfoSearchList.map(item => {
|
||||||
let addList;
|
let addList;
|
||||||
addList = this.sarAccessInfoList.findIndex(items => {
|
addList = this.sarAccessInfoList.findIndex(items => {
|
||||||
return items.id == item.id
|
return items.id == item.id
|
||||||
})
|
})
|
||||||
if(addList > -1){
|
if(addList > -1){
|
||||||
this.$message.warning('请勿添加重复数据')
|
this.$message.warning('请勿添加重复数据')
|
||||||
this.$refs.accessTypeSelect.clearSelection()
|
// this.$refs.accessTypeSelect.clearSelection()
|
||||||
this.$refs.entryTable.clearSelection()
|
this.$refs.entryTable.clearSelection()
|
||||||
this.$refs.searchTable.clearSelection()
|
this.$refs.searchTable.clearSelection()
|
||||||
} else{
|
} else{
|
||||||
this.sarAccessInfoList.push(item)
|
this.sarAccessInfoList.push(item)
|
||||||
this.$refs.accessTypeSelect.clearSelection()
|
// this.$refs.accessTypeSelect.clearSelection()
|
||||||
this.$refs.entryTable.clearSelection()
|
this.$refs.entryTable.clearSelection()
|
||||||
this.$refs.searchTable.clearSelection()
|
this.$refs.searchTable.clearSelection()
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
this.$message.error('请选中需要添加到 清单条目 的(标准号/政策编号)')
|
this.$message.error('请选中需要添加到 清单条目 的(标准号/政策编号)')
|
||||||
@@ -1442,12 +1329,16 @@ export default {
|
|||||||
_this: this,
|
_this: this,
|
||||||
loading: 'loadData'
|
loading: 'loadData'
|
||||||
}, res => {
|
}, res => {
|
||||||
if (res.ok) {
|
if (this.sarAccessInfoList.length !== 0) {
|
||||||
this.$message.success('新增成功')
|
if (res.ok) {
|
||||||
this.isNext = true
|
this.$message.success('新增成功')
|
||||||
this.$router.push({
|
this.isNext = true
|
||||||
name: 'AccessStandardsAndRegulations'
|
this.$router.push({
|
||||||
})
|
name: 'AccessStandardsAndRegulations'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
this.$message.error('请选中需要添加到 清单条目 的(标准号/政策编号)')
|
||||||
}
|
}
|
||||||
}, e => {
|
}, e => {
|
||||||
})
|
})
|
||||||
@@ -1474,6 +1365,12 @@ export default {
|
|||||||
},
|
},
|
||||||
// 查询数据搜索 table 数据
|
// 查询数据搜索 table 数据
|
||||||
selectLawsStands () {
|
selectLawsStands () {
|
||||||
|
if (this.sarAccessInfoSearch.dataSource === 'INLAND_STAND') {
|
||||||
|
this.sarAccessInfoSearch.dataSource = 'INLAND_STAND'
|
||||||
|
this.sarAccessInfoSearch.standType = ''
|
||||||
|
} else {
|
||||||
|
this.sarAccessInfoSearch.standType = 'FOREIGN'
|
||||||
|
}
|
||||||
StandardsInfoPage(this.sarAccessInfoSearch).then(res =>{
|
StandardsInfoPage(this.sarAccessInfoSearch).then(res =>{
|
||||||
this.sarAccessInfoSearchList = res.data.list
|
this.sarAccessInfoSearchList = res.data.list
|
||||||
this.sarAccessInfoSearchList.forEach(item => {
|
this.sarAccessInfoSearchList.forEach(item => {
|
||||||
@@ -1482,18 +1379,71 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
item.standNumber = item.standSortShow + ' ' + item.standNumber + '-' + item.standYear
|
item.standNumber = item.standSortShow + ' ' + item.standNumber + '-' + item.standYear
|
||||||
}
|
}
|
||||||
|
if (item.attrInfoMap === null) {
|
||||||
|
this.$set(item, 'zccssrqgj', '')
|
||||||
|
this.$set(item, 'xcxssrqgj', '')
|
||||||
|
this.$set(item, 'sycpx', '')
|
||||||
|
this.$set(item, 'typeApplicable', '')
|
||||||
|
this.$set(item, 'nylx', '')
|
||||||
|
this.$set(item, 'zrbm', '')
|
||||||
|
this.$set(item, 'cycvppsbm', '')
|
||||||
|
this.$set(item, 'cycvppscn', '')
|
||||||
|
this.$set(item, 'kccvppsbm', '')
|
||||||
|
this.$set(item, 'kccvppscn', '')
|
||||||
|
}else {
|
||||||
|
this.$set(item, 'zccssrqgj', item.attrInfoMap.ZCCSSRQGJ)
|
||||||
|
this.$set(item, 'xcxssrqgj', item.attrInfoMap.XCXSSRQGJ)
|
||||||
|
this.$set(item, 'sycpx', item.attrInfoMap.SYCPX)
|
||||||
|
this.$set(item, 'typeApplicable', item.attrInfoMap.CLLX)
|
||||||
|
this.$set(item, 'nylx', item.attrInfoMap.NYLX)
|
||||||
|
this.$set(item, 'zrbm', item.attrInfoMap.ZRBM)
|
||||||
|
this.$set(item, 'cycvppsbm', item.attrInfoMap.CYCVPPSBM)
|
||||||
|
this.$set(item, 'cycvppscn', item.attrInfoMap.CYCVPPSCN)
|
||||||
|
this.$set(item, 'kccvppsbm', item.attrInfoMap.KCCVPPSBM)
|
||||||
|
this.$set(item, 'kccvppscn', item.attrInfoMap.KCCVPPSCN)
|
||||||
|
}
|
||||||
})
|
})
|
||||||
|
this.drawerTotal = res.data.count
|
||||||
|
}, e => {
|
||||||
|
})
|
||||||
|
},
|
||||||
|
selectBtn() {
|
||||||
|
if (this.sarAccessInfoSearch.dataSource === 'INLAND_STAND') {
|
||||||
|
this.sarAccessInfoSearch.dataSource = 'INLAND_STAND'
|
||||||
|
} else {
|
||||||
|
this.sarAccessInfoSearch.standType = 'FOREIGN'
|
||||||
|
}
|
||||||
|
StandardsInfoPage(this.sarAccessInfo).then(res =>{
|
||||||
|
this.sarAccessInfoSearchList = res.data.list
|
||||||
this.sarAccessInfoSearchList.forEach(item => {
|
this.sarAccessInfoSearchList.forEach(item => {
|
||||||
this.$set(item, 'zccssrqgj', item.attrInfoMap.ZCCSSRQGJ)
|
if (item.standYear === null) {
|
||||||
this.$set(item, 'xcxssrqgj', item.attrInfoMap.XCXSSRQGJ)
|
item.standNumber = item.standSortShow + ' ' + item.standNumber
|
||||||
this.$set(item, 'sycpx', item.attrInfoMap.SYCPX)
|
} else {
|
||||||
this.$set(item, 'typeApplicable', item.attrInfoMap.CLLX)
|
item.standNumber = item.standSortShow + ' ' + item.standNumber + '-' + item.standYear
|
||||||
this.$set(item, 'nylx', item.attrInfoMap.NYLX)
|
}
|
||||||
this.$set(item, 'zrbm', item.attrInfoMap.ZRBM)
|
if (item.attrInfoMap === null) {
|
||||||
this.$set(item, 'cycvppsbm', item.attrInfoMap.CYCVPPSBM)
|
this.$set(item, 'zccssrqgj', '')
|
||||||
this.$set(item, 'cycvppscn', item.attrInfoMap.CYCVPPSCN)
|
this.$set(item, 'xcxssrqgj', '')
|
||||||
this.$set(item, 'kccvppsbm', item.attrInfoMap.KCCVPPSBM)
|
this.$set(item, 'sycpx', '')
|
||||||
this.$set(item, 'kccvppscn', item.attrInfoMap.KCCVPPSCN)
|
this.$set(item, 'typeApplicable', '')
|
||||||
|
this.$set(item, 'nylx', '')
|
||||||
|
this.$set(item, 'zrbm', '')
|
||||||
|
this.$set(item, 'cycvppsbm', '')
|
||||||
|
this.$set(item, 'cycvppscn', '')
|
||||||
|
this.$set(item, 'kccvppsbm', '')
|
||||||
|
this.$set(item, 'kccvppscn', '')
|
||||||
|
}else {
|
||||||
|
this.$set(item, 'zccssrqgj', item.attrInfoMap.ZCCSSRQGJ)
|
||||||
|
this.$set(item, 'xcxssrqgj', item.attrInfoMap.XCXSSRQGJ)
|
||||||
|
this.$set(item, 'sycpx', item.attrInfoMap.SYCPX)
|
||||||
|
this.$set(item, 'typeApplicable', item.attrInfoMap.CLLX)
|
||||||
|
this.$set(item, 'nylx', item.attrInfoMap.NYLX)
|
||||||
|
this.$set(item, 'zrbm', item.attrInfoMap.ZRBM)
|
||||||
|
this.$set(item, 'cycvppsbm', item.attrInfoMap.CYCVPPSBM)
|
||||||
|
this.$set(item, 'cycvppscn', item.attrInfoMap.CYCVPPSCN)
|
||||||
|
this.$set(item, 'kccvppsbm', item.attrInfoMap.KCCVPPSBM)
|
||||||
|
this.$set(item, 'kccvppscn', item.attrInfoMap.KCCVPPSCN)
|
||||||
|
}
|
||||||
})
|
})
|
||||||
this.drawerTotal = res.data.list.length
|
this.drawerTotal = res.data.list.length
|
||||||
}, e => {
|
}, e => {
|
||||||
@@ -1507,16 +1457,29 @@ export default {
|
|||||||
sarAccessInfoSearchSelect (val) {
|
sarAccessInfoSearchSelect (val) {
|
||||||
this.selectedAccInfoSearchList = val
|
this.selectedAccInfoSearchList = val
|
||||||
this.selectedAccInfoSearchList.forEach(item => {
|
this.selectedAccInfoSearchList.forEach(item => {
|
||||||
this.$set(item, 'zccssrqgj', item.attrInfoMap.ZCCSSRQGJ)
|
if (item.attrInfoMap === null) {
|
||||||
this.$set(item, 'xcxssrqgj', item.attrInfoMap.XCXSSRQGJ)
|
this.$set(item, 'zccssrqgj', '')
|
||||||
this.$set(item, 'sycpx', item.attrInfoMap.SYCPX)
|
this.$set(item, 'xcxssrqgj', '')
|
||||||
this.$set(item, 'typeApplicable', item.attrInfoMap.CLLX)
|
this.$set(item, 'sycpx', '')
|
||||||
this.$set(item, 'nylx', item.attrInfoMap.NYLX)
|
this.$set(item, 'typeApplicable', '')
|
||||||
this.$set(item, 'zrbm', item.attrInfoMap.ZRBM)
|
this.$set(item, 'nylx', '')
|
||||||
this.$set(item, 'cycvppsbm', item.attrInfoMap.CYCVPPSBM)
|
this.$set(item, 'zrbm', '')
|
||||||
this.$set(item, 'cycvppscn', item.attrInfoMap.CYCVPPSCN)
|
this.$set(item, 'cycvppsbm', '')
|
||||||
this.$set(item, 'kccvppsbm', item.attrInfoMap.KCCVPPSBM)
|
this.$set(item, 'cycvppscn', '')
|
||||||
this.$set(item, 'kccvppscn', item.attrInfoMap.KCCVPPSCN)
|
this.$set(item, 'kccvppsbm', '')
|
||||||
|
this.$set(item, 'kccvppscn', '')
|
||||||
|
}else {
|
||||||
|
this.$set(item, 'zccssrqgj', item.attrInfoMap.ZCCSSRQGJ)
|
||||||
|
this.$set(item, 'xcxssrqgj', item.attrInfoMap.XCXSSRQGJ)
|
||||||
|
this.$set(item, 'sycpx', item.attrInfoMap.SYCPX)
|
||||||
|
this.$set(item, 'typeApplicable', item.attrInfoMap.CLLX)
|
||||||
|
this.$set(item, 'nylx', item.attrInfoMap.NYLX)
|
||||||
|
this.$set(item, 'zrbm', item.attrInfoMap.ZRBM)
|
||||||
|
this.$set(item, 'cycvppsbm', item.attrInfoMap.CYCVPPSBM)
|
||||||
|
this.$set(item, 'cycvppscn', item.attrInfoMap.CYCVPPSCN)
|
||||||
|
this.$set(item, 'kccvppsbm', item.attrInfoMap.KCCVPPSBM)
|
||||||
|
this.$set(item, 'kccvppscn', item.attrInfoMap.KCCVPPSCN)
|
||||||
|
}
|
||||||
})
|
})
|
||||||
this.selectedAccInfoSearchList.forEach(item => {
|
this.selectedAccInfoSearchList.forEach(item => {
|
||||||
// 责任部门转换
|
// 责任部门转换
|
||||||
@@ -1915,7 +1878,7 @@ export default {
|
|||||||
},
|
},
|
||||||
// 点击查看
|
// 点击查看
|
||||||
handlePreview (data) {
|
handlePreview (data) {
|
||||||
let routerName = data.sarType === 'FOREIGN_LAWS' ? 'OtherLawsDetails' : 'OtherStandardDetails'
|
let routerName = data.standType === 'FOREIGN_LAWS' ? 'OtherLawsDetails' : 'OtherStandardDetails'
|
||||||
let routeUrl = this.$router.resolve({
|
let routeUrl = this.$router.resolve({
|
||||||
name: routerName,
|
name: routerName,
|
||||||
params: {
|
params: {
|
||||||
@@ -2028,6 +1991,29 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
item.standNumber = item.standSortShow + ' ' + item.standNumber + '-' + item.standYear
|
item.standNumber = item.standSortShow + ' ' + item.standNumber + '-' + item.standYear
|
||||||
}
|
}
|
||||||
|
if (item.attrInfoMap === null) {
|
||||||
|
this.$set(item, 'zccssrqgj', '')
|
||||||
|
this.$set(item, 'xcxssrqgj', '')
|
||||||
|
this.$set(item, 'sycpx', '')
|
||||||
|
this.$set(item, 'typeApplicable', '')
|
||||||
|
this.$set(item, 'nylx', '')
|
||||||
|
this.$set(item, 'zrbm', '')
|
||||||
|
this.$set(item, 'cycvppsbm', '')
|
||||||
|
this.$set(item, 'cycvppscn', '')
|
||||||
|
this.$set(item, 'kccvppsbm', '')
|
||||||
|
this.$set(item, 'kccvppscn', '')
|
||||||
|
}else {
|
||||||
|
this.$set(item, 'zccssrqgj', item.attrInfoMap.ZCCSSRQGJ)
|
||||||
|
this.$set(item, 'xcxssrqgj', item.attrInfoMap.XCXSSRQGJ)
|
||||||
|
this.$set(item, 'sycpx', item.attrInfoMap.SYCPX)
|
||||||
|
this.$set(item, 'typeApplicable', item.attrInfoMap.CLLX)
|
||||||
|
this.$set(item, 'nylx', item.attrInfoMap.NYLX)
|
||||||
|
this.$set(item, 'zrbm', item.attrInfoMap.ZRBM)
|
||||||
|
this.$set(item, 'cycvppsbm', item.attrInfoMap.CYCVPPSBM)
|
||||||
|
this.$set(item, 'cycvppscn', item.attrInfoMap.CYCVPPSCN)
|
||||||
|
this.$set(item, 'kccvppsbm', item.attrInfoMap.KCCVPPSBM)
|
||||||
|
this.$set(item, 'kccvppscn', item.attrInfoMap.KCCVPPSCN)
|
||||||
|
}
|
||||||
})
|
})
|
||||||
}, e => {
|
}, e => {
|
||||||
})
|
})
|
||||||
@@ -2101,8 +2087,8 @@ export default {
|
|||||||
this.sarAccessEO.remark = accessRow.remark || ''
|
this.sarAccessEO.remark = accessRow.remark || ''
|
||||||
this.sarAccessEO.relateFile = accessRow.relateFile
|
this.sarAccessEO.relateFile = accessRow.relateFile
|
||||||
this.sarAccessInfoSearch.validFlag = 0
|
this.sarAccessInfoSearch.validFlag = 0
|
||||||
this.getFileInfo()
|
|
||||||
this.getData()
|
this.getData()
|
||||||
|
this.getFileInfo()
|
||||||
this.selectLawsStands()
|
this.selectLawsStands()
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
@@ -2169,6 +2155,12 @@ export default {
|
|||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.labelBox {
|
||||||
|
/deep/ .el-form-item__label {
|
||||||
|
padding-right: 5px;
|
||||||
|
padding-left: 10px;
|
||||||
|
}
|
||||||
|
}
|
||||||
.un-select {
|
.un-select {
|
||||||
user-select: none;
|
user-select: none;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -191,13 +191,13 @@
|
|||||||
align="center">
|
align="center">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="code"
|
prop="standNumber"
|
||||||
fixed="left"
|
fixed="left"
|
||||||
width="180px"
|
width="180px"
|
||||||
align="center"
|
align="center"
|
||||||
label="标准号">
|
label="标准号">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<a class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standNumber }}</a>
|
<span class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standNumber }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
@@ -491,6 +491,13 @@ export default {
|
|||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
this.standinfoList = res.data;
|
this.standinfoList = res.data;
|
||||||
|
this.standinfoList.forEach(item => {
|
||||||
|
if (item.standYear === null) {
|
||||||
|
item.standNumber = item.standSortShow + ' ' + item.standNumber
|
||||||
|
} else {
|
||||||
|
item.standNumber = item.standSortShow + ' ' + item.standNumber + '-' + item.standYear
|
||||||
|
}
|
||||||
|
})
|
||||||
this.total = res.data.total;
|
this.total = res.data.total;
|
||||||
}, e => {
|
}, e => {
|
||||||
|
|
||||||
@@ -628,7 +635,7 @@ export default {
|
|||||||
name: "OtherStandardDetails",
|
name: "OtherStandardDetails",
|
||||||
params: {
|
params: {
|
||||||
id: data.id,
|
id: data.id,
|
||||||
pageType: data.sarType
|
pageType: data.standType
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
window.open(routeUrl.href, "_blank");
|
window.open(routeUrl.href, "_blank");
|
||||||
@@ -660,10 +667,10 @@ export default {
|
|||||||
//
|
//
|
||||||
changeState(row) {
|
changeState(row) {
|
||||||
let routeUrl = this.$router.resolve({
|
let routeUrl = this.$router.resolve({
|
||||||
name: "ComplianceDetails",
|
name: "OtherStandardDetails",
|
||||||
query: {
|
query: {
|
||||||
sarId: row.resId,
|
id: data.id,
|
||||||
sarType: row.sarState
|
pageType: this.standType
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
window.open(routeUrl.href, "_blank");
|
window.open(routeUrl.href, "_blank");
|
||||||
|
|||||||
@@ -65,40 +65,13 @@
|
|||||||
</el-option>
|
</el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="标准名称" v-if="sarAccessInfoSearch.dataSource !== 'TEMP'" class="search-item">
|
<el-form-item label="标准名称" class="search-item">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="sarAccessInfoSearch.standName"
|
v-model="sarAccessInfoSearch.standName"
|
||||||
placeholder="请输入"
|
placeholder="请输入"
|
||||||
:maxlength="100"
|
:maxlength="100"
|
||||||
></el-input>
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="适用车辆类型" class="search-item" v-show="moreSearchShow">
|
|
||||||
<el-select v-model="sarAccessInfoSearch.applyArctic" filterable clearable>
|
|
||||||
<el-option
|
|
||||||
v-for="item in energyKindOptions"
|
|
||||||
:key="item.value"
|
|
||||||
:value="item.value"
|
|
||||||
:label="item.label"
|
|
||||||
></el-option>
|
|
||||||
</el-select>
|
|
||||||
</el-form-item>
|
|
||||||
<el-form-item class="search-item" prop="askType" label="要求类型" v-show="moreSearchShow">
|
|
||||||
<el-select v-model="sarAccessInfoSearch.askType">
|
|
||||||
<el-option
|
|
||||||
v-for="item in accessSarTypeOptions"
|
|
||||||
:key="item.value"
|
|
||||||
:value="item.value"
|
|
||||||
:label="item.label"
|
|
||||||
></el-option>
|
|
||||||
</el-select>
|
|
||||||
</el-form-item>
|
|
||||||
<el-form-item label="清单名称" prop="detailedListName" class="search-item" v-show="isListType">
|
|
||||||
<el-input
|
|
||||||
v-model="sarAccessInfoSearch.detailedListName"
|
|
||||||
placeholder="请输入"
|
|
||||||
:maxlength="100"
|
|
||||||
></el-input>
|
|
||||||
</el-form-item>
|
|
||||||
<el-form-item class="search-item btn-box">
|
<el-form-item class="search-item btn-box">
|
||||||
<el-button
|
<el-button
|
||||||
type="primary"
|
type="primary"
|
||||||
@@ -115,7 +88,11 @@
|
|||||||
@click="clearSearchLaws">清空</el-button>
|
@click="clearSearchLaws">清空</el-button>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item>
|
<el-form-item>
|
||||||
<el-button type="primary" class="common-button-primary" size="mini" @click="selectMoreBtn">
|
<el-button type="primary" v-if="showSelectBox" class="common-button-primary" size="mini" @click="selectMoreBtn">
|
||||||
|
<i class="iconfont"></i>
|
||||||
|
高级查询
|
||||||
|
</el-button>
|
||||||
|
<el-button type="primary" v-if="!showSelectBox" class="common-button-primary" size="mini" @click="selectMoreBtn">
|
||||||
<i class="iconfont"></i>
|
<i class="iconfont"></i>
|
||||||
高级查询
|
高级查询
|
||||||
</el-button>
|
</el-button>
|
||||||
@@ -124,54 +101,23 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="showSelectBox" v-if="!showSelectBox">
|
<div class="showSelectBox" v-if="!showSelectBox">
|
||||||
<el-form :model="sarAccessInfoSearch" class="label-input-form" label-width="70px" v-if="!disabledFlag" inline>
|
<el-form :model="sarAccessInfo" class="label-input-form" v-if="!disabledFlag" inline>
|
||||||
<el-form-item label="文本状态" v-show="!isListType">
|
<el-form-item label="标准号" class="labelBox">
|
||||||
<el-select
|
|
||||||
v-model="sarAccessInfoSearch.textStatus"
|
|
||||||
placeholder="请选择"
|
|
||||||
filterable
|
|
||||||
size="small"
|
|
||||||
>
|
|
||||||
<el-option
|
|
||||||
v-for="item in textStatusOptions"
|
|
||||||
:value="item.value"
|
|
||||||
:key="item.value"
|
|
||||||
:label="item.label"
|
|
||||||
/>
|
|
||||||
</el-select>
|
|
||||||
</el-form-item>
|
|
||||||
<el-form-item label="发布日期" v-show="!isListType">
|
|
||||||
<el-date-picker
|
|
||||||
v-model="sarAccessInfoSearch.issueTime"
|
|
||||||
type="date"
|
|
||||||
value-format="yyyy-MM-DD"
|
|
||||||
size="small"
|
|
||||||
placeholder="选择发布日期">
|
|
||||||
</el-date-picker>
|
|
||||||
</el-form-item>
|
|
||||||
<el-form-item label="项目类别" v-show="isListType">
|
|
||||||
<el-input
|
<el-input
|
||||||
size="small"
|
v-model="sarAccessInfo.standNumber"
|
||||||
v-model="sarAccessInfoSearch.standSystem"
|
|
||||||
placeholder="请输入"
|
placeholder="请输入"
|
||||||
:maxlength="100"
|
size="small"
|
||||||
></el-input>
|
clearable/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="更新人" v-show="isListType">
|
<el-form-item label="标准名称" class="labelBox">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="sarAccessInfoSearch.standName"
|
v-model="sarAccessInfo.standName"
|
||||||
placeholder="请输入"
|
placeholder="请输入"
|
||||||
:maxlength="100"
|
|
||||||
size="small"/>
|
|
||||||
</el-form-item>
|
|
||||||
<el-form-item label="更新时间" v-show="isListType">
|
|
||||||
<el-date-picker
|
|
||||||
v-model="sarAccessInfoSearch.modifyTime"
|
|
||||||
type="date"
|
|
||||||
size="small"
|
size="small"
|
||||||
value-format="yyyy-MM-DD"
|
clearable/>
|
||||||
placeholder="选择更新日期">
|
</el-form-item>
|
||||||
</el-date-picker>
|
<el-form-item>
|
||||||
|
<el-button size="small" type="primary" @click="selectBtn">查询</el-button>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
</div>
|
</div>
|
||||||
@@ -223,7 +169,6 @@
|
|||||||
<el-table-column
|
<el-table-column
|
||||||
prop="standName"
|
prop="standName"
|
||||||
label="标准名称"
|
label="标准名称"
|
||||||
width="260px"
|
|
||||||
>
|
>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
@@ -261,46 +206,6 @@
|
|||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
<el-table
|
|
||||||
v-show="isListType"
|
|
||||||
:data="sarAccessInfoSearchList"
|
|
||||||
style="width: 100%"
|
|
||||||
border
|
|
||||||
height="300px"
|
|
||||||
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
|
|
||||||
fontWeight: 'bold', height: '48px'}"
|
|
||||||
@selection-change="accessSarTypeSelect"
|
|
||||||
ref="accessTypeSelect"
|
|
||||||
>
|
|
||||||
<el-table-column
|
|
||||||
type="selection"
|
|
||||||
width="55"
|
|
||||||
align="center">
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="detailedList"
|
|
||||||
label="清单类别"
|
|
||||||
align="center">
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="detailedListName"
|
|
||||||
label="清单名称"
|
|
||||||
align="center">
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="modifyTime"
|
|
||||||
label="更新时间"
|
|
||||||
align="center">
|
|
||||||
<template slot-scope="scope">
|
|
||||||
<div>{{ scope.row.modifyTime ? scope.row.modifyTime.split(' ')[0] : '' }}</div>
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="uname"
|
|
||||||
label="更新人"
|
|
||||||
align="center">
|
|
||||||
</el-table-column>
|
|
||||||
</el-table>
|
|
||||||
<pagination :page="drawerPage" :total="drawerTotal" @pageChange="drawerPageChange"
|
<pagination :page="drawerPage" :total="drawerTotal" @pageChange="drawerPageChange"
|
||||||
@pageSizeChange="drawerPageSizeChange"></pagination>
|
@pageSizeChange="drawerPageSizeChange"></pagination>
|
||||||
<loading :loading="dataLoading">{{$t('m.dataAcquisition')}}</loading>
|
<loading :loading="dataLoading">{{$t('m.dataAcquisition')}}</loading>
|
||||||
@@ -405,16 +310,6 @@
|
|||||||
width="210px"
|
width="210px"
|
||||||
align="center"
|
align="center"
|
||||||
label="责任部门">
|
label="责任部门">
|
||||||
<template slot-scope="scope">
|
|
||||||
<span
|
|
||||||
v-for="(item, index) in zrbmOptions"
|
|
||||||
:key="index"
|
|
||||||
:value="item.value"
|
|
||||||
v-if="scope.row.value == item.value"
|
|
||||||
>
|
|
||||||
{{ item.label }}
|
|
||||||
</span>
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
@@ -451,7 +346,7 @@
|
|||||||
width="210px"
|
width="210px"
|
||||||
label="卡车VPPS中文名称">
|
label="卡车VPPS中文名称">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column width="150" align="center" label="操作">
|
<el-table-column width="240" align="center" label="操作">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-button
|
<el-button
|
||||||
class="common-button-default"
|
class="common-button-default"
|
||||||
@@ -465,6 +360,12 @@
|
|||||||
size="small" @click="moveDown(scope.$index, scope.row)"
|
size="small" @click="moveDown(scope.$index, scope.row)"
|
||||||
v-if="!disabledFlag"
|
v-if="!disabledFlag"
|
||||||
>下移</el-button>
|
>下移</el-button>
|
||||||
|
<el-button
|
||||||
|
size="small"
|
||||||
|
@click="editTghisRow(scope.row)"
|
||||||
|
class="common-button-default"
|
||||||
|
type="warning"
|
||||||
|
>编辑</el-button>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
@@ -501,6 +402,90 @@
|
|||||||
</div>
|
</div>
|
||||||
</el-upload>
|
</el-upload>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
<!--编辑-->
|
||||||
|
<el-drawer
|
||||||
|
title="编辑清单条目"
|
||||||
|
:visible.sync="drawerEdit"
|
||||||
|
:wrapperClosable="false"
|
||||||
|
size="800px"
|
||||||
|
>
|
||||||
|
<el-form :modal="editRowData" label-position="left" ref="editRowData" label-width="150px" style="margin: 20px">
|
||||||
|
<el-form-item label="标准号">
|
||||||
|
<el-input v-model.trim="editRowData.standNumber" :disabled="true"/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="标准名称" prop="standName">
|
||||||
|
<el-input v-model.trim="editRowData.standName" :disabled="true"/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="英文名称" prop="standEnName">
|
||||||
|
<el-input v-model.trim="editRowData.standEnName" :disabled="true"/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="适用车型" prop="typeApplicable">
|
||||||
|
<el-input v-model.trim="editRowData.typeApplicable" :disabled="true"/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="能源类型" prop="nylx">
|
||||||
|
<el-input v-model.trim="editRowData.nylx" :disabled="true"/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="标准实施日期" prop="putTime">
|
||||||
|
<el-date-picker
|
||||||
|
v-model.trim="editRowData.putTime"
|
||||||
|
type="date"
|
||||||
|
value-format="yyyy-MM-dd"
|
||||||
|
placeholder="选择日期">
|
||||||
|
</el-date-picker>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="在产车实施日期" prop="zccssrqgj">
|
||||||
|
<el-date-picker
|
||||||
|
v-model.trim="editRowData.zccssrqgj"
|
||||||
|
type="date"
|
||||||
|
value-format="yyyy-MM-dd"
|
||||||
|
placeholder="选择日期">
|
||||||
|
</el-date-picker>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="新车型实施日期" prop="xcxssrqgj">
|
||||||
|
<el-date-picker
|
||||||
|
v-model.trim="editRowData.xcxssrqgj"
|
||||||
|
type="date"
|
||||||
|
value-format="yyyy-MM-dd"
|
||||||
|
placeholder="选择日期">
|
||||||
|
</el-date-picker>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="责任部门" prop="zrbm">
|
||||||
|
<el-input v-model.trim="editRowData.zrbm" :disabled="true"/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="适用产品线" prop="sycpx">
|
||||||
|
<el-input v-model.trim="editRowData.sycpx" :disabled="true"/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="乘用车VPPS编码" prop="cycvppsbm">
|
||||||
|
<el-input v-model.trim="editRowData.cycvppsbm" :disabled="true"/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="乘用车VPPS中文名称" prop="cycvppscn">
|
||||||
|
<el-input v-model.trim="editRowData.cycvppscn" :disabled="true"/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="卡车VPPS编码" prop="kccvppsbm">
|
||||||
|
<el-input v-model.trim="editRowData.kccvppsbm" :disabled="true"/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="卡车VPPS中文名称" prop="kccvppscn">
|
||||||
|
<el-input v-model.trim="editRowData.kccvppscn" :disabled="true"/>
|
||||||
|
</el-form-item>
|
||||||
|
</el-form>
|
||||||
|
<div class="demo-drawer-footer">
|
||||||
|
<el-button
|
||||||
|
type="primary"
|
||||||
|
class="common-button-primary"
|
||||||
|
size="mini"
|
||||||
|
icon="el-icon-check"
|
||||||
|
@click="saveInfo"
|
||||||
|
>提交</el-button
|
||||||
|
>
|
||||||
|
<el-button
|
||||||
|
size="mini"
|
||||||
|
icon="el-icon-close"
|
||||||
|
class="common-button-default"
|
||||||
|
@click="cancelInfo"
|
||||||
|
>取消</el-button
|
||||||
|
>
|
||||||
|
</div>
|
||||||
|
</el-drawer>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
@@ -525,7 +510,7 @@ import CustomRoleTree from '@/components/CustomFormComponents/roleTree'
|
|||||||
import stand from "../../../config/pages/attributeCustom/components/stand";
|
import stand from "../../../config/pages/attributeCustom/components/stand";
|
||||||
import { mapGetters } from 'vuex'
|
import { mapGetters } from 'vuex'
|
||||||
import {interfaceUrl} from "@/sysConfig";
|
import {interfaceUrl} from "@/sysConfig";
|
||||||
import {dicTypeData} from "@/api/unqualProcess";
|
import {dicTypeData, StandardsInfoPage} from "@/api/unqualProcess";
|
||||||
export default {
|
export default {
|
||||||
name: 'OtherAddEit',
|
name: 'OtherAddEit',
|
||||||
components: {
|
components: {
|
||||||
@@ -556,6 +541,26 @@ export default {
|
|||||||
zrbmMap: {},
|
zrbmMap: {},
|
||||||
sycpxMap: {},
|
sycpxMap: {},
|
||||||
selectSearch : [],
|
selectSearch : [],
|
||||||
|
// 编辑抽屉状态
|
||||||
|
drawerEdit: false,
|
||||||
|
// 编辑框数据
|
||||||
|
editRowData: {
|
||||||
|
id: '',
|
||||||
|
standName: '',
|
||||||
|
standSortShow:'',
|
||||||
|
standEnName: '',
|
||||||
|
typeApplicable: '',
|
||||||
|
nylx: '',
|
||||||
|
putTime: '',
|
||||||
|
zccssrqgj: '',
|
||||||
|
xcxssrqgj: '',
|
||||||
|
zrbm: '',
|
||||||
|
sycpx: '',
|
||||||
|
cycvppsbm: '',
|
||||||
|
cycvppscn: '',
|
||||||
|
kccvppsbm: '',
|
||||||
|
kccvppscn: ''
|
||||||
|
},
|
||||||
// 新增、编辑 基础信息字段
|
// 新增、编辑 基础信息字段
|
||||||
sarAccessEO: {
|
sarAccessEO: {
|
||||||
id: '',
|
id: '',
|
||||||
@@ -607,18 +612,14 @@ export default {
|
|||||||
dataSourceOptions: [
|
dataSourceOptions: [
|
||||||
{value: 'INLAND_STAND', label: '国内标准法规'},
|
{value: 'INLAND_STAND', label: '国内标准法规'},
|
||||||
{value: 'FOREIGN_STAND', label: '海外标准法规'},
|
{value: 'FOREIGN_STAND', label: '海外标准法规'},
|
||||||
{value: 'FOREIGN_LAWS', label: '国内外政策'},
|
// {value: 'FOREIGN_LAWS', label: '国内外政策'},
|
||||||
// {value: 'BUSINESS', label: '企业标准 '},
|
// {value: 'BUSINESS', label: '企业标准 '},
|
||||||
{value: 'TEMP', label: '标准法规清单 '}
|
// {value: 'TEMP', label: '标准法规清单 '}
|
||||||
],
|
],
|
||||||
// 新增、编辑 数据搜索字段
|
// 新增、编辑 数据搜索字段
|
||||||
sarAccessInfoSearch: {
|
sarAccessInfoSearch: {
|
||||||
id: '',
|
id: '',
|
||||||
countryArea: '', // 国家
|
standName: '',
|
||||||
// applicationScope: '', //适用区域
|
|
||||||
keywords: '', // 关键字
|
|
||||||
detailedListName: '', //清单名称
|
|
||||||
applyArctic: '', // 能源种类
|
|
||||||
askType: '', // 监管类型
|
askType: '', // 监管类型
|
||||||
dataSource: 'INLAND_STAND', // 数据来源
|
dataSource: 'INLAND_STAND', // 数据来源
|
||||||
page: 1,
|
page: 1,
|
||||||
@@ -626,6 +627,17 @@ export default {
|
|||||||
validFlag: 0,
|
validFlag: 0,
|
||||||
advanceSearchVOStr: ''
|
advanceSearchVOStr: ''
|
||||||
},
|
},
|
||||||
|
sarAccessInfo: {
|
||||||
|
id: '',
|
||||||
|
standName: '',
|
||||||
|
standNumber: '',
|
||||||
|
askType: '', // 监管类型
|
||||||
|
dataSource: 'INLAND_STAND', // 数据来源
|
||||||
|
page: 1,
|
||||||
|
pageSize: this.$store.getters.userInfo.configContent,
|
||||||
|
validFlag: 0,
|
||||||
|
advanceSearchVOStr: ''
|
||||||
|
},
|
||||||
moreSearchBtn: true, // 多属性搜索按钮 状态
|
moreSearchBtn: true, // 多属性搜索按钮 状态
|
||||||
showTableFlag: true, // 显示添加列表 状态
|
showTableFlag: true, // 显示添加列表 状态
|
||||||
sarAccessInfoSearchList: [], // 数据搜索 table列表数据
|
sarAccessInfoSearchList: [], // 数据搜索 table列表数据
|
||||||
@@ -855,6 +867,9 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
// 高级检索
|
// 高级检索
|
||||||
selectMoreBtn () {
|
selectMoreBtn () {
|
||||||
|
this.showSelectBox = !this.showSelectBox
|
||||||
|
this.showTableFlag = false
|
||||||
|
this.selectLawsStands()
|
||||||
},
|
},
|
||||||
// 法规维护人树
|
// 法规维护人树
|
||||||
getDept () {
|
getDept () {
|
||||||
@@ -945,11 +960,10 @@ export default {
|
|||||||
// 点击清空查询条件 按钮事件
|
// 点击清空查询条件 按钮事件
|
||||||
clearSearchLaws () {
|
clearSearchLaws () {
|
||||||
this.sarAccessInfoSearch.standName = ''
|
this.sarAccessInfoSearch.standName = ''
|
||||||
|
this.sarAccessInfo.standName = ''
|
||||||
|
this.sarAccessInfo.standNumber = ''
|
||||||
this.sarAccessInfoSearch.advanceSearchVOStr = ''
|
this.sarAccessInfoSearch.advanceSearchVOStr = ''
|
||||||
this.sarAccessInfoSearch.applyArctic = '' // 能源种类
|
|
||||||
this.sarAccessInfoSearch.keywords = '' // 关键字
|
|
||||||
this.sarAccessInfoSearch.askType = '' // 监管类型
|
this.sarAccessInfoSearch.askType = '' // 监管类型
|
||||||
this.sarAccessInfoSearch.detailedListName = '' // 清单名称
|
|
||||||
this.sarAccessInfoSearch.dataSource = 'INLAND_STAND' // 数据来源
|
this.sarAccessInfoSearch.dataSource = 'INLAND_STAND' // 数据来源
|
||||||
this.isListType = false
|
this.isListType = false
|
||||||
this.selectLawsStands()
|
this.selectLawsStands()
|
||||||
@@ -1118,17 +1132,18 @@ export default {
|
|||||||
// 追加字段
|
// 追加字段
|
||||||
this.selectedAccInfoSearchList.map(item => {
|
this.selectedAccInfoSearchList.map(item => {
|
||||||
let addList;
|
let addList;
|
||||||
|
|
||||||
addList = this.sarAccessInfoList.findIndex(items => {
|
addList = this.sarAccessInfoList.findIndex(items => {
|
||||||
return items.id == item.id
|
return items.id == item.id
|
||||||
})
|
})
|
||||||
if(addList > -1){
|
if(addList > -1){
|
||||||
this.$message.warning('请勿添加重复数据')
|
this.$message.warning('请勿添加重复数据')
|
||||||
this.$refs.accessTypeSelect.clearSelection()
|
// this.$refs.accessTypeSelect.clearSelection()
|
||||||
this.$refs.entryTable.clearSelection()
|
this.$refs.entryTable.clearSelection()
|
||||||
this.$refs.searchTable.clearSelection()
|
this.$refs.searchTable.clearSelection()
|
||||||
} else{
|
} else{
|
||||||
this.sarAccessInfoList.push(item)
|
this.sarAccessInfoList.push(item)
|
||||||
this.$refs.accessTypeSelect.clearSelection()
|
// this.$refs.accessTypeSelect.clearSelection()
|
||||||
this.$refs.entryTable.clearSelection()
|
this.$refs.entryTable.clearSelection()
|
||||||
this.$refs.searchTable.clearSelection()
|
this.$refs.searchTable.clearSelection()
|
||||||
}
|
}
|
||||||
@@ -1165,6 +1180,22 @@ export default {
|
|||||||
this.$set(this.sarAccessInfoList, index, i)
|
this.$set(this.sarAccessInfoList, index, i)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
// 编辑按钮
|
||||||
|
editTghisRow(row) {
|
||||||
|
this.rowList = row
|
||||||
|
this.editRowData = this.rowList
|
||||||
|
this.editRowData.standNumber = this.rowList.standNumber
|
||||||
|
this.drawerEdit = true
|
||||||
|
},
|
||||||
|
// 抽屉取消按钮
|
||||||
|
cancelInfo() {
|
||||||
|
this.drawerEdit = false
|
||||||
|
},
|
||||||
|
// 抽屉提交按钮
|
||||||
|
saveInfo() {
|
||||||
|
this.rowList = this.editRowData
|
||||||
|
this.drawerEdit = false
|
||||||
|
},
|
||||||
// 点击清单条目导入按钮事件
|
// 点击清单条目导入按钮事件
|
||||||
importmodalFlags () {
|
importmodalFlags () {
|
||||||
this.importmodalFlag = true
|
this.importmodalFlag = true
|
||||||
@@ -1222,12 +1253,30 @@ export default {
|
|||||||
this.$refs['sarAccessForm'].validate((valid) => {
|
this.$refs['sarAccessForm'].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
let rowlist = []
|
let rowlist = []
|
||||||
|
let rowlist1 = []
|
||||||
|
let rowlist2 = []
|
||||||
|
let rowlist3 = []
|
||||||
for (let i = 0; i < this.sarAccessInfoList.length; i++) {
|
for (let i = 0; i < this.sarAccessInfoList.length; i++) {
|
||||||
rowlist.push(this.sarAccessInfoList[i].id)
|
rowlist.push(this.sarAccessInfoList[i].id)
|
||||||
|
if (this.sarAccessInfoList[i].putTime === null || this.sarAccessInfoList[i].zccssrqgj === null || this.sarAccessInfoList[i].xcxssrqgj === null) {
|
||||||
|
rowlist1.push(this.sarAccessInfoList[i].putTime)
|
||||||
|
rowlist2.push(this.sarAccessInfoList[i].zccssrqgj)
|
||||||
|
rowlist3.push(this.sarAccessInfoList[i].xcxssrqgj)
|
||||||
|
}else {
|
||||||
|
rowlist1.push(this.sarAccessInfoList[i].putTime.toString())
|
||||||
|
rowlist2.push(this.sarAccessInfoList[i].zccssrqgj.toString())
|
||||||
|
rowlist3.push(this.sarAccessInfoList[i].xcxssrqgj.toString())
|
||||||
|
}
|
||||||
}
|
}
|
||||||
rowlist = rowlist.join(',')
|
rowlist = rowlist.join(',')
|
||||||
|
rowlist1 = rowlist1.join(',')
|
||||||
|
rowlist2 = rowlist2.join(',')
|
||||||
|
rowlist3 = rowlist3.join(',')
|
||||||
let sarAccessEO = JSON.parse(JSON.stringify(this.sarAccessEO))
|
let sarAccessEO = JSON.parse(JSON.stringify(this.sarAccessEO))
|
||||||
sarAccessEO.inforlist = JSON.stringify(rowlist)
|
sarAccessEO.inforlist = JSON.stringify(rowlist)
|
||||||
|
sarAccessEO.inforlist1 = JSON.stringify(rowlist1)
|
||||||
|
sarAccessEO.inforlist2 = JSON.stringify(rowlist2)
|
||||||
|
sarAccessEO.inforlist3 = JSON.stringify(rowlist3)
|
||||||
// sarAccessEO.countryArea = sarAccessEO.countryArea.join(',')
|
// sarAccessEO.countryArea = sarAccessEO.countryArea.join(',')
|
||||||
// sarAccessEO.applicationScope = sarAccessEO.applicationScope.join(',')
|
// sarAccessEO.applicationScope = sarAccessEO.applicationScope.join(',')
|
||||||
// 判断是否有附件
|
// 判断是否有附件
|
||||||
@@ -1246,12 +1295,16 @@ export default {
|
|||||||
_this: this,
|
_this: this,
|
||||||
loading: 'loadData'
|
loading: 'loadData'
|
||||||
}, res => {
|
}, res => {
|
||||||
if (res.ok) {
|
if (this.sarAccessInfoList.length !== 0) {
|
||||||
this.$message.success('新增成功')
|
if (res.ok) {
|
||||||
this.isNext = true
|
this.$message.success('新增成功')
|
||||||
this.$router.push({
|
this.isNext = true
|
||||||
name: 'AccessStandardsAndRegulations'
|
this.$router.push({
|
||||||
})
|
name: 'AccessStandardsAndRegulations'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
}else {
|
||||||
|
this.$message.error('请选中需要添加到 清单条目 的(标准号/政策编号)')
|
||||||
}
|
}
|
||||||
}, e => {
|
}, e => {
|
||||||
})
|
})
|
||||||
@@ -1278,9 +1331,13 @@ export default {
|
|||||||
},
|
},
|
||||||
// 查询数据搜索 table 数据
|
// 查询数据搜索 table 数据
|
||||||
selectLawsStands () {
|
selectLawsStands () {
|
||||||
this.$http.get('sarStandardsInfo/sar-standards-info/getSarStandardsInfoPage', this.sarAccessInfoSearch, {
|
if (this.sarAccessInfoSearch.dataSource === 'INLAND_STAND') {
|
||||||
_this: this
|
this.sarAccessInfoSearch.dataSource = 'INLAND_STAND'
|
||||||
}, res =>{
|
this.sarAccessInfoSearch.standType = ''
|
||||||
|
} else {
|
||||||
|
this.sarAccessInfoSearch.standType = 'FOREIGN'
|
||||||
|
}
|
||||||
|
StandardsInfoPage(this.sarAccessInfoSearch).then(res =>{
|
||||||
this.sarAccessInfoSearchList = res.data.list
|
this.sarAccessInfoSearchList = res.data.list
|
||||||
this.sarAccessInfoSearchList.forEach(item => {
|
this.sarAccessInfoSearchList.forEach(item => {
|
||||||
if (item.standYear === null) {
|
if (item.standYear === null) {
|
||||||
@@ -1288,22 +1345,75 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
item.standNumber = item.standSortShow + ' ' + item.standNumber + '-' + item.standYear
|
item.standNumber = item.standSortShow + ' ' + item.standNumber + '-' + item.standYear
|
||||||
}
|
}
|
||||||
|
if (item.attrInfoMap === null) {
|
||||||
|
this.$set(item, 'zccssrqgj', '')
|
||||||
|
this.$set(item, 'xcxssrqgj', '')
|
||||||
|
this.$set(item, 'sycpx', '')
|
||||||
|
this.$set(item, 'typeApplicable', '')
|
||||||
|
this.$set(item, 'nylx', '')
|
||||||
|
this.$set(item, 'zrbm', '')
|
||||||
|
this.$set(item, 'cycvppsbm', '')
|
||||||
|
this.$set(item, 'cycvppscn', '')
|
||||||
|
this.$set(item, 'kccvppsbm', '')
|
||||||
|
this.$set(item, 'kccvppscn', '')
|
||||||
|
}else {
|
||||||
|
this.$set(item, 'zccssrqgj', item.attrInfoMap.ZCCSSRQGJ)
|
||||||
|
this.$set(item, 'xcxssrqgj', item.attrInfoMap.XCXSSRQGJ)
|
||||||
|
this.$set(item, 'sycpx', item.attrInfoMap.SYCPX)
|
||||||
|
this.$set(item, 'typeApplicable', item.attrInfoMap.CLLX)
|
||||||
|
this.$set(item, 'nylx', item.attrInfoMap.NYLX)
|
||||||
|
this.$set(item, 'zrbm', item.attrInfoMap.ZRBM)
|
||||||
|
this.$set(item, 'cycvppsbm', item.attrInfoMap.CYCVPPSBM)
|
||||||
|
this.$set(item, 'cycvppscn', item.attrInfoMap.CYCVPPSCN)
|
||||||
|
this.$set(item, 'kccvppsbm', item.attrInfoMap.KCCVPPSBM)
|
||||||
|
this.$set(item, 'kccvppscn', item.attrInfoMap.KCCVPPSCN)
|
||||||
|
}
|
||||||
})
|
})
|
||||||
|
this.drawerTotal = res.data.count
|
||||||
|
}, e => {
|
||||||
|
})
|
||||||
|
},
|
||||||
|
// 高级检索查询按钮
|
||||||
|
selectBtn() {
|
||||||
|
if (this.sarAccessInfoSearch.dataSource === 'INLAND_STAND') {
|
||||||
|
this.sarAccessInfoSearch.dataSource = 'INLAND_STAND'
|
||||||
|
} else {
|
||||||
|
this.sarAccessInfoSearch.standType = 'FOREIGN'
|
||||||
|
}
|
||||||
|
StandardsInfoPage(this.sarAccessInfo).then(res =>{
|
||||||
|
this.sarAccessInfoSearchList = res.data.list
|
||||||
this.sarAccessInfoSearchList.forEach(item => {
|
this.sarAccessInfoSearchList.forEach(item => {
|
||||||
this.$set(item, 'zccssrqgj', item.attrInfoMap.ZCCSSRQGJ)
|
if (item.standYear === null) {
|
||||||
this.$set(item, 'xcxssrqgj', item.attrInfoMap.XCXSSRQGJ)
|
item.standNumber = item.standSortShow + ' ' + item.standNumber
|
||||||
this.$set(item, 'sycpx', item.attrInfoMap.SYCPX)
|
} else {
|
||||||
this.$set(item, 'typeApplicable', item.attrInfoMap.CLLX)
|
item.standNumber = item.standSortShow + ' ' + item.standNumber + '-' + item.standYear
|
||||||
this.$set(item, 'nylx', item.attrInfoMap.NYLX)
|
}
|
||||||
this.$set(item, 'zrbm', item.attrInfoMap.ZRBM)
|
if (item.attrInfoMap === null) {
|
||||||
this.$set(item, 'cycvppsbm', item.attrInfoMap.CYCVPPSBM)
|
this.$set(item, 'zccssrqgj', '')
|
||||||
this.$set(item, 'cycvppscn', item.attrInfoMap.CYCVPPSCN)
|
this.$set(item, 'xcxssrqgj', '')
|
||||||
this.$set(item, 'kccvppsbm', item.attrInfoMap.KCCVPPSBM)
|
this.$set(item, 'sycpx', '')
|
||||||
this.$set(item, 'kccvppscn', item.attrInfoMap.KCCVPPSCN)
|
this.$set(item, 'typeApplicable', '')
|
||||||
|
this.$set(item, 'nylx', '')
|
||||||
|
this.$set(item, 'zrbm', '')
|
||||||
|
this.$set(item, 'cycvppsbm', '')
|
||||||
|
this.$set(item, 'cycvppscn', '')
|
||||||
|
this.$set(item, 'kccvppsbm', '')
|
||||||
|
this.$set(item, 'kccvppscn', '')
|
||||||
|
}else {
|
||||||
|
this.$set(item, 'zccssrqgj', item.attrInfoMap.ZCCSSRQGJ)
|
||||||
|
this.$set(item, 'xcxssrqgj', item.attrInfoMap.XCXSSRQGJ)
|
||||||
|
this.$set(item, 'sycpx', item.attrInfoMap.SYCPX)
|
||||||
|
this.$set(item, 'typeApplicable', item.attrInfoMap.CLLX)
|
||||||
|
this.$set(item, 'nylx', item.attrInfoMap.NYLX)
|
||||||
|
this.$set(item, 'zrbm', item.attrInfoMap.ZRBM)
|
||||||
|
this.$set(item, 'cycvppsbm', item.attrInfoMap.CYCVPPSBM)
|
||||||
|
this.$set(item, 'cycvppscn', item.attrInfoMap.CYCVPPSCN)
|
||||||
|
this.$set(item, 'kccvppsbm', item.attrInfoMap.KCCVPPSBM)
|
||||||
|
this.$set(item, 'kccvppscn', item.attrInfoMap.KCCVPPSCN)
|
||||||
|
}
|
||||||
})
|
})
|
||||||
this.drawerTotal = res.data.list.length
|
this.drawerTotal = res.data.list.length
|
||||||
}, e => {
|
}, e => {
|
||||||
|
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 数据搜索table判断checked状态
|
// 数据搜索table判断checked状态
|
||||||
@@ -1314,16 +1424,29 @@ export default {
|
|||||||
sarAccessInfoSearchSelect (val) {
|
sarAccessInfoSearchSelect (val) {
|
||||||
this.selectedAccInfoSearchList = val
|
this.selectedAccInfoSearchList = val
|
||||||
this.selectedAccInfoSearchList.forEach(item => {
|
this.selectedAccInfoSearchList.forEach(item => {
|
||||||
this.$set(item, 'zccssrqgj', item.attrInfoMap.ZCCSSRQGJ)
|
if (item.attrInfoMap === null) {
|
||||||
this.$set(item, 'xcxssrqgj', item.attrInfoMap.XCXSSRQGJ)
|
this.$set(item, 'zccssrqgj', '')
|
||||||
this.$set(item, 'sycpx', item.attrInfoMap.SYCPX)
|
this.$set(item, 'xcxssrqgj', '')
|
||||||
this.$set(item, 'typeApplicable', item.attrInfoMap.CLLX)
|
this.$set(item, 'sycpx', '')
|
||||||
this.$set(item, 'nylx', item.attrInfoMap.NYLX)
|
this.$set(item, 'typeApplicable', '')
|
||||||
this.$set(item, 'zrbm', item.attrInfoMap.ZRBM)
|
this.$set(item, 'nylx', '')
|
||||||
this.$set(item, 'cycvppsbm', item.attrInfoMap.CYCVPPSBM)
|
this.$set(item, 'zrbm', '')
|
||||||
this.$set(item, 'cycvppscn', item.attrInfoMap.CYCVPPSCN)
|
this.$set(item, 'cycvppsbm', '')
|
||||||
this.$set(item, 'kccvppsbm', item.attrInfoMap.KCCVPPSBM)
|
this.$set(item, 'cycvppscn', '')
|
||||||
this.$set(item, 'kccvppscn', item.attrInfoMap.KCCVPPSCN)
|
this.$set(item, 'kccvppsbm', '')
|
||||||
|
this.$set(item, 'kccvppscn', '')
|
||||||
|
}else {
|
||||||
|
this.$set(item, 'zccssrqgj', item.attrInfoMap.ZCCSSRQGJ)
|
||||||
|
this.$set(item, 'xcxssrqgj', item.attrInfoMap.XCXSSRQGJ)
|
||||||
|
this.$set(item, 'sycpx', item.attrInfoMap.SYCPX)
|
||||||
|
this.$set(item, 'typeApplicable', item.attrInfoMap.CLLX)
|
||||||
|
this.$set(item, 'nylx', item.attrInfoMap.NYLX)
|
||||||
|
this.$set(item, 'zrbm', item.attrInfoMap.ZRBM)
|
||||||
|
this.$set(item, 'cycvppsbm', item.attrInfoMap.CYCVPPSBM)
|
||||||
|
this.$set(item, 'cycvppscn', item.attrInfoMap.CYCVPPSCN)
|
||||||
|
this.$set(item, 'kccvppsbm', item.attrInfoMap.KCCVPPSBM)
|
||||||
|
this.$set(item, 'kccvppscn', item.attrInfoMap.KCCVPPSCN)
|
||||||
|
}
|
||||||
})
|
})
|
||||||
this.selectedAccInfoSearchList.forEach(item => {
|
this.selectedAccInfoSearchList.forEach(item => {
|
||||||
// 责任部门转换
|
// 责任部门转换
|
||||||
@@ -1722,13 +1845,13 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 点击查看
|
// 点击查看
|
||||||
handlePreview (item) {
|
handlePreview (data) {
|
||||||
let routerName = item.sarType === 'FOREIGN_LAWS' ? 'OtherLawsDetails' : 'OtherStandardDetails'
|
let routerName = data.standType === 'FOREIGN_LAWS' ? 'OtherLawsDetails' : 'OtherStandardDetails'
|
||||||
let routeUrl = this.$router.resolve({
|
let routeUrl = this.$router.resolve({
|
||||||
name: routerName,
|
name: routerName,
|
||||||
params: {
|
params: {
|
||||||
id: item.resId,
|
id: data.id,
|
||||||
pageType: item.sarType
|
pageType: this.sarAccessInfoSearch.dataSource
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
window.open(routeUrl.href, '_blank')
|
window.open(routeUrl.href, '_blank')
|
||||||
@@ -1837,6 +1960,29 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
item.standNumber = item.standSortShow + ' ' + item.standNumber + '-' + item.standYear
|
item.standNumber = item.standSortShow + ' ' + item.standNumber + '-' + item.standYear
|
||||||
}
|
}
|
||||||
|
if (item.attrInfoMap === null) {
|
||||||
|
this.$set(item, 'zccssrqgj', '')
|
||||||
|
this.$set(item, 'xcxssrqgj', '')
|
||||||
|
this.$set(item, 'sycpx', '')
|
||||||
|
this.$set(item, 'typeApplicable', '')
|
||||||
|
this.$set(item, 'nylx', '')
|
||||||
|
this.$set(item, 'zrbm', '')
|
||||||
|
this.$set(item, 'cycvppsbm', '')
|
||||||
|
this.$set(item, 'cycvppscn', '')
|
||||||
|
this.$set(item, 'kccvppsbm', '')
|
||||||
|
this.$set(item, 'kccvppscn', '')
|
||||||
|
}else {
|
||||||
|
this.$set(item, 'zccssrqgj', item.attrInfoMap.ZCCSSRQGJ)
|
||||||
|
this.$set(item, 'xcxssrqgj', item.attrInfoMap.XCXSSRQGJ)
|
||||||
|
this.$set(item, 'sycpx', item.attrInfoMap.SYCPX)
|
||||||
|
this.$set(item, 'typeApplicable', item.attrInfoMap.CLLX)
|
||||||
|
this.$set(item, 'nylx', item.attrInfoMap.NYLX)
|
||||||
|
this.$set(item, 'zrbm', item.attrInfoMap.ZRBM)
|
||||||
|
this.$set(item, 'cycvppsbm', item.attrInfoMap.CYCVPPSBM)
|
||||||
|
this.$set(item, 'cycvppscn', item.attrInfoMap.CYCVPPSCN)
|
||||||
|
this.$set(item, 'kccvppsbm', item.attrInfoMap.KCCVPPSBM)
|
||||||
|
this.$set(item, 'kccvppscn', item.attrInfoMap.KCCVPPSCN)
|
||||||
|
}
|
||||||
})
|
})
|
||||||
}, e => {
|
}, e => {
|
||||||
|
|
||||||
@@ -1987,6 +2133,12 @@ export default {
|
|||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.labelBox {
|
||||||
|
/deep/ .el-form-item__label {
|
||||||
|
padding-right: 5px;
|
||||||
|
padding-left: 10px;
|
||||||
|
}
|
||||||
|
}
|
||||||
.un-select {
|
.un-select {
|
||||||
user-select: none;
|
user-select: none;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -65,40 +65,13 @@
|
|||||||
</el-option>
|
</el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="标准名称" v-if="sarAccessInfoSearch.dataSource !== 'TEMP'" class="search-item">
|
<el-form-item label="标准名称" class="search-item">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="sarAccessInfoSearch.standName"
|
v-model="sarAccessInfoSearch.standName"
|
||||||
placeholder="请输入"
|
placeholder="请输入"
|
||||||
:maxlength="100"
|
:maxlength="100"
|
||||||
></el-input>
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="适用车辆类型" class="search-item" v-show="moreSearchShow">
|
|
||||||
<el-select v-model="sarAccessInfoSearch.applyArctic" filterable clearable>
|
|
||||||
<el-option
|
|
||||||
v-for="item in energyKindOptions"
|
|
||||||
:key="item.value"
|
|
||||||
:value="item.value"
|
|
||||||
:label="item.label"
|
|
||||||
></el-option>
|
|
||||||
</el-select>
|
|
||||||
</el-form-item>
|
|
||||||
<el-form-item class="search-item" prop="askType" label="要求类型" v-show="moreSearchShow">
|
|
||||||
<el-select v-model="sarAccessInfoSearch.askType">
|
|
||||||
<el-option
|
|
||||||
v-for="item in accessSarTypeOptions"
|
|
||||||
:key="item.value"
|
|
||||||
:value="item.value"
|
|
||||||
:label="item.label"
|
|
||||||
></el-option>
|
|
||||||
</el-select>
|
|
||||||
</el-form-item>
|
|
||||||
<el-form-item label="清单名称" prop="detailedListName" class="search-item" v-show="isListType">
|
|
||||||
<el-input
|
|
||||||
v-model="sarAccessInfoSearch.detailedListName"
|
|
||||||
placeholder="请输入"
|
|
||||||
:maxlength="100"
|
|
||||||
></el-input>
|
|
||||||
</el-form-item>
|
|
||||||
<el-form-item class="search-item btn-box">
|
<el-form-item class="search-item btn-box">
|
||||||
<el-button
|
<el-button
|
||||||
type="primary"
|
type="primary"
|
||||||
@@ -128,54 +101,23 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="showSelectBox" v-if="!showSelectBox">
|
<div class="showSelectBox" v-if="!showSelectBox">
|
||||||
<el-form :model="sarAccessInfoSearch" class="label-input-form" label-width="70px" v-if="!disabledFlag" inline>
|
<el-form :model="sarAccessInfo" class="label-input-form" v-if="!disabledFlag" inline>
|
||||||
<el-form-item label="文本状态" v-show="!isListType">
|
<el-form-item label="标准号" class="labelBox">
|
||||||
<el-select
|
|
||||||
v-model="sarAccessInfoSearch.textStatus"
|
|
||||||
placeholder="请选择"
|
|
||||||
filterable
|
|
||||||
size="small"
|
|
||||||
>
|
|
||||||
<el-option
|
|
||||||
v-for="item in textStatusOptions"
|
|
||||||
:value="item.value"
|
|
||||||
:key="item.value"
|
|
||||||
:label="item.label"
|
|
||||||
/>
|
|
||||||
</el-select>
|
|
||||||
</el-form-item>
|
|
||||||
<el-form-item label="发布日期" v-show="!isListType">
|
|
||||||
<el-date-picker
|
|
||||||
v-model="sarAccessInfoSearch.issueTime"
|
|
||||||
type="date"
|
|
||||||
value-format="yyyy-MM-DD"
|
|
||||||
size="small"
|
|
||||||
placeholder="选择发布日期">
|
|
||||||
</el-date-picker>
|
|
||||||
</el-form-item>
|
|
||||||
<el-form-item label="项目名称" v-show="isListType">
|
|
||||||
<el-input
|
<el-input
|
||||||
size="small"
|
v-model="sarAccessInfo.standNumber"
|
||||||
v-model="sarAccessInfoSearch.standSystem"
|
|
||||||
placeholder="请输入"
|
placeholder="请输入"
|
||||||
:maxlength="100"
|
size="small"
|
||||||
></el-input>
|
clearable/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="更新人" v-show="isListType">
|
<el-form-item label="标准名称" class="labelBox">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="sarAccessInfoSearch.standName"
|
v-model="sarAccessInfo.standName"
|
||||||
placeholder="请输入"
|
placeholder="请输入"
|
||||||
:maxlength="100"
|
|
||||||
size="small"/>
|
|
||||||
</el-form-item>
|
|
||||||
<el-form-item label="更新时间" v-show="isListType">
|
|
||||||
<el-date-picker
|
|
||||||
v-model="sarAccessInfoSearch.modifyTime"
|
|
||||||
type="date"
|
|
||||||
size="small"
|
size="small"
|
||||||
value-format="yyyy-MM-DD"
|
clearable/>
|
||||||
placeholder="选择更新日期">
|
</el-form-item>
|
||||||
</el-date-picker>
|
<el-form-item>
|
||||||
|
<el-button size="small" type="primary" @click="selectBtn">查询</el-button>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
</div>
|
</div>
|
||||||
@@ -227,7 +169,6 @@
|
|||||||
<el-table-column
|
<el-table-column
|
||||||
prop="standName"
|
prop="standName"
|
||||||
label="标准名称"
|
label="标准名称"
|
||||||
width="260px"
|
|
||||||
>
|
>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
@@ -265,46 +206,6 @@
|
|||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
<el-table
|
|
||||||
v-show="isListType"
|
|
||||||
:data="sarAccessInfoSearchList"
|
|
||||||
style="width: 100%"
|
|
||||||
border
|
|
||||||
height="300px"
|
|
||||||
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
|
|
||||||
fontWeight: 'bold', height: '48px'}"
|
|
||||||
@selection-change="accessSarTypeSelect"
|
|
||||||
ref="accessTypeSelect"
|
|
||||||
>
|
|
||||||
<el-table-column
|
|
||||||
type="selection"
|
|
||||||
width="55"
|
|
||||||
align="center">
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="projectName"
|
|
||||||
label="项目名称"
|
|
||||||
align="center">
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="detailedListName"
|
|
||||||
label="清单名称"
|
|
||||||
align="center">
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="modifyTime"
|
|
||||||
label="更新时间"
|
|
||||||
align="center">
|
|
||||||
<template slot-scope="scope">
|
|
||||||
<div>{{ scope.row.modifyTime ? scope.row.modifyTime.split(' ')[0] : '' }}</div>
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="uname"
|
|
||||||
label="更新人"
|
|
||||||
align="center">
|
|
||||||
</el-table-column>
|
|
||||||
</el-table>
|
|
||||||
<pagination :page="drawerPage" :total="drawerTotal" @pageChange="drawerPageChange"
|
<pagination :page="drawerPage" :total="drawerTotal" @pageChange="drawerPageChange"
|
||||||
@pageSizeChange="drawerPageSizeChange"></pagination>
|
@pageSizeChange="drawerPageSizeChange"></pagination>
|
||||||
<loading :loading="dataLoading">{{$t('m.dataAcquisition')}}</loading>
|
<loading :loading="dataLoading">{{$t('m.dataAcquisition')}}</loading>
|
||||||
@@ -445,7 +346,7 @@
|
|||||||
width="210px"
|
width="210px"
|
||||||
label="卡车VPPS中文名称">
|
label="卡车VPPS中文名称">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column width="150" align="center" label="操作">
|
<el-table-column width="240" align="center" label="操作">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-button
|
<el-button
|
||||||
class="common-button-default"
|
class="common-button-default"
|
||||||
@@ -459,6 +360,12 @@
|
|||||||
size="small" @click="moveDown(scope.$index, scope.row)"
|
size="small" @click="moveDown(scope.$index, scope.row)"
|
||||||
v-if="!disabledFlag"
|
v-if="!disabledFlag"
|
||||||
>下移</el-button>
|
>下移</el-button>
|
||||||
|
<el-button
|
||||||
|
size="small"
|
||||||
|
@click="editTghisRow(scope.row)"
|
||||||
|
class="common-button-default"
|
||||||
|
type="warning"
|
||||||
|
>编辑</el-button>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
@@ -495,6 +402,89 @@
|
|||||||
</div>
|
</div>
|
||||||
</el-upload>
|
</el-upload>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
<el-drawer
|
||||||
|
title="编辑清单条目"
|
||||||
|
:visible.sync="drawerEdit"
|
||||||
|
:wrapperClosable="false"
|
||||||
|
size="800px"
|
||||||
|
>
|
||||||
|
<el-form :modal="editRowData" label-position="left" ref="editRowData" label-width="150px" style="margin: 20px">
|
||||||
|
<el-form-item label="标准号">
|
||||||
|
<el-input v-model.trim="editRowData.standNumber" :disabled="true"/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="标准名称" prop="standName">
|
||||||
|
<el-input v-model.trim="editRowData.standName" :disabled="true"/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="英文名称" prop="standEnName">
|
||||||
|
<el-input v-model.trim="editRowData.standEnName" :disabled="true"/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="适用车型" prop="typeApplicable">
|
||||||
|
<el-input v-model.trim="editRowData.typeApplicable" :disabled="true"/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="能源类型" prop="nylx">
|
||||||
|
<el-input v-model.trim="editRowData.nylx" :disabled="true"/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="标准实施日期" prop="putTime">
|
||||||
|
<el-date-picker
|
||||||
|
v-model.trim="editRowData.putTime"
|
||||||
|
type="date"
|
||||||
|
value-format="yyyy-MM-dd"
|
||||||
|
placeholder="选择日期">
|
||||||
|
</el-date-picker>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="在产车实施日期" prop="zccssrqgj">
|
||||||
|
<el-date-picker
|
||||||
|
v-model.trim="editRowData.zccssrqgj"
|
||||||
|
type="date"
|
||||||
|
value-format="yyyy-MM-dd"
|
||||||
|
placeholder="选择日期">
|
||||||
|
</el-date-picker>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="新车型实施日期" prop="xcxssrqgj">
|
||||||
|
<el-date-picker
|
||||||
|
v-model.trim="editRowData.xcxssrqgj"
|
||||||
|
type="date"
|
||||||
|
value-format="yyyy-MM-dd"
|
||||||
|
placeholder="选择日期">
|
||||||
|
</el-date-picker>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="责任部门" prop="zrbm">
|
||||||
|
<el-input v-model.trim="editRowData.zrbm" :disabled="true"/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="适用产品线" prop="sycpx">
|
||||||
|
<el-input v-model.trim="editRowData.sycpx" :disabled="true"/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="乘用车VPPS编码" prop="cycvppsbm">
|
||||||
|
<el-input v-model.trim="editRowData.cycvppsbm" :disabled="true"/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="乘用车VPPS中文名称" prop="cycvppscn">
|
||||||
|
<el-input v-model.trim="editRowData.cycvppscn" :disabled="true"/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="卡车VPPS编码" prop="kccvppsbm">
|
||||||
|
<el-input v-model.trim="editRowData.kccvppsbm" :disabled="true"/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="卡车VPPS中文名称" prop="kccvppscn">
|
||||||
|
<el-input v-model.trim="editRowData.kccvppscn" :disabled="true"/>
|
||||||
|
</el-form-item>
|
||||||
|
</el-form>
|
||||||
|
<div class="demo-drawer-footer">
|
||||||
|
<el-button
|
||||||
|
type="primary"
|
||||||
|
class="common-button-primary"
|
||||||
|
size="mini"
|
||||||
|
icon="el-icon-check"
|
||||||
|
@click="saveInfo"
|
||||||
|
>提交</el-button
|
||||||
|
>
|
||||||
|
<el-button
|
||||||
|
size="mini"
|
||||||
|
icon="el-icon-close"
|
||||||
|
class="common-button-default"
|
||||||
|
@click="cancelInfo"
|
||||||
|
>取消</el-button
|
||||||
|
>
|
||||||
|
</div>
|
||||||
|
</el-drawer>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
@@ -519,7 +509,7 @@ import CustomRoleTree from '@/components/CustomFormComponents/roleTree'
|
|||||||
import stand from "../../../config/pages/attributeCustom/components/stand";
|
import stand from "../../../config/pages/attributeCustom/components/stand";
|
||||||
import { mapGetters } from 'vuex'
|
import { mapGetters } from 'vuex'
|
||||||
import {interfaceUrl} from "@/sysConfig";
|
import {interfaceUrl} from "@/sysConfig";
|
||||||
import {dicTypeData} from "@/api/unqualProcess";
|
import {dicTypeData, StandardsInfoPage} from "@/api/unqualProcess"
|
||||||
export default {
|
export default {
|
||||||
name: 'OtherAddEit',
|
name: 'OtherAddEit',
|
||||||
components: {
|
components: {
|
||||||
@@ -565,6 +555,26 @@ export default {
|
|||||||
},
|
},
|
||||||
fileInfoList: [], // 上传的附件
|
fileInfoList: [], // 上传的附件
|
||||||
uploadFileListPath: 'api/att/attFile/upload', // 上传的地址
|
uploadFileListPath: 'api/att/attFile/upload', // 上传的地址
|
||||||
|
// 编辑抽屉状态
|
||||||
|
drawerEdit: false,
|
||||||
|
// 编辑框数据
|
||||||
|
editRowData: {
|
||||||
|
id: '',
|
||||||
|
standName: '',
|
||||||
|
standSortShow:'',
|
||||||
|
standEnName: '',
|
||||||
|
typeApplicable: '',
|
||||||
|
nylx: '',
|
||||||
|
putTime: '',
|
||||||
|
zccssrqgj: '',
|
||||||
|
xcxssrqgj: '',
|
||||||
|
zrbm: '',
|
||||||
|
sycpx: '',
|
||||||
|
cycvppsbm: '',
|
||||||
|
cycvppscn: '',
|
||||||
|
kccvppsbm: '',
|
||||||
|
kccvppscn: ''
|
||||||
|
},
|
||||||
// 新增、编辑 基础信息验证条件
|
// 新增、编辑 基础信息验证条件
|
||||||
sarAccessEORules: {
|
sarAccessEORules: {
|
||||||
type: [
|
type: [
|
||||||
@@ -601,18 +611,25 @@ export default {
|
|||||||
dataSourceOptions: [
|
dataSourceOptions: [
|
||||||
{value: 'INLAND_STAND', label: '国内标准法规'},
|
{value: 'INLAND_STAND', label: '国内标准法规'},
|
||||||
{value: 'FOREIGN_STAND', label: '海外标准法规'},
|
{value: 'FOREIGN_STAND', label: '海外标准法规'},
|
||||||
{value: 'FOREIGN_LAWS', label: '国内外政策'},
|
// {value: 'FOREIGN_LAWS', label: '国内外政策'},
|
||||||
// {value: 'BUSINESS', label: '企业标准 '},
|
// {value: 'BUSINESS', label: '企业标准 '},
|
||||||
{value: 'TEMP', label: '标准法规清单 '}
|
// {value: 'TEMP', label: '标准法规清单 '}
|
||||||
],
|
],
|
||||||
// 新增、编辑 数据搜索字段
|
// 新增、编辑 数据搜索字段
|
||||||
sarAccessInfoSearch: {
|
sarAccessInfoSearch: {
|
||||||
id: '',
|
id: '',
|
||||||
countryArea: '', // 国家
|
standName: '',
|
||||||
// applicationScope: '', //适用区域
|
askType: '', // 监管类型
|
||||||
keywords: '', // 关键字
|
dataSource: 'INLAND_STAND', // 数据来源
|
||||||
detailedListName: '', //清单名称
|
page: 1,
|
||||||
applyArctic: '', // 能源种类
|
pageSize: this.$store.getters.userInfo.configContent,
|
||||||
|
validFlag: 0,
|
||||||
|
advanceSearchVOStr: ''
|
||||||
|
},
|
||||||
|
sarAccessInfo: {
|
||||||
|
id: '',
|
||||||
|
standName: '',
|
||||||
|
standNumber: '',
|
||||||
askType: '', // 监管类型
|
askType: '', // 监管类型
|
||||||
dataSource: 'INLAND_STAND', // 数据来源
|
dataSource: 'INLAND_STAND', // 数据来源
|
||||||
page: 1,
|
page: 1,
|
||||||
@@ -943,11 +960,10 @@ export default {
|
|||||||
// 点击清空查询条件 按钮事件
|
// 点击清空查询条件 按钮事件
|
||||||
clearSearchLaws () {
|
clearSearchLaws () {
|
||||||
this.sarAccessInfoSearch.standName = ''
|
this.sarAccessInfoSearch.standName = ''
|
||||||
|
this.sarAccessInfo.standName = ''
|
||||||
|
this.sarAccessInfo.standNumber = ''
|
||||||
this.sarAccessInfoSearch.advanceSearchVOStr = ''
|
this.sarAccessInfoSearch.advanceSearchVOStr = ''
|
||||||
this.sarAccessInfoSearch.applyArctic = '' // 能源种类
|
|
||||||
this.sarAccessInfoSearch.keywords = '' // 关键字
|
|
||||||
this.sarAccessInfoSearch.askType = '' // 监管类型
|
this.sarAccessInfoSearch.askType = '' // 监管类型
|
||||||
this.sarAccessInfoSearch.detailedListName = '' // 清单名称
|
|
||||||
this.sarAccessInfoSearch.dataSource = 'INLAND_STAND' // 数据来源
|
this.sarAccessInfoSearch.dataSource = 'INLAND_STAND' // 数据来源
|
||||||
this.isListType = false
|
this.isListType = false
|
||||||
this.selectLawsStands()
|
this.selectLawsStands()
|
||||||
@@ -1117,16 +1133,16 @@ export default {
|
|||||||
this.selectedAccInfoSearchList.map(item => {
|
this.selectedAccInfoSearchList.map(item => {
|
||||||
let addList;
|
let addList;
|
||||||
addList = this.sarAccessInfoList.findIndex(items => {
|
addList = this.sarAccessInfoList.findIndex(items => {
|
||||||
return items.id == item.id
|
return items.id == item.id
|
||||||
})
|
})
|
||||||
if(addList > -1){
|
if(addList > -1){
|
||||||
this.$message.warning('请勿添加重复数据')
|
this.$message.warning('请勿添加重复数据')
|
||||||
this.$refs.accessTypeSelect.clearSelection()
|
// this.$refs.accessTypeSelect.clearSelection()
|
||||||
this.$refs.entryTable.clearSelection()
|
this.$refs.entryTable.clearSelection()
|
||||||
this.$refs.searchTable.clearSelection()
|
this.$refs.searchTable.clearSelection()
|
||||||
} else{
|
} else{
|
||||||
this.sarAccessInfoList.push(item)
|
this.sarAccessInfoList.push(item)
|
||||||
this.$refs.accessTypeSelect.clearSelection()
|
// this.$refs.accessTypeSelect.clearSelection()
|
||||||
this.$refs.entryTable.clearSelection()
|
this.$refs.entryTable.clearSelection()
|
||||||
this.$refs.searchTable.clearSelection()
|
this.$refs.searchTable.clearSelection()
|
||||||
}
|
}
|
||||||
@@ -1163,6 +1179,22 @@ export default {
|
|||||||
this.$set(this.sarAccessInfoList, index, i)
|
this.$set(this.sarAccessInfoList, index, i)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
// 编辑按钮
|
||||||
|
editTghisRow(row) {
|
||||||
|
this.rowList = row
|
||||||
|
this.editRowData = this.rowList
|
||||||
|
this.editRowData.standNumber = this.rowList.standNumber
|
||||||
|
this.drawerEdit = true
|
||||||
|
},
|
||||||
|
// 抽屉取消按钮
|
||||||
|
cancelInfo() {
|
||||||
|
this.drawerEdit = false
|
||||||
|
},
|
||||||
|
// 抽屉提交按钮
|
||||||
|
saveInfo() {
|
||||||
|
this.rowList = this.editRowData
|
||||||
|
this.drawerEdit = false
|
||||||
|
},
|
||||||
// 点击清单条目导入按钮事件
|
// 点击清单条目导入按钮事件
|
||||||
importmodalFlags () {
|
importmodalFlags () {
|
||||||
this.importmodalFlag = true
|
this.importmodalFlag = true
|
||||||
@@ -1220,12 +1252,30 @@ export default {
|
|||||||
this.$refs['sarAccessForm'].validate((valid) => {
|
this.$refs['sarAccessForm'].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
let rowlist = []
|
let rowlist = []
|
||||||
|
let rowlist1 = []
|
||||||
|
let rowlist2 = []
|
||||||
|
let rowlist3 = []
|
||||||
for (let i = 0; i < this.sarAccessInfoList.length; i++) {
|
for (let i = 0; i < this.sarAccessInfoList.length; i++) {
|
||||||
rowlist.push(this.sarAccessInfoList[i].id)
|
rowlist.push(this.sarAccessInfoList[i].id)
|
||||||
|
if (this.sarAccessInfoList[i].putTime === null || this.sarAccessInfoList[i].zccssrqgj ===null || this.sarAccessInfoList[i].xcxssrqgj === null) {
|
||||||
|
rowlist1.push(this.sarAccessInfoList[i].putTime)
|
||||||
|
rowlist2.push(this.sarAccessInfoList[i].zccssrqgj)
|
||||||
|
rowlist3.push(this.sarAccessInfoList[i].xcxssrqgj)
|
||||||
|
}else {
|
||||||
|
rowlist1.push(this.sarAccessInfoList[i].putTime.toString())
|
||||||
|
rowlist2.push(this.sarAccessInfoList[i].zccssrqgj.toString())
|
||||||
|
rowlist3.push(this.sarAccessInfoList[i].xcxssrqgj.toString())
|
||||||
|
}
|
||||||
}
|
}
|
||||||
rowlist = rowlist.join(',')
|
rowlist = rowlist.join(',')
|
||||||
|
rowlist1 = rowlist1.join(',')
|
||||||
|
rowlist2 = rowlist2.join(',')
|
||||||
|
rowlist3 = rowlist3.join(',')
|
||||||
let sarAccessEO = JSON.parse(JSON.stringify(this.sarAccessEO))
|
let sarAccessEO = JSON.parse(JSON.stringify(this.sarAccessEO))
|
||||||
sarAccessEO.inforlist = JSON.stringify(rowlist)
|
sarAccessEO.inforlist = JSON.stringify(rowlist)
|
||||||
|
sarAccessEO.inforlist1 = JSON.stringify(rowlist1)
|
||||||
|
sarAccessEO.inforlist2 = JSON.stringify(rowlist2)
|
||||||
|
sarAccessEO.inforlist3 = JSON.stringify(rowlist3)
|
||||||
// sarAccessEO.countryArea = sarAccessEO.countryArea.join(',')
|
// sarAccessEO.countryArea = sarAccessEO.countryArea.join(',')
|
||||||
// sarAccessEO.applicationScope = sarAccessEO.applicationScope.join(',')
|
// sarAccessEO.applicationScope = sarAccessEO.applicationScope.join(',')
|
||||||
// 判断是否有附件
|
// 判断是否有附件
|
||||||
@@ -1244,12 +1294,16 @@ export default {
|
|||||||
_this: this,
|
_this: this,
|
||||||
loading: 'loadData'
|
loading: 'loadData'
|
||||||
}, res => {
|
}, res => {
|
||||||
if (res.ok) {
|
if (this.sarAccessInfoList.length !== 0) {
|
||||||
this.$message.success('新增成功')
|
if (res.ok) {
|
||||||
this.isNext = true
|
this.$message.success('新增成功')
|
||||||
this.$router.push({
|
this.isNext = true
|
||||||
name: 'AccessStandardsAndRegulations'
|
this.$router.push({
|
||||||
})
|
name: 'AccessStandardsAndRegulations'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
}else {
|
||||||
|
this.$message.error('请选中需要添加到 清单条目 的(标准号/政策编号)')
|
||||||
}
|
}
|
||||||
}, e => {
|
}, e => {
|
||||||
})
|
})
|
||||||
@@ -1276,9 +1330,13 @@ export default {
|
|||||||
},
|
},
|
||||||
// 查询数据搜索 table 数据
|
// 查询数据搜索 table 数据
|
||||||
selectLawsStands () {
|
selectLawsStands () {
|
||||||
this.$http.get('sarStandardsInfo/sar-standards-info/getSarStandardsInfoPage', this.sarAccessInfoSearch, {
|
if (this.sarAccessInfoSearch.dataSource === 'INLAND_STAND') {
|
||||||
_this: this
|
this.sarAccessInfoSearch.dataSource = 'INLAND_STAND'
|
||||||
}, res =>{
|
this.sarAccessInfoSearch.standType = ''
|
||||||
|
} else {
|
||||||
|
this.sarAccessInfoSearch.standType = 'FOREIGN'
|
||||||
|
}
|
||||||
|
StandardsInfoPage(this.sarAccessInfoSearch, this.sarAccessInfo).then(res =>{
|
||||||
this.sarAccessInfoSearchList = res.data.list
|
this.sarAccessInfoSearchList = res.data.list
|
||||||
this.sarAccessInfoSearchList.forEach(item => {
|
this.sarAccessInfoSearchList.forEach(item => {
|
||||||
if (item.standYear === null) {
|
if (item.standYear === null) {
|
||||||
@@ -1286,10 +1344,75 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
item.standNumber = item.standSortShow + ' ' + item.standNumber + '-' + item.standYear
|
item.standNumber = item.standSortShow + ' ' + item.standNumber + '-' + item.standYear
|
||||||
}
|
}
|
||||||
|
if (item.attrInfoMap === null) {
|
||||||
|
this.$set(item, 'zccssrqgj', '')
|
||||||
|
this.$set(item, 'xcxssrqgj', '')
|
||||||
|
this.$set(item, 'sycpx', '')
|
||||||
|
this.$set(item, 'typeApplicable', '')
|
||||||
|
this.$set(item, 'nylx', '')
|
||||||
|
this.$set(item, 'zrbm', '')
|
||||||
|
this.$set(item, 'cycvppsbm', '')
|
||||||
|
this.$set(item, 'cycvppscn', '')
|
||||||
|
this.$set(item, 'kccvppsbm', '')
|
||||||
|
this.$set(item, 'kccvppscn', '')
|
||||||
|
}else {
|
||||||
|
this.$set(item, 'zccssrqgj', item.attrInfoMap.ZCCSSRQGJ)
|
||||||
|
this.$set(item, 'xcxssrqgj', item.attrInfoMap.XCXSSRQGJ)
|
||||||
|
this.$set(item, 'sycpx', item.attrInfoMap.SYCPX)
|
||||||
|
this.$set(item, 'typeApplicable', item.attrInfoMap.CLLX)
|
||||||
|
this.$set(item, 'nylx', item.attrInfoMap.NYLX)
|
||||||
|
this.$set(item, 'zrbm', item.attrInfoMap.ZRBM)
|
||||||
|
this.$set(item, 'cycvppsbm', item.attrInfoMap.CYCVPPSBM)
|
||||||
|
this.$set(item, 'cycvppscn', item.attrInfoMap.CYCVPPSCN)
|
||||||
|
this.$set(item, 'kccvppsbm', item.attrInfoMap.KCCVPPSBM)
|
||||||
|
this.$set(item, 'kccvppscn', item.attrInfoMap.KCCVPPSCN)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
this.drawerTotal = res.data.count
|
||||||
|
}, e => {
|
||||||
|
})
|
||||||
|
},
|
||||||
|
/** 高级查询查询按钮*/
|
||||||
|
selectBtn() {
|
||||||
|
if (this.sarAccessInfoSearch.dataSource === 'INLAND_STAND') {
|
||||||
|
this.sarAccessInfoSearch.dataSource = 'INLAND_STAND'
|
||||||
|
} else {
|
||||||
|
this.sarAccessInfoSearch.standType = 'FOREIGN'
|
||||||
|
}
|
||||||
|
StandardsInfoPage(this.sarAccessInfo).then(res =>{
|
||||||
|
this.sarAccessInfoSearchList = res.data.list
|
||||||
|
this.sarAccessInfoSearchList.forEach(item => {
|
||||||
|
if (item.standYear === null) {
|
||||||
|
item.standNumber = item.standSortShow + ' ' + item.standNumber
|
||||||
|
} else {
|
||||||
|
item.standNumber = item.standSortShow + ' ' + item.standNumber + '-' + item.standYear
|
||||||
|
}
|
||||||
|
if (item.attrInfoMap === null) {
|
||||||
|
this.$set(item, 'zccssrqgj', '')
|
||||||
|
this.$set(item, 'xcxssrqgj', '')
|
||||||
|
this.$set(item, 'sycpx', '')
|
||||||
|
this.$set(item, 'typeApplicable', '')
|
||||||
|
this.$set(item, 'nylx', '')
|
||||||
|
this.$set(item, 'zrbm', '')
|
||||||
|
this.$set(item, 'cycvppsbm', '')
|
||||||
|
this.$set(item, 'cycvppscn', '')
|
||||||
|
this.$set(item, 'kccvppsbm', '')
|
||||||
|
this.$set(item, 'kccvppscn', '')
|
||||||
|
}else {
|
||||||
|
this.$set(item, 'zccssrqgj', item.attrInfoMap.ZCCSSRQGJ)
|
||||||
|
this.$set(item, 'xcxssrqgj', item.attrInfoMap.XCXSSRQGJ)
|
||||||
|
this.$set(item, 'sycpx', item.attrInfoMap.SYCPX)
|
||||||
|
this.$set(item, 'typeApplicable', item.attrInfoMap.CLLX)
|
||||||
|
this.$set(item, 'nylx', item.attrInfoMap.NYLX)
|
||||||
|
this.$set(item, 'zrbm', item.attrInfoMap.ZRBM)
|
||||||
|
this.$set(item, 'cycvppsbm', item.attrInfoMap.CYCVPPSBM)
|
||||||
|
this.$set(item, 'cycvppscn', item.attrInfoMap.CYCVPPSCN)
|
||||||
|
this.$set(item, 'kccvppsbm', item.attrInfoMap.KCCVPPSBM)
|
||||||
|
this.$set(item, 'kccvppscn', item.attrInfoMap.KCCVPPSCN)
|
||||||
|
}
|
||||||
})
|
})
|
||||||
this.drawerTotal = res.data.list.length
|
this.drawerTotal = res.data.list.length
|
||||||
}, e => {
|
}, e => {
|
||||||
|
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 数据搜索table判断checked状态
|
// 数据搜索table判断checked状态
|
||||||
@@ -1300,16 +1423,29 @@ export default {
|
|||||||
sarAccessInfoSearchSelect (val) {
|
sarAccessInfoSearchSelect (val) {
|
||||||
this.selectedAccInfoSearchList = val
|
this.selectedAccInfoSearchList = val
|
||||||
this.selectedAccInfoSearchList.forEach(item => {
|
this.selectedAccInfoSearchList.forEach(item => {
|
||||||
this.$set(item, 'zccssrqgj', item.attrInfoMap.ZCCSSRQGJ)
|
if (item.attrInfoMap === null) {
|
||||||
this.$set(item, 'xcxssrqgj', item.attrInfoMap.XCXSSRQGJ)
|
this.$set(item, 'zccssrqgj', '')
|
||||||
this.$set(item, 'sycpx', item.attrInfoMap.SYCPX)
|
this.$set(item, 'xcxssrqgj', '')
|
||||||
this.$set(item, 'typeApplicable', item.attrInfoMap.CLLX)
|
this.$set(item, 'sycpx', '')
|
||||||
this.$set(item, 'nylx', item.attrInfoMap.NYLX)
|
this.$set(item, 'typeApplicable', '')
|
||||||
this.$set(item, 'zrbm', item.attrInfoMap.ZRBM)
|
this.$set(item, 'nylx', '')
|
||||||
this.$set(item, 'cycvppsbm', item.attrInfoMap.CYCVPPSBM)
|
this.$set(item, 'zrbm', '')
|
||||||
this.$set(item, 'cycvppscn', item.attrInfoMap.CYCVPPSCN)
|
this.$set(item, 'cycvppsbm', '')
|
||||||
this.$set(item, 'kccvppsbm', item.attrInfoMap.KCCVPPSBM)
|
this.$set(item, 'cycvppscn', '')
|
||||||
this.$set(item, 'kccvppscn', item.attrInfoMap.KCCVPPSCN)
|
this.$set(item, 'kccvppsbm', '')
|
||||||
|
this.$set(item, 'kccvppscn', '')
|
||||||
|
}else {
|
||||||
|
this.$set(item, 'zccssrqgj', item.attrInfoMap.ZCCSSRQGJ)
|
||||||
|
this.$set(item, 'xcxssrqgj', item.attrInfoMap.XCXSSRQGJ)
|
||||||
|
this.$set(item, 'sycpx', item.attrInfoMap.SYCPX)
|
||||||
|
this.$set(item, 'typeApplicable', item.attrInfoMap.CLLX)
|
||||||
|
this.$set(item, 'nylx', item.attrInfoMap.NYLX)
|
||||||
|
this.$set(item, 'zrbm', item.attrInfoMap.ZRBM)
|
||||||
|
this.$set(item, 'cycvppsbm', item.attrInfoMap.CYCVPPSBM)
|
||||||
|
this.$set(item, 'cycvppscn', item.attrInfoMap.CYCVPPSCN)
|
||||||
|
this.$set(item, 'kccvppsbm', item.attrInfoMap.KCCVPPSBM)
|
||||||
|
this.$set(item, 'kccvppscn', item.attrInfoMap.KCCVPPSCN)
|
||||||
|
}
|
||||||
})
|
})
|
||||||
this.selectedAccInfoSearchList.forEach(item => {
|
this.selectedAccInfoSearchList.forEach(item => {
|
||||||
// 责任部门转换
|
// 责任部门转换
|
||||||
@@ -1710,13 +1846,13 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 点击查看
|
// 点击查看
|
||||||
handlePreview (item) {
|
handlePreview (data) {
|
||||||
let routerName = item.sarType === 'FOREIGN_LAWS' ? 'OtherLawsDetails' : 'OtherStandardDetails'
|
let routerName = data.standType === 'FOREIGN_LAWS' ? 'OtherLawsDetails' : 'OtherStandardDetails'
|
||||||
let routeUrl = this.$router.resolve({
|
let routeUrl = this.$router.resolve({
|
||||||
name: routerName,
|
name: routerName,
|
||||||
params: {
|
params: {
|
||||||
id: item.resId,
|
id: data.id,
|
||||||
pageType: item.sarType
|
pageType: this.sarAccessInfoSearch.dataSource
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
window.open(routeUrl.href, '_blank')
|
window.open(routeUrl.href, '_blank')
|
||||||
@@ -1827,16 +1963,29 @@ export default {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
this.sarAccessInfoSearchList.forEach(item => {
|
this.sarAccessInfoSearchList.forEach(item => {
|
||||||
this.$set(item, 'zccssrqgj', item.attrInfoMap.ZCCSSRQGJ)
|
if (item.attrInfoMap === null) {
|
||||||
this.$set(item, 'xcxssrqgj', item.attrInfoMap.XCXSSRQGJ)
|
this.$set(item, 'zccssrqgj', '')
|
||||||
this.$set(item, 'sycpx', item.attrInfoMap.SYCPX)
|
this.$set(item, 'xcxssrqgj', '')
|
||||||
this.$set(item, 'typeApplicable', item.attrInfoMap.CLLX)
|
this.$set(item, 'sycpx', '')
|
||||||
this.$set(item, 'nylx', item.attrInfoMap.NYLX)
|
this.$set(item, 'typeApplicable', '')
|
||||||
this.$set(item, 'zrbm', item.attrInfoMap.ZRBM)
|
this.$set(item, 'nylx', '')
|
||||||
this.$set(item, 'cycvppsbm', item.attrInfoMap.CYCVPPSBM)
|
this.$set(item, 'zrbm', '')
|
||||||
this.$set(item, 'cycvppscn', item.attrInfoMap.CYCVPPSCN)
|
this.$set(item, 'cycvppsbm', '')
|
||||||
this.$set(item, 'kccvppsbm', item.attrInfoMap.KCCVPPSBM)
|
this.$set(item, 'cycvppscn', '')
|
||||||
this.$set(item, 'kccvppscn', item.attrInfoMap.KCCVPPSCN)
|
this.$set(item, 'kccvppsbm', '')
|
||||||
|
this.$set(item, 'kccvppscn', '')
|
||||||
|
}else {
|
||||||
|
this.$set(item, 'zccssrqgj', item.attrInfoMap.ZCCSSRQGJ)
|
||||||
|
this.$set(item, 'xcxssrqgj', item.attrInfoMap.XCXSSRQGJ)
|
||||||
|
this.$set(item, 'sycpx', item.attrInfoMap.SYCPX)
|
||||||
|
this.$set(item, 'typeApplicable', item.attrInfoMap.CLLX)
|
||||||
|
this.$set(item, 'nylx', item.attrInfoMap.NYLX)
|
||||||
|
this.$set(item, 'zrbm', item.attrInfoMap.ZRBM)
|
||||||
|
this.$set(item, 'cycvppsbm', item.attrInfoMap.CYCVPPSBM)
|
||||||
|
this.$set(item, 'cycvppscn', item.attrInfoMap.CYCVPPSCN)
|
||||||
|
this.$set(item, 'kccvppsbm', item.attrInfoMap.KCCVPPSBM)
|
||||||
|
this.$set(item, 'kccvppscn', item.attrInfoMap.KCCVPPSCN)
|
||||||
|
}
|
||||||
})
|
})
|
||||||
}, e => {
|
}, e => {
|
||||||
|
|
||||||
@@ -1987,6 +2136,12 @@ export default {
|
|||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.labelBox {
|
||||||
|
/deep/ .el-form-item__label {
|
||||||
|
padding-right: 5px;
|
||||||
|
padding-left: 10px;
|
||||||
|
}
|
||||||
|
}
|
||||||
.un-select {
|
.un-select {
|
||||||
user-select: none;
|
user-select: none;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -10,7 +10,9 @@
|
|||||||
<el-tree
|
<el-tree
|
||||||
ref="tree"
|
ref="tree"
|
||||||
node-key="id"
|
node-key="id"
|
||||||
class="filter-tree"
|
class="tree-line"
|
||||||
|
icon-class="icon-tree"
|
||||||
|
:indent="0"
|
||||||
:props="props"
|
:props="props"
|
||||||
:data="treeList"
|
:data="treeList"
|
||||||
highlight-current
|
highlight-current
|
||||||
@@ -19,7 +21,7 @@
|
|||||||
default-expand-all
|
default-expand-all
|
||||||
:expand-on-click-node="false">
|
:expand-on-click-node="false">
|
||||||
<span class="custom-tree-node" slot-scope="{ node, data }" @mouseenter="mouseenter(data)" @mouseleave="mouseleave(data)">
|
<span class="custom-tree-node" slot-scope="{ node, data }" @mouseenter="mouseenter(data)" @mouseleave="mouseleave(data)">
|
||||||
<span> {{ node.label}} </span>
|
<span :class="data.children.length !== 0 ? 'is-show' : 'is-leaf-none'"></span> <span> {{ node.label}} </span>
|
||||||
<span>
|
<span>
|
||||||
<el-button
|
<el-button
|
||||||
type="text"
|
type="text"
|
||||||
@@ -188,22 +190,21 @@
|
|||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="xcxssrq"
|
prop="XCXSSRQ"
|
||||||
sortable="custom"
|
sortable="custom"
|
||||||
width="150px"
|
width="150px"
|
||||||
label="新车型实施日期">
|
label="新车型实施日期">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ formatText(scope.row.XCXSSRQ) }}</span>
|
<span>{{ scope.row.XCXSSRQ ? scope.row.XCXSSRQ.substring(0,10) : '-' }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="zccssrq"
|
prop="ZCCSSRQ"
|
||||||
sortable="custom"
|
sortable="custom"
|
||||||
width="150px"
|
width="150px"
|
||||||
label="在产车实施日期">
|
label="在产车实施日期">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ formatText(scope.row.ZCCSSRQ) }}</span>
|
<span>{{ scope.row.ZCCSSRQ ? scope.row.ZCCSSRQ.substring(0,10) : '-' }}</span>
|
||||||
|
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
@@ -440,7 +441,7 @@
|
|||||||
></custom-date-pick-group>
|
></custom-date-pick-group>
|
||||||
</template>
|
</template>
|
||||||
<template v-else-if="field.attrType === 'INPUT_STR' && field.attrField !== 'XGLC' && field.attrField !== 'CHJL'">
|
<template v-else-if="field.attrType === 'INPUT_STR' && field.attrField !== 'XGLC' && field.attrField !== 'CHJL'">
|
||||||
<template v-if="field.attrField === 'DTBJH' || field.attrField === 'YYBJ' || field.attrField === 'BYYBJ' || field.attrField === 'CBBH'">
|
<template v-if="field.attrField === 'DTBJH' || field.attrField === 'YYBJ' || field.attrField === 'CBBH' || field.attrField === 'BFDTBZ'">
|
||||||
<custom-input-for-standards
|
<custom-input-for-standards
|
||||||
:key="field.attrField"
|
:key="field.attrField"
|
||||||
:config="field"
|
:config="field"
|
||||||
@@ -503,6 +504,14 @@
|
|||||||
></el-input>
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</template>
|
</template>
|
||||||
|
<template v-else-if="field.attrField === 'BBFDTBZ' || field.attrField === 'BYYBJ'">
|
||||||
|
<custom-input
|
||||||
|
:key="field.attrField"
|
||||||
|
:config="field"
|
||||||
|
v-model="sarStandardsInfoEO[field.attrField]"
|
||||||
|
:disabled="true"
|
||||||
|
></custom-input>
|
||||||
|
</template>
|
||||||
<template v-else>
|
<template v-else>
|
||||||
<custom-input
|
<custom-input
|
||||||
:key="field.attrField"
|
:key="field.attrField"
|
||||||
@@ -2516,7 +2525,6 @@ export default {
|
|||||||
console.log(item, 'itemitemitemitem')
|
console.log(item, 'itemitemitemitem')
|
||||||
const formFieldList = this.formFieldList
|
const formFieldList = this.formFieldList
|
||||||
this.sarStandardsInfoEO = JSON.parse(JSON.stringify(item))
|
this.sarStandardsInfoEO = JSON.parse(JSON.stringify(item))
|
||||||
console.log(item.attrInfoCaseMap, 'gggg大大大滴滴答答')
|
|
||||||
if(this.sarStandardsInfoEO.standSystem){
|
if(this.sarStandardsInfoEO.standSystem){
|
||||||
this.defaultCheckedKeys = [this.sarStandardsInfoEO.standSystem];
|
this.defaultCheckedKeys = [this.sarStandardsInfoEO.standSystem];
|
||||||
}
|
}
|
||||||
@@ -2679,10 +2687,11 @@ export default {
|
|||||||
},
|
},
|
||||||
// 树节点鼠标移入移出
|
// 树节点鼠标移入移出
|
||||||
mouseenter(data){
|
mouseenter(data){
|
||||||
console.log(data)
|
if(data.menuName !== '我的收藏'){
|
||||||
this.$set(data, 'show', true)
|
this.$set(data, 'show', true)
|
||||||
if(data.parentId !== null){
|
if(data.parentId !== null){
|
||||||
this.$set(data, 'showDel', true)
|
this.$set(data, 'showDel', true)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mouseleave(data){
|
mouseleave(data){
|
||||||
@@ -3362,8 +3371,8 @@ export default {
|
|||||||
this.isSubmit = false
|
this.isSubmit = false
|
||||||
if (res.ok) {
|
if (res.ok) {
|
||||||
this.personCollect.collectType = 'INLAND_STAND'
|
this.personCollect.collectType = 'INLAND_STAND'
|
||||||
this.personCollect.id = this.id
|
this.personCollect.id = this.collectId
|
||||||
this.personCollect.collectResId = this.collectId
|
this.personCollect.collectResId = this.id
|
||||||
this.personCollect.collectTitle = this.sarStandardsInfoEO.standName + '(编号:'+this.sarStandardsInfoEO.standSort + this.sarStandardsInfoEO.standNumber + this.sarStandardsInfoEO.standYear +')'
|
this.personCollect.collectTitle = this.sarStandardsInfoEO.standName + '(编号:'+this.sarStandardsInfoEO.standSort + this.sarStandardsInfoEO.standNumber + this.sarStandardsInfoEO.standYear +')'
|
||||||
this.personCollect.userId = this.$store.getters.userInfo.userId
|
this.personCollect.userId = this.$store.getters.userInfo.userId
|
||||||
this.$http.putData('person/personCollect/updatePersonCollect', this.personCollect, {
|
this.$http.putData('person/personCollect/updatePersonCollect', this.personCollect, {
|
||||||
@@ -3431,8 +3440,9 @@ export default {
|
|||||||
formData.nowOrder = this.nowOrder
|
formData.nowOrder = this.nowOrder
|
||||||
formData.nowOrderBy = this.nowOrderBy
|
formData.nowOrderBy = this.nowOrderBy
|
||||||
// formData.orderBy = this.orderBy
|
// formData.orderBy = this.orderBy
|
||||||
|
console.log(this.selectSarMenu.id)
|
||||||
// 处理我的收藏和个性化标签传参
|
// 处理我的收藏和个性化标签传参
|
||||||
if (this.selectSarMenu.id === 'wdsc') {
|
if (this.selectSarMenu.menuName === '我的收藏') {
|
||||||
formData.menuId = undefined
|
formData.menuId = undefined
|
||||||
formData.labelMenuId = undefined
|
formData.labelMenuId = undefined
|
||||||
formData.collectMenuId = 'wdsc'
|
formData.collectMenuId = 'wdsc'
|
||||||
@@ -3472,6 +3482,7 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
this.stahndinfoList = res.data.list
|
this.stahndinfoList = res.data.list
|
||||||
|
console.log(this.stahndinfoList)
|
||||||
this.total = res.data.count
|
this.total = res.data.count
|
||||||
if ((this.stahndinfoList.length === 0 || this.stahndinfoList === []) && this.sarStandardsSearch.page !== 1) {
|
if ((this.stahndinfoList.length === 0 || this.stahndinfoList === []) && this.sarStandardsSearch.page !== 1) {
|
||||||
this.pageChange(1)
|
this.pageChange(1)
|
||||||
@@ -4722,6 +4733,93 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
<style lang="less" scoped>
|
||||||
|
/deep/ .icon-tree {
|
||||||
|
margin:0 5px 0 10px;
|
||||||
|
position:relative;
|
||||||
|
background:url('~@/assets/images/shangqi/img/tree-add.png');
|
||||||
|
background-size:100% 100%;
|
||||||
|
}
|
||||||
|
/deep/ .expanded{
|
||||||
|
background:url('~@/assets/images/shangqi/img/tree-sub.png');
|
||||||
|
background-size:100% 100%;
|
||||||
|
}
|
||||||
|
/deep/ .is-leaf{
|
||||||
|
background-image:none;
|
||||||
|
background-size:100% 100%;
|
||||||
|
}
|
||||||
|
/deep/ .is-leaf-none{
|
||||||
|
position: relative;
|
||||||
|
display: inline-block;
|
||||||
|
width: 15px;
|
||||||
|
height: 15px;
|
||||||
|
background:url('~@/assets/images/shangqi/img/none-file.png');
|
||||||
|
background-size:100% 100%;
|
||||||
|
}
|
||||||
|
/deep/ .is-show{
|
||||||
|
position: relative;
|
||||||
|
display: inline-block;
|
||||||
|
width: 15px;
|
||||||
|
height: 15px;
|
||||||
|
background:url('~@/assets/images/shangqi/img/tree.png');
|
||||||
|
background-size:100% 100%;
|
||||||
|
}
|
||||||
|
/deep/.tree-line{
|
||||||
|
.el-tree-node {
|
||||||
|
position: relative;
|
||||||
|
padding-left: 0px; // 缩进量
|
||||||
|
}
|
||||||
|
.el-tree-node__children {
|
||||||
|
padding-left: 16px; // 缩进量
|
||||||
|
}
|
||||||
|
|
||||||
|
// 竖线
|
||||||
|
.el-tree-node::before {
|
||||||
|
content: "";
|
||||||
|
height: 100%;
|
||||||
|
width: 1px;
|
||||||
|
position: absolute;
|
||||||
|
left: -3px;
|
||||||
|
top: -26px;
|
||||||
|
border-width: 1px;
|
||||||
|
border-left: 1px dashed #858990e0;
|
||||||
|
}
|
||||||
|
// 当前层最后一个节点的竖线高度固定
|
||||||
|
.el-tree-node:last-child::before {
|
||||||
|
height: 38px; // 可以自己调节到合适数值
|
||||||
|
}
|
||||||
|
|
||||||
|
// 横线
|
||||||
|
.el-tree-node::after {
|
||||||
|
content: "";
|
||||||
|
width: 11px;
|
||||||
|
height: 20px;
|
||||||
|
position: absolute;
|
||||||
|
left: -3px;
|
||||||
|
top: 12px;
|
||||||
|
border-width: 1px;
|
||||||
|
border-top: 1px dashed #858990e0;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 去掉最顶层的虚线,放最下面样式才不会被上面的覆盖了
|
||||||
|
& > .el-tree-node::after {
|
||||||
|
border-top: none;
|
||||||
|
}
|
||||||
|
& > .el-tree-node::before {
|
||||||
|
border-left: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 展开关闭的icon
|
||||||
|
.el-tree-node__expand-icon{
|
||||||
|
font-size: 16px;
|
||||||
|
// 叶子节点(无子节点)
|
||||||
|
&.is-leaf{
|
||||||
|
color: transparent;
|
||||||
|
// display: none; // 也可以去掉
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
<style lang="less" scoped>
|
<style lang="less" scoped>
|
||||||
@import '~@/assets/styles/mixins';
|
@import '~@/assets/styles/mixins';
|
||||||
|
|||||||
@@ -10,7 +10,9 @@
|
|||||||
<el-tree
|
<el-tree
|
||||||
ref="tree"
|
ref="tree"
|
||||||
node-key="id"
|
node-key="id"
|
||||||
class="filter-tree"
|
class="tree-line"
|
||||||
|
icon-class="icon-tree"
|
||||||
|
:indent="0"
|
||||||
:props="props"
|
:props="props"
|
||||||
:data="treeList"
|
:data="treeList"
|
||||||
highlight-current
|
highlight-current
|
||||||
@@ -19,7 +21,7 @@
|
|||||||
default-expand-all
|
default-expand-all
|
||||||
:expand-on-click-node="false">
|
:expand-on-click-node="false">
|
||||||
<span class="custom-tree-node" slot-scope="{ node, data }" @mouseenter="mouseenter(data)" @mouseleave="mouseleave(data)">
|
<span class="custom-tree-node" slot-scope="{ node, data }" @mouseenter="mouseenter(data)" @mouseleave="mouseleave(data)">
|
||||||
<span> {{ node.label}} </span>
|
<span :class="data.children.length !== 0 ? 'is-show' : 'is-leaf-none'"></span> <span> {{ node.label}} </span>
|
||||||
<span>
|
<span>
|
||||||
<el-button
|
<el-button
|
||||||
type="text"
|
type="text"
|
||||||
@@ -184,21 +186,21 @@
|
|||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="XCXSSRQ"
|
prop="XCXSSRQ"
|
||||||
sortable="custom"
|
sortable="custom"
|
||||||
width="150px"
|
width="150px"
|
||||||
label="新车型实施日期">
|
label="新车型实施日期">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ formatText(scope.row.XCXSSRQ) }}</span>
|
<span>{{ scope.row.XCXSSRQ ? scope.row.XCXSSRQ.substring(0,10) : '-' }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="ZCCSSRQ"
|
prop="ZCCSSRQ"
|
||||||
sortable="custom"
|
sortable="custom"
|
||||||
width="150px"
|
width="150px"
|
||||||
label="在产车实施日期">
|
label="在产车实施日期">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ formatText(scope.row.ZCCSSRQ) }}</span>
|
<span>{{ scope.row.ZCCSSRQ ? scope.row.ZCCSSRQ.substring(0,10) : '-' }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
@@ -261,9 +263,73 @@
|
|||||||
<el-button type="primary" size="mini" class="common-button-primary" icon="el-icon-check" @click="exportTestItem">提交</el-button>
|
<el-button type="primary" size="mini" class="common-button-primary" icon="el-icon-check" @click="exportTestItem">提交</el-button>
|
||||||
</span>
|
</span>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
<table-tools-bar v-model="isAdvancedSearch" @search="getDomesticStandardTableBtn(sarStandardsSearch)"
|
<!-- <table-tools-bar v-model="isAdvancedSearch" @search="getDomesticStandardTableBtn(sarStandardsSearch)"-->
|
||||||
@reset="clearAllSearch('sarStandardsSearch')">
|
<!-- @reset="clearAllSearch('sarStandardsSearch')">-->
|
||||||
<div slot="content">
|
<!-- <div slot="content">-->
|
||||||
|
<!-- <el-form :model="sarStandardsSearch" :inline="true" class="label-input-form table-lattice" style="display: flex;flex-wrap: wrap">-->
|
||||||
|
<!-- <!– 标准号–>-->
|
||||||
|
<!-- <el-form-item :label="$t('m.standardNo')" class="serch-form-item">-->
|
||||||
|
<!-- <el-input v-model="sarStandardsSearch.standNumber" :placeholder="$t('m.lookUpByStandardNumber')" clearable :maxlength="100"-->
|
||||||
|
<!-- @keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)"></el-input>-->
|
||||||
|
<!-- </el-form-item>-->
|
||||||
|
<!-- <!– 标准名称–>-->
|
||||||
|
<!-- <el-form-item :label="$t('m.standName')" class="serch-form-item">-->
|
||||||
|
<!-- <el-input v-model="sarStandardsSearch.standName" :placeholder="$t('m.searchByStandardName')" clearable :maxlength="500"-->
|
||||||
|
<!-- @keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)"></el-input>-->
|
||||||
|
<!-- </el-form-item>-->
|
||||||
|
<!-- <!– 标准类别–>-->
|
||||||
|
<!-- <el-form-item :label="$t('m.standardCategory')" class="serch-form-item">-->
|
||||||
|
<!-- <search-select-->
|
||||||
|
<!-- v-model="sarStandardsSearch.standSort"-->
|
||||||
|
<!-- :placeholder="$t('m.standardCategoryTips')"-->
|
||||||
|
<!-- @keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)"-->
|
||||||
|
<!-- :options="standSortOptions"-->
|
||||||
|
<!-- clearable/>-->
|
||||||
|
<!-- </el-form-item>-->
|
||||||
|
<!-- <!– 文本状态–>-->
|
||||||
|
<!-- <el-form-item :label="$t('m.standStateShow')" class="serch-form-item">-->
|
||||||
|
<!-- <el-select v-model="sarStandardsSearch.textStatus" :placeholder="$t('m.lookupByStandardStatus')" clearable-->
|
||||||
|
<!-- @keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">-->
|
||||||
|
<!-- <el-option v-for="opt in standStateOptions" :value="opt.value === undefined ? '' :opt.value" :key="opt.value" :label="opt.label">{{ opt.label}}</el-option>-->
|
||||||
|
<!-- </el-select>-->
|
||||||
|
<!-- </el-form-item>-->
|
||||||
|
<!-- <!– 代替标准号–>-->
|
||||||
|
<!-- <el-form-item :label="$t('m.substituteStandardNumber')" class="serch-form-item">-->
|
||||||
|
<!-- <el-input v-model="sarStandardsSearch.dtbjh" :placeholder="$t('m.lookUpByAlternativeCriteria')" clearable :maxlength="100"-->
|
||||||
|
<!-- @keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)"></el-input>-->
|
||||||
|
<!-- </el-form-item>-->
|
||||||
|
<!-- <!– 适用车型–>-->
|
||||||
|
<!-- <el-form-item :label="$t('m.applicableModels')" class="serch-form-item">-->
|
||||||
|
<!-- <el-select v-model="sarStandardsSearch.cllx" :placeholder="$t('m.searchAccordingToThApplicableModel')" clearable-->
|
||||||
|
<!-- @keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">-->
|
||||||
|
<!-- <el-option v-for="opt in applyArcticOptions" :value="opt.value === undefined ? '' :opt.value" :key="opt.value" :label="opt.label">{{ opt.label}}</el-option>-->
|
||||||
|
<!-- </el-select>-->
|
||||||
|
<!-- </el-form-item>-->
|
||||||
|
<!-- <!– 适用产品线(新增字段)–>-->
|
||||||
|
<!-- <el-form-item :label="$t('m.applicableProductLine')" class="serch-form-item">-->
|
||||||
|
<!-- <el-select v-model="sarStandardsSearch.nylx" :placeholder="$t('m.searchByApplicableProductLine')" clearable-->
|
||||||
|
<!-- @keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">-->
|
||||||
|
<!-- <el-option v-for="opt in categoryOptions" :value="opt.value === undefined ? '' :opt.value" :key="opt.value" :label="opt.label">{{ opt.label}}</el-option>-->
|
||||||
|
<!-- </el-select>-->
|
||||||
|
<!-- </el-form-item>-->
|
||||||
|
<!-- <!– 关联模块(新增字段)–>-->
|
||||||
|
<!-- <el-form-item :label="$t('m.associatedModule')" class="serch-form-item">-->
|
||||||
|
<!-- <el-select v-model="sarStandardsSearch.cycvppsbm" :placeholder="$t('m.SearchByAssociatedModule')" clearable-->
|
||||||
|
<!-- @keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">-->
|
||||||
|
<!-- <el-option v-for="opt in standNatureOptions" :value="opt.value === undefined ? '' :opt.value" :key="opt.value" :label="opt.label">{{ opt.label}}-->
|
||||||
|
<!-- </el-option>-->
|
||||||
|
<!-- </el-select>-->
|
||||||
|
<!-- </el-form-item>-->
|
||||||
|
<!-- </el-form>-->
|
||||||
|
<!-- </div>-->
|
||||||
|
<!-- </table-tools-bar>-->
|
||||||
|
<!-- 高级筛选-->
|
||||||
|
<el-drawer
|
||||||
|
title="高级搜索"
|
||||||
|
size="700px"
|
||||||
|
:wrapperClosable="false"
|
||||||
|
:visible.sync="isAdvancedSearch">
|
||||||
|
<div class="demo-drawer-content">
|
||||||
<el-form :model="sarStandardsSearch" :inline="true" class="label-input-form table-lattice" style="display: flex;flex-wrap: wrap">
|
<el-form :model="sarStandardsSearch" :inline="true" class="label-input-form table-lattice" style="display: flex;flex-wrap: wrap">
|
||||||
<!-- 标准号-->
|
<!-- 标准号-->
|
||||||
<el-form-item :label="$t('m.standardNo')" class="serch-form-item">
|
<el-form-item :label="$t('m.standardNo')" class="serch-form-item">
|
||||||
@@ -275,14 +341,19 @@
|
|||||||
<el-input v-model="sarStandardsSearch.standName" :placeholder="$t('m.searchByStandardName')" clearable :maxlength="500"
|
<el-input v-model="sarStandardsSearch.standName" :placeholder="$t('m.searchByStandardName')" clearable :maxlength="500"
|
||||||
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)"></el-input>
|
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)"></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
<!-- 标准英文名称-->
|
||||||
|
<el-form-item :label="$t('m.standardEnglishName')" class="serch-form-item">
|
||||||
|
<el-input v-model="sarStandardsSearch.standEnName" :placeholder="$t('m.searchAccordingToStandardEnglishName')" clearable :maxlength="500"
|
||||||
|
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)"></el-input>
|
||||||
|
</el-form-item>
|
||||||
<!-- 标准类别-->
|
<!-- 标准类别-->
|
||||||
<el-form-item :label="$t('m.standardCategory')" class="serch-form-item">
|
<el-form-item :label="$t('m.standardCategory')" class="serch-form-item">
|
||||||
<search-select
|
<search-select
|
||||||
v-model="sarStandardsSearch.standSort"
|
v-model="sarStandardsSearch.standSort"
|
||||||
:placeholder="$t('m.standardCategoryTips')"
|
:placeholder="$t('m.standardCategoryTips')"
|
||||||
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)"
|
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)"
|
||||||
:options="standSortOptions"
|
:options="standSortOptions"
|
||||||
clearable/>
|
clearable/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- 文本状态-->
|
<!-- 文本状态-->
|
||||||
<el-form-item :label="$t('m.standStateShow')" class="serch-form-item">
|
<el-form-item :label="$t('m.standStateShow')" class="serch-form-item">
|
||||||
@@ -296,20 +367,161 @@
|
|||||||
<el-input v-model="sarStandardsSearch.dtbjh" :placeholder="$t('m.lookUpByAlternativeCriteria')" clearable :maxlength="100"
|
<el-input v-model="sarStandardsSearch.dtbjh" :placeholder="$t('m.lookUpByAlternativeCriteria')" clearable :maxlength="100"
|
||||||
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)"></el-input>
|
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)"></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
<!-- 标准年份-->
|
||||||
|
<el-form-item :label="$t('m.standardYear')" class="serch-form-item">
|
||||||
|
<el-date-picker
|
||||||
|
v-model="sarStandardsSearch.standYear"
|
||||||
|
type="date"
|
||||||
|
placeholder="根据标准年份查找">
|
||||||
|
</el-date-picker>
|
||||||
|
</el-form-item>
|
||||||
|
<!-- 标准发布日期-->
|
||||||
|
<el-form-item label="标准发布日期" class="serch-form-item">
|
||||||
|
<el-date-picker
|
||||||
|
v-model="sarStandardsSearch.issueTime"
|
||||||
|
type="date"
|
||||||
|
placeholder="根据标准发布日期查找">
|
||||||
|
</el-date-picker>
|
||||||
|
</el-form-item>
|
||||||
|
<!-- 标准性质-->
|
||||||
|
<el-form-item :label="$t('m.standNatureShow')" class="serch-form-item">
|
||||||
|
<el-select v-model="sarStandardsSearch.standNature" placeholder="请选择标准性质" clearable
|
||||||
|
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">
|
||||||
|
<el-option v-for="opt in standNatureOptions" :value="opt.value === undefined ? '' :opt.value" :key="opt.value" :label="opt.label">{{ opt.label}}</el-option>
|
||||||
|
</el-select>
|
||||||
|
</el-form-item>
|
||||||
|
<!-- 是否纳入标准清单-->
|
||||||
|
<el-form-item title="是否纳入标准清单" label="是否纳入标准清单">
|
||||||
|
<el-select v-model="sarStandardsSearch.isRelateAccess" class="advanced-one" placeholder="根据是否纳入标准清单查找">
|
||||||
|
<el-option value="yes" label="是"></el-option>
|
||||||
|
<el-option value="no" label="否"></el-option>
|
||||||
|
</el-select>
|
||||||
|
</el-form-item>
|
||||||
|
<!-- 实施日期-->
|
||||||
|
<el-form-item label="实施日期">
|
||||||
|
<el-date-picker
|
||||||
|
v-model="sarStandardsSearch.putTime"
|
||||||
|
type="date"
|
||||||
|
placeholder="根据实施日期查找">
|
||||||
|
</el-date-picker>
|
||||||
|
</el-form-item>
|
||||||
|
<!-- 新车型实施日期-->
|
||||||
|
<el-form-item title="新车型实施日期" label="新车型实施日期">
|
||||||
|
<el-date-picker
|
||||||
|
v-model="sarStandardsSearch.XCXTime"
|
||||||
|
type="date"
|
||||||
|
placeholder="根据新车型实施日期查找">
|
||||||
|
</el-date-picker>
|
||||||
|
</el-form-item>
|
||||||
|
<!-- 在产车实施日期-->
|
||||||
|
<el-form-item title="在产车实施日期" label="在产车实施日期">
|
||||||
|
<el-date-picker
|
||||||
|
v-model="sarStandardsSearch.ZCCTime"
|
||||||
|
type="date"
|
||||||
|
placeholder="根据在产车实施日期查找">
|
||||||
|
</el-date-picker>
|
||||||
|
</el-form-item>
|
||||||
|
<!-- 归口管理部门-->
|
||||||
|
<el-form-item label="归口管理部门">
|
||||||
|
<el-input v-model="sarStandardsSearch.nameShow" clearable placeholder="根据归口管理部门查找"
|
||||||
|
@keyup.enter.native="btnSearch"></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
<!-- 起草单位-->
|
||||||
|
<el-form-item label="起草单位">
|
||||||
|
<el-select v-model="sarStandardsSearch.qcdw" placeholder="根据起草单位查找" clearable
|
||||||
|
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">
|
||||||
|
<el-option v-for="opt in qcdwOptions" :value="opt.value === undefined ? '' :opt.value" :key="opt.value" :label="opt.label">{{ opt.label}}</el-option>
|
||||||
|
</el-select>
|
||||||
|
</el-form-item>
|
||||||
|
<!-- 我司参与深度-->
|
||||||
|
<el-form-item label="我司参与深度">
|
||||||
|
<el-select v-model="sarStandardsSearch.nameShow" placeholder="请选择我司参与深度" clearable
|
||||||
|
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">
|
||||||
|
<el-option v-for="opt in cysdOptions" :value="opt.value === undefined ? '' :opt.value" :key="opt.value" :label="opt.label">{{ opt.label}}</el-option>
|
||||||
|
</el-select>
|
||||||
|
</el-form-item>
|
||||||
|
|
||||||
|
<!-- 能源类型-->
|
||||||
|
<el-form-item label="能源类型">
|
||||||
|
<el-select v-model="sarStandardsSearch.energyKind" placeholder="请选择能源类型" clearable
|
||||||
|
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">
|
||||||
|
<el-option v-for="opt in nylxOptions" :value="opt.value === undefined ? '' :opt.value" :key="opt.value" :label="opt.label">{{ opt.label}}</el-option>
|
||||||
|
</el-select>
|
||||||
|
</el-form-item>
|
||||||
<!-- 适用车型-->
|
<!-- 适用车型-->
|
||||||
<el-form-item :label="$t('m.applicableModels')" class="serch-form-item">
|
<el-form-item :label="$t('m.applicableModels')" class="serch-form-item">
|
||||||
<el-select v-model="sarStandardsSearch.cllx" :placeholder="$t('m.searchAccordingToThApplicableModel')" clearable
|
<el-select v-model="sarStandardsSearch.applyArctic" :placeholder="$t('m.searchAccordingToThApplicableModel')" clearable
|
||||||
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">
|
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">
|
||||||
<el-option v-for="opt in applyArcticOptions" :value="opt.value === undefined ? '' :opt.value" :key="opt.value" :label="opt.label">{{ opt.label}}</el-option>
|
<el-option v-for="opt in applyArcticOptions" :value="opt.value === undefined ? '' :opt.value" :key="opt.value" :label="opt.label">{{ opt.label}}</el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- 适用产品线(新增字段)-->
|
<!-- 适用产品线(新增字段)-->
|
||||||
<el-form-item :label="$t('m.applicableProductLine')" class="serch-form-item">
|
<el-form-item :label="$t('m.applicableProductLine')" class="serch-form-item">
|
||||||
<el-select v-model="sarStandardsSearch.nylx" :placeholder="$t('m.searchByApplicableProductLine')" clearable
|
<el-select v-model="sarStandardsSearch.sycpx" :placeholder="$t('m.searchByApplicableProductLine')" clearable
|
||||||
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">
|
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">
|
||||||
<el-option v-for="opt in categoryOptions" :value="opt.value === undefined ? '' :opt.value" :key="opt.value" :label="opt.label">{{ opt.label}}</el-option>
|
<el-option v-for="opt in sycpxOptions" :value="opt.value === undefined ? '' :opt.value" :key="opt.value" :label="opt.label">{{ opt.label}}</el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
<!-- 适用认证-->
|
||||||
|
<el-form-item label="适用认证">
|
||||||
|
<el-select v-model="sarStandardsSearch.syzr" placeholder="根据适用认证查找" clearable
|
||||||
|
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">
|
||||||
|
<el-option v-for="opt in syzrOptions" :value="opt.value === undefined ? '' :opt.value" :key="opt.value" :label="opt.label">{{ opt.label}}</el-option>
|
||||||
|
</el-select>
|
||||||
|
</el-form-item>
|
||||||
|
<!-- 责任部门-->
|
||||||
|
<el-form-item label="责任部门">
|
||||||
|
<el-select v-model="sarStandardsSearch.zrbm" placeholder="根据责任部门查找" clearable
|
||||||
|
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">
|
||||||
|
<el-option v-for="opt in zrbmOptions" :value="opt.value === undefined ? '' :opt.value" :key="opt.value" :label="opt.label">{{ opt.label}}</el-option>
|
||||||
|
</el-select>
|
||||||
|
</el-form-item>
|
||||||
|
<!-- 责任工程师-->
|
||||||
|
<el-form-item label="责任工程师">
|
||||||
|
<el-select v-model="sarStandardsSearch.dutyEngineer" placeholder="根据责任工程师查找" clearable
|
||||||
|
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">
|
||||||
|
<el-option v-for="opt in zrgcsOptions" :value="opt.value === undefined ? '' :opt.value" :key="opt.value" :label="opt.label">{{ opt.label}}</el-option>
|
||||||
|
</el-select>
|
||||||
|
</el-form-item>
|
||||||
|
<!-- 关联模块-VPPS编码-->
|
||||||
|
<el-form-item title="关联模块-VPPS编码" label="关联模块-VPPS编码" prop="standNumber">
|
||||||
|
<el-input v-model="sarStandardsSearch.svpps" clearable
|
||||||
|
placeholder="根据关联模块-VPPS编码查找"
|
||||||
|
@keyup.enter.native="btnSearch"></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
<!-- 代替标准号-->
|
||||||
|
<el-form-item label="代替标准号">
|
||||||
|
<el-input v-model="sarStandardsSearch.replaceStandNum" clearable placeholder="根据代替标准号查找"
|
||||||
|
@keyup.enter.native="btnSearch"></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
<!-- 关联模块-中文名称-->
|
||||||
|
<el-form-item title="关联模块-中文名称" label="关联模块-中文名称" prop="standNumber">
|
||||||
|
<el-input v-model="sarStandardsSearch.standNumber" clearable
|
||||||
|
placeholder="根据关联模块-中文名称"
|
||||||
|
@keyup.enter.native="btnSearch"></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
<!-- 采标编号-->
|
||||||
|
<el-form-item label="采标编号" prop="nameShow">
|
||||||
|
<el-input v-model="sarStandardsSearch.nameShow" clearable placeholder="根据采标编号查找"
|
||||||
|
@keyup.enter.native="btnSearch"></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
<!-- 采标程度-->
|
||||||
|
<el-form-item label="采标程度" prop="standNumber">
|
||||||
|
<el-input v-model="sarStandardsSearch.standNumber" clearable
|
||||||
|
placeholder="根据采标程度查找"
|
||||||
|
@keyup.enter.native="btnSearch"></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
<!-- 引用标准-->
|
||||||
|
<el-form-item label="引用标准">
|
||||||
|
<el-input v-model="sarStandardsSearch.citeStand" clearable placeholder="根据引用标准查找"
|
||||||
|
@keyup.enter.native="btnSearch"></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
<!-- 被引用标准-->
|
||||||
|
<el-form-item label="被引用标准">
|
||||||
|
<el-input v-model="sarStandardsSearch.citedStand" clearable
|
||||||
|
placeholder="根据被引用标准查找"
|
||||||
|
@keyup.enter.native="btnSearch"></el-input>
|
||||||
|
</el-form-item>
|
||||||
<!-- 关联模块(新增字段)-->
|
<!-- 关联模块(新增字段)-->
|
||||||
<el-form-item :label="$t('m.associatedModule')" class="serch-form-item">
|
<el-form-item :label="$t('m.associatedModule')" class="serch-form-item">
|
||||||
<el-select v-model="sarStandardsSearch.cycvppsbm" :placeholder="$t('m.SearchByAssociatedModule')" clearable
|
<el-select v-model="sarStandardsSearch.cycvppsbm" :placeholder="$t('m.SearchByAssociatedModule')" clearable
|
||||||
@@ -320,7 +532,18 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
</div>
|
</div>
|
||||||
</table-tools-bar>
|
<div class="demo-drawer-footer">
|
||||||
|
<el-button
|
||||||
|
class="common-button-primary"
|
||||||
|
icon="el-icon-check"
|
||||||
|
type="primary"
|
||||||
|
@click="getDomesticStandardTableBtn(sarStandardsSearch)">搜索</el-button>
|
||||||
|
<el-button
|
||||||
|
class="common-button-default"
|
||||||
|
icon="el-icon-close"
|
||||||
|
@click="clearAllSearch('sarStandardsSearch')">取消</el-button>
|
||||||
|
</div>
|
||||||
|
</el-drawer>
|
||||||
<!-- 新增海外标准 -->
|
<!-- 新增海外标准 -->
|
||||||
<el-drawer
|
<el-drawer
|
||||||
:title="modalshowtitle"
|
:title="modalshowtitle"
|
||||||
@@ -2187,7 +2410,7 @@ export default {
|
|||||||
type: 'warning'
|
type: 'warning'
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
this.$http.delete("sarResource/ts-resource", {
|
this.$http.delete("sarResource/ts-resource", {
|
||||||
menuId: data.id
|
resourceId: data.id
|
||||||
}, res => {
|
}, res => {
|
||||||
}, e => {
|
}, e => {
|
||||||
if(e.ok){
|
if(e.ok){
|
||||||
@@ -2217,10 +2440,11 @@ export default {
|
|||||||
},
|
},
|
||||||
// 树节点鼠标移入移出
|
// 树节点鼠标移入移出
|
||||||
mouseenter(data){
|
mouseenter(data){
|
||||||
console.log(data)
|
if(data.menuName !== '我的收藏'){
|
||||||
this.$set(data, 'show', true)
|
this.$set(data, 'show', true)
|
||||||
if(data.parentId !== null){
|
if(data.parentId !== null){
|
||||||
this.$set(data, 'showDel', true)
|
this.$set(data, 'showDel', true)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mouseleave(data){
|
mouseleave(data){
|
||||||
@@ -2878,7 +3102,7 @@ export default {
|
|||||||
formData.nowOrderBy = this.nowOrder ? this.orderBy : ''
|
formData.nowOrderBy = this.nowOrder ? this.orderBy : ''
|
||||||
formData.nowOrder = this.nowOrder
|
formData.nowOrder = this.nowOrder
|
||||||
// 处理我的收藏和个性化标签传参
|
// 处理我的收藏和个性化标签传参
|
||||||
if (this.selectSarMenu.id === 'wdsc') {
|
if (this.selectSarMenu.menuName === '我的收藏') {
|
||||||
formData.menuId = undefined
|
formData.menuId = undefined
|
||||||
formData.labelMenuId = undefined
|
formData.labelMenuId = undefined
|
||||||
formData.collectMenuId = 'wdsc'
|
formData.collectMenuId = 'wdsc'
|
||||||
@@ -4091,6 +4315,93 @@ export default {
|
|||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
<style lang="less" scoped>
|
||||||
|
/deep/ .icon-tree {
|
||||||
|
margin:0 5px 0 10px;
|
||||||
|
position:relative;
|
||||||
|
background:url('~@/assets/images/shangqi/img/tree-add.png');
|
||||||
|
background-size:100% 100%;
|
||||||
|
}
|
||||||
|
/deep/ .expanded{
|
||||||
|
background:url('~@/assets/images/shangqi/img/tree-sub.png');
|
||||||
|
background-size:100% 100%;
|
||||||
|
}
|
||||||
|
/deep/ .is-leaf{
|
||||||
|
background-image:none;
|
||||||
|
background-size:100% 100%;
|
||||||
|
}
|
||||||
|
/deep/ .is-leaf-none{
|
||||||
|
position: relative;
|
||||||
|
display: inline-block;
|
||||||
|
width: 15px;
|
||||||
|
height: 15px;
|
||||||
|
background:url('~@/assets/images/shangqi/img/none-file.png');
|
||||||
|
background-size:100% 100%;
|
||||||
|
}
|
||||||
|
/deep/ .is-show{
|
||||||
|
position: relative;
|
||||||
|
display: inline-block;
|
||||||
|
width: 15px;
|
||||||
|
height: 15px;
|
||||||
|
background:url('~@/assets/images/shangqi/img/tree.png');
|
||||||
|
background-size:100% 100%;
|
||||||
|
}
|
||||||
|
/deep/.tree-line{
|
||||||
|
.el-tree-node {
|
||||||
|
position: relative;
|
||||||
|
padding-left: 0px; // 缩进量
|
||||||
|
}
|
||||||
|
.el-tree-node__children {
|
||||||
|
padding-left: 16px; // 缩进量
|
||||||
|
}
|
||||||
|
|
||||||
|
// 竖线
|
||||||
|
.el-tree-node::before {
|
||||||
|
content: "";
|
||||||
|
height: 100%;
|
||||||
|
width: 1px;
|
||||||
|
position: absolute;
|
||||||
|
left: -3px;
|
||||||
|
top: -26px;
|
||||||
|
border-width: 1px;
|
||||||
|
border-left: 1px dashed #858990e0;
|
||||||
|
}
|
||||||
|
// 当前层最后一个节点的竖线高度固定
|
||||||
|
.el-tree-node:last-child::before {
|
||||||
|
height: 38px; // 可以自己调节到合适数值
|
||||||
|
}
|
||||||
|
|
||||||
|
// 横线
|
||||||
|
.el-tree-node::after {
|
||||||
|
content: "";
|
||||||
|
width: 11px;
|
||||||
|
height: 20px;
|
||||||
|
position: absolute;
|
||||||
|
left: -3px;
|
||||||
|
top: 12px;
|
||||||
|
border-width: 1px;
|
||||||
|
border-top: 1px dashed #858990e0;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 去掉最顶层的虚线,放最下面样式才不会被上面的覆盖了
|
||||||
|
& > .el-tree-node::after {
|
||||||
|
border-top: none;
|
||||||
|
}
|
||||||
|
& > .el-tree-node::before {
|
||||||
|
border-left: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 展开关闭的icon
|
||||||
|
.el-tree-node__expand-icon{
|
||||||
|
font-size: 16px;
|
||||||
|
// 叶子节点(无子节点)
|
||||||
|
&.is-leaf{
|
||||||
|
color: transparent;
|
||||||
|
// display: none; // 也可以去掉
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
<style lang="less" scoped>
|
<style lang="less" scoped>
|
||||||
@import '~@/assets/styles/mixins';
|
@import '~@/assets/styles/mixins';
|
||||||
@import '~@/assets/styles/style';
|
@import '~@/assets/styles/style';
|
||||||
@@ -4272,6 +4583,9 @@ export default {
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
margin-top: 6px;
|
margin-top: 6px;
|
||||||
background: #F9F9F9;
|
background: #F9F9F9;
|
||||||
|
overflow: hidden;
|
||||||
|
white-space: nowrap;
|
||||||
|
text-overflow: ellipsis
|
||||||
}
|
}
|
||||||
/deep/.el-input__inner {
|
/deep/.el-input__inner {
|
||||||
height: 30px;
|
height: 30px;
|
||||||
@@ -4279,6 +4593,9 @@ export default {
|
|||||||
border-radius: 0 !important;
|
border-radius: 0 !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.el-date-editor.el-input, .el-date-editor.el-input__inner{
|
||||||
|
width: 190px
|
||||||
|
}
|
||||||
.classDisplay{
|
.classDisplay{
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -138,7 +138,7 @@
|
|||||||
ref="multipleTable"
|
ref="multipleTable"
|
||||||
:data="sarProStateListDatas"
|
:data="sarProStateListDatas"
|
||||||
tooltip-effect="dark"
|
tooltip-effect="dark"
|
||||||
style="width: 100%"
|
style="width: 100%;"
|
||||||
border
|
border
|
||||||
:height="sarProStateTableHeight"
|
:height="sarProStateTableHeight"
|
||||||
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
|
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
|
||||||
@@ -157,7 +157,7 @@
|
|||||||
<el-table-column
|
<el-table-column
|
||||||
width="150px"
|
width="150px"
|
||||||
align="center"
|
align="center"
|
||||||
prop="standNumber"
|
prop="productId"
|
||||||
label="项目编号">
|
label="项目编号">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
@@ -345,6 +345,7 @@ export default {
|
|||||||
this.querySarProStateZero()
|
this.querySarProStateZero()
|
||||||
}, // 查看项目符合性
|
}, // 查看项目符合性
|
||||||
querySarProStateZero () {
|
querySarProStateZero () {
|
||||||
|
this.sarProStateTotalPage = 1
|
||||||
var form = this.sarProStateEO
|
var form = this.sarProStateEO
|
||||||
// form.standId = this.standId
|
// form.standId = this.standId
|
||||||
form.current = this.sarProStateTotalPage
|
form.current = this.sarProStateTotalPage
|
||||||
@@ -354,6 +355,13 @@ export default {
|
|||||||
loading: 'loading'
|
loading: 'loading'
|
||||||
}, res => {
|
}, res => {
|
||||||
if (res.ok) {
|
if (res.ok) {
|
||||||
|
res.data.records.forEach((item)=>{
|
||||||
|
for(let key in item){
|
||||||
|
if(item[key] == null){
|
||||||
|
item[key]='无'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
})
|
||||||
this.sarProStateListDatas = res.data.records
|
this.sarProStateListDatas = res.data.records
|
||||||
this.sarProStateTotal = res.data.total
|
this.sarProStateTotal = res.data.total
|
||||||
}
|
}
|
||||||
@@ -385,8 +393,10 @@ export default {
|
|||||||
mounted () {
|
mounted () {
|
||||||
this.queryStandAndLaws()
|
this.queryStandAndLaws()
|
||||||
this.tableHeight = $('.regulatory-repository').height() - 159
|
this.tableHeight = $('.regulatory-repository').height() - 159
|
||||||
|
this.sarProStateTableHeight=$('.regulatory-repository').height() -120
|
||||||
window.onresize = () => {
|
window.onresize = () => {
|
||||||
this.tableHeight = $('.regulatory-repository').height() - 159
|
this.tableHeight = $('.regulatory-repository').height() - 159
|
||||||
|
this.sarProStateTableHeight=$('.regulatory-repository').height() - 120
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -25,33 +25,39 @@
|
|||||||
:maxlength="100"></el-input>
|
:maxlength="100"></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="责任部门" class="search-item">
|
<el-form-item label="责任部门" class="search-item">
|
||||||
<el-input v-model="historySearch.responseUnitShow" v-show="false" />
|
<el-select v-model="historySearch.responsibleUnit" placeholder="根据责任部门查找" clearable>
|
||||||
<el-popover
|
<el-option v-for="opt in zrbmOptions" :value="opt.value === undefined ? '' :opt.value" :key="opt.value" :label="opt.label">
|
||||||
placement="bottom"
|
{{ opt.label}}</el-option>
|
||||||
popper-class="user-dept-popper"
|
</el-select>
|
||||||
trigger="click"
|
|
||||||
:value="false"
|
|
||||||
>
|
|
||||||
<el-input
|
|
||||||
slot="reference"
|
|
||||||
v-model="historySearch.responseUnitShow"
|
|
||||||
placeholder="根据责任部门查找"
|
|
||||||
readonly
|
|
||||||
clearable
|
|
||||||
id="searchResp"
|
|
||||||
/>
|
|
||||||
<div class="api">
|
|
||||||
<laws-tree
|
|
||||||
:zNodes="zNodesSItem"
|
|
||||||
treeDivId="zNodesSItemSearch"
|
|
||||||
deptSelect
|
|
||||||
showRMenu
|
|
||||||
@treeDblClick="(treeId, treeNode) => treeClickSearch(treeId, treeNode)"
|
|
||||||
class="ztree" style="width: 200px;height: 400px;overflow: auto">
|
|
||||||
</laws-tree>
|
|
||||||
</div>
|
|
||||||
</el-popover>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
<!-- <el-form-item label="责任部门" class="search-item">-->
|
||||||
|
<!-- <el-input v-model="historySearch.responseUnitShow" v-show="false" />-->
|
||||||
|
<!-- <el-popover-->
|
||||||
|
<!-- placement="bottom"-->
|
||||||
|
<!-- popper-class="user-dept-popper"-->
|
||||||
|
<!-- trigger="click"-->
|
||||||
|
<!-- :value="false"-->
|
||||||
|
<!-- >-->
|
||||||
|
<!-- <el-input-->
|
||||||
|
<!-- slot="reference"-->
|
||||||
|
<!-- v-model="historySearch.responseUnitShow"-->
|
||||||
|
<!-- placeholder="根据责任部门查找"-->
|
||||||
|
<!-- readonly-->
|
||||||
|
<!-- clearable-->
|
||||||
|
<!-- id="searchResp"-->
|
||||||
|
<!-- />-->
|
||||||
|
<!-- <div class="api">-->
|
||||||
|
<!-- <laws-tree-->
|
||||||
|
<!-- :zNodes="zNodesSItem"-->
|
||||||
|
<!-- treeDivId="zNodesSItemSearch"-->
|
||||||
|
<!-- deptSelect-->
|
||||||
|
<!-- showRMenu-->
|
||||||
|
<!-- @treeDblClick="(treeId, treeNode) => treeClickSearch(treeId, treeNode)"-->
|
||||||
|
<!-- class="ztree" style="width: 200px;height: 400px;overflow: auto">-->
|
||||||
|
<!-- </laws-tree>-->
|
||||||
|
<!-- </div>-->
|
||||||
|
<!-- </el-popover>-->
|
||||||
|
<!-- </el-form-item>-->
|
||||||
<el-form-item class="search-item btn-box">
|
<el-form-item class="search-item btn-box">
|
||||||
<el-button
|
<el-button
|
||||||
type="primary"
|
type="primary"
|
||||||
@@ -374,6 +380,7 @@ export default {
|
|||||||
total: 0,
|
total: 0,
|
||||||
// 当前页数
|
// 当前页数
|
||||||
pageNo: 1,
|
pageNo: 1,
|
||||||
|
zrbmOptions:[],
|
||||||
// 单页数量
|
// 单页数量
|
||||||
pageSize: this.$store.getters.userInfo.configContent,
|
pageSize: this.$store.getters.userInfo.configContent,
|
||||||
// 历史数据查看
|
// 历史数据查看
|
||||||
@@ -652,6 +659,17 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted () {
|
mounted () {
|
||||||
|
// 从数据库中查询各下拉框数据
|
||||||
|
this.$http.get('sys/dictype/getDicTypeListCode', '', {
|
||||||
|
_this: this
|
||||||
|
}, res => {
|
||||||
|
this.allSelectOptions = res.data || {}
|
||||||
|
this.zrbmOptions = res.data.ZRBMCLASS // 责任部门
|
||||||
|
this.zrbmOptions = res.data.ZRBMCLASS // 责任部门
|
||||||
|
this.getGzzOption()
|
||||||
|
this.setMap(this.standStateOptions)
|
||||||
|
}, e => {
|
||||||
|
})
|
||||||
this.getTableBtn()
|
this.getTableBtn()
|
||||||
this.getOrgTreeSource()
|
this.getOrgTreeSource()
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17,33 +17,39 @@
|
|||||||
:maxlength="100"></el-input>
|
:maxlength="100"></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="责任部门" class="search-item">
|
<el-form-item label="责任部门" class="search-item">
|
||||||
<el-input v-model="nonConformitySearch.responsibleUnit" v-show="false" />
|
<el-select v-model="nonConformitySearch.responsibleUnit" placeholder="根据责任部门查找" clearable>
|
||||||
<el-popover
|
<el-option v-for="opt in zrbmOptions" :value="opt.value === undefined ? '' :opt.value" :key="opt.value" :label="opt.label">
|
||||||
placement="bottom"
|
{{ opt.label}}</el-option>
|
||||||
popper-class="user-dept-popper"
|
</el-select>
|
||||||
trigger="click"
|
|
||||||
:value="false"
|
|
||||||
>
|
|
||||||
<el-input
|
|
||||||
slot="reference"
|
|
||||||
v-model="nonConformitySearch.responsibleUnitShow"
|
|
||||||
placeholder="根据责任部门查找"
|
|
||||||
readonly
|
|
||||||
clearable
|
|
||||||
id="searchResp"
|
|
||||||
/>
|
|
||||||
<div class="api">
|
|
||||||
<laws-tree
|
|
||||||
:zNodes="zNodesSItem"
|
|
||||||
treeDivId="zNodesSItemSearch"
|
|
||||||
deptSelect
|
|
||||||
showRMenu
|
|
||||||
@treeDblClick="(treeId, treeNode) => treeClickSearch(treeId, treeNode)"
|
|
||||||
class="ztree" style="width: 200px;height: 400px;overflow: auto">
|
|
||||||
</laws-tree>
|
|
||||||
</div>
|
|
||||||
</el-popover>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
<!-- <el-form-item label="责任部门" class="search-item">-->
|
||||||
|
<!-- <el-input v-model="nonConformitySearch.responsibleUnit" v-show="false" />-->
|
||||||
|
<!-- <el-popover-->
|
||||||
|
<!-- placement="bottom"-->
|
||||||
|
<!-- popper-class="user-dept-popper"-->
|
||||||
|
<!-- trigger="click"-->
|
||||||
|
<!-- :value="false"-->
|
||||||
|
<!-- >-->
|
||||||
|
<!-- <el-input-->
|
||||||
|
<!-- slot="reference"-->
|
||||||
|
<!-- v-model="nonConformitySearch.responsibleUnitShow"-->
|
||||||
|
<!-- placeholder="根据责任部门查找"-->
|
||||||
|
<!-- readonly-->
|
||||||
|
<!-- clearable-->
|
||||||
|
<!-- id="searchResp"-->
|
||||||
|
<!-- />-->
|
||||||
|
<!-- <div class="api">-->
|
||||||
|
<!-- <laws-tree-->
|
||||||
|
<!-- :zNodes="zNodesSItem"-->
|
||||||
|
<!-- treeDivId="zNodesSItemSearch"-->
|
||||||
|
<!-- deptSelect-->
|
||||||
|
<!-- showRMenu-->
|
||||||
|
<!-- @treeDblClick="(treeId, treeNode) => treeClickSearch(treeId, treeNode)"-->
|
||||||
|
<!-- class="ztree" style="width: 200px;height: 400px;overflow: auto">-->
|
||||||
|
<!-- </laws-tree>-->
|
||||||
|
<!-- </div>-->
|
||||||
|
<!-- </el-popover>-->
|
||||||
|
<!-- </el-form-item>-->
|
||||||
<el-form-item class="search-item btn-box">
|
<el-form-item class="search-item btn-box">
|
||||||
<el-button
|
<el-button
|
||||||
type="primary"
|
type="primary"
|
||||||
@@ -427,6 +433,7 @@ export default {
|
|||||||
productName: '', // 项目名称
|
productName: '', // 项目名称
|
||||||
responsibleUnit: '' // 责任部门
|
responsibleUnit: '' // 责任部门
|
||||||
},
|
},
|
||||||
|
zrbmOptions: [], // 责任部门下拉框
|
||||||
// 责任部门
|
// 责任部门
|
||||||
zNodesSItem: [],
|
zNodesSItem: [],
|
||||||
myLoading: {
|
myLoading: {
|
||||||
@@ -654,6 +661,17 @@ export default {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
mounted () {
|
mounted () {
|
||||||
|
// 从数据库中查询各下拉框数据
|
||||||
|
this.$http.get('sys/dictype/getDicTypeListCode', '', {
|
||||||
|
_this: this
|
||||||
|
}, res => {
|
||||||
|
this.allSelectOptions = res.data || {}
|
||||||
|
this.zrbmOptions = res.data.ZRBMCLASS // 责任部门
|
||||||
|
this.zrbmOptions = res.data.ZRBMCLASS // 责任部门
|
||||||
|
this.getGzzOption()
|
||||||
|
this.setMap(this.standStateOptions)
|
||||||
|
}, e => {
|
||||||
|
})
|
||||||
this.getTableByPage()
|
this.getTableByPage()
|
||||||
// 加载所有的部门
|
// 加载所有的部门
|
||||||
this.getOrgTreeSource()
|
this.getOrgTreeSource()
|
||||||
|
|||||||
@@ -19,16 +19,17 @@
|
|||||||
</p>
|
</p>
|
||||||
<p class="transition-box-p">
|
<p class="transition-box-p">
|
||||||
<label class="transition-box-label">上传时间:</label>
|
<label class="transition-box-label">上传时间:</label>
|
||||||
|
<span class="transition-box-span">{{ this.$route.query.item.endTime || '-' }}</span>
|
||||||
|
</p>
|
||||||
|
<p class="transition-box-p">
|
||||||
|
<label class="transition-box-label">征求意见周期:</label>
|
||||||
<span class="transition-box-span" v-if="this.$route.query.item.startTime && this.$route.query.item.endTime">{{ this.$route.query.item.startTime + ' ~ ' + this.$route.query.item.endTime}}</span>
|
<span class="transition-box-span" v-if="this.$route.query.item.startTime && this.$route.query.item.endTime">{{ this.$route.query.item.startTime + ' ~ ' + this.$route.query.item.endTime}}</span>
|
||||||
<span class="transition-box-span">-</span>
|
<span class="transition-box-span" v-else>-</span>
|
||||||
</p> <p class="transition-box-p">
|
</p>
|
||||||
<label class="transition-box-label">征求意见周期:</label>
|
|
||||||
<span class="transition-box-span">{{ this.$route.query.item.endTime || '-' }}</span>
|
|
||||||
</p>
|
|
||||||
</div>
|
</div>
|
||||||
</transition>
|
</transition>
|
||||||
<div class="effect">
|
<div class="effect">
|
||||||
<el-button type="primary" class="common-button-primary" size="mini" @click="selectStandardPro('add')">添加</el-button>
|
<el-button v-if="ideaKey" type="primary" class="common-button-primary" size="mini" @click="selectStandardPro('add')">添加</el-button>
|
||||||
<el-button type="primary" class="common-button-primary" size="mini" @click="exportAll">导出</el-button>
|
<el-button type="primary" class="common-button-primary" size="mini" @click="exportAll">导出</el-button>
|
||||||
</div>
|
</div>
|
||||||
<div class="container" style="position:relative;">
|
<div class="container" style="position:relative;">
|
||||||
@@ -64,7 +65,7 @@
|
|||||||
label="提出人"
|
label="提出人"
|
||||||
>
|
>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="操作" align="center" width="50" fixed="right">
|
<el-table-column label="操作" align="center" width="50" fixed="right" v-if="ideaKey">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<div @click.stop style="display: inline-block">
|
<div @click.stop style="display: inline-block">
|
||||||
<el-dropdown trigger="click" @command="handleCommand">
|
<el-dropdown trigger="click" @command="handleCommand">
|
||||||
@@ -96,11 +97,11 @@
|
|||||||
>
|
>
|
||||||
<div class="demo-drawer-content add-demo">
|
<div class="demo-drawer-content add-demo">
|
||||||
<div class="search-area">
|
<div class="search-area">
|
||||||
<el-form :model="opinionContent" class="label-input-form">
|
<el-form :model="opinionContent" ref="formAdd" :rules="opinionContentRules" class="label-input-form">
|
||||||
<el-form-item label="章节编号" label-width="80px" class="add-form-item">
|
<el-form-item label="章节编号" label-width="80px" prop="partCode" class="add-form-item">
|
||||||
<el-input v-model="opinionContent.partCode" autocomplete="off" placeholder="请输入章节编号"></el-input>
|
<el-input v-model="opinionContent.partCode" autocomplete="off" placeholder="请输入章节编号"></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="修改意见内容(包括理由或依据)" label-width="" class="add-form-item">
|
<el-form-item label="修改意见内容(包括理由或依据)" prop="content" label-width="" class="add-form-item">
|
||||||
<el-input :autosize="{ minRows: 2, maxRows: 8}" type="textarea" v-model="opinionContent.content" autocomplete="off" placeholder="请输入修改意见内容"></el-input>
|
<el-input :autosize="{ minRows: 2, maxRows: 8}" type="textarea" v-model="opinionContent.content" autocomplete="off" placeholder="请输入修改意见内容"></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
@@ -132,13 +133,23 @@ export default {
|
|||||||
partCode: '',
|
partCode: '',
|
||||||
content: '',
|
content: '',
|
||||||
},
|
},
|
||||||
|
opinionContentRules: {
|
||||||
|
partCode: [
|
||||||
|
{ required: true, message: '请输入章节编号', trigger: 'blur' },
|
||||||
|
],
|
||||||
|
content: [
|
||||||
|
{ required: true, message: '请输入修改意见内容(包括理由或依据)', trigger: 'blur' }
|
||||||
|
],
|
||||||
|
},
|
||||||
standinfoList: [], // 详情列表
|
standinfoList: [], // 详情列表
|
||||||
form: {
|
form: {
|
||||||
cid: this.$route.query.item.cid,
|
cid: this.$route.query.item.cid,
|
||||||
page: 1,
|
page: 1,
|
||||||
size: this.$store.getters.userInfo.configContent,
|
size: this.$store.getters.userInfo.configContent,
|
||||||
userId: this.$store.getters.userInfo.userId,
|
userId: this.$store.getters.userInfo.userId,
|
||||||
} // 详情数据
|
endTime: this.$route.query.item.endTime
|
||||||
|
}, // 详情数据
|
||||||
|
ideaKey: false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
@@ -154,6 +165,13 @@ export default {
|
|||||||
this.standinfoList = res.data.records
|
this.standinfoList = res.data.records
|
||||||
this.total = res.data.total
|
this.total = res.data.total
|
||||||
this.spinShow = false
|
this.spinShow = false
|
||||||
|
res.data.records.forEach(item => {
|
||||||
|
if (item.ideaKey == 1) {
|
||||||
|
this.ideaKey = false
|
||||||
|
} else {
|
||||||
|
this.ideaKey = true
|
||||||
|
}
|
||||||
|
})
|
||||||
}, e => {
|
}, e => {
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
@@ -228,32 +246,36 @@ export default {
|
|||||||
},
|
},
|
||||||
//点击抽屉按钮提交事件
|
//点击抽屉按钮提交事件
|
||||||
saveUserInfo() {
|
saveUserInfo() {
|
||||||
var url = ''
|
this.$refs['formAdd'].validate((valid) => {
|
||||||
var form = {
|
if (valid) {
|
||||||
cid: this.$route.query.item.cid,
|
var url = ''
|
||||||
content: this.opinionContent.content,
|
var form = {
|
||||||
partCode: this.opinionContent.partCode,
|
cid: this.$route.query.item.cid,
|
||||||
userId: this.$store.getters.userInfo.userId,
|
content: this.opinionContent.content,
|
||||||
userName: this.$store.getters.userInfo.account,
|
partCode: this.opinionContent.partCode,
|
||||||
deptName: this.$store.getters.userInfo.orgName,
|
userId: this.$store.getters.userInfo.userId,
|
||||||
deptId: this.$store.getters.userInfo.orgId
|
userName: this.$store.getters.userInfo.account,
|
||||||
}
|
deptName: this.$store.getters.userInfo.orgName,
|
||||||
if (this.type === 'edit') {
|
deptId: this.$store.getters.userInfo.orgId
|
||||||
form.id = this.id
|
}
|
||||||
form.autUserId = this.$store.getters.userInfo.userId
|
if (this.type === 'edit') {
|
||||||
url = 'slrs/sar-public-idea-all/updateStand'
|
form.id = this.id
|
||||||
} else {
|
form.autUserId = this.$store.getters.userInfo.userId
|
||||||
url = 'slrs/sar-public-idea-all/insetStand'
|
url = 'slrs/sar-public-idea-all/updateStand'
|
||||||
}
|
} else {
|
||||||
this.$http.post(url, form, {
|
url = 'slrs/sar-public-idea-all/insetStand'
|
||||||
_this: this
|
}
|
||||||
}, res => {
|
this.$http.post(url, form, {
|
||||||
if (res.respCode === '200') {
|
_this: this
|
||||||
this.form.page = 1
|
}, res => {
|
||||||
this.getList()
|
if (res.respCode === '200') {
|
||||||
}
|
this.form.page = 1
|
||||||
|
this.getList()
|
||||||
|
}
|
||||||
|
})
|
||||||
|
this.isDialog = false
|
||||||
|
}
|
||||||
})
|
})
|
||||||
this.isDialog = false
|
|
||||||
},
|
},
|
||||||
//点击抽屉按钮取消事件
|
//点击抽屉按钮取消事件
|
||||||
closeDrawer() {
|
closeDrawer() {
|
||||||
|
|||||||
@@ -591,6 +591,15 @@ const routes = [
|
|||||||
title: '标准征求意见流程'
|
title: '标准征求意见流程'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
path: '/bzzqyjStep1-1',
|
||||||
|
name: 'bzzqyjStep1-1',
|
||||||
|
component: () => import('@/pages/processCenter/pages/creatProcess/bzzqyj/step1-1.vue'),
|
||||||
|
meta: {
|
||||||
|
requireAuth: true,
|
||||||
|
title: '标准征求意见流程'
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
path: '/bzzqyjStep2',
|
path: '/bzzqyjStep2',
|
||||||
name: 'bzzqyjStep2',
|
name: 'bzzqyjStep2',
|
||||||
|
|||||||
@@ -4,12 +4,9 @@
|
|||||||
* @date: 2018-09-04 17:47:46
|
* @date: 2018-09-04 17:47:46
|
||||||
*/
|
*/
|
||||||
// 服务器地址
|
// 服务器地址
|
||||||
// const devIp = '39.98.140.126'
|
// const devIp = '10.96.10.171'
|
||||||
// const devInterfacePORT = '10005'
|
// const devInterfacePORT = '9999'
|
||||||
// const devIp = '192.168.10.248'
|
const devIp = '192.168.1.145'
|
||||||
// const devIp = '101.36.227.25'
|
|
||||||
// const devInterfacePORT = '8038'
|
|
||||||
const devIp = '10.96.170.156'
|
|
||||||
const devInterfacePORT = '9999'
|
const devInterfacePORT = '9999'
|
||||||
// 云端端口号
|
// 云端端口号
|
||||||
const DEV_CLOUD_RES_INTERFACE_PORT = '7777'
|
const DEV_CLOUD_RES_INTERFACE_PORT = '7777'
|
||||||
|
|||||||