test.vue 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <template>
  2. <div>
  3. 1111111111
  4. <basic-container>
  5. 测试12
  6. <el-date-picker
  7. v-model="value1"
  8. type="datetime"
  9. value-format="yyyy-MM-dd HH:mm:ss"
  10. format="yyyy-MM-dd HH:mm:ss"
  11. placeholder="选择日期时间">
  12. </el-date-picker>
  13. </basic-container>
  14. </div>
  15. </template>
  16. <script>
  17. export default {
  18. data () {
  19. return {
  20. value1: '',
  21. // src: 'http://IP/web-apps/apps/api/documents/api.js',
  22. src: 'http://47.98.223.222:8090/web-apps/apps/api/documents/api.js',
  23. editorConfig: {
  24. document: {
  25. fileType: 'cell',
  26. key: 'key.docx',
  27. title: '测试.docx',
  28. url: 'https://bladex-test-info.oss-cn-chengdu.aliyuncs.com//upload/20220916/0cb657b0f5b70eeac8b8d5fbab86d00c.xlsx'
  29. },
  30. editorConfig: {
  31. callbackUrl: 'http://47.98.223.222:8090/web-apps/apps/api/v1/onlyoffice/callback'
  32. }
  33. }
  34. }
  35. },
  36. methods: {
  37. // 编辑器加载完毕后回调 ready 函数,editor 为当前编辑器实例
  38. onReady (editor) {}
  39. }
  40. }
  41. </script>
  42. <style scoped="scoped" lang="scss">
  43. </style>