zydx-plus 1.20.114 → 1.20.115

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.114",
3
+ "version": "1.20.115",
4
4
  "description": "Vue.js",
5
5
  "main": "src/index.js",
6
6
  "files": [
@@ -16,7 +16,7 @@
16
16
  <div class="headLevel">
17
17
  <div v-for="(item, index) in nodeList" :key="index" class="borderBottom1cccccc padding0_10">
18
18
  <zydx-topic-dry>
19
- <template v-slot:title_slot><span class="fontSize16">{{item.name}}</span></template>
19
+ <template v-slot:title_slot><span class="fontSize16" :class="'level'+item.level">{{item.name}}</span></template>
20
20
  <template v-slot:button_slot v-if="isShowBtn">
21
21
  <template v-for="(buttonInfo, buttonIndex) in initConfig(item).buttonList[tabType]">
22
22
  <template v-if="buttonInfo instanceof Object" v-for="(childButtonInfo, childButtonIndex) in buttonInfo">
@@ -269,4 +269,10 @@ export default {
269
269
  /*.width180 {*/
270
270
  /*width: 180px;*/
271
271
  /*}*/
272
+ .level0 {
273
+ font-weight: bold;
274
+ }
275
+ .level1 {
276
+ font-weight: bold;
277
+ }
272
278
  </style>
@@ -1840,13 +1840,12 @@ let buttonNames = {
1840
1840
  countermeasure: '教学对策'
1841
1841
  },
1842
1842
  otherLevel: {
1843
- default: "btnIndex2",
1844
- btnIndex2: this.getCurrentPrefix(item) + '试题',
1845
- btnIndex3: this.getPrefix(item) + '试题'
1843
+ default: "btnIndex1",
1844
+ btnIndex1: '检测试题',
1846
1845
  },
1847
1846
  lowLevel: {
1848
- default: "btnIndex2",
1849
- btnIndex2: this.getCurrentPrefix(item) + '试题'
1847
+ default: "btnIndex1",
1848
+ btnIndex1: '检测试题',
1850
1849
  }
1851
1850
  }
1852
1851
  }
@@ -1858,19 +1857,18 @@ let buttonNames = {
1858
1857
  headLevel: {
1859
1858
  default: "demand",
1860
1859
  demand: '思政要求',
1861
- btnIndex1: '思政主题',
1860
+ btnIndex1: '思政项目',
1862
1861
  review: '思政点评',
1863
1862
  analyse: '思政分析',
1864
1863
  countermeasure: '教学对策'
1865
1864
  },
1866
1865
  otherLevel: {
1867
- default: "btnIndex2",
1868
- btnIndex2: this.getCurrentPrefix(item) + '主题',
1869
- btnIndex3: this.getPrefix(item) + '主题'
1866
+ default: "btnIndex1",
1867
+ btnIndex1: '思政项目',
1870
1868
  },
1871
1869
  lowLevel: {
1872
- default: "btnIndex2",
1873
- btnIndex2: this.getCurrentPrefix(item) + '主题'
1870
+ default: "btnIndex1",
1871
+ btnIndex1: '思政项目',
1874
1872
  }
1875
1873
  }
1876
1874
  }
@@ -1902,13 +1900,12 @@ let buttonNames = {
1902
1900
  countermeasure: '教学对策'
1903
1901
  },
1904
1902
  otherLevel: {
1905
- default: "btnIndex2",
1906
- btnIndex2: this.getCurrentPrefix(item) + '提问',
1907
- btnIndex3: this.getPrefix(item) + '问题'
1903
+ default: "btnIndex1",
1904
+ btnIndex1: '提问问题',
1908
1905
  },
1909
1906
  lowLevel: {
1910
- default: "btnIndex2",
1911
- btnIndex2: this.getCurrentPrefix(item) + '提问'
1907
+ default: "btnIndex1",
1908
+ btnIndex1: '提问问题',
1912
1909
  }
1913
1910
  }
1914
1911
  }
