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