zydx-plus 1.35.538 → 1.35.539

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zydx-plus",
3
- "version": "1.35.538",
3
+ "version": "1.35.539",
4
4
  "description": "Vue.js",
5
5
  "main": "src/index.js",
6
6
  "files": [
@@ -2955,12 +2955,18 @@ let buttonNames = {
2955
2955
  resource_checktime: {
2956
2956
  actionName: '考勤资源',
2957
2957
  buttonList: {
2958
+ // 0: {
2959
+ // headLevel: {
2960
+ // default: "demand",
2961
+ // demand: '考勤要求',
2962
+ // actionAnalysis: '考勤评析',
2963
+ // // qualityAnalysis: '素养评析'
2964
+ // }
2965
+ // },
2958
2966
  0: {
2959
2967
  headLevel: {
2960
- default: "demand",
2961
- demand: '考勤要求',
2962
- actionAnalysis: '考勤评析',
2963
- // qualityAnalysis: '素养评析'
2968
+ default: "pipeGuideAnalysis",
2969
+ pipeGuideAnalysis: '管导评析'
2964
2970
  }
2965
2971
  }
2966
2972
  }
@@ -24,7 +24,7 @@ const num = {
24
24
  export function butJson(editor, data) {
25
25
  return {
26
26
  switchingFormat: {
27
- name: '切换版式',
27
+ name: '选择版式',
28
28
  key: 'switchingFormat',
29
29
  menuKeys: [
30
30
  {
@@ -2136,7 +2136,7 @@ export default {
2136
2136
  readOnlyPage() { // 只读分页
2137
2137
  this.$nextTick(() => {
2138
2138
  this.htmlArr = []
2139
- const data = this.$refs['editing-cont'].$el.childNodes[0]?.childNodes//document.querySelectorAll('.editing-cont')[0]?.childNodes[0]?.childNodes
2139
+ const data = this.$refs['editing-cont']?.$el?.childNodes[0]?.childNodes//document.querySelectorAll('.editing-cont')[0]?.childNodes[0]?.childNodes
2140
2140
  this.wit = this.$refs['read-only'].offsetWidth//document.getElementsByClassName('read-only')[0]?.offsetWidth + 20
2141
2141
  if (this.wit > 900) {
2142
2142
  this.$refs['read-only'].style.width = '900px'
@@ -4351,7 +4351,7 @@ export default {
4351
4351
  if (element) {
4352
4352
  if (this.readOnly) {
4353
4353
  let bodys = document.querySelector(`.z-editor`)
4354
- bodys.scrollTop = element.offsetTop
4354
+ bodys.scrollTop = element.offsetTop + 100
4355
4355
  } else {
4356
4356
  let bodys = document.querySelector(`.editor-content`)
4357
4357
  bodys.scrollTop = element.offsetTop + 70
@@ -308,6 +308,12 @@ export default {
308
308
  this.cancelResizeObserver()
309
309
  },
310
310
  methods: {
311
+ pointsAdd(v) {
312
+ this.points.push(v)
313
+ },
314
+ getPage() {
315
+ return this.pageIndex
316
+ },
311
317
  mouseUpTest(){
312
318
  if (this.isDrawing || this.checkDrawing) this.mouseUp()
313
319
  this.textMoveStart = false
package/src/index.js CHANGED
@@ -89,7 +89,7 @@ function install(app) {
89
89
  }
90
90
 
91
91
  export default {
92
- version: '1.35.538',
92
+ version: '1.35.539',
93
93
  install,
94
94
  Calendar,
95
95
  Message,