zydx-plus 1.20.119 → 1.20.121

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.20.119",
3
+ "version": "1.20.121",
4
4
  "description": "Vue.js",
5
5
  "main": "src/index.js",
6
6
  "files": [
@@ -1812,18 +1812,18 @@ let buttonNames = {
1812
1812
  headLevel: {
1813
1813
  default: "demand",
1814
1814
  demand: '调查要求',
1815
- btnIndex1: '调查试题',
1815
+ resourceIndex: '调查试题',
1816
1816
  analyse: '调查分析',
1817
1817
  countermeasure: '教学对策'
1818
1818
  },
1819
1819
  otherLevel: {
1820
- default: "btnIndex2",
1821
- btnIndex2: this.getCurrentPrefix(item) + '试题',
1822
- btnIndex3: this.getPrefix(item) + '试题'
1820
+ default: "singletonClass",
1821
+ singletonClass: this.getCurrentPrefix(item) + '试题',
1822
+ allClass: this.getPrefix(item) + '试题'
1823
1823
  },
1824
1824
  lowLevel: {
1825
- default: "btnIndex2",
1826
- btnIndex2: this.getCurrentPrefix(item) + '试题'
1825
+ default: "singletonClass",
1826
+ singletonClass: this.getCurrentPrefix(item) + '试题',
1827
1827
  }
1828
1828
  }
1829
1829
  }
@@ -1835,17 +1835,18 @@ let buttonNames = {
1835
1835
  headLevel: {
1836
1836
  default: "demand",
1837
1837
  demand: '检测要求',
1838
- btnIndex1: '检测试题',
1838
+ resourceIndex: '检测试题',
1839
1839
  analyse: '检测分析',
1840
1840
  countermeasure: '教学对策'
1841
1841
  },
1842
1842
  otherLevel: {
1843
- default: "btnIndex1",
1844
- btnIndex1: '检测试题',
1843
+ default: "singletonClass",
1844
+ singletonClass: this.getCurrentPrefix(item) + '试题',
1845
+ allClass: this.getPrefix(item) + '试题'
1845
1846
  },
1846
1847
  lowLevel: {
1847
- default: "btnIndex1",
1848
- btnIndex1: '检测试题',
1848
+ default: "singletonClass",
1849
+ singletonClass: this.getCurrentPrefix(item) + '试题'
1849
1850
  }
1850
1851
  }
1851
1852
  }
@@ -1857,18 +1858,19 @@ let buttonNames = {
1857
1858
  headLevel: {
1858
1859
  default: "demand",
1859
1860
  demand: '思政要求',
1860
- btnIndex1: '思政项目',
1861
+ resourceIndex: '思政项目',
1861
1862
  review: '思政点评',
1862
1863
  analyse: '思政分析',
1863
1864
  countermeasure: '教学对策'
1864
1865
  },
1865
1866
  otherLevel: {
1866
- default: "btnIndex1",
1867
- btnIndex1: '思政项目',
1867
+ default: "singletonClass",
1868
+ singletonClass: this.getCurrentPrefix(item) + '主题',
1869
+ allClass: this.getPrefix(item) + '主题'
1868
1870
  },
1869
1871
  lowLevel: {
1870
- default: "btnIndex1",
1871
- btnIndex1: '思政项目',
1872
+ default: "singletonClass",
1873
+ singletonClass: this.getCurrentPrefix(item) + '主题'
1872
1874
  }
1873
1875
  }
1874
1876
  }
@@ -1894,18 +1896,19 @@ let buttonNames = {
1894
1896
  headLevel: {
1895
1897
  default: "demand",
1896
1898
  demand: '回答要求',
1897
- btnIndex1: '提问问题',
1899
+ resourceIndex: '提问问题',
1898
1900
  review: '回答点评',
1899
1901
  analyse: '回答分析',
1900
1902
  countermeasure: '教学对策'
1901
1903
  },
1902
1904
  otherLevel: {
1903
- default: "btnIndex1",
1904
- btnIndex1: '提问问题',
1905
+ default: "singletonClass",
1906
+ singletonClass: this.getCurrentPrefix(item) + '问题',
1907
+ allClass: this.getPrefix(item) + '问题'
1905
1908
  },
1906
1909
  lowLevel: {
1907
- default: "btnIndex1",
1908
- btnIndex1: '提问问题',
1910
+ default: "singletonClass",
1911
+ singletonClass: this.getCurrentPrefix(item) + '问题'
1909
1912
  }
1910
1913
  }
1911
1914
  }
