填写记录对接接口

This commit is contained in:
zyx.net
2023-03-25 18:59:04 +08:00
parent d9c7e6c05e
commit 47dad28c06
7 changed files with 22 additions and 30 deletions
@@ -236,8 +236,8 @@
projectNameList:[], projectNameList:[],
formRules:[], formRules:[],
url: { url: {
exportData: '/ota/otaBaCxList/exportData', exportData: '/ota/otaBaCxJbxx/exportData',
importZipUrl: '/ota/otaBaCxList/importData',//导入 importZipUrl: '/ota/otaBaCxJbxx/importData',//导入
}, },
form:{}, form:{},
projectNameList1:['传统动力汽车','节能汽车','新能源汽车','其他'], projectNameList1:['传统动力汽车','节能汽车','新能源汽车','其他'],
@@ -254,7 +254,7 @@
methods: { methods: {
// 模板下载 // 模板下载
handleModule() { handleModule() {
downloadFile('ota/otaBaCxList/exportTemplate', '车型及功能备案' + '.zip', {}) downloadFile('ota/otaBaCxJbxx/exportTemplate', '车型及功能备案' + '.zip', {})
}, },
getSelect(){ getSelect(){
getAction('/ota/otaBaCxList/list').then(res=>{ getAction('/ota/otaBaCxList/list').then(res=>{
@@ -115,8 +115,8 @@ import ImportFile from '@/components/ImportFileData/index'
data() { data() {
return { return {
url: { url: {
exportData: '/ota/otaBaCxList/exportData', exportData: '/ota/otaBaCxKsjjsmccs/exportData',
importZipUrl: '/ota/otaBaCxList/importData',//导入 importZipUrl: '/ota/otaBaCxKsjjsmccs/importData',//导入
}, },
dataSource: [ dataSource: [
{ {
@@ -288,7 +288,7 @@ import ImportFile from '@/components/ImportFileData/index'
methods: { methods: {
// 模板下载 // 模板下载
handleModule() { handleModule() {
downloadFile('ota/otaBaCxList/exportTemplate', '车型及功能备案' + '.zip', {}) downloadFile('ota/otaBaCxKsjjsmccs/exportTemplate', '车型及功能备案' + '.zip', {})
}, },
getList() { getList() {
let queryParam = JSON.parse(JSON.stringify(this.queryParam)) let queryParam = JSON.parse(JSON.stringify(this.queryParam))
@@ -293,8 +293,8 @@ export default {
return { return {
radioList:9, radioList:9,
url: { url: {
exportData: '/ota/otaBaCxList/exportData', exportData: '/ota/otaBaCxJsfzbacs/exportData',
importZipUrl: '/ota/otaBaCxList/importData',//导入 importZipUrl: '/ota/otaBaCxJsfzbacs/importData',//导入
}, },
dataSource: [ dataSource: [
{ {
@@ -762,8 +762,6 @@ export default {
fillincontent:this.$t('yesisselected'), fillincontent:this.$t('yesisselected'),
}, },
], ],
url: {
},
queryParam: {}, queryParam: {},
dataSourceList: [ dataSourceList: [
{ {
@@ -57,8 +57,8 @@ import ImportFile from '@/components/ImportFileData/index'
data() { data() {
return { return {
url: { url: {
exportData: '/ota/otaBaCxList/exportData', exportData: '/ota/otaBaCxAqcs/exportData',
importZipUrl: '/ota/otaBaCxList/importData',//导入 importZipUrl: '/ota/otaBaCxAqcs/importData',//导入
}, },
dataSource: [ dataSource: [
{ {
@@ -160,9 +160,6 @@ import ImportFile from '@/components/ImportFileData/index'
pageSize: 10, pageSize: 10,
pageNo: 1, pageNo: 1,
total: 0, total: 0,
url: {
list: '/todoCenter/projectProcess/issuedProcess'
},
queryParam: {} queryParam: {}
} }
}, },
@@ -173,7 +170,7 @@ import ImportFile from '@/components/ImportFileData/index'
methods: { methods: {
// 模板下载 // 模板下载
handleModule() { handleModule() {
downloadFile('ota/otaBaCxList/exportTemplate', '车型及功能备案' + '.zip', {}) downloadFile('ota/otaBaCxAqcs/exportTemplate', '车型及功能备案' + '.zip', {})
}, },
getData(){ getData(){
getAction('/ota/otaBaCxAqcs/queryByOtaId',{otaIdT:localStorage.getItem('otaIdT'),otaId:localStorage.getItem('otaId')}).then(res=>{ getAction('/ota/otaBaCxAqcs/queryByOtaId',{otaIdT:localStorage.getItem('otaIdT'),otaId:localStorage.getItem('otaId')}).then(res=>{
@@ -45,8 +45,8 @@ export default {
data() { data() {
return { return {
url: { url: {
exportData: '/ota/otaBaCxList/exportData', exportData: '/ota/otaBaCxZxsjyq/exportData',
importZipUrl: '/ota/otaBaCxList/importData',//导入 importZipUrl: '/ota/otaBaCxZxsjyq/importData',//导入
}, },
dataSource: [ dataSource: [
{ {
@@ -202,7 +202,7 @@ export default {
methods: { methods: {
// 模板下载 // 模板下载
handleModule() { handleModule() {
downloadFile('ota/otaBaCxList/exportTemplate', '车型及功能备案' + '.zip', {}) downloadFile('ota/otaBaCxZxsjyq/exportTemplate', '车型及功能备案' + '.zip', {})
}, },
getData(){ getData(){
console.log(localStorage.getItem('otaId')); console.log(localStorage.getItem('otaId'));
@@ -111,8 +111,8 @@ import ImportFile from '@/components/ImportFileData/index'
data() { data() {
return { return {
url: { url: {
exportData: '/ota/otaBaCxList/exportData', exportData: '/ota/otaBaCxKsjxtmccs/exportData',
importZipUrl: '/ota/otaBaCxList/importData',//导入 importZipUrl: '/ota/otaBaCxKsjxtmccs/importData',//导入
}, },
dataSource: [ dataSource: [
{ {
@@ -295,7 +295,7 @@ import ImportFile from '@/components/ImportFileData/index'
methods: { methods: {
// 模板下载 // 模板下载
handleModule() { handleModule() {
downloadFile('ota/otaBaCxList/exportTemplate', '车型及功能备案' + '.zip', {}) downloadFile('ota/otaBaCxKsjxtmccs/exportTemplate', '车型及功能备案' + '.zip', {})
}, },
getData(){ getData(){
getAction('/ota/otaBaCxKsjxtmccs/queryByOtaId',{otaIdT:localStorage.getItem('otaIdT'),otaId:localStorage.getItem('otaId')}).then(res=>{ getAction('/ota/otaBaCxKsjxtmccs/queryByOtaId',{otaIdT:localStorage.getItem('otaIdT'),otaId:localStorage.getItem('otaId')}).then(res=>{
@@ -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
@@ -175,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