update 系统名称、样式修改;在线编辑挪到登录页面

This commit is contained in:
赵霄
2023-08-25 14:51:06 +08:00
parent 5d956fdaf7
commit 731e320a23
10 changed files with 107 additions and 54 deletions
+16 -1
View File
@@ -92,6 +92,17 @@
</a-col>
<a-col :span="3"></a-col>
</a-row>
<a-row class="login-btn">
<a-col :span="3"></a-col>
<a-col :span="18">
<a-form-item>
<a-button block size="large" type="primary" htmlType="submit" @click="editFileByOnlyOffice('')">
在线编辑
</a-button>
</a-form-item>
</a-col>
<a-col :span="3"></a-col>
</a-row>
</div>
</a-form>
<a-form v-if="mobile" :form="form" class="user-layout-login user-layout-login-mobile" ref="formLogin" id="formLogin">
@@ -186,6 +197,7 @@ import { postAction, getAction } from '@/api/manage'
import { getRSAPublicKey } from '@/utils/encryption.js'
import { JSEncrypt } from 'jsencrypt'
import onlyOfficeEdit from '@/common/onlyOffice/onlyOfficeEdit'
// const Base64 = require('js-base64').Base64
export default {
@@ -388,6 +400,9 @@ export default {
})
}
})
},
editFileByOnlyOffice (fileId) {
onlyOfficeEdit(fileId, '企业标准')
}
}
}
@@ -429,7 +444,7 @@ function isMobile () {
.user-layout-login{
z-index: 99;
width: 24%;
height: 56%;
height: 59%;
padding: 3% 0 3% 0;
min-width: 332px;
min-height: 460px;