diff --git a/gsxt.zip b/gsxt.zip
index 6bcc12e..e69de29 100644
Binary files a/gsxt.zip and b/gsxt.zip differ
diff --git a/src/plugins/utils/dict.js b/src/plugins/utils/dict.js
index 67f576b..10bad5d 100644
--- a/src/plugins/utils/dict.js
+++ b/src/plugins/utils/dict.js
@@ -61,9 +61,9 @@ export function setCascader(id, array, childDeptList = 'childDeptList', fun) {
}
/**
* 当type=1时获取出生日期,type=2时获取性别,type=3时获取年龄 all
- * @param {*} IdCard
- * @param {*} type
- * @returns
+ * @param {*} IdCard
+ * @param {*} type
+ * @returns
*/
export function IdCard(IdCard, type) {
let user = {
diff --git a/src/router/index.js b/src/router/index.js
index 9b7c5f3..8066ee5 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -406,6 +406,14 @@ export const publicRoutes = [
title: "线索管理",
icon: "article"
}
+ }, {
+ path: "/InstructionInformation",
+ name: "InstructionInformation",
+ component: () => import("@/views/backOfficeSystem/ResearchJudgment/InformationFlows/InstructionInformation/index"),
+ meta: {
+ title: "线索下发管理",
+ icon: "article"
+ }
},
// {
// path: "/InformationFlows",
@@ -739,14 +747,6 @@ export const publicRoutes = [
title: "情报统计分析",
icon: "article"
}
- }, {
- path: "/InstructionInformation",
- name: "InstructionInformation",
- component: () => import("@/views/backOfficeSystem/ResearchJudgment/InformationFlows/InstructionInformation/index"),
- meta: {
- title: "情报指令",
- icon: "article"
- }
}, {
path: "/RecordsOperations",
name: "RecordsOperations",
diff --git a/src/utils/route.js b/src/utils/route.js
index b0820f0..b51a923 100644
--- a/src/utils/route.js
+++ b/src/utils/route.js
@@ -6,10 +6,7 @@ import { getItem } from '@/utils/storage'
const getChildrenRoutes = (routes) => {
const result = [];
const { deptBizType, deptLevel } = getItem('deptId')[0]
- const roleList = getItem('roleList').filter(item => item.roleCode == 'JS_666666').length > 0
- console.log(roleList);
- console.log(deptBizType, deptLevel);
-
+ const roleList = getItem('roleList') ? getItem('roleList').filter(item => item.roleCode == 'JS_666666').length > 0 : false
routes.forEach((route) => {
if (route.children && route.children.length > 0) {
if (deptBizType == '23' && roleList) {
diff --git a/src/views/backOfficeSystem/HumanIntelligence/infoCollection/index.vue b/src/views/backOfficeSystem/HumanIntelligence/infoCollection/index.vue
index bd18d21..c624a2e 100644
--- a/src/views/backOfficeSystem/HumanIntelligence/infoCollection/index.vue
+++ b/src/views/backOfficeSystem/HumanIntelligence/infoCollection/index.vue
@@ -72,7 +72,6 @@
-
@@ -190,8 +189,7 @@ const isShowTransferMerchantTc = ref(false)
const isShow = ref(false)
const searchConfiger = ref([
- { label: "开始时间", prop: "startTime", placeholder: "请选择开始时间", showType: "date" },
- { label: "结束时间", prop: "endTime", placeholder: "请选择结束时间", showType: "date" },
+ { label: "时间", prop: "startTime", placeholder: "请选择时间", showType: "daterange" },
{ label: "所属单位", prop: "ssbmdm", placeholder: "请选择所属单位", showType: "department" },
{ label: "情报标题", prop: 'qbmc', placeholder: "请输入情报标题", showType: "input" },
{ label: "标签级别", prop: 'qbjb', placeholder: "请选择标签级别", showType: "select", options: D_BZ_BQJB },
@@ -394,14 +392,12 @@ const handleSumbit = () => {
// 搜索
const onSearch = (val) => {
- const { lrkssj, zxkssj } = val
+
const promes = {
...pageData.pageConfiger,
...val,
- lrkssj: lrkssj ? lrkssj[0] : '',
- lrjssj: lrkssj ? lrkssj[1] : '',
- zxkssj: zxkssj ? zxkssj[0] : '',
- zxjssj: zxkssj ? zxkssj[1] : '',
+ startTime: val.startTime ? val.startTime[0] : '',
+ endTime: val.endTime ? val.endTime[1] : '',
}
queryFrom.value = { ...promes }
diff --git a/src/views/backOfficeSystem/ResearchJudgment/DatAcquisition/components/addForm.vue b/src/views/backOfficeSystem/ResearchJudgment/DatAcquisition/components/addForm.vue
index 87f53fb..7e555c3 100644
--- a/src/views/backOfficeSystem/ResearchJudgment/DatAcquisition/components/addForm.vue
+++ b/src/views/backOfficeSystem/ResearchJudgment/DatAcquisition/components/addForm.vue
@@ -90,7 +90,7 @@ const formData = ref([
{ label: "所属专题", prop: "sszt", type: "select", options: props.dic.D_BZ_SSZT },
{ prop: "gapline", type: "slot", width: '100%' },
{ prop: "scfj", type: "slot", width: '100%' },
- { label: "线索内容", prop: "xsnr", type: "textarea", width: '100%' },
+ { label: "线索内容", prop: "qbnr", type: "textarea", width: '100%' },
]);
const fjdz = ref()
const listQuery = ref({}); //表单
diff --git a/src/views/backOfficeSystem/ResearchJudgment/DatAcquisition/components/xsxf.vue b/src/views/backOfficeSystem/ResearchJudgment/DatAcquisition/components/xsxf.vue
new file mode 100644
index 0000000..bf02a3c
--- /dev/null
+++ b/src/views/backOfficeSystem/ResearchJudgment/DatAcquisition/components/xsxf.vue
@@ -0,0 +1,112 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/backOfficeSystem/ResearchJudgment/DatAcquisition/index.vue b/src/views/backOfficeSystem/ResearchJudgment/DatAcquisition/index.vue
index bf01658..dc5f23c 100644
--- a/src/views/backOfficeSystem/ResearchJudgment/DatAcquisition/index.vue
+++ b/src/views/backOfficeSystem/ResearchJudgment/DatAcquisition/index.vue
@@ -3,106 +3,68 @@
-
+
+
+
新增
-
-
+
+
+
+
批量删除
-
+
-
-
+
+
-
-
+
+
-
-
-
+
+
+
+
+
-
+ 详情
+
+ 编辑
+ 审核
+ 删除
-
-
-
- 编辑
- 审核
- 删除
-
- 详情
-
- 线索下发
-
+ 线索下发
-
+
-
+
-
+
+
-
diff --git a/src/views/backOfficeSystem/ResearchJudgment/InformationFlows/InstructionInformation/components/detailForm.vue b/src/views/backOfficeSystem/ResearchJudgment/InformationFlows/InstructionInformation/components/detailForm.vue
index ae72096..51d2b61 100644
--- a/src/views/backOfficeSystem/ResearchJudgment/InformationFlows/InstructionInformation/components/detailForm.vue
+++ b/src/views/backOfficeSystem/ResearchJudgment/InformationFlows/InstructionInformation/components/detailForm.vue
@@ -3,19 +3,43 @@
指令{{ title }}
- 保存
+ 保存
关闭
-
-
-
-
- {{ listQuery.glxs }}
- 请选择关联线索
-
-
-
+
@@ -26,7 +50,6 @@
import Xslist from '@/components/ChooseList/ChooseXs/index.vue'
import FormMessage from '@/components/aboutTable/FormMessage.vue'
import { qcckGet, qcckPost, qcckPut } from "@/api/qcckApi.js";
-import * as rule from "@/utils/rules.js";
import { ref, defineExpose, reactive, onMounted, defineEmits, getCurrentInstance, nextTick } from "vue";
const emit = defineEmits(["updateDate"]);
const props = defineProps({
@@ -38,16 +61,16 @@ const { proxy } = getCurrentInstance();
const dialogForm = ref(false); //弹窗
const formData = ref([
{ label: "指令标题", prop: "zlbt", type: "input", },
- { label: "指令类型", prop: "zllx", type: "select", options: props.dic.D_GS_XS_ZLLX },
- { label: "指令等级", prop: "zldj", type: "select", options: props.dic.D_GS_ZDQT_FXDJ },
- { label: "反馈结束时间", prop: "jssj", type: "datetime" },
- { label: "联系人", prop: "zllxr", type: "input" },
- { label: "联系电话", prop: "zllxdh", type: "input" },
- { label: "关联线索", prop: "glxsid", type: "slot" },
- { label: "主送单位", prop: "zsdw", type: "department" },
- { label: "抄送单位", prop: "csdw", type: "department" },
- { label: "指令内容", prop: "zlnr", type: "textarea",width: '100%' },
- { label: "附件", prop: "fjzd", type: "upload",width: '100%' },
+ { label: "指令类型", prop: "zllx", type: "select", options: props.dic.D_GS_XS_ZLLX },
+ { label: "指令等级", prop: "zldj", type: "select", options: props.dic.D_GS_ZDQT_FXDJ },
+ { label: "反馈结束时间", prop: "jssj", type: "datetime" },
+ { label: "联系人", prop: "zllxr", type: "input" },
+ { label: "联系电话", prop: "zllxdh", type: "input" },
+ { label: "关联线索", prop: "glxsid", type: "slot" },
+ { label: "主送单位", prop: "zsdw", type: "department" },
+ { label: "抄送单位", prop: "csdw", type: "department" },
+ { label: "指令内容", prop: "zlnr", type: "textarea", width: '100%' },
+ { label: "附件", prop: "fjzd", type: "upload", width: '100%' },
]);
const listQuery = ref({}); //表单
const loading = ref(false);
@@ -69,14 +92,18 @@ const rules = reactive({
const init = (type, row,) => {
listQuery.value.fjzd = null
dialogForm.value = true;
- title.value = type == 'add' ? "新增" : "编辑";
+ title.value = type == 'add' ? '新增' : type == 'info' ? '详情' : '编辑';
+
if (row) getDataById(row.id);
};
// 根据id查询详情
const getDataById = (id) => {
- qcckGet({id}, '/mosty-gsxt/zlxx/selectByid').then((res) => {
- res.fjzd = res.fjzd ? res.fjzd.split(','):[];
- listQuery.value = res;
+ qcckGet({ id }, '/mosty-gsxt/zlxx/selectByid').then((res) => {
+ res.fjzd = res.fjzd ? res.fjzd.split(',') : [];
+ listQuery.value = {
+ ...res,
+ czlcList: res.czlcList ? res.czlcList.reverse() : []
+ };
});
};
@@ -84,22 +111,22 @@ const getDataById = (id) => {
const choosed = (val) => {
listQuery.value.glxs = val[0].xsMc;
listQuery.value.glxsid = val[0].id;
- roleIds.value = val.map(v=>v.id)
+ roleIds.value = val.map(v => v.id)
}
// 提交
const submit = () => {
- elform.value.submit((data)=>{
- let url = title.value == "新增" ? '/mosty-gsxt/zlxx/add':'/mosty-gsxt/zlxx/update';
+ elform.value.submit((data) => {
+ let url = title.value == "新增" ? '/mosty-gsxt/zlxx/add' : '/mosty-gsxt/zlxx/update';
let params = { ...data }
loading.value = true;
- params.fjzd = params.fjzd ? params.fjzd.join(','):''
+ params.fjzd = params.fjzd ? params.fjzd.join(',') : ''
qcckPost(params, url).then((res) => {
loading.value = false;
proxy.$message({ type: "success", message: title.value + "成功" });
emit("updateDate");
close();
- }).catch(() => {loading.value = false;});
+ }).catch(() => { loading.value = false; });
});
};
@@ -115,11 +142,115 @@ defineExpose({ init });
diff --git a/src/views/backOfficeSystem/ResearchJudgment/InformationFlows/InstructionInformation/components/fk.vue b/src/views/backOfficeSystem/ResearchJudgment/InformationFlows/InstructionInformation/components/fk.vue
new file mode 100644
index 0000000..72123f4
--- /dev/null
+++ b/src/views/backOfficeSystem/ResearchJudgment/InformationFlows/InstructionInformation/components/fk.vue
@@ -0,0 +1,78 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/backOfficeSystem/ResearchJudgment/InformationFlows/InstructionInformation/index.vue b/src/views/backOfficeSystem/ResearchJudgment/InformationFlows/InstructionInformation/index.vue
index e738fa4..f5edb03 100644
--- a/src/views/backOfficeSystem/ResearchJudgment/InformationFlows/InstructionInformation/index.vue
+++ b/src/views/backOfficeSystem/ResearchJudgment/InformationFlows/InstructionInformation/index.vue
@@ -31,9 +31,18 @@
+
+
+ {{ row.sffk == '1' ? '已反馈' : '未反馈' }}
+
+
+ {{ row.sfqs == '0' ? '未签收' : '已签收' }}
+ 签收
+ 反馈
编辑
+ 详情
删除
@@ -50,6 +59,7 @@
+
+
+
diff --git a/src/views/home/components/totalNumberClues.vue b/src/views/home/components/totalNumberClues.vue
index 9fbe043..a6bc26c 100644
--- a/src/views/home/components/totalNumberClues.vue
+++ b/src/views/home/components/totalNumberClues.vue
@@ -1,36 +1,30 @@
-
-
+
+
-
+
-
+
-
+
-
+
+ {{ row.sffk == '1' ? '已反馈' : '未反馈' }}
+
+
+ {{ row.sfqs == '0' ? '未签收' : '已签收' }}
+
-
+