<#ibizinclude>
../@MACRO/VIEW_HEADER.tsx.ftl
</#ibizinclude>

<#ibizinclude>
../@MACRO/VIEW_CONTENT.tsx.ftl
</#ibizinclude>

    /**
     * 上传文件集合
     *
     * @type {any[]}
     * @memberof ImgUploadView
     */
    public files: any[] = [];

    /**
     * 值改变
     *
     * @param {*} args
     * @memberof ImgUploadView
     */
    public onValueChange(args: any) {
        if(args && args.value) {
            this.files = JSON.parse(args.value);
        } else {
            this.files = [];
        }
    }

    /**
     * 确定
     *
     * @memberof TestEntityPickupView
     */
    public onClickOk(): void {
        this.$emit('viewdataschange', this.files);
        this.$emit('close', null);
    }

    /**
     * 取消
     *
     * @memberof ImgUploadView
     */
    public onClickCancel() {
        this.$emit('close', null);
    }

<#ibizinclude>
../@MACRO/LAYOUTPANEL_VIEW.tsx.ftl
</#ibizinclude>

<#ibizinclude>
../@MACRO/VIEW_BOTTOM.tsx.ftl
</#ibizinclude>