Merge remote-tracking branch 'origin/master'
# Conflicts: # acs2/nladmin-system/nlsso-server/src/main/java/org/nl/acs/device_driver/two_conveyor/plug_pull_device_site/PlugPullDeviceSiteDeviceDriver.java # acs2/nladmin-ui/src/views/system/monitor/device/index.vue
This commit is contained in:
@@ -135,7 +135,7 @@ export default {
|
||||
props: {
|
||||
parentForm: {
|
||||
type: Object,
|
||||
required: true
|
||||
require: true
|
||||
}
|
||||
},
|
||||
cruds() {
|
||||
|
||||
@@ -286,7 +286,7 @@ export default {
|
||||
this.$refs.child1.setForm(clickObj)
|
||||
} else if (clickObj.data.driver_type === 'standard_stacker') {
|
||||
this.dialogFormVisible4 = true
|
||||
}else {
|
||||
} else {
|
||||
this.dialogFormVisible = true
|
||||
}
|
||||
}
|
||||
|
||||
@@ -759,7 +759,11 @@ export default {
|
||||
this.dialogVisible = false
|
||||
},
|
||||
saveBtn() {
|
||||
// 禁用按钮
|
||||
this.isDisabled = true
|
||||
crudTask.add(this.form).then(res => {
|
||||
// 请求完成后启用按钮
|
||||
this.isDisabled = false
|
||||
this.crud.toQuery()
|
||||
this.formDia = false
|
||||
this.isDisabled = true
|
||||
@@ -767,6 +771,10 @@ export default {
|
||||
this.extension = [{
|
||||
name: '',
|
||||
value: '' }]
|
||||
// 设置定时器,等待一定时间后再次允许请求
|
||||
setTimeout(() => {
|
||||
this.isDisabled = false // 可根据具体需求进行调整
|
||||
}, 1000) // 5000 毫秒,即 5 秒钟
|
||||
},
|
||||
openDialog() {
|
||||
this.dialogVisible = true
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
v-for="item in stageParam"
|
||||
:key="item.value"
|
||||
:label="item.label"
|
||||
:value="item.value">
|
||||
</el-option>
|
||||
:value="item.value"
|
||||
/>
|
||||
</el-select>
|
||||
<el-row>
|
||||
<div id="container" className="container" style="min-height: 100%" />
|
||||
@@ -194,7 +194,7 @@
|
||||
</el-form-item>
|
||||
<el-form-item :label="$t('monitor.click.job_command')" prop="toCommand" label-width="120px">
|
||||
<el-radio-group v-model="form.toCommand">
|
||||
<el-radio-button :label="7" >{{ $t('monitor.click.recall') }}</el-radio-button>
|
||||
<el-radio-button :label="7">{{ $t('monitor.click.recall') }}</el-radio-button>
|
||||
<el-radio-button :label="8">{{ $t('monitor.click.scram') }}</el-radio-button>
|
||||
<el-radio-button :label="5">{{ $t('monitor.click.police_clearance') }}</el-radio-button>
|
||||
</el-radio-group>
|
||||
@@ -208,7 +208,7 @@
|
||||
<el-form-item :label="$t('monitor.click.stop_task')" prop="stopReceiveTask" label-width="120px">
|
||||
<el-switch v-model="form.stopReceiveTask" />
|
||||
</el-form-item>
|
||||
<el-form-item :label="$t('monitor.click.requireSucess')" prop="applySucess" label-width="120px">
|
||||
<el-form-item :label="$t('monitor.click.requireSucess')" prop="applySucess" label-width="120px">
|
||||
<el-radio-group v-model="form.requireSucess">
|
||||
<el-radio-button :label="0"> {{ $t('auto.common.false') }}</el-radio-button>
|
||||
<el-radio-button :label="1">{{ $t('auto.common.true') }}</el-radio-button>
|
||||
@@ -778,6 +778,7 @@ body {
|
||||
::v-deep.el-radio-button{
|
||||
margin-right: 15px;
|
||||
border-radius:4px;
|
||||
}
|
||||
.el-radio-button__inner {
|
||||
width: 90px;
|
||||
height: 30px;
|
||||
@@ -791,5 +792,5 @@ body {
|
||||
border-color: blue;
|
||||
box-shadow: -1px 0 0 0 blue;
|
||||
}
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user