修改样式
This commit is contained in:
parent
fcd42060c1
commit
e1ea3950b0
|
|
@ -23,7 +23,7 @@
|
||||||
</a-button>
|
</a-button>
|
||||||
</a-upload>
|
</a-upload>
|
||||||
<template v-if="bindProps.fileType=='pdf' && maxCount=='1'">
|
<template v-if="bindProps.fileType=='pdf' && maxCount=='1'">
|
||||||
<a style="border:1px solid #d9d9d9;width:60px;text-align:center;border-radius:4px;padding:2px 5px;" @click="handleView({url:getFileAccessHttpUrl(bindProps.value)})">
|
<a style="border:1px solid #d9d9d9;width:60px;text-align:center;border-radius:4px;padding:2px 5px;" class="force-clickable" disabled="false" @click="handleView({url:getFileAccessHttpUrl(bindProps.value)})">
|
||||||
<Icon icon="ant-design:search-outlined" style="color: rgb(140, 134, 134)" />
|
<Icon icon="ant-design:search-outlined" style="color: rgb(140, 134, 134)" />
|
||||||
<span class="ant-upload-text" style="color: rgb(140, 134, 134)" >预览</span>
|
<span class="ant-upload-text" style="color: rgb(140, 134, 134)" >预览</span>
|
||||||
</a>
|
</a>
|
||||||
|
|
@ -381,6 +381,7 @@
|
||||||
function handleView(record) {
|
function handleView(record) {
|
||||||
if (record && record.url) {
|
if (record && record.url) {
|
||||||
console.log('glob.onlineUrl', glob.viewUrl);
|
console.log('glob.onlineUrl', glob.viewUrl);
|
||||||
|
console.log('record.url', record.url);
|
||||||
let url = encodeURIComponent(encryptByBase64(record.url));
|
let url = encodeURIComponent(encryptByBase64(record.url));
|
||||||
let previewUrl = `${glob.viewUrl}?url=` + url;
|
let previewUrl = `${glob.viewUrl}?url=` + url;
|
||||||
window.open(previewUrl, '_blank');
|
window.open(previewUrl, '_blank');
|
||||||
|
|
@ -484,4 +485,9 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.force-clickable {
|
||||||
|
pointer-events: auto !important; /* 强行允许点击 */
|
||||||
|
opacity: 1 !important; /* 防止框架用透明度表示禁用 */
|
||||||
|
cursor: pointer !important;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
|
|
@ -65,7 +65,7 @@
|
||||||
<template #footer> <!-- 自定义底部内容 -->
|
<template #footer> <!-- 自定义底部内容 -->
|
||||||
<a-button @click="handleCshCancel">关闭</a-button>
|
<a-button @click="handleCshCancel">关闭</a-button>
|
||||||
</template>
|
</template>
|
||||||
<div style="height: 100px;text-align: center;">
|
<div style="height: 170px;text-align: center;overflow: hidden;">
|
||||||
<p style="margin-top:50px;">账号初始化成功!</p>
|
<p style="margin-top:50px;">账号初始化成功!</p>
|
||||||
<p>{{zhcshMessage}}</p>
|
<p>{{zhcshMessage}}</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -281,7 +281,7 @@ function getTableAction(record) {
|
||||||
// }
|
// }
|
||||||
// },
|
// },
|
||||||
{
|
{
|
||||||
label: '账户初始化',
|
label: '账号初始化',
|
||||||
onClick: handleInitAccount.bind(null, record),
|
onClick: handleInitAccount.bind(null, record),
|
||||||
auth: 'orgapplyinfo:nu_org_apply_info:edit',
|
auth: 'orgapplyinfo:nu_org_apply_info:edit',
|
||||||
ifShow: record.workOrderStatus == '2' && record.buildStatus == '4'
|
ifShow: record.workOrderStatus == '2' && record.buildStatus == '4'
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
<a-form ref="formRef" class="antd-modal-form" :labelCol="labelCol" :wrapperCol="wrapperCol"
|
<a-form ref="formRef" class="antd-modal-form" :labelCol="labelCol" :wrapperCol="wrapperCol"
|
||||||
name="OrgApplyInfoForm">
|
name="OrgApplyInfoForm">
|
||||||
|
|
||||||
<a-row class="card-class">
|
<a-row class="card-class" :disabled="disabled">
|
||||||
<a-col :span="24" style="border-bottom: 2px solid #f7f7f7; margin-bottom: 14px;">
|
<a-col :span="24" style="border-bottom: 2px solid #f7f7f7; margin-bottom: 14px;">
|
||||||
<SectionDivider :title="'机构信息'" />
|
<SectionDivider :title="'机构信息'" />
|
||||||
</a-col>
|
</a-col>
|
||||||
|
|
@ -217,10 +217,9 @@
|
||||||
:disabled="formData.status != '3'" allow-clear placeholder="请输入驳回原因"></a-textarea>
|
:disabled="formData.status != '3'" allow-clear placeholder="请输入驳回原因"></a-textarea>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :span="12" v-if="formData.auditBy">
|
<a-col :span="12" v-if="formData.auditBy_dictText">
|
||||||
<a-form-item label="审核人" v-bind="validateInfos.auditBy" id="OrgApplyInfoForm-auditBy">
|
<a-form-item label="审核人" v-bind="validateInfos.auditBy_dictText" id="OrgApplyInfoForm-auditBy_dictText">
|
||||||
<a-input v-model:value="formData.auditBy" disabled allow-clear></a-input>
|
<a-input v-model:value="formData.auditBy_dictText" disabled allow-clear></a-input>
|
||||||
<!-- {{ formData.auditBy }} -->
|
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :span="12" v-if="formData.auditBy">
|
<a-col :span="12" v-if="formData.auditBy">
|
||||||
|
|
@ -238,7 +237,7 @@
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :span="12" v-if="formData.contractNote">
|
<a-col :span="12" v-if="formData.contractNote">
|
||||||
<a-form-item label="备注信息" v-bind="validateInfos.contractNote" id="OrgApplyInfoForm-contractNote">
|
<a-form-item label="备注信息" v-bind="validateInfos.contractNote" id="OrgApplyInfoForm-contractNote">
|
||||||
<a-textarea v-model:value="formData.contractNote" :autosize="{ minRows: 1 }" maxlength="50" allow-clear
|
<a-textarea v-model:value="formData.contractNote" :autosize="{ minRows: 1 }" maxlength="50"
|
||||||
placeholder="请输入备注信息"></a-textarea>
|
placeholder="请输入备注信息"></a-textarea>
|
||||||
<!-- {{ formData.contractNote }} -->
|
<!-- {{ formData.contractNote }} -->
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
|
|
@ -367,6 +366,7 @@ const formData = reactive<Record<string, any>>({
|
||||||
workOrderStatus_dictText: '',
|
workOrderStatus_dictText: '',
|
||||||
auditBy: '',
|
auditBy: '',
|
||||||
auditTime: '',
|
auditTime: '',
|
||||||
|
auditBy_dictText:'',
|
||||||
|
|
||||||
});
|
});
|
||||||
const tempNullVal = ref('');
|
const tempNullVal = ref('');
|
||||||
|
|
|
||||||
|
|
@ -97,6 +97,7 @@ function handleContractCancel() {
|
||||||
*/
|
*/
|
||||||
function editContract(record) {
|
function editContract(record) {
|
||||||
contractVisible.value = true
|
contractVisible.value = true
|
||||||
|
title.value = '上传合同'
|
||||||
nextTick(() => {
|
nextTick(() => {
|
||||||
upContractForm.value.edit(record);
|
upContractForm.value.edit(record);
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue