Merge remote-tracking branch 'origin/develop' into develop
This commit is contained in:
@@ -24,8 +24,9 @@ export default {
|
||||
* */
|
||||
validateStandardItem (rule, value, callback) {
|
||||
// return callback()
|
||||
let testval = /^[A-Za-z0-9/ ,.-\\-()()]+$/
|
||||
if (value && !value.match(testval)) {
|
||||
let testval = /^[A-Za-z0-9/]+$/
|
||||
let testval1 = /[.-]+/
|
||||
if (value && !value.match(testval) && !value.match(testval1)) {
|
||||
return callback(new Error('只能为(字母、数字、.、-)'))
|
||||
} else {
|
||||
callback()
|
||||
@@ -457,9 +458,9 @@ export default {
|
||||
callback()
|
||||
}
|
||||
},
|
||||
// 验证输入数字和英文
|
||||
// 验证输入数字
|
||||
testNumberCode (rule, value, callback) {
|
||||
let reg = /[0-9\-]/
|
||||
let reg = /^[0-9]*$/
|
||||
if (value !== '' && !value.match(reg)) {
|
||||
return callback(new Error('只能输入数字'))
|
||||
} else {
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
type="primary"
|
||||
class="common-button-primary"
|
||||
round
|
||||
@click="getReplaceLawsNumRowFirst">
|
||||
@click="getReplaceLawsNumRowFirst(true)">
|
||||
</el-button>
|
||||
</el-form-item>
|
||||
<el-form-item class="search-item btn-box">
|
||||
@@ -217,7 +217,10 @@ export default {
|
||||
this.getReplaceLawsNumRow()
|
||||
},
|
||||
// 代替政策号 请求数据
|
||||
getReplaceLawsNumRowFirst () {
|
||||
getReplaceLawsNumRowFirst (val) {
|
||||
if (val) {
|
||||
this.replaceLawsNumForm.page = '1'
|
||||
}
|
||||
if (this.sarBussionessLawsEO.replaceLawsNum !== null && this.sarBussionessLawsEO.replaceLawsNum !== '') {
|
||||
this.replaceLawsNumForm.quoteIdList = this.quoteIdList1.toString() === '' ? '' : this.quoteIdList1
|
||||
} else {
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
type="primary"
|
||||
class="common-button-primary"
|
||||
round
|
||||
@click="getReplaceLawsNumRow">
|
||||
@click="getReplaceLawsNumRow(true)">
|
||||
</el-button>
|
||||
</el-form-item>
|
||||
<el-form-item class="search-item btn-box">
|
||||
@@ -126,7 +126,7 @@
|
||||
@pageChange="pageChangeReplace"
|
||||
@pageSizeChange="pageSizeChangeReplace"></pagination>
|
||||
<div slot="footer" class="demo-drawer-footer">
|
||||
<el-button class="common-button-default" icon="el-icon-close" @click="replaceLawsNumModel = false">取消</el-button>
|
||||
<el-button class="common-button-default" round icon="el-icon-close" @click="replaceLawsNumModel = false">取消</el-button>
|
||||
<el-button type="primary" round class="common-button-primary" icon="el-icon-check" @click="replaceLawsNumModelBt">提交</el-button>
|
||||
</div>
|
||||
</el-dialog>
|
||||
@@ -227,7 +227,10 @@ export default {
|
||||
this.getReplaceLawsNumRow()
|
||||
},
|
||||
// 代替政策号 请求数据
|
||||
getReplaceLawsNumRow () {
|
||||
getReplaceLawsNumRow (val) {
|
||||
if (val) {
|
||||
this.replaceLawsNumForm.page = '1'
|
||||
}
|
||||
if (this.sarBussionessLawsEO.replaceLawsNum !== null && this.sarBussionessLawsEO.replaceLawsNum !== '') {
|
||||
this.replaceLawsNumForm.quoteIdList = this.quoteIdList1.toString() === '' ? '' : this.quoteIdList1
|
||||
} else {
|
||||
|
||||
@@ -38,13 +38,13 @@
|
||||
<template v-if="item.label === '基础信息'" >
|
||||
<div class="details-content-modular basic-information" style="border-top:none">
|
||||
<div class="basic-information-content">
|
||||
<p><label style=" margin-right: 150px;">标准类别</label><span>{{ sarStandardsInfoEO.standSort || '-' }}</span></p>
|
||||
<!-- <p><label style=" margin-right: 150px;">标准类别</label><span>{{ sarStandardsInfoEO.standSort || '-' }}</span></p>-->
|
||||
<p style="color: #C42626;">
|
||||
<label style=" margin-right: 150px;">标准编号</label>
|
||||
<label style=" margin-right: 150px;">标准号</label>
|
||||
<span v-if="sarStandardsInfoEO.standYear">{{ sarStandardsInfoEO.standSortShow + ' ' + sarStandardsInfoEO.standNumber + '-' + sarStandardsInfoEO.standYear }}</span>
|
||||
<span v-else>{{ sarStandardsInfoEO.standSort + ' ' + sarStandardsInfoEO.standNumber }}</span>
|
||||
</p>
|
||||
<p><label style=" margin-right: 150px;">标准年份</label><span>{{ sarStandardsInfoEO.standYear || '-' }}</span></p>
|
||||
<!-- <p><label style=" margin-right: 150px;">标准年份</label><span>{{ sarStandardsInfoEO.standYear || '-' }}</span></p>-->
|
||||
<p><label style=" margin-right: 150px;">中文名称</label><span>{{ sarStandardsInfoEO.standName || '-' }}</span></p>
|
||||
<p><label style=" margin-right: 150px;">英文名称</label><span>{{ sarStandardsInfoEO.standEnName || '-' }}</span></p>
|
||||
<p><label style=" margin-right: 150px;">标准性质</label><span>{{ standMap[sarStandardsInfoEO.standNature] || '-' }}</span></p>
|
||||
|
||||
@@ -1256,7 +1256,7 @@ export default {
|
||||
this.listForm.standId = bringData[0].id;
|
||||
this.listForm.listName = bringData[0].detailedListName;
|
||||
this.listForm.descriptionList = bringData[0].remark;
|
||||
this.listForm.fileId = bringData[0].fileId;
|
||||
this.listForm.fileId = bringData[0].fileIds;
|
||||
this.ListModel = false;
|
||||
this.$http.get("sarLawsAttrDetailedList/sar-laws-attr-detailed-list/selectLawsById",
|
||||
{ id: bringData[0].id, page: this.page, Size:this.pageSize}, {
|
||||
|
||||
@@ -158,14 +158,6 @@
|
||||
value-format="yyyy-MM-dd">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
<el-form-item label="新车型实施日期(标准文本)" prop="xcxssrq" class="add-form-item form-item-disabled">
|
||||
<el-date-picker
|
||||
v-model="form.xcxssrq"
|
||||
type="date"
|
||||
placeholder="请选择新车型实施日期(标准文本"
|
||||
value-format="yyyy-MM-dd">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
<el-form-item label="在产车实施日期(标准文本)" prop="zccssrq" class="add-form-item form-item-disabled">
|
||||
<el-date-picker
|
||||
v-model="form.zccssrq"
|
||||
@@ -176,30 +168,38 @@
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="实施日期(国际)" prop="ssrqgj" class="add-form-item form-item-disabled">
|
||||
<el-form-item label="新车型实施日期(标准文本)" prop="xcxssrq" class="add-form-item form-item-disabled">
|
||||
<el-date-picker
|
||||
v-model="form.ssrqgj"
|
||||
v-model="form.xcxssrq"
|
||||
type="date"
|
||||
placeholder="请选择实施日期(国际)"
|
||||
value-format="yyyy-MM-dd">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
<el-form-item label="新车型实施日期(国际)" prop="xcxssrqgj" class="add-form-item form-item-disabled">
|
||||
<el-date-picker
|
||||
v-model="form.xcxssrqgj"
|
||||
type="date"
|
||||
placeholder="请选择新车型实施日期(国家)"
|
||||
value-format="yyyy-MM-dd">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
<el-form-item label="在产车实施日期(国际)" prop="zccssrqgj" class="add-form-item form-item-disabled">
|
||||
<el-date-picker
|
||||
v-model="form.zccssrqgj"
|
||||
type="date"
|
||||
placeholder="请选择在产车实施日期(国家)"
|
||||
placeholder="请选择新车型实施日期(标准文本"
|
||||
value-format="yyyy-MM-dd">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
<!-- <el-form-item label="实施日期(国际)" prop="ssrqgj" class="add-form-item form-item-disabled">-->
|
||||
<!-- <el-date-picker-->
|
||||
<!-- v-model="form.ssrqgj"-->
|
||||
<!-- type="date"-->
|
||||
<!-- placeholder="请选择实施日期(国际)"-->
|
||||
<!-- value-format="yyyy-MM-dd">-->
|
||||
<!-- </el-date-picker>-->
|
||||
<!-- </el-form-item>-->
|
||||
<!-- <el-form-item label="新车型实施日期(国际)" prop="xcxssrqgj" class="add-form-item form-item-disabled">-->
|
||||
<!-- <el-date-picker-->
|
||||
<!-- v-model="form.xcxssrqgj"-->
|
||||
<!-- type="date"-->
|
||||
<!-- placeholder="请选择新车型实施日期(国家)"-->
|
||||
<!-- value-format="yyyy-MM-dd">-->
|
||||
<!-- </el-date-picker>-->
|
||||
<!-- </el-form-item>-->
|
||||
<!-- <el-form-item label="在产车实施日期(国际)" prop="zccssrqgj" class="add-form-item form-item-disabled">-->
|
||||
<!-- <el-date-picker-->
|
||||
<!-- v-model="form.zccssrqgj"-->
|
||||
<!-- type="date"-->
|
||||
<!-- placeholder="请选择在产车实施日期(国家)"-->
|
||||
<!-- value-format="yyyy-MM-dd">-->
|
||||
<!-- </el-date-picker>-->
|
||||
<!-- </el-form-item>-->
|
||||
</el-col>
|
||||
</el-row>
|
||||
</div>
|
||||
@@ -835,7 +835,7 @@
|
||||
:action="fileUrl"
|
||||
ref="importfile"
|
||||
name="file"
|
||||
accept=".ZIP, .zip, .doc, .DOC, .docx, .DOCX, .xls, .xlsx"
|
||||
accept=".pdf, .PDF, .ppt, .PPT, .pptx,.PPTX, .doc, .DOC, .docx, .DOCX, .xls, .xlsx"
|
||||
:before-upload="beginImportFile"
|
||||
:on-success="importFileSuccess"
|
||||
:show-file-list="false"
|
||||
@@ -1076,9 +1076,12 @@
|
||||
align="center">
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="standStateShow"
|
||||
label="标准状态"
|
||||
prop="textStatus"
|
||||
label="文本状态"
|
||||
align="center">
|
||||
<template slot-scope="scope">
|
||||
<span>{{ textStatusMap[scope.row.textStatus] }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="操作" align="center" width="80">
|
||||
<template slot-scope="scope">
|
||||
@@ -1142,6 +1145,7 @@
|
||||
},
|
||||
data () {
|
||||
return {
|
||||
textStatusMap: {}, // 文本状态id与name对应
|
||||
standardDrawer: false,
|
||||
loadSarStandard: false,
|
||||
verifySarStandard: false,
|
||||
@@ -1440,6 +1444,13 @@
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
// 将文本状态的id与name对应
|
||||
setMap(data){
|
||||
data.forEach(item => {
|
||||
this.$set(this.textStatusMap, item.value, item.label)
|
||||
})
|
||||
console.log(this.textStatusMap, '文本状态的值')
|
||||
},
|
||||
clearFormData(data){
|
||||
this.form = {
|
||||
// 基础信息
|
||||
@@ -1888,11 +1899,11 @@
|
||||
var fileSuffix = filename.substring(index1, index2)
|
||||
// const fileSuffix = file.name.split('.')[1] // 后缀名
|
||||
// 判断上传文件格式
|
||||
if (fileSuffix === '.ZIP' || fileSuffix === '.doc' || fileSuffix === '.DOC' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.zip' || fileSuffix === '.xls' || fileSuffix === '.xlsx') {
|
||||
if (fileSuffix === '.pdf' || fileSuffix === '.PDF' || fileSuffix === '.ppt'|| fileSuffix === '.PPT' || fileSuffix === '.pptx'|| fileSuffix === '.PPTX'|| fileSuffix === '.doc' || fileSuffix === '.DOC' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.zip' || fileSuffix === '.xls' || fileSuffix === '.xlsx') {
|
||||
return true
|
||||
} else {
|
||||
this.spinShow = false
|
||||
this.$message.error('文件' + file.name + '格式不正确,请上传ZIP/DOC/DOCX或XLS文件')
|
||||
this.$message.error('文件' + file.name + '格式不正确,请上传PDF/PPT/PPTX/DOC/DOCX或XLS文件')
|
||||
return false
|
||||
}
|
||||
// 判断文件上传大小
|
||||
@@ -2129,6 +2140,7 @@
|
||||
this.zrbmOptions = res.data.ZRBMCLASS // 责任部门
|
||||
this.zrgcsOptions = res.data.ZRGCSCLASS // 责任工程师
|
||||
this.qcdwOption = res.data.QCDW // 体系类别
|
||||
this.setMap(this.standStateOptions)
|
||||
})
|
||||
this.busVsFunc()
|
||||
this.modelFunc()
|
||||
|
||||
@@ -147,15 +147,6 @@
|
||||
value-format="yyyy-MM-dd">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
<el-form-item label="新车型实施日期(标准文本)" prop="xcxssrq" class="add-form-item form-item-disabled">
|
||||
<el-date-picker
|
||||
disabled
|
||||
v-model="form.xcxssrq"
|
||||
type="date"
|
||||
placeholder="请选择新车型实施日期(标准文本"
|
||||
value-format="yyyy-MM-dd">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
<el-form-item label="在产车实施日期(标准文本)" prop="zccssrq" class="add-form-item form-item-disabled">
|
||||
<el-date-picker
|
||||
disabled
|
||||
@@ -167,33 +158,42 @@
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="实施日期(国际)" prop="ssrqgj" class="add-form-item form-item-disabled">
|
||||
<el-form-item label="新车型实施日期(标准文本)" prop="xcxssrq" class="add-form-item form-item-disabled">
|
||||
<el-date-picker
|
||||
disabled
|
||||
v-model="form.ssrqgj"
|
||||
v-model="form.xcxssrq"
|
||||
type="date"
|
||||
placeholder="请选择实施日期(国际)"
|
||||
value-format="yyyy-MM-dd">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
<el-form-item label="新车型实施日期(国际)" prop="xcxssrqgj" class="add-form-item form-item-disabled">
|
||||
<el-date-picker
|
||||
disabled
|
||||
v-model="form.xcxssrqgj"
|
||||
type="date"
|
||||
placeholder="请选择新车型实施日期(国家)"
|
||||
value-format="yyyy-MM-dd">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
<el-form-item label="在产车实施日期(国际)" prop="zccssrqgj" class="add-form-item form-item-disabled">
|
||||
<el-date-picker
|
||||
disabled
|
||||
v-model="form.zccssrqgj"
|
||||
type="date"
|
||||
placeholder="请选择在产车实施日期(国家)"
|
||||
placeholder="请选择新车型实施日期(标准文本"
|
||||
value-format="yyyy-MM-dd">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
<!-- <el-form-item label="实施日期(国际)" prop="ssrqgj" class="add-form-item form-item-disabled">-->
|
||||
<!-- <el-date-picker-->
|
||||
<!-- disabled-->
|
||||
<!-- v-model="form.ssrqgj"-->
|
||||
<!-- type="date"-->
|
||||
<!-- placeholder="请选择实施日期(国际)"-->
|
||||
<!-- value-format="yyyy-MM-dd">-->
|
||||
<!-- </el-date-picker>-->
|
||||
<!-- </el-form-item>-->
|
||||
<!-- <el-form-item label="新车型实施日期(国际)" prop="xcxssrqgj" class="add-form-item form-item-disabled">-->
|
||||
<!-- <el-date-picker-->
|
||||
<!-- disabled-->
|
||||
<!-- v-model="form.xcxssrqgj"-->
|
||||
<!-- type="date"-->
|
||||
<!-- placeholder="请选择新车型实施日期(国家)"-->
|
||||
<!-- value-format="yyyy-MM-dd">-->
|
||||
<!-- </el-date-picker>-->
|
||||
<!-- </el-form-item>-->
|
||||
<!-- <el-form-item label="在产车实施日期(国际)" prop="zccssrqgj" class="add-form-item form-item-disabled">-->
|
||||
<!-- <el-date-picker-->
|
||||
<!-- disabled-->
|
||||
<!-- v-model="form.zccssrqgj"-->
|
||||
<!-- type="date"-->
|
||||
<!-- placeholder="请选择在产车实施日期(国家)"-->
|
||||
<!-- value-format="yyyy-MM-dd">-->
|
||||
<!-- </el-date-picker>-->
|
||||
<!-- </el-form-item>-->
|
||||
</el-col>
|
||||
</el-row>
|
||||
</div>
|
||||
@@ -928,7 +928,27 @@
|
||||
this.active = name
|
||||
},
|
||||
handleSave() {
|
||||
this.$message.success('保存成功')
|
||||
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.uName)
|
||||
_formData.append('prcType', this.$route.query.type)
|
||||
_formData.append('json', JSON.stringify({
|
||||
prcForm: this.prcForm,
|
||||
sarAccessInfoList: this.sarAccessInfoList,
|
||||
sarAccessInfoListADMIN: this.sarAccessInfoListADMIN,
|
||||
bzqdForm: this.bzqdForm,
|
||||
listInfo: this.listInfo,
|
||||
id: this.id
|
||||
}))
|
||||
saveTaskFirst(_formData).then(res => {
|
||||
this.saveLoading = false
|
||||
this.$message.success('保存成功')
|
||||
// this.bpnId = res.result
|
||||
}).catch(e => {
|
||||
this.saveLoading = false
|
||||
})
|
||||
},
|
||||
handleSubmit() {
|
||||
this.isSubmit = true
|
||||
|
||||
@@ -145,14 +145,6 @@
|
||||
placeholder="请选择标准实施日期(标准文本)">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
<el-form-item label="新车型实施日期(标准文本)" prop="xcxssrq" class="add-form-item form-item-disabled">
|
||||
<el-date-picker
|
||||
disabled
|
||||
v-model="form.xcxssrq"
|
||||
type="date"
|
||||
placeholder="请选择新车型实施日期(标准文本">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
<el-form-item label="在产车实施日期(标准文本)" prop="zccssrq" class="add-form-item form-item-disabled">
|
||||
<el-date-picker
|
||||
disabled
|
||||
@@ -163,30 +155,38 @@
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="实施日期(国际)" prop="ssrqgj" class="add-form-item form-item-disabled">
|
||||
<el-form-item label="新车型实施日期(标准文本)" prop="xcxssrq" class="add-form-item form-item-disabled">
|
||||
<el-date-picker
|
||||
disabled
|
||||
v-model="form.ssrqgj"
|
||||
type="date"
|
||||
placeholder="请选择实施日期(国际)">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
<el-form-item label="新车型实施日期(国际)" prop="xcxssrqgj" class="add-form-item form-item-disabled">
|
||||
<el-date-picker
|
||||
disabled
|
||||
v-model="form.xcxssrqgj"
|
||||
type="date"
|
||||
placeholder="请选择新车型实施日期(国家)">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
<el-form-item label="在产车实施日期(国际)" prop="zccssrqgj" class="add-form-item form-item-disabled">
|
||||
<el-date-picker
|
||||
disabled
|
||||
v-model="form.zccssrqgj"
|
||||
type="date"
|
||||
placeholder="请选择在产车实施日期(国家)">
|
||||
disabled
|
||||
v-model="form.xcxssrq"
|
||||
type="date"
|
||||
placeholder="请选择新车型实施日期(标准文本">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
<!-- <el-form-item label="实施日期(国际)" prop="ssrqgj" class="add-form-item form-item-disabled">-->
|
||||
<!-- <el-date-picker-->
|
||||
<!-- disabled-->
|
||||
<!-- v-model="form.ssrqgj"-->
|
||||
<!-- type="date"-->
|
||||
<!-- placeholder="请选择实施日期(国际)">-->
|
||||
<!-- </el-date-picker>-->
|
||||
<!-- </el-form-item>-->
|
||||
<!-- <el-form-item label="新车型实施日期(国际)" prop="xcxssrqgj" class="add-form-item form-item-disabled">-->
|
||||
<!-- <el-date-picker-->
|
||||
<!-- disabled-->
|
||||
<!-- v-model="form.xcxssrqgj"-->
|
||||
<!-- type="date"-->
|
||||
<!-- placeholder="请选择新车型实施日期(国家)">-->
|
||||
<!-- </el-date-picker>-->
|
||||
<!-- </el-form-item>-->
|
||||
<!-- <el-form-item label="在产车实施日期(国际)" prop="zccssrqgj" class="add-form-item form-item-disabled">-->
|
||||
<!-- <el-date-picker-->
|
||||
<!-- disabled-->
|
||||
<!-- v-model="form.zccssrqgj"-->
|
||||
<!-- type="date"-->
|
||||
<!-- placeholder="请选择在产车实施日期(国家)">-->
|
||||
<!-- </el-date-picker>-->
|
||||
<!-- </el-form-item>-->
|
||||
</el-col>
|
||||
</el-row>
|
||||
</div>
|
||||
@@ -921,7 +921,27 @@ export default {
|
||||
this.active = name
|
||||
},
|
||||
handleSave() {
|
||||
this.$message.success('保存成功')
|
||||
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.uName)
|
||||
_formData.append('prcType', this.$route.query.type)
|
||||
_formData.append('json', JSON.stringify({
|
||||
prcForm: this.prcForm,
|
||||
sarAccessInfoList: this.sarAccessInfoList,
|
||||
sarAccessInfoListADMIN: this.sarAccessInfoListADMIN,
|
||||
bzqdForm: this.bzqdForm,
|
||||
listInfo: this.listInfo,
|
||||
id: this.id
|
||||
}))
|
||||
saveTaskFirst(_formData).then(res => {
|
||||
this.saveLoading = false
|
||||
this.$message.success('保存成功')
|
||||
// this.bpnId = res.result
|
||||
}).catch(e => {
|
||||
this.saveLoading = false
|
||||
})
|
||||
},
|
||||
handleSubmit() {
|
||||
this.isSubmit = false
|
||||
|
||||
@@ -149,13 +149,6 @@
|
||||
placeholder="请选择标准实施日期(标准文本)">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
<el-form-item label="新车型实施日期(标准文本)" prop="xcxssrq" class="add-form-item form-item-disabled">
|
||||
<el-date-picker
|
||||
v-model="form.xcxssrq"
|
||||
type="date"
|
||||
placeholder="请选择新车型实施日期(标准文本">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
<el-form-item label="在产车实施日期(标准文本)" prop="zccssrq" class="add-form-item form-item-disabled">
|
||||
<el-date-picker
|
||||
v-model="form.zccssrq"
|
||||
@@ -165,27 +158,34 @@
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="实施日期(国际)" prop="ssrqgj" class="add-form-item form-item-disabled">
|
||||
<el-form-item label="新车型实施日期(标准文本)" prop="xcxssrq" class="add-form-item form-item-disabled">
|
||||
<el-date-picker
|
||||
v-model="form.ssrqgj"
|
||||
type="date"
|
||||
placeholder="请选择实施日期(国际)">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
<el-form-item label="新车型实施日期(国际)" prop="xcxssrqgj" class="add-form-item form-item-disabled">
|
||||
<el-date-picker
|
||||
v-model="form.xcxssrqgj"
|
||||
type="date"
|
||||
placeholder="请选择新车型实施日期(国家)">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
<el-form-item label="在产车实施日期(国际)" prop="zccssrqgj" class="add-form-item form-item-disabled">
|
||||
<el-date-picker
|
||||
v-model="form.zccssrqgj"
|
||||
type="date"
|
||||
placeholder="请选择在产车实施日期(国家)">
|
||||
v-model="form.xcxssrq"
|
||||
type="date"
|
||||
placeholder="请选择新车型实施日期(标准文本">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
<!-- <el-form-item label="实施日期(国际)" prop="ssrqgj" class="add-form-item form-item-disabled">-->
|
||||
<!-- <el-date-picker-->
|
||||
<!-- v-model="form.ssrqgj"-->
|
||||
<!-- type="date"-->
|
||||
<!-- placeholder="请选择实施日期(国际)">-->
|
||||
<!-- </el-date-picker>-->
|
||||
<!-- </el-form-item>-->
|
||||
<!-- <el-form-item label="新车型实施日期(国际)" prop="xcxssrqgj" class="add-form-item form-item-disabled">-->
|
||||
<!-- <el-date-picker-->
|
||||
<!-- v-model="form.xcxssrqgj"-->
|
||||
<!-- type="date"-->
|
||||
<!-- placeholder="请选择新车型实施日期(国家)">-->
|
||||
<!-- </el-date-picker>-->
|
||||
<!-- </el-form-item>-->
|
||||
<!-- <el-form-item label="在产车实施日期(国际)" prop="zccssrqgj" class="add-form-item form-item-disabled">-->
|
||||
<!-- <el-date-picker-->
|
||||
<!-- v-model="form.zccssrqgj"-->
|
||||
<!-- type="date"-->
|
||||
<!-- placeholder="请选择在产车实施日期(国家)">-->
|
||||
<!-- </el-date-picker>-->
|
||||
<!-- </el-form-item>-->
|
||||
</el-col>
|
||||
</el-row>
|
||||
</div>
|
||||
@@ -896,7 +896,7 @@
|
||||
:action="fileUrl"
|
||||
ref="importfile"
|
||||
name="file"
|
||||
accept=".ZIP, .zip, .doc, .DOC, .docx, .DOCX, .xls, .xlsx"
|
||||
accept=".pdf, .PDF, .ppt, .PPT, .pptx,.PPTX, .doc, .DOC, .docx, .DOCX, .xls, .xlsx"
|
||||
:before-upload="beginImportFile"
|
||||
:on-success="importFileSuccess"
|
||||
:show-file-list="false"
|
||||
@@ -1463,11 +1463,11 @@ export default {
|
||||
var fileSuffix = filename.substring(index1, index2)
|
||||
// const fileSuffix = file.name.split('.')[1] // 后缀名
|
||||
// 判断上传文件格式
|
||||
if (fileSuffix === '.ZIP' || fileSuffix === '.doc' || fileSuffix === '.DOC' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.zip' || fileSuffix === '.xls' || fileSuffix === '.xlsx') {
|
||||
if (fileSuffix === '.pdf' || fileSuffix === '.PDF' || fileSuffix === '.ppt'|| fileSuffix === '.PPT' || fileSuffix === '.pptx'|| fileSuffix === '.PPTX'|| fileSuffix === '.doc' || fileSuffix === '.DOC' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.zip' || fileSuffix === '.xls' || fileSuffix === '.xlsx') {
|
||||
return true
|
||||
} else {
|
||||
this.spinShow = false
|
||||
this.$message.error('文件' + file.name + '格式不正确,请上传ZIP/DOC/DOCX或XLS文件')
|
||||
this.$message.error('文件' + file.name + '格式不正确,请上传PDF/PPT/PPTX/DOC/DOCX或XLS文件')
|
||||
return false
|
||||
}
|
||||
// 判断文件上传大小
|
||||
|
||||
+2
-10
@@ -86,12 +86,6 @@
|
||||
prop="countryArea"
|
||||
label="国家/地区"
|
||||
align="center">
|
||||
<template slot-scope="scope">
|
||||
<span v-if="scope.row.countryArea !== null && scope.row.countryArea.indexOf(',') > 0">
|
||||
<span>{{ scope.row.countryArea }}</span>
|
||||
</span>
|
||||
<span v-else>{{ countryAreaMap[scope.row.countryArea] }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="detailedListName"
|
||||
@@ -289,10 +283,8 @@ export default {
|
||||
this.searchSarAccess();
|
||||
},
|
||||
clearSearch() {
|
||||
this.sarSarAccessEOSearch = {
|
||||
countryArea: "",
|
||||
detailedListName: ""
|
||||
};
|
||||
this.sarSarAccessEOSearch.countryArea = ''
|
||||
this.sarSarAccessEOSearch.detailedListName = ''
|
||||
this.searchSarAccess();
|
||||
},
|
||||
// 新增相关
|
||||
|
||||
@@ -165,12 +165,11 @@ export default {
|
||||
total: 0,
|
||||
page: 1,
|
||||
rows: 10,
|
||||
pageSize: this.$store.getters.userInfo.configContent,
|
||||
// 查询相关参数
|
||||
sarSarAccessEOSearch: {
|
||||
detailedList: "",
|
||||
detailedListName: "",
|
||||
page: 1,
|
||||
pageSize: this.$store.getters.userInfo.configContent
|
||||
},
|
||||
sarAccessListDatas: [],
|
||||
sarAccessListTotal: 0,
|
||||
@@ -267,9 +266,9 @@ export default {
|
||||
//分页查询
|
||||
searchSarAccess() {
|
||||
this.$http.get("sarLawsDetailedList/sar-laws-detailed-list/getAllStand", {
|
||||
...this.sarSarAccessEOSearch,
|
||||
page: 1,
|
||||
pageSize: 10,
|
||||
pageSize: this.pageSize,
|
||||
...this.sarSarAccessEOSearch,
|
||||
sortKey: 3
|
||||
}, {
|
||||
_this: this
|
||||
@@ -289,10 +288,8 @@ export default {
|
||||
this.searchSarAccess();
|
||||
},
|
||||
clearSearch() {
|
||||
this.sarSarAccessEOSearch = {
|
||||
detailedList: "",
|
||||
detailedListName: ""
|
||||
};
|
||||
this.sarSarAccessEOSearch.detailedList = ''
|
||||
this.sarSarAccessEOSearch.detailedListName = ''
|
||||
this.searchSarAccess();
|
||||
},
|
||||
// 新增相关
|
||||
|
||||
@@ -165,13 +165,12 @@ export default {
|
||||
searching: false,
|
||||
total: 0,
|
||||
page: 1,
|
||||
pageSize: this.$store.getters.userInfo.configContent,
|
||||
rows: 10,
|
||||
// 查询相关参数
|
||||
sarSarAccessEOSearch: {
|
||||
projectName: "",
|
||||
detailedListName: "",
|
||||
page: 1,
|
||||
pageSize: this.$store.getters.userInfo.configContent
|
||||
},
|
||||
sarAccessListDatas: [],
|
||||
sarAccessListTotal: 0,
|
||||
@@ -268,9 +267,9 @@ export default {
|
||||
//分页查询
|
||||
searchSarAccess() {
|
||||
this.$http.get("sarLawsDetailedList/sar-laws-detailed-list/getAllStand", {
|
||||
page: this.page,
|
||||
pageSize: this.pageSize,
|
||||
...this.sarSarAccessEOSearch,
|
||||
page: 1,
|
||||
pageSize: 10,
|
||||
sortKey: 2
|
||||
}, {
|
||||
_this: this
|
||||
@@ -291,10 +290,8 @@ export default {
|
||||
},
|
||||
//清空
|
||||
clearSearch() {
|
||||
this.sarSarAccessEOSearch = {
|
||||
projectName: "",
|
||||
detailedListName: "",
|
||||
};
|
||||
this.sarSarAccessEOSearch.projectName = ''
|
||||
this.sarSarAccessEOSearch.detailedListName = ''
|
||||
this.searchSarAccess()
|
||||
|
||||
},
|
||||
|
||||
@@ -238,12 +238,12 @@
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="code"
|
||||
show-overflow-tooltip
|
||||
fixed="left"
|
||||
width="180px"
|
||||
label="标准号">
|
||||
<template slot-scope="scope">
|
||||
<a v-if="scope.row.standYear" class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standSortShow }} {{ scope.row.standNumber }}-{{ scope.row.standYear }}</a>
|
||||
<a v-else @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standSortShow }} {{ scope.row.standNumber }}</a>
|
||||
<a @click="handlePreview(scope.row)" class="table-jump">{{scope.row.standSortShow}} {{ scope.row.standNumber }}-{{scope.row.standYear}}</a>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
@@ -370,12 +370,13 @@
|
||||
align="center">
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="code"
|
||||
show-overflow-tooltip
|
||||
width="180px"
|
||||
fixed="left"
|
||||
label="标准号">
|
||||
<template slot-scope="scope">
|
||||
<a v-if="scope.row.standYear" class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standSortShow }} {{ scope.row.standNumber }}-{{ scope.row.standYear }}</a>
|
||||
<a v-else @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standSortShow }} {{ scope.row.standNumber }}</a>
|
||||
<a @click="handlePreview(scope.row)">{{scope.row.standSortShow}} {{ scope.row.standNumber }}-{{scope.row.standYear}}</a>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
@@ -675,6 +676,7 @@ export default {
|
||||
editRowData: {
|
||||
id: '',
|
||||
standName: '',
|
||||
standSortShow:'',
|
||||
standEnName: '',
|
||||
typeApplicable: '',
|
||||
nylx: '',
|
||||
@@ -714,7 +716,7 @@ export default {
|
||||
],
|
||||
detailedListName: [
|
||||
{required: true, message: '清单名称不能为空', trigger: 'blur'},
|
||||
{type: 'string', max: 100, message: '表单名称不能超过100个字符', trigger: 'blur'}
|
||||
{type: 'string', max: 100, message: '清单名称不能超过100个字符', trigger: 'blur'}
|
||||
]
|
||||
},
|
||||
disabledFlag: false,
|
||||
@@ -739,7 +741,7 @@ export default {
|
||||
dataSourceOptions: [
|
||||
{value: 'INLAND_STAND', label: '国内标准法规'},
|
||||
{value: 'FOREIGN_STAND', label: '海外标准法规'},
|
||||
{value: 'FOREIGN_LAWS', label: '国内外政策'},
|
||||
//{value: 'FOREIGN_LAWS', label: '国内外政策'},
|
||||
// {value: 'BUSINESS', label: '企业标准 '},
|
||||
{value: 'TEMP', label: '标准法规清单 '}
|
||||
],
|
||||
@@ -876,6 +878,7 @@ export default {
|
||||
// country: 'CN', // 适用区域
|
||||
standSort: '', // 标准类别
|
||||
standNumber: '', // 标准编号
|
||||
standSortShow:'',
|
||||
standYear: '', // 标准年份
|
||||
standName: '', // 中文名称
|
||||
standEnName: '', // 英文名称
|
||||
@@ -896,6 +899,7 @@ export default {
|
||||
// country: 'CN', // 适用区域
|
||||
standSort: '', // 标准类别
|
||||
standNumber: '', // 标准编号
|
||||
standSortShow:'',
|
||||
standYear: '', // 标准年份
|
||||
standName: '', // 中文名称
|
||||
standEnName: '', // 英文名称
|
||||
@@ -1321,7 +1325,7 @@ export default {
|
||||
editTghisRow(row) {
|
||||
this.rowList = row
|
||||
this.editRowData = this.rowList
|
||||
this.editRowData.standNumber = this.rowList.standSortShow + this.rowList.standNumber
|
||||
this.editRowData.standNumber = this.rowList.standSortShow + this.rowList.standNumber + '-' + this.rowList.standYear
|
||||
this.drawerEdit = true
|
||||
},
|
||||
// 抽屉取消按钮
|
||||
@@ -1357,15 +1361,17 @@ export default {
|
||||
roundButton: true,
|
||||
type: 'warning'
|
||||
}).then(() => {
|
||||
// i 全部对象数组的下标
|
||||
// s 选中对象数组的下标
|
||||
for (var s in this.sarAccessInfoListArry) {
|
||||
for (var i in this.sarAccessInfoList) {
|
||||
if (this.sarAccessInfoListArry[s].uuid === this.sarAccessInfoList[i].uuid) {
|
||||
this.sarAccessInfoList.splice(i, 1)
|
||||
}
|
||||
let exits = []
|
||||
this.sarAccessInfoListArry.map(item => {
|
||||
let index
|
||||
index = this.sarAccessInfoList.findIndex(items => {
|
||||
return items.id = item
|
||||
})
|
||||
if (index > -1) {
|
||||
this.sarAccessInfoList.splice(index, 1)
|
||||
}
|
||||
}
|
||||
exits.push(item)
|
||||
})
|
||||
this.sarAccessInfoListArry = []
|
||||
this.$refs.entryTable.clearSelection()
|
||||
}).catch(() => {})
|
||||
@@ -1376,9 +1382,9 @@ export default {
|
||||
// 清单条目 table select事件
|
||||
sarAccessInfoSelect (selectData) {
|
||||
this.sarAccessInfoListArry = selectData
|
||||
let sarAccessInfoListArryId = []
|
||||
/* let sarAccessInfoListArryId = []
|
||||
for(let i=0; i<this.selectData.length; i++){
|
||||
}
|
||||
}*/
|
||||
},
|
||||
// 点击取消按钮 返回事件
|
||||
backCancal () {
|
||||
@@ -1449,7 +1455,7 @@ export default {
|
||||
loading: 'loadData'
|
||||
}, res => {
|
||||
if (res.ok) {
|
||||
this.$message.success('编辑成功')
|
||||
//this.$message.success('编辑成功')
|
||||
this.isNext = true
|
||||
this.$router.push({
|
||||
name: 'AccessStandardsAndRegulations'
|
||||
@@ -1467,6 +1473,25 @@ export default {
|
||||
selectLawsStands () {
|
||||
StandardsInfoPage(this.sarAccessInfoSearch).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
|
||||
}
|
||||
})
|
||||
this.sarAccessInfoSearchList.forEach(item => {
|
||||
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
|
||||
}, e => {
|
||||
})
|
||||
@@ -1580,7 +1605,7 @@ export default {
|
||||
for (var accessInfo in exportList) {
|
||||
accIdAndrestype.push(exportList[accessInfo].id)
|
||||
}
|
||||
const exportURL = interfaceUrl + 'sarLawsAttrDetailedList/sar-laws-attr-detailed-list/ExportLawsById?'+ '&exportType=apart'+ '&ids=' + accIdAndrestype.join(',')+ '&exportName=' + this.exportName
|
||||
const exportURL = interfaceUrl + 'sarLawsAttrDetailedList/sar-laws-attr-detailed-list/ExportLawsById?'+ '&exportType=apart'+ '&id=' + accIdAndrestype.join(',')+ '&exportName=' + this.exportName
|
||||
window.open(exportURL)
|
||||
this.$message.success('导出信息成功')
|
||||
}
|
||||
@@ -1886,12 +1911,12 @@ export default {
|
||||
})
|
||||
},
|
||||
// 点击查看
|
||||
handlePreview (item) {
|
||||
let routerName = item.sarType === 'FOREIGN_LAWS' ? 'OtherLawsDetails' : 'OtherStandardDetails'
|
||||
handlePreview (data) {
|
||||
let routerName = data.sarType === 'FOREIGN_LAWS' ? 'OtherLawsDetails' : 'OtherStandardDetails'
|
||||
let routeUrl = this.$router.resolve({
|
||||
name: routerName,
|
||||
params: {
|
||||
id: item.resId,
|
||||
id: data.id,
|
||||
pageType: this.sarAccessInfoSearch.dataSource
|
||||
}
|
||||
})
|
||||
@@ -1994,6 +2019,13 @@ export default {
|
||||
_this: this
|
||||
}, res => {
|
||||
this.sarAccessInfoList = res.data
|
||||
this.sarAccessInfoList.forEach(item => {
|
||||
if (item.standYear === null) {
|
||||
item.standNumber = item.standSortShow + ' ' + item.standNumber
|
||||
} else {
|
||||
item.standNumber = item.standSortShow + ' ' + item.standNumber + '-' + item.standYear
|
||||
}
|
||||
})
|
||||
}, e => {
|
||||
})
|
||||
},
|
||||
|
||||
@@ -57,7 +57,21 @@
|
||||
clearable></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="责任部门" class="search-item" prop="responseUnit">
|
||||
<el-input v-model="standardForm.responseUnit" v-show="false"></el-input>
|
||||
<el-select
|
||||
class="showBox"
|
||||
v-model="standardForm.zrbm"
|
||||
placeholder="请选择"
|
||||
filterable
|
||||
size="small"
|
||||
>
|
||||
<el-option
|
||||
v-for="item in zrbmOptions"
|
||||
:value="item.value"
|
||||
:key="item.value"
|
||||
:label="item.label"
|
||||
/>
|
||||
</el-select>
|
||||
<!-- <el-input v-model="standardForm.responseUnit" v-show="false"></el-input>
|
||||
<el-popover placement="bottom" popper-class="user-dept-popper" trigger="click">
|
||||
<el-input
|
||||
v-model="standardForm.responseUnit"
|
||||
@@ -76,7 +90,7 @@
|
||||
class="ztree" style="height: 300px;overflow: auto">
|
||||
</laws-tree>
|
||||
</div>
|
||||
</el-popover>
|
||||
</el-popover>-->
|
||||
</el-form-item>
|
||||
<el-form-item label="" class="search-item btn-box">
|
||||
<el-button v-btn-permission="'670dd74a8469a6232a0762c69b575775'" class="common-button-primary" type="primary" size="small" @click="selectProductBtn">查询
|
||||
@@ -103,10 +117,10 @@
|
||||
</el-button>
|
||||
</el-form>
|
||||
<div v-if="!showSelectBox">
|
||||
<el-form :model="standardForm" class="label-input-form" label-width="108px" inline>
|
||||
<el-form-item label="英文名称" class="search-item">
|
||||
<el-form :model="standardFormList" class="label-input-form" label-width="108px" inline>
|
||||
<el-form-item label="中文名称" class="search-item">
|
||||
<el-input
|
||||
v-model="standardForm.standEnName"
|
||||
v-model="standardFormList.standName"
|
||||
placeholder="请输入"
|
||||
:maxlength="100"
|
||||
size="small"
|
||||
@@ -115,7 +129,7 @@
|
||||
<el-form-item label="适用车型" class="labelBox" label-width="61px">
|
||||
<el-select
|
||||
class="showBox"
|
||||
v-model="standardForm.typeApplicable"
|
||||
v-model="standardFormList.typeApplicable"
|
||||
placeholder="请选择"
|
||||
filterable
|
||||
size="small"
|
||||
@@ -131,13 +145,29 @@
|
||||
<el-form-item label="能源类型" >
|
||||
<el-select
|
||||
class="showBox"
|
||||
v-model="standardForm.nylx"
|
||||
v-model="standardFormList.nylx"
|
||||
placeholder="请选择"
|
||||
filterable
|
||||
size="small"
|
||||
>
|
||||
<el-option
|
||||
v-for="item in energyKindOptions"
|
||||
v-for="item in categoryOptions"
|
||||
:value="item.value"
|
||||
:key="item.value"
|
||||
:label="item.label"
|
||||
/>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="责任部门" >
|
||||
<el-select
|
||||
class="showBox"
|
||||
v-model="standardFormList.zrbm"
|
||||
placeholder="请选择"
|
||||
filterable
|
||||
size="small"
|
||||
>
|
||||
<el-option
|
||||
v-for="item in zrbmOptions"
|
||||
:value="item.value"
|
||||
:key="item.value"
|
||||
:label="item.label"
|
||||
@@ -147,7 +177,7 @@
|
||||
<el-form-item label="适用产品线" >
|
||||
<el-select
|
||||
class="showBox"
|
||||
v-model="standardForm.sycpx"
|
||||
v-model="standardFormList.sycpx"
|
||||
placeholder="请选择"
|
||||
filterable
|
||||
size="small"
|
||||
@@ -182,14 +212,13 @@
|
||||
align="center">
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="standNumber"
|
||||
prop="code"
|
||||
fixed="left"
|
||||
width="180px"
|
||||
align="center"
|
||||
label="标准号">
|
||||
<template slot-scope="scope">
|
||||
<a v-if="scope.row.resId" class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standNumber }}</a>
|
||||
<span v-else>{{ scope.row.standNumber }}</span>
|
||||
<a class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standNumber }}</a>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
@@ -197,12 +226,18 @@
|
||||
label="中文名称"
|
||||
width="180px"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<a class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standName }}</a>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="standEnName"
|
||||
align="center"
|
||||
width="180px"
|
||||
label="英文名称">
|
||||
<template slot-scope="scope">
|
||||
<a class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standEnName }}</a>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="typeApplicable"
|
||||
@@ -379,7 +414,7 @@ export default {
|
||||
// 适用车型
|
||||
applyArcticOptions: [],
|
||||
// 能源类型
|
||||
energyKindOptions: [],
|
||||
categoryOptions: [],
|
||||
// 责任部门
|
||||
zrbmOptions: [],
|
||||
// 适用产品线
|
||||
@@ -398,6 +433,13 @@ export default {
|
||||
page: 1,
|
||||
Size: this.$store.getters.userInfo.configContent
|
||||
},
|
||||
standardFormList: {
|
||||
standNumber: '',
|
||||
standName: '',
|
||||
responseUnit: '',
|
||||
page: 1,
|
||||
Size: this.$store.getters.userInfo.configContent
|
||||
},
|
||||
page: 1,
|
||||
// pageSize: this.$store.getters.userInfo.configContent,
|
||||
total: 0,
|
||||
@@ -463,6 +505,7 @@ export default {
|
||||
// 根据准入id查询标准法规详情
|
||||
selectInfobyAccid() {
|
||||
this.$http.get("sarLawsAttrDetailedList/sar-laws-attr-detailed-list/selectLawsById", {
|
||||
...this.standardFormList,
|
||||
...this.standardForm,
|
||||
id: this.pageId,
|
||||
}, {
|
||||
@@ -477,8 +520,24 @@ export default {
|
||||
|
||||
back() {
|
||||
this.$router.push({
|
||||
name: "AccessStandardsAndRegulations"
|
||||
});
|
||||
name: 'AccessStandardsAndRegulations',
|
||||
})
|
||||
/* if (this.sarAccessEO.sortKey === '1') {
|
||||
this.$router.push({
|
||||
name: 'AccessStandardsAndRegulations',
|
||||
menuName: '国家/地区清单'
|
||||
})
|
||||
} else if(this.sarAccessEO.sortKey === '2') {
|
||||
this.$router.push({
|
||||
name: 'AccessStandardsAndRegulations',
|
||||
menuName: '项目类清单'
|
||||
})
|
||||
} else {
|
||||
this.$router.push({
|
||||
name: 'AccessStandardsAndRegulations',
|
||||
menuName: '其他清单'
|
||||
})
|
||||
}*/
|
||||
// this.$router.push(this.$store.state.detailMap)
|
||||
// this.$store.commit('setDetailMap', '')
|
||||
},
|
||||
@@ -490,11 +549,9 @@ export default {
|
||||
},
|
||||
// 重置搜索
|
||||
resetSelect() {
|
||||
this.standardForm = {
|
||||
standName: "",
|
||||
responseUnit: ""
|
||||
};
|
||||
this.selectInfobyAccid();
|
||||
this.standardForm.standName = ''
|
||||
this.standardForm.responseUnit = ''
|
||||
this.selectInfobyAccid()
|
||||
},
|
||||
exportStandard() {
|
||||
if (this.selectedList.length > 0) {
|
||||
@@ -604,12 +661,13 @@ export default {
|
||||
window.location.href = "/api/att/attFile/downloadFile?fileId=" + attId
|
||||
},
|
||||
// 点击查看
|
||||
handlePreview(item) {
|
||||
handlePreview(data) {
|
||||
debugger
|
||||
let routeUrl = this.$router.resolve({
|
||||
name: "OtherStandardDetails",
|
||||
params: {
|
||||
id: item.resId,
|
||||
pageType: item.sarType
|
||||
id: data.id,
|
||||
pageType: data.sarType
|
||||
}
|
||||
});
|
||||
window.open(routeUrl.href, "_blank");
|
||||
|
||||
+46
-16
@@ -211,13 +211,13 @@
|
||||
>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="code"
|
||||
prop="standNumber"
|
||||
show-overflow-tooltip
|
||||
fixed="left"
|
||||
width="180px"
|
||||
label="标准号">
|
||||
<template slot-scope="scope">
|
||||
<a v-if="scope.row.standYear" class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standSortShow }} {{ scope.row.standNumber }}-{{ scope.row.standYear }}</a>
|
||||
<a v-else @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standSortShow }} {{ scope.row.standNumber }}</a>
|
||||
<a @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standNumber }}</a>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
@@ -338,12 +338,13 @@
|
||||
align="center">
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="standNumber"
|
||||
show-overflow-tooltip
|
||||
width="180px"
|
||||
fixed="left"
|
||||
label="标准号">
|
||||
<template slot-scope="scope">
|
||||
<a v-if="scope.row.standYear" class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standSortShow }} {{ scope.row.standNumber }}-{{ scope.row.standYear }}</a>
|
||||
<a v-else @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standSortShow }} {{ scope.row.standNumber }}</a>
|
||||
<a @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standNumber }}</a>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
@@ -576,11 +577,11 @@ export default {
|
||||
{required: true, message: '国内/海外不能为空', trigger: 'change'}
|
||||
],
|
||||
detailedList: [
|
||||
{required: true, message: '清单类别不能为空', trigger: 'change'}
|
||||
{required: true, message: '清单类别不能为空', trigger: 'blur'}
|
||||
],
|
||||
detailedListName: [
|
||||
{required: true, message: '清单名称不能为空', trigger: 'blur'},
|
||||
{type: 'string', max: 100, message: '表单名称不能超过100个字符', trigger: 'blur'}
|
||||
{type: 'string', max: 100, message: '清单名称不能超过100个字符', trigger: 'blur'}
|
||||
]
|
||||
},
|
||||
disabledFlag: false,
|
||||
@@ -943,6 +944,7 @@ export default {
|
||||
},
|
||||
// 点击清空查询条件 按钮事件
|
||||
clearSearchLaws () {
|
||||
this.sarAccessInfoSearch.standName = ''
|
||||
this.sarAccessInfoSearch.advanceSearchVOStr = ''
|
||||
this.sarAccessInfoSearch.applyArctic = '' // 能源种类
|
||||
this.sarAccessInfoSearch.keywords = '' // 关键字
|
||||
@@ -1187,15 +1189,17 @@ export default {
|
||||
roundButton: true,
|
||||
type: 'warning'
|
||||
}).then(() => {
|
||||
// i 全部对象数组的下标
|
||||
// s 选中对象数组的下标
|
||||
for (var s in this.sarAccessInfoListArry) {
|
||||
for (var i in this.sarAccessInfoList) {
|
||||
if (this.sarAccessInfoListArry[s].uuid === this.sarAccessInfoList[i].uuid) {
|
||||
this.sarAccessInfoList.splice(i, 1)
|
||||
}
|
||||
let exits = []
|
||||
this.sarAccessInfoListArry.map(item => {
|
||||
let index
|
||||
index = this.sarAccessInfoList.findIndex(items => {
|
||||
return items.id = item
|
||||
})
|
||||
if (index > -1) {
|
||||
this.sarAccessInfoList.splice(index, 1)
|
||||
}
|
||||
}
|
||||
exits.push(item)
|
||||
})
|
||||
this.sarAccessInfoListArry = []
|
||||
this.$refs.entryTable.clearSelection()
|
||||
}).catch(() => {})
|
||||
@@ -1278,6 +1282,25 @@ export default {
|
||||
_this: this
|
||||
}, 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
|
||||
}
|
||||
})
|
||||
this.sarAccessInfoSearchList.forEach(item => {
|
||||
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
|
||||
}, e => {
|
||||
|
||||
@@ -1392,7 +1415,7 @@ export default {
|
||||
for (var accessInfo in exportList) {
|
||||
accIdAndrestype.push(exportList[accessInfo].id)
|
||||
}
|
||||
const exportURL = interfaceUrl + 'sarLawsAttrDetailedList/sar-laws-attr-detailed-list/ExportLawsById?'+ '&exportType=apart'+ '&ids=' + accIdAndrestype.join(',')+ '&exportName=' + this.exportName
|
||||
const exportURL = interfaceUrl + 'sarLawsAttrDetailedList/sar-laws-attr-detailed-list/ExportLawsById?'+ '&exportType=apart'+ '&id=' + accIdAndrestype.join(',')+ '&exportName=' + this.exportName
|
||||
window.open(exportURL)
|
||||
// window.location.href = '/api/lawss/sarSarAccessInfo/exportSarSarAccessInfo?idAndSartypeList=' + accIdAndrestype.join(',') + '&exportType=apart' + '&exportName=' + exportNames
|
||||
this.$message.success('导出信息成功')
|
||||
@@ -1808,6 +1831,13 @@ export default {
|
||||
_this: this
|
||||
}, res => {
|
||||
this.sarAccessInfoList = res.data
|
||||
this.sarAccessInfoList.forEach(item => {
|
||||
if (item.standYear === null) {
|
||||
item.standNumber = item.standSortShow + ' ' + item.standNumber
|
||||
} else {
|
||||
item.standNumber = item.standSortShow + ' ' + item.standNumber + '-' + item.standYear
|
||||
}
|
||||
})
|
||||
}, e => {
|
||||
|
||||
})
|
||||
|
||||
+46
-16
@@ -215,13 +215,13 @@
|
||||
>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="code"
|
||||
prop="standNumber"
|
||||
show-overflow-tooltip
|
||||
fixed="left"
|
||||
width="180px"
|
||||
label="标准号">
|
||||
<template slot-scope="scope">
|
||||
<a v-if="scope.row.standYear" class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standSortShow }} {{ scope.row.standNumber }}-{{ scope.row.standYear }}</a>
|
||||
<a v-else @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standSortShow }} {{ scope.row.standNumber }}</a>
|
||||
<a @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standNumber }}</a>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
@@ -342,12 +342,13 @@
|
||||
align="center">
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="standNumber"
|
||||
show-overflow-tooltip
|
||||
width="180px"
|
||||
fixed="left"
|
||||
label="标准号">
|
||||
<template slot-scope="scope">
|
||||
<a v-if="scope.row.standYear" class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standSortShow }} {{ scope.row.standNumber }}-{{ scope.row.standYear }}</a>
|
||||
<a v-else @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standSortShow }} {{ scope.row.standNumber }}</a>
|
||||
<a @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standNumber }}</a>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
@@ -571,11 +572,11 @@ export default {
|
||||
],
|
||||
projectName: [
|
||||
{required: true, message: '项目名称不能为空', trigger: 'blur'},
|
||||
{type: 'string', max: 100, message: '表单名称不能超过100个字符', trigger: 'blur'}
|
||||
{type: 'string', max: 100, message: '项目名称不能超过100个字符', trigger: 'blur'}
|
||||
],
|
||||
detailedListName: [
|
||||
{required: true, message: '清单名称不能为空', trigger: 'blur'},
|
||||
{type: 'string', max: 100, message: '表单名称不能超过100个字符', trigger: 'blur'}
|
||||
{type: 'string', max: 100, message: '清单名称不能超过100个字符', trigger: 'blur'}
|
||||
]
|
||||
},
|
||||
disabledFlag: false,
|
||||
@@ -941,6 +942,7 @@ export default {
|
||||
},
|
||||
// 点击清空查询条件 按钮事件
|
||||
clearSearchLaws () {
|
||||
this.sarAccessInfoSearch.standName = ''
|
||||
this.sarAccessInfoSearch.advanceSearchVOStr = ''
|
||||
this.sarAccessInfoSearch.applyArctic = '' // 能源种类
|
||||
this.sarAccessInfoSearch.keywords = '' // 关键字
|
||||
@@ -1185,15 +1187,17 @@ export default {
|
||||
roundButton: true,
|
||||
type: 'warning'
|
||||
}).then(() => {
|
||||
// i 全部对象数组的下标
|
||||
// s 选中对象数组的下标
|
||||
for (var s in this.sarAccessInfoListArry) {
|
||||
for (var i in this.sarAccessInfoList) {
|
||||
if (this.sarAccessInfoListArry[s].uuid === this.sarAccessInfoList[i].uuid) {
|
||||
this.sarAccessInfoList.splice(i, 1)
|
||||
}
|
||||
let exits = []
|
||||
this.sarAccessInfoListArry.map(item => {
|
||||
let index
|
||||
index = this.sarAccessInfoList.findIndex(items => {
|
||||
return items.id = item
|
||||
})
|
||||
if (index > -1) {
|
||||
this.sarAccessInfoList.splice(index, 1)
|
||||
}
|
||||
}
|
||||
exits.push(item)
|
||||
})
|
||||
this.sarAccessInfoListArry = []
|
||||
this.$refs.entryTable.clearSelection()
|
||||
}).catch(() => {})
|
||||
@@ -1276,6 +1280,13 @@ export default {
|
||||
_this: this
|
||||
}, 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
|
||||
}
|
||||
})
|
||||
this.drawerTotal = res.data.list.length
|
||||
}, e => {
|
||||
|
||||
@@ -1390,7 +1401,7 @@ export default {
|
||||
for (var accessInfo in exportList) {
|
||||
accIdAndrestype.push(exportList[accessInfo].id)
|
||||
}
|
||||
const exportURL = interfaceUrl + 'sarLawsAttrDetailedList/sar-laws-attr-detailed-list/ExportLawsById?'+ '&exportType=apart'+ '&ids=' + accIdAndrestype.join(',')+ '&exportName=' + this.exportName
|
||||
const exportURL = interfaceUrl + 'sarLawsAttrDetailedList/sar-laws-attr-detailed-list/ExportLawsById?'+ '&exportType=apart'+ '&id=' + accIdAndrestype.join(',')+ '&exportName=' + this.exportName
|
||||
window.open(exportURL)
|
||||
// window.location.href = '/api/lawss/sarSarAccessInfo/exportSarSarAccessInfo?idAndSartypeList=' + accIdAndrestype.join(',') + '&exportType=apart' + '&exportName=' + exportNames
|
||||
this.$message.success('导出信息成功')
|
||||
@@ -1808,6 +1819,25 @@ export default {
|
||||
_this: this
|
||||
}, res => {
|
||||
this.sarAccessInfoList = res.data
|
||||
this.sarAccessInfoList.forEach(item => {
|
||||
if (item.standYear === null) {
|
||||
item.standNumber = item.standSortShow + ' ' + item.standNumber
|
||||
} else {
|
||||
item.standNumber = item.standSortShow + ' ' + item.standNumber + '-' + item.standYear
|
||||
}
|
||||
})
|
||||
this.sarAccessInfoSearchList.forEach(item => {
|
||||
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 => {
|
||||
|
||||
})
|
||||
|
||||
@@ -524,6 +524,7 @@
|
||||
</template>
|
||||
<template v-else-if="field.attrType === 'DATE_PICKER'">
|
||||
<custom-date-pick
|
||||
v-if="field.attrField !== 'ZCCSSRQGJ' && field.attrField !== 'XCXSSRQGJ' && field.attrField !== 'SSRQGJ' "
|
||||
:key="field.attrField"
|
||||
:config="field"
|
||||
v-model="sarStandardsInfoEO[field.attrField]"
|
||||
@@ -1024,47 +1025,257 @@
|
||||
<el-button size="mini" type="primary" class="common-button-default" icon="el-icon-check" @click="importFailed = false">确认</el-button>
|
||||
</div>
|
||||
</el-dialog>
|
||||
<table-tools-bar v-model="isAdvancedSearch" @search="getDomesticStandardTableBtn(sarStandardsSearch)"
|
||||
@reset="clearAllSearch('sarStandardsSearch')" >
|
||||
<div slot="content">
|
||||
<!-- <table-tools-bar v-model="isAdvancedSearch" @search="getDomesticStandardTableBtn(sarStandardsSearch)"-->
|
||||
<!-- @reset="clearAllSearch('sarStandardsSearch')" >-->
|
||||
<!-- <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.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">-->
|
||||
<!-- <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.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-select v-model="sarStandardsSearch.applyArctic" :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.sycpx" :placeholder="$t('m.searchByApplicableProductLine')" clearable-->
|
||||
<!-- @keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">-->
|
||||
<!-- <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-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-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-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.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">
|
||||
<search-select
|
||||
v-model="sarStandardsSearch.standSort"
|
||||
:placeholder="$t('m.standardCategoryTips')"
|
||||
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)"
|
||||
:options="standSortOptions"
|
||||
clearable/>
|
||||
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.standardYear')" class="serch-form-item">
|
||||
<el-date-picker
|
||||
v-model="sarStandardsSearch.standYear"
|
||||
@@ -1080,21 +1291,21 @@
|
||||
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"
|
||||
@@ -1102,7 +1313,7 @@
|
||||
placeholder="根据实施日期查找">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
<!-- 新车型实施日期-->
|
||||
<!-- 新车型实施日期-->
|
||||
<el-form-item title="新车型实施日期" label="新车型实施日期">
|
||||
<el-date-picker
|
||||
v-model="sarStandardsSearch.XCXTime"
|
||||
@@ -1110,7 +1321,7 @@
|
||||
placeholder="根据新车型实施日期查找">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
<!-- 在产车实施日期-->
|
||||
<!-- 在产车实施日期-->
|
||||
<el-form-item title="在产车实施日期" label="在产车实施日期">
|
||||
<el-date-picker
|
||||
v-model="sarStandardsSearch.ZCCTime"
|
||||
@@ -1118,19 +1329,19 @@
|
||||
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)">
|
||||
@@ -1138,88 +1349,88 @@
|
||||
</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-select v-model="sarStandardsSearch.applyArctic" :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.sycpx" :placeholder="$t('m.searchByApplicableProductLine')" clearable
|
||||
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">
|
||||
<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-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编码-->
|
||||
<!-- 关联模块-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-select v-model="sarStandardsSearch.cycvppsbm" :placeholder="$t('m.SearchByAssociatedModule')" clearable
|
||||
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">
|
||||
@@ -1229,7 +1440,18 @@
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
</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>
|
||||
</div>
|
||||
<!-- 分享 全部选人 -->
|
||||
<org-table
|
||||
|
||||
+17
-16
@@ -188,7 +188,7 @@
|
||||
round
|
||||
@click="clearAllSearch('sarBussionessSearch')"
|
||||
></el-button>
|
||||
<el-button type="primary" class="common-button-primary" round @click="selectMoreBtn"><i class="iconfont"></i>高级检索</el-button>
|
||||
<!-- <el-button type="primary" class="common-button-primary" round @click="selectMoreBtn"><i class="iconfont"></i>高级检索</el-button>-->
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
</div>
|
||||
@@ -218,7 +218,7 @@
|
||||
round
|
||||
@click="exportStandard"
|
||||
title="不勾选时默认导出所有筛选项;勾选时仅导出勾选项"
|
||||
v-btn-permission="'UFIZU4O3AH'"
|
||||
v-btn-permission="'784d26f527a659eefe84d5e5a53deb96'"
|
||||
><i class="iconfont"></i>导出</el-button>
|
||||
<!-- <el-button-->
|
||||
<!-- class="common-button-default"-->
|
||||
@@ -227,23 +227,23 @@
|
||||
<!-- @click="uploadImportModal(1)"-->
|
||||
<!-- v-btn-permission="'afX1p2gh3c'"-->
|
||||
<!-- ><i class="iconfont"></i>模板下载</el-button>-->
|
||||
<!-- <el-button-->
|
||||
<!-- class="common-button-default delete-button"-->
|
||||
<!-- round-->
|
||||
<!-- @click="deleteStand(2)"-->
|
||||
<!-- v-btn-permission="'EKTB87NTEE'"-->
|
||||
<!-- ><i class="iconfont"></i>批量删除</el-button>-->
|
||||
<el-button
|
||||
class="common-button-default delete-button"
|
||||
round
|
||||
@click="deleteStand(2)"
|
||||
v-btn-permission="'374205ce36a859a158ca4db196d151b7'"
|
||||
><i class="iconfont"></i>批量删除</el-button>
|
||||
<el-button
|
||||
class="common-button-default"
|
||||
round
|
||||
@click="configurationStandard"
|
||||
v-btn-permission="'PF56TFSV7C'"
|
||||
v-btn-permission="'381d34443196ca840118ae577ff30d5e'"
|
||||
><i class="iconfont"></i>配置标准</el-button>
|
||||
<el-button
|
||||
class="common-button-default"
|
||||
round
|
||||
@click="deleteEnterStandFromKind(2)"
|
||||
v-btn-permission="'UQCAPM93Q0'"
|
||||
v-btn-permission="'2d41ebdb6150ba1af52fd753086d77dc'"
|
||||
><i class="iconfont"></i>移除标准</el-button>
|
||||
</div>
|
||||
<!--表格-->
|
||||
@@ -382,20 +382,20 @@
|
||||
<el-dropdown-item
|
||||
v-if="scope.row.collectBtn"
|
||||
:command="[scope.row, '收藏']"
|
||||
v-btn-permission="'H6J6YAB9FQ'"
|
||||
v-btn-permission="'d9730d984627af948053df56a2db7997'"
|
||||
>
|
||||
收藏
|
||||
</el-dropdown-item>
|
||||
<el-dropdown-item
|
||||
v-else
|
||||
:command="[scope.row, '取消收藏']"
|
||||
v-btn-permission="'H6J6YAB9FQ'"
|
||||
v-btn-permission="'d96e086ce3dfa75201bdf8e67cd9fe6d'"
|
||||
>
|
||||
取消收藏
|
||||
</el-dropdown-item>
|
||||
<el-dropdown-item :command="[scope.row, '编辑']" v-btn-permission="'VL3HVS74DU'">编辑</el-dropdown-item>
|
||||
<el-dropdown-item :command="[scope.row, '分享']" v-btn-permission="'ESPMBSD4ZP'">分享</el-dropdown-item>
|
||||
<el-dropdown-item :command="[scope.row, '授权']" v-btn-permission="'CWBPST294ZH7HSKD4452'" v-if="scope.row.attrInfoMap && scope.row.attrInfoMap.QBMJ === 'ACF675Z88W'">授权</el-dropdown-item>
|
||||
<el-dropdown-item :command="[scope.row, '编辑']" v-btn-permission="'dd4ea796dab7a01b105ba657b1968a84'">编辑</el-dropdown-item>
|
||||
<!-- <el-dropdown-item :command="[scope.row, '分享']" v-btn-permission="'ESPMBSD4ZP'">分享</el-dropdown-item>-->
|
||||
<!-- <el-dropdown-item :command="[scope.row, '授权']" v-btn-permission="'CWBPST294ZH7HSKD4452'" v-if="scope.row.attrInfoMap && scope.row.attrInfoMap.QBMJ === 'ACF675Z88W'">授权</el-dropdown-item>-->
|
||||
<!-- <el-dropdown-item :command="[scope.row, '删除']">删除</el-dropdown-item>-->
|
||||
<!-- <el-dropdown-item :command="[scope.row, '流程']">流程</el-dropdown-item>-->
|
||||
</el-dropdown-menu>
|
||||
@@ -757,7 +757,8 @@
|
||||
@click="saveConfigStand"
|
||||
:loading="isSubmit"
|
||||
>提交</el-button>
|
||||
<el-button class="common-button-default" icon="el-icon-close" @click="cancelConfigStand">取消</el-button>
|
||||
<el-button class="common-button-default" style="padding: 7px 12px;" icon="el-icon-close" type="primary"
|
||||
round @click="cancelConfigStand">取消</el-button>
|
||||
</div>
|
||||
</el-drawer>
|
||||
<!-- 树---新增二级菜单模态窗 -->
|
||||
|
||||
@@ -483,6 +483,7 @@
|
||||
</template>
|
||||
<template v-else-if="field.attrField === 'XCXSSRQ' || field.attrField === 'ZCCSSRQ'">
|
||||
<custom-date-pick
|
||||
v-if="field.attrField !== 'ZCCSSRQGJ' && field.attrField !== 'XCXSSRQGJ' && field.attrField !== 'SSRQGJ' "
|
||||
:key="field.attrField"
|
||||
:config="field"
|
||||
v-model="sarStandardsInfoEO[field.attrField]"
|
||||
@@ -1572,9 +1573,9 @@ export default {
|
||||
{type: 'string', max: 1000, message: '文本说明不能超过1000个字符', trigger: 'change'}
|
||||
],
|
||||
standYear: [
|
||||
// {required: true, message: '标准年份/系列不能为空', trigger: 'change'},
|
||||
{validator: this.verify.testItemCode, trigger: 'change'},
|
||||
{type: 'string', max: 20, message: '标准年份/系列不能超过20个字符', trigger: 'change'}
|
||||
{required: true, message: '标准年份不能为空', trigger: 'change'},
|
||||
{validator: this.verify.testNumberCode, trigger: 'change'},
|
||||
{type: 'string', max: 100, message: '标准年份不能超过100个字符', trigger: 'change'}
|
||||
],
|
||||
standName: [
|
||||
{required: true, message: '中文名称不能为空', trigger: 'change'},
|
||||
@@ -1582,7 +1583,7 @@ export default {
|
||||
],
|
||||
standEnName: [
|
||||
{required: true, message: '英文名称不能为空', trigger: 'change'},
|
||||
{type: 'string', max: 1000, message: '英文名称不能超过1000个字符', trigger: 'change'}
|
||||
{type: 'string', max: 500, message: '英文名称不能超过500个字符', trigger: 'change'}
|
||||
// {validator: this.verify.valiateEnName, trigger: 'blur'}
|
||||
],
|
||||
// standState: [
|
||||
@@ -2004,7 +2005,7 @@ export default {
|
||||
item.collectBtn = !item.collectBtn
|
||||
item.cancelCollectBtn = !item.cancelCollectBtn
|
||||
item.collectId = res.data.id
|
||||
this.$message.success(res.message)
|
||||
// this.$message.success(res.message)
|
||||
} else {
|
||||
this.$message.warning(res.message)
|
||||
}
|
||||
@@ -2073,7 +2074,7 @@ export default {
|
||||
Object.keys(item.attrInfoMap || {}).forEach((key) => {
|
||||
item.attrInfoMap[key] = item.attrInfoMap[key] === null ? '' : item.attrInfoMap[key]
|
||||
if (item.attrInfoMap[key] || item.attrInfoMap[key] === '') {
|
||||
this.$set(this.sarStandardsInfoEO, key, item.attrInfoMap[key])
|
||||
this.$set(this.sarStandardsInfoEO, key, item.attrInfoMap[key] === '[]' ? '' : item.attrInfoMap[key])
|
||||
}
|
||||
})
|
||||
const dynamicFormField = this.sarStandardsInfoEO
|
||||
@@ -2755,7 +2756,7 @@ export default {
|
||||
const value = nowstandinfo[item.attrField]
|
||||
// 时间格式处理
|
||||
if (item.attrType === 'DATE_PICKER' && value) {
|
||||
nowstandinfo[item.attrField] = this.$dateFormat(this.sarStandardsInfoEO[item.attrField], 'yyyy-MM-dd hh:mm:ss')
|
||||
nowstandinfo[item.attrField] = this.sarStandardsInfoEO[item.attrField]
|
||||
}
|
||||
// 数组处理
|
||||
if (item.attrType === 'SEL_OPTION' || item.attrType === 'SEL_OPTS') {
|
||||
|
||||
@@ -1278,13 +1278,14 @@ export default {
|
||||
}, res => {
|
||||
if (this.localProTableSearch.prodectCode === 'Maintenance') {
|
||||
this.localProTableList = res.data.Maintenance.records
|
||||
this.total = res.data.Maintenance.total
|
||||
}
|
||||
else if (this.localProTableSearch.prodectCode === 'notMaintenance')
|
||||
{
|
||||
this.localProTableList = res.data.notMaintenance.records
|
||||
this.total = res.data.notMaintenance.total
|
||||
|
||||
}
|
||||
this.total = res.data.count
|
||||
// this.localProTableList.map((item) => {
|
||||
// this.xmztOptions.map((opr) => {
|
||||
// if (item.productBrand === opr.value) {
|
||||
|
||||
@@ -78,47 +78,56 @@
|
||||
>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="SSRQ"
|
||||
prop="ssrq"
|
||||
width="190px"
|
||||
sortable
|
||||
label="标准实施日期">
|
||||
<template slot-scope="scope">
|
||||
<span style="margin-left: 10px">{{ scope.row.ssrq ? $moment(scope.row.ssrq).format('YYYY-MM-DD') : '-' }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="XCXSSRQGJ"
|
||||
prop="xcxssrqgj"
|
||||
width="190px"
|
||||
label="新车型实施日期">
|
||||
<template slot-scope="scope">
|
||||
<span style="margin-left: 10px">{{scope.row.xcxssrqgj ? $moment(scope.row.xcxssrqgj).format('YYYY-MM-DD') : '-' }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="ZCCSSRQGJ"
|
||||
prop="zccssrqgj"
|
||||
sortable
|
||||
width="190px"
|
||||
label="在产车实施日期">
|
||||
<template slot-scope="scope">
|
||||
<span style="margin-left: 10px">{{ scope.row.zccssrqgj ? $moment(scope.row.zccssrqgj).format('YYYY-MM-DD') : '-' }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="ZRBM"
|
||||
prop="zrbm"
|
||||
label="责任部门"
|
||||
width="180px"
|
||||
>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
show-overflow-tooltip
|
||||
prop="KCCVPPSBM"
|
||||
prop="kccvppsbm"
|
||||
width="180px"
|
||||
label="卡车VPPS编码">
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
show-overflow-tooltip
|
||||
prop="KCCVPPSCN"
|
||||
prop="cycvppscn"
|
||||
width="180px"
|
||||
label="卡车vpps中文名称">
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="CYCVPPSBM"
|
||||
prop="cycvppsbm"
|
||||
width="180px"
|
||||
label="乘车VPPS编码">
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="CYCVPPSBM"
|
||||
prop="cycvppscn"
|
||||
width="180px"
|
||||
label="乘车vpps中文名称">
|
||||
</el-table-column>
|
||||
@@ -451,10 +460,8 @@ export default {
|
||||
_this: this
|
||||
}, res => {
|
||||
if (res.ok) {
|
||||
this.$message.success(res.message)
|
||||
// this.$message.success(res.message)
|
||||
this.getDataList()
|
||||
}else {
|
||||
this.$message.warning(res.message)
|
||||
}
|
||||
}, e => {
|
||||
});
|
||||
@@ -502,6 +509,17 @@ export default {
|
||||
this.$message.warning("请选择一条数据进行带入");
|
||||
}
|
||||
},
|
||||
// 点击查看
|
||||
handlePreview (item) {
|
||||
let routeUrl = this.$router.resolve({
|
||||
name: 'OtherStandardDetails',
|
||||
params: {
|
||||
id: item.id,
|
||||
pageType: 'INLAND_STAND'
|
||||
}
|
||||
})
|
||||
window.open(routeUrl.href, '_blank')
|
||||
},
|
||||
back () {
|
||||
this.$router.push(this.$store.state.detailMap)
|
||||
this.$store.commit('setDetailMap', '')
|
||||
@@ -567,14 +585,23 @@ export default {
|
||||
ids+=',\''+this.selectList[i].standId+'\''
|
||||
}
|
||||
const exportURL = interfaceUrl + 'sarStandProjectLibrary/exportStandAttrInfoExcel?' +
|
||||
'exportType' + this.saveExportType + '&ids=' + ids + '&exportName=' + this.exportName
|
||||
'exportType' + this.saveExportType + '&ids=' + ids + '&exportName=' + this.exportName + '&id=' + this.localProEO.id
|
||||
console.log(exportURL)
|
||||
window.open(exportURL)
|
||||
this.$message.success('导出信息成功')
|
||||
}
|
||||
} else if (this.saveExportType === 'all') {
|
||||
console.log(this.selectList);
|
||||
let ids = ''
|
||||
if (this.selectList.length === 0) {
|
||||
ids='\''+this.dataList[0].standId+'\''
|
||||
for(let i=1;i<this.dataList.length;i++){
|
||||
ids+=',\''+this.dataList[i].standId+'\''
|
||||
}
|
||||
}
|
||||
const exportURL = interfaceUrl + 'sarStandProjectLibrary/exportStandAttrInfoExcel?' +
|
||||
'exportType' + this.saveExportType + '&ids=' + this.selectList.join(',') + '&exportName=' + this.exportName
|
||||
'exportType' + this.saveExportType + '&ids=' + ids + '&exportName=' + this.exportName + '&id=' + this.localProEO.id
|
||||
console.log(exportURL)
|
||||
window.open(exportURL)
|
||||
this.$message.success('导出信息成功')
|
||||
}
|
||||
|
||||
@@ -116,7 +116,7 @@
|
||||
prop="standId"
|
||||
fixed="left"
|
||||
width="180"
|
||||
label="标准编号">
|
||||
label="标准号">
|
||||
<!-- <template slot-scope="scope">-->
|
||||
<!-- <a @click="detailsStandard(scope.row)" class="table-jump">{{ scope.row.standId }}</a>-->
|
||||
<!--<!– {{ scope.row.standId }}–>-->
|
||||
@@ -229,7 +229,7 @@
|
||||
style="width: 100%;"
|
||||
:model="historySeeForm"
|
||||
>
|
||||
<el-form-item class="add-form-item" label="标准编号:">
|
||||
<el-form-item class="add-form-item" label="标准号:">
|
||||
<div class="seeItem">{{historySeeForm.standId}}</div>
|
||||
</el-form-item>
|
||||
<el-form-item class="add-form-item" label="标准名称:">
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
// const devIp = '39.98.140.126'
|
||||
// const devInterfacePORT = '10005'
|
||||
// const devIp = '192.168.10.248'
|
||||
const devIp = '10.96.170.173'
|
||||
const devInterfacePORT = '9999'
|
||||
const devIp = '101.36.227.25'
|
||||
const devInterfacePORT = '8038'
|
||||
// 云端端口号
|
||||
const DEV_CLOUD_RES_INTERFACE_PORT = '7777'
|
||||
const simpleFilePath = 'att/attFile/upload'
|
||||
|
||||
Reference in New Issue
Block a user