ocpview-plus 1.3.0 → 1.3.2
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
|
@@ -42,7 +42,7 @@ export default {
|
|
|
42
42
|
billprintModeUrl:'/widgetmodelv3/#/bill-print?modulecode={modulecode}&dataid={dataid}&mktcode={mktcode}&token={token}',
|
|
43
43
|
printModeUrl:'',
|
|
44
44
|
eventObject:['valueChanged','setDataBefore','searchBefore','cellbeginedit','importSuccess','addRowBefore','indexMethod','delRowBefore','delRowAfter','onSelectionChange','formatValue','updateCellConfig','overrideSearchParam','overrideData','refurbishCheck','onSingleChange','onSetRowCheck','onSelect','onSelectCancel','onSelectionChange','customSummary','customImgPath','onDelTag','onSearch','onAppend','filterData','onAddTag','getDictData','setLabel','setImportUrl','onLinkTo','newSaveFormBefore','setQueryConfig','setNodeClass','setTreeNodeIcon','rowClassName','customSummaryGroup','disabledDate'],
|
|
45
|
-
layoutTypeList:['ListDetails','ListDetailsV2','BillListDetails']
|
|
45
|
+
layoutTypeList:['ListDetails','ListDetailsV2','BillListDetails','ListDetailsV3']
|
|
46
46
|
};
|
|
47
47
|
},
|
|
48
48
|
computed: {
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
<template v-if="!myConfig.multiSelectGrid">
|
|
11
11
|
<Card :padding="0" :bordered="false" dis-hover>
|
|
12
12
|
<Table ref="table" :class="isFlag" :row-class-name="myConfig.rowClassName" :loading="loading" :show-summary="myConfig.showSummary" :summary-method="handleSummary" :size="myConfig.tableSize" :stripe="myConfig.showStripe" :border="myConfig.showBorder" :height="tableHeight" :max-height="tableMaxHeight" :show-header="myConfig.showHeader" :columns="tableColumns" :data="tempData" @on-sort-change="sortChagne" @on-current-change="onCurrentChange" :highlight-row="myConfig.highLightRow" @on-row-dblclick="dbclick" @on-select="onSelect" @on-select-cancel="onSelectCancel" @on-selection-change="OnSelectionChange" @on-row-click="click" @on-column-width-resize="onColumnWidthResize">
|
|
13
|
-
<template v-for="config in soltTableColumns" v-slot:[config.key]="{ row, index }" :key="'show_' + config.key">
|
|
13
|
+
<template v-for="config in soltTableColumns" v-slot:[config.key]="{ row, index }" :key="'show_' + config.key">
|
|
14
14
|
<ShowText :label="formatValue(index,config,row)" :contentAlign="config.contentAlign" :class="config.cellClassName" :config="config" :rowIndex="index"></ShowText>
|
|
15
15
|
</template>
|
|
16
16
|
</Table>
|
|
@@ -49,16 +49,16 @@
|
|
|
49
49
|
</div>
|
|
50
50
|
</Col>
|
|
51
51
|
<Col span= '2'>
|
|
52
|
-
<Row type="flex" justify="center" align="middle" style="padding:5px;" >
|
|
53
|
-
<Tooltip content="删除" placement="left">
|
|
54
|
-
<Button type="primary" size="small" icon="ios-arrow-back" :disabled="!rightActive" @click="moveToLeft"></Button>
|
|
55
|
-
</Tooltip>
|
|
56
|
-
</Row>
|
|
57
52
|
<Row type="flex" justify="center" align="middle" style="padding:5px;" >
|
|
58
53
|
<Tooltip content="添加" placement="right">
|
|
59
54
|
<Button type="primary" size="small" icon="ios-arrow-forward" :disabled="!leftActive" @click="moveToRight"></Button>
|
|
60
55
|
</Tooltip>
|
|
61
56
|
</Row>
|
|
57
|
+
<Row type="flex" justify="center" align="middle" style="padding:5px;" >
|
|
58
|
+
<Tooltip content="删除" placement="left">
|
|
59
|
+
<Button type="primary" size="small" icon="ios-arrow-back" :disabled="!rightActive" @click="moveToLeft"></Button>
|
|
60
|
+
</Tooltip>
|
|
61
|
+
</Row>
|
|
62
62
|
</Col>
|
|
63
63
|
<Col :span="multiGridCol" style="padding-bottom: 40px;">
|
|
64
64
|
<Card :padding="0" bordered dis-hover>
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
</Card>
|
|
74
74
|
</Col>
|
|
75
75
|
</Row>
|
|
76
|
-
</template>
|
|
76
|
+
</template>
|
|
77
77
|
</div>
|
|
78
78
|
</template>
|
|
79
79
|
<script>
|
|
@@ -138,7 +138,7 @@ export default {
|
|
|
138
138
|
return '';
|
|
139
139
|
}
|
|
140
140
|
},
|
|
141
|
-
mounted () {
|
|
141
|
+
mounted () {
|
|
142
142
|
}
|
|
143
143
|
};
|
|
144
|
-
</script>
|
|
144
|
+
</script>
|