|
|
|
@ -10,15 +10,13 @@ |
|
|
|
|
<el-table class="c-table" :data="form" max-height="calc(100vh - 230px)" :cell-style="{ background: '#fff' }" :span-method="span" border> |
|
|
|
|
<el-table-column prop="name" label="数据源" min-width="100" align="center"> </el-table-column> |
|
|
|
|
<el-table-column prop="rule" label="商采黑名单指标" min-width="150"> </el-table-column> |
|
|
|
|
<el-table-column label="进黑名单条件" width="540"> |
|
|
|
|
<el-table-column label="进黑名单条件" width="700"> |
|
|
|
|
<template #default="{ row, $index }"> |
|
|
|
|
<div v-if="$index < 4" class="flex items-center"> |
|
|
|
|
<span class="whitespace-nowrap">{{ row.rule }}</span> |
|
|
|
|
<div class="w-[95px]"> |
|
|
|
|
<el-select class="mx-2" clearable v-model="row.symbol"> |
|
|
|
|
<el-option v-for="item in symbols" :key="item" :label="item.name" :value="item.name" /> |
|
|
|
|
</el-select> |
|
|
|
|
</div> |
|
|
|
|
<el-select class="w-[95px] mx-2" clearable v-model="row.symbol"> |
|
|
|
|
<el-option v-for="item in symbols" :key="item" :label="item.name" :value="item.name" /> |
|
|
|
|
</el-select> |
|
|
|
|
<el-input class="w-[80px]" placeholder="请输入" v-model="row.num"></el-input> |
|
|
|
|
<span class="ml-2 whitespace-nowrap">。</span> |
|
|
|
|
</div> |
|
|
|
@ -26,61 +24,47 @@ |
|
|
|
|
<!-- 腾讯 --> |
|
|
|
|
<div v-else-if="$index === 14" class="flex items-center"> |
|
|
|
|
<span v-if="row.recordChildren" class="whitespace-nowrap">{{ row?.recordChildren[0]?.recordChildren[0]?.name }}</span> |
|
|
|
|
<div class="w-[95px]"> |
|
|
|
|
<el-select class="mx-2" clearable v-model="row.symbol"> |
|
|
|
|
<el-option v-for="item in symbols" :key="item" :label="item.name" :value="item.name" /> |
|
|
|
|
</el-select> |
|
|
|
|
</div> |
|
|
|
|
<el-select class="w-[95px] mx-2" clearable v-model="row.symbol"> |
|
|
|
|
<el-option v-for="item in symbols" :key="item" :label="item.name" :value="item.name" /> |
|
|
|
|
</el-select> |
|
|
|
|
<el-input class="w-[80px]" placeholder="请输入" v-model="row.num"></el-input> |
|
|
|
|
<span class="ml-2 whitespace-nowrap">,且</span> |
|
|
|
|
<div class="w-[120px]"> |
|
|
|
|
<el-select class="mx-2" clearable v-model="row.had"> |
|
|
|
|
<el-option v-for="item in house" :key="item" :label="item.name" :value="item.name" /> |
|
|
|
|
</el-select> |
|
|
|
|
</div> |
|
|
|
|
<el-select class="w-[120px] mx-2" clearable v-model="row.had"> |
|
|
|
|
<el-option v-for="item in house" :key="item" :label="item.name" :value="item.name" /> |
|
|
|
|
</el-select> |
|
|
|
|
<span class="ml-2 whitespace-nowrap">。</span> |
|
|
|
|
</div> |
|
|
|
|
<div v-else-if="$index === 15" class="flex items-center"> |
|
|
|
|
<el-input class="w-[80px]" placeholder="请输入" v-model="row.num"></el-input> |
|
|
|
|
<div class="w-[95px]"> |
|
|
|
|
<el-select class="mx-2" clearable v-model="row.symbol"> |
|
|
|
|
<el-option v-for="item in units" :key="item" :label="item.name" :value="item.name" /> |
|
|
|
|
</el-select> |
|
|
|
|
</div> |
|
|
|
|
<el-select class="w-[95px] mx-2" clearable v-model="row.symbol"> |
|
|
|
|
<el-option v-for="item in units" :key="item" :label="item.name" :value="item.name" /> |
|
|
|
|
</el-select> |
|
|
|
|
<span class="ml-2 whitespace-nowrap">内申请次数</span> |
|
|
|
|
<div class="w-[95px]"> |
|
|
|
|
<el-select class="mx-2" clearable v-model="row.symbol1"> |
|
|
|
|
<el-option v-for="item in symbols" :key="item" :label="item.name" :value="item.name" /> |
|
|
|
|
</el-select> |
|
|
|
|
</div> |
|
|
|
|
<el-select class="w-[95px] mx-2" clearable v-model="row.symbol1"> |
|
|
|
|
<el-option v-for="item in symbols" :key="item" :label="item.name" :value="item.name" /> |
|
|
|
|
</el-select> |
|
|
|
|
<el-input class="w-[80px]" placeholder="请输入" v-model="row.num1"></el-input> |
|
|
|
|
<span class="ml-2 whitespace-nowrap">,且</span> |
|
|
|
|
<div class="w-[120px]"> |
|
|
|
|
<el-select class="mx-2" clearable v-model="row.had"> |
|
|
|
|
<el-option v-for="item in house" :key="item" :label="item.name" :value="item.name" /> |
|
|
|
|
</el-select> |
|
|
|
|
</div> |
|
|
|
|
<el-select class="w-[120px] mx-2" clearable v-model="row.had"> |
|
|
|
|
<el-option v-for="item in house" :key="item" :label="item.name" :value="item.name" /> |
|
|
|
|
</el-select> |
|
|
|
|
<span class="ml-2 whitespace-nowrap">。</span> |
|
|
|
|
</div> |
|
|
|
|
<div v-else-if="$index === 18" class="w-[95px]"> |
|
|
|
|
<el-select v-if="row.recordChildren" clearable v-model="row.symbol"> |
|
|
|
|
<div v-else-if="$index === 18"> |
|
|
|
|
<el-select v-if="row.recordChildren" class="w-[95px]" clearable v-model="row.symbol"> |
|
|
|
|
<el-option v-for="item in row?.recordChildren[0]?.subject?.itemList" :key="item" :label="item.options" :value="item.options" /> |
|
|
|
|
</el-select> |
|
|
|
|
</div> |
|
|
|
|
<div v-else-if="$index > 19 && $index < 28" class="flex items-center"> |
|
|
|
|
<el-input class="w-[80px]" placeholder="请输入" v-model="row.num"></el-input> |
|
|
|
|
<div class="w-[95px]"> |
|
|
|
|
<el-select class="mx-2" clearable v-model="row.symbol"> |
|
|
|
|
<el-option v-for="item in units" :key="item" :label="item.name" :value="item.name" /> |
|
|
|
|
</el-select> |
|
|
|
|
</div> |
|
|
|
|
<el-select class="w-[95px] mx-2" clearable v-model="row.symbol"> |
|
|
|
|
<el-option v-for="item in units" :key="item" :label="item.name" :value="item.name" /> |
|
|
|
|
</el-select> |
|
|
|
|
<span class="ml-2 whitespace-nowrap">{{ tdNames[row.ruleId] }}</span> |
|
|
|
|
<template v-if="row.ruleId === 350"> |
|
|
|
|
<div class="w-[95px]"> |
|
|
|
|
<el-select class="mx-2" clearable v-model="row.symbol1"> |
|
|
|
|
<el-option v-for="item in symbols" :key="item" :label="item.name" :value="item.name" /> |
|
|
|
|
</el-select> |
|
|
|
|
</div> |
|
|
|
|
<el-select class="w-[95px] mx-2" clearable v-model="row.symbol1"> |
|
|
|
|
<el-option v-for="item in symbols" :key="item" :label="item.name" :value="item.name" /> |
|
|
|
|
</el-select> |
|
|
|
|
<el-input class="w-[80px]" placeholder="请输入" v-model="row.num1"></el-input> |
|
|
|
|
<span class="ml-2 whitespace-nowrap">。</span> |
|
|
|
|
</template> |
|
|
|
|