|
|
|
@ -100,6 +100,16 @@ |
|
|
|
|
<span v-else-if="item.form?.component == 'DatePicker'"> |
|
|
|
|
{{ formatDate(row[item.field]) }} |
|
|
|
|
</span> |
|
|
|
|
<div v-else-if="item.form?.component == 'UploadImg'"> |
|
|
|
|
<el-image |
|
|
|
|
v-if="row[item.field]" |
|
|
|
|
:src="row[item.field]" |
|
|
|
|
preview-teleported |
|
|
|
|
:lazy="true" |
|
|
|
|
:preview-src-list="[row[item.field]]" |
|
|
|
|
/> |
|
|
|
|
<!-- <img v-if="row[item.field]" :src="row[item.field]" style="width: 100%; height: 100%" /> --> |
|
|
|
|
</div> |
|
|
|
|
<span v-else>{{ row[item.field] }}</span> |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
@ -150,6 +160,7 @@ |
|
|
|
|
type="primary" |
|
|
|
|
class="mr-10px" |
|
|
|
|
link |
|
|
|
|
:disabled="scope.row.isCommissioned != '未发放'" |
|
|
|
|
style="padding: 0; margin-left: 0" |
|
|
|
|
v-hasPermi="['clue:pool:enroll']" |
|
|
|
|
@click="cancelDeal(scope.row)" |
|
|
|
@ -240,6 +251,11 @@ async function getTableList() { |
|
|
|
|
pageNo: tableObject.value.pageNo, |
|
|
|
|
pageSize: tableObject.value.pageSize |
|
|
|
|
} |
|
|
|
|
searchFieldList.value.map((it) => { |
|
|
|
|
if (params[it.field]) { |
|
|
|
|
params.diyParams[it.field] = params[it.field] |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
const data = await SignApi.getSignPage(removeNullField(params)) |
|
|
|
|
tableObject.value.tableList = data.list.map((it) => ({ ...it, ...it.diyParams })) |
|
|
|
|
tableObject.value.total = data.total |
|
|
|
@ -249,10 +265,12 @@ async function getTableList() { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
const loading = ref(true) |
|
|
|
|
const searchFieldList = ref([]) |
|
|
|
|
async function getCurdSchemas() { |
|
|
|
|
loading.value = true |
|
|
|
|
try { |
|
|
|
|
const data = await getSimpleFieldList() |
|
|
|
|
searchFieldList.value = data.filter((it) => it.isCustom) |
|
|
|
|
data.forEach((elem) => { |
|
|
|
|
if (['createUser'].includes(elem.field)) { |
|
|
|
|
elem.search.options = userOptions.value |
|
|
|
|