From b8f943ca7916f9b3b622cd5bb87ae4540f825b98 Mon Sep 17 00:00:00 2001
From: Esacpe <1113279529@qq.com>
Date: Sun, 20 Jul 2025 19:20:12 +0800
Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/aboutTable/Search.vue | 88 +++----------------
.../components/addForm.vue | 31 +++----
.../ConstructionManagement/index.vue | 64 ++++----------
.../TaskScheduling/components/addForm.vue | 6 +-
.../TaskScheduling/index.vue | 9 +-
.../IntelligenceManagement/index.vue | 11 +--
.../IntelligenceManagement/qbypfx/index.vue | 53 +++++++++++
7 files changed, 104 insertions(+), 158 deletions(-)
create mode 100644 src/views/backOfficeSystem/ResearchJudgment/IntelligenceManagement/qbypfx/index.vue
diff --git a/src/components/aboutTable/Search.vue b/src/components/aboutTable/Search.vue
index 4462e9c..efb0e6c 100644
--- a/src/components/aboutTable/Search.vue
+++ b/src/components/aboutTable/Search.vue
@@ -74,7 +74,7 @@
-
+
@@ -125,7 +125,6 @@
{
- if (value == "08") {
- searchObj[item.prop] = value;
- isShowDate.value = true;
- } else {
- timeConfig.typeValue = value;
- searchObj[item.prop] = value;
- submit();
- }
-};
-//自定义时间确定时间
-const chooseDateOk = (item) => {
- timeConfig.typeValue = "08";
- if (timeConfig.timeArry && timeConfig.timeArry.length) {
- //选择了时间
- searchObj[item.propStart] = timeConfig.timeArry[0];
- searchObj[item.propEnd] = timeConfig.timeArry[1];
- } else {
- //清空了时间
- searchObj[item.prop] = "01";
- timeConfig.typeValue = "01";
- }
- isShowDate.value = false;
- submit();
-};
-//全所-部门选择回调
-const organizatioHland = (val) => {
- let item = getArr.find((item) => item.showType == "qsOrZdy");
- searchObj[item.propBm] = val?.data?.orgCode || "";
- if (!val || val == "") {
- //清空了部门选择后清空责任区ID
- slectType.value = "qs";
- delete searchObj[item.propZrq];
- }
- submit();
-};
-//全所-责任区回调
-const zrqHland = (val) => {
- let item = getArr.find((item) => item.showType == "qsOrZdy");
- searchObj[item.propZrq] = val || ""; //责任区选择
- submit();
-};
-//自定义时间取消事件
-const popoverCancel = (item) => {
- isShowDate.value = false;
-};
// 设置不可选的日期
const disabledDate = (time) => {
return time.getTime() > Date.now();
@@ -513,10 +458,6 @@ const cascaderLazyProps = reactive({
resolve(options);
}
});
-// 级联框选择
-function changeca(v) {
- console.log("vvvv", v);
-}
// 获取到传过来的参数
let getArr = reactive([]);
const submit = () => {
@@ -529,25 +470,22 @@ const reset = () => {
emit("submit", searchObj);
emit("reset", false);
};
-let dataOptions = reactive([]); //时间字典筛选
watchEffect(() => {
loadingPage.value = true;
- getArr = JSON.parse(JSON.stringify(props.searchArr));
- getArr = getArr.map((item) => {
+ let arr = JSON.parse(JSON.stringify(props.searchArr));
+ getArr = arr.map((item) => {
switch (item.showType) {
case "select":
item = { ...selectDefault, ...item };
item.options = reactive(item.options);
getOptions[item.prop] = item.options;
break;
- case "input":
- item = { ...inputDefault, ...item };
+ case "input":
+ item = { ...inputDefault, ...item };
break;
case "daterange":
item = { ...daterangeDefault, ...item };
- if (item.defaultShortcuts) {
- item.shortcuts = shortcuts;
- }
+ if (item.defaultShortcuts) item.shortcuts = shortcuts;
break;
case "date":
item = { ...defaultDate, ...item };
diff --git a/src/views/backOfficeSystem/HumanIntelligence/ConstructionManagement/components/addForm.vue b/src/views/backOfficeSystem/HumanIntelligence/ConstructionManagement/components/addForm.vue
index 5ab3235..81c6461 100644
--- a/src/views/backOfficeSystem/HumanIntelligence/ConstructionManagement/components/addForm.vue
+++ b/src/views/backOfficeSystem/HumanIntelligence/ConstructionManagement/components/addForm.vue
@@ -3,23 +3,12 @@
社会信息人员建设管理{{ title }}
- 保存
+ 保存
关闭
-
+
@@ -91,12 +80,12 @@ const validateIdentity = () => {
callback(new Error("身份证地区非法"));
// 出生日期验证
var sBirthday = (
- value.substr(6, 4) +
- "-" +
- Number(value.substr(10, 2)) +
- "-" +
- Number(value.substr(12, 2))
- ).replace(/-/g, "-"),
+ value.substr(6, 4) +
+ "-" +
+ Number(value.substr(10, 2)) +
+ "-" +
+ Number(value.substr(12, 2))
+ ).replace(/-/g, "-"),
d = new Date(sBirthday);
let yyyy = d.getFullYear();
let mm = d.getMonth() + 1;
@@ -166,7 +155,7 @@ const rules = reactive({
],
...rule.phoneRule({ require: true, validator: true }, "ryLxdh") // 是否必填 是否进行校验 可以传第二个参数
});
-onMounted(() => {});
+onMounted(() => { });
// 初始化数据
const init = (type, row) => {
@@ -195,7 +184,7 @@ const submit = () => {
emit("updateDate");
close();
})
- .catch(() => {});
+ .catch(() => { });
});
};
diff --git a/src/views/backOfficeSystem/HumanIntelligence/ConstructionManagement/index.vue b/src/views/backOfficeSystem/HumanIntelligence/ConstructionManagement/index.vue
index a80c206..5ae81de 100644
--- a/src/views/backOfficeSystem/HumanIntelligence/ConstructionManagement/index.vue
+++ b/src/views/backOfficeSystem/HumanIntelligence/ConstructionManagement/index.vue
@@ -3,68 +3,39 @@
-
+
+
+
新增
-
-
- 导入
-
-
-
- 导出
-
-
+
-
+
- 编辑
- 删除
+ 编辑
+ 删除
-
+
-
+
@@ -76,7 +47,6 @@ import Search from "@/components/aboutTable/Search.vue";
import DetailForm from "./components/addForm.vue";
import { qcckGet, qcckPost, qcckDelete } from "@/api/qcckApi.js";
import { reactive, ref, onMounted, getCurrentInstance, nextTick } from "vue";
-import { CirclePlus, Upload, Download } from "@element-plus/icons-vue";
import { ElMessage } from "element-plus";
const { proxy } = getCurrentInstance();
const { D_BZ_WHCD, D_BZ_MZ, D_BZ_XB, D_BZ_ZZMM } = proxy.$dict(
@@ -111,7 +81,7 @@ const pageData = reactive({
pageSize: 20,
pageCurrent: 1
},
- controlsWidth: 200,
+ controlsWidth: 120,
tableColumn: [
{ label: "姓名", prop: "ryXm" },
{ label: "联系电话", prop: "ryLxdh" },
@@ -169,7 +139,7 @@ const deleteRow = (id) => {
getList();
});
})
- .catch(() => {});
+ .catch(() => { });
};
// 详情
diff --git a/src/views/backOfficeSystem/HumanIntelligence/TaskScheduling/components/addForm.vue b/src/views/backOfficeSystem/HumanIntelligence/TaskScheduling/components/addForm.vue
index e57ecea..ab075ad 100644
--- a/src/views/backOfficeSystem/HumanIntelligence/TaskScheduling/components/addForm.vue
+++ b/src/views/backOfficeSystem/HumanIntelligence/TaskScheduling/components/addForm.vue
@@ -75,6 +75,7 @@ const dialogForm = ref(false); //弹窗
const rules = reactive({
bsDwDm: [{ required: true, message: "请选择报送单位", trigger: "change" }],
+ ssbmdm: [{ required: true, message: "请选择所属部门", trigger: "change" }],
rwBt: [{ required: true, message: "请输入任务标题", trigger: "blur" }],
rwBh: [{ required: true, message: "请输入任务编号", trigger: "blur" }],
rwLy: [{ required: true, message: "请选择任务来源", trigger: "change" }],
@@ -84,7 +85,7 @@ const rules = reactive({
rwNr: [{ required: true, message: "请输入任务内容", trigger: "blur" }],
});
const formData = ref([
- { label: "所属单位", prop: "ssbmdm",depMc:'ssbmmc', type: "department" },
+ { label: "所属部门", prop: "ssbmdm",depMc:'ssbmmc', type: "department" },
{ label: "报送单位", prop: "bsDwDm",depMc:'bsDwMc', type: "department" },
{ label: "任务标题", prop: "rwBt", type: "input" },
{ label: "任务编号", prop: "rwBh", type: "input" },
@@ -109,6 +110,7 @@ const init = (type, row) => {
if (row) {
qcckGet({}, "/mosty-gsxt/tbGsxtRlqbRwdd/selectVoById/" + row.id).then((res) => {
res.xsList = res.xsList || [];
+ roleIdsxs.value = res.xsList.map(v=>v.id);
listQuery.value = res;
});
}
@@ -141,8 +143,8 @@ const choosed = (data) => {
// 关闭
const close = () => {
listQuery.value = {};
- dialogForm.value = false;
loading.value = false;
+ dialogForm.value = false;
};
// 删除
const delDictItem = (id) => {
diff --git a/src/views/backOfficeSystem/HumanIntelligence/TaskScheduling/index.vue b/src/views/backOfficeSystem/HumanIntelligence/TaskScheduling/index.vue
index 6e71511..4965f33 100644
--- a/src/views/backOfficeSystem/HumanIntelligence/TaskScheduling/index.vue
+++ b/src/views/backOfficeSystem/HumanIntelligence/TaskScheduling/index.vue
@@ -12,14 +12,7 @@
-
-
-
-
-
-
-
-
+
diff --git a/src/views/backOfficeSystem/ResearchJudgment/IntelligenceManagement/index.vue b/src/views/backOfficeSystem/ResearchJudgment/IntelligenceManagement/index.vue
index 84c575b..fd1bf24 100644
--- a/src/views/backOfficeSystem/ResearchJudgment/IntelligenceManagement/index.vue
+++ b/src/views/backOfficeSystem/ResearchJudgment/IntelligenceManagement/index.vue
@@ -2,11 +2,8 @@
@@ -60,10 +57,14 @@
+
+
+
+
+
\ No newline at end of file