Merge branch 'develop' of http://gitlab.91isoft.com:90/LAWS/laws-system-front-FOTON into develop
This commit is contained in:
Generated
+111
-89
@@ -3619,6 +3619,23 @@
|
||||
"upath": "^1.1.1"
|
||||
}
|
||||
},
|
||||
"color-convert": {
|
||||
"version": "2.0.1",
|
||||
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
|
||||
"integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
"color-name": "~1.1.4"
|
||||
}
|
||||
},
|
||||
"color-name": {
|
||||
"version": "1.1.4",
|
||||
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
|
||||
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"commander": {
|
||||
"version": "2.20.3",
|
||||
"resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz",
|
||||
@@ -4564,6 +4581,94 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"vue-loader-v16": {
|
||||
"version": "npm:vue-loader@16.3.3",
|
||||
"resolved": "https://registry.npmjs.org/vue-loader/-/vue-loader-16.3.3.tgz",
|
||||
"integrity": "sha512-/1GzCuQ6MRORbC+leKTKoTGtpQt60bYe0gDGEextSteA2OM+v201FPha5jzmjQzVhRcwieZeUvezAtG5a/e5cw==",
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
"chalk": "^4.1.0",
|
||||
"hash-sum": "^2.0.0",
|
||||
"loader-utils": "^2.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"ansi-styles": {
|
||||
"version": "4.3.0",
|
||||
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
|
||||
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
"color-convert": "^2.0.1"
|
||||
}
|
||||
},
|
||||
"big.js": {
|
||||
"version": "5.2.2",
|
||||
"resolved": "https://registry.npmjs.org/big.js/-/big.js-5.2.2.tgz",
|
||||
"integrity": "sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ==",
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"chalk": {
|
||||
"version": "4.1.1",
|
||||
"resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.1.tgz",
|
||||
"integrity": "sha512-diHzdDKxcU+bAsUboHLPEDQiw0qEe0qd7SYUn3HgcFlWgbDcfLGswOHYeGrHKzG9z6UYf01d9VFMfZxPM1xZSg==",
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
"ansi-styles": "^4.1.0",
|
||||
"supports-color": "^7.1.0"
|
||||
}
|
||||
},
|
||||
"emojis-list": {
|
||||
"version": "3.0.0",
|
||||
"resolved": "https://registry.npmjs.org/emojis-list/-/emojis-list-3.0.0.tgz",
|
||||
"integrity": "sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q==",
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"has-flag": {
|
||||
"version": "4.0.0",
|
||||
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
|
||||
"integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"json5": {
|
||||
"version": "2.2.0",
|
||||
"resolved": "https://registry.npmjs.org/json5/-/json5-2.2.0.tgz",
|
||||
"integrity": "sha512-f+8cldu7X/y7RAJurMEJmdoKXGB/X550w2Nr3tTbezL6RwEE/iMcm+tZnXeoZtKuOq6ft8+CqzEkrIgx1fPoQA==",
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
"minimist": "^1.2.5"
|
||||
}
|
||||
},
|
||||
"loader-utils": {
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.0.tgz",
|
||||
"integrity": "sha512-rP4F0h2RaWSvPEkD7BLDFQnvSf+nK+wr3ESUjNTyAGobqrijmW92zc+SO6d4p4B1wh7+B/Jg1mkQe5NYUEHtHQ==",
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
"big.js": "^5.2.2",
|
||||
"emojis-list": "^3.0.0",
|
||||
"json5": "^2.1.2"
|
||||
}
|
||||
},
|
||||
"supports-color": {
|
||||
"version": "7.2.0",
|
||||
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
|
||||
"integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
"has-flag": "^4.0.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"vue-style-loader": {
|
||||
"version": "4.1.2",
|
||||
"resolved": "https://registry.npmjs.org/vue-style-loader/-/vue-style-loader-4.1.2.tgz",
|
||||
@@ -9208,7 +9313,7 @@
|
||||
},
|
||||
"image-size": {
|
||||
"version": "0.5.5",
|
||||
"resolved": "https://registry.npmjs.org/image-size/-/image-size-0.5.5.tgz",
|
||||
"resolved": "https://registry.nlark.com/image-size/download/image-size-0.5.5.tgz",
|
||||
"integrity": "sha1-Cd/Uq50g4p6xw+gLiZA3jfnjy5w=",
|
||||
"dev": true,
|
||||
"optional": true
|
||||
@@ -12300,6 +12405,11 @@
|
||||
"is-plain-obj": "^1.0.0"
|
||||
}
|
||||
},
|
||||
"sortablejs": {
|
||||
"version": "1.14.0",
|
||||
"resolved": "https://registry.npmjs.org/sortablejs/-/sortablejs-1.14.0.tgz",
|
||||
"integrity": "sha512-pBXvQCs5/33fdN1/39pPL0NZF20LeRbLQ5jtnheIPN9JQAaufGjKdWduZn4U7wCtVuzKhmRkI0DFYHYRbB2H1w=="
|
||||
},
|
||||
"source-list-map": {
|
||||
"version": "2.0.1",
|
||||
"resolved": "https://registry.npmjs.org/source-list-map/-/source-list-map-2.0.1.tgz",
|
||||
@@ -13517,94 +13627,6 @@
|
||||
"resolved": "https://registry.npmjs.org/vue-i18n/-/vue-i18n-8.22.4.tgz",
|
||||
"integrity": "sha512-XLI5s0AdqMP2Lf4I4CmdmOq8kjb5DDFGR77wAuxCfpEuYSfhTRyyx6MetgZMiL6Lxa0DasjBOiOcciU3NkL3/Q=="
|
||||
},
|
||||
"vue-loader-v16": {
|
||||
"version": "npm:vue-loader@16.3.3",
|
||||
"resolved": "https://registry.npmjs.org/vue-loader/-/vue-loader-16.3.3.tgz",
|
||||
"integrity": "sha512-/1GzCuQ6MRORbC+leKTKoTGtpQt60bYe0gDGEextSteA2OM+v201FPha5jzmjQzVhRcwieZeUvezAtG5a/e5cw==",
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
"chalk": "^4.1.0",
|
||||
"hash-sum": "^2.0.0",
|
||||
"loader-utils": "^2.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"ansi-styles": {
|
||||
"version": "4.3.0",
|
||||
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
|
||||
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
"color-convert": "^2.0.1"
|
||||
}
|
||||
},
|
||||
"chalk": {
|
||||
"version": "4.1.1",
|
||||
"resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.1.tgz",
|
||||
"integrity": "sha512-diHzdDKxcU+bAsUboHLPEDQiw0qEe0qd7SYUn3HgcFlWgbDcfLGswOHYeGrHKzG9z6UYf01d9VFMfZxPM1xZSg==",
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
"ansi-styles": "^4.1.0",
|
||||
"supports-color": "^7.1.0"
|
||||
}
|
||||
},
|
||||
"color-convert": {
|
||||
"version": "2.0.1",
|
||||
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
|
||||
"integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
"color-name": "~1.1.4"
|
||||
}
|
||||
},
|
||||
"color-name": {
|
||||
"version": "1.1.4",
|
||||
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
|
||||
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"has-flag": {
|
||||
"version": "4.0.0",
|
||||
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
|
||||
"integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"hash-sum": {
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmjs.org/hash-sum/-/hash-sum-2.0.0.tgz",
|
||||
"integrity": "sha512-WdZTbAByD+pHfl/g9QSsBIIwy8IT+EsPiKDs0KNX+zSHhdDLFKdZu0BQHljvO+0QI/BasbMSUa8wYNCZTvhslg==",
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"loader-utils": {
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.0.tgz",
|
||||
"integrity": "sha512-rP4F0h2RaWSvPEkD7BLDFQnvSf+nK+wr3ESUjNTyAGobqrijmW92zc+SO6d4p4B1wh7+B/Jg1mkQe5NYUEHtHQ==",
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
"big.js": "^5.2.2",
|
||||
"emojis-list": "^3.0.0",
|
||||
"json5": "^2.1.2"
|
||||
}
|
||||
},
|
||||
"supports-color": {
|
||||
"version": "7.2.0",
|
||||
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
|
||||
"integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
"has-flag": "^4.0.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"vue-router": {
|
||||
"version": "3.4.0",
|
||||
"resolved": "https://registry.npmjs.org/vue-router/-/vue-router-3.4.0.tgz",
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
"jquery": "^3.5.1",
|
||||
"js-base64": "^2.6.2",
|
||||
"moment": "^2.29.1",
|
||||
"sortablejs": "^1.14.0",
|
||||
"v-charts": "^1.19.0",
|
||||
"vue": "^2.6.11",
|
||||
"vue-clipboard2": "^0.3.1",
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
<!-- label="序号"-->
|
||||
<!-- sortable-->
|
||||
<!-- width="170px">-->
|
||||
</el-table-column>
|
||||
<!-- </el-table-column>-->
|
||||
<el-table-column
|
||||
label="操作"
|
||||
width="50px">
|
||||
@@ -103,6 +103,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import Sortable from 'sortablejs'
|
||||
export default {
|
||||
name: "linkManage",
|
||||
data () {
|
||||
@@ -143,7 +144,8 @@
|
||||
children: 'children'
|
||||
},
|
||||
|
||||
linkList: []
|
||||
linkList: [],
|
||||
sortData: [],
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
@@ -299,8 +301,26 @@
|
||||
loading: 'Loading'
|
||||
}, res=> {
|
||||
this.linkList = res.data
|
||||
this.initSortable()
|
||||
})
|
||||
},
|
||||
initSortable () {
|
||||
this.sortData = [...this.linkList]
|
||||
const el = document.querySelector('.el-table__body-wrapper tbody')
|
||||
//创建拖拽对象
|
||||
this.sortable = Sortable.create(el, {
|
||||
sort: true, //是否可进行拖拽排序
|
||||
animation: 150,
|
||||
onEnd: ({newIndex, oldIndex}) => {
|
||||
const val = this.sortData[oldIndex]
|
||||
this.sortData.splice(oldIndex, 1)
|
||||
this.sortData.splice(newIndex, 0, val)
|
||||
this.sortData.forEach((item, index) => {
|
||||
item.orderBy = index + 1
|
||||
})
|
||||
}
|
||||
})
|
||||
},
|
||||
},
|
||||
mounted() {
|
||||
this.getLink();
|
||||
@@ -319,4 +339,4 @@
|
||||
height: calc(~'100% - 50px')
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
|
||||
+3
-1
@@ -353,7 +353,9 @@ export default {
|
||||
name: "ListOfStandardsAndRegulationsDetails",
|
||||
query: {
|
||||
id: item.id,
|
||||
fileIds: item.fileIds
|
||||
fileIds: item.fileIds,
|
||||
page: 1,
|
||||
Size: this.$store.getters.userInfo.configContent
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
@@ -353,7 +353,9 @@ export default {
|
||||
name: "OtherAddEit",
|
||||
query: {
|
||||
id: item.id,
|
||||
fileIds: item.fileIds
|
||||
fileIds: item.fileIds,
|
||||
page: 1,
|
||||
Size: this.$store.getters.userInfo.configContent
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@@ -356,7 +356,9 @@ export default {
|
||||
name: "ProjectAddEit",
|
||||
query: {
|
||||
id: item.id,
|
||||
fileIds: item.fileIds
|
||||
fileIds: item.fileIds,
|
||||
page: 1,
|
||||
Size: this.$store.getters.userInfo.configContent
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@@ -80,9 +80,9 @@
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item :label="$t('m.keywords')" class="search-item">
|
||||
<el-form-item label="标准名称" class="search-item">
|
||||
<el-input
|
||||
v-model="sarAccessInfoSearch.keywords"
|
||||
v-model="sarAccessInfoSearch.standName"
|
||||
placeholder="请输入"
|
||||
:maxlength="100"
|
||||
></el-input>
|
||||
@@ -495,7 +495,7 @@
|
||||
width="210px"
|
||||
label="卡车VPPS中文名称">
|
||||
</el-table-column>
|
||||
<el-table-column width="200">
|
||||
<el-table-column width="240" label="操作">
|
||||
<template slot-scope="scope">
|
||||
<el-button
|
||||
class="common-button-default"
|
||||
@@ -558,9 +558,11 @@
|
||||
:wrapperClosable="false"
|
||||
size="800px"
|
||||
>
|
||||
<el-form :modal="editRowData" 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="标准号">
|
||||
<a>{{ editRowData.standSortShow }} {{ editRowData.standNumber }}</a>
|
||||
<el-input v-model.trim="editRowData.standNumber" :disabled="true">
|
||||
<!-- <a>{{ editRowData.standSortShow }} {{ editRowData.standNumber }}</a>-->
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="标准名称" prop="standName">
|
||||
<el-input v-model.trim="editRowData.standName" :disabled="true"></el-input>
|
||||
@@ -656,6 +658,7 @@ import CustomRoleTree from '@/components/CustomFormComponents/roleTree'
|
||||
import stand from "../../../config/pages/attributeCustom/components/stand";
|
||||
import { mapGetters } from 'vuex'
|
||||
import { editDataInfo } from '@/api/unqualProcess'
|
||||
import {interfaceUrl} from "@/sysConfig";
|
||||
export default {
|
||||
name: 'ListOfStandardsAndRegulationsDetails',
|
||||
components: {
|
||||
@@ -1339,6 +1342,7 @@ export default {
|
||||
editTghisRow(row) {
|
||||
this.rowList = row
|
||||
this.editRowData = this.rowList
|
||||
this.editRowData.standNumber = this.rowList.standSortShow + this.rowList.standNumber
|
||||
this.drawerEdit = true
|
||||
},
|
||||
// 抽屉取消按钮
|
||||
@@ -1509,7 +1513,6 @@ export default {
|
||||
// 数据搜索 table select事件
|
||||
sarAccessInfoSearchSelect (val) {
|
||||
this.selectedAccInfoSearchList = val
|
||||
console.log(val)
|
||||
},
|
||||
// 数据搜索 清单类型 table select事件
|
||||
accessSarTypeSelect (selectData) {
|
||||
@@ -1528,8 +1531,13 @@ export default {
|
||||
},
|
||||
// 点击 导出、全部导出按钮事件
|
||||
exportAccessInfo (type) {
|
||||
this.exportTestItemNameFlag = true
|
||||
this.exportName = ''
|
||||
if (this.sarAccessInfoListArry.length > 0) {
|
||||
this.exportTestItemNameFlag = true
|
||||
this.exportName = ''
|
||||
}else {
|
||||
this.$message.warning('请选择数据进行导出')
|
||||
}
|
||||
|
||||
},
|
||||
// 导出确定功能
|
||||
exportTestItem () {
|
||||
@@ -1545,10 +1553,9 @@ export default {
|
||||
for (var accessInfo in exportList) {
|
||||
accIdAndrestype.push(exportList[accessInfo].id)
|
||||
}
|
||||
window.location.href = '/api/lawss/sarSarAccessInfo/exportSarSarAccessInfo?idAndSartypeList=' + accIdAndrestype.join(',') + '&exportType=apart' + '&exportName=' + exportNames
|
||||
const exportURL = interfaceUrl + 'sarLawsAttrDetailedList/sar-laws-attr-detailed-list/ExportLawsById?'+ '&exportType=apart'+ '&ids=' + accIdAndrestype.join(',')+ '&exportName=' + this.exportName
|
||||
window.open(exportURL)
|
||||
this.$message.success('导出信息成功')
|
||||
} else {
|
||||
this.$message.warning('当前没有需要导出的数据')
|
||||
}
|
||||
this.exportTestItemNameFlag = false
|
||||
},
|
||||
@@ -1952,7 +1959,11 @@ export default {
|
||||
return formatText(str)
|
||||
},
|
||||
getData() {
|
||||
this.$http.get('sarLawsAttrDetailedList/sar-laws-attr-detailed-list/selectLawsById', {id: this.zqaId}, {
|
||||
this.$http.get('sarLawsAttrDetailedList/sar-laws-attr-detailed-list/selectLawsById', {
|
||||
id: this.zqaId,
|
||||
page: this.page,
|
||||
Size: this.Size
|
||||
}, {
|
||||
_this: this
|
||||
}, res => {
|
||||
this.sarAccessInfoList = res.data
|
||||
@@ -1987,6 +1998,8 @@ export default {
|
||||
},
|
||||
mounted () {
|
||||
this.zqaId =this.$route.query.id;
|
||||
this.page = this.$route.query.page
|
||||
this.Size = this.$route.query.Size
|
||||
// this.getData()
|
||||
this.getDept()
|
||||
// 从数据库中查询各下拉框数据
|
||||
|
||||
@@ -102,7 +102,7 @@
|
||||
</el-button>
|
||||
</el-form>
|
||||
<div v-if="!showSelectBox">
|
||||
<el-form :model="standardForm" class="label-input-form" label-width="auto" inline>
|
||||
<el-form :model="standardForm" class="label-input-form" label-width="150px" inline>
|
||||
<el-form-item label="中文名称" class="search-item">
|
||||
<el-input
|
||||
v-model="standardForm.standName"
|
||||
@@ -119,8 +119,9 @@
|
||||
size="small"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="适用车型" >
|
||||
<el-form-item label="适用车型">
|
||||
<el-select
|
||||
class="showBox"
|
||||
v-model="standardForm.typeApplicable"
|
||||
placeholder="请选择"
|
||||
filterable
|
||||
@@ -136,6 +137,7 @@
|
||||
</el-form-item>
|
||||
<el-form-item label="能源类型" >
|
||||
<el-select
|
||||
class="showBox"
|
||||
v-model="standardForm.nylx"
|
||||
placeholder="请选择"
|
||||
filterable
|
||||
@@ -151,6 +153,7 @@
|
||||
</el-form-item>
|
||||
<el-form-item label="责任部门" >
|
||||
<el-select
|
||||
class="showBox"
|
||||
v-model="standardForm.zrbm"
|
||||
placeholder="请选择"
|
||||
filterable
|
||||
@@ -166,6 +169,7 @@
|
||||
</el-form-item>
|
||||
<el-form-item label="适用产品线" >
|
||||
<el-select
|
||||
class="showBox"
|
||||
v-model="standardForm.sycpx"
|
||||
placeholder="请选择"
|
||||
filterable
|
||||
@@ -774,13 +778,12 @@ export default {
|
||||
mounted() {
|
||||
this.$nextTick(() => {
|
||||
let accessRow = JSON.parse(sessionStorage.getItem("accessRow"));
|
||||
console.log(accessRow)
|
||||
this.pageId = accessRow.id
|
||||
this.sarAccessEO = accessRow;
|
||||
this.sarAccessEOInfo = this.sarAccessEO.countryArea.indexOf(',')
|
||||
this.selectInfobyAccid();
|
||||
this.getOrgTreeSource();
|
||||
this.getFileInfo();
|
||||
// this.sarAccessEOInfo = this.sarAccessEO.countryArea.indexOf(',')
|
||||
});
|
||||
|
||||
// 从数据库中查询各下拉框数据
|
||||
@@ -972,6 +975,9 @@ export default {
|
||||
}
|
||||
}
|
||||
|
||||
/deep/.showBox{
|
||||
width: 165px;
|
||||
}
|
||||
.iconClass {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
|
||||
+22
-29
@@ -13,24 +13,6 @@
|
||||
<el-form-item label="清单类别" prop="detailedList" class="search-item">
|
||||
<el-input v-model="sarAccessEO.detailedList" :disabled="disabledFlag" placeholder="请输入"></el-input>
|
||||
</el-form-item>
|
||||
<!-- <el-form-item label="适用领域" prop="applicationScope" class="search-item">
|
||||
<el-select
|
||||
v-model="sarAccessEO.applicationScope"
|
||||
multiple
|
||||
placeholder="请选择"
|
||||
filterable
|
||||
:disabled="disabledFlag"
|
||||
class="wx-resolve"
|
||||
>
|
||||
<el-option
|
||||
v-for="item in applyOptions"
|
||||
:value="item.value"
|
||||
:key="item.value"
|
||||
:label="item.label"
|
||||
>
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item>-->
|
||||
<br/><br/>
|
||||
<el-form-item label="清单说明" prop="remark" class="search-item max-search-item2">
|
||||
<el-input
|
||||
@@ -83,9 +65,9 @@
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item :label="$t('m.keywords')" class="search-item">
|
||||
<el-form-item label="标准名称" class="search-item">
|
||||
<el-input
|
||||
v-model="sarAccessInfoSearch.keywords"
|
||||
v-model="sarAccessInfoSearch.standName"
|
||||
placeholder="请输入"
|
||||
:maxlength="100"
|
||||
></el-input>
|
||||
@@ -433,7 +415,7 @@
|
||||
width="210px"
|
||||
label="卡车VPPS中文名称">
|
||||
</el-table-column>
|
||||
<el-table-column width="150">
|
||||
<el-table-column width="150" label="操作">
|
||||
<template slot-scope="scope">
|
||||
<el-button
|
||||
class="common-button-default"
|
||||
@@ -506,6 +488,7 @@ import CustomInputForPolicy from '@/components/CustomFormComponents/InputForPoli
|
||||
import CustomRoleTree from '@/components/CustomFormComponents/roleTree'
|
||||
import stand from "../../../config/pages/attributeCustom/components/stand";
|
||||
import { mapGetters } from 'vuex'
|
||||
import {interfaceUrl} from "@/sysConfig";
|
||||
export default {
|
||||
name: 'OtherAddEit',
|
||||
components: {
|
||||
@@ -615,7 +598,7 @@ export default {
|
||||
askType: '', // 监管类型
|
||||
dataSource: 'INLAND_STAND', // 数据来源
|
||||
page: 1,
|
||||
pageSize: this.$store.getters.userInfo.configContent,
|
||||
Size: this.$store.getters.userInfo.configContent,
|
||||
validFlag: 0,
|
||||
advanceSearchVOStr: ''
|
||||
},
|
||||
@@ -1297,13 +1280,17 @@ export default {
|
||||
|
||||
// 数据搜索table分页条数改变回调
|
||||
drawerPageSizeChange () {
|
||||
this.sarAccessInfoSearch.pageSize = this.$store.getters.userInfo.configContent
|
||||
this.sarAccessInfoSearch.Size = this.$store.getters.userInfo.configContent
|
||||
this.selectLawsStands()
|
||||
},
|
||||
// 点击 导出、全部导出按钮事件
|
||||
exportAccessInfo (type) {
|
||||
this.exportTestItemNameFlag = true
|
||||
this.exportName = ''
|
||||
if (this.sarAccessInfoListArry.length > 0) {
|
||||
this.exportTestItemNameFlag = true
|
||||
this.exportName = ''
|
||||
}else {
|
||||
this.$message.warning('请选择数据进行导出')
|
||||
}
|
||||
},
|
||||
// 导出确定功能
|
||||
exportTestItem () {
|
||||
@@ -1319,10 +1306,10 @@ export default {
|
||||
for (var accessInfo in exportList) {
|
||||
accIdAndrestype.push(exportList[accessInfo].id)
|
||||
}
|
||||
window.location.href = '/api/lawss/sarSarAccessInfo/exportSarSarAccessInfo?idAndSartypeList=' + accIdAndrestype.join(',') + '&exportType=apart' + '&exportName=' + exportNames
|
||||
const exportURL = interfaceUrl + 'sarLawsAttrDetailedList/sar-laws-attr-detailed-list/ExportLawsById?'+ '&exportType=apart'+ '&ids=' + 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('导出信息成功')
|
||||
} else {
|
||||
this.$message.warning('当前没有需要导出的数据')
|
||||
}
|
||||
this.exportTestItemNameFlag = false
|
||||
},
|
||||
@@ -1727,7 +1714,11 @@ export default {
|
||||
return formatText(str)
|
||||
},
|
||||
getData() {
|
||||
this.$http.get('sarLawsAttrDetailedList/sar-laws-attr-detailed-list/selectLawsById', {id: this.zqaId}, {
|
||||
this.$http.get('sarLawsAttrDetailedList/sar-laws-attr-detailed-list/selectLawsById', {
|
||||
id: this.zqaId,
|
||||
page: this.page,
|
||||
Size: this.Size
|
||||
}, {
|
||||
_this: this
|
||||
}, res => {
|
||||
this.sarAccessInfoList = res.data
|
||||
@@ -1768,6 +1759,8 @@ export default {
|
||||
},
|
||||
mounted () {
|
||||
this.zqaId =this.$route.query.id;
|
||||
this.page = this.$route.query.page
|
||||
this.Size = this.$route.query.Size
|
||||
// this.getData()
|
||||
this.getDept()
|
||||
// 从数据库中查询各下拉框数据
|
||||
|
||||
+20
-25
@@ -13,24 +13,6 @@
|
||||
<el-form-item label="项目名称" prop="projectName" class="search-item">
|
||||
<el-input v-model="sarAccessEO.projectName" :disabled="disabledFlag" placeholder="请输入"></el-input>
|
||||
</el-form-item>
|
||||
<!-- <el-form-item label="适用领域" prop="applicationScope" class="search-item">
|
||||
<el-select
|
||||
v-model="sarAccessEO.applicationScope"
|
||||
multiple
|
||||
placeholder="请选择"
|
||||
filterable
|
||||
:disabled="disabledFlag"
|
||||
class="wx-resolve"
|
||||
>
|
||||
<el-option
|
||||
v-for="item in applyOptions"
|
||||
:value="item.value"
|
||||
:key="item.value"
|
||||
:label="item.label"
|
||||
>
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item>-->
|
||||
<br/><br/>
|
||||
<el-form-item label="清单说明" prop="remark" class="search-item max-search-item2">
|
||||
<el-input
|
||||
@@ -83,9 +65,9 @@
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item :label="$t('m.keywords')" class="search-item">
|
||||
<el-form-item label="标准名称" class="search-item">
|
||||
<el-input
|
||||
v-model="sarAccessInfoSearch.keywords"
|
||||
v-model="sarAccessInfoSearch.standName"
|
||||
placeholder="请输入"
|
||||
:maxlength="100"
|
||||
></el-input>
|
||||
@@ -433,7 +415,7 @@
|
||||
width="210px"
|
||||
label="卡车VPPS中文名称">
|
||||
</el-table-column>
|
||||
<el-table-column width="150">
|
||||
<el-table-column width="150" label="操作">
|
||||
<template slot-scope="scope">
|
||||
<el-button
|
||||
class="common-button-default"
|
||||
@@ -506,6 +488,7 @@ import CustomInputForPolicy from '@/components/CustomFormComponents/InputForPoli
|
||||
import CustomRoleTree from '@/components/CustomFormComponents/roleTree'
|
||||
import stand from "../../../config/pages/attributeCustom/components/stand";
|
||||
import { mapGetters } from 'vuex'
|
||||
import {interfaceUrl} from "@/sysConfig";
|
||||
export default {
|
||||
name: 'OtherAddEit',
|
||||
components: {
|
||||
@@ -1303,8 +1286,12 @@ export default {
|
||||
},
|
||||
// 点击 导出、全部导出按钮事件
|
||||
exportAccessInfo (type) {
|
||||
this.exportTestItemNameFlag = true
|
||||
this.exportName = ''
|
||||
if (this.sarAccessInfoListArry.length > 0) {
|
||||
this.exportTestItemNameFlag = true
|
||||
this.exportName = ''
|
||||
}else {
|
||||
this.$message.warning('请选择数据进行导出')
|
||||
}
|
||||
},
|
||||
// 导出确定功能
|
||||
exportTestItem () {
|
||||
@@ -1320,7 +1307,9 @@ export default {
|
||||
for (var accessInfo in exportList) {
|
||||
accIdAndrestype.push(exportList[accessInfo].id)
|
||||
}
|
||||
window.location.href = '/api/lawss/sarSarAccessInfo/exportSarSarAccessInfo?idAndSartypeList=' + accIdAndrestype.join(',') + '&exportType=apart' + '&exportName=' + exportNames
|
||||
const exportURL = interfaceUrl + 'sarLawsAttrDetailedList/sar-laws-attr-detailed-list/ExportLawsById?'+ '&exportType=apart'+ '&ids=' + 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('导出信息成功')
|
||||
} else {
|
||||
this.$message.warning('当前没有需要导出的数据')
|
||||
@@ -1728,7 +1717,11 @@ export default {
|
||||
return formatText(str)
|
||||
},
|
||||
getData() {
|
||||
this.$http.get('sarLawsAttrDetailedList/sar-laws-attr-detailed-list/selectLawsById', {id: this.zqaId}, {
|
||||
this.$http.get('sarLawsAttrDetailedList/sar-laws-attr-detailed-list/selectLawsById', {
|
||||
id: this.zqaId,
|
||||
page: this.page,
|
||||
Size: this.Size
|
||||
}, {
|
||||
_this: this
|
||||
}, res => {
|
||||
this.sarAccessInfoList = res.data
|
||||
@@ -1769,6 +1762,8 @@ export default {
|
||||
},
|
||||
mounted () {
|
||||
this.zqaId =this.$route.query.id;
|
||||
this.page = this.$route.query.page
|
||||
this.Size = this.$route.query.Size
|
||||
//this.getData()
|
||||
this.getDept()
|
||||
// 从数据库中查询各下拉框数据
|
||||
|
||||
Reference in New Issue
Block a user