@@ -1917,18 +1920,19 @@ let buttonNames = {
1917
1920
  headLevel: {
1918
1921
  default: "demand",
1919
1922
  demand: '提问要求',
1920
- btnIndex1: '虚拟提问',
1923
+ resourceIndex: '虚拟提问',
1921
1924
  review: '提问点评',
1922
1925
  analyse: '提问分析',
1923
1926
  countermeasure: '教学对策'
1924
1927
  },
1925
1928
  otherLevel: {
1926
- default: "btnIndex1",
1927
- btnIndex1: '虚拟提问',
1929
+ default: "singletonClass",
1930
+ singletonClass: this.getCurrentPrefix(item) + '提问',
1931
+ allClass: this.getPrefix(item) + '提问'
1928
1932
  },
1929
1933
  lowLevel: {
1930
- default: "btnIndex1",
1931
- btnIndex1: '虚拟提问',
1934
+ default: "singletonClass",
1935
+ singletonClass: this.getCurrentPrefix(item) + '提问'
1932
1936
  }
1933
1937
  }
1934
1938
  }
@@ -1954,18 +1958,19 @@ let buttonNames = {
1954
1958
  headLevel: {
1955
1959
  default: "demand",
1956
1960
  demand: '讨论要求',
1957
- btnIndex1: '讨论题目',
1961
+ resourceIndex: '讨论题目',
1958
1962
  review: '讨论点评',
1959
1963
  analyse: '讨论分析',
1960
1964
  countermeasure: '教学对策'
1961
1965
  },
1962
1966
  otherLevel: {
1963
- default: "btnIndex1",
1964
- btnIndex1: '讨论题目',
1967
+ default: "singletonClass",
1968
+ singletonClass: this.getCurrentPrefix(item) + '题目',
1969
+ allClass: this.getPrefix(item) + '题目'
1965
1970
  },
1966
1971
  lowLevel: {
1967
- default: "btnIndex1",
1968
- btnIndex1: '讨论题目',
1972
+ default: "singletonClass",
1973
+ singletonClass: this.getCurrentPrefix(item) + '题目'
1969
1974
  }
1970
1975
  }
1971
1976
  }
@@ -1977,18 +1982,19 @@ let buttonNames = {
1977
1982
  headLevel: {
1978
1983
  default: "demand",
1979
1984
  demand: '风暴要求',
1980
- btnIndex1: '风暴题目',
1985
+ resourceIndex: '风暴题目',
1981
1986
  review: '风暴点评',
1982
1987
  analyse: '风暴分析',
1983
1988
  countermeasure: '教学对策'
1984
1989
  },
1985
1990
  otherLevel: {
1986
- default: "btnIndex1",
1987
- btnIndex1: '风暴题目',
1991
+ default: "singletonClass",
1992
+ singletonClass: this.getCurrentPrefix(item) + '题目',
1993
+ allClass: this.getPrefix(item) + '题目'
1988
1994
  },
1989
1995
  lowLevel: {
1990
- default: "btnIndex1",
1991
- btnIndex1: '风暴题目',
1996
+ default: "singletonClass",
1997
+ singletonClass: this.getCurrentPrefix(item) + '题目'
1992
1998
  }
1993
1999
  }
1994
2000
  }
@@ -2000,17 +2006,18 @@ let buttonNames = {
2000
2006
  headLevel: {
2001
2007
  default: "demand",
2002
2008
  demand: '训练要求',
2003
- btnIndex1: '训练试题',
2009
+ resourceIndex: '训练试题',
2004
2010
  analyse: '训练分析',
2005
2011
  countermeasure: '教学对策'
2006
2012
  },
2007
2013
  otherLevel: {
2008
- default: "btnIndex1",
2009
- btnIndex1: '训练试题',
2014
+ default: "singletonClass",
2015
+ singletonClass: this.getCurrentPrefix(item) + '试题',
2016
+ allClass: this.getPrefix(item) + '试题'
2010
2017
  },
2011
2018
  lowLevel: {
2012
- default: "btnIndex1",
2013
- btnIndex1: '训练试题',
2019
+ default: "singletonClass",
2020
+ singletonClass: this.getCurrentPrefix(item) + '试题'
2014
2021
  }
2015
2022
  }
2016
2023
  }
