| | |
| | |
|
| | | private change1(dates: Moment[]) {
|
| | | this.timevalue=[]
|
| | | this.timevalue=[dates[0].format("YYYY-MM-DD hh:mm"),dates[1].format("YYYY-MM-DD hh:mm")]
|
| | | this.timevalue=[dates[0].format("YYYY-MM-DD HH:mm"),dates[1].format("YYYY-MM-DD HH:mm")]
|
| | |
|
| | | }
|
| | | private mounted() {
|
| | |
| | | private tableLoading: boolean = false;
|
| | | private columns: any[] = [
|
| | | {
|
| | | title: "序号",
|
| | | dataIndex: "key",
|
| | | key: "key",
|
| | | align: "center",
|
| | | customRender: (text,record,index) => `${index+1}`,
|
| | | width: 60,
|
| | | },
|
| | | {
|
| | | title: "路段名称",
|
| | | dataIndex: "startPoint"
|
| | | dataIndex: "startPoint",
|
| | | align: "center",
|
| | | },
|
| | | {
|
| | | title: "操作",
|
| | | customRender: this.opRender
|
| | | customRender: this.opRender,
|
| | | align: "center",
|
| | | }
|
| | | ];
|
| | | private openIn(){
|
| | |
| | | this.check=false
|
| | | this.startstate='batch'
|
| | | this.batchshow=true
|
| | | this.selectCar();
|
| | | // this.selectCar();
|
| | | this.batchid=record.coordinateId
|
| | | }
|
| | | private handlebatch(){
|
| | | this.selectCar()
|
| | | // this.selectCar()
|
| | | this.batchshow=false
|
| | | this.handlenull();
|
| | | }
|
| | |
| | | this.$message.success(res.data.message)
|
| | | this.starttime=''
|
| | | this.endtime=''
|
| | | this.selectCar()
|
| | | // this.selectCar()
|
| | | }))
|
| | | }
|
| | | private upa=''
|
| | | private recordid:any=0
|
| | | private handleEditModalVisible(record){
|
| | | private handleEditModalVisible(record) {
|
| | | console.log('dataList',this.dataList)
|
| | | this.check=false
|
| | | this.handlebatch()
|
| | | this.startstate='none'
|
| | | this.startstate = 'none'
|
| | | this.dataList=[]
|
| | | this.upa='upa'
|
| | | this.recordid=record.coordinateId
|
| | | if(this.carvalue==='请选择走航车'){
|
| | |
| | | }
|
| | | private inupa(){
|
| | | this.upa=''
|
| | | this.selectCar()
|
| | | // this.selectCar()
|
| | | }
|
| | | private carvalue:any='请选择走航车'
|
| | | private carIndex:any=[]
|