@@ -1926,13 +1923,12 @@ let buttonNames = {
1926
1923
  countermeasure: '教学对策'
1927
1924
  },
1928
1925
  otherLevel: {
1929
- default: "btnIndex2",
1930
- btnIndex2: this.getCurrentPrefix(item) + '提问',
1931
- btnIndex3: this.getPrefix(item) + '提问'
1926
+ default: "btnIndex1",
1927
+ btnIndex1: '虚拟提问',
1932
1928
  },
1933
1929
  lowLevel: {
1934
- default: "btnIndex2",
1935
- btnIndex2: this.getCurrentPrefix(item) + '提问'
1930
+ default: "btnIndex1",
1931
+ btnIndex1: '虚拟提问',
1936
1932
  }
1937
1933
  }
1938
1934
  }
@@ -1957,20 +1953,19 @@ let buttonNames = {
1957
1953
  0: {
1958
1954
  headLevel: {
1959
1955
  default: "demand",
1960
- demand: '提问要求',
1956
+ demand: '讨论要求',
1961
1957
  btnIndex1: '讨论题目',
1962
1958
  review: '讨论点评',
1963
1959
  analyse: '讨论分析',
1964
1960
  countermeasure: '教学对策'
1965
1961
  },
1966
1962
  otherLevel: {
1967
- default: "btnIndex2",
1968
- btnIndex2: this.getCurrentPrefix(item) + '题目',
1969
- btnIndex3: this.getPrefix(item) + '题目'
1963
+ default: "btnIndex1",
1964
+ btnIndex1: '讨论题目',
1970
1965
  },
1971
1966
  lowLevel: {
1972
- default: "btnIndex2",
1973
- btnIndex2: this.getCurrentPrefix(item) + '题目'
1967
+ default: "btnIndex1",
1968
+ btnIndex1: '讨论题目',
1974
1969
  }
1975
1970
  }
1976
1971
  }
@@ -1988,13 +1983,12 @@ let buttonNames = {
1988
1983
  countermeasure: '教学对策'
1989
1984
  },
1990
1985
  otherLevel: {
1991
- default: "btnIndex2",
1992
- btnIndex2: this.getCurrentPrefix(item) + '题目',
1993
- btnIndex3: this.getPrefix(item) + '题目'
1986
+ default: "btnIndex1",
1987
+ btnIndex1: '风暴题目',
1994
1988
  },
1995
1989
  lowLevel: {
1996
- default: "btnIndex2",
1997
- btnIndex2: this.getCurrentPrefix(item) + '题目'
1990
+ default: "btnIndex1",
1991
+ btnIndex1: '风暴题目',
1998
1992
  }
1999
1993
  }
2000
1994
  }
