diff --git a/src/views/kc/config/KcExportConfigTpkwcqkjzglxListAll.vue b/src/views/kc/config/KcExportConfigTpkwcqkjzglxListAll.vue
new file mode 100644
index 0000000..39dc99b
--- /dev/null
+++ b/src/views/kc/config/KcExportConfigTpkwcqkjzglxListAll.vue
@@ -0,0 +1,30 @@
+
+
+
+
+
+
diff --git a/src/views/kc/config/KcExportConfigTpkwcqkjzglxListNew.vue b/src/views/kc/config/KcExportConfigTpkwcqkjzglxListNew.vue
index a5ab190..7ed4d94 100644
--- a/src/views/kc/config/KcExportConfigTpkwcqkjzglxListNew.vue
+++ b/src/views/kc/config/KcExportConfigTpkwcqkjzglxListNew.vue
@@ -15,6 +15,7 @@
查询
PDF导出
Excel导出
+ PDF职位映射
@@ -27,31 +28,31 @@
-
+
{{item.zrs}}
总人数
-
+
{{item.ywcrs}}
已完成人数
-
+
{{item.wwcrs}}
未完成人数
-
+
{{item.ypkcs}}
应评课次数
-
+
{{item.sjpkcs}}
已评课次数
@@ -65,31 +66,31 @@
-
+
{{item.zrs}}
总人数
-
+
{{item.ywcrs}}
已完成人数
-
+
{{item.wwcrs}}
未完成人数
-
+
{{item.ypkcs}}
应评课次数
-
+
{{item.sjpkcs}}
已评课次数
@@ -104,6 +105,9 @@
+
+
+
@@ -117,11 +121,17 @@
import { useListPage } from '/@/hooks/system/useListPage';
import StaticConModal from '/@/views/kc/config/StaticCon/StaticConModal.vue';
import StaticConChartModal from '/@/views/kc/config/StaticCon/StaticConChartModal.vue';
+ import KcZwtksfInfoListModal from '/@/views/kc/kcZwtksfInfo/KcZwtksfInfoListModal.vue';
+ import StaticConXyglyChartModal from '/@/views/kc/config/StaticCon/StaticConXyglyChartModal.vue';
+ import StaticConGlyChartModal from '/@/views/kc/config/StaticCon/StaticConGlyChartModal.vue';
-
const StaticCon = ref();
const StaticConChart = ref();
+ const KcZwtksfInfoList = ref();
+ const StaticConXyglyChart = ref();
+ const StaticConGlyChart = ref();
+
const queryParam = ref({});
const roleList = computed(() => getUserInfo()?.roleList??[]);
@@ -145,14 +155,34 @@
sm: { span: 16 },
});
- function handleEdit(record) {
+ function pdfzwys(){
+ KcZwtksfInfoList.value.disableSubmit = true;
+ KcZwtksfInfoList.value.add();
+ }
+ function handleEdit(record,type) {
+ record.type = type;
StaticCon.value.disableSubmit = true;
StaticCon.value.edit(record);
}
function chartFun(record) {
+ var ttt = roleList.value.filter(x => x.roleCode == 'admin' ).length;
+ if(record.title == "其他专任教师"){
+ console.log(`111111111111`)
+ if(ttt == 1){//管理员
+ console.log(`2222`)
+ StaticConGlyChart.value.disableSubmit = true;
+ StaticConGlyChart.value.edit(record);
+ }else{//教务秘书
+ console.log(`3333`)
+ StaticConXyglyChart.value.disableSubmit = true;
+ StaticConXyglyChart.value.edit(record);
+ }
+ }else{
StaticConChart.value.disableSubmit = true;
StaticConChart.value.edit(record);
+ }
+
}
/**
* 查询
diff --git a/src/views/kc/config/KcExportConfigTpkwcqkjzglxListOld.vue b/src/views/kc/config/KcExportConfigTpkwcqkjzglxListOld.vue
deleted file mode 100644
index 02b841d..0000000
--- a/src/views/kc/config/KcExportConfigTpkwcqkjzglxListOld.vue
+++ /dev/null
@@ -1,355 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 无文件
- 下载
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/kc/config/StaticCon/StaticCon.vue b/src/views/kc/config/StaticCon/StaticCon.vue
index 4bbce1f..6839372 100644
--- a/src/views/kc/config/StaticCon/StaticCon.vue
+++ b/src/views/kc/config/StaticCon/StaticCon.vue
@@ -1,6 +1,24 @@
+
@@ -176,6 +194,7 @@
function init(record){
console.log(`🚀 ~ file: StaticCon.vue:177 ~ init ~ record:`, record)
queryParam.value.code = record.code;
+ queryParam.value.type = record.type;
reload();
}
diff --git a/src/views/kc/config/StaticCon/StaticConGly.api.ts b/src/views/kc/config/StaticCon/StaticConGly.api.ts
new file mode 100644
index 0000000..6287f89
--- /dev/null
+++ b/src/views/kc/config/StaticCon/StaticConGly.api.ts
@@ -0,0 +1,72 @@
+import { defHttp } from '/@/utils/http/axios';
+import { useMessage } from "/@/hooks/web/useMessage";
+
+const { createConfirm } = useMessage();
+
+enum Api {
+ list = '/config/kcExportConfigTpkwcqkjzglx/getListQtzrjs',
+ save='/config/kcExportConfigTpkwcqkjzglx/add',
+ edit='/config/kcExportConfigTpkwcqkjzglx/edit',
+ deleteOne = '/config/kcExportConfigTpkwcqkjzglx/delete',
+ deleteBatch = '/config/kcExportConfigTpkwcqkjzglx/deleteBatch',
+ importExcel = '/config/kcExportConfigTpkwcqkjzglx/importExcel',
+ exportXls = '/config/kcExportConfigTpkwcqkjzglx/exportXls',
+}
+
+/**
+ * 导出api
+ * @param params
+ */
+export const getExportUrl = Api.exportXls;
+
+/**
+ * 导入api
+ */
+export const getImportUrl = Api.importExcel;
+
+/**
+ * 列表接口
+ * @param params
+ */
+export const list = (params) => defHttp.get({ url: Api.list, params });
+
+/**
+ * 删除单个
+ * @param params
+ * @param handleSuccess
+ */
+export const deleteOne = (params,handleSuccess) => {
+ return defHttp.delete({url: Api.deleteOne, params}, {joinParamsToUrl: true}).then(() => {
+ handleSuccess();
+ });
+}
+
+/**
+ * 批量删除
+ * @param params
+ * @param handleSuccess
+ */
+export const batchDelete = (params, handleSuccess) => {
+ createConfirm({
+ iconType: 'warning',
+ title: '确认删除',
+ content: '是否删除选中数据',
+ okText: '确认',
+ cancelText: '取消',
+ onOk: () => {
+ return defHttp.delete({url: Api.deleteBatch, data: params}, {joinParamsToUrl: true}).then(() => {
+ handleSuccess();
+ });
+ }
+ });
+}
+
+/**
+ * 保存或者更新
+ * @param params
+ * @param isUpdate
+ */
+export const saveOrUpdate = (params, isUpdate) => {
+ let url = isUpdate ? Api.edit : Api.save;
+ return defHttp.post({ url: url, params }, { isTransformResponse: false });
+}
diff --git a/src/views/kc/config/StaticCon/StaticConGly.data.ts b/src/views/kc/config/StaticCon/StaticConGly.data.ts
new file mode 100644
index 0000000..26e9e39
--- /dev/null
+++ b/src/views/kc/config/StaticCon/StaticConGly.data.ts
@@ -0,0 +1,86 @@
+import {BasicColumn} from '/@/components/Table';
+import {FormSchema} from '/@/components/Table';
+import { rules} from '/@/utils/helper/validator';
+import { render } from '/@/utils/common/renderUtils';
+//列表数据
+export const columns: BasicColumn[] = [
+ {
+ title: '学院名称',
+ align: "center",
+ dataIndex: 'dwmc'
+ },
+ {
+ title: '姓名',
+ align: "center",
+ dataIndex: 'xm'
+ },
+ {
+ title: '任教专业',
+ align: "center",
+ dataIndex: 'rjzy'
+ },
+ // {
+ // title: '听课身份',
+ // align: "center",
+ // dataIndex: 'tksf'
+ // },
+ {
+ title: '本学期应听课次数',
+ align: "center",
+ dataIndex: 'ytkcs'
+ },
+ {
+ title: '本学期实际听课次数',
+ align: "center",
+ dataIndex: 'sjtkcs'
+ },
+];
+
+//查询数据
+export const searchFormSchema: FormSchema[] = [
+ {
+ label: "教师",
+ field: 'gh',
+ component: 'JDictSelectTag',
+ componentProps:{
+ dictCode: "xxhbuser,xm,gh"
+ },
+ colProps: {span: 6},
+ },
+ {
+ label: "听课类型",
+ field: 'tklx',
+ component: 'JDictSelectTag',
+ componentProps:{
+ dictCode: "tpkwcqkjzglx"
+ },
+ colProps: {span: 6},
+ },
+];
+
+//表单数据
+export const formSchema: FormSchema[] = [
+ {
+ label: '教师',
+ field: 'gh',
+ component: 'JDictSelectTag',
+ componentProps:{
+ dictCode: "xxhbuser,xm,gh"
+ },
+ },
+ {
+ label: '听课类型',
+ field: 'tklx',
+ component: 'JDictSelectTag',
+ componentProps:{
+ dictCode: "tpkwcqkjzglx"
+ },
+ },
+ // TODO 主键隐藏字段,目前写死为ID
+ {
+ label: '',
+ field: 'id',
+ component: 'Input',
+ show: false,
+ },
+];
diff --git a/src/views/kc/config/StaticCon/StaticConGlyChart.vue b/src/views/kc/config/StaticCon/StaticConGlyChart.vue
new file mode 100644
index 0000000..93bac7f
--- /dev/null
+++ b/src/views/kc/config/StaticCon/StaticConGlyChart.vue
@@ -0,0 +1,226 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 无文件
+ 下载
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/kc/config/StaticCon/StaticConGlyChartModal.vue b/src/views/kc/config/StaticCon/StaticConGlyChartModal.vue
new file mode 100644
index 0000000..c7068fa
--- /dev/null
+++ b/src/views/kc/config/StaticCon/StaticConGlyChartModal.vue
@@ -0,0 +1,75 @@
+
+
+
+
+
+
+
+
+
diff --git a/src/views/kc/config/StaticCon/StaticConXygly.api.ts b/src/views/kc/config/StaticCon/StaticConXygly.api.ts
new file mode 100644
index 0000000..f412d82
--- /dev/null
+++ b/src/views/kc/config/StaticCon/StaticConXygly.api.ts
@@ -0,0 +1,72 @@
+import { defHttp } from '/@/utils/http/axios';
+import { useMessage } from "/@/hooks/web/useMessage";
+
+const { createConfirm } = useMessage();
+
+enum Api {
+ list = '/config/kcExportConfigTpkwcqkjzglx/getListQtzrjsChar',
+ save='/config/kcExportConfigTpkwcqkjzglx/add',
+ edit='/config/kcExportConfigTpkwcqkjzglx/edit',
+ deleteOne = '/config/kcExportConfigTpkwcqkjzglx/delete',
+ deleteBatch = '/config/kcExportConfigTpkwcqkjzglx/deleteBatch',
+ importExcel = '/config/kcExportConfigTpkwcqkjzglx/importExcel',
+ exportXls = '/config/kcExportConfigTpkwcqkjzglx/exportXls',
+}
+
+/**
+ * 导出api
+ * @param params
+ */
+export const getExportUrl = Api.exportXls;
+
+/**
+ * 导入api
+ */
+export const getImportUrl = Api.importExcel;
+
+/**
+ * 列表接口
+ * @param params
+ */
+export const list = (params) => defHttp.get({ url: Api.list, params });
+
+/**
+ * 删除单个
+ * @param params
+ * @param handleSuccess
+ */
+export const deleteOne = (params,handleSuccess) => {
+ return defHttp.delete({url: Api.deleteOne, params}, {joinParamsToUrl: true}).then(() => {
+ handleSuccess();
+ });
+}
+
+/**
+ * 批量删除
+ * @param params
+ * @param handleSuccess
+ */
+export const batchDelete = (params, handleSuccess) => {
+ createConfirm({
+ iconType: 'warning',
+ title: '确认删除',
+ content: '是否删除选中数据',
+ okText: '确认',
+ cancelText: '取消',
+ onOk: () => {
+ return defHttp.delete({url: Api.deleteBatch, data: params}, {joinParamsToUrl: true}).then(() => {
+ handleSuccess();
+ });
+ }
+ });
+}
+
+/**
+ * 保存或者更新
+ * @param params
+ * @param isUpdate
+ */
+export const saveOrUpdate = (params, isUpdate) => {
+ let url = isUpdate ? Api.edit : Api.save;
+ return defHttp.post({ url: url, params }, { isTransformResponse: false });
+}
diff --git a/src/views/kc/config/StaticCon/StaticConXyglyChart.vue b/src/views/kc/config/StaticCon/StaticConXyglyChart.vue
new file mode 100644
index 0000000..0c8fd96
--- /dev/null
+++ b/src/views/kc/config/StaticCon/StaticConXyglyChart.vue
@@ -0,0 +1,48 @@
+
+
+
+
+
diff --git a/src/views/kc/config/StaticCon/StaticConXyglyChartBar.vue b/src/views/kc/config/StaticCon/StaticConXyglyChartBar.vue
new file mode 100644
index 0000000..3742b85
--- /dev/null
+++ b/src/views/kc/config/StaticCon/StaticConXyglyChartBar.vue
@@ -0,0 +1,109 @@
+
+
+
+
diff --git a/src/views/kc/config/StaticCon/StaticConXyglyChartModal.vue b/src/views/kc/config/StaticCon/StaticConXyglyChartModal.vue
new file mode 100644
index 0000000..17ac87d
--- /dev/null
+++ b/src/views/kc/config/StaticCon/StaticConXyglyChartModal.vue
@@ -0,0 +1,75 @@
+
+
+
+
+
+
+
+
+