@@ -2022,18 +2029,19 @@ let buttonNames = {
2022
2029
  headLevel: {
2023
2030
  default: "demand",
2024
2031
  demand: '分析要求',
2025
- btnIndex1: '案例题目',
2032
+ resourceIndex: '题  目',
2026
2033
  review: '分析点评',
2027
2034
  analyse: '分析分析',
2028
2035
  countermeasure: '教学对策'
2029
2036
  },
2030
2037
  otherLevel: {
2031
- default: "btnIndex1",
2032
- btnIndex1: '案例题目',
2038
+ default: "singletonClass",
2039
+ singletonClass: this.getCurrentPrefix(item) + '题目',
2040
+ allClass: this.getPrefix(item) + '题目'
2033
2041
  },
2034
2042
  lowLevel: {
2035
- default: "btnIndex1",
2036
- btnIndex1: '案例题目',
2043
+ default: "singletonClass",
2044
+ singletonClass: this.getCurrentPrefix(item) + '题目'
2037
2045
  }
2038
2046
  }
2039
2047
  }
@@ -2045,18 +2053,19 @@ let buttonNames = {
2045
2053
  headLevel: {
2046
2054
  default: "demand",
2047
2055
  demand: '学习要求',
2048
- btnIndex1: '学习资源',
2056
+ resourceIndex: '学习资源',
2049
2057
  review: '学习点评',
2050
2058
  analyse: '学习分析',
2051
2059
  countermeasure: '教学对策'
2052
2060
  },
2053
2061
  otherLevel: {
2054
- default: "btnIndex1",
2055
- btnIndex1: '学习资源',
2062
+ default: "singletonClass",
2063
+ singletonClass: this.getCurrentPrefix(item) + '项目',
2064
+ allClass: this.getPrefix(item) + '项目'
2056
2065
  },
2057
2066
  lowLevel: {
2058
- default: "btnIndex1",
2059
- btnIndex1: '学习资源',
2067
+ default: "singletonClass",
2068
+ singletonClass: this.getCurrentPrefix(item) + '项目'
2060
2069
  }
2061
2070
  }
2062
2071
  }
@@ -2082,18 +2091,19 @@ let buttonNames = {
2082
2091
  headLevel: {
2083
2092
  default: "demand",
2084
2093
  demand: '作业要求',
2085
- btnIndex1: '作业试题',
2094
+ resourceIndex: '作业试题',
2086
2095
  review: '作业点评',
2087
2096
  analyse: '作业分析',
2088
2097
  countermeasure: '教学对策'
2089
2098
  },
2090
2099
  otherLevel: {
2091
- default: "btnIndex1",
2092
- btnIndex1: '作业试题',
2100
+ default: "singletonClass",
2101
+ singletonClass: this.getCurrentPrefix(item) + '试题',
2102
+ allClass: this.getPrefix(item) + '试题'
2093
2103
  },
2094
2104
  lowLevel: {
2095
- default: "btnIndex1",
2096
- btnIndex1: '作业试题',
2105
+ default: "singletonClass",
2106
+ singletonClass: this.getCurrentPrefix(item) + '试题'
2097
2107
  }
2098
2108
  }
2099
2109
  }
@@ -2105,18 +2115,19 @@ let buttonNames = {
2105
2115
  headLevel: {
2106
2116
  default: "demand",
2107
2117
  demand: '聆听要求',
2108
- btnIndex1: '报告资源',
2118
+ resourceIndex: '报告资源',
2109
2119
  review: '聆听点评',
2110
2120
  analyse: '聆听分析',
2111
2121
  countermeasure: '教学对策'
2112
2122
  },
2113
2123
  otherLevel: {
2114
- default: "btnIndex1",
2115
- btnIndex1: '报告资源',
2124
+ default: "singletonClass",
2125
+ singletonClass: this.getCurrentPrefix(item) + '报告',
2126
+ allClass: this.getPrefix(item) + '报告'
2116
2127
  },
2117
2128
  lowLevel: {
2118
- default: "btnIndex1",
2119
- btnIndex1: '报告资源',
2129
+ default: "singletonClass",
2130
+ singletonClass: this.getCurrentPrefix(item) + '报告'
2120
2131
  }
2121
2132
  }
2122
2133
  }
