iscs调整
This commit is contained in:
parent
6e96c3d5b7
commit
3bd848cc15
File diff suppressed because one or more lines are too long
@ -16,7 +16,7 @@
|
||||
<el-form-item>
|
||||
<el-button type="primary" @click="onSubmit()">{{ buttonText }}</el-button>
|
||||
<el-button v-show="showDeleteButton" type="danger" @click="deleteDevice">{{ $t('global.delete') }}</el-button>
|
||||
<!-- <el-button v-show="showDeleteButton" @click="initPage">{{ $t('global.cancel') }}</el-button> -->
|
||||
<el-button v-show="showDeleteButton" @click="initPage">{{ $t('global.cancel') }}</el-button>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
</div>
|
||||
|
@ -13,7 +13,7 @@
|
||||
<el-form-item>
|
||||
<el-button type="primary" @click="onSubmit()">{{ buttonText }}</el-button>
|
||||
<el-button v-show="showDeleteButton" type="danger" @click="deleteDevice">{{ $t('global.delete') }}</el-button>
|
||||
<!-- <el-button v-show="showDeleteButton" @click="initPage">{{ $t('global.cancel') }}</el-button> -->
|
||||
<el-button v-show="showDeleteButton" @click="initPage">{{ $t('global.cancel') }}</el-button>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
</div>
|
||||
@ -84,21 +84,6 @@ export default {
|
||||
});
|
||||
},
|
||||
deleteDevice() {
|
||||
// const selected = this.$store.getters['map/getDeviceByCode'](this.editModel.code);
|
||||
// if (selected && selected._type.toUpperCase() === 'Psd'.toUpperCase()) {
|
||||
// const _that = this;
|
||||
// this.$confirm(this.$t('tip.confirmDeletion'), this.$t('tip.hint'), {
|
||||
// confirmButtonText: this.$t('tip.confirm'),
|
||||
// cancelButtonText: this.$t('tip.cancel'),
|
||||
// type: 'warning'
|
||||
// }).then(() => {
|
||||
// _that.$emit('updateMapModel', {...selected, _dispose: true});
|
||||
// _that.deviceSelect();
|
||||
// this.$refs.dataform.resetFields();
|
||||
// }).catch(() => {
|
||||
// _that.$message.info(this.$t('tip.cancelledDelete'));
|
||||
// });
|
||||
// }
|
||||
const model = {
|
||||
point: {
|
||||
x: this.addModel.x,
|
||||
|
Loading…
Reference in New Issue
Block a user