zydx-plus 1.35.560 → 1.35.562
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/bizHeader.vue +4 -1
- package/src/components/biz_header/src/button_name.js +4 -2
- package/src/components/choice/src/choice.vue +12 -0
- package/src/components/editor2/src/editor.vue +2 -1
- package/src/components/seek/src/word.vue +4 -0
- package/src/components/tagging/src/tagging.css +1 -1
- package/src/index.js +1 -1
package/package.json
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
<div class="headLevel">
|
|
17
17
|
<div v-for="(item, index) in nodeList" :key="index" class="borderBottom1cccccc padding0_10 box_sizing_border_box" v-show="getShow(item)">
|
|
18
18
|
<zydx-topic-dry :is_hide="true">
|
|
19
|
-
<template v-slot:title_slot><span class="fontSize16" :title="item.name" :class="'level'+item.level">{{item.name}}</span></template>
|
|
19
|
+
<template v-slot:title_slot><span class="fontSize16" :title="item.name" :class="'level'+item.level">{{item.name}}{{ item.suffixName? ':':'' }}</span><span v-if="item.suffixName" class="fontSize12">{{ item.suffixName }}</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">
|
|
@@ -300,4 +300,7 @@ export default {
|
|
|
300
300
|
box-sizing: border-box;
|
|
301
301
|
height: 30px;
|
|
302
302
|
}
|
|
303
|
+
.fontSize12{
|
|
304
|
+
font-size: 12px;
|
|
305
|
+
}
|
|
303
306
|
</style>
|
|
@@ -965,7 +965,8 @@ let buttonNames = {
|
|
|
965
965
|
buttonList: {
|
|
966
966
|
0: {
|
|
967
967
|
headLevel: {
|
|
968
|
-
default: "
|
|
968
|
+
default: "demand",
|
|
969
|
+
demand: '写作要求',
|
|
969
970
|
singletonClass: this.getCurrentPrefix(item) + '写作',
|
|
970
971
|
allClass: this.getPrefix(item) + '情况',
|
|
971
972
|
},
|
|
@@ -1912,7 +1913,8 @@ let buttonNames = {
|
|
|
1912
1913
|
buttonList: {
|
|
1913
1914
|
0: {
|
|
1914
1915
|
headLevel: {
|
|
1915
|
-
default: "
|
|
1916
|
+
default: "demand",
|
|
1917
|
+
demand: '写作要求',
|
|
1916
1918
|
singletonClass: this.getCurrentPrefix(item) + '写作',
|
|
1917
1919
|
allClass: this.getPrefix(item) + '情况',
|
|
1918
1920
|
},
|
|
@@ -7,8 +7,10 @@
|
|
|
7
7
|
<em>({{ text }})</em>
|
|
8
8
|
</div>
|
|
9
9
|
<div class="choice-title-right">
|
|
10
|
+
<button class="sees-but" @click="createTips()" v-if="column.hasOwnProperty('select') && column.hasOwnProperty('textarea') && column.textarea.length > 0">创建提示</button>
|
|
10
11
|
<button class="sees-but" @click="add('correct')" v-if="!single">增正确项</button>
|
|
11
12
|
<button class="sees-but" @click="add('interfere')">增干扰项</button>
|
|
13
|
+
<button class="sees-but" v-html="'完  成'" @click="complete()"></button>
|
|
12
14
|
</div>
|
|
13
15
|
</div>
|
|
14
16
|
<div class="choice-list" v-for="(item,index) in list">
|
|
@@ -75,6 +77,10 @@ export default {
|
|
|
75
77
|
single: { // 是否单选
|
|
76
78
|
type: Boolean,
|
|
77
79
|
default: false
|
|
80
|
+
},
|
|
81
|
+
column: {
|
|
82
|
+
type: Object,
|
|
83
|
+
default: () => {}
|
|
78
84
|
}
|
|
79
85
|
},
|
|
80
86
|
watch: {
|
|
@@ -90,6 +96,12 @@ export default {
|
|
|
90
96
|
this.list = this.organize(this.value)
|
|
91
97
|
},
|
|
92
98
|
methods: {
|
|
99
|
+
complete () {
|
|
100
|
+
this.$emit('saveSelect')
|
|
101
|
+
},
|
|
102
|
+
createTips () {
|
|
103
|
+
this.$emit('createExplain')
|
|
104
|
+
},
|
|
93
105
|
addOption() {
|
|
94
106
|
const index = this.list.length
|
|
95
107
|
if(index === 8) return
|
|
@@ -353,7 +353,7 @@ export default {
|
|
|
353
353
|
default: []
|
|
354
354
|
}
|
|
355
355
|
},
|
|
356
|
-
emits: ['see', 'del', 'complete', 'update:data', 'enclosureSuccess', 'download', 'updateData'],
|
|
356
|
+
emits: ['see', 'del', 'complete', 'update:data', 'enclosureSuccess', 'download', 'updateData', 'syncDel'],
|
|
357
357
|
watch: {
|
|
358
358
|
// 强制监听data变化
|
|
359
359
|
data: {
|
|
@@ -724,6 +724,7 @@ export default {
|
|
|
724
724
|
}
|
|
725
725
|
})
|
|
726
726
|
} else {
|
|
727
|
+
this.$emit('syncDel', {syncDel: true, index: index, data: that.uploadAttData[index] }) // 为了同步当前组件和父组件附件的数据(新加的syncDel,使用原来的del怕有问题)
|
|
727
728
|
that.uploadAttData.splice(index, 1)
|
|
728
729
|
}
|
|
729
730
|
},
|