|
@@ -107,8 +107,8 @@
|
|
</el-table-column>
|
|
</el-table-column>
|
|
</el-table>
|
|
</el-table>
|
|
|
|
|
|
- <pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize"
|
|
|
|
- @pagination="getList" />
|
|
|
|
|
|
+ <pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum"
|
|
|
|
+ :limit.sync="queryParams.pageSize" @pagination="getList" />
|
|
</el-col>
|
|
</el-col>
|
|
</el-row>
|
|
</el-row>
|
|
|
|
|
|
@@ -163,19 +163,21 @@
|
|
<el-col :span="12">
|
|
<el-col :span="12">
|
|
<el-form-item label="状态">
|
|
<el-form-item label="状态">
|
|
<el-radio-group v-model="form.status">
|
|
<el-radio-group v-model="form.status">
|
|
- <el-radio v-for="dict in dict.type.sys_normal_disable" :key="dict.value"
|
|
|
|
- :label="dict.value">{{ dict.label }}</el-radio>
|
|
|
|
|
|
+ <el-radio v-for="dict in dict.type.sys_normal_disable" :key="dict.value" :label="dict.value">{{
|
|
|
|
+ dict.label }}</el-radio>
|
|
</el-radio-group>
|
|
</el-radio-group>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
</el-row>
|
|
</el-row>
|
|
<el-row>
|
|
<el-row>
|
|
<el-col :span="12">
|
|
<el-col :span="12">
|
|
- <el-form-item label="岗位">
|
|
|
|
- <el-select v-model="form.postIds" multiple placeholder="请选择岗位">
|
|
|
|
|
|
+ <el-form-item label="甲方代表">
|
|
|
|
+ <!-- <el-select v-model="form.postIds" multiple placeholder="请选择岗位">
|
|
<el-option v-for="item in postOptions" :key="item.postId" :label="item.postName" :value="item.postId"
|
|
<el-option v-for="item in postOptions" :key="item.postId" :label="item.postName" :value="item.postId"
|
|
:disabled="item.status == 1"></el-option>
|
|
:disabled="item.status == 1"></el-option>
|
|
- </el-select>
|
|
|
|
|
|
+ </el-select> -->
|
|
|
|
+ <el-radio v-model="form.isOwner" :label="0">否</el-radio>
|
|
|
|
+ <el-radio v-model="form.isOwner" :label="1">是</el-radio>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="12">
|
|
<el-col :span="12">
|
|
@@ -268,7 +270,9 @@ export default {
|
|
// 角色选项
|
|
// 角色选项
|
|
roleOptions: [],
|
|
roleOptions: [],
|
|
// 表单参数
|
|
// 表单参数
|
|
- form: {},
|
|
|
|
|
|
+ form: {
|
|
|
|
+ isOwner: 0
|
|
|
|
+ },
|
|
defaultProps: {
|
|
defaultProps: {
|
|
children: "children",
|
|
children: "children",
|
|
label: "label"
|
|
label: "label"
|
|
@@ -406,6 +410,7 @@ export default {
|
|
sex: undefined,
|
|
sex: undefined,
|
|
status: "0",
|
|
status: "0",
|
|
remark: undefined,
|
|
remark: undefined,
|
|
|
|
+ isOwner: 0,
|
|
postIds: [],
|
|
postIds: [],
|
|
roleIds: []
|
|
roleIds: []
|
|
};
|
|
};
|
|
@@ -466,7 +471,8 @@ export default {
|
|
this.$set(this.form, "roleIds", response.roleIds);
|
|
this.$set(this.form, "roleIds", response.roleIds);
|
|
this.open = true;
|
|
this.open = true;
|
|
this.title = "修改用户";
|
|
this.title = "修改用户";
|
|
- this.form.password = "";
|
|
|
|
|
|
+ this.form.password = ""
|
|
|
|
+ this.form.isOwner = row.isOwner;
|
|
});
|
|
});
|
|
},
|
|
},
|
|
/** 重置密码按钮操作 */
|
|
/** 重置密码按钮操作 */
|