|
|
@@ -143,95 +143,29 @@
|
|
|
v-model="editVisible"
|
|
|
:close-on-click-modal="false"
|
|
|
:close-on-press-escape="false"
|
|
|
- :title="titleDialog"
|
|
|
+ title="日志详情"
|
|
|
align-center
|
|
|
width="600"
|
|
|
:before-close="cancelEdit"
|
|
|
>
|
|
|
- <el-form
|
|
|
- ref="editRef"
|
|
|
- :model="editRuleForm"
|
|
|
- :rules="editRules"
|
|
|
- label-width="90px"
|
|
|
- class="demo-ruleForm"
|
|
|
- :size="formSize"
|
|
|
- label-position="left"
|
|
|
- status-icon
|
|
|
- >
|
|
|
- <el-form-item label="身份 :" prop="userDepartment">
|
|
|
- <el-input
|
|
|
- v-model="editRuleForm.userDepartment"
|
|
|
- placeholder="请输入身份"
|
|
|
- clearable
|
|
|
- style="width: 500px"
|
|
|
- />
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="应用管理 :" prop="userName">
|
|
|
- <el-select
|
|
|
- v-model="editRuleForm.userName"
|
|
|
- multiple
|
|
|
- placeholder="请选择应用管理"
|
|
|
- style="width: 500px"
|
|
|
- >
|
|
|
- <el-option label="学生肖像" value="1" />
|
|
|
- <el-option label="车辆预约" value="2" />
|
|
|
- <el-option label="校园打卡" value="3" />
|
|
|
- <el-option label="校园报修" value="4" />
|
|
|
- </el-select>
|
|
|
- </el-form-item>
|
|
|
- <!-- <el-form-item label="用户角色 :" prop="userRoles">
|
|
|
- <el-select
|
|
|
- v-model="editRuleForm.userRoles"
|
|
|
- class="m-2"
|
|
|
- placeholder="请选择用户角色"
|
|
|
- style="width: 500px"
|
|
|
- >
|
|
|
- <el-option label="清洁工" value="1" />
|
|
|
- <el-option label="洗碗工" value="2" />
|
|
|
- </el-select>
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="微校卡号 :" prop="schoolCard">
|
|
|
- <el-input
|
|
|
- v-model="editRuleForm.schoolCard"
|
|
|
- placeholder="请输入微校卡号"
|
|
|
- clearable
|
|
|
- style="width: 500px"
|
|
|
- />
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="身份证号 :" prop="idNumber">
|
|
|
- <el-input
|
|
|
- v-model="editRuleForm.idNumber"
|
|
|
- placeholder="请输入身份证号"
|
|
|
- style="width: 500px"
|
|
|
- >
|
|
|
- <template #append>
|
|
|
- <div @click="readCard">读卡</div>
|
|
|
- </template>
|
|
|
- </el-input>
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="指纹 :" prop="fingerprint">
|
|
|
- <el-input
|
|
|
- v-model="editRuleForm.fingerprint"
|
|
|
- placeholder="请输入指纹"
|
|
|
- style="width: 500px"
|
|
|
- >
|
|
|
- <template #append>
|
|
|
- <div @click="entering">录入</div>
|
|
|
- </template>
|
|
|
- </el-input>
|
|
|
- </el-form-item> -->
|
|
|
- <el-form-item class="options">
|
|
|
- <el-button
|
|
|
- color="rgba(41, 109, 227, 1)"
|
|
|
- class="queding"
|
|
|
- type="primary"
|
|
|
- @click="confirmEdit(editRef)"
|
|
|
- >
|
|
|
- 确认
|
|
|
- </el-button>
|
|
|
- <el-button @click="cancelEdit(editRef)">取消</el-button>
|
|
|
- </el-form-item>
|
|
|
- </el-form>
|
|
|
+ <div>
|
|
|
+ {"log":"2023/12/18 17:22:18 - 0c8ee93ef21d4c96abd6a381657b6e91 -
|
|
|
+ Dispatching started for transformation
|
|
|
+ [0c8ee93ef21d4c96abd6a381657b6e91]\n2023/12/18 17:22:25 - table
|
|
|
+ input.0 - Finished reading query, closing connection.\n2023/12/18
|
|
|
+ 17:22:25 - table input.0 - Finished processing (I=35677, O=0, R=0,
|
|
|
+ W=35677, U=0, E=0)\n2023/12/18 17:22:26 - table output.0 - Finished
|
|
|
+ processing (I=35677, O=0, R=35677, W=35677, U=0,
|
|
|
+ E=0)\n","finished":false,"stepMeasure":[["table
|
|
|
+ input","0","0","35677","35677","0","0","0","0","Finished","5.0s","
|
|
|
+ 7,121","-"],["table
|
|
|
+ output","0","35677","35677","35677","0","0","0","0","Running","6.8s","
|
|
|
+ 5,278"," 0/0"],["error
|
|
|
+ data","0","0","0","0","0","0","0","0","Finished","6.8s"," 0","-"]]}
|
|
|
+ </div>
|
|
|
+ <div class="options">
|
|
|
+ <el-button @click="cancelEdit">关闭</el-button>
|
|
|
+ </div>
|
|
|
</el-dialog>
|
|
|
</div>
|
|
|
<div class="bgImg" v-if="bgImg">
|
|
|
@@ -342,7 +276,6 @@ const pageSize = ref(10);
|
|
|
const total = ref(5); // 当前总数
|
|
|
|
|
|
// 编辑功能
|
|
|
-const titleDialog = ref("");
|
|
|
const editVisible = ref(false);
|
|
|
const editRef = ref();
|
|
|
const editRuleForm = reactive({
|
|
|
@@ -355,68 +288,6 @@ const editRuleForm = reactive({
|
|
|
id: "",
|
|
|
});
|
|
|
|
|
|
-// 表单验证
|
|
|
-const editRules = reactive({
|
|
|
- userDepartment: [
|
|
|
- { required: true, message: "身份不能为空", trigger: "blur" },
|
|
|
- ],
|
|
|
- userName: [
|
|
|
- {
|
|
|
- required: true,
|
|
|
- message: "应用管理不能为空",
|
|
|
- trigger: "blur",
|
|
|
- },
|
|
|
- ],
|
|
|
- userRoles: [
|
|
|
- {
|
|
|
- required: true,
|
|
|
- message: "用户角色不能为空",
|
|
|
- trigger: "blur",
|
|
|
- },
|
|
|
- ],
|
|
|
- schoolCard: [
|
|
|
- {
|
|
|
- required: true,
|
|
|
- message: "微校卡号不能为空",
|
|
|
- trigger: "blur",
|
|
|
- },
|
|
|
- ],
|
|
|
- idNumber: [
|
|
|
- {
|
|
|
- required: true,
|
|
|
- message: "身份证号不能为空",
|
|
|
- trigger: "blur",
|
|
|
- },
|
|
|
- ],
|
|
|
- fingerprint: [
|
|
|
- {
|
|
|
- required: true,
|
|
|
- message: "指纹不能为空",
|
|
|
- trigger: "blur",
|
|
|
- },
|
|
|
- ],
|
|
|
-});
|
|
|
-
|
|
|
-// 添加指纹弹窗(-----------------------------------------------)
|
|
|
-const addFingerprintVisible = ref(false);
|
|
|
-const stepindex = ref(0); // 录取指纹步骤
|
|
|
-const step = reactive({
|
|
|
- list: [
|
|
|
- { id: 1, title: "" },
|
|
|
- { id: 2, title: "" },
|
|
|
- { id: 3, title: "" },
|
|
|
- { id: 4, title: "" },
|
|
|
- ],
|
|
|
-}); // 指纹步骤数据
|
|
|
-const ws = ref("");
|
|
|
-
|
|
|
-// 添加身份证弹窗(-------------------------------------------)
|
|
|
-const addIdentityCardVisible = ref(false);
|
|
|
-// const wsidentityCard = ref("");
|
|
|
-const identityCardTitle = ref("");
|
|
|
-// const identityCardNum = ref(""); // 身份证卡号
|
|
|
-const identityCardIndex = ref(0); // 读卡步骤
|
|
|
-
|
|
|
// 查看房型列表
|
|
|
const getList = async () => {
|
|
|
// loading.value = true;
|
|
|
@@ -461,50 +332,9 @@ const getList = async () => {
|
|
|
const searchBtn = lodash.debounce(async () => {
|
|
|
getList();
|
|
|
}, 300);
|
|
|
-// 添加按钮 (-------------------------------------------)
|
|
|
-const addClick = async () => {
|
|
|
- titleDialog.value = "新增";
|
|
|
- editVisible.value = true;
|
|
|
- // let data = {
|
|
|
- // linkId: row.id,
|
|
|
- // };
|
|
|
- // let res = await axios({
|
|
|
- // method: "post",
|
|
|
- // url: api.value + "/mhotel/uploadgetByLinkId.action",
|
|
|
- // headers: {},
|
|
|
- // params: data,
|
|
|
- // });
|
|
|
- // console.log(res, "编辑中查找图片");
|
|
|
- // if (res.data.code == 200) {
|
|
|
- // // res.data.data.fileInfoList.forEach((item) => {
|
|
|
- // // item.uid = item.id;
|
|
|
- // // });
|
|
|
- // // fileList.list = res.data.data.fileInfoList;
|
|
|
- // // ruleForm.fileListJson = fileList.list;
|
|
|
- // res.data.data.forEach((item) => {
|
|
|
- // item.uid = item.id;
|
|
|
- // });
|
|
|
- // fileList.list = res.data.data;
|
|
|
- // ruleForm.fileListJson = fileList.list;
|
|
|
- // // ElMessage({
|
|
|
- // // type: "success",
|
|
|
- // // showClose: true,
|
|
|
- // // message: res.data.message,
|
|
|
- // // center: true,
|
|
|
- // // });
|
|
|
- // } else {
|
|
|
- // ElMessage({
|
|
|
- // type: "error",
|
|
|
- // showClose: true,
|
|
|
- // message: res.data.message,
|
|
|
- // center: true,
|
|
|
- // });
|
|
|
- // }
|
|
|
-};
|
|
|
|
|
|
//编辑按钮 (-------------------------------------------)
|
|
|
const editClick = async () => {
|
|
|
- titleDialog.value = "编辑";
|
|
|
editVisible.value = true;
|
|
|
// let data = {
|
|
|
// linkId: row.id,
|
|
|
@@ -1072,23 +902,13 @@ onUnmounted(() => {
|
|
|
}
|
|
|
}
|
|
|
.el-dialog__body {
|
|
|
- padding: 30px 30px 10px 30px;
|
|
|
- .el-form-item__content {
|
|
|
- width: 200px;
|
|
|
- .el-input-group__append {
|
|
|
- background-color: rgba(222, 234, 252, 1);
|
|
|
- color: rgba(0, 97, 255, 1);
|
|
|
- cursor: pointer;
|
|
|
- user-select: none;
|
|
|
- }
|
|
|
- }
|
|
|
+ padding: 20px 30px 10px 30px;
|
|
|
+
|
|
|
.options {
|
|
|
margin: 50px 20px 20px 0;
|
|
|
width: 100%;
|
|
|
- .el-form-item__content {
|
|
|
- display: flex;
|
|
|
- flex-direction: row-reverse;
|
|
|
- }
|
|
|
+ display: flex;
|
|
|
+ flex-direction: row-reverse;
|
|
|
.queding {
|
|
|
color: #fff;
|
|
|
margin-left: 15px;
|