|
@@ -8,7 +8,7 @@
|
|
linkTo="TokenControl"
|
|
linkTo="TokenControl"
|
|
></crumbs>
|
|
></crumbs>
|
|
<el-form ref="ruleForm" class="addDepartForm" label-width="160px">
|
|
<el-form ref="ruleForm" class="addDepartForm" label-width="160px">
|
|
- <el-form-item class="addDepartFormItem" label="设备号:">
|
|
|
|
|
|
+ <el-form-item class="addDepartFormItem isRequired" label="设备号:">
|
|
<!-- <input class="searchInput" type="text" v-model = "equipNum"> -->
|
|
<!-- <input class="searchInput" type="text" v-model = "equipNum"> -->
|
|
|
|
|
|
<el-input
|
|
<el-input
|
|
@@ -130,7 +130,10 @@
|
|
},
|
|
},
|
|
|
|
|
|
submitForm() {
|
|
submitForm() {
|
|
-
|
|
|
|
|
|
+ if(!this.equipNum || !this.hospital || !this.server || !this.cpu || !this.remainDay || !this.validTime) {
|
|
|
|
+ this.warning('请输入必填项!')
|
|
|
|
+ return
|
|
|
|
+ }
|
|
this.showDelDialog()
|
|
this.showDelDialog()
|
|
},
|
|
},
|
|
tokenAnalysis() {
|
|
tokenAnalysis() {
|
|
@@ -147,6 +150,7 @@
|
|
})
|
|
})
|
|
},
|
|
},
|
|
showDelDialog() {
|
|
showDelDialog() {
|
|
|
|
+
|
|
this.showConfirmDialog('是否生成该令牌?', () => {
|
|
this.showConfirmDialog('是否生成该令牌?', () => {
|
|
const param = {
|
|
const param = {
|
|
id: this.id,
|
|
id: this.id,
|