master^2
xia 1 year ago
commit 0087385d69
  1. 26
      ant-design-vue-jeecg/src/views/modulex/ModulexList.vue
  2. 10
      ant-design-vue-jeecg/src/views/rulex/modules/RulexForm.vue

@ -101,8 +101,8 @@
<a @click="bugfankui(record)">BUG反馈</a> <a @click="bugfankui(record)">BUG反馈</a>
<a-divider type="vertical"/> <a-divider type="vertical"/>
<!-- <a @click="shenhe(record)">审核</a>--> <!-- <a @click="shenhe(record)">审核</a>-->
<!-- <a-divider type="vertical"/>--> <!-- <a-divider type="vertical"/>-->
<a @click="fabu(record)">发布</a> <a @click="fabu(record)">发布</a>
<a-divider type="vertical"/> <a-divider type="vertical"/>
@ -116,17 +116,17 @@
<!--功能 开发者--> <!--功能 开发者-->
<!--这里只能用v-else-if / v-else v-if --> <!--这里只能用v-else-if / v-else v-if -->
<!-- <span v-else slot="actionManage" slot-scope="text, record">--> <!-- <span v-else slot="actionManage" slot-scope="text, record">-->
<!-- <a @click="fabu(record)">发布</a>--> <!-- <a @click="fabu(record)">发布</a>-->
<!-- <a-divider type="vertical"/>--> <!-- <a-divider type="vertical"/>-->
<!-- <a @click="kaishi(record)">开始</a>--> <!-- <a @click="kaishi(record)">开始</a>-->
<!-- <a-divider type="vertical"/>--> <!-- <a-divider type="vertical"/>-->
<!-- <a @click="tijiao(record)">提交</a>--> <!-- <a @click="tijiao(record)">提交</a>-->
<!-- </span>--> <!-- </span>-->
@ -399,14 +399,14 @@ export default {
// console.log(record) // console.log(record)
let s = null; let s = null;
getAction('/tablex/tablex/list', {moduleId: record.id}).then((res) =>{ getAction('/tablex/tablex/list', {moduleId: record.id}).then((res) =>{
s=res.result.records s=res.result.records
console.log(s) console.log(s)
if (s[0]==null){ if (s[0]==null){
this.$message.error("该模块无实体"); this.$message.error("该模块无实体");
}else{ }else{
this.$refs.FieldxList.showModal(); this.$refs.FieldxList.showModal();
this.$refs.FieldxList.edit(s[0]); this.$refs.FieldxList.edit(s[0]);
this.$refs.FieldxList.disableSubmit = false; this.$refs.FieldxList.disableSubmit = false;
} }
}) })

@ -109,11 +109,11 @@ export default {
sm: { span: 20 }, sm: { span: 20 },
}, },
labelCol: { labelCol: {
xs: { span: 24 }, xs: { span: 20 },
sm: { span: 6 }, sm: { span: 6 },
}, },
wrapperCol: { wrapperCol: {
xs: { span: 24 }, xs: { span: 20 },
sm: { span: 16 }, sm: { span: 16 },
}, },
@ -253,7 +253,7 @@ export default {
} }
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
/deep/.ant-col-24 .ant-form-item .ant-col-xs-24 { // /deep/.ant-col-24 .ant-form-item .ant-col-xs-24 {
text-align: center; // text-align: center;
} // }
</style> </style>
Loading…
Cancel
Save