[update]
This commit is contained in:
@@ -11,9 +11,9 @@
|
|||||||
>
|
>
|
||||||
<a-row :gutter='24'>
|
<a-row :gutter='24'>
|
||||||
<a-col :span='24'>
|
<a-col :span='24'>
|
||||||
<a-form-model-item ref='paramsTemplateName' :label="$t('checkTheDeadline')" prop='paramsTemplateName'>
|
<span style='display: flex;justify-content: center;margin-bottom: 20px;'> <span style='margin-top: 6px;margin-right: 7px'>{{$t('cutoffTime')}}</span>
|
||||||
<a-date-picker show-time :placeholder="$t('PleaseSelect')+$t('cutoffTime')" @change="onChange" @ok="onOk" />
|
<a-date-picker show-time :placeholder="$t('PleaseSelect')+$t('cutoffTime')" @change="onChange" @ok="onOk" />
|
||||||
</a-form-model-item>
|
</span>
|
||||||
</a-col>
|
</a-col>
|
||||||
</a-row>
|
</a-row>
|
||||||
</a-form-model>
|
</a-form-model>
|
||||||
|
|||||||
@@ -201,8 +201,9 @@
|
|||||||
@areaVisibleAssignedbyflag='areaVisibleAssignedbyflag' @areaVisible='areaVisibleAssignedby = false'/>
|
@areaVisibleAssignedbyflag='areaVisibleAssignedbyflag' @areaVisible='areaVisibleAssignedby = false'/>
|
||||||
</a-modal>
|
</a-modal>
|
||||||
<!-- 截至时间--->
|
<!-- 截至时间--->
|
||||||
<a-modal v-model="areaVisibleTaskCutOffTime" :title="$t('TaskCutOffTime')" width='650px' :footer="null">
|
<a-modal v-model="areaVisibleTaskCutOffTime" :title="$t('TaskCutOffTime')" width='600px' :footer="null">
|
||||||
<task-cut-off-time v-if='areaVisibleTaskCutOffTime' :selectedRowKeysArray='selectedRowKeysArray' @GetgetTableList='GetgetTableList'
|
<task-cut-off-time v-if='areaVisibleTaskCutOffTime' :selectedRowKeysArray='selectedRowKeysArray'
|
||||||
|
@GetgetTableList='GetgetTableList'
|
||||||
@areaVisibleTaskCutOffTimeflag='areaVisibleTaskCutOffTimeflag'/>
|
@areaVisibleTaskCutOffTimeflag='areaVisibleTaskCutOffTimeflag'/>
|
||||||
</a-modal>
|
</a-modal>
|
||||||
<!-- 引用参数--->
|
<!-- 引用参数--->
|
||||||
@@ -524,7 +525,7 @@ export default {
|
|||||||
flag = 0
|
flag = 0
|
||||||
}
|
}
|
||||||
// 状态符合,但是没有工程接口人 不能下发收集
|
// 状态符合,但是没有工程接口人 不能下发收集
|
||||||
if(item.sdt.dataValue === null && (flag == 1 || flag == 3)) {
|
if((item.sdt.dataValue === null || item.sdt.dataValue ==='undefined') && (flag == 1 || flag == 3)) {
|
||||||
this.NotSelectedNoEngineerValue.push(item)
|
this.NotSelectedNoEngineerValue.push(item)
|
||||||
flag = 3
|
flag = 3
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -182,22 +182,30 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
addModel(id) {
|
addModel(id) {
|
||||||
|
this.paramsConfigEOList = []
|
||||||
this.visible = true
|
this.visible = true
|
||||||
this.title = '维护配置信息'
|
this.title = '维护配置信息'
|
||||||
this.formInline = {}
|
this.formInline = {}
|
||||||
this.getconList(id)
|
this.getconList(id)
|
||||||
},
|
},
|
||||||
editModel(value) {
|
|
||||||
this.visible = true
|
|
||||||
this.title = '编辑配置信息'
|
|
||||||
this.$nextTick(() => {
|
|
||||||
this.formInline = value
|
|
||||||
})
|
|
||||||
},
|
|
||||||
getconList(id) {
|
getconList(id) {
|
||||||
getAction(`${this.url.conList}?paramsManifestId=${id}`, {}).then((res) => {
|
getAction(`${this.url.conList}?paramsManifestId=${id}`, {}).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.paramsConfigEOList = res.result.length === 0 ? this.paramsConfigEOList : res.result
|
if(res.result.length === 0) {
|
||||||
|
this.paramsConfigEOList = [
|
||||||
|
{
|
||||||
|
id: '',
|
||||||
|
// displaySeq: 0,
|
||||||
|
configName: '', // 配置名称
|
||||||
|
version: '', // 版本
|
||||||
|
carType: '', // 车型
|
||||||
|
battery: '', // 电池
|
||||||
|
motor: '', // 电机
|
||||||
|
}
|
||||||
|
]
|
||||||
|
} else {
|
||||||
|
this.paramsConfigEOList = res.result
|
||||||
|
}
|
||||||
this.visible = true
|
this.visible = true
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
|||||||
Reference in New Issue
Block a user