@@ -2142,7 +2153,7 @@ let buttonNames = {
2142
2153
  headLevel: {
2143
2154
  default: "demand",
2144
2155
  demand: '写作要求',
2145
- btnIndex1: '指导意见',
2156
+ guideIndex: '指导意见',
2146
2157
  review: '写作点评',
2147
2158
  analyse: '写作分析',
2148
2159
  countermeasure: '教学对策'
@@ -2157,18 +2168,19 @@ let buttonNames = {
2157
2168
  headLevel: {
2158
2169
  default: "demand",
2159
2170
  demand: '实践要求',
2160
- btnIndex1: '实践项目',
2171
+ resourceIndex: '实践项目',
2161
2172
  review: '实践点评',
2162
2173
  analyse: '实践分析',
2163
2174
  countermeasure: '教学对策'
2164
2175
  },
2165
2176
  otherLevel: {
2166
- default: "btnIndex1",
2167
- btnIndex1: '实践项目',
2177
+ default: "singletonClass",
2178
+ singletonClass: this.getCurrentPrefix(item) + '项目',
2179
+ allClass: this.getPrefix(item) + '项目'
2168
2180
  },
2169
2181
  lowLevel: {
2170
- default: "btnIndex1",
2171
- btnIndex1: '实践项目',
2182
+ default: "singletonClass",
2183
+ singletonClass: this.getCurrentPrefix(item) + '项目'
2172
2184
  }
2173
2185
  }
2174
2186
  }
@@ -2180,18 +2192,19 @@ let buttonNames = {
2180
2192
  headLevel: {
2181
2193
  default: "demand",
2182
2194
  demand: '实验要求',
2183
- btnIndex1: '实验项目',
2195
+ resourceIndex: '实验项目',
2184
2196
  review: '实验点评',
2185
2197
  analyse: '实验分析',
2186
2198
  countermeasure: '教学对策'
2187
2199
  },
2188
2200
  otherLevel: {
2189
- default: "btnIndex1",
2190
- btnIndex1: '实验项目',
2201
+ default: "singletonClass",
2202
+ singletonClass: this.getCurrentPrefix(item) + '项目',
2203
+ allClass: this.getPrefix(item) + '项目'
2191
2204
  },
2192
2205
  lowLevel: {
2193
- default: "btnIndex1",
2194
- btnIndex1: '实验项目',
2206
+ default: "singletonClass",
2207
+ singletonClass: this.getCurrentPrefix(item) + '项目'
2195
2208
  }
2196
2209
  }
2197
2210
  }
@@ -2203,18 +2216,19 @@ let buttonNames = {
2203
2216
  headLevel: {
2204
2217
  default: "demand",
2205
2218
  demand: '项目要求',
2206
- btnIndex1: '项目主题',
2219
+ resourceIndex: '项目主题',
2207
2220
  review: '项目点评',
2208
2221
  analyse: '项目分析',
2209
2222
  countermeasure: '教学对策'
2210
2223
  },
2211
2224
  otherLevel: {
2212
- default: "btnIndex1",
2213
- btnIndex1: '项目主题',
2225
+ default: "singletonClass",
2226
+ singletonClass: this.getCurrentPrefix(item) + '项目',
2227
+ allClass: this.getPrefix(item) + '项目'
2214
2228
  },
2215
2229
  lowLevel: {
2216
- default: "btnIndex1",
2217
- btnIndex1: '项目主题',
2230
+ default: "singletonClass",
2231
+ singletonClass: this.getCurrentPrefix(item) + '项目'
2218
2232
  }
2219
2233
  }
2220
2234
  }
@@ -2226,18 +2240,19 @@ let buttonNames = {
2226
2240
  headLevel: {
2227
2241
  default: "demand",
2228
2242
  demand: '创新要求',
2229
- btnIndex1: '创新任务',
2243
+ resourceIndex: '创新任务',
2230
2244
  review: '创新点评',
2231
2245
  analyse: '创新分析',
2232
2246
  countermeasure: '教学对策'
2233
2247
  },
2234
2248
  otherLevel: {
2235
- default: "btnIndex1",
2236
- btnIndex1: '创新任务',
2249
+ default: "singletonClass",
2250
+ singletonClass: this.getCurrentPrefix(item) + '项目',
2251
+ allClass: this.getPrefix(item) + '项目'
2237
2252
  },
2238
2253
  lowLevel: {
2239
- default: "btnIndex1",
2240
- btnIndex1: '创新任务',
2254
+ default: "singletonClass",
2255
+ singletonClass: this.getCurrentPrefix(item) + '项目'
2241
2256
  }
2242
2257
  }
2243
2258
  }
@@ -2249,17 +2264,18 @@ let buttonNames = {
2249
2264
  headLevel: {
2250
2265
  default: "demand",
2251
2266
  demand: '考试须知',
2252
- btnIndex1: '考试试题',
2267
+ resourceIndex: '考试试题',
2253
2268
  analyse: '创新分析',
2254
2269
  countermeasure: '教学对策'
2255
2270
  },
2256
2271
  otherLevel: {
2257
- default: "btnIndex1",
2258
- btnIndex1: '考试试题',
2272
+ default: "singletonClass",
2273
+ singletonClass: this.getCurrentPrefix(item) + '试题',
2274
+ allClass: this.getPrefix(item) + '试题'
2259
2275
  },
2260
2276
  lowLevel: {
2261
- default: "考试试题",
2262
- btnIndex1: '考试试题',
2277
+ default: "singletonClass",
2278
+ singletonClass: this.getCurrentPrefix(item) + '试题'
2263
2279
  }
2264
2280
  }
