Pre Drp Cetak, Revisi, Perbaikan Approval dan Pengadaan
This commit is contained in:
@@ -74,23 +74,22 @@
|
||||
<DxColumn data-field="" caption="Direktur Utama"></DxColumn>
|
||||
<DxColumn type="buttons" caption="Aksi" :fixed="true">
|
||||
<DxButton
|
||||
text="Detail"
|
||||
hint="Detail"
|
||||
:on-click="linkDetail"
|
||||
text="Dokumen"
|
||||
hint="Dokumen Pendukung DRP"
|
||||
:on-click="linkDokumen"
|
||||
>
|
||||
<template #default>
|
||||
<IconEye />
|
||||
</template>
|
||||
</DxButton>
|
||||
<DxButton
|
||||
text="Detail"
|
||||
icon="file"
|
||||
hint="Detail"
|
||||
:on-click="linkDetail"
|
||||
/>
|
||||
</DxColumn>
|
||||
<DxColumn type="adaptive" :width="50">
|
||||
<DxButton hint="detail" icon="copy" />
|
||||
text="Detil"
|
||||
hint="Detil/Konten DRP"
|
||||
:on-click="linkDetail">
|
||||
<template #default>
|
||||
<IconDocChecked />
|
||||
</template>
|
||||
</DxButton>
|
||||
</DxColumn>
|
||||
<template #row-cell-template="{ data }">
|
||||
<DxText>{{ data.rowIndex + 1 }}</DxText>
|
||||
@@ -125,8 +124,9 @@ import DxDataGrid, {
|
||||
} from "devextreme-vue/data-grid";
|
||||
import CustomStore from "devextreme/data/custom_store";
|
||||
import IconEye from '../../components/icons/IconEye.vue';
|
||||
import IconDocChecked from '../../components/icons/IconDocChecked.vue';
|
||||
|
||||
const URL = process.env.VUE_APP_ROOT_API + "/drp";
|
||||
const URL = process.env.VUE_APP_ROOT_API + "/drp/approval";
|
||||
|
||||
const dataSource = new CustomStore({
|
||||
key: "id",
|
||||
@@ -189,10 +189,11 @@ export default {
|
||||
DxTexts,
|
||||
DxButton,
|
||||
IconEye,
|
||||
IconDocChecked
|
||||
},
|
||||
methods: {
|
||||
linkDetail: function () {
|
||||
location.href = "master-data/strategi-pengadaan";
|
||||
linkDetail(e) {
|
||||
location.href='#/drp/drp-pengadaan?drpid='+e.row.data.id;
|
||||
},
|
||||
},
|
||||
data() {
|
||||
|
||||
Reference in New Issue
Block a user