|
@@ -288,36 +288,6 @@ export default {
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|
|
|
},
|
|
},
|
|
|
- showCode(row) {
|
|
|
|
|
- this.dialogCode = true;
|
|
|
|
|
- this.dialogUrl =
|
|
|
|
|
- 'http://wljtest.izouma.com/h5/home?performanceId=' +
|
|
|
|
|
- row.performanceId +
|
|
|
|
|
- '&performanceApplyId=' +
|
|
|
|
|
- row.id;
|
|
|
|
|
- },
|
|
|
|
|
- getCode(value) {
|
|
|
|
|
- return this.forTree(this.artTypes, value).code;
|
|
|
|
|
- },
|
|
|
|
|
- forTree(list, value) {
|
|
|
|
|
- var result = null;
|
|
|
|
|
- if (!list) {
|
|
|
|
|
- return;
|
|
|
|
|
- }
|
|
|
|
|
- for (var i in list) {
|
|
|
|
|
- if (result !== null) {
|
|
|
|
|
- break;
|
|
|
|
|
- }
|
|
|
|
|
- var item = list[i];
|
|
|
|
|
- if (item.id == value) {
|
|
|
|
|
- result = item;
|
|
|
|
|
- break;
|
|
|
|
|
- } else if (item.children && item.children.length > 0) {
|
|
|
|
|
- result = this.forTree(item.children, value);
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
- return result;
|
|
|
|
|
- },
|
|
|
|
|
closeEvent() {
|
|
closeEvent() {
|
|
|
document.exitPictureInPicture();
|
|
document.exitPictureInPicture();
|
|
|
},
|
|
},
|