Gitea 11 months ago
parent 7b5f800347
commit 574c69f39d
  1. 15
      jeecgboot-vue3-master/src/views/basicsskill/Basicsskill.data.ts
  2. 2
      jeecgboot-vue3-master/src/views/basicsskill/BasicsskillList.vue
  3. 2
      jeecgboot-vue3-master/src/views/compskill/Compskill.data.ts

@ -19,6 +19,14 @@ export const columns: BasicColumn[] = [
align: 'center',
dataIndex: 'remark',
},
{
title: '启停',
align: "center",
dataIndex: 'startstop',
customRender:({text}) => {
return render.renderSwitch(text, [{text:'启动',value:'Y'},{text:'停止',value:'N'}]);
},
},
];
//查询数据
export const searchFormSchema: FormSchema[] = [];
@ -49,6 +57,13 @@ export const formSchema: FormSchema[] = [
field: 'remark',
component: 'InputTextArea',
},
{
label: '启停',
field: 'startstop',
component: 'JSwitch',
componentProps:{
},
},
// TODO 主键隐藏字段,目前写死为ID
{
label: '',

@ -275,7 +275,7 @@
* 操作栏
*/
function getTableAction(record) {
if(record.pid == "无上级"){
if(record.pid == "专业认证能力评价体系"||record.pid == "创新能力评价体系"){
return [
{
label: '编辑',

@ -67,7 +67,7 @@ export const formSchema: FormSchema[] = [
},
dynamicRules: ({ model, schema }) => {
return [{ required: true, message: '请输入能力id!' }];
return [{ required: true, message: '请选择能力!' }];
},
},
{

Loading…
Cancel
Save