-
-
-
{handleQuery(); drawerVisible = false}"
- @closed="drawerVisible = false"
- />
+
+
+
+ 新增
+
+
+
+
+
+
+
+
+
+ {t_id=row.id;mode='show';drawerVisible=true;}">
+
+
+
+
+
+
+
+
+
+ {{ actStateEnum[scope.row.ticket_?.act_state]?.text }}
+ {{ scope.row.ticket_?.state_?.name }}
+
+
+
+
+
+
+
+
+
{handleQuery(); drawerVisible = false}" @closed="drawerVisible = false" />
+
-
-
+
\ No newline at end of file
+
diff --git a/src/views/hrm/resignation.vue b/src/views/hrm/resignation.vue
index d7a53dcb..085422de 100644
--- a/src/views/hrm/resignation.vue
+++ b/src/views/hrm/resignation.vue
@@ -1,65 +1,55 @@
-
-
-
-
-
-
-
-
-
-
-
- {t_id=row.id;mode='show';drawerVisible=true;}"
- >
-
-
-
-
- {{ actStateEnum[scope.row.ticket_?.act_state]?.text }}
-
- {{ scope.row.ticket_?.state_.name }}
-
+
+
+
+
+
+
+
+
+
+
+
+ {t_id=row.id;mode='show';drawerVisible=true;}">
+
+
+
+
+
+
+
+
+ {{ actStateEnum[scope.row.ticket_?.act_state]?.text }}
+ {{ scope.row.ticket_?.state_?.name }}
- `
- `
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
\ No newline at end of file
+import ExportBtn from '@/components/scExportBtn/index.vue'
+import { actStateEnum } from "@/utils/enum.js"
+const query = ref({})
+const drawerVisible = ref(false)
+const mode = ref('add')
+const t_id = ref(null)
+const table = ref(null)
+const handleQuery = () => { table.value?.queryData(query.value) }
+const exportCols = [
+ { header: "姓名", key: "employee_name", wch: 10 },
+ { header: "部门", key: "belong_dept_name", wch: 15 },
+ { header: "岗位", key: "post_name", wch: 12 },
+ { header: "身份证号", key: "employee_id_number", wch: 20 },
+ { header: "离职日期", key: "end_date", wch: 12 },
+ { header: "原因", key: "reason", wch: 25 },
+ { header: "审批状态", key: "_act_state_text", wch: 10 },
+]
+
diff --git a/src/views/hrm/transfer.vue b/src/views/hrm/transfer.vue
index f3d921d5..07ba3c29 100644
--- a/src/views/hrm/transfer.vue
+++ b/src/views/hrm/transfer.vue
@@ -1,66 +1,68 @@
-
-
-
- 新增
-
-
-
- {t_id=row.id;mode='show';drawerVisible=true;}"
- >
-
-
-
-
-
-
- {{scope.row.is_change?'是':'否'}}
-
-
-
-
- {{scope.row.is_promotion?'是':'否'}}
-
-
-
-
-
-
-
-
-
-
-
- {{ actStateEnum[scope.row.ticket_?.act_state]?.text }}
-
- {{ scope.row.ticket_?.state_.name }}
-
-
-
-
-
-
-
-
-
+
+
+
+ 新增
+
+
+
+
+ {t_id=row.id;mode='show';drawerVisible=true;}">
+
+
+
+
+
+
+
+
+ {{ scope.row.is_change ? '是' : '否' }}
+
+
+
+
+ {{ scope.row.is_promotion ? '是' : '否' }}
+
+
+
+
+
+
+
+ {{ actStateEnum[scope.row.ticket_?.act_state]?.text }}
+ {{ scope.row.ticket_?.state_?.name }}
+
+
+
+
+
+
+
+
\ No newline at end of file
+import ExportBtn from '@/components/scExportBtn/index.vue'
+import { actStateEnum } from "@/utils/enum.js"
+const drawerVisible = ref(false)
+const mode = ref('add')
+const t_id = ref(null)
+const handleAdd = () => { mode.value = 'add'; t_id.value = null; drawerVisible.value = true; }
+const exportCols = [
+ { header: "员工", key: "employee_name", wch: 10 },
+ { header: "岗位", key: "post_name", wch: 12 },
+ { header: "原部门", key: "original_dept_name", wch: 12 },
+ { header: "调入部门", key: "new_dept_name", wch: 12 },
+ { header: "原岗位", key: "original_post_name", wch: 12 },
+ { header: "调入岗位", key: "new_post_name", wch: 12 },
+ { header: "跨部门调动", key: "_is_change_text", wch: 10 },
+ { header: "晋升", key: "_is_promotion_text", wch: 8 },
+ { header: "调岗日期", key: "transfer_date", wch: 12 },
+ { header: "个人工作内容", key: "content", wch: 20 },
+ { header: "调岗原因", key: "transfer_reason", wch: 20 },
+ { header: "审批状态", key: "_act_state_text", wch: 10 },
+]
+
diff --git a/src/views/mpr/material_requisition.vue b/src/views/mpr/material_requisition.vue
new file mode 100644
index 00000000..4f39e661
--- /dev/null
+++ b/src/views/mpr/material_requisition.vue
@@ -0,0 +1,128 @@
+
+
+
+
+ 新增领用单
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ actStateEnum[scope.row.ticket_?.act_state]?.text }}
+
+ {{ scope.row.ticket_?.state_?.name }}
+
+ 未提交
+
+
+
+
+
+
+
+
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/mpr/material_requisition_form.vue b/src/views/mpr/material_requisition_form.vue
new file mode 100644
index 00000000..fdedf79f
--- /dev/null
+++ b/src/views/mpr/material_requisition_form.vue
@@ -0,0 +1,397 @@
+
+
+
+
+
+ {{ formData.number || '自动生成' }}
+ {{ formData.belong_dept_name || currentUser.belong_dept_name }}
+
+
+ {{ formData.req_date }}
+
+ {{ formData.create_by_name || currentUser.name }}
+
+
+ {{ formData.collector }}
+
+
+
+ {{ formData.note }}
+
+
+
+
+
+
+
库存物品领用
+ 从库存选择
+
+
+
+
+
+
+ {{ scope.row.req_type }}
+
+
+
+
+
+
+
+ {{ scope.row.stock_quantity }}
+
+
+
+
+
+ {{ scope.row.quantity }}
+
+
+
+
+
+ {{ scope.row.note }}
+
+
+
+
+ 删除
+
+
+
+
+
+
+
+
+
非物资清单物品
+ 添加
+
+
+
+
+
+
+ {{ scope.row.req_type }}
+
+
+
+
+
+ {{ scope.row.name }}
+
+
+
+
+
+ {{ scope.row.spec }}
+
+
+
+
+
+ {{ scope.row.unit }}
+
+
+
+
+
+ {{ scope.row.quantity }}
+
+
+
+
+
+ {{ scope.row.note }}
+
+
+
+
+ 删除
+
+
+
+
+
+
+ 部门负责人:___________
+ 领取人:{{ formData.collector || '___________' }}
+
+
+
+
+ 删除
+ 提交审批
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+
+
+
+
+
+
+
+
+
+
+
+
+ 取消
+ 确认选择 ({{ selectedStocks.length }})
+
+
+
+
+
diff --git a/src/views/mpr/requisition.vue b/src/views/mpr/requisition.vue
new file mode 100644
index 00000000..fecb6112
--- /dev/null
+++ b/src/views/mpr/requisition.vue
@@ -0,0 +1,123 @@
+
+
+
+
+ 新增申购
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ actStateEnum[scope.row.ticket_?.act_state]?.text }}
+
+ {{ scope.row.ticket_?.state_?.name }}
+
+ 未提交
+
+
+
+
+
+
+
+
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/mpr/requisition_form.vue b/src/views/mpr/requisition_form.vue
new file mode 100644
index 00000000..17b59d3a
--- /dev/null
+++ b/src/views/mpr/requisition_form.vue
@@ -0,0 +1,279 @@
+
+
+
+
+
+ {{ formData.number || '自动生成' }}
+ {{ formData.belong_dept_name || currentUser.belong_dept_name }}
+ {{ formData.create_by_name || currentUser.name }}
+
+
+ {{ formData.phone }}
+
+
+
+ {{ formData.req_date }}
+
+
+ ¥ {{ calcTotalAmount }}
+
+
+
+ {{ formData.note }}
+
+
+
+
+
+
申购明细
+ 添加物品
+
+
+
+
+
+
+ {{ scope.row.item_name }}
+
+
+
+
+
+ {{ scope.row.spec }}
+
+
+
+
+
+ {{ scope.row.unit }}
+
+
+
+
+
+ {{ scope.row.req_quantity }}
+
+
+
+
+
+ {{ scope.row.current_stock }}
+
+
+
+
+
+ {{ scope.row.need_date }}
+
+
+
+
+
+ {{ scope.row.purchase_quantity }}
+
+
+
+
+
+ {{ scope.row.unit_price }}
+
+
+
+
+ {{ calcRowTotal(scope.row) }}
+
+
+
+
+
+ {{ scope.row.note }}
+
+
+
+
+ 删除
+
+
+
+
+ 合计:¥ {{ calcTotalAmount }}
+
+
+
+
+
+ 删除
+ 提交审批
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/mpr/warehouse_entry.vue b/src/views/mpr/warehouse_entry.vue
new file mode 100644
index 00000000..232023a0
--- /dev/null
+++ b/src/views/mpr/warehouse_entry.vue
@@ -0,0 +1,133 @@
+
+
+
+
+ 新增入库单
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ actStateEnum[scope.row.ticket_?.act_state]?.text }}
+
+ {{ scope.row.ticket_?.state_?.name }}
+
+ 未提交
+
+
+
+
+
+
+
+
+
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/mpr/warehouse_entry_form.vue b/src/views/mpr/warehouse_entry_form.vue
new file mode 100644
index 00000000..fb8592fc
--- /dev/null
+++ b/src/views/mpr/warehouse_entry_form.vue
@@ -0,0 +1,304 @@
+
+
+
+
+
+ {{ formData.number || '自动生成' }}
+
+
+
+
+ {{ formData.warehouse_name }}
+
+
+
+ {{ formData.entry_date }}
+
+
+
+
+
+
+
+
+ {{ formData.entry_type_display }}
+
+
+
+
+
+
+
+ {{ formData.entry_method_display }}
+
+
+ ¥ {{ calcTotalAmount }}
+
+ {{ formData.create_by_name || currentUser.name }}
+ {{ formData.belong_dept_name || currentUser.belong_dept_name }}
+
+
+ {{ formData.note }}
+
+
+
+
+
+
入库明细
+ 添加物品
+
+
+
+
+
+
+ {{ scope.row.name }}
+
+
+
+
+
+ {{ scope.row.spec }}
+
+
+
+
+
+ {{ scope.row.unit }}
+
+
+
+
+
+ {{ scope.row.quantity }}
+
+
+
+
+
+ {{ scope.row.unit_price }}
+
+
+
+
+ {{ calcRowAmount(scope.row) }}
+
+
+
+
+
+ {{ scope.row.supplier_name }}
+
+
+
+
+
+
+ {{ scope.row.invoice_received ? '已收到' : '未收到' }}
+
+
+
+
+
+
+ {{ scope.row.note }}
+
+
+
+
+ 删除
+
+
+
+
+ 合计:¥ {{ calcTotalAmount }}
+
+
+
+
+
+ 删除
+ 提交审批
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/mpr/warehouse_stock.vue b/src/views/mpr/warehouse_stock.vue
new file mode 100644
index 00000000..f7d8983b
--- /dev/null
+++ b/src/views/mpr/warehouse_stock.vue
@@ -0,0 +1,112 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.amount }}
+
+
+
+
+ 已领完
+ 闲置
+ 领用中
+ 已领用
+ {{ scope.row.status_display }}
+
+
+
+
+
+
+ {{ scope.row.invoice_received ? '已收到' : '未收到' }}
+
+
+
+
+
+
+
+
+
diff --git a/src/views/ofm/borrowfile.vue b/src/views/ofm/borrowfile.vue
index 0c93ffc2..096c6fc5 100644
--- a/src/views/ofm/borrowfile.vue
+++ b/src/views/ofm/borrowfile.vue
@@ -7,6 +7,7 @@
icon="el-icon-plus"
@click="handleAdd"
>
+
import borrowlForm from "./borrowfile_form.vue";
+import ExportBtn from "./exportBtn.vue";
import { actStateEnum, interveneTypeEnum } from "@/utils/enum.js";
export default {
- components: { borrowlForm },
+ components: { borrowlForm, ExportBtn },
name: "index",
data() {
return {
@@ -137,6 +139,17 @@ export default {
limitedVisible: false,
mode: "show",
t_id: null,
+ exportCols: [
+ { header: "档案名称", key: "file_name", wch: 20 },
+ { header: "申请部门", key: "belong_dept_name", wch: 15 },
+ { header: "申请人", key: "create_by_name", wch: 12 },
+ { header: "申请人电话", key: "contacts", wch: 15 },
+ { header: "借阅时间", key: "borrow_date", wch: 15 },
+ { header: "借阅数量", key: "count", wch: 10 },
+ { header: "用途", key: "remark", wch: 20 },
+ { header: "归还时间", key: "return_date", wch: 15 },
+ { header: "审批状态", key: "_act_state_text", wch: 12 },
+ ],
};
},
methods: {
diff --git a/src/views/ofm/exportBtn.vue b/src/views/ofm/exportBtn.vue
new file mode 100644
index 00000000..153ea9a1
--- /dev/null
+++ b/src/views/ofm/exportBtn.vue
@@ -0,0 +1,83 @@
+
+
+ 导出
+
+
+ 导出本页数据
+ 导出全部数据
+
+
+
+
+
+
diff --git a/src/views/ofm/mroombooking.vue b/src/views/ofm/mroombooking.vue
index 01cb8e95..4b9d6aea 100644
--- a/src/views/ofm/mroombooking.vue
+++ b/src/views/ofm/mroombooking.vue
@@ -7,6 +7,7 @@
icon="el-icon-plus"
@click="handleAdd"
>
+
import bookingDialog from "./mroombooking_form.vue";
+import ExportBtn from "./exportBtn.vue";
import { actStateEnum, interveneTypeEnum } from "@/utils/enum.js";
export default {
name: "index",
- components: { bookingDialog },
+ components: { bookingDialog, ExportBtn },
data() {
return {
actStateEnum, interveneTypeEnum,
@@ -97,7 +99,14 @@ export default {
edit: "编辑会议预定",
show: "查看会议预定",
},
- mRoomList: []
+ mRoomList: [],
+ exportCols: [
+ { header: "标题", key: "title", wch: 20 },
+ { header: "会议室名称", key: "mroom_name", wch: 15 },
+ { header: "预约日期", key: "mdate", wch: 15 },
+ { header: "预约时间", key: "time_ranges", wch: 25 },
+ { header: "审批状态", key: "_act_state_text", wch: 12 },
+ ],
};
},
mounted() {
@@ -135,7 +144,7 @@ export default {
await this.$API.ofm.mroombooking.checkDelete.req(id);
this.$message.success("删除成功");
this.$refs.table.refresh();
- } catch (error) {
+ } catch (error) { // eslint-disable-line no-empty
}
},
//搜索
diff --git a/src/views/ofm/publicity.vue b/src/views/ofm/publicity.vue
index c2ec4777..eb9e6f5d 100644
--- a/src/views/ofm/publicity.vue
+++ b/src/views/ofm/publicity.vue
@@ -7,6 +7,7 @@
icon="el-icon-plus"
@click="handleAdd"
>
+
@@ -76,7 +77,21 @@