|
@@ -60,12 +60,14 @@ export default {
|
|
|
data() {
|
|
|
return {
|
|
|
modalIsShow: false,
|
|
|
+ cardId: "",
|
|
|
paperAttachments: []
|
|
|
};
|
|
|
},
|
|
|
methods: {
|
|
|
async visibleChange() {
|
|
|
const data = await taskApplyDetail(this.instance.id);
|
|
|
+ this.cardId = data.cardId;
|
|
|
this.paperAttachments = data.paperAttachmentIds
|
|
|
? JSON.parse(data.paperAttachmentIds)
|
|
|
: [];
|
|
@@ -88,7 +90,7 @@ export default {
|
|
|
this.getRouterPath({
|
|
|
name: "CardPreview",
|
|
|
params: {
|
|
|
- cardId: this.curTaskApply.cardId,
|
|
|
+ cardId: this.cardId,
|
|
|
viewType: "view"
|
|
|
}
|
|
|
})
|