<commit_before><template>
    <el-dialog title="作业批量分组" v-loading="loading" element-loading-text="请稍等···" :visible.sync="isVisible" :before-close="closeDialog">
        <el-form label-width="140px">
            <input type="text" v-show="false" />
            <el-form-item label="作业名称" prop="jobName">
                <el-col :span="18">
                    <el-tag type="success" class="form-tags" v-for="item in jobGroups" :key="item.jobName">{{item.jobName}}</el-tag>
                </el-col>
            </el-form-item>
            <el-form-item prop="groups" label="所属分组">
                <el-tag
                    :key="group"
                    v-for="group in groups"
                    type="primary"
                    closable
                    :disable-transitions="false"
                    style="margin: 0 3px 3px 0;"
                    @close="handleDeleteGroup(group)">
                    {{group}}
                </el-tag>
                <el-autocomplete
                    v-if="inputGroupVisible"
                    v-model="groupSelected"
                    ref="saveGroupInput"
                    :fetch-suggestions="querySearchGroups"
                    placeholder="请添加或选择分组"
                    @select="handleInputGroup"
                    @keyup.enter.native="handleInputGroup"
                >
                </el-autocomplete>
                <el-button v-else size="small" @click="showInput">+ 分组</el-button><commit_msg>#668 作业批量分组优化<commit_after><template>
    <el-dialog title="作业批量分组" v-loading="loading" element-loading-text="请稍等···" :visible.sync="isVisible" :before-close="closeDialog">
        <el-form label-width="140px">
            <input type="text" v-show="false" />
            <el-form-item label="作业名称" prop="jobName">
                <el-col :span="18">
                    <el-tag type="success" class="form-tags" v-for="item in jobGroups" :key="item.jobName">{{item.jobName}}</el-tag>
                </el-col>
            </el-form-item>
            <el-form-item prop="groups" label="共同分组">
                <div slot="label">
                    <span>共同分组</span>
                    <el-tooltip placement="top" content="输入共同分组后回车产生分组标签，最后点击确定按钮保存" effect="light" popper-class="allocation-popper">
                        <i class="fa fa-question-circle"></i>
                    </el-tooltip>
                </div>
                <el-tag
                    :key="group"
                    v-for="group in groups"
                    type="primary"
                    closable
                    :disable-transitions="false"
                    style="margin: 0 3px 3px 0;"
                    @close="handleDeleteGroup(group)">
                    {{group}}
                </el-tag>
                <el-autocomplete
                    v-if="inputGroupVisible"
                    v-model="groupSelected"
                    ref="saveGroupInput"
                    :fetch-suggestions="querySearchGroups"
                    placeholder="请添加或选择分组"
                    @select="handleInputGroup"
                    @keyup.enter.native="handleInputGroup"
                >
                </el-autocomplete>
                <el-button v-else size="small" @click="showInput">+ 分组</el-button>
{'fraction_non_alphanumeric': 0.13883792048929663, 'fraction_numerical': 0.006422018348623854, 'mean_word_length': 1.3963369963369963, 'pattern_counts': {'":': 0, '<': 45, '<?xml version=': 0, '>': 45, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3403462', 'n_tokens_mistral': 985, 'n_tokens_neox': 930, 'n_words': 131}