Merge remote-tracking branch 'origin/dev_2nd_LCYH' into dev_2nd_LCYH
This commit is contained in:
@@ -36,10 +36,10 @@
|
|||||||
<a-form-model-item class="itemModel" prop="filingtime">
|
<a-form-model-item class="itemModel" prop="filingtime">
|
||||||
<a-date-picker class="box-input"
|
<a-date-picker class="box-input"
|
||||||
:placeholder="$t('PleaseSelect')+$t('filingtime')"
|
:placeholder="$t('PleaseSelect')+$t('filingtime')"
|
||||||
@change="dateChange({db_field_name:'batjs'})"
|
@change="dateChange({db_field_name:'batjsj'})"
|
||||||
format="YYYY-MM-DD"
|
format="YYYY-MM-DD"
|
||||||
:getCalendarContainer="(trigger) => trigger.parentNode"
|
:getCalendarContainer="(trigger) => trigger.parentNode"
|
||||||
v-model="formInline.batjs"
|
v-model="formInline.batjsj"
|
||||||
:disabled="false"
|
:disabled="false"
|
||||||
style="width: 100%"/>
|
style="width: 100%"/>
|
||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
@@ -76,7 +76,7 @@ export default {
|
|||||||
visible: false,
|
visible: false,
|
||||||
confirmLoading: false,
|
confirmLoading: false,
|
||||||
formInline: {
|
formInline: {
|
||||||
batjs:'',
|
batjsj:'',
|
||||||
},
|
},
|
||||||
rules: {
|
rules: {
|
||||||
// listConfirmation: [
|
// listConfirmation: [
|
||||||
@@ -129,7 +129,7 @@ export default {
|
|||||||
// }
|
// }
|
||||||
// ]
|
// ]
|
||||||
},
|
},
|
||||||
ids: []
|
ids: ''
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
@@ -137,11 +137,12 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
edit(row) {
|
edit(row) {
|
||||||
if(row instanceof Array){
|
if(row instanceof Array){
|
||||||
this.ids = row
|
this.ids = row.join(',')
|
||||||
}else{
|
}else{
|
||||||
this.formInline.bazt = row.bazt
|
this.formInline.bazt = row.bazt
|
||||||
this.formInline.batjs = row.batjs
|
this.formInline.batjsj = row.batjsj
|
||||||
this.formInline.bz = row.bz
|
this.formInline.bz = row.bz
|
||||||
|
this.ids = row.id
|
||||||
}
|
}
|
||||||
this.visible = true
|
this.visible = true
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
@@ -153,12 +154,10 @@ export default {
|
|||||||
if (valid) {
|
if (valid) {
|
||||||
let query = {
|
let query = {
|
||||||
...this.formInline,
|
...this.formInline,
|
||||||
id:this.ids.join(',')
|
ids:this.ids.join(',')
|
||||||
}
|
}
|
||||||
this.confirmLoading = true
|
this.confirmLoading = true
|
||||||
postAction('ota/otaBaSjList/batchRecord', {
|
postAction('ota/otaBaSjList/batchRecord', query).then((res) => {
|
||||||
recordList :query
|
|
||||||
}).then((res) => {
|
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.$message.success(this.$t('OperationSuccessful'))
|
this.$message.success(this.$t('OperationSuccessful'))
|
||||||
this.visible = false
|
this.visible = false
|
||||||
@@ -174,9 +173,9 @@ export default {
|
|||||||
},
|
},
|
||||||
handleCancel() {
|
handleCancel() {
|
||||||
this.formInline = {
|
this.formInline = {
|
||||||
batjs:''
|
batjsj:''
|
||||||
}
|
}
|
||||||
this.ids = []
|
this.ids = ''
|
||||||
this.visible = false
|
this.visible = false
|
||||||
},
|
},
|
||||||
dateChange(item) {
|
dateChange(item) {
|
||||||
|
|||||||
@@ -281,7 +281,7 @@ export default {
|
|||||||
align: 'left',
|
align: 'left',
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
width: 140,
|
width: 140,
|
||||||
dataIndex: 'batjs'
|
dataIndex: 'batjsj'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('createTime'),
|
title: this.$t('createTime'),
|
||||||
|
|||||||
+52
-11
@@ -2,10 +2,9 @@
|
|||||||
<div class="box">
|
<div class="box">
|
||||||
<div class="table-operator">
|
<div class="table-operator">
|
||||||
<div class="operator-text">
|
<div class="operator-text">
|
||||||
<a-icon type="import" :rotate="270"/>
|
<ImportFile :url="url" :dummyInventoryBaseId="$route.query.id" :isTrue="true" :accept="'.zip'" />
|
||||||
{{$t('dataimport')}}
|
|
||||||
</div>
|
</div>
|
||||||
<div class="operator-text">
|
<div @click='handleModule' class="operator-text">
|
||||||
<a-icon type="download"/>
|
<a-icon type="download"/>
|
||||||
{{$t('templateDownload')}}
|
{{$t('templateDownload')}}
|
||||||
</div>
|
</div>
|
||||||
@@ -22,7 +21,8 @@
|
|||||||
<a-form-model-item class="itemModel" prop="dutyTerritory">
|
<a-form-model-item class="itemModel" prop="dutyTerritory">
|
||||||
|
|
||||||
<a-select :disabled="disabled" class="box-input" v-model="form.cxmb" allowClear :triggerChange="false" :placeholder="$t('PleaseSelect')">
|
<a-select :disabled="disabled" class="box-input" v-model="form.cxmb" allowClear :triggerChange="false" :placeholder="$t('PleaseSelect')">
|
||||||
<a-select-option v-for="(item , key ) in selectList" :key="key" >
|
<a-select-option v-for="(item , key ) in selectList" :key="key" :value="item.id">
|
||||||
|
{{ item.ggpc }}
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
</a-select>
|
</a-select>
|
||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
@@ -219,12 +219,15 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { getAction, postAction, deleteAction } from '@/api/manage'
|
import { getAction, postAction, deleteAction,downloadFile } from '@/api/manage'
|
||||||
|
import ImportFile from '@/components/ImportFileData/index'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'basicInformation',
|
name: 'basicInformation',
|
||||||
components:{
|
components:{
|
||||||
|
ImportFile
|
||||||
},
|
},
|
||||||
|
// props:['otaId'],
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
confirmLoading: false,
|
confirmLoading: false,
|
||||||
@@ -232,6 +235,10 @@
|
|||||||
formInline:{},
|
formInline:{},
|
||||||
projectNameList:[],
|
projectNameList:[],
|
||||||
formRules:[],
|
formRules:[],
|
||||||
|
url: {
|
||||||
|
exportData: '/ota/otaBaCxJbxx/exportData',
|
||||||
|
importZipUrl: '/ota/otaBaCxJbxx/importData',//导入
|
||||||
|
},
|
||||||
form:{},
|
form:{},
|
||||||
projectNameList1:['传统动力汽车','节能汽车','新能源汽车','其他'],
|
projectNameList1:['传统动力汽车','节能汽车','新能源汽车','其他'],
|
||||||
projectNameList2:[],
|
projectNameList2:[],
|
||||||
@@ -240,15 +247,21 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
this.$forceUpdate()
|
||||||
this.getSelect()
|
this.getSelect()
|
||||||
|
this.getData()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
// 模板下载
|
||||||
|
handleModule() {
|
||||||
|
downloadFile('ota/otaBaCxJbxx/exportTemplate', '车型及功能备案' + '.zip', {})
|
||||||
|
},
|
||||||
getSelect(){
|
getSelect(){
|
||||||
getAction('/ota/otaBaCxList/list').then(res=>{
|
getAction('/ota/otaBaCxList/list').then(res=>{
|
||||||
if(res.code==200){
|
if(res.code==200){
|
||||||
this.selectList=[]
|
this.selectList=[]
|
||||||
|
res.result.forEach(item=>{
|
||||||
let obj={}
|
let obj={}
|
||||||
res.result.map(item=>{
|
|
||||||
obj.id=item.id
|
obj.id=item.id
|
||||||
obj.ggpc=item.ggpc
|
obj.ggpc=item.ggpc
|
||||||
this.selectList.push(obj)
|
this.selectList.push(obj)
|
||||||
@@ -256,18 +269,46 @@
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
getData(){
|
||||||
|
let otaIdT=localStorage.getItem('otaIdT')
|
||||||
|
if(otaIdT==null){
|
||||||
|
otaIdT=''
|
||||||
|
}
|
||||||
|
if(localStorage.getItem('otaId') == null){
|
||||||
|
return
|
||||||
|
}else{
|
||||||
|
getAction('/ota/otaBaCxJbxx/queryByOtaId',{otaIdT:otaIdT,otaId:localStorage.getItem('otaId')}).then(res=>{
|
||||||
|
if(res.code == 200){
|
||||||
|
this.form=res.result
|
||||||
|
if(res.result.dllx1 == null ){
|
||||||
|
res.result.dllx1 = undefined
|
||||||
|
}
|
||||||
|
if(res.result.dllx2 == null){
|
||||||
|
res.result.dllx2 = undefined
|
||||||
|
}
|
||||||
|
this.changeSelect()
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
},
|
||||||
next(){
|
next(){
|
||||||
this.save()
|
this.save()
|
||||||
|
setTimeout(()=>{
|
||||||
this.$emit('basicInformationForm')
|
this.$emit('basicInformationForm')
|
||||||
},
|
},300)
|
||||||
save(){
|
|
||||||
|
|
||||||
postAction('/ota/otaBaCxJbxx/add',{otaId:this.otaId,...this.form}).then( res => {
|
},
|
||||||
console.log(res);
|
async save(){
|
||||||
|
postAction('/ota/otaBaCxJbxx/add',{ otaId:localStorage.getItem('otaId'),...this.form}).then( res => {
|
||||||
|
if(res.code == 200){
|
||||||
|
localStorage.setItem('otaId', res.result.otaId)
|
||||||
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
changeSelect(target){
|
changeSelect(target){
|
||||||
this.form.Vehicledynamictype2=undefined
|
this.form.dllx2=undefined
|
||||||
if(target =='传统动力汽车'){
|
if(target =='传统动力汽车'){
|
||||||
this. projectNameList2=['汽油','柴油']
|
this. projectNameList2=['汽油','柴油']
|
||||||
}else if (target =='节能汽车'){
|
}else if (target =='节能汽车'){
|
||||||
|
|||||||
+65
-6
@@ -2,10 +2,9 @@
|
|||||||
<div class="box">
|
<div class="box">
|
||||||
<div class="table-operator">
|
<div class="table-operator">
|
||||||
<div class="operator-text">
|
<div class="operator-text">
|
||||||
<a-icon type="import" :rotate="270"/>
|
<ImportFile :url="url" :dummyInventoryBaseId="$route.query.id" :isTrue="true" :accept="'.zip'" />
|
||||||
{{$t('dataimport')}}
|
|
||||||
</div>
|
</div>
|
||||||
<div class="operator-text">
|
<div @click='handleModule' class="operator-text">
|
||||||
<a-icon type="download"/>
|
<a-icon type="download"/>
|
||||||
{{$t('templateDownload')}}
|
{{$t('templateDownload')}}
|
||||||
</div>
|
</div>
|
||||||
@@ -103,16 +102,22 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { getAction, postAction, deleteAction } from '@/api/manage'
|
import { getAction, postAction, deleteAction,downloadFile } from '@/api/manage'
|
||||||
|
import ImportFile from '@/components/ImportFileData/index'
|
||||||
import uploadFile from '@/components/uploadFile/file'
|
import uploadFile from '@/components/uploadFile/file'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'beupgradedonline',
|
name: 'beupgradedonline',
|
||||||
components:{
|
components:{
|
||||||
uploadFile
|
uploadFile,
|
||||||
|
ImportFile
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
url: {
|
||||||
|
exportData: '/ota/otaBaCxKsjjsmccs/exportData',
|
||||||
|
importZipUrl: '/ota/otaBaCxKsjjsmccs/importData',//导入
|
||||||
|
},
|
||||||
dataSource: [
|
dataSource: [
|
||||||
{
|
{
|
||||||
gnmc:'前向碰撞预警(FCW)'
|
gnmc:'前向碰撞预警(FCW)'
|
||||||
@@ -278,8 +283,13 @@
|
|||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
// this.getList()
|
// this.getList()
|
||||||
|
this.getData()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
// 模板下载
|
||||||
|
handleModule() {
|
||||||
|
downloadFile('ota/otaBaCxKsjjsmccs/exportTemplate', '车型及功能备案' + '.zip', {})
|
||||||
|
},
|
||||||
getList() {
|
getList() {
|
||||||
let queryParam = JSON.parse(JSON.stringify(this.queryParam))
|
let queryParam = JSON.parse(JSON.stringify(this.queryParam))
|
||||||
Object.keys(queryParam).forEach(val => {
|
Object.keys(queryParam).forEach(val => {
|
||||||
@@ -308,8 +318,57 @@
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
getData(){
|
||||||
|
let otaIdT=localStorage.getItem('otaIdT')
|
||||||
|
if(otaIdT==null){
|
||||||
|
otaIdT=''
|
||||||
|
}
|
||||||
|
getAction('/ota/otaBaCxKsjjsmccs/queryByOtaId',{otaIdT:otaIdT,otaId:localStorage.getItem('otaId')}).then(res=>{
|
||||||
|
if(res.code==200){
|
||||||
|
if(res.result.length==0){
|
||||||
|
this.dataSource=[
|
||||||
|
{
|
||||||
|
gnmc:'前向碰撞预警(FCW)'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
gnmc:'车道偏离预警(LDW)'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
gnmc:'百区监测(BSD)'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
gnmc:'驻员疲劳篮澳CDFM)'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
gnmc:'自动紧急制动(AEB)'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
gnmc:'自适应巡航控制(ACC)'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
gnmc:'自适应巡航控制(ACC)'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
gnmc:'智能泊车辅助(IPA)'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
gnmc:'交通拥堵辅助(TJA)'
|
||||||
|
},
|
||||||
|
]
|
||||||
|
}else{
|
||||||
|
res.result.forEach(item =>{
|
||||||
|
item.pzqk =Number(item.pzqk)
|
||||||
|
})
|
||||||
|
res.result.forEach(item =>{
|
||||||
|
item.sfksj =Number(item.sfksj)
|
||||||
|
})
|
||||||
|
this.dataSource=res.result
|
||||||
|
}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
save(){
|
save(){
|
||||||
postAction('',{otaId:this.otaId,list:this.dataSource}).then(res =>{
|
postAction('/ota/otaBaCxKsjjsmccs/add',{otaId:localStorage.getItem('otaId'),list:this.dataSource}).then(res =>{
|
||||||
console.log(res);
|
console.log(res);
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
+7
-284
@@ -2,29 +2,14 @@
|
|||||||
<div class="box">
|
<div class="box">
|
||||||
<a-row :gutter="24" style='margin-top: 30px'>
|
<a-row :gutter="24" style='margin-top: 30px'>
|
||||||
<a-col :span="24">
|
<a-col :span="24">
|
||||||
<div class="box-title-text">
|
<div class="box-title-text" v-for='(item,index) in dataSource'>
|
||||||
<div class="title-text">
|
<div class="title-text">
|
||||||
<span class="dot"></span>
|
<span class="dot"></span>
|
||||||
<span class="title-text-text"
|
<span class="title-text-text"
|
||||||
:title="$t('parameterTemplate')">{{$t('parameterTemplate')}}</span>
|
:title="item.sjzt">{{item.sjzt_dictText}}</span>
|
||||||
<div class='titlebox'>
|
<div class='titlebox'>
|
||||||
<span class='titlebox-text'>提交审批</span>
|
<span class='titlebox-text'>{{item.sjzt_dictText}}</span>
|
||||||
<span class='titlebox-text-text'>2023-02-02 14:13:21</span>
|
<span class='titlebox-text-text'>{{item.updateTime}}</span>
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</a-col>
|
|
||||||
</a-row>
|
|
||||||
<a-row :gutter="24" style='margin-top: 30px'>
|
|
||||||
<a-col :span="24">
|
|
||||||
<div class="box-title-text">
|
|
||||||
<div class="title-text">
|
|
||||||
<span class="dot"></span>
|
|
||||||
<span class="title-text-text"
|
|
||||||
:title="$t('parameterTemplate')">{{$t('parameterTemplate')}}</span>
|
|
||||||
<div class='titlebox'>
|
|
||||||
<span class='titlebox-text'>提交审批</span>
|
|
||||||
<span class='titlebox-text-text'>2023-02-02 14:13:21</span>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -47,70 +32,7 @@
|
|||||||
return {
|
return {
|
||||||
dataSource: [],
|
dataSource: [],
|
||||||
loading: false,
|
loading: false,
|
||||||
url: {
|
|
||||||
list: '/todoCenter/projectProcess/doneProcess'
|
|
||||||
},
|
|
||||||
queryParam: {},
|
queryParam: {},
|
||||||
columns: [
|
|
||||||
{
|
|
||||||
title: this.$t('RelatedItems'),
|
|
||||||
align: 'left',
|
|
||||||
dataIndex: 'projectName',
|
|
||||||
ellipsis: true,
|
|
||||||
scopedSlots: { customRender: 'RelatedItems' },
|
|
||||||
width: 170
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: this.$t('standardInformation'),
|
|
||||||
align: 'left',
|
|
||||||
dataIndex: 'standardInfo',
|
|
||||||
ellipsis: true,
|
|
||||||
scopedSlots: { customRender: 'standardInformation' },
|
|
||||||
width: 170
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: this.$t('taskType'),
|
|
||||||
align: 'left',
|
|
||||||
dataIndex: 'flowTypeShow',
|
|
||||||
ellipsis: true,
|
|
||||||
width: 170
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: this.$t('Sponsor'),
|
|
||||||
align: 'left',
|
|
||||||
dataIndex: 'createBy',
|
|
||||||
ellipsis: true,
|
|
||||||
width: 170
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: this.$t('CurrentProcessor'),
|
|
||||||
align: 'left',
|
|
||||||
dataIndex: 'assigneeName',
|
|
||||||
ellipsis: true,
|
|
||||||
width: 170
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: this.$t('TaskCutOffTime'),
|
|
||||||
align: 'left',
|
|
||||||
dataIndex: 'endTime',
|
|
||||||
ellipsis: true,
|
|
||||||
width: 170
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: this.$t('taskStatus'),
|
|
||||||
align: 'left',
|
|
||||||
dataIndex: 'statusShow',
|
|
||||||
ellipsis: true,
|
|
||||||
width: 170
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: this.$t('operation'),
|
|
||||||
align: 'left',
|
|
||||||
fixed: 'right',
|
|
||||||
width: 120,
|
|
||||||
scopedSlots: { customRender: 'operation' }
|
|
||||||
}
|
|
||||||
],
|
|
||||||
selectedRowKeys: [],
|
selectedRowKeys: [],
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
pageNo: 1,
|
pageNo: 1,
|
||||||
@@ -124,213 +46,14 @@
|
|||||||
back(){
|
back(){
|
||||||
this.$emit('historicalrecordup')
|
this.$emit('historicalrecordup')
|
||||||
},
|
},
|
||||||
monitoringProcessClick(row){
|
|
||||||
let newUrl = this.$router.resolve({
|
|
||||||
path: '/processDetails',
|
|
||||||
query: {
|
|
||||||
prcNum: row.prcNum,
|
|
||||||
prcType:row.flowType,
|
|
||||||
prcId:row.actiProcInstId,
|
|
||||||
}
|
|
||||||
})
|
|
||||||
window.open(newUrl.href, '_blank')
|
|
||||||
},
|
|
||||||
RelatedItemsClick(item) {
|
|
||||||
let newUrl = this.$router.resolve({
|
|
||||||
path: '/ProjectDetails',
|
|
||||||
query: {
|
|
||||||
id: item.projectLibraryId,
|
|
||||||
projectName: item.projectName,
|
|
||||||
projectNameId: item.projectNameId,
|
|
||||||
targetMarket: item.targetMarket,
|
|
||||||
studioEngineer:item.studioEngineer,
|
|
||||||
}
|
|
||||||
})
|
|
||||||
window.open(newUrl.href, '_blank')
|
|
||||||
},
|
|
||||||
standardInformationClick(item){
|
|
||||||
let newUrl = this.$router.resolve({
|
|
||||||
path: '/docManage/library/detail',
|
|
||||||
query: {
|
|
||||||
id: item.bussDocumentLibraryId,
|
|
||||||
}
|
|
||||||
})
|
|
||||||
window.open(newUrl.href, '_blank')
|
|
||||||
},
|
|
||||||
viewClick(row) {
|
|
||||||
let query = {}
|
|
||||||
row.router = this.$route.path
|
|
||||||
if (row.flowType == '1') {
|
|
||||||
query = {
|
|
||||||
taskDefinitionKey:row.taskDefinitionKey,
|
|
||||||
taskIds:row.taskId,
|
|
||||||
prcType:row.flowType,
|
|
||||||
prcNum:row.prcNum,
|
|
||||||
isTrue:false,
|
|
||||||
}
|
|
||||||
let newUrl = this.$router.resolve({
|
|
||||||
path: '/handshakeProcess',
|
|
||||||
query: query
|
|
||||||
})
|
|
||||||
window.open(newUrl.href, '_blank')
|
|
||||||
}else if(row.flowType == '10'){
|
|
||||||
let newUrl = this.$router.resolve({
|
|
||||||
path: '/ProjectDetails',
|
|
||||||
query: {
|
|
||||||
id: row.projectLibraryId,
|
|
||||||
projectName: row.projectName,
|
|
||||||
projectNameId: row.projectNameId,
|
|
||||||
targetMarket: row.targetMarket,
|
|
||||||
studioEngineer:row.studioEngineer,
|
|
||||||
type:'102',
|
|
||||||
}
|
|
||||||
})
|
|
||||||
window.open(newUrl.href, '_blank')
|
|
||||||
}else if(row.flowType == '2'){
|
|
||||||
row.taskId = row.taskId + ''
|
|
||||||
if (row.taskId.length > 30) {
|
|
||||||
row.taskId = ''
|
|
||||||
}
|
|
||||||
query = {
|
|
||||||
router: row.router,
|
|
||||||
taskIds:row.taskId,
|
|
||||||
actiProcInstId: row.actiProcInstId,
|
|
||||||
projectTaskInventoryId: row.projectLawsInventoryId,
|
|
||||||
projectLibraryId:row.projectLibraryId,
|
|
||||||
id: row.projectLibraryId,
|
|
||||||
studioEngineer: row.studioEngineer,
|
|
||||||
serialNumber: row.serialNumber,
|
|
||||||
TaskKey: row.taskDefinitionKey,
|
|
||||||
isDisplay: false,
|
|
||||||
flowType: 2,
|
|
||||||
Sponsor: 'designInitiatorName',
|
|
||||||
personLiable: 'designDutyName',
|
|
||||||
typeOfDeliverables: 'designDeliverableTypeName',
|
|
||||||
deliverableTemplate: 'designDeliverableTemplate',
|
|
||||||
DueDate: 'designDueDate',
|
|
||||||
remarks: 'designRemark',
|
|
||||||
projectName: row.projectName,
|
|
||||||
targetMarket: row.targetMarket,
|
|
||||||
projectNameId: row.projectNameId,
|
|
||||||
primaryKeyId: row.primaryKeyId,
|
|
||||||
PersonChargeFeedback: row.personChargeFeedback
|
|
||||||
}
|
|
||||||
let newUrl = this.$router.resolve({
|
|
||||||
path: '/taskListProcess',
|
|
||||||
query: query
|
|
||||||
})
|
|
||||||
window.open(newUrl.href, '_blank')
|
|
||||||
}else if(row.flowType == '3'){
|
|
||||||
row.taskId = row.taskId + ''
|
|
||||||
if (row.taskId.length > 30) {
|
|
||||||
row.taskId = ''
|
|
||||||
}
|
|
||||||
query = {
|
|
||||||
router: row.router,
|
|
||||||
taskIds:row.taskId,
|
|
||||||
actiProcInstId: row.actiProcInstId,
|
|
||||||
projectTaskInventoryId: row.projectLawsInventoryId,
|
|
||||||
studioEngineer: row.studioEngineer,
|
|
||||||
projectLibraryId:row.projectLibraryId,
|
|
||||||
serialNumber: row.serialNumber,
|
|
||||||
TaskKey: row.taskDefinitionKey,
|
|
||||||
flowType: 3,
|
|
||||||
isDisplay: false,
|
|
||||||
id: row.projectLibraryId,
|
|
||||||
Sponsor: 'prehomoInitiatorName',
|
|
||||||
personLiable: 'prehomoDutyName',
|
|
||||||
typeOfDeliverables: 'prehomoDeliverableTypeName',
|
|
||||||
deliverableTemplate: 'prehomoDeliverableTemplate',
|
|
||||||
DueDate: 'prehomoDueDate',
|
|
||||||
remarks: 'prehomoRemark',
|
|
||||||
projectName: row.projectName,
|
|
||||||
targetMarket: row.targetMarket,
|
|
||||||
projectNameId: row.projectNameId,
|
|
||||||
primaryKeyId: row.primaryKeyId,
|
|
||||||
PersonChargeFeedback: row.personChargeFeedback
|
|
||||||
}
|
|
||||||
let newUrl = this.$router.resolve({
|
|
||||||
path: '/taskListProcess',
|
|
||||||
query: query
|
|
||||||
})
|
|
||||||
window.open(newUrl.href, '_blank')
|
|
||||||
}else if(row.flowType == '4'){
|
|
||||||
row.taskId = row.taskId + ''
|
|
||||||
if (row.taskId.length > 30) {
|
|
||||||
row.taskId = ''
|
|
||||||
}
|
|
||||||
query = {
|
|
||||||
router: row.router,
|
|
||||||
taskIds: row.taskId,
|
|
||||||
actiProcInstId: row.actiProcInstId,
|
|
||||||
id: row.projectLibraryId,
|
|
||||||
projectLibraryId: row.projectLibraryId,
|
|
||||||
studioEngineer: row.studioEngineer,
|
|
||||||
serialNumber: row.serialNumber,
|
|
||||||
projectTaskInventoryId: row.projectLawsInventoryId,
|
|
||||||
TaskKey: row.taskDefinitionKey,
|
|
||||||
flowType: 4,
|
|
||||||
isDisplay: false,
|
|
||||||
Sponsor: 'verifyInitiatorName',
|
|
||||||
personLiable: 'verifyDutyName',
|
|
||||||
typeOfDeliverables: 'verifyDeliverableTypeName',
|
|
||||||
deliverableTemplate: 'verifyDeliverableTemplate',
|
|
||||||
DueDate: 'verifyDueDate',
|
|
||||||
remarks: 'verifyRemark',
|
|
||||||
projectName: row.projectName,
|
|
||||||
targetMarket: row.targetMarket,
|
|
||||||
projectNameId: row.projectNameId,
|
|
||||||
primaryKeyId: row.primaryKeyId,
|
|
||||||
PersonChargeFeedback: row.personChargeFeedback
|
|
||||||
}
|
|
||||||
let newUrl = this.$router.resolve({
|
|
||||||
path: '/taskListProcess',
|
|
||||||
query: query
|
|
||||||
})
|
|
||||||
window.open(newUrl.href, '_blank')
|
|
||||||
}
|
|
||||||
},
|
|
||||||
searchQuery(value) {
|
|
||||||
this.queryParam = value
|
|
||||||
this.pageNo = 1
|
|
||||||
this.getList()
|
|
||||||
},
|
|
||||||
searchReset() {
|
|
||||||
this.queryParam = {}
|
|
||||||
this.pageNo = 1
|
|
||||||
this.getList()
|
|
||||||
},
|
|
||||||
pageOnChange(page) {
|
|
||||||
this.pageNo = page
|
|
||||||
this.getList()
|
|
||||||
},
|
|
||||||
SizeChange(page, pageSize) {
|
|
||||||
this.pageNo = 1
|
|
||||||
this.pageSize = pageSize
|
|
||||||
this.getList()
|
|
||||||
},
|
|
||||||
getList() {
|
getList() {
|
||||||
let queryParam = JSON.parse(JSON.stringify(this.queryParam))
|
|
||||||
Object.keys(queryParam).forEach(val => {
|
|
||||||
if (queryParam[val] instanceof Array) {
|
|
||||||
queryParam[val] = queryParam[val].join(',')
|
|
||||||
}
|
|
||||||
})
|
|
||||||
let query = {
|
let query = {
|
||||||
pageNo: this.pageNo,
|
otaId:localStorage.getItem('otaId')
|
||||||
pageSize: this.pageSize,
|
|
||||||
...queryParam
|
|
||||||
}
|
}
|
||||||
this.loading = true
|
this.loading = true
|
||||||
getAction(this.url.list, query).then((res) => {
|
getAction('ota/otaBaCxLsjl/list', query).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
if (res.result.current > 1 && res.result.records.length == 0) {
|
this.dataSource = res.result || []
|
||||||
this.pageNo = 1
|
|
||||||
this.getList()
|
|
||||||
return
|
|
||||||
}
|
|
||||||
this.dataSource = res.result.records || []
|
|
||||||
this.total = res.result.total
|
|
||||||
this.loading = false
|
this.loading = false
|
||||||
} else {
|
} else {
|
||||||
this.loading = false
|
this.loading = false
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
</a-spin>
|
</a-spin>
|
||||||
<div class="bootom-button">
|
<div class="bootom-button">
|
||||||
<a-button style="margin-right:50px" @click="save">{{$t('preservation')}}</a-button>
|
<a-button style="margin-right:50px" @click="save">{{$t('preservation')}}</a-button>
|
||||||
<a-button type="primary" @click='last' style="margin-right:50px">{{$t('last')}}</a-button>
|
<a-button type="primary" style='margin-right: 50px' @click='last'>{{$t('last')}}</a-button>
|
||||||
<a-button type="primary" @click='submit'>{{$t('submit')}}</a-button>
|
<a-button type="primary" @click='submit'>{{$t('submit')}}</a-button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -33,6 +33,7 @@ export default {
|
|||||||
name: 'basicInformation',
|
name: 'basicInformation',
|
||||||
components:{
|
components:{
|
||||||
},
|
},
|
||||||
|
props:['otaId'],
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
confirmLoading: false,
|
confirmLoading: false,
|
||||||
@@ -46,13 +47,22 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
this.getData()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
getData(){
|
||||||
|
let otaIdT=localStorage.getItem('otaIdT')
|
||||||
|
if(otaIdT==null){
|
||||||
|
otaIdT=''
|
||||||
|
}
|
||||||
|
getAction('/ota/otaBaCxQt/queryByOtaId',{otaIdT:otaIdT,otaId:localStorage.getItem('otaId')}).then(res=>{
|
||||||
|
console.log(res);
|
||||||
|
})
|
||||||
|
},
|
||||||
save(){
|
save(){
|
||||||
this.$refs.ruleForm.validate( valid =>{
|
this.$refs.ruleForm.validate( valid =>{
|
||||||
if (valid) {
|
if (valid) {
|
||||||
postAction('/ota/otaBaCxQt/add',this.queryParam).then(res=>{
|
postAction('/ota/otaBaCxQt/add',{otaId:localStorage.getItem('otaId'),...this.queryParam}).then(res=>{
|
||||||
console.log(res);
|
console.log(res);
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
@@ -67,8 +77,10 @@ export default {
|
|||||||
submit(){
|
submit(){
|
||||||
this.save()
|
this.save()
|
||||||
},
|
},
|
||||||
|
},
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="less" scoped>
|
<style lang="less" scoped>
|
||||||
|
|||||||
+115
-66
@@ -2,10 +2,9 @@
|
|||||||
<div class="box">
|
<div class="box">
|
||||||
<div class="table-operator">
|
<div class="table-operator">
|
||||||
<div class="operator-text">
|
<div class="operator-text">
|
||||||
<a-icon type="import" :rotate="270"/>
|
<ImportFile :url="url" :dummyInventoryBaseId="$route.query.id" :isTrue="true" :accept="'.zip'" />
|
||||||
{{$t('dataimport')}}
|
|
||||||
</div>
|
</div>
|
||||||
<div class="operator-text">
|
<div @click='handleModule' class="operator-text">
|
||||||
<a-icon type="download"/>
|
<a-icon type="download"/>
|
||||||
{{$t('templateDownload')}}
|
{{$t('templateDownload')}}
|
||||||
</div>
|
</div>
|
||||||
@@ -279,20 +278,28 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { getAction, postAction, deleteAction } from '@/api/manage'
|
import { getAction, postAction, deleteAction,downloadFile } from '@/api/manage'
|
||||||
|
import ImportFile from '@/components/ImportFileData/index'
|
||||||
import uploadFile from '@/components/uploadFile/file'
|
import uploadFile from '@/components/uploadFile/file'
|
||||||
|
import { result } from 'lodash'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'upgradeRequirements',
|
name: 'upgradeRequirements',
|
||||||
components:{
|
components:{
|
||||||
uploadFile
|
uploadFile,
|
||||||
|
ImportFile
|
||||||
},
|
},
|
||||||
|
props:['otaId'],
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
radioList:9,
|
radioList:9,
|
||||||
|
url: {
|
||||||
|
exportData: '/ota/otaBaCxJsfzbacs/exportData',
|
||||||
|
importZipUrl: '/ota/otaBaCxJsfzbacs/importData',//导入
|
||||||
|
},
|
||||||
dataSource: [
|
dataSource: [
|
||||||
{
|
{
|
||||||
key: 'wlaqyq_sl',
|
key: 'wlaqyqSl',
|
||||||
val:'',
|
val:'',
|
||||||
componentname: this.$t('networksecurityrequirements'),
|
componentname: this.$t('networksecurityrequirements'),
|
||||||
configuration: this.$t('ineffectiveupgrades'),
|
configuration: this.$t('ineffectiveupgrades'),
|
||||||
@@ -300,7 +307,7 @@ export default {
|
|||||||
fillincontent:this.$t('yesisselected'),
|
fillincontent:this.$t('yesisselected'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'wlaqyq_bzwz',
|
key: 'wlaqyqBzwz',
|
||||||
val:'',
|
val:'',
|
||||||
componentname: this.$t('networksecurityrequirements'),
|
componentname: this.$t('networksecurityrequirements'),
|
||||||
configuration: this.$t('ineffectiveupgrades'),
|
configuration: this.$t('ineffectiveupgrades'),
|
||||||
@@ -308,7 +315,7 @@ export default {
|
|||||||
fillincontent:this.$t('forwardXquantity'),
|
fillincontent:this.$t('forwardXquantity'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'wlaqyq_ggxh',
|
key: 'wlaqyqGgxh',
|
||||||
val:'',
|
val:'',
|
||||||
componentname: this.$t('networksecurityrequirements'),
|
componentname: this.$t('networksecurityrequirements'),
|
||||||
configuration: this.$t('ineffectiveupgrades'),
|
configuration: this.$t('ineffectiveupgrades'),
|
||||||
@@ -316,7 +323,7 @@ export default {
|
|||||||
fillincontent:this.$t('yesisselected'),
|
fillincontent:this.$t('yesisselected'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'wlaqyq_scqy',
|
key: 'wlaqyqScqy',
|
||||||
val:'',
|
val:'',
|
||||||
componentname: this.$t('networksecurityrequirements'),
|
componentname: this.$t('networksecurityrequirements'),
|
||||||
configuration: this.$t('productionenterprise'),
|
configuration: this.$t('productionenterprise'),
|
||||||
@@ -324,7 +331,7 @@ export default {
|
|||||||
fillincontent:this.$t('yesisselected'),
|
fillincontent:this.$t('yesisselected'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'hmbld_sl',
|
key: 'hmbldSl',
|
||||||
val:'',
|
val:'',
|
||||||
componentname: this.$t('networksecurityrequirements'),
|
componentname: this.$t('networksecurityrequirements'),
|
||||||
configuration: this.$t('ineffectiveupgrades'),
|
configuration: this.$t('ineffectiveupgrades'),
|
||||||
@@ -332,7 +339,7 @@ export default {
|
|||||||
fillincontent:this.$t('yesisselected'),
|
fillincontent:this.$t('yesisselected'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'hmbld_bzwz',
|
key: 'hmbldBzwz',
|
||||||
val:'',
|
val:'',
|
||||||
componentname: this.$t('networksecurityrequirements'),
|
componentname: this.$t('networksecurityrequirements'),
|
||||||
configuration: this.$t('ineffectiveupgrades'),
|
configuration: this.$t('ineffectiveupgrades'),
|
||||||
@@ -340,7 +347,7 @@ export default {
|
|||||||
fillincontent:this.$t('forwardXquantity'),
|
fillincontent:this.$t('forwardXquantity'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'hmbld_ggxh',
|
key: 'hmbldGgxh',
|
||||||
val:'',
|
val:'',
|
||||||
componentname: this.$t('networksecurityrequirements'),
|
componentname: this.$t('networksecurityrequirements'),
|
||||||
configuration: this.$t('ineffectiveupgrades'),
|
configuration: this.$t('ineffectiveupgrades'),
|
||||||
@@ -348,7 +355,7 @@ export default {
|
|||||||
fillincontent:this.$t('yesisselected'),
|
fillincontent:this.$t('yesisselected'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'hmbld_scqy',
|
key: 'hmbldScqy',
|
||||||
val:'',
|
val:'',
|
||||||
componentname: this.$t('networksecurityrequirements'),
|
componentname: this.$t('networksecurityrequirements'),
|
||||||
configuration: this.$t('productionenterprise'),
|
configuration: this.$t('productionenterprise'),
|
||||||
@@ -356,7 +363,7 @@ export default {
|
|||||||
fillincontent:this.$t('yesisselected'),
|
fillincontent:this.$t('yesisselected'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'csbld_sl',
|
key: 'csbldSl',
|
||||||
val:'',
|
val:'',
|
||||||
componentname: this.$t('networksecurityrequirements'),
|
componentname: this.$t('networksecurityrequirements'),
|
||||||
configuration: this.$t('ineffectiveupgrades'),
|
configuration: this.$t('ineffectiveupgrades'),
|
||||||
@@ -364,7 +371,7 @@ export default {
|
|||||||
fillincontent:this.$t('yesisselected'),
|
fillincontent:this.$t('yesisselected'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'csbld_bzwz',
|
key: 'csbldBzwz',
|
||||||
val:'',
|
val:'',
|
||||||
componentname: this.$t('networksecurityrequirements'),
|
componentname: this.$t('networksecurityrequirements'),
|
||||||
configuration: this.$t('ineffectiveupgrades'),
|
configuration: this.$t('ineffectiveupgrades'),
|
||||||
@@ -372,7 +379,7 @@ export default {
|
|||||||
fillincontent:this.$t('forwardXquantity'),
|
fillincontent:this.$t('forwardXquantity'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: '1csbld_ggxh',
|
key: 'csbldGgxh',
|
||||||
val:'',
|
val:'',
|
||||||
componentname: this.$t('networksecurityrequirements'),
|
componentname: this.$t('networksecurityrequirements'),
|
||||||
configuration: this.$t('ineffectiveupgrades'),
|
configuration: this.$t('ineffectiveupgrades'),
|
||||||
@@ -380,7 +387,7 @@ export default {
|
|||||||
fillincontent:this.$t('yesisselected'),
|
fillincontent:this.$t('yesisselected'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'csbld_scqy',
|
key: 'csbldScqy',
|
||||||
val:'',
|
val:'',
|
||||||
componentname: this.$t('networksecurityrequirements'),
|
componentname: this.$t('networksecurityrequirements'),
|
||||||
configuration: this.$t('productionenterprise'),
|
configuration: this.$t('productionenterprise'),
|
||||||
@@ -388,7 +395,7 @@ export default {
|
|||||||
fillincontent:this.$t('yesisselected'),
|
fillincontent:this.$t('yesisselected'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'sxths_sl',
|
key: 'sxthsSl',
|
||||||
val:'',
|
val:'',
|
||||||
componentname: this.$t('networksecurityrequirements'),
|
componentname: this.$t('networksecurityrequirements'),
|
||||||
configuration: this.$t('ineffectiveupgrades'),
|
configuration: this.$t('ineffectiveupgrades'),
|
||||||
@@ -396,7 +403,7 @@ export default {
|
|||||||
fillincontent:this.$t('yesisselected'),
|
fillincontent:this.$t('yesisselected'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'sxths_bzwz',
|
key: 'sxthsBzwz',
|
||||||
val:'',
|
val:'',
|
||||||
componentname: this.$t('networksecurityrequirements'),
|
componentname: this.$t('networksecurityrequirements'),
|
||||||
configuration: this.$t('ineffectiveupgrades'),
|
configuration: this.$t('ineffectiveupgrades'),
|
||||||
@@ -404,7 +411,7 @@ export default {
|
|||||||
fillincontent:this.$t('forwardXquantity'),
|
fillincontent:this.$t('forwardXquantity'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'sxths_ggxh',
|
key: 'sxthsGgxh',
|
||||||
val:'',
|
val:'',
|
||||||
componentname: this.$t('networksecurityrequirements'),
|
componentname: this.$t('networksecurityrequirements'),
|
||||||
configuration: this.$t('ineffectiveupgrades'),
|
configuration: this.$t('ineffectiveupgrades'),
|
||||||
@@ -412,7 +419,7 @@ export default {
|
|||||||
fillincontent:this.$t('yesisselected'),
|
fillincontent:this.$t('yesisselected'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'sxths_scqy',
|
key: 'sxthsScqy',
|
||||||
val:'',
|
val:'',
|
||||||
componentname: this.$t('networksecurityrequirements'),
|
componentname: this.$t('networksecurityrequirements'),
|
||||||
configuration: this.$t('productionenterprise'),
|
configuration: this.$t('productionenterprise'),
|
||||||
@@ -420,7 +427,7 @@ export default {
|
|||||||
fillincontent:this.$t('yesisselected'),
|
fillincontent:this.$t('yesisselected'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'sxtdsd_sl',
|
key: 'sxtdsdSl',
|
||||||
val:'',
|
val:'',
|
||||||
componentname: this.$t('networksecurityrequirements'),
|
componentname: this.$t('networksecurityrequirements'),
|
||||||
configuration: this.$t('ineffectiveupgrades'),
|
configuration: this.$t('ineffectiveupgrades'),
|
||||||
@@ -428,7 +435,7 @@ export default {
|
|||||||
fillincontent:this.$t('yesisselected'),
|
fillincontent:this.$t('yesisselected'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'sxtdsd_bzwz',
|
key: 'sxtdsdBzwz',
|
||||||
val:'',
|
val:'',
|
||||||
componentname: this.$t('networksecurityrequirements'),
|
componentname: this.$t('networksecurityrequirements'),
|
||||||
configuration: this.$t('ineffectiveupgrades'),
|
configuration: this.$t('ineffectiveupgrades'),
|
||||||
@@ -436,7 +443,7 @@ export default {
|
|||||||
fillincontent:this.$t('forwardXquantity'),
|
fillincontent:this.$t('forwardXquantity'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'sxtdsd_ggxh',
|
key: 'sxtdsdGgxh',
|
||||||
val:'',
|
val:'',
|
||||||
componentname: this.$t('networksecurityrequirements'),
|
componentname: this.$t('networksecurityrequirements'),
|
||||||
configuration: this.$t('ineffectiveupgrades'),
|
configuration: this.$t('ineffectiveupgrades'),
|
||||||
@@ -444,7 +451,7 @@ export default {
|
|||||||
fillincontent:this.$t('yesisselected'),
|
fillincontent:this.$t('yesisselected'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'sxtdsd_scqy',
|
key: 'sxtdsdScqy',
|
||||||
val:'',
|
val:'',
|
||||||
componentname: this.$t('networksecurityrequirements'),
|
componentname: this.$t('networksecurityrequirements'),
|
||||||
configuration: this.$t('productionenterprise'),
|
configuration: this.$t('productionenterprise'),
|
||||||
@@ -452,7 +459,7 @@ export default {
|
|||||||
fillincontent:this.$t('yesisselected'),
|
fillincontent:this.$t('yesisselected'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'jsyjk_sl',
|
key: 'jsyjkSl',
|
||||||
val:'',
|
val:'',
|
||||||
componentname: this.$t('networksecurityrequirements'),
|
componentname: this.$t('networksecurityrequirements'),
|
||||||
configuration: this.$t('ineffectiveupgrades'),
|
configuration: this.$t('ineffectiveupgrades'),
|
||||||
@@ -460,7 +467,7 @@ export default {
|
|||||||
fillincontent:this.$t('yesisselected'),
|
fillincontent:this.$t('yesisselected'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'jsyjk_bzwz',
|
key: 'jsyjkBzwz',
|
||||||
val:'',
|
val:'',
|
||||||
componentname: this.$t('networksecurityrequirements'),
|
componentname: this.$t('networksecurityrequirements'),
|
||||||
configuration: this.$t('ineffectiveupgrades'),
|
configuration: this.$t('ineffectiveupgrades'),
|
||||||
@@ -468,7 +475,7 @@ export default {
|
|||||||
fillincontent:this.$t('forwardXquantity'),
|
fillincontent:this.$t('forwardXquantity'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'jsyjk_ggxh',
|
key: 'jsyjkGgxh',
|
||||||
val:'',
|
val:'',
|
||||||
componentname: this.$t('networksecurityrequirements'),
|
componentname: this.$t('networksecurityrequirements'),
|
||||||
configuration: this.$t('ineffectiveupgrades'),
|
configuration: this.$t('ineffectiveupgrades'),
|
||||||
@@ -476,7 +483,7 @@ export default {
|
|||||||
fillincontent:this.$t('yesisselected'),
|
fillincontent:this.$t('yesisselected'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'jsyjk_scqy',
|
key: 'jsyjkScqy',
|
||||||
val:'',
|
val:'',
|
||||||
componentname: this.$t('networksecurityrequirements'),
|
componentname: this.$t('networksecurityrequirements'),
|
||||||
configuration: this.$t('productionenterprise'),
|
configuration: this.$t('productionenterprise'),
|
||||||
@@ -484,7 +491,7 @@ export default {
|
|||||||
fillincontent:this.$t('yesisselected'),
|
fillincontent:this.$t('yesisselected'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'jsyhw_sl',
|
key: 'jsyhwSl',
|
||||||
val:'',
|
val:'',
|
||||||
componentname: this.$t('networksecurityrequirements'),
|
componentname: this.$t('networksecurityrequirements'),
|
||||||
configuration: this.$t('ineffectiveupgrades'),
|
configuration: this.$t('ineffectiveupgrades'),
|
||||||
@@ -492,7 +499,7 @@ export default {
|
|||||||
fillincontent:this.$t('yesisselected'),
|
fillincontent:this.$t('yesisselected'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'jsyhw_bzwz',
|
key: 'jsyhwBzwz',
|
||||||
val:'',
|
val:'',
|
||||||
componentname: this.$t('networksecurityrequirements'),
|
componentname: this.$t('networksecurityrequirements'),
|
||||||
configuration: this.$t('ineffectiveupgrades'),
|
configuration: this.$t('ineffectiveupgrades'),
|
||||||
@@ -500,7 +507,7 @@ export default {
|
|||||||
fillincontent:this.$t('forwardXquantity'),
|
fillincontent:this.$t('forwardXquantity'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'jsyhw_ggxh',
|
key: 'jsyhwGgxh',
|
||||||
val:'',
|
val:'',
|
||||||
componentname: this.$t('networksecurityrequirements'),
|
componentname: this.$t('networksecurityrequirements'),
|
||||||
configuration: this.$t('ineffectiveupgrades'),
|
configuration: this.$t('ineffectiveupgrades'),
|
||||||
@@ -508,7 +515,7 @@ export default {
|
|||||||
fillincontent:this.$t('yesisselected'),
|
fillincontent:this.$t('yesisselected'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'jsyhw_scqy',
|
key: 'jsyhwScqy',
|
||||||
val:'',
|
val:'',
|
||||||
componentname: this.$t('networksecurityrequirements'),
|
componentname: this.$t('networksecurityrequirements'),
|
||||||
configuration: this.$t('productionenterprise'),
|
configuration: this.$t('productionenterprise'),
|
||||||
@@ -516,7 +523,7 @@ export default {
|
|||||||
fillincontent:this.$t('yesisselected'),
|
fillincontent:this.$t('yesisselected'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'czwxdw_ggxh',
|
key: 'czwxdwGgxh',
|
||||||
val:'',
|
val:'',
|
||||||
componentname: this.$t('networksecurityrequirements'),
|
componentname: this.$t('networksecurityrequirements'),
|
||||||
configuration: this.$t('ineffectiveupgrades'),
|
configuration: this.$t('ineffectiveupgrades'),
|
||||||
@@ -524,7 +531,7 @@ export default {
|
|||||||
fillincontent:this.$t('yesisselected'),
|
fillincontent:this.$t('yesisselected'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'czwxdw_scqy',
|
key: 'czwxdwScqy',
|
||||||
val:'',
|
val:'',
|
||||||
componentname: this.$t('networksecurityrequirements'),
|
componentname: this.$t('networksecurityrequirements'),
|
||||||
configuration: this.$t('ineffectiveupgrades'),
|
configuration: this.$t('ineffectiveupgrades'),
|
||||||
@@ -532,7 +539,7 @@ export default {
|
|||||||
fillincontent:this.$t('yesisselected'),
|
fillincontent:this.$t('yesisselected'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'gxdh_ggxh',
|
key: 'gxdhGgxh',
|
||||||
val:'',
|
val:'',
|
||||||
componentname: this.$t('networksecurityrequirements'),
|
componentname: this.$t('networksecurityrequirements'),
|
||||||
configuration: this.$t('ineffectiveupgrades'),
|
configuration: this.$t('ineffectiveupgrades'),
|
||||||
@@ -540,7 +547,7 @@ export default {
|
|||||||
fillincontent:this.$t('yesisselected'),
|
fillincontent:this.$t('yesisselected'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'gxdh_scqy',
|
key: 'gxdhScqy',
|
||||||
val:'',
|
val:'',
|
||||||
componentname: this.$t('networksecurityrequirements'),
|
componentname: this.$t('networksecurityrequirements'),
|
||||||
configuration: this.$t('ineffectiveupgrades'),
|
configuration: this.$t('ineffectiveupgrades'),
|
||||||
@@ -548,7 +555,7 @@ export default {
|
|||||||
fillincontent:this.$t('yesisselected'),
|
fillincontent:this.$t('yesisselected'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'lsj_ggxh',
|
key: 'lsjGgxh',
|
||||||
val:'',
|
val:'',
|
||||||
componentname: this.$t('networksecurityrequirements'),
|
componentname: this.$t('networksecurityrequirements'),
|
||||||
configuration: this.$t('ineffectiveupgrades'),
|
configuration: this.$t('ineffectiveupgrades'),
|
||||||
@@ -556,7 +563,7 @@ export default {
|
|||||||
fillincontent:this.$t('yesisselected'),
|
fillincontent:this.$t('yesisselected'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'lsj_scqy',
|
key: 'lsjScqy',
|
||||||
val:'',
|
val:'',
|
||||||
componentname: this.$t('networksecurityrequirements'),
|
componentname: this.$t('networksecurityrequirements'),
|
||||||
configuration: this.$t('ineffectiveupgrades'),
|
configuration: this.$t('ineffectiveupgrades'),
|
||||||
@@ -564,7 +571,7 @@ export default {
|
|||||||
fillincontent:this.$t('yesisselected'),
|
fillincontent:this.$t('yesisselected'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'gjddt_ggxh',
|
key: 'gjddtGgxh',
|
||||||
val:'',
|
val:'',
|
||||||
componentname: this.$t('networksecurityrequirements'),
|
componentname: this.$t('networksecurityrequirements'),
|
||||||
configuration: this.$t('ineffectiveupgrades'),
|
configuration: this.$t('ineffectiveupgrades'),
|
||||||
@@ -572,7 +579,7 @@ export default {
|
|||||||
fillincontent:this.$t('yesisselected'),
|
fillincontent:this.$t('yesisselected'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'gjddt_scqy',
|
key: 'gjddtScqy',
|
||||||
val:'',
|
val:'',
|
||||||
componentname: this.$t('networksecurityrequirements'),
|
componentname: this.$t('networksecurityrequirements'),
|
||||||
configuration: this.$t('ineffectiveupgrades'),
|
configuration: this.$t('ineffectiveupgrades'),
|
||||||
@@ -580,7 +587,7 @@ export default {
|
|||||||
fillincontent:this.$t('yesisselected'),
|
fillincontent:this.$t('yesisselected'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'dzwl_dxxgcs',
|
key: 'dzwlDxxgcs',
|
||||||
val:'',
|
val:'',
|
||||||
componentname: this.$t('networksecurityrequirements'),
|
componentname: this.$t('networksecurityrequirements'),
|
||||||
configuration: this.$t('ineffectiveupgrades'),
|
configuration: this.$t('ineffectiveupgrades'),
|
||||||
@@ -588,7 +595,7 @@ export default {
|
|||||||
fillincontent:this.$t('yesisselected'),
|
fillincontent:this.$t('yesisselected'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'cztx_xtmc',
|
key: 'cztxXtmc',
|
||||||
val:'',
|
val:'',
|
||||||
componentname: this.$t('networksecurityrequirements'),
|
componentname: this.$t('networksecurityrequirements'),
|
||||||
configuration: this.$t('ineffectiveupgrades'),
|
configuration: this.$t('ineffectiveupgrades'),
|
||||||
@@ -596,7 +603,7 @@ export default {
|
|||||||
fillincontent:this.$t('yesisselected'),
|
fillincontent:this.$t('yesisselected'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'cztx_ggxh',
|
key: 'cztxGgxh',
|
||||||
val:'',
|
val:'',
|
||||||
componentname: this.$t('networksecurityrequirements'),
|
componentname: this.$t('networksecurityrequirements'),
|
||||||
configuration: this.$t('ineffectiveupgrades'),
|
configuration: this.$t('ineffectiveupgrades'),
|
||||||
@@ -604,7 +611,7 @@ export default {
|
|||||||
fillincontent:this.$t('forwardXquantity'),
|
fillincontent:this.$t('forwardXquantity'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'cztx_scqy',
|
key: 'cztxScqy',
|
||||||
val:'',
|
val:'',
|
||||||
componentname: this.$t('networksecurityrequirements'),
|
componentname: this.$t('networksecurityrequirements'),
|
||||||
configuration: this.$t('ineffectiveupgrades'),
|
configuration: this.$t('ineffectiveupgrades'),
|
||||||
@@ -612,7 +619,7 @@ export default {
|
|||||||
fillincontent:this.$t('yesisselected'),
|
fillincontent:this.$t('yesisselected'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'cztx_bbh',
|
key: 'cztxBbh',
|
||||||
val:'',
|
val:'',
|
||||||
componentname: this.$t('networksecurityrequirements'),
|
componentname: this.$t('networksecurityrequirements'),
|
||||||
configuration: this.$t('ineffectiveupgrades'),
|
configuration: this.$t('ineffectiveupgrades'),
|
||||||
@@ -620,7 +627,7 @@ export default {
|
|||||||
fillincontent:this.$t('yesisselected'),
|
fillincontent:this.$t('yesisselected'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'cztx_kfqy',
|
key: 'cztxKfqy',
|
||||||
val:'',
|
val:'',
|
||||||
componentname: this.$t('networksecurityrequirements'),
|
componentname: this.$t('networksecurityrequirements'),
|
||||||
configuration: this.$t('ineffectiveupgrades'),
|
configuration: this.$t('ineffectiveupgrades'),
|
||||||
@@ -628,7 +635,7 @@ export default {
|
|||||||
fillincontent:this.$t('yesisselected'),
|
fillincontent:this.$t('yesisselected'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'jsfzczj_mc',
|
key: 'jsfzczjMc',
|
||||||
val:'',
|
val:'',
|
||||||
componentname: this.$t('networksecurityrequirements'),
|
componentname: this.$t('networksecurityrequirements'),
|
||||||
configuration: this.$t('ineffectiveupgrades'),
|
configuration: this.$t('ineffectiveupgrades'),
|
||||||
@@ -636,7 +643,7 @@ export default {
|
|||||||
fillincontent:this.$t('yesisselected'),
|
fillincontent:this.$t('yesisselected'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'jsfzczj_yjxh',
|
key: 'jsfzczjYjxh',
|
||||||
val:'',
|
val:'',
|
||||||
componentname: this.$t('networksecurityrequirements'),
|
componentname: this.$t('networksecurityrequirements'),
|
||||||
configuration: this.$t('ineffectiveupgrades'),
|
configuration: this.$t('ineffectiveupgrades'),
|
||||||
@@ -644,7 +651,7 @@ export default {
|
|||||||
fillincontent:this.$t('yesisselected'),
|
fillincontent:this.$t('yesisselected'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'jsfzczj_scqy',
|
key: 'jsfzczjScqy',
|
||||||
val:'',
|
val:'',
|
||||||
componentname: this.$t('networksecurityrequirements'),
|
componentname: this.$t('networksecurityrequirements'),
|
||||||
configuration: this.$t('ineffectiveupgrades'),
|
configuration: this.$t('ineffectiveupgrades'),
|
||||||
@@ -652,7 +659,7 @@ export default {
|
|||||||
fillincontent:this.$t('yesisselected'),
|
fillincontent:this.$t('yesisselected'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'jsfzzsq_mc',
|
key: 'jsfzzsqMc',
|
||||||
val:'',
|
val:'',
|
||||||
componentname: this.$t('networksecurityrequirements'),
|
componentname: this.$t('networksecurityrequirements'),
|
||||||
configuration: this.$t('ineffectiveupgrades'),
|
configuration: this.$t('ineffectiveupgrades'),
|
||||||
@@ -660,7 +667,7 @@ export default {
|
|||||||
fillincontent:this.$t('yesisselected'),
|
fillincontent:this.$t('yesisselected'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'jsfzzsq_yjxh',
|
key: 'jsfzzsqYjxh',
|
||||||
val:'',
|
val:'',
|
||||||
componentname: this.$t('networksecurityrequirements'),
|
componentname: this.$t('networksecurityrequirements'),
|
||||||
configuration: this.$t('ineffectiveupgrades'),
|
configuration: this.$t('ineffectiveupgrades'),
|
||||||
@@ -668,7 +675,7 @@ export default {
|
|||||||
fillincontent:this.$t('yesisselected'),
|
fillincontent:this.$t('yesisselected'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'jsfzzsq_scqy',
|
key: 'jsfzzsqScqy',
|
||||||
val:'',
|
val:'',
|
||||||
componentname: this.$t('networksecurityrequirements'),
|
componentname: this.$t('networksecurityrequirements'),
|
||||||
configuration: this.$t('ineffectiveupgrades'),
|
configuration: this.$t('ineffectiveupgrades'),
|
||||||
@@ -676,7 +683,7 @@ export default {
|
|||||||
fillincontent:this.$t('yesisselected'),
|
fillincontent:this.$t('yesisselected'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'fxptsts_mc',
|
key: 'fxptstsMc',
|
||||||
val:'',
|
val:'',
|
||||||
componentname: this.$t('networksecurityrequirements'),
|
componentname: this.$t('networksecurityrequirements'),
|
||||||
configuration: this.$t('ineffectiveupgrades'),
|
configuration: this.$t('ineffectiveupgrades'),
|
||||||
@@ -684,7 +691,7 @@ export default {
|
|||||||
fillincontent:this.$t('yesisselected'),
|
fillincontent:this.$t('yesisselected'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'fxptsts_yjxh',
|
key: 'fxptstsYjxh',
|
||||||
val:'',
|
val:'',
|
||||||
componentname: this.$t('networksecurityrequirements'),
|
componentname: this.$t('networksecurityrequirements'),
|
||||||
configuration: this.$t('ineffectiveupgrades'),
|
configuration: this.$t('ineffectiveupgrades'),
|
||||||
@@ -692,7 +699,7 @@ export default {
|
|||||||
fillincontent:this.$t('yesisselected'),
|
fillincontent:this.$t('yesisselected'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'fxptsts_scqy',
|
key: 'fxptstsScqy',
|
||||||
val:'',
|
val:'',
|
||||||
componentname: this.$t('networksecurityrequirements'),
|
componentname: this.$t('networksecurityrequirements'),
|
||||||
configuration: this.$t('ineffectiveupgrades'),
|
configuration: this.$t('ineffectiveupgrades'),
|
||||||
@@ -700,7 +707,7 @@ export default {
|
|||||||
fillincontent:this.$t('yesisselected'),
|
fillincontent:this.$t('yesisselected'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'jsyzylts_mc',
|
key: 'jsyzyltsMc',
|
||||||
val:'',
|
val:'',
|
||||||
componentname: this.$t('networksecurityrequirements'),
|
componentname: this.$t('networksecurityrequirements'),
|
||||||
configuration: this.$t('ineffectiveupgrades'),
|
configuration: this.$t('ineffectiveupgrades'),
|
||||||
@@ -708,7 +715,7 @@ export default {
|
|||||||
fillincontent:this.$t('yesisselected'),
|
fillincontent:this.$t('yesisselected'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'jsyzylts_yjxh',
|
key: 'jsyzyltsYjxh',
|
||||||
val:'',
|
val:'',
|
||||||
componentname: this.$t('networksecurityrequirements'),
|
componentname: this.$t('networksecurityrequirements'),
|
||||||
configuration: this.$t('ineffectiveupgrades'),
|
configuration: this.$t('ineffectiveupgrades'),
|
||||||
@@ -716,7 +723,7 @@ export default {
|
|||||||
fillincontent:this.$t('yesisselected'),
|
fillincontent:this.$t('yesisselected'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'jsyzylts_scqy',
|
key: 'jsyzyltsScqy',
|
||||||
val:'',
|
val:'',
|
||||||
componentname: this.$t('networksecurityrequirements'),
|
componentname: this.$t('networksecurityrequirements'),
|
||||||
configuration: this.$t('ineffectiveupgrades'),
|
configuration: this.$t('ineffectiveupgrades'),
|
||||||
@@ -724,7 +731,7 @@ export default {
|
|||||||
fillincontent:this.$t('yesisselected'),
|
fillincontent:this.$t('yesisselected'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'DSSAD_ggxh',
|
key: 'dssadGgxh',
|
||||||
val:'',
|
val:'',
|
||||||
componentname: this.$t('networksecurityrequirements'),
|
componentname: this.$t('networksecurityrequirements'),
|
||||||
configuration: this.$t('ineffectiveupgrades'),
|
configuration: this.$t('ineffectiveupgrades'),
|
||||||
@@ -732,7 +739,7 @@ export default {
|
|||||||
fillincontent:this.$t('yesisselected'),
|
fillincontent:this.$t('yesisselected'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'DSSAD_scqy',
|
key: 'dssadScqy',
|
||||||
val:'',
|
val:'',
|
||||||
componentname: this.$t('networksecurityrequirements'),
|
componentname: this.$t('networksecurityrequirements'),
|
||||||
configuration: this.$t('ineffectiveupgrades'),
|
configuration: this.$t('ineffectiveupgrades'),
|
||||||
@@ -740,7 +747,7 @@ export default {
|
|||||||
fillincontent:this.$t('yesisselected'),
|
fillincontent:this.$t('yesisselected'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'EDR_ggxh',
|
key: 'edrGgxh',
|
||||||
val:'',
|
val:'',
|
||||||
componentname: this.$t('networksecurityrequirements'),
|
componentname: this.$t('networksecurityrequirements'),
|
||||||
configuration: this.$t('ineffectiveupgrades'),
|
configuration: this.$t('ineffectiveupgrades'),
|
||||||
@@ -748,7 +755,7 @@ export default {
|
|||||||
fillincontent:this.$t('yesisselected'),
|
fillincontent:this.$t('yesisselected'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'EDR_scqy',
|
key: 'edrScqy',
|
||||||
val:'',
|
val:'',
|
||||||
componentname: this.$t('networksecurityrequirements'),
|
componentname: this.$t('networksecurityrequirements'),
|
||||||
configuration: this.$t('ineffectiveupgrades'),
|
configuration: this.$t('ineffectiveupgrades'),
|
||||||
@@ -756,8 +763,6 @@ export default {
|
|||||||
fillincontent:this.$t('yesisselected'),
|
fillincontent:this.$t('yesisselected'),
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
url: {
|
|
||||||
},
|
|
||||||
queryParam: {},
|
queryParam: {},
|
||||||
dataSourceList: [
|
dataSourceList: [
|
||||||
{
|
{
|
||||||
@@ -853,8 +858,52 @@ export default {
|
|||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
// this.getList()
|
// this.getList()
|
||||||
|
this.getData()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
// 模板下载
|
||||||
|
handleModule() {
|
||||||
|
downloadFile('ota/otaBaCxList/exportTemplate', '车型及功能备案' + '.zip', {})
|
||||||
|
},
|
||||||
|
getData(){
|
||||||
|
let otaIdT=localStorage.getItem('otaIdT')
|
||||||
|
if(otaIdT==null){
|
||||||
|
otaIdT=''
|
||||||
|
}
|
||||||
|
getAction('/ota/otaBaCxJsfzbacs/queryByOtaId',{otaIdT,otaId:localStorage.getItem('otaId')}).then(res=>{
|
||||||
|
if(res == 200 ) {
|
||||||
|
if(res.code==200){
|
||||||
|
if(res.result.kzq.length == 0){
|
||||||
|
this.dataSourceList=[
|
||||||
|
{
|
||||||
|
bjmc:'车端OTA升级功能模块'
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}else{
|
||||||
|
res.result.kzq.forEach(item=>{
|
||||||
|
item.pzqk=Number(item.pzqk)
|
||||||
|
})
|
||||||
|
this.dataSourceList=res.result.kzq
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
this.dataSource.forEach(item=>{
|
||||||
|
for(let key in res.result.bj){
|
||||||
|
if(item.val==key){
|
||||||
|
item.val=res.result.bj[key]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
res.result.bj.forEach(item=>{
|
||||||
|
item=Number(item)
|
||||||
|
})
|
||||||
|
this.query=res.result.bj
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
},
|
||||||
click(value){
|
click(value){
|
||||||
this.fileList = value
|
this.fileList = value
|
||||||
console.log(this.fileList)
|
console.log(this.fileList)
|
||||||
@@ -907,7 +956,7 @@ export default {
|
|||||||
arr.push(kval)
|
arr.push(kval)
|
||||||
})
|
})
|
||||||
postAction('/ota/otaBaCxJsfzbacs/add',{
|
postAction('/ota/otaBaCxJsfzbacs/add',{
|
||||||
otaId:this.otaId,
|
otaId:localStorage.getItem('otaId'),
|
||||||
bj:this.query,
|
bj:this.query,
|
||||||
cs:arr,
|
cs:arr,
|
||||||
kzq:this.dataSourceList
|
kzq:this.dataSourceList
|
||||||
|
|||||||
+38
-9
@@ -2,10 +2,9 @@
|
|||||||
<div class="box">
|
<div class="box">
|
||||||
<div class="table-operator">
|
<div class="table-operator">
|
||||||
<div class="operator-text">
|
<div class="operator-text">
|
||||||
<a-icon type="import" :rotate="270"/>
|
<ImportFile :url="url" :dummyInventoryBaseId="$route.query.id" :isTrue="true" :accept="'.zip'" />
|
||||||
{{$t('dataimport')}}
|
|
||||||
</div>
|
</div>
|
||||||
<div class="operator-text">
|
<div @click='handleModule' class="operator-text">
|
||||||
<a-icon type="download"/>
|
<a-icon type="download"/>
|
||||||
{{$t('templateDownload')}}
|
{{$t('templateDownload')}}
|
||||||
</div>
|
</div>
|
||||||
@@ -44,16 +43,23 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { getAction, postAction, deleteAction } from '@/api/manage'
|
import { getAction, postAction, deleteAction,downloadFile } from '@/api/manage'
|
||||||
|
import ImportFile from '@/components/ImportFileData/index'
|
||||||
import uploadFile from '@/components/uploadFile/file'
|
import uploadFile from '@/components/uploadFile/file'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'safetyPrecautions',
|
name: 'safetyPrecautions',
|
||||||
components:{
|
components:{
|
||||||
uploadFile
|
uploadFile,
|
||||||
|
ImportFile
|
||||||
},
|
},
|
||||||
|
props:['otaId'],
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
url: {
|
||||||
|
exportData: '/ota/otaBaCxAqcs/exportData',
|
||||||
|
importZipUrl: '/ota/otaBaCxAqcs/importData',//导入
|
||||||
|
},
|
||||||
dataSource: [
|
dataSource: [
|
||||||
{
|
{
|
||||||
key: '1',
|
key: '1',
|
||||||
@@ -154,16 +160,33 @@
|
|||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
pageNo: 1,
|
pageNo: 1,
|
||||||
total: 0,
|
total: 0,
|
||||||
url: {
|
|
||||||
list: '/todoCenter/projectProcess/issuedProcess'
|
|
||||||
},
|
|
||||||
queryParam: {}
|
queryParam: {}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.getList()
|
this.getList()
|
||||||
|
this.getData()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
// 模板下载
|
||||||
|
handleModule() {
|
||||||
|
downloadFile('ota/otaBaCxAqcs/exportTemplate', '车型及功能备案' + '.zip', {})
|
||||||
|
},
|
||||||
|
getData(){
|
||||||
|
let otaIdT=localStorage.getItem('otaIdT')
|
||||||
|
if(otaIdT==null){
|
||||||
|
otaIdT=''
|
||||||
|
}
|
||||||
|
getAction('/ota/otaBaCxAqcs/queryByOtaId',{otaIdT:otaIdT,otaId:localStorage.getItem('otaId')}).then(res=>{
|
||||||
|
if(res.code == 200){
|
||||||
|
this.dataSource[0].info = Number(res.result.bhjz)
|
||||||
|
this.dataSource[1].info =Number(res.result.fsxjz)
|
||||||
|
this.dataSource[2].info= Number(res.result.sjsbcs)
|
||||||
|
this.dataSource[3].info=Number(res.result.xxaqjz)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
},
|
||||||
click(value){
|
click(value){
|
||||||
this.fileList = value
|
this.fileList = value
|
||||||
console.log(this.fileList)
|
console.log(this.fileList)
|
||||||
@@ -215,7 +238,7 @@
|
|||||||
},
|
},
|
||||||
save(){
|
save(){
|
||||||
let obj={}
|
let obj={}
|
||||||
obj.otaId=this.otaId,
|
obj.otaId=localStorage.getItem('otaId'),
|
||||||
obj.bhjz = this.dataSource[0].info
|
obj.bhjz = this.dataSource[0].info
|
||||||
obj.fsxjz= this.dataSource[1].info
|
obj.fsxjz= this.dataSource[1].info
|
||||||
obj.sjsbcs = this.dataSource[2].info
|
obj.sjsbcs = this.dataSource[2].info
|
||||||
@@ -225,9 +248,11 @@
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
last(){
|
last(){
|
||||||
|
this.save()
|
||||||
this.$emit('safetyPrecautionsup')
|
this.$emit('safetyPrecautionsup')
|
||||||
},
|
},
|
||||||
next(){
|
next(){
|
||||||
|
this.save()
|
||||||
this.$emit('safetyPrecautionsdown')
|
this.$emit('safetyPrecautionsdown')
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
@@ -295,4 +320,8 @@
|
|||||||
color: #00B3BE;
|
color: #00B3BE;
|
||||||
border-color: #00B3BE;
|
border-color: #00B3BE;
|
||||||
}
|
}
|
||||||
|
::v-deep .ant-table-row:first-child {
|
||||||
|
background: #fff !important;
|
||||||
|
opacity: 3.9 !important;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
+40
-10
@@ -2,12 +2,11 @@
|
|||||||
<div class="box">
|
<div class="box">
|
||||||
<div class="table-operator">
|
<div class="table-operator">
|
||||||
<div class="operator-text">
|
<div class="operator-text">
|
||||||
<a-icon type="import" :rotate="270" />
|
<ImportFile :url="url" :dummyInventoryBaseId="$route.query.id" :isTrue="true" :accept="'.zip'" />
|
||||||
{{ $t('dataimport') }}
|
|
||||||
</div>
|
</div>
|
||||||
<div class="operator-text">
|
<div @click='handleModule' class="operator-text">
|
||||||
<a-icon type="download" />
|
<a-icon type="download"/>
|
||||||
{{ $t('templateDownload') }}
|
{{$t('templateDownload')}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<a-table ref="table" size="middle" :pagination="false" :scroll="{ x: '100%', y: 'calc(100vh - 140px)' }" rowKey="key"
|
<a-table ref="table" size="middle" :pagination="false" :scroll="{ x: '100%', y: 'calc(100vh - 140px)' }" rowKey="key"
|
||||||
@@ -33,16 +32,22 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { getAction, postAction, deleteAction } from '@/api/manage'
|
import { getAction, postAction, deleteAction,downloadFile } from '@/api/manage'
|
||||||
|
import ImportFile from '@/components/ImportFileData/index'
|
||||||
import uploadFile from '@/components/uploadFile/file'
|
import uploadFile from '@/components/uploadFile/file'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'upgradeRequirements',
|
name: 'upgradeRequirements',
|
||||||
components: {
|
components: {
|
||||||
uploadFile
|
uploadFile,
|
||||||
|
ImportFile
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
url: {
|
||||||
|
exportData: '/ota/otaBaCxZxsjyq/exportData',
|
||||||
|
importZipUrl: '/ota/otaBaCxZxsjyq/importData',//导入
|
||||||
|
},
|
||||||
dataSource: [
|
dataSource: [
|
||||||
{
|
{
|
||||||
key: '1',
|
key: '1',
|
||||||
@@ -115,8 +120,6 @@ export default {
|
|||||||
certifyingmaterials: '',
|
certifyingmaterials: '',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
url: {
|
|
||||||
},
|
|
||||||
queryParam: {},
|
queryParam: {},
|
||||||
columns: [
|
columns: [
|
||||||
{
|
{
|
||||||
@@ -193,8 +196,35 @@ export default {
|
|||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
// this.getList()
|
// this.getList()
|
||||||
|
this.$forceUpdate()
|
||||||
|
this.getData()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
// 模板下载
|
||||||
|
handleModule() {
|
||||||
|
downloadFile('ota/otaBaCxZxsjyq/exportTemplate', '车型及功能备案' + '.zip', {})
|
||||||
|
},
|
||||||
|
getData(){
|
||||||
|
console.log(localStorage.getItem('otaId'));
|
||||||
|
let otaIdT=localStorage.getItem('otaIdT')
|
||||||
|
if(otaIdT==null){
|
||||||
|
otaIdT=''
|
||||||
|
}
|
||||||
|
getAction('/ota/otaBaCxZxsjyq/queryByOtaId',{otaIdT:otaIdT,otaId:localStorage.getItem('otaId')}).then(res=>{
|
||||||
|
this.dataSource[0].relevantverification =Number(res.result.bhsjb)
|
||||||
|
this.dataSource[1].relevantverification=Number(res.result.bhclbb)
|
||||||
|
this.dataSource[2].relevantverification=Number(res.result.clgxnl)
|
||||||
|
this.dataSource[3].relevantverification=Number(res.result.clsjtj)
|
||||||
|
this.dataSource[4].relevantverification=Number(res.result.clsjdl)
|
||||||
|
this.dataSource[5].relevantverification=Number(res.result.sjbhaq)
|
||||||
|
this.dataSource[6].relevantverification=Number(res.result.sjantj)
|
||||||
|
this.dataSource[7].relevantverification=Number(res.result.sjsbaq)
|
||||||
|
this.dataSource[8].relevantverification=Number(res.result.sjgg)
|
||||||
|
this.dataSource[9].relevantverification=Number(res.result.sjzt)
|
||||||
|
this.$forceUpdate()
|
||||||
|
})
|
||||||
|
|
||||||
|
},
|
||||||
click(value) {
|
click(value) {
|
||||||
this.fileList = value
|
this.fileList = value
|
||||||
console.log(this.fileList)
|
console.log(this.fileList)
|
||||||
@@ -240,7 +270,7 @@ export default {
|
|||||||
},
|
},
|
||||||
save() {
|
save() {
|
||||||
let obj = {}
|
let obj = {}
|
||||||
obj.otaId=this.otaId
|
obj.otaId=localStorage.getItem('otaId')
|
||||||
obj.bhsjb = this.dataSource[0].relevantverification
|
obj.bhsjb = this.dataSource[0].relevantverification
|
||||||
obj.bhclbb = this.dataSource[1].relevantverification
|
obj.bhclbb = this.dataSource[1].relevantverification
|
||||||
obj.clgxnl = this.dataSource[2].relevantverification
|
obj.clgxnl = this.dataSource[2].relevantverification
|
||||||
|
|||||||
+113
-26
@@ -2,10 +2,9 @@
|
|||||||
<div class="box">
|
<div class="box">
|
||||||
<div class="table-operator">
|
<div class="table-operator">
|
||||||
<div class="operator-text">
|
<div class="operator-text">
|
||||||
<a-icon type="import" :rotate="270"/>
|
<ImportFile :url="url" :dummyInventoryBaseId="$route.query.id" :isTrue="true" :accept="'.zip'" />
|
||||||
{{$t('dataimport')}}
|
|
||||||
</div>
|
</div>
|
||||||
<div class="operator-text">
|
<div @click='handleModule' class="operator-text">
|
||||||
<a-icon type="download"/>
|
<a-icon type="download"/>
|
||||||
{{$t('templateDownload')}}
|
{{$t('templateDownload')}}
|
||||||
</div>
|
</div>
|
||||||
@@ -37,7 +36,11 @@
|
|||||||
</span>
|
</span>
|
||||||
<!-- 上传附件-->
|
<!-- 上传附件-->
|
||||||
<span slot="architecturetopologydiagram" slot-scope="text,record">
|
<span slot="architecturetopologydiagram" slot-scope="text,record">
|
||||||
<a-button @click="clickButtonToUpload" type="primary">{{$t('uploadattachment')}}</a-button>
|
<a-button @click="clickButtonToUpload(record.tpt,record.key)" type="primary">
|
||||||
|
{{ (record.tpt === 'null' || record.tpt === '' ||
|
||||||
|
record.tpt == null) ? $t('uploadattachment') : $t('viewUploadedFiles')
|
||||||
|
}}
|
||||||
|
</a-button>
|
||||||
</span>
|
</span>
|
||||||
<span slot="electronicController" slot-scope="text,record">
|
<span slot="electronicController" slot-scope="text,record">
|
||||||
<a-input :placeholder="$t('pleaseEnter')" v-model="record.kzqmc" :max-length="500"></a-input>
|
<a-input :placeholder="$t('pleaseEnter')" v-model="record.kzqmc" :max-length="500"></a-input>
|
||||||
@@ -82,7 +85,7 @@
|
|||||||
<div>
|
<div>
|
||||||
<a-button @click="clickButtonToUpload" type="primary">{{$t('uploadattachment')}}</a-button>
|
<a-button @click="clickButtonToUpload" type="primary">{{$t('uploadattachment')}}</a-button>
|
||||||
<p>注:附件包括测试项目清单、测试报告.测试标准或技术规范</p>
|
<p>注:附件包括测试项目清单、测试报告.测试标准或技术规范</p>
|
||||||
<p> 支持doc/docx/pdf格式,大小50M以内1</p>
|
<p> 支持doc/docx/pdf格式,大小50M以内</p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="bootom-button">
|
<div class="bootom-button">
|
||||||
@@ -95,34 +98,52 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { getAction, postAction, deleteAction } from '@/api/manage'
|
import { getAction, postAction, deleteAction,downloadFile } from '@/api/manage'
|
||||||
|
import ImportFile from '@/components/ImportFileData/index'
|
||||||
import uploadFile from '@/components/uploadFile/file'
|
import uploadFile from '@/components/uploadFile/file'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'upgradedonline',
|
name: 'upgradedonline',
|
||||||
components:{
|
components:{
|
||||||
uploadFile,
|
uploadFile,
|
||||||
|
ImportFile
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
url: {
|
||||||
|
exportData: '/ota/otaBaCxKsjxtmccs/exportData',
|
||||||
|
importZipUrl: '/ota/otaBaCxKsjxtmccs/importData',//导入
|
||||||
|
},
|
||||||
dataSource: [
|
dataSource: [
|
||||||
{
|
{
|
||||||
xtlb:'动力系统'
|
xtlb:'动力系统',
|
||||||
|
tpt:'',
|
||||||
|
key:'1'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
xtlb:'传动系统'
|
xtlb:'传动系统',
|
||||||
|
tpt:'',
|
||||||
|
key:'2'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
xtlb:'转向系统'
|
xtlb:'转向系统',
|
||||||
|
tpt:'',
|
||||||
|
key:'3'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
xtlb:'制动系统'
|
xtlb:'制动系统',
|
||||||
|
tpt:'',
|
||||||
|
key:'4'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
xtlb:'车身系统'
|
xtlb:'车身系统',
|
||||||
|
tpt:'',
|
||||||
|
key:'5'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
xtlb:'车载能源系统'
|
xtlb:'车载能源系统',
|
||||||
|
tpt:'',
|
||||||
|
key:'6'
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
columns: [
|
columns: [
|
||||||
@@ -263,12 +284,62 @@
|
|||||||
scopedSlots: { customRender: 'operation' }
|
scopedSlots: { customRender: 'operation' }
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
form:[{}],
|
||||||
|
type:'',
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
// this.getList()
|
// this.getList()
|
||||||
|
this.getData()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
// 模板下载
|
||||||
|
handleModule() {
|
||||||
|
downloadFile('ota/otaBaCxKsjxtmccs/exportTemplate', '车型及功能备案' + '.zip', {})
|
||||||
|
},
|
||||||
|
getData(){
|
||||||
|
let otaIdT=localStorage.getItem('otaIdT')
|
||||||
|
if(otaIdT==null){
|
||||||
|
otaIdT=''
|
||||||
|
}
|
||||||
|
getAction('/ota/otaBaCxKsjxtmccs/queryByOtaId',{otaIdT:otaIdT,otaId:localStorage.getItem('otaId')}).then(res=>{
|
||||||
|
if(res.code==200){
|
||||||
|
if(res.result.length==0){
|
||||||
|
this.dataSource= [
|
||||||
|
{
|
||||||
|
xtlb:'动力系统',
|
||||||
|
key:'1'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
xtlb:'传动系统',
|
||||||
|
key:'2'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
xtlb:'转向系统',
|
||||||
|
key:'3'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
xtlb:'制动系统',
|
||||||
|
key:'4'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
xtlb:'车身系统',
|
||||||
|
key:'5'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
xtlb:'车载能源系统',
|
||||||
|
key:'6'
|
||||||
|
},
|
||||||
|
]
|
||||||
|
}else{
|
||||||
|
res.result.forEach(item =>{
|
||||||
|
item.sfksj =Number(item.sfksj)
|
||||||
|
})
|
||||||
|
this.dataSource=res.result
|
||||||
|
}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
getList() {
|
getList() {
|
||||||
// let queryParam = JSON.parse(JSON.stringify(this.queryParam))
|
// let queryParam = JSON.parse(JSON.stringify(this.queryParam))
|
||||||
// Object.keys(queryParam).forEach(val => {
|
// Object.keys(queryParam).forEach(val => {
|
||||||
@@ -306,38 +377,54 @@
|
|||||||
this.$emit('upgradedonlinedown')
|
this.$emit('upgradedonlinedown')
|
||||||
},
|
},
|
||||||
uploadSuccess(data) {
|
uploadSuccess(data) {
|
||||||
// let attIdList = []
|
let attIdList = []
|
||||||
// if (data && data.length > 0) {
|
if (data && data.length > 0) {
|
||||||
// data.map(item => {
|
data.map(item => {
|
||||||
// attIdList.push({
|
attIdList.push(item.id || data.name)
|
||||||
// id:item.id,
|
})
|
||||||
// fileName:item.fileName
|
}
|
||||||
// })
|
this.dataSource.forEach((item) => {
|
||||||
// })
|
if(item.key == this.type){
|
||||||
// }
|
item.tpt = attIdList.join(',')
|
||||||
|
}
|
||||||
|
})
|
||||||
|
this.$forceUpdate()
|
||||||
// /** 赋值给当前对应的表单文件 */
|
// /** 赋值给当前对应的表单文件 */
|
||||||
// this.fileList.uploadName = attIdList
|
// this.fileList.uploadName = attIdList.join(',')
|
||||||
// this.fileList.certifyingmaterials = this.$t('viewFile')
|
// this.fileList.certifyingmaterials = this.$t('viewFile')
|
||||||
},
|
},
|
||||||
clickButtonToUpload() {
|
clickButtonToUpload(current,index) {
|
||||||
|
this.type = index
|
||||||
|
console.log(current)
|
||||||
this.$refs.uploadFile.perentHandleFunc()
|
this.$refs.uploadFile.perentHandleFunc()
|
||||||
this.$refs.uploadFile.visible = true
|
this.$refs.uploadFile.visible = true
|
||||||
|
this.uploadName = current
|
||||||
|
getAction('sys/common/getFileInfos', { id: current }).then((res) => {
|
||||||
|
if (res.success) {
|
||||||
|
this.$refs.uploadFile.perentHandleFunc(res.result)
|
||||||
|
} else {
|
||||||
|
this.$refs.uploadFile.perentHandleFunc()
|
||||||
|
}
|
||||||
|
})
|
||||||
},
|
},
|
||||||
//中间加
|
//中间加
|
||||||
addlineAtMid(record){
|
addlineAtMid(record){
|
||||||
let obj = {xtlb:record.xtlb}
|
let randomNum=Math.floor(Math.random()*99999999999+1)
|
||||||
|
let obj = {xtlb:record.xtlb,key:randomNum}
|
||||||
|
|
||||||
this.dataSource.splice(this.dataSource.indexOf(record)+1,0,obj)
|
this.dataSource.splice(this.dataSource.indexOf(record)+1,0,obj)
|
||||||
},
|
},
|
||||||
//最后一行加
|
//最后一行加
|
||||||
addlineAtBot(){
|
addlineAtBot(){
|
||||||
let obj={}
|
let randomNum=Math.floor(Math.random()*99999999999+1)
|
||||||
|
let obj={key:randomNum}
|
||||||
this.dataSource.push(obj)
|
this.dataSource.push(obj)
|
||||||
},
|
},
|
||||||
deleteData(record){
|
deleteData(record){
|
||||||
this.dataSource.splice(this.dataSource.indexOf(record),1)
|
this.dataSource.splice(this.dataSource.indexOf(record),1)
|
||||||
},
|
},
|
||||||
save(){
|
save(){
|
||||||
postAction('/ota/otaBaCxKsjxtmccs/add',{otaId:this.otaId,list:this.dataSource}).then(res => {
|
postAction('/ota/otaBaCxKsjxtmccs/add',{otaId:localStorage.getItem('otaId'),list:this.dataSource}).then(res => {
|
||||||
console.log(res);
|
console.log(res);
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -15,25 +15,25 @@
|
|||||||
</div>
|
</div>
|
||||||
<a-tabs class="tabs" v-model="tabActive" @change="callback">
|
<a-tabs class="tabs" v-model="tabActive" @change="callback">
|
||||||
<a-tab-pane disabled :key="$t('basicinformationofvehicletype')" :tab="$t('basicinformationofvehicletype')">
|
<a-tab-pane disabled :key="$t('basicinformationofvehicletype')" :tab="$t('basicinformationofvehicletype')">
|
||||||
<basicInformation v-if="tabActive == $t('basicinformationofvehicletype')" @basicInformationForm='basicInformationForm' ref="dealtWithRef"/>
|
<basicInformation v-if="tabActive == $t('basicinformationofvehicletype')" @basicInformationForm='basicInformationForm' ref="dealtWithRef" />
|
||||||
</a-tab-pane>
|
</a-tab-pane>
|
||||||
<a-tab-pane disabled :key="$t('onlineupgraderequirements')" :tab="$t('onlineupgraderequirements')">
|
<a-tab-pane disabled :key="$t('onlineupgraderequirements')" :tab="$t('onlineupgraderequirements')">
|
||||||
<upgradeRequirements v-if="tabActive == $t('onlineupgraderequirements')" @upgradeRequirementsup='upgradeRequirementsup' @upgradeRequirementsdown='upgradeRequirementsdown' ref="doneListRef"/>
|
<upgradeRequirements v-if="tabActive == $t('onlineupgraderequirements')" @upgradeRequirementsup='upgradeRequirementsup' @upgradeRequirementsdown='upgradeRequirementsdown' ref="doneListRef" />
|
||||||
</a-tab-pane>
|
</a-tab-pane>
|
||||||
<a-tab-pane disabled :key="$t('safetymeasure')" :tab="$t('safetymeasure')">
|
<a-tab-pane disabled :key="$t('safetymeasure')" :tab="$t('safetymeasure')">
|
||||||
<safetyPrecautions v-if="tabActive == $t('safetymeasure')" @safetyPrecautionsup='safetyPrecautionsup' @safetyPrecautionsdown='safetyPrecautionsdown' ref="SentListRef"/>
|
<safetyPrecautions v-if="tabActive == $t('safetymeasure')" @safetyPrecautionsup='safetyPrecautionsup' @safetyPrecautionsdown='safetyPrecautionsdown' ref="SentListRef" />
|
||||||
</a-tab-pane>
|
</a-tab-pane>
|
||||||
<a-tab-pane disabled :key="$t('upgradedonline')" :tab="$t('upgradedonline')">
|
<a-tab-pane disabled :key="$t('upgradedonline')" :tab="$t('upgradedonline')">
|
||||||
<upgradedonline v-if="tabActive == $t('upgradedonline')" @upgradedonlineup='upgradedonlineup' @upgradedonlinedown='upgradedonlinedown' ref="upgradedonlineRef"/>
|
<upgradedonline v-if="tabActive == $t('upgradedonline')" @upgradedonlineup='upgradedonlineup' @upgradedonlinedown='upgradedonlinedown' ref="upgradedonlineRef" />
|
||||||
</a-tab-pane>
|
</a-tab-pane>
|
||||||
<a-tab-pane disabled :key="$t('beupgradedonline')" :tab="$t('beupgradedonline')">
|
<a-tab-pane disabled :key="$t('beupgradedonline')" :tab="$t('beupgradedonline')">
|
||||||
<beupgradedonline v-if="tabActive == $t('beupgradedonline')" @beupgradedonlineup='beupgradedonlineup' @beupgradedonlinedown='beupgradedonlinedown' ref="beupgradedonlineRef"/>
|
<beupgradedonline v-if="tabActive == $t('beupgradedonline')" @beupgradedonlineup='beupgradedonlineup' @beupgradedonlinedown='beupgradedonlinedown' ref="beupgradedonlineRef" />
|
||||||
</a-tab-pane>
|
</a-tab-pane>
|
||||||
<a-tab-pane disabled :key="$t('recordparameters')" :tab="$t('recordparameters')">
|
<a-tab-pane disabled :key="$t('recordparameters')" :tab="$t('recordparameters')">
|
||||||
<recordparameters v-if="tabActive == $t('recordparameters')" @recordparametersup='recordparametersup' @recordparametersdown='recordparametersdown' ref="recordparametersRef"/>
|
<recordparameters v-if="tabActive == $t('recordparameters')" @recordparametersup='recordparametersup' @recordparametersdown='recordparametersdown' ref="recordparametersRef" />
|
||||||
</a-tab-pane>
|
</a-tab-pane>
|
||||||
<a-tab-pane disabled :key="$t('other')" :tab="$t('other')">
|
<a-tab-pane disabled :key="$t('other')" :tab="$t('other')">
|
||||||
<other v-if="tabActive == $t('other')" @otherup='otherup' ref="otherRef"/>
|
<other v-if="tabActive == $t('other')" @otherup='otherup' ref="otherRef" />
|
||||||
</a-tab-pane>
|
</a-tab-pane>
|
||||||
<a-tab-pane disabled :key="$t('historicalrecord')" :tab="$t('historicalrecord')">
|
<a-tab-pane disabled :key="$t('historicalrecord')" :tab="$t('historicalrecord')">
|
||||||
<historicalrecord v-if="tabActive == $t('historicalrecord')" ref="historicalrecordRef" @historicalrecordup='historicalrecordup'/>
|
<historicalrecord v-if="tabActive == $t('historicalrecord')" ref="historicalrecordRef" @historicalrecordup='historicalrecordup'/>
|
||||||
@@ -132,7 +132,7 @@ export default {
|
|||||||
columnshistory: [
|
columnshistory: [
|
||||||
{
|
{
|
||||||
title: this.$t('fillincontent'),
|
title: this.$t('fillincontent'),
|
||||||
dataIndex: 'logContent',
|
dataIndex: 'content',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
scopedSlots: { customRender: 'content' },
|
scopedSlots: { customRender: 'content' },
|
||||||
@@ -140,7 +140,7 @@ export default {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('module'),
|
title: this.$t('module'),
|
||||||
dataIndex: 'remarks',
|
dataIndex: 'module',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
width: 100,
|
width: 100,
|
||||||
@@ -148,7 +148,7 @@ export default {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('completedBy'),
|
title: this.$t('completedBy'),
|
||||||
dataIndex: 'createTime',
|
dataIndex: 'createBy',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
width: 130
|
width: 130
|
||||||
@@ -162,7 +162,8 @@ export default {
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
toggleSearchStatus: false,
|
toggleSearchStatus: false,
|
||||||
tabActive: this.$t('basicinformationofvehicletype')
|
tabActive: this.$t('basicinformationofvehicletype'),
|
||||||
|
otaId:''
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
@@ -174,17 +175,14 @@ export default {
|
|||||||
},
|
},
|
||||||
fillintherecordClick(){
|
fillintherecordClick(){
|
||||||
this.visible = true
|
this.visible = true
|
||||||
return
|
|
||||||
this.bussLogList()
|
this.bussLogList()
|
||||||
},
|
},
|
||||||
bussLogList(val) {
|
bussLogList(val) {
|
||||||
let query = {
|
let query = {
|
||||||
pageNo: this.pageNohistory,
|
otaId:localStorage.getItem('otaId')
|
||||||
pageSize: this.pageSizehistory,
|
|
||||||
paramsReportDetailId: this.paramsReportDetailId
|
|
||||||
}
|
}
|
||||||
this.loading = true
|
this.loading = true
|
||||||
getAction('report/detailLog/page', query).then((res) => {
|
getAction('ota/otaBaCxTxjl/page', query).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.dataSourcehistory = res.result.records
|
this.dataSourcehistory = res.result.records
|
||||||
this.total = res.result.total
|
this.total = res.result.total
|
||||||
@@ -216,36 +214,44 @@ export default {
|
|||||||
},
|
},
|
||||||
basicInformationForm(){
|
basicInformationForm(){
|
||||||
this.tabActive = this.$t('onlineupgraderequirements')
|
this.tabActive = this.$t('onlineupgraderequirements')
|
||||||
|
|
||||||
},
|
},
|
||||||
upgradeRequirementsup(){
|
upgradeRequirementsup(){
|
||||||
this.tabActive = this.$t('basicinformationofvehicletype')
|
this.tabActive = this.$t('basicinformationofvehicletype')
|
||||||
|
|
||||||
},
|
},
|
||||||
upgradeRequirementsdown(){
|
upgradeRequirementsdown(){
|
||||||
this.tabActive = this.$t('safetymeasure')
|
this.tabActive = this.$t('safetymeasure')
|
||||||
},
|
},
|
||||||
safetyPrecautionsup(){
|
safetyPrecautionsup(){
|
||||||
this.tabActive = this.$t('onlineupgraderequirements')
|
this.tabActive = this.$t('onlineupgraderequirements')
|
||||||
|
|
||||||
},
|
},
|
||||||
safetyPrecautionsdown(){
|
safetyPrecautionsdown(){
|
||||||
this.tabActive = this.$t('upgradedonline')
|
this.tabActive = this.$t('upgradedonline')
|
||||||
},
|
},
|
||||||
upgradedonlineup(){
|
upgradedonlineup(){
|
||||||
this.tabActive = this.$t('safetymeasure')
|
this.tabActive = this.$t('safetymeasure')
|
||||||
|
|
||||||
},
|
},
|
||||||
upgradedonlinedown(){
|
upgradedonlinedown(){
|
||||||
this.tabActive = this.$t('beupgradedonline')
|
this.tabActive = this.$t('beupgradedonline')
|
||||||
|
|
||||||
},
|
},
|
||||||
beupgradedonlineup(){
|
beupgradedonlineup(){
|
||||||
this.tabActive = this.$t('upgradedonline')
|
this.tabActive = this.$t('upgradedonline')
|
||||||
|
|
||||||
},
|
},
|
||||||
beupgradedonlinedown(){
|
beupgradedonlinedown(){
|
||||||
this.tabActive = this.$t('recordparameters')
|
this.tabActive = this.$t('recordparameters')
|
||||||
|
|
||||||
},
|
},
|
||||||
recordparametersup(){
|
recordparametersup(){
|
||||||
this.tabActive = this.$t('beupgradedonline')
|
this.tabActive = this.$t('beupgradedonline')
|
||||||
},
|
},
|
||||||
recordparametersdown(){
|
recordparametersdown(){
|
||||||
this.tabActive = this.$t('other')
|
this.tabActive = this.$t('other')
|
||||||
|
|
||||||
},
|
},
|
||||||
otherup(){
|
otherup(){
|
||||||
this.tabActive = this.$t('recordparameters')
|
this.tabActive = this.$t('recordparameters')
|
||||||
|
|||||||
@@ -36,10 +36,10 @@
|
|||||||
<a-form-model-item class="itemModel" prop="filingtime">
|
<a-form-model-item class="itemModel" prop="filingtime">
|
||||||
<a-date-picker class="box-input"
|
<a-date-picker class="box-input"
|
||||||
:placeholder="$t('PleaseSelect')+$t('filingtime')"
|
:placeholder="$t('PleaseSelect')+$t('filingtime')"
|
||||||
@change="dateChange({db_field_name:'batjs'})"
|
@change="dateChange({db_field_name:'batjsj'})"
|
||||||
format="YYYY-MM-DD"
|
format="YYYY-MM-DD"
|
||||||
:getCalendarContainer="(trigger) => trigger.parentNode"
|
:getCalendarContainer="(trigger) => trigger.parentNode"
|
||||||
v-model="formInline.batjs"
|
v-model="formInline.batjsj"
|
||||||
style="width: 100%"/>
|
style="width: 100%"/>
|
||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
</div>
|
</div>
|
||||||
@@ -75,7 +75,9 @@ export default {
|
|||||||
visible: false,
|
visible: false,
|
||||||
confirmLoading: false,
|
confirmLoading: false,
|
||||||
formInline: {
|
formInline: {
|
||||||
batjs:'',
|
bazt:'',
|
||||||
|
batjsj:'',
|
||||||
|
bz:'',
|
||||||
},
|
},
|
||||||
rules: {
|
rules: {
|
||||||
// listConfirmation: [
|
// listConfirmation: [
|
||||||
@@ -128,7 +130,7 @@ export default {
|
|||||||
// }
|
// }
|
||||||
// ]
|
// ]
|
||||||
},
|
},
|
||||||
ids: []
|
ids: ''
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
@@ -136,11 +138,12 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
edit(row) {
|
edit(row) {
|
||||||
if(row instanceof Array){
|
if(row instanceof Array){
|
||||||
this.ids = row
|
this.ids = row.join(',')
|
||||||
}else{
|
}else{
|
||||||
this.formInline.bazt = row.bazt
|
this.formInline.bazt = row.bazt
|
||||||
this.formInline.batjs = row.batjs
|
this.formInline.batjsj = row.batjsj
|
||||||
this.formInline.bz = row.bz
|
this.formInline.bz = row.bz
|
||||||
|
this.ids = row.id
|
||||||
}
|
}
|
||||||
this.visible = true
|
this.visible = true
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
@@ -152,12 +155,10 @@ export default {
|
|||||||
if (valid) {
|
if (valid) {
|
||||||
let query = {
|
let query = {
|
||||||
...this.formInline,
|
...this.formInline,
|
||||||
id:this.ids.join(',')
|
ids:this.ids
|
||||||
}
|
}
|
||||||
this.confirmLoading = true
|
this.confirmLoading = true
|
||||||
postAction('ota/otaBaCxList/batchRecord', {
|
postAction('ota/otaBaCxList/batchRecord', query).then((res) => {
|
||||||
recordList: query
|
|
||||||
}).then((res) => {
|
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.$message.success(this.$t('OperationSuccessful'))
|
this.$message.success(this.$t('OperationSuccessful'))
|
||||||
this.visible = false
|
this.visible = false
|
||||||
@@ -173,9 +174,10 @@ export default {
|
|||||||
},
|
},
|
||||||
handleCancel() {
|
handleCancel() {
|
||||||
this.formInline = {
|
this.formInline = {
|
||||||
batjs:''
|
bazt:'',
|
||||||
}
|
batjsj:'',
|
||||||
this.ids = []
|
bz:'',}
|
||||||
|
this.ids = ''
|
||||||
this.visible = false
|
this.visible = false
|
||||||
},
|
},
|
||||||
dateChange(item) {
|
dateChange(item) {
|
||||||
|
|||||||
@@ -137,7 +137,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { getAction, postAction, deleteAction } from '@/api/manage'
|
import { getAction, postAction, deleteAction,downloadFile } from '@/api/manage'
|
||||||
import maintenance from './components/maintenance'
|
import maintenance from './components/maintenance'
|
||||||
import { mapGetters } from 'vuex'
|
import { mapGetters } from 'vuex'
|
||||||
import { ResizeHeader, ResizeColumnProvide } from '@/mixins/header'
|
import { ResizeHeader, ResizeColumnProvide } from '@/mixins/header'
|
||||||
@@ -156,7 +156,8 @@ export default {
|
|||||||
url: {
|
url: {
|
||||||
list: '/lawsTechnologyEvaluation/lawsTechnologyEvaluationEO/page',
|
list: '/lawsTechnologyEvaluation/lawsTechnologyEvaluationEO/page',
|
||||||
deleteBatch: '/lawsTechnologyEvaluation/lawsTechnologyEvaluationEO/deleteBatch',
|
deleteBatch: '/lawsTechnologyEvaluation/lawsTechnologyEvaluationEO/deleteBatch',
|
||||||
exportData: ''
|
exportData: '/ota/otaBaCxList/exportData',
|
||||||
|
importZipUrl: '/ota/otaBaCxList/importData',//导入
|
||||||
},
|
},
|
||||||
visible: false,
|
visible: false,
|
||||||
loading: false,
|
loading: false,
|
||||||
@@ -241,14 +242,14 @@ export default {
|
|||||||
align: 'left',
|
align: 'left',
|
||||||
width: 140,
|
width: 140,
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
dataIndex: 'bazt'
|
dataIndex: 'bazt_dictText'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('filingtime'),
|
title: this.$t('filingtime'),
|
||||||
align: 'left',
|
align: 'left',
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
width: 140,
|
width: 140,
|
||||||
dataIndex: 'batjs'
|
dataIndex: 'batjsj'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('createTime'),
|
title: this.$t('createTime'),
|
||||||
@@ -343,7 +344,7 @@ export default {
|
|||||||
this.$confirm({
|
this.$confirm({
|
||||||
content: _this.$t('ConfirmDelete'),
|
content: _this.$t('ConfirmDelete'),
|
||||||
onOk() {
|
onOk() {
|
||||||
deleteAction(_this.url.deleteBatch, { ids: val.id }).then((res) => {
|
deleteAction('ota/otaBaCxList/delete', { id: val.id }).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
_this.$message.success(_this.$t('OperationSuccessful'))
|
_this.$message.success(_this.$t('OperationSuccessful'))
|
||||||
_this.getList()
|
_this.getList()
|
||||||
@@ -356,10 +357,26 @@ export default {
|
|||||||
},
|
},
|
||||||
// 引用备案
|
// 引用备案
|
||||||
citeforrecord() {
|
citeforrecord() {
|
||||||
|
if( this.selectedRowKeys.length == 0 ){
|
||||||
|
this.$message.warning(this.$t('selectLeastOne'))
|
||||||
|
}else{
|
||||||
|
if ( this.selectedRowKeys.length > 1){
|
||||||
|
this.$message.warning(this.$t('OnlyOneSelected'))
|
||||||
|
}else{
|
||||||
|
localStorage.removeItem('otaIdt')
|
||||||
|
localStorage.removeItem('otaId')
|
||||||
|
localStorage.setItem('otaIdt',this.selectedRowKeys[0])
|
||||||
|
this.$router.push({
|
||||||
|
path: '/vehicleinformation',
|
||||||
|
query: {}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
// 创建车型
|
// 创建车型
|
||||||
createvehicleandfunctionrecords() {
|
createvehicleandfunctionrecords() {
|
||||||
|
localStorage.removeItem('otaId')
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
path: '/vehicleinformation',
|
path: '/vehicleinformation',
|
||||||
query: {}
|
query: {}
|
||||||
@@ -370,26 +387,12 @@ export default {
|
|||||||
},
|
},
|
||||||
// 导出
|
// 导出
|
||||||
handleExport(row) {
|
handleExport(row) {
|
||||||
let selectedRowKeys = JSON.parse(JSON.stringify(this.selectedRowKeys))
|
let text = '车型及功能备案' + row.ggpc
|
||||||
let text = ''
|
|
||||||
let flag
|
let flag
|
||||||
if (this.activeTab == this.$t('ImplementationDate')) {
|
|
||||||
flag = 0
|
|
||||||
text = this.$t('ImplementationDate')
|
|
||||||
} else {
|
|
||||||
text = this.$t('vehicleInProductionDate')
|
|
||||||
flag = 1
|
|
||||||
}
|
|
||||||
let query = {
|
let query = {
|
||||||
id: selectedRowKeys.join(','),
|
otaId: row.id
|
||||||
...this.searchParmes,
|
|
||||||
flag: flag
|
|
||||||
}
|
}
|
||||||
downloadFile(this.url.exportData, text + '.xls', query, this.Deselect)
|
downloadFile(this.url.exportData, text + '.zip', query, this.Deselect)
|
||||||
},
|
|
||||||
// 结束升级
|
|
||||||
endUpgrade() {
|
|
||||||
this.$refs.upgradecompletionRef.addModel()
|
|
||||||
},
|
},
|
||||||
// 查看
|
// 查看
|
||||||
detailclick() {
|
detailclick() {
|
||||||
@@ -409,7 +412,7 @@ export default {
|
|||||||
},
|
},
|
||||||
// 模板下载
|
// 模板下载
|
||||||
handleModule() {
|
handleModule() {
|
||||||
downloadFile('params/paramsInfo/exportTemplate', this.$t('parameterTemplateExportName') + '.xlsx', {})
|
downloadFile('ota/otaBaCxList/exportTemplate', '车型及功能备案' + '.zip', {})
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -93,7 +93,7 @@ module.exports = {
|
|||||||
}
|
}
|
||||||
}, */
|
}, */
|
||||||
'/jero-boot': {
|
'/jero-boot': {
|
||||||
target: 'http://localhost:8080', //请求本地 jero-boot后台项目
|
target: 'http://10.0.3.22:8080', //请求本地 jero-boot后台项目
|
||||||
// target: 'http://10.10.10.46:8101', //请求本地 jero-boot后台项目
|
// target: 'http://10.10.10.46:8101', //请求本地 jero-boot后台项目
|
||||||
// target: 'http://10.0.1.25:8080',
|
// target: 'http://10.0.1.25:8080',
|
||||||
// target: 'http://10.0.1.5:8080',
|
// target: 'http://10.0.1.5:8080',
|
||||||
|
|||||||
Reference in New Issue
Block a user