Merge branch 'sprint/185' of https://gitlab.zcorp.cc/easycorp/zentaopms into sprint/185

This commit is contained in:
zhujinyong
2022-02-25 17:37:29 +08:00
3 changed files with 7 additions and 1 deletions

View File

@@ -1,4 +1,6 @@
<script>
$('#submit').after('<input type="hidden" id="vision" name="vision" value="<?php echo $this->config->vision;?>">');
$("#name").parent().addClass('required');
$("#datasource").addClass('required');
</script>
<?php include $this->app->getExtensionRoot() . 'biz/workflowdatasource/ext/view/' . basename(__FILE__);?>

View File

@@ -0,0 +1,4 @@
<script>
$("#name").parent().addClass('required');
$("#rule").parent().addClass('required');
</script>

View File

@@ -1657,7 +1657,7 @@ class baseRouter
/* 开始拼装代码。Prepare the codes. */
$modelLines = "<?php\n";
$modelLines .= "global \$app;\n";
$modelLines .= "helper::import(\$app->getModulePath('', '$moduleName') . 'model.php');\n";
$modelLines .= "helper::import(\$app->getModulePath('', '$moduleName') . " . "'model.php');\n";
$modelLines .= "class $tmpModelClass extends $modelClass \n{\n";
/* 将扩展文件的代码合并到代码中。Cycle all the extension files and merge them into model lines. */