|
@@ -128,12 +128,17 @@
|
|
:row-key="record => record.id"
|
|
:row-key="record => record.id"
|
|
:scroll="{ x: 1500 }"
|
|
:scroll="{ x: 1500 }"
|
|
>
|
|
>
|
|
|
|
+ <!-- 操作 -->
|
|
|
|
+ <span slot="operationSlot" slot-scope="text, record">
|
|
|
|
+ <a-button type="primary" @click="lineDetail">明细</a-button>
|
|
|
|
+ </span>
|
|
</a-table>
|
|
</a-table>
|
|
</a-card>
|
|
</a-card>
|
|
<!-- 维护邮件发送通知 :father="cc"-->
|
|
<!-- 维护邮件发送通知 :father="cc"-->
|
|
<emailMsg-modal ref="emailMsgModal"></emailMsg-modal>
|
|
<emailMsg-modal ref="emailMsgModal"></emailMsg-modal>
|
|
<monthChart-modal ref="monthChartModal"></monthChart-modal>
|
|
<monthChart-modal ref="monthChartModal"></monthChart-modal>
|
|
<departmentChart-modal ref="departmentChartModal"></departmentChart-modal>
|
|
<departmentChart-modal ref="departmentChartModal"></departmentChart-modal>
|
|
|
|
+ <Detail ref="detail"></Detail>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
@@ -145,11 +150,11 @@ import moment from 'moment'
|
|
import emailMsgModal from '@views/reportForms/full-rate-table/emailMsgModal.vue'
|
|
import emailMsgModal from '@views/reportForms/full-rate-table/emailMsgModal.vue'
|
|
import monthChartModal from '@views/reportForms/full-rate-table/monthChartModal.vue'
|
|
import monthChartModal from '@views/reportForms/full-rate-table/monthChartModal.vue'
|
|
import departmentChartModal from '@views/reportForms/full-rate-table/departmentChartModal.vue'
|
|
import departmentChartModal from '@views/reportForms/full-rate-table/departmentChartModal.vue'
|
|
-
|
|
|
|
|
|
+import Detail from '@views/reportForms/full-rate-table/detail.vue'
|
|
export default {
|
|
export default {
|
|
name: 'Fullratetable', // 齐套率报表
|
|
name: 'Fullratetable', // 齐套率报表
|
|
mixins: [JeecgListMixin],
|
|
mixins: [JeecgListMixin],
|
|
- components: { JEllipsis, moment, emailMsgModal, monthChartModal, departmentChartModal },
|
|
|
|
|
|
+ components: { JEllipsis, moment, emailMsgModal, monthChartModal, departmentChartModal,Detail },
|
|
|
|
|
|
data() {
|
|
data() {
|
|
let ellipsis = (v, l = 20) => <j-ellipsis value={v} length={l} /> // 省略
|
|
let ellipsis = (v, l = 20) => <j-ellipsis value={v} length={l} /> // 省略
|
|
@@ -330,6 +335,14 @@ export default {
|
|
width: 90,
|
|
width: 90,
|
|
fixed: 'right',
|
|
fixed: 'right',
|
|
className: 'replacecolor'
|
|
className: 'replacecolor'
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ title: '操作',
|
|
|
|
+ dataIndex: 'operation',
|
|
|
|
+ width: 90,
|
|
|
|
+ fixed: 'right',
|
|
|
|
+ className: 'replacecolor',
|
|
|
|
+ scopedSlots: { customRender: 'operationSlot' },
|
|
}
|
|
}
|
|
],
|
|
],
|
|
fullrateData: [
|
|
fullrateData: [
|
|
@@ -413,6 +426,9 @@ export default {
|
|
this.queryParam = {}
|
|
this.queryParam = {}
|
|
// this.getAnnList()
|
|
// this.getAnnList()
|
|
},
|
|
},
|
|
|
|
+ lineDetail(){
|
|
|
|
+ this.$refs.detail.detailModVis = true
|
|
|
|
+ },
|
|
|
|
|
|
// 选中行
|
|
// 选中行
|
|
// onSelectChange(keys, rows) {
|
|
// onSelectChange(keys, rows) {
|