修改
This commit is contained in:
parent
8d184ee9bc
commit
66f3e29363
@ -5,7 +5,7 @@ VUE_APP_TITLE = 新医路院后患者管理平台
|
|||||||
ENV = 'development'
|
ENV = 'development'
|
||||||
|
|
||||||
# 新医路院后患者管理平台/开发环境
|
# 新医路院后患者管理平台/开发环境
|
||||||
VUE_APP_BASE_API = 'http://8.131.93.145:54011'
|
VUE_APP_BASE_API = 'http://192.168.16.48:8080'
|
||||||
|
|
||||||
# 路由懒加载
|
# 路由懒加载
|
||||||
VUE_CLI_BABEL_TRANSPILE_MODULES = true
|
VUE_CLI_BABEL_TRANSPILE_MODULES = true
|
||||||
|
|||||||
@ -134,7 +134,13 @@
|
|||||||
</template>
|
</template>
|
||||||
</el-table-column> -->
|
</el-table-column> -->
|
||||||
<el-table-column label="类别排序" align="center" prop="categorySort" />
|
<el-table-column label="类别排序" align="center" prop="categorySort" />
|
||||||
<el-table-column label="类别概述" align="center" prop="categoryRemark" />
|
|
||||||
|
<el-table-column
|
||||||
|
label="类别概述"
|
||||||
|
align="center"
|
||||||
|
prop="categoryRemark"
|
||||||
|
:show-all-levels="true"
|
||||||
|
/>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
label="操作"
|
label="操作"
|
||||||
align="center"
|
align="center"
|
||||||
@ -199,9 +205,10 @@
|
|||||||
placeholder="请输入类别名称"
|
placeholder="请输入类别名称"
|
||||||
/>
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="类别编码" prop="categoryCode">
|
<el-form-item label="类别编码" prop="categoryCode" v-if="disabled">
|
||||||
<el-input
|
<el-input
|
||||||
maxlength="50"
|
maxlength="50"
|
||||||
|
:disabled="disabled"
|
||||||
onKeyUp="value=value.replace(/[\W]/g,'')"
|
onKeyUp="value=value.replace(/[\W]/g,'')"
|
||||||
v-model="form.categoryCode"
|
v-model="form.categoryCode"
|
||||||
style="width: 250px"
|
style="width: 250px"
|
||||||
@ -264,7 +271,7 @@ export default {
|
|||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
treeOptions: [],
|
treeOptions: [],
|
||||||
|
disabled: true,
|
||||||
// 遮罩层
|
// 遮罩层
|
||||||
loading: true,
|
loading: true,
|
||||||
isResouceShow: 1,
|
isResouceShow: 1,
|
||||||
@ -390,12 +397,14 @@ export default {
|
|||||||
/** 新增按钮操作 */
|
/** 新增按钮操作 */
|
||||||
handleAdd() {
|
handleAdd() {
|
||||||
this.reset();
|
this.reset();
|
||||||
|
this.disabled = false;
|
||||||
this.open = true;
|
this.open = true;
|
||||||
this.title = "添加机构类别";
|
this.title = "添加机构类别";
|
||||||
},
|
},
|
||||||
/** 修改按钮操作 */
|
/** 修改按钮操作 */
|
||||||
handleUpdate(row) {
|
handleUpdate(row) {
|
||||||
this.reset();
|
this.reset();
|
||||||
|
this.disabled = true;
|
||||||
const id = row.id || this.ids;
|
const id = row.id || this.ids;
|
||||||
getAgencyCategory(id).then((response) => {
|
getAgencyCategory(id).then((response) => {
|
||||||
this.form = response.data;
|
this.form = response.data;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user