zydx-plus 1.35.558 → 1.35.560
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 +1 -1
- package/src/components/biz_header/src/button_name.js +34 -34
- package/src/components/chat/src/chat.vue +1 -1
- package/src/components/data_table/src/table_row.vue +3 -3
- package/src/components/editor/src/editor.vue +6 -6
- package/src/components/editor2/src/editor.vue +7 -3
- package/src/components/sketchpad/src/sketchpad.vue +10 -1
- package/src/index.js +1 -1
package/package.json
CHANGED
|
@@ -27,12 +27,12 @@ let buttonNames = {
|
|
|
27
27
|
headLevel: {
|
|
28
28
|
default: "demand",
|
|
29
29
|
demand: '学习要求',
|
|
30
|
-
singletonClass: this.getCurrentPrefix(item) + '
|
|
30
|
+
singletonClass: this.getCurrentPrefix(item) + '任务',
|
|
31
31
|
allClass: this.getPrefix(item) + '情况',
|
|
32
32
|
},
|
|
33
33
|
otherLevel: {
|
|
34
34
|
default: "singletonClass",
|
|
35
|
-
singletonClass: this.getCurrentPrefix(item) + '
|
|
35
|
+
singletonClass: this.getCurrentPrefix(item) + '任务',
|
|
36
36
|
allClass: this.getPrefix(item) + '情况'
|
|
37
37
|
},
|
|
38
38
|
lowLevel: {
|
|
@@ -46,12 +46,12 @@ let buttonNames = {
|
|
|
46
46
|
2: {
|
|
47
47
|
headLevel: {
|
|
48
48
|
default: "singletonClass",
|
|
49
|
-
singletonClass: this.getCurrentPrefix(item) + '
|
|
49
|
+
singletonClass: this.getCurrentPrefix(item) + '任务',
|
|
50
50
|
allClass: this.getPrefix(item) + '情况',
|
|
51
51
|
},
|
|
52
52
|
otherLevel: {
|
|
53
53
|
default: "singletonClass",
|
|
54
|
-
singletonClass: this.getCurrentPrefix(item) + '
|
|
54
|
+
singletonClass: this.getCurrentPrefix(item) + '任务',
|
|
55
55
|
allClass: this.getPrefix(item) + '情况',
|
|
56
56
|
},
|
|
57
57
|
lowLevel: {
|
|
@@ -115,19 +115,19 @@ let buttonNames = {
|
|
|
115
115
|
headLevel: {
|
|
116
116
|
default: "demand",
|
|
117
117
|
demand: '调查要求',
|
|
118
|
-
quest:'全课试题',
|
|
118
|
+
quest: '全课试题',
|
|
119
119
|
singletonClass: this.getCurrentPrefix(item) + '调查'
|
|
120
120
|
},
|
|
121
121
|
otherLevel: {
|
|
122
122
|
default: "singletonClass",
|
|
123
|
-
quest:'全章试题',
|
|
123
|
+
quest: '全章试题',
|
|
124
124
|
singletonClass: this.getCurrentPrefix(item) + '调查'
|
|
125
125
|
},
|
|
126
126
|
lowLevel: {
|
|
127
127
|
default: "singletonClass",
|
|
128
|
-
quest:'全节试题',
|
|
128
|
+
quest: '全节试题',
|
|
129
129
|
singletonClass: this.getCurrentPrefix(item) + '调查'
|
|
130
|
-
}
|
|
130
|
+
}
|
|
131
131
|
},
|
|
132
132
|
2: {
|
|
133
133
|
headLevel: {
|
|
@@ -1010,12 +1010,12 @@ let buttonNames = {
|
|
|
1010
1010
|
headLevel: {
|
|
1011
1011
|
default: "demand",
|
|
1012
1012
|
demand: '实践要求',
|
|
1013
|
-
singletonClass: this.getCurrentPrefix(item) + '
|
|
1013
|
+
singletonClass: this.getCurrentPrefix(item) + '任务',
|
|
1014
1014
|
allClass: this.getPrefix(item) + '情况',
|
|
1015
1015
|
},
|
|
1016
1016
|
otherLevel: {
|
|
1017
1017
|
default: "singletonClass",
|
|
1018
|
-
singletonClass: this.getCurrentPrefix(item) + '
|
|
1018
|
+
singletonClass: this.getCurrentPrefix(item) + '任务',
|
|
1019
1019
|
allClass: this.getPrefix(item) + '情况',
|
|
1020
1020
|
},
|
|
1021
1021
|
lowLevel: {
|
|
@@ -1029,12 +1029,12 @@ let buttonNames = {
|
|
|
1029
1029
|
2: {
|
|
1030
1030
|
headLevel: {
|
|
1031
1031
|
default: "singletonClass",
|
|
1032
|
-
singletonClass: this.getCurrentPrefix(item) + '
|
|
1032
|
+
singletonClass: this.getCurrentPrefix(item) + '任务',
|
|
1033
1033
|
allClass: this.getPrefix(item) + '情况',
|
|
1034
1034
|
},
|
|
1035
1035
|
otherLevel: {
|
|
1036
1036
|
default: "singletonClass",
|
|
1037
|
-
singletonClass: this.getCurrentPrefix(item) + '
|
|
1037
|
+
singletonClass: this.getCurrentPrefix(item) + '任务',
|
|
1038
1038
|
allClass: this.getPrefix(item) + '情况',
|
|
1039
1039
|
},
|
|
1040
1040
|
lowLevel: {
|
|
@@ -1054,12 +1054,12 @@ let buttonNames = {
|
|
|
1054
1054
|
headLevel: {
|
|
1055
1055
|
default: "demand",
|
|
1056
1056
|
demand: '创新要求',
|
|
1057
|
-
singletonClass: this.getCurrentPrefix(item) + '
|
|
1057
|
+
singletonClass: this.getCurrentPrefix(item) + '任务',
|
|
1058
1058
|
allClass: this.getPrefix(item) + '情况',
|
|
1059
1059
|
},
|
|
1060
1060
|
otherLevel: {
|
|
1061
1061
|
default: "singletonClass",
|
|
1062
|
-
singletonClass: this.getCurrentPrefix(item) + '
|
|
1062
|
+
singletonClass: this.getCurrentPrefix(item) + '任务',
|
|
1063
1063
|
allClass: this.getPrefix(item) + '情况',
|
|
1064
1064
|
},
|
|
1065
1065
|
lowLevel: {
|
|
@@ -1074,12 +1074,12 @@ let buttonNames = {
|
|
|
1074
1074
|
2: {
|
|
1075
1075
|
headLevel: {
|
|
1076
1076
|
default: "singletonClass",
|
|
1077
|
-
singletonClass: this.getCurrentPrefix(item) + '
|
|
1077
|
+
singletonClass: this.getCurrentPrefix(item) + '任务',
|
|
1078
1078
|
allClass: this.getPrefix(item) + '情况',
|
|
1079
1079
|
},
|
|
1080
1080
|
otherLevel: {
|
|
1081
1081
|
default: "singletonClass",
|
|
1082
|
-
singletonClass: this.getCurrentPrefix(item) + '
|
|
1082
|
+
singletonClass: this.getCurrentPrefix(item) + '任务',
|
|
1083
1083
|
allClass: this.getPrefix(item) + '情况',
|
|
1084
1084
|
},
|
|
1085
1085
|
lowLevel: {
|
|
@@ -1245,12 +1245,12 @@ let buttonNames = {
|
|
|
1245
1245
|
headLevel: {
|
|
1246
1246
|
default: "demand",
|
|
1247
1247
|
demand: '项目要求',
|
|
1248
|
-
singletonClass: this.getCurrentPrefix(item) + '
|
|
1248
|
+
singletonClass: this.getCurrentPrefix(item) + '任务',
|
|
1249
1249
|
allClass: this.getPrefix(item) + '情况',
|
|
1250
1250
|
},
|
|
1251
1251
|
otherLevel: {
|
|
1252
1252
|
default: "singletonClass",
|
|
1253
|
-
singletonClass: this.getCurrentPrefix(item) + '
|
|
1253
|
+
singletonClass: this.getCurrentPrefix(item) + '任务',
|
|
1254
1254
|
allClass: this.getPrefix(item) + '情况',
|
|
1255
1255
|
},
|
|
1256
1256
|
lowLevel: {
|
|
@@ -1264,12 +1264,12 @@ let buttonNames = {
|
|
|
1264
1264
|
2: {
|
|
1265
1265
|
headLevel: {
|
|
1266
1266
|
default: "singletonClass",
|
|
1267
|
-
singletonClass: this.getCurrentPrefix(item) + '
|
|
1267
|
+
singletonClass: this.getCurrentPrefix(item) + '任务',
|
|
1268
1268
|
allClass: this.getPrefix(item) + '情况',
|
|
1269
1269
|
},
|
|
1270
1270
|
otherLevel: {
|
|
1271
1271
|
default: "singletonClass",
|
|
1272
|
-
singletonClass: this.getCurrentPrefix(item) + '
|
|
1272
|
+
singletonClass: this.getCurrentPrefix(item) + '任务',
|
|
1273
1273
|
allClass: this.getPrefix(item) + '情况',
|
|
1274
1274
|
},
|
|
1275
1275
|
lowLevel: {
|
|
@@ -1289,12 +1289,12 @@ let buttonNames = {
|
|
|
1289
1289
|
headLevel: {
|
|
1290
1290
|
default: "demand",
|
|
1291
1291
|
demand: '实验要求',
|
|
1292
|
-
singletonClass: this.getCurrentPrefix(item) + '
|
|
1292
|
+
singletonClass: this.getCurrentPrefix(item) + '任务',
|
|
1293
1293
|
allClass: this.getPrefix(item) + '情况',
|
|
1294
1294
|
},
|
|
1295
1295
|
otherLevel: {
|
|
1296
1296
|
default: "singletonClass",
|
|
1297
|
-
singletonClass: this.getCurrentPrefix(item) + '
|
|
1297
|
+
singletonClass: this.getCurrentPrefix(item) + '任务',
|
|
1298
1298
|
allClass: this.getPrefix(item) + '情况',
|
|
1299
1299
|
},
|
|
1300
1300
|
lowLevel: {
|
|
@@ -1309,12 +1309,12 @@ let buttonNames = {
|
|
|
1309
1309
|
headLevel: {
|
|
1310
1310
|
default: "demand",
|
|
1311
1311
|
demand: '实验要求',
|
|
1312
|
-
singletonClass: this.getCurrentPrefix(item) + '
|
|
1312
|
+
singletonClass: this.getCurrentPrefix(item) + '任务',
|
|
1313
1313
|
allClass: this.getPrefix(item) + '情况',
|
|
1314
1314
|
},
|
|
1315
1315
|
otherLevel: {
|
|
1316
1316
|
default: "singletonClass",
|
|
1317
|
-
singletonClass: this.getCurrentPrefix(item) + '
|
|
1317
|
+
singletonClass: this.getCurrentPrefix(item) + '任务',
|
|
1318
1318
|
allClass: this.getPrefix(item) + '情况',
|
|
1319
1319
|
},
|
|
1320
1320
|
lowLevel: {
|
|
@@ -1759,12 +1759,12 @@ let buttonNames = {
|
|
|
1759
1759
|
headLevel: {
|
|
1760
1760
|
default: "demand",
|
|
1761
1761
|
demand: '学习要求',
|
|
1762
|
-
singletonClass: this.getCurrentPrefix(item) + '
|
|
1762
|
+
singletonClass: this.getCurrentPrefix(item) + '任务',
|
|
1763
1763
|
allClass: this.getPrefix(item) + '情况',
|
|
1764
1764
|
},
|
|
1765
1765
|
otherLevel: {
|
|
1766
1766
|
default: "singletonClass",
|
|
1767
|
-
singletonClass: this.getCurrentPrefix(item) + '
|
|
1767
|
+
singletonClass: this.getCurrentPrefix(item) + '任务',
|
|
1768
1768
|
allClass: this.getPrefix(item) + '情况',
|
|
1769
1769
|
},
|
|
1770
1770
|
lowLevel: {
|
|
@@ -1938,12 +1938,12 @@ let buttonNames = {
|
|
|
1938
1938
|
headLevel: {
|
|
1939
1939
|
default: "demand",
|
|
1940
1940
|
demand: '实践要求',
|
|
1941
|
-
singletonClass: this.getCurrentPrefix(item) + '
|
|
1941
|
+
singletonClass: this.getCurrentPrefix(item) + '任务',
|
|
1942
1942
|
allClass: this.getPrefix(item) + '情况',
|
|
1943
1943
|
},
|
|
1944
1944
|
otherLevel: {
|
|
1945
1945
|
default: "singletonClass",
|
|
1946
|
-
singletonClass: this.getCurrentPrefix(item) + '
|
|
1946
|
+
singletonClass: this.getCurrentPrefix(item) + '任务',
|
|
1947
1947
|
allClass: this.getPrefix(item) + '情况',
|
|
1948
1948
|
},
|
|
1949
1949
|
lowLevel: {
|
|
@@ -1963,12 +1963,12 @@ let buttonNames = {
|
|
|
1963
1963
|
headLevel: {
|
|
1964
1964
|
default: "demand",
|
|
1965
1965
|
demand: '创新要求',
|
|
1966
|
-
singletonClass: this.getCurrentPrefix(item) + '
|
|
1966
|
+
singletonClass: this.getCurrentPrefix(item) + '任务',
|
|
1967
1967
|
allClass: this.getPrefix(item) + '情况',
|
|
1968
1968
|
},
|
|
1969
1969
|
otherLevel: {
|
|
1970
1970
|
default: "singletonClass",
|
|
1971
|
-
singletonClass: this.getCurrentPrefix(item) + '
|
|
1971
|
+
singletonClass: this.getCurrentPrefix(item) + '任务',
|
|
1972
1972
|
allClass: this.getPrefix(item) + '情况',
|
|
1973
1973
|
},
|
|
1974
1974
|
lowLevel: {
|
|
@@ -2083,12 +2083,12 @@ let buttonNames = {
|
|
|
2083
2083
|
headLevel: {
|
|
2084
2084
|
default: "demand",
|
|
2085
2085
|
demand: '项目要求',
|
|
2086
|
-
singletonClass: this.getCurrentPrefix(item) + '
|
|
2086
|
+
singletonClass: this.getCurrentPrefix(item) + '任务',
|
|
2087
2087
|
allClass: this.getPrefix(item) + '情况',
|
|
2088
2088
|
},
|
|
2089
2089
|
otherLevel: {
|
|
2090
2090
|
default: "singletonClass",
|
|
2091
|
-
singletonClass: this.getCurrentPrefix(item) + '
|
|
2091
|
+
singletonClass: this.getCurrentPrefix(item) + '任务',
|
|
2092
2092
|
allClass: this.getPrefix(item) + '情况',
|
|
2093
2093
|
},
|
|
2094
2094
|
lowLevel: {
|
|
@@ -2108,12 +2108,12 @@ let buttonNames = {
|
|
|
2108
2108
|
headLevel: {
|
|
2109
2109
|
default: "demand",
|
|
2110
2110
|
demand: '实验要求',
|
|
2111
|
-
singletonClass: this.getCurrentPrefix(item) + '
|
|
2111
|
+
singletonClass: this.getCurrentPrefix(item) + '任务',
|
|
2112
2112
|
allClass: this.getPrefix(item) + '情况',
|
|
2113
2113
|
},
|
|
2114
2114
|
otherLevel: {
|
|
2115
2115
|
default: "singletonClass",
|
|
2116
|
-
singletonClass: this.getCurrentPrefix(item) + '
|
|
2116
|
+
singletonClass: this.getCurrentPrefix(item) + '任务',
|
|
2117
2117
|
allClass: this.getPrefix(item) + '情况',
|
|
2118
2118
|
},
|
|
2119
2119
|
lowLevel: {
|
|
@@ -122,14 +122,14 @@ export default defineComponent({
|
|
|
122
122
|
<style scoped>
|
|
123
123
|
.checkbox_container {
|
|
124
124
|
height: 30px;
|
|
125
|
-
display: flex;
|
|
126
125
|
align-items: center;
|
|
127
|
-
|
|
126
|
+
/*display: flex;
|
|
127
|
+
justify-content: center;*/
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
.table_cell {
|
|
131
131
|
text-align: center;
|
|
132
|
-
line-height:
|
|
132
|
+
line-height: 1;
|
|
133
133
|
font-size: 14px;
|
|
134
134
|
}
|
|
135
135
|
|
|
@@ -83,9 +83,9 @@
|
|
|
83
83
|
<editor-content ref="editing-cont" :editor="editor" class="editing-cont" @click.stop="editorContentClick"
|
|
84
84
|
@paste.native.capture.prevent="preventPaste"></editor-content>
|
|
85
85
|
<div class="menu">
|
|
86
|
-
<button v-if="readOnly" class="but" @click="enlSee"
|
|
87
|
-
<button v-if="readOnly" class="but" @click="enlDownload"
|
|
88
|
-
<button v-if="!readOnly" class="but" @click="enlDel"
|
|
86
|
+
<button v-if="readOnly" class="but" @click="enlSee">查看附件</button>
|
|
87
|
+
<button v-if="readOnly" class="but" @click="enlDownload">下载附件</button>
|
|
88
|
+
<button v-if="!readOnly" class="but" @click="enlDel">删除附件</button>
|
|
89
89
|
</div>
|
|
90
90
|
</div>
|
|
91
91
|
</div>
|
|
@@ -95,9 +95,9 @@
|
|
|
95
95
|
</div>
|
|
96
96
|
|
|
97
97
|
<div v-if="menus&&readOnly" :style="menusStyle" class="menus">
|
|
98
|
-
<button v-if="readOnly" class="but" @click="enlSee"
|
|
99
|
-
<button v-if="readOnly" class="but" @click="enlDownload"
|
|
100
|
-
<button v-if="!readOnly" class="but" @click="enlDel"
|
|
98
|
+
<button v-if="readOnly" class="but" @click="enlSee">查看附件</button>
|
|
99
|
+
<button v-if="readOnly" class="but" @click="enlDownload">下载附件</button>
|
|
100
|
+
<button v-if="!readOnly" class="but" @click="enlDel">删除附件</button>
|
|
101
101
|
</div>
|
|
102
102
|
|
|
103
103
|
<div v-if="menuOne&&readOnly" ref="bubbleMenuReadOnly" :style="menusStyle" class="menu-one">
|
|
@@ -104,10 +104,10 @@
|
|
|
104
104
|
</div>
|
|
105
105
|
<div class="enclosure-item en-but">
|
|
106
106
|
<div style="display: inline-block; height: 21px;">
|
|
107
|
-
<button class="buts but-f" v-if="!item.name" @click="see(index)"
|
|
108
|
-
<button class="buts but-f" v-if="!item.name&&downloadShow" @click="download(index)"
|
|
107
|
+
<button class="buts but-f" v-if="!item.name" @click="see(index)">{{downName[0] || '查看附件'}}</button>
|
|
108
|
+
<button class="buts but-f" v-if="!item.name&&downloadShow" @click="download(index)">{{downName[1] || '下载附件'}}</button>
|
|
109
109
|
<button class="buts but-f" v-if="delShow" @click="del(index)">
|
|
110
|
-
<span v-if="item.active"
|
|
110
|
+
<span v-if="item.active">{{downName[2] || '删除附件'}}</span>
|
|
111
111
|
<svg v-else xmlns="http://www.w3.org/2000/svg"
|
|
112
112
|
width="14"
|
|
113
113
|
height="14"
|
|
@@ -347,6 +347,10 @@ export default {
|
|
|
347
347
|
updateStatus: {
|
|
348
348
|
type: Boolean,
|
|
349
349
|
default: false
|
|
350
|
+
},
|
|
351
|
+
downName: {
|
|
352
|
+
type: Array,
|
|
353
|
+
default: []
|
|
350
354
|
}
|
|
351
355
|
},
|
|
352
356
|
emits: ['see', 'del', 'complete', 'update:data', 'enclosureSuccess', 'download', 'updateData'],
|
|
@@ -118,7 +118,7 @@ export default {
|
|
|
118
118
|
onMount: this.handleMountedEditor,
|
|
119
119
|
hideUi: true, // 隐藏UI
|
|
120
120
|
// persistenceKey: "example111" // 持久化名字
|
|
121
|
-
autoFocus:
|
|
121
|
+
autoFocus: false, // 聚焦
|
|
122
122
|
}, null))
|
|
123
123
|
},
|
|
124
124
|
methods: {
|
|
@@ -179,6 +179,15 @@ export default {
|
|
|
179
179
|
editorAPP.updateInstanceState({ isToolLocked: this.isToolLocked })
|
|
180
180
|
if (this.top) {
|
|
181
181
|
setTimeout(() => {
|
|
182
|
+
let width = JSON.parse(JSON.stringify(document.body.offsetWidth))
|
|
183
|
+
let body = document.body
|
|
184
|
+
setTimeout(()=>{
|
|
185
|
+
body.style.width = (width-1) +'px'
|
|
186
|
+
setTimeout(()=>{
|
|
187
|
+
width = JSON.parse(JSON.stringify(body.offsetWidth))
|
|
188
|
+
body.style.width = (width+1) +'px'
|
|
189
|
+
},500)
|
|
190
|
+
},500)
|
|
182
191
|
document.documentElement.scrollTop = 0
|
|
183
192
|
}, 0)
|
|
184
193
|
}
|