2265
2281
  }
@@ -2271,8 +2287,8 @@ let buttonNames = {
2271
2287
  headLevel: {
2272
2288
  default: "demand",
2273
2289
  demand: '动力规则',
2274
- btnIndex1: '学习激励',
2275
- btnIndex2: '教师督学',
2290
+ resourceIndex1: '学习激励',
2291
+ resourceIndex2: '教师督学',
2276
2292
  analyse: '动力分析',
2277
2293
  countermeasure: '教学对策'
2278
2294
  }
@@ -589,13 +589,13 @@
589
589
  },
590
590
  deep: true,
591
591
  immediate: true
592
- },
593
- taskInfoList: {
594
- handler(newValue) {
595
- this.$emit('confirm', newValue)
596
- },
597
- deep: true
598
592
  }
593
+ // taskInfoList: {
594
+ // handler(newValue) {
595
+ // this.$emit('confirm', newValue)
596
+ // },
597
+ // deep: true
598
+ // }
599
599
  },
600
600
  created() {
601
601
  },
@@ -618,13 +618,9 @@
618
618
  }
619
619
  },
620
620
  // 排序方法
621
- funSort (param) {
622
- param.sort(function(a, b){
623
- return parseInt(a.round) > parseInt(b.round) ? 1: -1
624
- })
621
+ confirm () {
622
+ return this.taskInfoList;
625
623
  }
626
-
627
-
628
624
  }
629
625
  }
630
626
  </script>
@@ -193,13 +193,9 @@ class titleButtonMenu {
193
193
  exec(editor, value) {
194
194
  if (this.isDisabled(editor)) return
195
195
  const resume = {
196
- type: 'paragraph',
197
- children: [{
198
- type: 'titleAttachment',
199
- fileName: titleData.text,
200
- children: [{text:''}]
201
- }],
202
- textAlign: 'center'
196
+ type: 'titleAttachment',
197
+ fileName: titleData.text,
198
+ children: [{text:''}]
203
199
  }
204
200
  const resume2 = {
205
201
  type: 'paragraph',
@@ -233,13 +229,9 @@ class authorButtonMenu {
233
229
  exec(editor, value) {
234
230
  if (this.isDisabled(editor)) return
235
231
  const resume = {
236
- type: 'paragraph',
237
- children: [{
238
- type: 'authorAttachment',
239
- fileName: authorData.text,
240
- children: [{text:''}]
241
- }],
242
- textAlign: 'center'
232
+ type: 'authorAttachment',
233
+ fileName: authorData.text,
234
+ children: [{text:''}]
243
235
  }
244
236
  const resume2 = {
245
237
  type: 'paragraph',
@@ -17,7 +17,7 @@ function renderAttachment(elem, children, editor) {
17
17
  [ elem.fileName ]
18
18
  )
19
19
  const attachVnode = h(
20
- 'span',
20
+ 'p',
21
21
  {
22
22
  props: { contentEditable: false },
23
23
  style: { display: 'inline-block',position: 'relative'},
@@ -38,10 +38,10 @@ function titleAttachment(elem, children, editor) {
38
38
  [ elem.fileName ]
39
39
  )
40
40
  const attachVnode = h(
41
- 'span',
41
+ 'p',
42
42
  {
43
43
  props: { contentEditable: false },
44
- style: { display: 'inline-block'},
44
+ style: { textAlign: 'center'},
45
45
  // on: { click() { console.log('clicked', link) } }
46
46
  },
47
47
  [ iconText]
@@ -59,10 +59,10 @@ function authorAttachment(elem, children, editor) {
59
59
  [ elem.fileName ]
60
60
  )
61
61
  const attachVnode = h(
62
- 'span',
62
+ 'p',
63
63
  {
64
64
  props: { contentEditable: false },
65
- style: { display: 'inline-block'},
65
+ style: { textAlign: 'center'},
66
66
  // on: { click() { console.log('clicked', link) } }
67
67
  },
68
68
  [ iconText]
package/src/index.js CHANGED
@@ -63,7 +63,7 @@ function install(app) {
63
63
  }
64
64
 
65
65
  export default {
66
- version: '1.20.119',
66
+ version: '1.20.121',
67
67
  install,
68
68
  Calendar,
69
69
  Message,