| | |
| | | let ajax = new $ax(Feng.ctxPath + "/tHuiminCard/getDetail", |
| | | (data) => { |
| | | |
| | | this.periodOfValidity = [data.startTime, data.endTime] |
| | | |
| | | console.log("data.useScope",data.useScope) |
| | | if(data.startTime == null || data.endTime == null){ |
| | | this.periodOfValidity = [] |
| | | }else { |
| | | this.periodOfValidity = [data.startTime, data.endTime] |
| | | } |
| | | |
| | | this.huiminCard = { |
| | | ...data, |
| | |
| | | |
| | | }, |
| | | (data) => { |
| | | vm.tableStoreLoading = false; |
| | | Feng.error("请求失败: " + data.responseJSON.message); |
| | | this.tableStoreLoading = false; |
| | | Feng.error("请求失败: " + data); |
| | | } |
| | | ); |
| | | ajax.set({id: id}) |