|
@@ -30,6 +30,7 @@ export default {
|
|
|
expirationTime: '',
|
|
|
id: '',
|
|
|
cardNo: '',
|
|
|
+ communityId: '',
|
|
|
type: this.params.type
|
|
|
},
|
|
|
formRules: {
|
|
@@ -64,6 +65,8 @@ export default {
|
|
|
this.$http.get('/sc-gate-web/gateCard/find/' + id).then(({ msg, data, status }) => {
|
|
|
if (status == 0) {
|
|
|
this.formData.id = data.id;
|
|
|
+ this.formData.cardNo = data.cardNo;
|
|
|
+ this.formData.communityId = data.communityId;
|
|
|
this.thisObj = data;
|
|
|
} else {
|
|
|
this.$message.error(msg);
|
|
@@ -96,7 +99,7 @@ export default {
|
|
|
.post(`${this.params.row.cardType == 2 ? '/card/issue/manage' : '/card/issue/resident'}`, [inFrom])
|
|
|
.then(({ data, status, msg }) => {
|
|
|
if (status == 0) {
|
|
|
- this.$message.success(msg);
|
|
|
+ // this.$message.success(msg);
|
|
|
resolve && resolve();
|
|
|
} else {
|
|
|
this.$message.error(msg);
|