This commit is contained in:
fan 2020-08-04 14:18:05 +08:00
commit 8ed963fddb
5 changed files with 9 additions and 9 deletions

View File

@ -271,7 +271,7 @@ export default {
</script>
<style rel="stylesheet/scss" lang="scss" scoped>
.schema {
z-index: 360;
z-index: 36;
display: inline;
position: absolute;
right: 5px;

View File

@ -127,6 +127,11 @@ export default {
return form;
}
},
watch: {
'$store.state.map.deleteCount': function (val) {
this.deleteObj();
}
},
methods: {
deviceChange(code) {
this.$emit('setCenter', code);

View File

@ -213,9 +213,11 @@ export default {
if (this.activeName === 'first') {
this.$refs.dataform.resetFields();
this.editModel.type = type;
this.editModel._type = type;
} else {
this.$refs.make.resetFields();
this.addModel.type = type;
this.addModel._type = type;
}
},
hover(field) {

View File

@ -101,13 +101,6 @@ export default {
});
return rules;
},
createRules() {
return {
standCode: [
{ required: true, message: this.$t('rules.stationCode'), trigger: 'change' }
]
};
}
},
watch: {

View File

@ -134,7 +134,7 @@ export default {
this.actionInfoList.push({id: element.id, isClose: true, memberName: memberName});
break;
}
case 'Command':
case 'Operation':
{
// const command = CommandHandler.getScriptDefinition(element.operationType);
const commandName = element.operationType;