Commit 8b144c89 by 前端

去除husky

1 parent 329aed75
......@@ -64,34 +64,6 @@ pnpm lint:stylelint
pnpm commit
```
### 项目截图 📷
- 登录页:
![login_light](https://i.imgtg.com/2023/04/13/8tknp.png)
![login_dark](https://i.imgtg.com/2023/04/13/8tmpP.png)
- 首页:
![home_light](https://i.imgtg.com/2023/04/13/8tl1j.png)
![home_dark](https://i.imgtg.com/2023/04/13/8tpfb.png)
- 表格页:
![table_light](https://i.imgtg.com/2023/04/13/8tfMx.png)
![table_dark](https://i.imgtg.com/2023/04/13/8tv8F.png)
- 数据可视化
![dashboard](https://i.imgtg.com/2023/04/14/82Grx.png)
- 数据大屏:
![dataScreen](https://i.imgtg.com/2023/01/16/QP8HF.png)
### 文件资源目录 📚
```text
......
......@@ -17,7 +17,6 @@
"lint:prettier": "prettier --write \"src/**/*.{js,ts,json,tsx,css,less,scss,vue,html,md}\"",
"lint:stylelint": "stylelint --cache --fix \"**/*.{vue,less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/",
"lint:lint-staged": "lint-staged",
"prepare": "husky install",
"release": "standard-version",
"commit": "git add -A && czg && git push"
},
......
......@@ -79,10 +79,46 @@ export const storageList = [
export const formList = {
setPollingInterval: [
{
label: "设置轮询时间",
label: "轮询时间(秒)",
type: "number",
maxlength: 5,
name: "interval"
},
{
label: "立即执行",
type: "radio",
name: "force",
optionLabel: "label",
optionId: "value",
optionList: [
{
label: "是",
value: 1
},
{
label: "否",
value: 0
}
]
}
],
startPolling: [
{
label: "立即执行",
type: "radio",
name: "force",
optionLabel: "label",
optionId: "value",
optionList: [
{
label: "是",
value: 1
},
{
label: "否",
value: 0
}
]
}
],
getLogList: [
......
......@@ -2,7 +2,7 @@
* @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2024-09-04 21:13:18
* @LastEditors: 前端 qianduan01@didihu.com.cn
* @LastEditTime: 2024-09-25 09:53:19
* @LastEditTime: 2024-10-11 15:29:07
* @FilePath: \Apper-Admin-master\src\views\log\dictionary\components\Dailog.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
......@@ -10,7 +10,9 @@
<el-dialog :before-close="handleClose" v-model="showLog" width="50%" title="日志文件列表">
<el-table class="table-box" :data="tableData" style="width: 100%">
<el-table-column prop="filename" label="文件名" />
<el-table-column prop="created_at" label="日期" />
<el-table-column prop="created_at" label="日期">
<template #default="scope"> {{ new Date(scope.row.created_at).toLocaleString() }} </template>
</el-table-column>
<el-table-column fixed="right" label="操作" width="120">
<template #default="scope">
<el-button link type="primary" size="small" @click="handleClick(scope.row)"> 详情 </el-button>
......
......@@ -2,7 +2,7 @@
* @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2024-09-04 21:58:42
* @LastEditors: 前端 qianduan01@didihu.com.cn
* @LastEditTime: 2024-10-10 15:02:47
* @LastEditTime: 2024-10-11 18:03:07
* @FilePath: \Apper-Admin-master\src\views\log\list\components\Report.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
......@@ -56,6 +56,11 @@
end-placeholder="结束日期"
>
</el-date-picker>
<el-radio-group v-model="dialogProps[item.name]" v-if="item.type === 'radio'">
<el-radio :value="i[item.optionId]" size="large" v-for="i in item.optionList" :key="i[item.optionId]">{{
i[item.optionLabel]
}}</el-radio>
</el-radio-group>
</el-form-item>
</template>
</el-form>
......@@ -82,7 +87,7 @@ interface DialogProps {
id?: string;
days?: number | null;
interval?: number;
command?: string;
command: string;
key?: string;
storage?: string;
times?: string[];
......@@ -95,7 +100,9 @@ const props = defineProps<{
}>();
const { showReport, deviceId } = toRefs(props);
console.log(deviceId);
const dialogProps = ref<DialogProps>({});
const dialogProps = ref<DialogProps>({
command: cmdList[0].value
});
watch(
() => dialogProps.value.command,
val => {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!