@@ -2006,20 +2000,40 @@ let buttonNames = {
2006
2000
  headLevel: {
2007
2001
  default: "demand",
2008
2002
  demand: '训练要求',
2009
- btnIndex1: '训练题目',
2003
+ btnIndex1: '训练试题',
2010
2004
  analyse: '训练分析',
2011
2005
  countermeasure: '教学对策'
2012
2006
  },
2013
2007
  otherLevel: {
2014
- default: "btnIndex2",
2015
- btnIndex2: this.getCurrentPrefix(item) + '题目',
2016
- btnIndex3: this.getPrefix(item) + '题目'
2008
+ default: "btnIndex1",
2009
+ btnIndex1: '训练试题',
2017
2010
  },
2018
2011
  lowLevel: {
2019
- default: "btnIndex2",
2020
- btnIndex4: '创建题目',
2021
- btnIndex2: '题目列表',
2022
- btnIndex5: '批量删除'
2012
+ default: "btnIndex1",
2013
+ btnIndex1: '训练试题',
2014
+ }
2015
+ }
2016
+ }
2017
+ },
2018
+ resource_lesson029: {
2019
+ actionName: '案例资源',
2020
+ buttonList: {
2021
+ 0: {
2022
+ headLevel: {
2023
+ default: "demand",
2024
+ demand: '分析要求',
2025
+ btnIndex1: '案例题目',
2026
+ review: '分析点评',
2027
+ analyse: '分析分析',
2028
+ countermeasure: '教学对策'
2029
+ },
2030
+ otherLevel: {
2031
+ default: "btnIndex1",
2032
+ btnIndex1: '案例题目',
2033
+ },
2034
+ lowLevel: {
2035
+ default: "btnIndex1",
2036
+ btnIndex1: '案例题目',
2023
2037
  }
2024
2038
  }
2025
2039
  }
@@ -2031,19 +2045,18 @@ let buttonNames = {
2031
2045
  headLevel: {
2032
2046
  default: "demand",
2033
2047
  demand: '学习要求',
2034
- btnIndex1: '虚仿项目',
2048
+ btnIndex1: '学习资源',
2035
2049
  review: '学习点评',
2036
2050
  analyse: '学习分析',
2037
2051
  countermeasure: '教学对策'
2038
2052
  },
2039
2053
  otherLevel: {
2040
- default: "btnIndex2",
2041
- btnIndex2: this.getCurrentPrefix(item) + '项目',
2042
- btnIndex3: this.getPrefix(item) + '项目'
2054
+ default: "btnIndex1",
2055
+ btnIndex1: '学习资源',
2043
2056
  },
2044
2057
  lowLevel: {
2045
- default: "btnIndex2",
2046
- btnIndex2: this.getCurrentPrefix(item) + '项目'
2058
+ default: "btnIndex1",
2059
+ btnIndex1: '学习资源',
2047
2060
  }
2048
2061
  }
2049
2062
  }
@@ -2069,19 +2082,18 @@ let buttonNames = {
2069
2082
  headLevel: {
2070
2083
  default: "demand",
2071
2084
  demand: '作业要求',
2072
- btnIndex1: '作业题目',
2085
+ btnIndex1: '作业试题',
2073
2086
  review: '作业点评',
2074
2087
  analyse: '作业分析',
2075
2088
  countermeasure: '教学对策'
2076
2089
  },
2077
2090
  otherLevel: {
2078
- default: "btnIndex2",
2079
- btnIndex2: this.getCurrentPrefix(item) + '题目',
2080
- btnIndex3: this.getPrefix(item) + '题目'
2091
+ default: "btnIndex1",
2092
+ btnIndex1: '作业试题',
2081
2093
  },
2082
2094
  lowLevel: {
2083
- default: "btnIndex2",
2084
- btnIndex2: this.getCurrentPrefix(item) + '题目'
2095
+ default: "btnIndex1",
2096
+ btnIndex1: '作业试题',
2085
2097
  }
2086
2098
  }
2087
2099
  }
@@ -2099,14 +2111,12 @@ let buttonNames = {
2099
2111
  countermeasure: '教学对策'
2100
2112
  },
2101
2113
  otherLevel: {
2102
- default: "btnIndex2",
2103
- btnIndex2: this.getCurrentPrefix(item) + '报告',
2104
- btnIndex3: this.getPrefix(item) + '报告'
2114
+ default: "btnIndex1",
2115
+ btnIndex1: '报告资源',
2105
2116
  },
2106
2117
  lowLevel: {
2107
- default: "btnIndex2",
2108
- btnIndex4: '创建报告',
2109
- btnIndex2: '报告列表'
2118
+ default: "btnIndex1",
2119
+ btnIndex1: '报告资源',
2110
2120
  }
2111
2121
  }
2112
2122
  }
@@ -2153,13 +2163,35 @@ let buttonNames = {
2153
2163
  countermeasure: '教学对策'
2154
2164
  },
2155
2165
  otherLevel: {
2156
- default: "btnIndex2",
2157
- btnIndex2: this.getCurrentPrefix(item) + '项目',
2158
- btnIndex3: this.getPrefix(item) + '项目'
2166
+ default: "btnIndex1",
2167
+ btnIndex1: '实践项目',
2159
2168
  },
