讲师管理bug

This commit is contained in:
zhangsir
2024-12-27 17:17:18 +08:00
parent ff6618e56f
commit c6db51de81

View File

@@ -150,11 +150,11 @@
是否为根节点 是否为根节点
</template> </template>
<div style="display: flex;align-items: center;"> <div style="display: flex;align-items: center;">
<a-radio-group :disabled="!formParam.locking" style="min-width:126px;" @change="selectRadio" v-model:value="formParam.isParent" name="radioGroup"> <a-radio-group :disabled="formParam.locking" style="min-width:126px;" @change="selectRadio" v-model:value="formParam.isParent" name="radioGroup">
<a-radio :value="1"></a-radio> <a-radio :value="1"></a-radio>
<a-radio :value="0"></a-radio> <a-radio :value="0"></a-radio>
</a-radio-group> </a-radio-group>
<a-select :disabled="!formParam.locking" v-model:value="formParam.code" :placeholder="!formParam.isParent?'请选择审批层级':'请选择根节点'" <a-select :disabled="formParam.locking" v-model:value="formParam.code" :placeholder="!formParam.isParent?'请选择审批层级':'请选择根节点'"
:options="!formParam.isParent?PlaceOfPayList:PlaceOfPayListTwo" allowClear showSearch/> :options="!formParam.isParent?PlaceOfPayList:PlaceOfPayListTwo" allowClear showSearch/>
</div> </div>
</a-form-item> </a-form-item>
@@ -350,7 +350,7 @@ export default{
code: null, code: null,
isContains: '0', isContains: '0',
affiliationOrgList: [], affiliationOrgList: [],
locking: 1, locking: 0,
}, },
}) })
const PlaceOfPayList = ref([ const PlaceOfPayList = ref([
@@ -760,7 +760,7 @@ const getTableDate = (obj) => {
code: null, code: null,
isContains: '0', isContains: '0',
affiliationOrgList: [], affiliationOrgList: [],
locking: 1, locking: 0,
} }
} }
async function validateField(name) { async function validateField(name) {