Merge branch 'dev_2nd_LCYH' of http://git.hzwlsoft.com/laws-nio/laws-weilai into dev_2nd_LCYH
This commit is contained in:
@@ -14,11 +14,11 @@
|
|||||||
<a-col :span="24">
|
<a-col :span="24">
|
||||||
<div class="box-title-text">
|
<div class="box-title-text">
|
||||||
<div class="title-text">
|
<div class="title-text">
|
||||||
<!-- <span class="Required">*</span>-->
|
<span class="Required">*</span>
|
||||||
<span class="title-text-text" :title="$t('recordstatus')">
|
<span class="title-text-text" :title="$t('recordstatus')">
|
||||||
{{$t('recordstatus')}}</span>
|
{{$t('recordstatus')}}</span>
|
||||||
</div>
|
</div>
|
||||||
<a-form-model-item class="itemModel" prop="recordstatus">
|
<a-form-model-item class="itemModel" prop="bazt">
|
||||||
<j-dict-select-tag class="box-input" v-model="formInline.bazt"
|
<j-dict-select-tag class="box-input" v-model="formInline.bazt"
|
||||||
:placeholder="$t('PleaseSelect')+$t('recordstatus')"
|
:placeholder="$t('PleaseSelect')+$t('recordstatus')"
|
||||||
:type="'select'"
|
:type="'select'"
|
||||||
@@ -29,11 +29,11 @@
|
|||||||
<a-col :span="24">
|
<a-col :span="24">
|
||||||
<div class="box-title-text">
|
<div class="box-title-text">
|
||||||
<div class="title-text">
|
<div class="title-text">
|
||||||
<!-- <span class="Required">*</span>-->
|
<span class="Required">*</span>
|
||||||
<span class="title-text-text" :title="$t('filingtime')">
|
<span class="title-text-text" :title="$t('filingtime')">
|
||||||
{{$t('filingtime')}}</span>
|
{{$t('filingtime')}}</span>
|
||||||
</div>
|
</div>
|
||||||
<a-form-model-item class="itemModel" prop="filingtime">
|
<a-form-model-item class="itemModel" prop="batjsj">
|
||||||
<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:'batjsj'})"
|
@change="dateChange({db_field_name:'batjsj'})"
|
||||||
@@ -76,9 +76,25 @@ export default {
|
|||||||
visible: false,
|
visible: false,
|
||||||
confirmLoading: false,
|
confirmLoading: false,
|
||||||
formInline: {
|
formInline: {
|
||||||
|
bazt:'',
|
||||||
batjsj:'',
|
batjsj:'',
|
||||||
|
bz:'',
|
||||||
},
|
},
|
||||||
rules: {
|
rules: {
|
||||||
|
bazt: [
|
||||||
|
{
|
||||||
|
required: true,
|
||||||
|
message: this.$t('recordstatus') + this.$t('cannotEmpty'),
|
||||||
|
trigger: 'change'
|
||||||
|
}
|
||||||
|
],
|
||||||
|
batjsj: [
|
||||||
|
{
|
||||||
|
required: true,
|
||||||
|
message: this.$t('filingtime') + this.$t('cannotEmpty'),
|
||||||
|
trigger: 'change'
|
||||||
|
}
|
||||||
|
],
|
||||||
// listConfirmation: [
|
// listConfirmation: [
|
||||||
// {
|
// {
|
||||||
// required: true,
|
// required: true,
|
||||||
@@ -139,7 +155,7 @@ export default {
|
|||||||
if(row instanceof Array){
|
if(row instanceof Array){
|
||||||
this.ids = row.join(',')
|
this.ids = row.join(',')
|
||||||
}else{
|
}else{
|
||||||
this.formInline.bazt = row.bazt
|
this.formInline.bazt = row.bazt ? row.bazt : undefined
|
||||||
this.formInline.batjsj = row.batjsj
|
this.formInline.batjsj = row.batjsj
|
||||||
this.formInline.bz = row.bz
|
this.formInline.bz = row.bz
|
||||||
this.ids = row.id
|
this.ids = row.id
|
||||||
@@ -154,7 +170,7 @@ export default {
|
|||||||
if (valid) {
|
if (valid) {
|
||||||
let query = {
|
let query = {
|
||||||
...this.formInline,
|
...this.formInline,
|
||||||
ids:this.ids.join(',')
|
ids:this.ids
|
||||||
}
|
}
|
||||||
this.confirmLoading = true
|
this.confirmLoading = true
|
||||||
postAction('ota/otaBaSjList/batchRecord', query).then((res) => {
|
postAction('ota/otaBaSjList/batchRecord', query).then((res) => {
|
||||||
@@ -173,8 +189,9 @@ export default {
|
|||||||
},
|
},
|
||||||
handleCancel() {
|
handleCancel() {
|
||||||
this.formInline = {
|
this.formInline = {
|
||||||
batjsj:''
|
bazt:'',
|
||||||
}
|
batjsj:'',
|
||||||
|
bz:'',}
|
||||||
this.ids = ''
|
this.ids = ''
|
||||||
this.visible = false
|
this.visible = false
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -274,7 +274,7 @@ 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'),
|
||||||
|
|||||||
+14
-5
@@ -3,10 +3,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>
|
||||||
@@ -73,13 +72,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'
|
||||||
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 {
|
||||||
@@ -207,12 +208,20 @@ export default {
|
|||||||
scopedSlots: { customRender: 'operation' }
|
scopedSlots: { customRender: 'operation' }
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
url: {
|
||||||
|
exportData: '/ota/otaBaSjSjfzbh/exportData',
|
||||||
|
importZipUrl: '/ota/otaBaSjSjfzbh/importData',//导入
|
||||||
|
},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
// this.getList()
|
// this.getList()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
// 模板下载
|
||||||
|
handleModule() {
|
||||||
|
downloadFile('ota/otaBaSjSjfzbh/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 => {
|
||||||
|
|||||||
+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/otaBaSjLsjl/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
|
||||||
|
|||||||
+15
-6
@@ -3,10 +3,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>
|
||||||
@@ -96,25 +95,35 @@
|
|||||||
</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 moment from 'moment'
|
import moment from 'moment'
|
||||||
import uploadFile from '@/components/uploadFile/file'
|
import uploadFile from '@/components/uploadFile/file'
|
||||||
export default {
|
export default {
|
||||||
name: 'basicInformation',
|
name: 'basicInformation',
|
||||||
components:{
|
components:{
|
||||||
uploadFile
|
uploadFile,
|
||||||
|
ImportFile
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
confirmLoading: false,
|
confirmLoading: false,
|
||||||
disabled: false,
|
disabled: false,
|
||||||
formInline:{}
|
formInline:{},
|
||||||
|
url: {
|
||||||
|
exportData: '/ota/otaBaSjSjmbcl/exportData',
|
||||||
|
importZipUrl: '/ota/otaBaSjSjmbcl/importData',//导入
|
||||||
|
},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.getData()
|
this.getData()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
// 模板下载
|
||||||
|
handleModule() {
|
||||||
|
downloadFile('ota/otaBaSjSjmbcl/exportTemplate', '本次升级目标车辆' + '.zip', {})
|
||||||
|
},
|
||||||
getData(){
|
getData(){
|
||||||
let otaIdT=localStorage.getItem('otaIdT')
|
let otaIdT=localStorage.getItem('otaIdT')
|
||||||
if(otaIdT==null){
|
if(otaIdT==null){
|
||||||
|
|||||||
+14
-5
@@ -3,10 +3,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>
|
||||||
@@ -72,13 +71,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'
|
||||||
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 {
|
||||||
@@ -217,12 +218,20 @@ export default {
|
|||||||
scopedSlots: { customRender: 'operation' }
|
scopedSlots: { customRender: 'operation' }
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
url: {
|
||||||
|
exportData: '/ota/otaBaSjSjxtbh/exportData',
|
||||||
|
importZipUrl: '/ota/otaBaSjSjxtbh/importData',//导入
|
||||||
|
},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
// this.getList()
|
// this.getList()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
// 模板下载
|
||||||
|
handleModule() {
|
||||||
|
downloadFile('ota/otaBaSjSjxtbh/exportTemplate', '本次升级的系统名称与参数变化' + '.zip', {})
|
||||||
|
},
|
||||||
clickButtonToUpload(item) {
|
clickButtonToUpload(item) {
|
||||||
this.$refs.uploadFile.perentHandleFunc()
|
this.$refs.uploadFile.perentHandleFunc()
|
||||||
this.$refs.uploadFile.visible = true
|
this.$refs.uploadFile.visible = true
|
||||||
|
|||||||
+14
-5
@@ -3,10 +3,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>
|
||||||
@@ -139,13 +138,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'
|
||||||
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 {
|
||||||
@@ -155,6 +156,10 @@ export default {
|
|||||||
functionname:'ceshi',
|
functionname:'ceshi',
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
url: {
|
||||||
|
exportData: '/ota/otaBaSjSjyxpg/exportData',
|
||||||
|
importZipUrl: '/ota/otaBaSjSjyxpg/importData',//导入
|
||||||
|
},
|
||||||
loading: false,
|
loading: false,
|
||||||
disable:false,
|
disable:false,
|
||||||
columns: [
|
columns: [
|
||||||
@@ -290,6 +295,10 @@ export default {
|
|||||||
// this.getList()
|
// this.getList()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
// 模板下载
|
||||||
|
handleModule() {
|
||||||
|
downloadFile('ota/otaBaSjSjyxpg/exportTemplate', '升级影响评估' + '.zip', {})
|
||||||
|
},
|
||||||
clickButtonToUpload(item) {
|
clickButtonToUpload(item) {
|
||||||
this.$refs.uploadFile.perentHandleFunc()
|
this.$refs.uploadFile.perentHandleFunc()
|
||||||
this.$refs.uploadFile.visible = true
|
this.$refs.uploadFile.visible = true
|
||||||
|
|||||||
+16
-7
@@ -3,10 +3,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>
|
||||||
@@ -41,7 +40,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="title-text-add-input">
|
<div class="title-text-add-input">
|
||||||
<!-- <span class="title-text-text">中文</span> -->
|
<!-- <span class="title-text-text">中文</span> -->
|
||||||
<a-input class="box-input" v-model="form.babh" :placeholder="$t('pleaseEnter')" disabled ></a-input>
|
<a-input class="box-input" v-model="form.babh" :placeholder="$t('pleaseEnter')" disabled style="width:93%"></a-input>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
@@ -52,7 +51,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="title-text-add-input">
|
<div class="title-text-add-input">
|
||||||
<!-- <span class="title-text-text">中文</span> -->
|
<!-- <span class="title-text-text">中文</span> -->
|
||||||
<a-input class="box-input" v-model="form.qymc" :placeholder="$t('pleaseEnter')" disabled ></a-input>
|
<a-input class="box-input" v-model="form.qymc" :placeholder="$t('pleaseEnter')" disabled style="width:93%"></a-input>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
@@ -137,7 +136,7 @@
|
|||||||
</a-select-option>
|
</a-select-option>
|
||||||
</a-select>
|
</a-select>
|
||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
<a-form-model-item class="itemModel" style="width: 40%;margin-left:20px">
|
<a-form-model-item class="itemModel" style="width: 40%;margin-left:-9px">
|
||||||
<a-select v-model="form.dllx2" class="box-input" :disabled="disabled" :placeholder="$t('PleaseSelect')" @change="update">
|
<a-select v-model="form.dllx2" class="box-input" :disabled="disabled" :placeholder="$t('PleaseSelect')" @change="update">
|
||||||
<a-select-option v-for="(item, key) in projectNameList2"
|
<a-select-option v-for="(item, key) in projectNameList2"
|
||||||
:key="key"
|
:key="key"
|
||||||
@@ -163,17 +162,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'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'basicInformation',
|
name: 'basicInformation',
|
||||||
components:{
|
components:{
|
||||||
|
ImportFile
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
confirmLoading: false,
|
confirmLoading: false,
|
||||||
disabled: false,
|
disabled: false,
|
||||||
form:{},
|
form:{},
|
||||||
|
url: {
|
||||||
|
exportData: '/ota/otaBaSjSjmbcx/exportData',
|
||||||
|
importZipUrl: '/ota/otaBaSjSjmbcx/importData',//导入
|
||||||
|
},
|
||||||
projectNameList1:['传统动力汽车','节能汽车','新能源汽车','其他'],
|
projectNameList1:['传统动力汽车','节能汽车','新能源汽车','其他'],
|
||||||
projectNameList2:[],
|
projectNameList2:[],
|
||||||
selectListPc:[],
|
selectListPc:[],
|
||||||
@@ -186,6 +191,10 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
|
// 模板下载
|
||||||
|
handleModule() {
|
||||||
|
downloadFile('ota/otaBaSjSjmbcx/exportTemplate', '升级目标车型' + '.zip', {})
|
||||||
|
},
|
||||||
getData(){
|
getData(){
|
||||||
let otaIdT=localStorage.getItem('otaIdT')
|
let otaIdT=localStorage.getItem('otaIdT')
|
||||||
if(otaIdT==null){
|
if(otaIdT==null){
|
||||||
|
|||||||
+15
-6
@@ -3,10 +3,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>
|
||||||
@@ -95,24 +94,34 @@
|
|||||||
</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 moment from 'moment'
|
import moment from 'moment'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'basicInformation',
|
name: 'basicInformation',
|
||||||
components:{
|
components:{
|
||||||
|
ImportFile
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
confirmLoading: false,
|
confirmLoading: false,
|
||||||
disabled: false,
|
disabled: false,
|
||||||
formInline:{}
|
formInline:{},
|
||||||
|
url: {
|
||||||
|
exportData: '/ota/otaBaSjGgnrfs/exportData',
|
||||||
|
importZipUrl: '/ota/otaBaSjGgnrfs/importData',//导入
|
||||||
|
},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {// 模板下载
|
||||||
|
handleModule() {
|
||||||
|
downloadFile('ota/otaBaSjGgnrfs/exportTemplate', '用户告知内容及方式' + '.zip', {})
|
||||||
|
},
|
||||||
|
|
||||||
next(){
|
next(){
|
||||||
this.$emit('recordparametersdown')
|
this.$emit('recordparametersdown')
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -276,7 +276,7 @@ import { message } from 'ant-design-vue'
|
|||||||
},
|
},
|
||||||
// 模板下载
|
// 模板下载
|
||||||
handleModule() {
|
handleModule() {
|
||||||
downloadFile('ota/otaBaCxJbxx/exportTemplate', '车型及功能备案' + '.zip', {})
|
downloadFile('ota/otaBaCxJbxx/exportTemplate', '车型基本信息' + '.zip', {})
|
||||||
},
|
},
|
||||||
getSelect(){
|
getSelect(){
|
||||||
getAction('/ota/otaBaCxList/list').then(res=>{
|
getAction('/ota/otaBaCxList/list').then(res=>{
|
||||||
|
|||||||
@@ -294,7 +294,7 @@ import ImportFile from '@/components/ImportFileData/index'
|
|||||||
methods: {
|
methods: {
|
||||||
// 模板下载
|
// 模板下载
|
||||||
handleModule() {
|
handleModule() {
|
||||||
downloadFile('ota/otaBaCxKsjjsmccs/exportTemplate', '车型及功能备案' + '.zip', {})
|
downloadFile('ota/otaBaCxKsjjsmccs/exportTemplate', '可在线升级的驾驶辅助功能名称与参数' + '.zip', {})
|
||||||
},
|
},
|
||||||
clickButtonToUpload(item) {
|
clickButtonToUpload(item) {
|
||||||
this.$refs.uploadFile.perentHandleFunc()
|
this.$refs.uploadFile.perentHandleFunc()
|
||||||
|
|||||||
@@ -863,7 +863,7 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
// 模板下载
|
// 模板下载
|
||||||
handleModule() {
|
handleModule() {
|
||||||
downloadFile('ota/otaBaCxList/exportTemplate', '车型及功能备案' + '.zip', {})
|
downloadFile('ota/otaBaCxList/exportTemplate', '驾驶辅助系统基础备案参数' + '.zip', {})
|
||||||
},
|
},
|
||||||
getData(){
|
getData(){
|
||||||
if(this.$route.query.type == 1){
|
if(this.$route.query.type == 1){
|
||||||
|
|||||||
+1
-1
@@ -187,7 +187,7 @@ import ImportFile from '@/components/ImportFileData/index'
|
|||||||
// 模板下载
|
// 模板下载
|
||||||
|
|
||||||
handleModule() {
|
handleModule() {
|
||||||
downloadFile('ota/otaBaCxAqcs/exportTemplate', '车型及功能备案' + '.zip', {})
|
downloadFile('ota/otaBaCxAqcs/exportTemplate', '安全措施' + '.zip', {})
|
||||||
},
|
},
|
||||||
getData(){
|
getData(){
|
||||||
let otaIdT=localStorage.getItem('otaIdT')
|
let otaIdT=localStorage.getItem('otaIdT')
|
||||||
|
|||||||
+1
-1
@@ -202,7 +202,7 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
// 模板下载
|
// 模板下载
|
||||||
handleModule() {
|
handleModule() {
|
||||||
downloadFile('ota/otaBaCxZxsjyq/exportTemplate', '车型及功能备案' + '.zip', {})
|
downloadFile('ota/otaBaCxZxsjyq/exportTemplate', '在线升级要求' + '.zip', {})
|
||||||
},
|
},
|
||||||
getData(){
|
getData(){
|
||||||
console.log(localStorage.getItem('otaId'));
|
console.log(localStorage.getItem('otaId'));
|
||||||
|
|||||||
@@ -302,7 +302,7 @@ import uploadFileOta from '@/components/uploadFileOta/file'
|
|||||||
methods: {
|
methods: {
|
||||||
// 模板下载
|
// 模板下载
|
||||||
handleModule() {
|
handleModule() {
|
||||||
downloadFile('ota/otaBaCxKsjxtmccs/exportTemplate', '车型及功能备案' + '.zip', {})
|
downloadFile('ota/otaBaCxKsjxtmccs/exportTemplate', '可在线升级的系统名称与参数' + '.zip', {})
|
||||||
},
|
},
|
||||||
getData(){
|
getData(){
|
||||||
let otaIdT=localStorage.getItem('otaIdT')
|
let otaIdT=localStorage.getItem('otaIdT')
|
||||||
|
|||||||
@@ -140,7 +140,7 @@ export default {
|
|||||||
if(row instanceof Array){
|
if(row instanceof Array){
|
||||||
this.ids = row.join(',')
|
this.ids = row.join(',')
|
||||||
}else{
|
}else{
|
||||||
this.formInline.bazt = row.bazt
|
this.formInline.bazt = row.bazt ? row.bazt : undefined
|
||||||
this.formInline.batjsj = row.batjsj
|
this.formInline.batjsj = row.batjsj
|
||||||
this.formInline.bz = row.bz
|
this.formInline.bz = row.bz
|
||||||
this.ids = row.id
|
this.ids = row.id
|
||||||
|
|||||||
Reference in New Issue
Block a user