缓存禁用
This commit is contained in:
parent
1d8c56d345
commit
a5a25d580b
|
@ -221,4 +221,6 @@
|
||||||
<!-- }-->
|
<!-- }-->
|
||||||
<!-- }, { passive: false }); // 必须设置为false,以允许阻止默认行为-->
|
<!-- }, { passive: false }); // 必须设置为false,以允许阻止默认行为-->
|
||||||
<!--</script>-->
|
<!--</script>-->
|
||||||
|
|
||||||
|
<script src="<%= htmlWebpackPlugin.options.url %>?v=<%= htmlWebpackPlugin.options.version %>"></script>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -73,6 +73,13 @@ export default {
|
||||||
type: String,
|
type: String,
|
||||||
default: 'dialog',
|
default: 'dialog',
|
||||||
},
|
},
|
||||||
}
|
},
|
||||||
|
watch: {
|
||||||
|
value: {
|
||||||
|
handler(newVal) {
|
||||||
|
console.log('接收到新的value值:', newVal);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -94,7 +94,6 @@
|
||||||
v-hasPermi="['system:dept:add']"
|
v-hasPermi="['system:dept:add']"
|
||||||
>新增</el-button>
|
>新增</el-button>
|
||||||
<el-button
|
<el-button
|
||||||
v-if="scope.row.parentId != 0"
|
|
||||||
size="mini"
|
size="mini"
|
||||||
type="text"
|
type="text"
|
||||||
icon="el-icon-delete"
|
icon="el-icon-delete"
|
||||||
|
@ -109,9 +108,9 @@
|
||||||
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
|
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
|
||||||
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
|
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
|
||||||
<el-row>
|
<el-row>
|
||||||
<form-col :span="span" label="上级部门" prop="parentId" v-if="form.parentId !== 0">
|
<!-- <form-col :span="span" label="上级部门" prop="parentId" v-if="form.parentId !== 0">
|
||||||
<treeselect v-model="form.parentId" :options="deptOptions" :normalizer="normalizer" placeholder="选择上级部门" />
|
<treeselect v-model="form.parentId" :options="deptOptions" :normalizer="normalizer" placeholder="选择上级部门" />
|
||||||
</form-col>
|
</form-col> -->
|
||||||
<form-col :span="span" label="名称" prop="deptName">
|
<form-col :span="span" label="名称" prop="deptName">
|
||||||
<el-input v-model="form.deptName" placeholder="请输入车间名称" />
|
<el-input v-model="form.deptName" placeholder="请输入车间名称" />
|
||||||
</form-col>
|
</form-col>
|
||||||
|
@ -241,7 +240,7 @@ export default {
|
||||||
reset() {
|
reset() {
|
||||||
this.form = {
|
this.form = {
|
||||||
deptId: undefined,
|
deptId: undefined,
|
||||||
parentId: undefined,
|
parentId: 0,
|
||||||
deptName: undefined,
|
deptName: undefined,
|
||||||
orderNum: 0,
|
orderNum: 0,
|
||||||
leader: undefined,
|
leader: undefined,
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<div class="app-container">
|
<div class="app-container">
|
||||||
<el-row :gutter="20">
|
<el-row :gutter="20">
|
||||||
<!--部门数据-->
|
<!--部门数据-->
|
||||||
<el-col :span="4" :xs="24">
|
<!-- <el-col :span="4" :xs="24">
|
||||||
<div class="head-container">
|
<div class="head-container">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="deptName"
|
v-model="deptName"
|
||||||
|
@ -26,9 +26,9 @@
|
||||||
@node-click="handleNodeClick"
|
@node-click="handleNodeClick"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</el-col>
|
</el-col> -->
|
||||||
<!--用户数据-->
|
<!--用户数据-->
|
||||||
<el-col :span="20" :xs="24">
|
<el-col :span="24" >
|
||||||
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
|
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
|
||||||
<el-form-item label="姓名" prop="nickName">
|
<el-form-item label="姓名" prop="nickName">
|
||||||
<el-input
|
<el-input
|
||||||
|
@ -214,9 +214,9 @@
|
||||||
<el-dialog :title="title" :visible.sync="open" width="700px" append-to-body>
|
<el-dialog :title="title" :visible.sync="open" width="700px" append-to-body>
|
||||||
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
|
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
|
||||||
<el-row>
|
<el-row>
|
||||||
<form-col :span="24" label="归属部门" prop="deptId">
|
<!-- <form-col :span="24" label="归属部门" prop="deptId">
|
||||||
<treeselect v-model="form.deptId" :options="deptOptions" :show-count="true" placeholder="请选择归属部门" />
|
<treeselect v-model="form.deptId" :options="deptOptions" :show-count="true" placeholder="请选择归属部门" />
|
||||||
</form-col>
|
</form-col> -->
|
||||||
<!-- <form-col :span="12" label="工号" prop="userNo">-->
|
<!-- <form-col :span="12" label="工号" prop="userNo">-->
|
||||||
<!-- <el-input v-model="form.userNo" placeholder="请输入工号" maxlength="30" />-->
|
<!-- <el-input v-model="form.userNo" placeholder="请输入工号" maxlength="30" />-->
|
||||||
<!-- </form-col>-->
|
<!-- </form-col>-->
|
||||||
|
@ -396,7 +396,6 @@ export default {
|
||||||
columns: [
|
columns: [
|
||||||
{key: 'userId', visible: false, label: 'ID', minWidth: null, sortable: true, overflow: false, align: 'center', width: null},
|
{key: 'userId', visible: false, label: 'ID', minWidth: null, sortable: true, overflow: false, align: 'center', width: null},
|
||||||
{key: 'nickName', visible: true, label: '姓名', minWidth: null, sortable: true, overflow: false, align: 'center', width: null},
|
{key: 'nickName', visible: true, label: '姓名', minWidth: null, sortable: true, overflow: false, align: 'center', width: null},
|
||||||
{key: 'deptId', visible: true, label: '部门', minWidth: null, sortable: true, overflow: false, align: 'center', width: null},
|
|
||||||
{key: 'userName', visible: true, label: '登录账号', minWidth: null, sortable: true, overflow: false, align: 'center', width: null},
|
{key: 'userName', visible: true, label: '登录账号', minWidth: null, sortable: true, overflow: false, align: 'center', width: null},
|
||||||
{key: 'status', visible: true, label: '账号状态', minWidth: null, sortable: true, overflow: false, align: 'center', width: null},
|
{key: 'status', visible: true, label: '账号状态', minWidth: null, sortable: true, overflow: false, align: 'center', width: null},
|
||||||
{key: 'remark', visible: true, label: '备注', minWidth: null, sortable: true, overflow: false, align: 'center', width: null},
|
{key: 'remark', visible: true, label: '备注', minWidth: null, sortable: true, overflow: false, align: 'center', width: null},
|
||||||
|
|
|
@ -127,5 +127,10 @@ module.exports = {
|
||||||
})
|
})
|
||||||
config.optimization.runtimeChunk('single')
|
config.optimization.runtimeChunk('single')
|
||||||
})
|
})
|
||||||
|
|
||||||
|
config.plugin('html').tap(args => {
|
||||||
|
args[0].version = new Date().getTime()
|
||||||
|
return args
|
||||||
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user