+
{{ listQuery.kkMc }}
请选择环林卡口
@@ -104,7 +54,7 @@ import { ElMessage } from "element-plus";
const props = defineProps({
dict: {
type: Object,
- default: () => {}
+ default: () => { }
}
});
const rules = reactive({
@@ -145,24 +95,34 @@ const pageInfo = {
title: "详情"
}
};
-onMounted(() => {});
+onMounted(() => { });
let pageType = ref("add");
//打开弹窗
const showJcz = ref(false);
-
+const openJcz = (val) => {
+ if (!val) {
+ showJcz.value = true;
+ }
+};
const JczMsg = (val) => {
listQuery.value.kkMc = val.jczmc;
listQuery.value.kkId = val.id;
};
+const compile = ref(false)
// 初始化数据
const init = (type, row) => {
pageType.value = type;
dialogForm.value = true;
// 根据type和row初始化表单数据
tabHeightFn();
- if (type == "edit") {
+ if (type == 'detail') {
+ listQuery.value = { ...row };
+ compile.value = true
+ } else if (type == "edit") {
+ compile.value = false
listQuery.value = { ...row };
} else {
+ compile.value = false
listQuery.value = {};
}
};
@@ -208,21 +168,25 @@ defineExpose({ init });
diff --git a/src/views/backOfficeSystem/peopleManag/instrument/index copy.vue b/src/views/backOfficeSystem/peopleManag/instrument/index copy.vue
deleted file mode 100644
index 4b2130f..0000000
--- a/src/views/backOfficeSystem/peopleManag/instrument/index copy.vue
+++ /dev/null
@@ -1,216 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 修改
- 删除
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/backOfficeSystem/peopleManag/instrument/index.vue b/src/views/backOfficeSystem/peopleManag/instrument/index.vue
index d17d414..1a28dfa 100644
--- a/src/views/backOfficeSystem/peopleManag/instrument/index.vue
+++ b/src/views/backOfficeSystem/peopleManag/instrument/index.vue
@@ -2,7 +2,7 @@
-
+
新增
-
-
+
+
+
+
+
-
- 修改
- 删除
+
+ 修改
+ 删除
+
+ 详情
@@ -51,10 +56,9 @@
:dict="{
D_BZ_ZBLX_LZ,
D_BZ_SF,
- D_ZDY_SBZT,
D_JCGL_TCSB_WLLX,
D_JCGL_JYQX_QXLX,
- D_ZDY_SBZT
+ D_ZDY_SBZT,D_BZ_JYQXFL
}"
@getjczgetXfllList="getjczgetXfllList"
/>
@@ -65,9 +69,11 @@
import PageTitle from "@/components/aboutTable/PageTitle.vue";
import MyTable from "@/components/aboutTable/MyTable.vue";
import Pages from "@/components/aboutTable/Pages.vue";
+import {isAuth }from '@/utils/tools.js'
import Search from "@/components/aboutTable/Search.vue";
import EditAddForm from "./components/editAddForm.vue";
-import { tbJczXfbbselectJyqx, TcsbtbJczTcsb } from "@/api/mosty-jcz.js";
+import { tbJczSelectJyqx, tbJczXfbbdeleteJyQxzb } from "@/api/mosty-jcz.js";
+import { ElMessage } from "element-plus";
import { reactive, ref, onMounted, getCurrentInstance, watch } from "vue";
const { proxy } = getCurrentInstance();
@@ -76,13 +82,13 @@ const {
D_BZ_SF,
D_ZDY_SBZT,
D_JCGL_TCSB_WLLX,
- D_BZ_ZBLX_LZ
+ D_BZ_ZBLX_LZ,D_BZ_JYQXFL
} = proxy.$dict(
"D_JCGL_JYQX_QXLX",
"D_BZ_SF",
"D_ZDY_SBZT",
"D_JCGL_TCSB_WLLX",
- "D_BZ_ZBLX_LZ"
+ "D_BZ_ZBLX_LZ","D_BZ_JYQXFL"
);
const searchConfiger = ref([
{
@@ -122,14 +128,20 @@ const pageData = reactive({
}, //分页
controlsWidth: 250, //操作栏宽度
tableColumn: [
- { label: "设备名称", prop: "sbmc" },
- { label: "使用单位名称", prop: "sydwmc" },
- { label: "设备类型", prop: "sblx", showSolt: true },
- { label: "设备sim卡号", prop: "sbsim" },
- { label: "设备编号", prop: "sbbh" }
+ { label: "所属部门", prop: "ssbm" },
+ { label: "器械名称", prop: "qxMc" },
+ { label: "器械类型", prop: "qxlx", showSolt: true },
+ { label: "数量", prop: "sl" },
+ { label: "计量单位", prop: "jsdw" },
+ { label: "采购日期", prop: "cgrq" },
+ { label: "到期日期", prop: "dqsj" },
+ { label: "装备状态", prop: "zbzt", showSolt: true },
+ { label: "生产厂商", prop: "sccs" }
]
});
+const Auth=ref(true)
onMounted(() => {
+ Auth.value=isAuth()
tabHeightFn();
});
@@ -139,8 +151,7 @@ const queryCondition = ref({});
const getjczgetXfllList = () => {
pageData.tableConfiger.loading = true;
const promes = { ...queryCondition.value, ...pageData.pageConfiger };
- tbJczXfbbselectJyqx(promes)
- .then((res) => {
+ tbJczSelectJyqx(promes).then((res) => {
pageData.tableData = res.records;
pageData.total = res.total;
})
@@ -168,7 +179,7 @@ const delDictItem = (ids) => {
proxy
.$confirm("确定删除该数据?", "警告", { type: "warning" })
.then(() => {
- TcsbtbJczTcsb(ids).then((res) => {
+ tbJczXfbbdeleteJyQxzb({ids:[ids]}).then((res) => {
ElMessage({ message: "删除成功", type: "success" });
pageData.pageConfiger.pageNo = 1;
getjczgetXfllList();
diff --git a/src/views/backOfficeSystem/peopleManag/registrationVehicles/components/editAddForm.vue b/src/views/backOfficeSystem/peopleManag/registrationVehicles/components/editAddForm.vue
index 31e24fd..6f2112d 100644
--- a/src/views/backOfficeSystem/peopleManag/registrationVehicles/components/editAddForm.vue
+++ b/src/views/backOfficeSystem/peopleManag/registrationVehicles/components/editAddForm.vue
@@ -27,10 +27,12 @@
placeholder="请输入车牌号"
clearable
style="width: 100%"
+ :disabled="compile"
/>
-
-
-
-
-
-
-
-
-
-
-
{{ item.qxMc }}
-
-
+ -->
- {
pageType.value = type;
dialogForm.value = true;
// 根据type和row初始化表单数据
tabHeightFn();
- if (type == "edit") {
+ if (type == "detail") {
+ listQuery.value = { ...row }
+ compile.value=true
+ } else if (type == "edit") {
listQuery.value = { ...row };
+ compile.value=false
} else {
listQuery.value = {};
+ compile.value=false
}
};
//保存
diff --git a/src/views/backOfficeSystem/peopleManag/registrationVehicles/index.vue b/src/views/backOfficeSystem/peopleManag/registrationVehicles/index.vue
index 074bbb5..1432745 100644
--- a/src/views/backOfficeSystem/peopleManag/registrationVehicles/index.vue
+++ b/src/views/backOfficeSystem/peopleManag/registrationVehicles/index.vue
@@ -2,7 +2,7 @@
-
+
新增
- 修改
- 删除
+
+ 修改
+ 删除
+
+
+
+ 详情
@@ -68,6 +73,7 @@ import Pages from "@/components/aboutTable/Pages.vue";
import Search from "@/components/aboutTable/Search.vue";
import EditAddForm from "./components/editAddForm.vue";
import { jczgetXfclList, jczdeleteXfcl } from "@/api/mosty-jcz.js";
+import { isAuth } from '@/utils/tools.js'
import { reactive, ref, onMounted, getCurrentInstance } from "vue";
const { proxy } = getCurrentInstance();
const { D_ZDY_SBZT, D_BZ_HPZL, D_BZ_CLPP, D_BZ_CLLX, D_BZ_CLYS } = proxy.$dict(
@@ -119,7 +125,9 @@ const pageData = reactive({
{ label: "状态", prop: "zbzt", showSolt: true }
]
});
+const Auth=ref(true)
onMounted(() => {
+ Auth.value=isAuth()
tabHeightFn();
});
diff --git a/src/views/backOfficeSystem/systemConfig/user-list/index.vue b/src/views/backOfficeSystem/systemConfig/user-list/index.vue
index 01d9604..13d6e15 100644
--- a/src/views/backOfficeSystem/systemConfig/user-list/index.vue
+++ b/src/views/backOfficeSystem/systemConfig/user-list/index.vue
@@ -300,13 +300,26 @@
>
-
+ /> -->
+
+
+
-
+
+
+
公安
\ No newline at end of file
+ );