|
|
@@ -408,13 +408,13 @@
|
|
|
</el-col>
|
|
|
|
|
|
<el-col :span="24">
|
|
|
- <el-form-item label="机构缩略词" prop="breviary" label-width="240">
|
|
|
+ <el-form-item v-if="isEdit" label="机构缩略词" prop="breviary" label-width="240">
|
|
|
<el-input
|
|
|
:maxlength="5"
|
|
|
style="width: 270px;"
|
|
|
v-model="form.breviary"
|
|
|
placeholder="请输入机构缩略词"
|
|
|
- :disabled="form.source == 1"
|
|
|
+
|
|
|
/>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
@@ -491,6 +491,7 @@ export default {
|
|
|
children: "children",
|
|
|
label: "shortName",
|
|
|
},
|
|
|
+ isEdit:null,
|
|
|
// 查询参数
|
|
|
queryParams: {
|
|
|
pageNum: 1,
|
|
|
@@ -644,9 +645,9 @@ export default {
|
|
|
getList() {
|
|
|
this.loading = true;
|
|
|
listDept(this.queryParams).then((response) => {
|
|
|
- this.deptList = response.rows;
|
|
|
- this.total = response.total;
|
|
|
-
|
|
|
+ this.deptList = response.data.rows;
|
|
|
+ this.total = response.data.total;
|
|
|
+this.isEdit=response.isEdit;
|
|
|
this.loading = false;
|
|
|
|
|
|
});
|