...
|
...
|
@@ -138,7 +138,8 @@ export default { |
|
|
}).show();
|
|
|
|
|
|
const result = await this.saveLicense(this.model);
|
|
|
await this.sleep(2000);
|
|
|
|
|
|
await this.sleep(1000);
|
|
|
|
|
|
this.toast && this.toast.hide();
|
|
|
|
...
|
...
|
@@ -171,11 +172,11 @@ export default { |
|
|
return [
|
|
|
'footer',
|
|
|
{
|
|
|
active: this.validate2
|
|
|
active: this.inNotEmpty
|
|
|
}
|
|
|
];
|
|
|
},
|
|
|
validate2() {
|
|
|
inNotEmpty() {
|
|
|
return this.model.businessName &&
|
|
|
this.model.socialCreditCode &&
|
|
|
this.model.certName &&
|
...
|
...
|
@@ -187,7 +188,7 @@ export default { |
|
|
(this.model.time.noLimit ? this.model.time.start_time : this.model.time.start_time && this.model.time.expire_time);
|
|
|
}
|
|
|
},
|
|
|
async mounted() {
|
|
|
mounted() {
|
|
|
this.fetchToken();
|
|
|
},
|
|
|
components: {
|
...
|
...
|
|