Merge remote-tracking branch 'origin/dev_2nd_LCYH' into dev_2nd_LCYH
This commit is contained in:
@@ -389,8 +389,25 @@ 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])
|
||||||
|
if(localStorage.getItem('otaIdT')!=null){
|
||||||
|
this.$router.push({
|
||||||
|
path: '/upgradeactivityrecord',
|
||||||
|
query: {
|
||||||
|
type:1
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}},
|
||||||
// 创建车型
|
// 创建车型
|
||||||
createvehicleandfunctionrecords() {
|
createvehicleandfunctionrecords() {
|
||||||
localStorage.removeItem('otaId')
|
localStorage.removeItem('otaId')
|
||||||
|
|||||||
+37
-7
@@ -12,7 +12,7 @@
|
|||||||
<a-form-model-item class="itemModel" prop="dutyTerritory">
|
<a-form-model-item class="itemModel" prop="dutyTerritory">
|
||||||
<a-input
|
<a-input
|
||||||
:placeholder="$t('pleaseEnter')"
|
:placeholder="$t('pleaseEnter')"
|
||||||
v-model.trim="queryParam.taskname"></a-input>
|
v-model.trim="queryParam.rwmc"></a-input>
|
||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
@@ -29,7 +29,7 @@
|
|||||||
@change="dateChange({db_field_name:'updatereleasetime'})"
|
@change="dateChange({db_field_name:'updatereleasetime'})"
|
||||||
format="YYYY-MM-DD"
|
format="YYYY-MM-DD"
|
||||||
:getCalendarContainer="(trigger) => trigger.parentNode"
|
:getCalendarContainer="(trigger) => trigger.parentNode"
|
||||||
v-model="queryParam.updatereleasetime"
|
v-model="queryParam.sjfbsj"
|
||||||
:disabled="false"
|
:disabled="false"
|
||||||
style="width: 100%"/>
|
style="width: 100%"/>
|
||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
@@ -48,7 +48,7 @@
|
|||||||
@change="dateChange({db_field_name:'upgradeplanexpirationtime'})"
|
@change="dateChange({db_field_name:'upgradeplanexpirationtime'})"
|
||||||
format="YYYY-MM-DD"
|
format="YYYY-MM-DD"
|
||||||
:getCalendarContainer="(trigger) => trigger.parentNode"
|
:getCalendarContainer="(trigger) => trigger.parentNode"
|
||||||
v-model="queryParam.upgradeplanexpirationtime"
|
v-model="queryParam.sjjzsj"
|
||||||
:disabled="false"
|
:disabled="false"
|
||||||
style="width: 100%"/>
|
style="width: 100%"/>
|
||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
@@ -58,7 +58,7 @@
|
|||||||
</a-form-model>
|
</a-form-model>
|
||||||
</a-spin>
|
</a-spin>
|
||||||
<div class="bootom-button">
|
<div class="bootom-button">
|
||||||
<a-button style="margin-right:50px">{{$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" @click='last' style="margin-right:50px">{{$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>
|
||||||
@@ -77,21 +77,51 @@ export default {
|
|||||||
return {
|
return {
|
||||||
confirmLoading: false,
|
confirmLoading: false,
|
||||||
disabled: false,
|
disabled: false,
|
||||||
queryParam:{}
|
queryParam:{
|
||||||
|
sjjzsj:''
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
this.getData()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
getData(){
|
||||||
|
let otaIdT=localStorage.getItem('otaIdT')
|
||||||
|
if(otaIdT==null){
|
||||||
|
otaIdT=''
|
||||||
|
}
|
||||||
|
let otaId=localStorage.getItem('otaId')
|
||||||
|
if(otaId==null){
|
||||||
|
otaId=''
|
||||||
|
}
|
||||||
|
getAction('/ota/otaBaSjQtsjxx/queryByOtaId',{otaIdT:otaIdT,otaId:otaId}),then(res=>{
|
||||||
|
if(res.code == 200){
|
||||||
|
this.queryParam= res.result ==null ? {} :res.result
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
|
save(){
|
||||||
|
let otaId = localStorage.getItem('otaId')
|
||||||
|
if(otaId == null || otaId == undefined){
|
||||||
|
otaId=''
|
||||||
|
}
|
||||||
|
this.queryParam.otaId = otaId
|
||||||
|
postAction('/ota/otaBaSjQtsjxx/add' ,this.queryParam).then(res=>{
|
||||||
|
this.$message.success(this.$t('SavedSuccessfully'))
|
||||||
|
console.log(res);
|
||||||
|
})
|
||||||
|
},
|
||||||
|
|
||||||
last(){
|
last(){
|
||||||
|
this.save()
|
||||||
this.$emit('otherup')
|
this.$emit('otherup')
|
||||||
},
|
},
|
||||||
dateChange(item) {
|
dateChange(item) {
|
||||||
this.formInline[item.db_field_name] = this.formInline[item.db_field_name] ? moment(this.formInline[item.db_field_name]).format('YYYY-MM-DD') : ''
|
this.formInline[item.db_field_name] = this.formInline[item.db_field_name] ? moment(this.formInline[item.db_field_name]).format('YYYY-MM-DD') : ''
|
||||||
},
|
},
|
||||||
submit(){
|
submit(){
|
||||||
|
this.$router.push('upgradeactivity')
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+5
-2
@@ -389,8 +389,11 @@ this.$forceUpdate()
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
save(){
|
save(){
|
||||||
|
let otaId = localStorage.getItem('otaId')
|
||||||
this.form.otaId=localStorage.getItem('otaId')
|
if(otaId == null || otaId == undefined){
|
||||||
|
otaId=''
|
||||||
|
}
|
||||||
|
this.form.otaId=otaId
|
||||||
postAction('/ota/otaBaSjSjyxpg/add',this.form).then(res=>{
|
postAction('/ota/otaBaSjSjyxpg/add',this.form).then(res=>{
|
||||||
this.$message.success(this.$t('SavedSuccessfully'))
|
this.$message.success(this.$t('SavedSuccessfully'))
|
||||||
console.log(res);
|
console.log(res);
|
||||||
|
|||||||
+26
-2
@@ -179,6 +179,7 @@ import { getAction, postAction, deleteAction,downloadFile } from '@/api/manage'
|
|||||||
import ImportFile from '@/components/ImportFileData/index'
|
import ImportFile from '@/components/ImportFileData/index'
|
||||||
import uploadFile from '@/components/uploadFile/file'
|
import uploadFile from '@/components/uploadFile/file'
|
||||||
import moment from 'moment'
|
import moment from 'moment'
|
||||||
|
import { post } from '../../../../common/lang/zh-cn'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'basicInformation',
|
name: 'basicInformation',
|
||||||
@@ -198,7 +199,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
this.getData()
|
||||||
},
|
},
|
||||||
methods: {// 模板下载
|
methods: {// 模板下载
|
||||||
handleModule() {
|
handleModule() {
|
||||||
@@ -229,8 +230,31 @@ export default {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
getData(){
|
||||||
|
let otaIdT=localStorage.getItem('otaIdT')
|
||||||
|
if(otaIdT==null){
|
||||||
|
otaIdT=''
|
||||||
|
}
|
||||||
|
let otaId=localStorage.getItem('otaId')
|
||||||
|
if(otaId==null){
|
||||||
|
otaId=''
|
||||||
|
}
|
||||||
|
getAction('/ota/otaBaSjGgnrfs/queryByOtaId',{otaIdT:otaIdT,otaId:otaId}),then(res=>{
|
||||||
|
if(res.code == 200){
|
||||||
|
this.formInline= res.result ==null ? {} :res.result
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
save(){
|
save(){
|
||||||
|
let otaId = localStorage.getItem('otaId')
|
||||||
|
if(otaId == null || otaId == undefined){
|
||||||
|
otaId=''
|
||||||
|
}
|
||||||
|
this.formInline.otaId = otaId
|
||||||
|
postAction('/ota/otaBaSjGgnrfs/add' ,this.formInline).then(res=>{
|
||||||
|
this.$message.success(this.$t('SavedSuccessfully'))
|
||||||
|
console.log(res);
|
||||||
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
next(){
|
next(){
|
||||||
|
|||||||
@@ -72,7 +72,7 @@
|
|||||||
</span>
|
</span>
|
||||||
|
|
||||||
<span slot="softwaredevelopmententerprise" slot-scope="text,record">
|
<span slot="softwaredevelopmententerprise" slot-scope="text,record">
|
||||||
<a-input :placeholder="$t('pleaseEnter')" v-model="record.yjbbxx" :max-length="500"></a-input>
|
<a-input :placeholder="$t('pleaseEnter')" v-model="record.rjkfqy" :max-length="500"></a-input>
|
||||||
</span>
|
</span>
|
||||||
<span slot="operatingsystemversion" slot-scope="text,record">
|
<span slot="operatingsystemversion" slot-scope="text,record">
|
||||||
<a-input :placeholder="$t('pleaseEnter')" v-model="record.rjkfqy" :max-length="500"></a-input>
|
<a-input :placeholder="$t('pleaseEnter')" v-model="record.rjkfqy" :max-length="500"></a-input>
|
||||||
|
|||||||
Reference in New Issue
Block a user