竞赛平台代码调整
This commit is contained in:
parent
a5025eda1c
commit
ce505f915b
@ -477,6 +477,7 @@ export default {
|
||||
});
|
||||
},
|
||||
startTraining() {
|
||||
this.getEmptyOperationalStatistics();
|
||||
let userRole = 'AUDIENCE';
|
||||
if (this.$route.query.prdType) {
|
||||
if (this.$route.query.prdType == '02') {
|
||||
|
@ -8,18 +8,17 @@
|
||||
:close-on-click-modal="false"
|
||||
>
|
||||
<div v-for="(item,index) in resultData.itemVOS" :key="index" style="margin-top:10px;">
|
||||
<span style="margin-left: 20px;">{{ item.description+':' }}</span>
|
||||
<span class="itemDescription">{{ item.description+':' }}</span>
|
||||
<el-time-picker
|
||||
v-if="item.type=='Time'"
|
||||
v-model="dataList[index]"
|
||||
value-format="HH:mm"
|
||||
format="HH:mm"
|
||||
size="small"
|
||||
style="width:200px;display:inline-block;"
|
||||
:placeholder="item.description"
|
||||
class="itemFormItem"
|
||||
@change="((val)=>{changeData(val,index)}) "
|
||||
/>
|
||||
<el-input v-if="item.type=='Non_Time'" v-model="dataList[index]" type="text" :style="{width: '125px'}" size="small" :maxlength="100" @change="((val)=>{changeNoTimeData(val,index)}) " />
|
||||
<el-input v-if="item.type=='Non_Time'" v-model="dataList[index]" type="text" class="itemFormItem" size="small" :maxlength="100" @change="((val)=>{changeNoTimeData(val,index)}) " />
|
||||
</div>
|
||||
|
||||
<span slot="footer" class="dialog-footer">
|
||||
@ -95,3 +94,17 @@ export default {
|
||||
}
|
||||
};
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
.itemDescription{
|
||||
margin-left: 20px;
|
||||
width:180px;
|
||||
display: inline-block;
|
||||
text-align: right;
|
||||
vertical-align: middle;
|
||||
}
|
||||
.itemFormItem{
|
||||
width:200px;
|
||||
display:inline-block;
|
||||
vertical-align: middle;
|
||||
}
|
||||
</style>
|
||||
|
@ -246,6 +246,8 @@ function covertOperation(deviceType, operationParamMap, operationType) {
|
||||
if (device.parentCode && device.type == '02') {
|
||||
const parentSection = store.getters['map/getDeviceByCode'](device.parentCode);
|
||||
deviceName += '【' + operateEnum[deviceType].type + ' ' + parentSection.name + '-' + device.name + '】';
|
||||
} else {
|
||||
deviceName += '【' + operateEnum[deviceType].type + device.name + '】';
|
||||
}
|
||||
} else {
|
||||
let deviceNameIn = '';
|
||||
|
Loading…
Reference in New Issue
Block a user