refactor(文书预览): 移除文书内容页签与 raw 渲染模式,统一走签署态预览
This commit is contained in:
@@ -35,8 +35,6 @@ const props = withDefaults(
|
||||
activeTab?: string
|
||||
/** 正文(模板定稿 / 任务固化快照) */
|
||||
contentHtml: string
|
||||
/** 渲染模式,透传给 DocumentPaper */
|
||||
mode?: 'signing' | 'raw'
|
||||
data?: SigningDocumentData
|
||||
interactive?: boolean
|
||||
signatureActionable?: boolean
|
||||
@@ -71,7 +69,6 @@ const props = withDefaults(
|
||||
badges: () => [],
|
||||
tabs: undefined,
|
||||
activeTab: '',
|
||||
mode: 'signing',
|
||||
data: () => ({}),
|
||||
interactive: false,
|
||||
signatureActionable: undefined,
|
||||
@@ -168,7 +165,6 @@ defineExpose({ getDocumentElement })
|
||||
v-if="hasPaper"
|
||||
ref="paperRef"
|
||||
:content-html="contentHtml"
|
||||
:mode="mode"
|
||||
:data="data"
|
||||
:interactive="interactive"
|
||||
:signature-actionable="signatureActionable"
|
||||
@@ -362,14 +358,6 @@ defineExpose({ getDocumentElement })
|
||||
box-shadow: 0 6px 22px rgb(0 0 0 / 45%);
|
||||
}
|
||||
|
||||
/* 深灰底上纸要自己撑满高度,否则短文书会缩成一条 */
|
||||
.preview-body--stage :deep(.doc-paper-frame) {
|
||||
width: 640px;
|
||||
max-width: 100%;
|
||||
height: 905px;
|
||||
box-shadow: 0 6px 22px rgb(0 0 0 / 45%);
|
||||
}
|
||||
|
||||
.preview-state {
|
||||
display: grid;
|
||||
min-height: 420px;
|
||||
|
||||
Reference in New Issue
Block a user