|
|
@@ -26,7 +26,7 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
<div style="display: flex; height: 100%; justify-content: space-between">
|
|
|
- <div class="form-box">
|
|
|
+ <div class="form-box" :style="fmStyle">
|
|
|
<fm-generate-form
|
|
|
v-if="Object.keys(form?.formJson || {}).length !== 0"
|
|
|
:data="jsonData"
|
|
|
@@ -164,7 +164,7 @@
|
|
|
</span>
|
|
|
<span style="writing-mode: vertical-rl">选择流程</span>
|
|
|
</div>
|
|
|
- <div style="flex: 1" v-if="isRight">
|
|
|
+ <div style="flex: 1;" v-if="isRight">
|
|
|
<Detail :view="true" :id="form.id" ref="formDetailDialogRef"></Detail>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -232,13 +232,22 @@ export default {
|
|
|
modelWidth() {
|
|
|
let width =
|
|
|
this.jsonData.config?.platform && this.jsonData.config.platform === 'pc'
|
|
|
- ? 1100
|
|
|
+ ? 900
|
|
|
: 450;
|
|
|
if (this.isRight) {
|
|
|
- return width + 750 + 'px';
|
|
|
+ return width + 650 + 'px';
|
|
|
} else {
|
|
|
return width + 'px';
|
|
|
}
|
|
|
+ },
|
|
|
+ fmStyle() {
|
|
|
+ let width =
|
|
|
+ this.jsonData.config?.platform && this.jsonData.config.platform === 'pc'
|
|
|
+ ? 900
|
|
|
+ : 450;
|
|
|
+ return {
|
|
|
+ width: width + 'px'
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
methods: {
|