zydx-plus 1.34.460 → 1.34.462
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
|
@@ -78,6 +78,7 @@
|
|
|
78
78
|
</div>
|
|
79
79
|
</div>
|
|
80
80
|
<div class="cle-but-right">
|
|
81
|
+
<button class="cle-but" @click="cancel">取消</button>
|
|
81
82
|
<button class="cle-but" @click="confirm">确认</button>
|
|
82
83
|
</div>
|
|
83
84
|
</div>
|
|
@@ -220,6 +221,9 @@ export default {
|
|
|
220
221
|
};
|
|
221
222
|
},
|
|
222
223
|
methods: {
|
|
224
|
+
cancel() {
|
|
225
|
+
this.$emit('cancel')
|
|
226
|
+
},
|
|
223
227
|
confirm() {
|
|
224
228
|
let date = {start: this.dayChange}
|
|
225
229
|
if(this.rangeMode) {
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
<div class="list-cont" v-if="list.length > 0">
|
|
4
4
|
<div :class="{'list-li':true, 'theme-text': active === index, pos: multiple}"
|
|
5
5
|
:style="{'border-bottom': (link)? '1px solid #ccc': '0', 'color': (active === index)? activeColor : '#333'}"
|
|
6
|
-
v-for="(item,index) in listCopy" :key="index">
|
|
6
|
+
v-for="(item,index) in listCopy" :key="index" @click="listTap(item,index)">
|
|
7
7
|
<input v-if="multiple" :checked="item.box" @change="checkboxChange($event,index)" class="box-list" type="checkbox" name="boxList" />
|
|
8
|
-
<div class="list-title"
|
|
8
|
+
<div class="list-title">
|
|
9
9
|
<span :style="{'font-size': column[0].fontSize + 'px', 'font-weight': column[0].fontWeight}" v-html="(index + 1) + '.' + (angleBrackets ? '《' : '') + item[column[0].label] + (angleBrackets ? '》' : '')"></span>
|
|
10
10
|
<button v-if="delShow" @click="del(item)" v-html="delText"></button>
|
|
11
11
|
</div>
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
</tr>
|
|
99
99
|
<tr>
|
|
100
100
|
<td>占 比</td>
|
|
101
|
-
<td v-for="(ts,ind) in item.itemList">{{ ts.percentage === null ? 0 : ts.percentage }}
|
|
101
|
+
<td v-for="(ts,ind) in item.itemList">{{ ts.percentage === null ? 0 + '%' : ts.percentage }}</td>
|
|
102
102
|
</tr>
|
|
103
103
|
</table>
|
|
104
104
|
</div>
|