2160
2169
  lowLevel: {
2161
- default: "btnIndex2",
2162
- btnIndex2: this.getCurrentPrefix(item) + '项目'
2170
+ default: "btnIndex1",
2171
+ btnIndex1: '实践项目',
2172
+ }
2173
+ }
2174
+ }
2175
+ },
2176
+ resource_project: {
2177
+ actionName: '课业项目',
2178
+ buttonList: {
2179
+ 0: {
2180
+ headLevel: {
2181
+ default: "demand",
2182
+ demand: '项目要求',
2183
+ btnIndex1: '项目主题',
2184
+ review: '项目点评',
2185
+ analyse: '项目分析',
2186
+ countermeasure: '教学对策'
2187
+ },
2188
+ otherLevel: {
2189
+ default: "btnIndex1",
2190
+ btnIndex1: '项目主题',
2191
+ },
2192
+ lowLevel: {
2193
+ default: "btnIndex1",
2194
+ btnIndex1: '项目主题',
2163
2195
  }
2164
2196
  }
2165
2197
  }
@@ -2177,14 +2209,34 @@ let buttonNames = {
2177
2209
  countermeasure: '教学对策'
2178
2210
  },
2179
2211
  otherLevel: {
2180
- default: "btnIndex2",
2181
- btnIndex2: this.getCurrentPrefix(item) + '任务',
2182
- btnIndex3: this.getPrefix(item) + '任务'
2212
+ default: "btnIndex1",
2213
+ btnIndex1: '创新任务',
2183
2214
  },
2184
2215
  lowLevel: {
2185
- default: "btnIndex2",
2186
- btnIndex4: '创建任务',
2187
- btnIndex2: '任务列表'
2216
+ default: "btnIndex1",
2217
+ btnIndex1: '创新任务',
2218
+ }
2219
+ }
2220
+ }
2221
+ },
2222
+ resource_lesson021: {
2223
+ actionName: '考试资源',
2224
+ buttonList: {
2225
+ 0: {
2226
+ headLevel: {
2227
+ default: "demand",
2228
+ demand: '考试须知',
2229
+ btnIndex1: '考试试题',
2230
+ analyse: '创新分析',
2231
+ countermeasure: '教学对策'
2232
+ },
2233
+ otherLevel: {
2234
+ default: "btnIndex1",
2235
+ btnIndex1: '考试试题',
2236
+ },
2237
+ lowLevel: {
2238
+ default: "考试试题",
2239
+ btnIndex1: '考试试题',
2188
2240
  }
2189
2241
  }
2190
2242
  }
@@ -2195,7 +2247,7 @@ let buttonNames = {
2195
2247
  0: {
2196
2248
  headLevel: {
2197
2249
  default: "demand",
2198
- demand: '动力要求',
2250
+ demand: '动力规则',
2199
2251
  btnIndex1: '学习激励',
2200
2252
  btnIndex2: '教师督学',
2201
2253
  analyse: '动力分析',
@@ -2223,10 +2275,8 @@ let buttonNames = {
2223
2275
  btnIndex2: this.getPrefix(item) + '图谱'
2224
2276
  },
2225
2277
  lowLevel: {
2226
- default: "btnIndex4",
2227
- btnIndex3: '创建图谱',
2228
- btnIndex4: '图谱列表',
2229
- search: '查找资源'
2278
+ default: "btnIndex1",
2279
+ btnIndex1: this.getCurrentPrefix(item) + '图谱',
2230
2280
  }
2231
2281
  }
2232
2282
  }
@@ -2246,10 +2296,8 @@ let buttonNames = {
2246
2296
  btnIndex2: this.getPrefix(item) + '课件'
2247
2297
  },
2248
2298
  lowLevel: {
2249
- default: "btnIndex4",
2250
- btnIndex3: '导入课件',
2251
- btnIndex4: '课件列表',
2252
- search: '查找资源'
2299
+ default: "btnIndex1",
2300
+ btnIndex1: this.getCurrentPrefix(item) + '课件',
2253
2301
  }
2254
2302
  }
2255
2303
  }
