|
|
@ -8,8 +8,15 @@
|
|
|
|
clearable
|
|
|
|
clearable
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
<el-form-item label="组织编码" prop="factoryCode">
|
|
|
|
|
|
|
|
<el-input
|
|
|
|
|
|
|
|
v-model="queryParams.factoryCode"
|
|
|
|
|
|
|
|
placeholder="请输入组织编码"
|
|
|
|
|
|
|
|
clearable
|
|
|
|
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
<el-form-item label="启用状态" prop="status">
|
|
|
|
<el-form-item label="启用状态" prop="status">
|
|
|
|
<el-input
|
|
|
|
<el-input
|
|
|
|
v-model="queryParams.status"
|
|
|
|
v-model="queryParams.status"
|
|
|
@ -58,7 +65,7 @@
|
|
|
|
:default-expand-all="isExpandAll"
|
|
|
|
:default-expand-all="isExpandAll"
|
|
|
|
:tree-props="{children: 'children', hasChildren: 'hasChildren'}"
|
|
|
|
:tree-props="{children: 'children', hasChildren: 'hasChildren'}"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<el-table-column label="组织名称" align="center" prop="factoryName" />
|
|
|
|
<el-table-column label="组织名称" align="center" prop="factoryName" width="350"/>
|
|
|
|
<el-table-column label="组织编码" align="center" prop="factoryCode" />
|
|
|
|
<el-table-column label="组织编码" align="center" prop="factoryCode" />
|
|
|
|
<el-table-column label="创建人" align="center" prop="createBy" />
|
|
|
|
<el-table-column label="创建人" align="center" prop="createBy" />
|
|
|
|
<el-table-column label="创建时间" align="center" prop="createTime" />
|
|
|
|
<el-table-column label="创建时间" align="center" prop="createTime" />
|
|
|
@ -178,8 +185,18 @@ export default {
|
|
|
|
// 表单参数
|
|
|
|
// 表单参数
|
|
|
|
form: {},
|
|
|
|
form: {},
|
|
|
|
// 表单校验
|
|
|
|
// 表单校验
|
|
|
|
rules: {
|
|
|
|
// 表单校验
|
|
|
|
}
|
|
|
|
rules: {
|
|
|
|
|
|
|
|
factoryCode: [
|
|
|
|
|
|
|
|
{ required: true, message: "组织编码不能为空", trigger: "blur" }
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
factoryName: [
|
|
|
|
|
|
|
|
{ required: true, message: "组织名称不能为空", trigger: "blur" }
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
status: [
|
|
|
|
|
|
|
|
{ required: true, message: "组织状态不能为空", trigger: "blur" }
|
|
|
|
|
|
|
|
]
|
|
|
|
|
|
|
|
}
|
|
|
|
};
|
|
|
|
};
|
|
|
|
},
|
|
|
|
},
|
|
|
|
created() {
|
|
|
|
created() {
|
|
|
|