This commit is contained in:
shijing 2022-06-25 10:08:19 +08:00
parent 4a2bb04356
commit d38bbd7cf0
23 changed files with 772 additions and 542 deletions

BIN
public/img/a_danger.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

BIN
public/img/a_safe.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

BIN
public/img/bell.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 368 B

BIN
public/img/check.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 306 B

BIN
public/img/clock.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 323 B

BIN
public/img/down.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
public/img/icon_cbs.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

BIN
public/img/icon_nbcl.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

BIN
public/img/icon_nbyg.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

BIN
public/img/icon_wbcl.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

BIN
public/img/icon_wlry.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

BIN
public/img/pause.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 453 B

BIN
public/img/play.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 509 B

BIN
public/img/r_danger.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 264 B

BIN
public/img/r_safe.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 285 B

BIN
public/img/search.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 418 B

BIN
public/img/shrink.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 447 B

BIN
public/img/uncheck.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 185 B

BIN
public/img/up.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@ -7,6 +7,7 @@ import router from './router'
import store from './store'
import { createApp } from 'vue'
import App from './App.vue'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
const app = createApp(App);
@ -18,3 +19,6 @@ app.use(scui);
//挂载app
app.mount('#app');
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
app.component(key, component)
}

File diff suppressed because it is too large Load Diff

View File

@ -48,7 +48,7 @@
</el-table-column>
<el-table-column prop="time" label="部门" min-width="150">
<template #default="scope">
<span v-if="scope.row.id">{{scope.row.dept_.name}}</span>
<span v-if="scope.row.id&&scope.row.dept_">{{scope.row.dept_.name}}</span>
<el-cascader
v-else
v-model="scope.row.dept"
@ -102,23 +102,7 @@
},
userPostForm: {
title: "用户/岗位关系",
list: [
{
id:'1001',
name: "关系1",
sort: "1",
user: "石静",
post: "岗位",
dept: "部门",
},
{
name: '',
sort: '',
user: '',
post: "",
dept: "",
}
]
list: []
},
loading: false,
job_states: { true: "在职",false: "离职"},
@ -215,7 +199,9 @@
if(res.err_msg){
this.$message.error(res.err_msg)
}else{
this.userPostForm.list=res.results;
this.getUserPostList();
this.$message.success("操作成功");
// this.userPostForm.list=res.results;
}
})
},
@ -230,6 +216,7 @@
if(res.err_msg){
this.$message.error(res.err_msg)
}else{
this.getUserPostList();
this.$message.success("操作成功");
}
})

View File

@ -72,5 +72,11 @@ module.exports = defineConfig({
}
}
}
},
pluginOptions: {
'style-resources-loader': {
preProcessor: 'sass',
patterns: []
}
},
})