This commit is contained in:
joylink_cuiweidong 2022-09-27 11:08:21 +08:00
commit 9fe0241959
4 changed files with 16 additions and 11 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 930 KiB

After

Width:  |  Height:  |  Size: 68 KiB

View File

@ -183,6 +183,7 @@ const training = {
state.operate = operate;
},
setInitTime: (state, initTime) => {
console.log(initTime)
state.initTime = initTime;
},
setPrdType: (state, prdType) => {

View File

@ -74,6 +74,7 @@ export default {
},
methods: {
doShow() {
console.log(this.$store.state.training.initTime)
this.formModel.initTime = new Date(this.$store.state.training.initTime || null);
this.handleChange(this.formModel.initTime);
this.show = true;
@ -92,6 +93,7 @@ export default {
},
handleSure() {
this.$refs.form.validate((valid) => {
debugger
if (valid) {
this.status = true;
const model = {

View File

@ -121,11 +121,17 @@ export default {
this.date = timestampFormat('YYYY年MM月DD日', val)
},
'$store.state.socket.standPisState': function(val) {
this.standPisState = val
console.log(this.standPisState)
this.standPisState.stationName = val.stationName
this.standPisState.firstTrainRemain = val.firstTrainRemain
this.standPisState.firstEndStationName = val.firstEndStationName
this.standPisState.secondTrainRemain = val.secondTrainRemain
this.standPisState.secondEndStationName = val.secondEndStationName
if (val.text) this.standPisState.text = val.text
},
'$store.state.socket.onboardPisState': function(val) {
this.onboardPisState = val
this.onboardPisState.stationName = val.stationName
this.onboardPisState.endStationName = val.endStationName
this.onboardPisState.parking = val.parking
},
},
data() {
@ -141,7 +147,7 @@ export default {
firstEndStationName: '',
secondTrainRemain: undefined,
secondEndStationName: '',
text: '',
text: '党的十八大提出倡导富强、民主、文明、和谐倡导自由、平等、公正、法治倡导爱国、敬业、诚信、友善积极培育和践行社会主义核心价值观。富强、民主、文明、和谐是国家层面的价值目标自由、平等、公正、法治是社会层面的价值取向爱国、敬业、诚信、友善是公民个人层面的价值准则这24个字是社会主义核心价值观的基本内容。',
},
onboardPisState: {
groupNumber: '',
@ -149,7 +155,7 @@ export default {
endStationName: '',
parking: 0,
text:
'党的十八大提出倡导富强、民主、文明、和谐倡导自由、平等、公正、法治倡导爱国、敬业、诚信、友善积极培育和践行社会主义核心价值观。富强、民主、文明、和谐是国家层面的价值目标自由、平等、公正、法治是社会层面的价值取向爱国、敬业、诚信、友善是公民个人层面的价值准则这24个字是社会主义核心价值观的基本内容。',
'今日天气最低气温15℃最高气温22℃风向风力东北风3级空气质量良好',
},
standPisImgUrl: `${this.$store.state.user.resourcesUrl}/PICTURE/2022-08-01/standPis.png`,
onboardPisImgUrl: `${this.$store.state.user.resourcesUrl}/PICTURE/2022-08-01/onboardPis.png`,
@ -229,8 +235,6 @@ export default {
.logo {
& > img {
height: 110px;
border: 1px solid #e50014;
border-radius: 50%;
}
}
}
@ -331,14 +335,12 @@ export default {
background: linear-gradient(90deg, #3e4e69, #586baa, #3e4e69);
padding: 20px;
.logo {
height: 12%;
height: 12%;
display: flex;
justify-content: center;
& > img {
height: 100%;
transform: translateY(-8px);
border: 1px solid #e50014;
border-radius: 50%;
transform: translateY(-10px);
}
}
.info {