8/10 新增删除账单功能,收费分类-关联
This commit is contained in:
@@ -216,6 +216,7 @@ type HouseRentalFormType = HouseRentalSigningVO & {
|
||||
};
|
||||
|
||||
const initFormData: HouseRentalFormType = {
|
||||
contractName: '',
|
||||
'createTime': undefined,
|
||||
'id': undefined,
|
||||
'rentalId': undefined,
|
||||
@@ -290,7 +291,7 @@ const data = reactive<PageData<HouseRentalFormType, HouseRentalQuery>>({
|
||||
|
||||
const { queryParams, form, rules } = toRefs(data);
|
||||
|
||||
/** 查询房屋租赁管理列表╬₧2╬╬ */
|
||||
/** 查询房屋租赁管理列表 */
|
||||
const getList = async () => {
|
||||
loading.value = true;
|
||||
listHouseRental(queryParams.value)
|
||||
@@ -402,10 +403,11 @@ function sign(row: HouseRentalVO) {
|
||||
form.value.villageId = info.villageId;
|
||||
form.value.rentalId = row.id;
|
||||
if (row.signingList && row.signingList.length > 0) {
|
||||
const names = row.signingList[0].contractName ? row.signingList[0].contractName.split(',') : [];
|
||||
showImgList.value = row.signingList[0].contractUrl.split(',').map((item, index) => {
|
||||
return {
|
||||
uid: index,
|
||||
name: item.split('.com/')[1].split('/')[3],
|
||||
name: names[index] || item.split('.com/')[1].split('/')[3],
|
||||
url: item,
|
||||
isLink: true
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user