人员管理

This commit is contained in:
chenjianan
2018-11-27 08:00:41 +08:00
parent a3654b5f36
commit 57a27ebff6
2 changed files with 18 additions and 14 deletions

View File

@@ -15,7 +15,8 @@
<el-button slot="append" icon="el-icon-search" @click="fetchPeopleForName"/> <el-button slot="append" icon="el-icon-search" @click="fetchPeopleForName"/>
</el-input> </el-input>
<el-button type="primary" icon="el-icon-circle-plus-outline" size="small" @click="addPeople()">新增</el-button> <el-button type="primary" icon="el-icon-circle-plus-outline" size="small" @click="addPeople()">新增</el-button>
<!--<el-button v-popover:popover4 type="success" icon="el-icon-sort" size="small" @click="moveGroup">移动</el-button>--> <!--<el-button v-popover:popover4 type="success" icon="el-icon-sort" size="small" @click="moveGroup">移动-->
<!--</el-button>-->
<!--<el-button size="small" @click="postMaintain()">岗位维护</el-button>--> <!--<el-button size="small" @click="postMaintain()">岗位维护</el-button>-->
<!--<el-popover--> <!--<el-popover-->
<!--ref="popover4"--> <!--ref="popover4"-->
@@ -29,7 +30,9 @@
<!--:disabled="true"--> <!--:disabled="true"-->
<!--size="small"--> <!--size="small"-->
<!--placeholder="请选择部门"/>--> <!--placeholder="请选择部门"/>-->
<!--<el-button type="text" size="small" style="margin-left: 60px; margin-top: 15px" @click="moveGroupConfim">确认</el-button>--> <!--<el-button type="text" size="small" style="margin-left: 60px; margin-top: 15px" @click="moveGroupConfim">-->
<!--确认-->
<!--</el-button>-->
<!--<el-dropdown-menu slot="dropdown">--> <!--<el-dropdown-menu slot="dropdown">-->
<!--<el-tree--> <!--<el-tree-->
<!--ref="treeForm"--> <!--ref="treeForm"-->
@@ -176,18 +179,18 @@
</el-row> </el-row>
<!--新增和编辑部门--> <!--新增和编辑部门-->
<!--<el-dialog :title="department_Title" :visible.sync="department_DFV" center style="min-height: 200px" width="400px">--> <el-dialog :title="department_Title" :visible.sync="department_DFV" center style="min-height: 200px" width="400px">
<!--<el-form ref="form" :model="form" :rules="rules" label-position="left" label-width="110px" class="demo-ruleForm">--> <el-form ref="department_Form" :model="department_Form" :rules="rules" label-position="left" label-width="110px" class="demo-ruleForm">
<!--<el-form-item label="部门名称" prop="DepartmentName">--> <el-form-item label="部门名称" prop="DepartmentName">
<!--<el-input v-model="department_Form.DepartmentName" size="small" style="width:200px"/>--> <el-input v-model="department_Form.DepartmentName" size="small" style="width:200px"/>
<!--</el-form-item>--> </el-form-item>
<!--</el-form>--> </el-form>
<!--<div slot="footer" class="dialog-footer">--> <div slot="footer" class="dialog-footer">
<!--<el-button @click="cancel">取消</el-button>--> <el-button @click="cancel">取消</el-button>
<!--<el-button v-if="department_Title==='新增部门'" type="primary" @click="submitAdd">确定</el-button>--> <el-button v-if="department_Title==='新增部门'" type="primary" @click="submitAdd">确定</el-button>
<!--<el-button v-else-if="department_Title==='编辑部门'" type="primary" @click="submitEdit">确定</el-button>--> <el-button v-else-if="department_Title==='编辑部门'" type="primary" @click="submitEdit">确定</el-button>
<!--</div>--> </div>
<!--</el-dialog>--> </el-dialog>
<el-dialog :title="people_title" :visible.sync="people_DFV" center style="min-height: 200px" width="800px"> <el-dialog :title="people_title" :visible.sync="people_DFV" center style="min-height: 200px" width="800px">
<el-form ref="people_form" :rules="rules" :model="people_form" label-position="left" label-width="110px" class="demo-ruleForm"> <el-form ref="people_form" :rules="rules" :model="people_form" label-position="left" label-width="110px" class="demo-ruleForm">

View File

@@ -1224,6 +1224,7 @@ export default {
} }
}).then(() => { }).then(() => {
this.tableData1.push(this.result[i]) this.tableData1.push(this.result[i])
console.log(this.tableData1)
selection2(this.工艺计划流水号[this.indexAdjust]).then(response => { // 刷新对话框显示和颜色 selection2(this.工艺计划流水号[this.indexAdjust]).then(response => { // 刷新对话框显示和颜色
for (let i = 0; i < response.data.length; i++) { for (let i = 0; i < response.data.length; i++) {
this.partType = response.data[i].零件类型 this.partType = response.data[i].零件类型