@@ -2269,10 +2317,8 @@ let buttonNames = {
2269
2317
  btnIndex2: this.getPrefix(item) + '视频'
2270
2318
  },
2271
2319
  lowLevel: {
2272
- default: "btnIndex4",
2273
- btnIndex3: '导入视频',
2274
- btnIndex4: '视频列表',
2275
- search: '查找资源'
2320
+ default: "btnIndex1",
2321
+ btnIndex1: this.getCurrentPrefix(item) + '视频',
2276
2322
  }
2277
2323
  }
2278
2324
  }
@@ -2292,10 +2338,8 @@ let buttonNames = {
2292
2338
  btnIndex2: this.getPrefix(item) + '视频'
2293
2339
  },
2294
2340
  lowLevel: {
2295
- default: "btnIndex4",
2296
- btnIndex3: '导入视频',
2297
- btnIndex4: '视频列表',
2298
- search: '查找资源'
2341
+ default: "btnIndex1",
2342
+ btnIndex1: this.getCurrentPrefix(item) + '视频',
2299
2343
  }
2300
2344
  }
2301
2345
  }
@@ -2315,10 +2359,8 @@ let buttonNames = {
2315
2359
  btnIndex2: this.getPrefix(item) + '数据'
2316
2360
  },
2317
2361
  lowLevel: {
2318
- default: "btnIndex4",
2319
- btnIndex3: '导入数据',
2320
- btnIndex4: '数据列表',
2321
- search: '查找资源'
2362
+ default: "btnIndex1",
2363
+ btnIndex1: this.getCurrentPrefix(item) + '数据',
2322
2364
  }
2323
2365
  }
2324
2366
  }
@@ -107,6 +107,7 @@ export default {
107
107
  },
108
108
  menuTitleStyle() {
109
109
  let ar = [];
110
+ ar.push("level" + this.menuInfo.level);
110
111
  if (!this.menuConfig.isUnifyFontSize) {
111
112
  if (parseInt(this.menuInfo.level) == 0) {
112
113
  ar.push("text_center");
@@ -218,4 +219,10 @@ export default {
218
219
  font-weight: normal;
219
220
  box-sizing: border-box;
220
221
  }
222
+ .level0 {
223
+ font-weight: bold;
224
+ }
225
+ .level1 {
226
+ font-weight: bold;
227
+ }
221
228
  </style>
@@ -19,7 +19,7 @@ const Confirm = ({ type, url ,title,radioArr, promptContent, middle, cancelShow,
19
19
  if(inputArr[i].type === 'select') {
20
20
  val.push(inputArr[i].selectValue)
21
21
  }else {
22
- val.push(inputArr[i].value)
22
+ val.push((inputArr[i].value)?inputArr[i].value:'')
23
23
  }
24
24
  }
25
25
  }
@@ -23,7 +23,7 @@
23
23
  </div>
24
24
  <div class="tip-img" v-if="type === 'input'">
25
25
  <div class="tip-input" v-for="(item,index) in inputArr" :key="index">
26
- <span v-if="item.name">{{ item.name }}<i v-if="item.required">*</i></span>
26
+ <span v-if="item.name"><em v-html="item.name"></em><i v-if="item.required">*</i></span>
27
27
  <div v-if="item.type === 'file'" class="file-cont">
28
28
  <em>{{ fileName }}</em>
29
29
  <label>
@@ -103,6 +103,9 @@ font-size: 12px;
103
103
  float: left;
104
104
  position: relative;
105
105
  }
106
+ .tip-input>span>em{
107
+ font-style: normal;
108
+ }
106
109
  .tip-input>span>i{
107
110
  color: #dc231d;
108
111
  font-style: normal;
package/src/index.js CHANGED
@@ -63,7 +63,7 @@ function install(app) {
63
63
  }
64
64
 
65
65
  export default {
66
- version: '1.20.114',
66
+ version: '1.20.115',
67
67
  install,
68
68
  Calendar,
69
69
  Message,