    /**
     * ${item.getCaption()}
     *
     * @param {any[]} args
     * @param {*} [params]
     * @param {*} [$event]
     * @param {*} [xData]
     * @memberof ${srfclassname('${view.name}')}
     */
    public ${item.getFullCodeName()}(args: any[], params?: any, $event?: any, xData?: any) {
        const _this: any = this;
        if (!xData || !(xData.remove instanceof Function)) {
            return ;
        }
        xData.remove(args).then((response: any) => {
            if (!response || response.status !== 200) {
                return ;
            }
            if (_this.viewdata) {
                _this.$emit('close');
            } else {
                _this.$tabPageExp.onClose(_this.$route.fullPath);
            }
        });
    }