Merge branch 'v5.0.0dev' of https://gitee.com/ZhongBangKeJi/CRMEB into v5.0.0dev

This commit is contained in:
evoxwht 2023-04-25 09:54:57 +08:00
commit 93b7d141d6
85 changed files with 357 additions and 84 deletions

View File

@ -254,6 +254,8 @@ class SystemCrud extends AuthController
$item['default_field_type'] = $item['field_type'];
$item['default_comment'] = $item['comment'];
$item['default_default'] = $item['default'];
$item['is_table'] = !!$item['is_table'];
$item['primaryKey'] = isset($item['primaryKey']) ? (int)$item['primaryKey'] : 0;
$info['field']['tableField'][$key] = $item;
}
//对比数据库,是否有新增字段
@ -282,9 +284,27 @@ class SystemCrud extends AuthController
}
if ($newColumn) {
$info['field']['tableField'] = array_merge($info['field']['tableField'], $newColumn);
$info['field']['tableField'] = array_merge($newColumn, $info['field']['tableField']);
}
$keyInfo = [];
$deleteInfo = [];
foreach ($info['field']['tableField'] as $key => $item) {
if ($item['primaryKey']) {
$keyInfo = $item;
unset($info['field']['tableField'][$key]);
}
if ($item['field_type'] == 'addSoftDelete') {
$deleteInfo = $item;
unset($info['field']['tableField'][$key]);
}
}
if ($keyInfo) {
array_unshift($info['field']['tableField'], $keyInfo);
}
if ($deleteInfo) {
array_push($info['field']['tableField'], $deleteInfo);
}
$info['field']['pid'] = (int)$info['field']['pid'];
return app('json')->success(['file' => $data, 'crudInfo' => $info]);
}
@ -308,19 +328,24 @@ class SystemCrud extends AuthController
if (!$crudInfo) {
return app('json')->fail('修改的CRUD文件不存在');
}
$makePath = [];
$makeFilepath = '';
foreach ($crudInfo->make_path as $key => $item) {
$path = $item;
if (in_array($key, ['pages', 'router', 'api'])) {
$item = Make::adminTemplatePath() . $item;
} else {
$item = app()->getRootPath() . $item;
}
$makePath[$key] = $item;
if ($filepath == $path) {
$makeFilepath = $item;
break;
}
}
if (!in_array($filepath, $makePath)) {
if (!$makeFilepath || !in_array($filepath, $crudInfo->make_path)) {
return app('json')->fail('您没有权限修改此文件');
}
$res = $service->savefile($filepath, $comment);
$res = $service->savefile($makeFilepath, $comment);
if ($res) {
return app('json')->success(100000);
} else {

View File

@ -165,9 +165,13 @@ class SystemCrudServices extends BaseServices
'value' => 'dateTime',
'label' => '单选日期时间',
],
// [
// 'value' => 'dateTimeRange',
// 'label' => '日期时间区间选择',
// ],
[
'value' => 'dateTimeRange',
'label' => '日期时间区间选择',
'value' => 'checkbox',
'label' => '多选框',
],
[
'value' => 'radio',
@ -303,7 +307,47 @@ class SystemCrudServices extends BaseServices
$changeFiled = addslashes($changeFiled);
$type = addslashes($type);
$default = addslashes($default);
$sql = "ALTER TABLE `$tableName` CHANGE `$field` `$changeFiled` $type($limit) NOT NULL DEFAULT '$default' COMMENT '$comment';";
if (in_array(strtolower($type), ['text', 'longtext', 'tinytext'])) {
$sql = "ALTER TABLE `$tableName` CHANGE `$field` `$changeFiled` $type CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '$comment';";
} else {
$sql = "ALTER TABLE `$tableName` CHANGE `$field` `$changeFiled` $type($limit) NOT NULL DEFAULT '$default' COMMENT '$comment';";
}
return Db::execute($sql);
}
/**
* 添加字段
* @param string $tableName
* @param string $field
* @param string $prevFiled
* @param string $type
* @param string $limit
* @param string $default
* @param string $comment
* @param array $options
* @return mixed
* @author 等风来
* @email 136327134@qq.com
* @date 2023/4/24
*/
public function addAlter(string $tableName, string $field, string $prevFiled, string $type, $limit = '', string $default = '', string $comment = '', array $options = [])
{
$tableName = $this->getTableName($tableName);
$comment = addslashes($comment);
$field = addslashes($field);
$prevFiled = addslashes($prevFiled);
$type = addslashes($type);
$default = addslashes($default);
if ($prevFiled) {
$after = "AFTER `$prevFiled`";
} else {
$after = "";
}
if (in_array(strtolower($type), ['text', 'longtext', 'tinytext'])) {
$sql = "ALTER TABLE `$tableName` ADD `$field` $type NULL COMMENT '$comment' $after;";
} else {
$sql = "ALTER TABLE `$tableName` ADD `$field` $type($limit) NOT NULL DEFAULT '$default' COMMENT '$comment' $after;";
}
return Db::execute($sql);
}
@ -324,6 +368,23 @@ class SystemCrudServices extends BaseServices
return Db::execute($sql);
}
/**
* 修改表备注
* @param string $tableName
* @param string $common
* @return mixed
* @author 等风来
* @email 136327134@qq.com
* @date 2023/4/24
*/
protected function updateFromCommon(string $tableName, string $common)
{
$tableName = $this->getTableName($tableName);
$common = addslashes($common);
$sql = "ALTER TABLE `$tableName` COMMENT = '$common';";
return Db::execute($sql);
}
/**
* 对比字段变动了更改
* @param string $tableName
@ -336,28 +397,57 @@ class SystemCrudServices extends BaseServices
protected function diffAlter(string $tableName, array $deleteField, array $tableField)
{
$updateAlter = [];
$addAlter = [];
$columns = $this->getColumnNamesList($tableName);
$fieldAll = array_column($columns, 'name');
$prevFiled = $columns[count($columns) - 1]['name'] ?? '';
//对比数据库字段
foreach ($tableField as $item) {
if ($item['primaryKey']) {
continue;
}
//前台新增的字段进行添加
if (!(isset($item['default_field']) &&
isset($item['default_field_type']) &&
isset($item['default_limit']) &&
isset($item['default_comment']) &&
isset($item['default_default']))
) {
if (!in_array($item['field'], $fieldAll)) {
$addAlter[] = [
'prev_filed' => $prevFiled,
'field' => $item['field'],
'limit' => $item['limit'],
'type' => $item['field_type'],
'comment' => $item['comment'],
'default' => $item['default'],
];
}
continue;
} else {
//默认字段没有在数据库中,需要添加字段
if (!in_array($item['default_field'], $fieldAll)) {
$addAlter[] = [
'prev_filed' => $prevFiled,
'field' => $item['field'],
'limit' => $item['limit'],
'type' => $item['field_type'],
'comment' => $item['comment'],
'default' => $item['default'],
];
continue;
}
}
if ($item['default_field'] != $item['field'] && in_array($item['field_type'], ['addTimestamps', 'addSoftDelete'])) {
throw new AdminException('伪删除字段不允许被更改');
throw new AdminException($item['field'] . '字段不允许被更改');
}
//数据库表存在的,字段,并且被修改
if ($item['default_field'] != $item['field'] ||
$item['default_field_type'] != $item['type'] ||
$item['default_field_type'] != $item['field_type'] ||
$item['default_limit'] != $item['limit'] ||
$item['default_comment'] != $item['comment'] ||
$item['default_default'] != $item['default']) {
@ -375,6 +465,10 @@ class SystemCrudServices extends BaseServices
foreach ($updateAlter as $item) {
$this->updateAlter($tableName, $item['default_field'], $item['field'], $item['type'], $item['limit'], $item['default'], $item['comment']);
}
//添加字段
foreach ($addAlter as $item) {
$this->addAlter($tableName, $item['field'], $item['prev_filed'], $item['type'], $item['limit'], $item['default'], $item['comment']);
}
//删除多余字段
foreach ($deleteField as $item) {
$this->deleteAlter($tableName, $item);
@ -393,14 +487,10 @@ class SystemCrudServices extends BaseServices
public function createCrud(int $id, array $data)
{
$tableName = $data['tableName'];
$tableComment = $data['tableComment'] ?? $data['menuName'];
$tableField = $this->valueReplace($data['tableField']);
$filePath = $this->valueReplace($data['filePath']);
$modelName = $data['modelName'] ?? $data['menuName'] ?? $tableName;
if ($this->dao->value(['table_name' => $tableName])) {
throw new AdminException(500048);
}
$modelName = !empty($data['modelName']) ? $data['modelName'] : $tableName;
$tableComment = !empty($data['tableComment']) ? $data['tableComment'] : $modelName;
//检测是否为系统表
if (in_array($tableName, self::NOT_CRUD_TABANAME)) {
@ -411,6 +501,7 @@ class SystemCrudServices extends BaseServices
$tableInfo = null;
if ($id) {
$this->updateFromCommon($tableName, $tableComment);
//删除数据库表
$tableInfo = $this->getTableInfo($tableName);
if ($tableInfo) {
@ -476,9 +567,16 @@ class SystemCrudServices extends BaseServices
$res = $this->transaction(function () use ($crudInfo, $tableInfo, $modelName, $filePath, $tableName, $routeName, $data, $dataMenu) {
$routeService = app()->make(SystemRouteServices::class);
$meunService = app()->make(SystemMenusServices::class);
//修改菜单名称
if ($crudInfo) {
$menuInfo = app()->make(SystemMenusServices::class)->update($crudInfo->menu_id, $dataMenu);
//菜单存在的时候进行修改
if ($crudInfo->menu_id && $meunService->value(['id' => [$crudInfo->menu_id]], 'id')) {
$meunService->update($crudInfo->menu_id, $dataMenu);
$menuInfo = (object)['id' => $crudInfo->menu_id];
} else {
$menuInfo = $meunService->save($dataMenu);
}
//删除掉添加的路由权限
if ($crudInfo->routes_id) {
$routeService->deleteRoutes($crudInfo->routes_id);
@ -488,7 +586,7 @@ class SystemCrudServices extends BaseServices
app()->make(SystemMenusServices::class)->deleteMenus($crudInfo->menu_ids);
}
} else {
$menuInfo = app()->make(SystemMenusServices::class)->save($dataMenu);
$menuInfo = $meunService->save($dataMenu);
}
//写入路由权限
$cateId = app()->make(SystemRouteServices::class)->topCateId('adminapi', 'CRUD');
@ -557,7 +655,7 @@ class SystemCrudServices extends BaseServices
$menuData = [];
foreach ($ruleData as $item) {
$menuData[] = [
'pid' => $menuInfo->id,
'pid' => $menuInfo->id ?: 0,
'methods' => $item['method'],
'api_url' => $item['path'],
'unique_auth' => $item['unique_auth'],
@ -566,6 +664,7 @@ class SystemCrudServices extends BaseServices
'auth_type' => 2,
];
}
$menus = app()->make(SystemMenusServices::class)->saveAll($menuData);
$menuIds = array_column($menus->toArray(), 'id');
//生成文件
@ -584,6 +683,7 @@ class SystemCrudServices extends BaseServices
'table_collation' => $tableInfo['TABLE_COLLATION'] ?? '',
'field' => json_encode($data),//提交的数据
'menu_ids' => json_encode($menuIds),//生成的菜单id
'menu_id' => $menuInfo->id,//生成的菜单id
'make_path' => json_encode($makePath),
'routes_id' => json_encode($routeIds),
];
@ -596,6 +696,8 @@ class SystemCrudServices extends BaseServices
$res = $this->dao->save($crudDate);
}
// throw new ValidateException('测试中');
return $res;
});
@ -692,6 +794,10 @@ class SystemCrudServices extends BaseServices
$timestamps = true;
} else {
$option['comment'] = $item['comment'];
$fieldType = $this->changeTabelRule($item['field_type']);
if (in_array($fieldType, ['text', 'longtext', 'tinytext'])) {
unset($option['limit']);
}
$table->addColumn($item['field'], $this->changeTabelRule($item['field_type']), $option);
}
}

View File

@ -124,7 +124,7 @@ class Controller extends Make
'edit' => $controllerPath . 'edit.stub',
'update' => $controllerPath . 'update.stub',
'delete' => $controllerPath . 'delete.stub',
'controller' => $controllerPath . 'CrudController.stub',
'controller' => $controllerPath . 'crudController.stub',
];
return $type ? $stubs[$type] : $stubs;

View File

@ -44,6 +44,6 @@ class Dao extends Make
*/
protected function getStub(string $type = '')
{
return __DIR__ . DS . 'stubs' . DS . 'dao' . DS . 'CrudDao.stub';
return __DIR__ . DS . 'stubs' . DS . 'dao' . DS . 'crudDao.stub';
}
}

View File

@ -84,6 +84,6 @@ class Model extends Make
*/
protected function getStub(string $type = '')
{
return __DIR__ . DS . 'stubs' . DS . 'model' . DS . 'CrudModel.stub';
return __DIR__ . DS . 'stubs' . DS . 'model' . DS . 'crudModel.stub';
}
}

View File

@ -73,10 +73,20 @@ class Service extends Make
$from[] = $this->tab(2) . $this->getframeImagesPhpContent($item['field'], $item['name'], $item['required'] ?? false) . ';';
break;
default:
$from[] = $this->tab(2) . '$rule[] = FormBuilder::' . $item['type'] . '("' . $item['field'] . '","' . $item['name'] . '",$info["' . $item['field'] . '"] ?? "")' . $this->getOptionContent(in_array($item['type'], ['radio', 'select']), $item['option'] ?? []) . ';';
$valueContent = "''";
$input = '$info["' . $item['field'] . '"] ?? ';
if (in_array($item['type'], ['checkbox'])) {
$valueContent = '[]';
$input = '(array)(' . $input . $valueContent . ')';
} else if ($item['type'] == 'radio') {
$valueContent = '-1';
$input = '(int)(' . $input . $valueContent . ')';
} else {
$input = $input . $valueContent;
}
$from[] = $this->tab(2) . '$rule[] = FormBuilder::' . $item['type'] . '("' . $item['field'] . '", "' . $item['name'] . '", ' . $input . ')' . $this->getOptionContent(in_array($item['type'], ['radio', 'select', 'checkbox']), $item['option'] ?? []) . ';';
break;
}
}
if ($from) {
$this->value['use-php'] .= "\n" . 'use crmeb\services\FormBuilder;';
@ -103,6 +113,7 @@ class Service extends Make
$filePath = $this->getFilePathName($path, $this->value['nameCamel']);
$this->usePath = $this->baseDir . '\\' . $this->value['nameCamel'];
$this->setContent($contentStr);
$this->setPathname($filePath);
return $this;
@ -117,7 +128,10 @@ class Service extends Make
*/
protected function getOptionContent(bool $isOption, array $option = [])
{
if (!$option && $isOption) {
if (!$isOption) {
return '';
}
if (!$option) {
$option = [
['value' => 1, 'label' => '开启'],
['value' => 0, 'label' => '关闭']
@ -127,11 +141,11 @@ class Service extends Make
if ($option) {
$attOption = [];
foreach ($option as $item) {
$attOption[] = $this->tab(2) . "['value'=>'{$item['value']}', 'label'=>'{$item['label']}'],";
$attOption[] = $this->tab(3) . "['value'=>'{$item['value']}', 'label'=>'{$item['label']}'],";
}
$strOption = implode("\n", $attOption);
$php = '->options([' . $strOption . '])';
$php = "->options([\n" . $strOption . "\n" . $this->tab(2) . "])";
}
return $php;
@ -210,11 +224,11 @@ CONTENT;
$servicePath = __DIR__ . DS . 'stubs' . DS . 'service' . DS;
$stubs = [
'index' => $servicePath . 'CrudListIndex.stub',
'form' => $servicePath . 'GetCrudForm.stub',
'save' => $servicePath . 'CrudSave.stub',
'update' => $servicePath . 'CrudUpdate.stub',
'services' => $servicePath . 'CrudService.stub',
'index' => $servicePath . 'crudListIndex.stub',
'form' => $servicePath . 'getCrudForm.stub',
'save' => $servicePath . 'crudSave.stub',
'update' => $servicePath . 'crudUpdate.stub',
'services' => $servicePath . 'crudService.stub',
];
return $type ? $stubs[$type] : $stubs;

View File

@ -74,19 +74,23 @@ class ViewPages extends Make
$columnStr = [];
$contentVue = [];
foreach ($field as $key => $item) {
$keyName = 'key';
if (isset($item['type'])) {
switch ($item['type']) {
case 'frameImageOne':
$keyName = 'slot';
$templateContent = file_get_contents($this->getStub('image'));
$contentVue[] = str_replace(['{%field%}'], [$item['field']], $templateContent);
break;
case 'frameImages':
$keyName = 'slot';
$templateContent = file_get_contents($this->getStub('images'));
$contentVue[] = str_replace(['{%field%}'], [$item['field']], $templateContent);
break;
}
}
$columnStr[] = ($key == 0 ? $this->tab(2) : '') . "{\n" . $this->tab(3) . "title:\"{$item['name']}\"," . $this->tab(2) . "\n" . $this->tab(3) . "key:\"{$item['field']}\"\n" . $this->tab(2) . "}\n";
$columnStr[] = ($key == 0 ? $this->tab(2) : '') . "{\n" . $this->tab(3) . "title:\"{$item['name']}\"," . $this->tab(2) . "\n" . $this->tab(3) . "$keyName:\"{$item['field']}\"\n" . $this->tab(2) . "}\n";
}
$this->value['auth'] = Str::snake($name);
$this->value['componentName'] = $this->value['auth'];

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
.maxW[data-v-04cfcd82] .ivu-select-dropdown{max-width:600px}.tabBox_img[data-v-04cfcd82]{width:50px;height:50px;margin:0 auto}.tabBox_img img[data-v-04cfcd82]{width:100%;height:100%}.priceBox[data-v-04cfcd82]{width:100%}.form .picBox[data-v-04cfcd82],.form .pictrue[data-v-04cfcd82]{display:inline-block;cursor:pointer}.form .pictrue[data-v-04cfcd82]{width:60px;height:60px;border:1px dotted rgba(0,0,0,.1);margin-right:15px;position:relative}.form .pictrue img[data-v-04cfcd82]{width:100%;height:100%}.form .pictrue .btndel[data-v-04cfcd82]{position:absolute;z-index:9;width:20px!important;height:20px!important;left:46px;top:-4px}.form .upLoad[data-v-04cfcd82]{width:58px;height:58px;line-height:58px;border:1px dotted rgba(0,0,0,.1);border-radius:4px;background:rgba(0,0,0,.02);cursor:pointer}.form .col[data-v-04cfcd82]{color:#2d8cf0;cursor:pointer}.addfont[data-v-04cfcd82]{font-size:13px;color:#1890ff;margin-left:14px;margin-left:10px;cursor:pointer}

View File

@ -0,0 +1 @@
.grey[data-v-8109b8f8]{color:#999}.maxW[data-v-8109b8f8] .ivu-select-dropdown{max-width:600px}.ivu-table-wrapper[data-v-8109b8f8]{border-left:1px solid #dcdee2;border-top:1px solid #dcdee2}.tabBox_img[data-v-8109b8f8]{width:50px;height:50px}.tabBox_img img[data-v-8109b8f8]{width:100%;height:100%}.priceBox[data-v-8109b8f8]{width:100%}.form .picBox[data-v-8109b8f8],.form .pictrue[data-v-8109b8f8]{display:inline-block;cursor:pointer}.form .pictrue[data-v-8109b8f8]{width:60px;height:60px;border:1px dotted rgba(0,0,0,.1);margin-right:15px;position:relative}.form .pictrue img[data-v-8109b8f8]{width:100%;height:100%}.form .pictrue .btndel[data-v-8109b8f8]{position:absolute;z-index:9;width:20px!important;height:20px!important;left:46px;top:-4px}.form .upLoad[data-v-8109b8f8]{width:58px;height:58px;line-height:58px;border:1px dotted rgba(0,0,0,.1);border-radius:4px;background:rgba(0,0,0,.02);cursor:pointer}.form .col[data-v-8109b8f8]{color:#2d8cf0;cursor:pointer}.addfont[data-v-8109b8f8]{font-size:13px;color:#1890ff;margin-left:14px;margin-left:10px;cursor:pointer}

View File

@ -0,0 +1 @@
.tableBox[data-v-35428d3a] .ivu-table-header table{border:none!important}.table-mark[data-v-35428d3a]{cursor:text}.table-mark[data-v-35428d3a]:hover{border:1px solid #c2c2c2;padding:3px 5px}.mark[data-v-35428d3a] .ivu-input{background:#fff;border-radius:.39rem}.ivu-input[data-v-35428d3a]:focus,.ivu-input[data-v-35428d3a]:hover,.mark[data-v-35428d3a] .ivu-input{border:transparent;-webkit-box-shadow:none;box-shadow:none}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
.maxInpt[data-v-af23262e]{max-width:400px;margin-left:auto;margin-right:auto}.index_from[data-v-af23262e]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.trip[data-v-af23262e]{width:450px;text-align:left;color:#aaa}.page-account-container[data-v-af23262e]{text-align:center;padding:200px 0}.page-account-top[data-v-af23262e]{margin-bottom:50px}.page-account-top-tit[data-v-af23262e]{font-size:30px;color:#1890ff;font-weight:500}.page-account-other[data-v-af23262e]{text-align:center;color:#1890ff;font-size:12px}.page-account-other span[data-v-af23262e]{cursor:pointe}[data-v-af23262e] .btn{font-size:15px!important}

View File

@ -0,0 +1 @@
.form-width[data-v-5857d503]{width:500px}.item[data-v-5857d503]{display:-webkit-box;display:-ms-flexbox;display:flex;margin-bottom:10px}.item .row[data-v-5857d503]{width:140px;margin-right:10px}.form-width[data-v-475e22c4]{width:500px}.item[data-v-475e22c4]{display:-webkit-box;display:-ms-flexbox;display:flex;margin-bottom:10px}.item .row[data-v-475e22c4]{width:140px;margin-right:10px}.table-options[data-v-475e22c4]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.table-options .create[data-v-475e22c4]{font-size:16px;margin-left:10px;cursor:pointer}.options-list .item[data-v-475e22c4]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.options-list .item .add[data-v-475e22c4]{font-size:24px;color:#2d8cf0}.form-width[data-v-4cd76107]{width:500px}.ivu-steps .ivu-steps-title[data-v-32efebfc]{line-height:26px}.code-wapper[data-v-32efebfc]{min-height:800px;padding-bottom:90px}.btn[data-v-32efebfc]{position:fixed;bottom:10px;height:80px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:88.7%;background-color:hsla(0,0%,100%,.6);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.tab-1[data-v-32efebfc]{padding-bottom:100px}[data-v-32efebfc] .el-input__inner{padding-left:7px}[data-v-32efebfc] .ivu-form-item{margin-bottom:17px}[data-v-32efebfc] .ivu-form-item-error-tip{padding-top:2px}[data-v-32efebfc] .tip{color:#bbb;line-height:16px;padding-top:5px}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
[data-v-652b71c6] .diy-fullscreen{overflow:hidden}[data-v-652b71c6] .diy-fullscreen .ivu-modal{top:0;left:0;right:0;bottom:0;height:100%;width:100%!important}[data-v-652b71c6] .diy-fullscreen .ivu-modal .ivu-modal-content,[data-v-652b71c6] .diy-fullscreen .ivu-modal .ivu-modal-content .ivu-modal-body{height:100%}[data-v-652b71c6] .diy-fullscreen .ivu-modal .ivu-tabs .ivu-tabs-content-animated{height:92%;background-color:#2f2f2f!important}[data-v-652b71c6] .diy-fullscreen .ivu-modal .ivu-tabs-content{height:100%}[data-v-652b71c6] .diy-fullscreen .ivu-modal .ivu-tabs .ivu-tabs-tabpane{height:92%}.diy-header[data-v-652b71c6]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.diy-header .diy-header-icon[data-v-652b71c6]{margin-right:30px;cursor:pointer}.diy-header .diy-header-icon[data-v-652b71c6]:hover{opacity:.8}[data-v-652b71c6] .ivu-modal{top:70px}.ivu-modal-content .ivu-modal-body[data-v-652b71c6]{min-height:632px;height:80vh;overflow:hidden}.ivu-tabs .ivu-tabs-content-animated[data-v-652b71c6],.ivu-tabs .ivu-tabs-tabpane[data-v-652b71c6]{min-height:560px;height:73vh;margin-top:-1px}.ivu-tabs-nav .ivu-tabs-tab .ivu-icon[data-v-652b71c6]{color:red}[data-v-652b71c6] body .ivu-select-dropdown .ivu-dropdown-transfer{background:red!important}.file-left[data-v-652b71c6] .ivu-select-dropdown.ivu-dropdown-transfer .ivu-dropdown-menu .ivu-dropdown-item:hover{background-color:#e5e5e5!important}[data-v-652b71c6] .ivu-tabs.ivu-tabs-card>.ivu-tabs-bar .ivu-tabs-nav-container{background-color:#fff}.demo-drawer-footer[data-v-652b71c6]{width:100%;position:absolute;bottom:0;left:0;border-top:1px solid #e8e8e8;padding:10px 16px;text-align:right;background:#fff}.file[data-v-652b71c6]{position:relative}.file .save[data-v-652b71c6]{position:absolute;right:140px;top:60px;z-index:99}

View File

@ -0,0 +1 @@
.custom-label[data-v-4a956d4b]{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;line-height:1.5}.grey[data-v-4a956d4b]{color:#999}.maxW[data-v-4a956d4b] .ivu-select-dropdown{max-width:600px}.tabBox_img[data-v-4a956d4b]{width:50px;height:50px;margin:0 auto}.tabBox_img img[data-v-4a956d4b]{width:100%;height:100%}.priceBox[data-v-4a956d4b]{width:100%}.form .picBox[data-v-4a956d4b],.form .pictrue[data-v-4a956d4b]{display:inline-block;cursor:pointer}.form .pictrue[data-v-4a956d4b]{width:60px;height:60px;border:1px dotted rgba(0,0,0,.1);margin-right:15px;position:relative}.form .pictrue img[data-v-4a956d4b]{width:100%;height:100%}.form .pictrue .btndel[data-v-4a956d4b]{position:absolute;z-index:9;width:20px!important;height:20px!important;left:46px;top:-4px}.form .upLoad[data-v-4a956d4b]{width:58px;height:58px;line-height:58px;border:1px dotted rgba(0,0,0,.1);border-radius:4px;background:rgba(0,0,0,.02);cursor:pointer}

View File

@ -0,0 +1 @@
.grey[data-v-ab19ad14]{color:#999}.maxW[data-v-ab19ad14] .ivu-select-dropdown{max-width:600px}.ivu-table-wrapper[data-v-ab19ad14]{border-left:1px solid #dcdee2;border-top:1px solid #dcdee2}.tabBox_img[data-v-ab19ad14]{width:50px;height:50px}.tabBox_img img[data-v-ab19ad14]{width:100%;height:100%}.priceBox[data-v-ab19ad14]{width:100%}.form .picBox[data-v-ab19ad14],.form .pictrue[data-v-ab19ad14]{display:inline-block;cursor:pointer}.form .pictrue[data-v-ab19ad14]{width:60px;height:60px;border:1px dotted rgba(0,0,0,.1);margin-right:15px;position:relative}.form .pictrue img[data-v-ab19ad14]{width:100%;height:100%}.form .pictrue .btndel[data-v-ab19ad14]{position:absolute;z-index:9;width:20px!important;height:20px!important;left:46px;top:-4px}.form .upLoad[data-v-ab19ad14]{width:58px;height:58px;line-height:58px;border:1px dotted rgba(0,0,0,.1);border-radius:4px;background:rgba(0,0,0,.02);cursor:pointer}.form .col[data-v-ab19ad14]{color:#2d8cf0;cursor:pointer}.addfont[data-v-ab19ad14]{font-size:13px;color:#1890ff;margin-left:14px;margin-left:10px;cursor:pointer}

View File

@ -0,0 +1 @@
.label-wrapper .list[data-v-efed029e]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.label-wrapper .list .label-item[data-v-efed029e]{margin:10px 8px 10px 0;padding:3px 8px;background:#eee;color:#333;border-radius:2px;cursor:pointer;font-size:12px}.label-wrapper .list .label-item.on[data-v-efed029e]{color:#fff;background:#1890ff}.label-wrapper .footer[data-v-efed029e]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;margin-top:40px}.label-wrapper .footer button[data-v-efed029e]{margin-left:10px}.btn[data-v-efed029e]{width:60px;height:24px}.title[data-v-efed029e]{font-size:13px}.nonefont[data-v-efed029e]{text-align:center;padding-top:20px}.pictrueBox[data-v-6f1baf98]{display:inline-block}.pictrue[data-v-6f1baf98]{width:60px;height:60px;border:1px dotted rgba(0,0,0,.1);margin-right:15px;display:inline-block;position:relative;cursor:pointer}.pictrue img[data-v-6f1baf98]{width:100%;height:100%}.pictrue .btndel[data-v-6f1baf98]{position:absolute;z-index:1;width:20px!important;height:20px!important;left:46px;top:-4px}.upload-list[data-v-6f1baf98]{width:58px;height:58px;line-height:58px;border:1px dotted rgba(0,0,0,.1);border-radius:4px;background:rgba(0,0,0,.02);cursor:pointer;position:relative}.upload-list img[data-v-6f1baf98]{display:block;width:100%;height:100%}.upLoad[data-v-6f1baf98]{width:58px;height:58px;line-height:58px;border:1px dotted rgba(0,0,0,.1);border-radius:4px;background:rgba(0,0,0,.02);cursor:pointer}.ivu-icon-ios-close-circle[data-v-6f1baf98]{position:absolute;top:0;right:0;-webkit-transform:translate(50%,-50%);transform:translate(50%,-50%)}.grey[data-v-6f1baf98]{color:#999}.custom-label[data-v-3e6910dc]{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;line-height:1.5}.grey[data-v-3e6910dc]{color:#999}.maxW[data-v-3e6910dc] .ivu-select-dropdown{max-width:600px}.ivu-table-wrapper[data-v-3e6910dc]{border-left:1px solid #dcdee2;border-top:1px solid #dcdee2}.tabBox_img[data-v-3e6910dc]{width:50px;height:50px}.tabBox_img img[data-v-3e6910dc]{width:100%;height:100%}.priceBox[data-v-3e6910dc]{width:100%}.form .picBox[data-v-3e6910dc],.form .pictrue[data-v-3e6910dc]{display:inline-block;cursor:pointer}.form .pictrue[data-v-3e6910dc]{width:58px;height:58px;border:1px dotted rgba(0,0,0,.1);margin-right:0;position:relative}.form .pictrue img[data-v-3e6910dc]{width:100%;height:100%}.form .pictrue .btndel[data-v-3e6910dc]{position:absolute;z-index:9;width:20px!important;height:20px!important;left:46px;top:-4px}.form .upLoad[data-v-3e6910dc]{width:58px;height:58px;line-height:58px;border:1px dotted rgba(0,0,0,.1);border-radius:4px;background:rgba(0,0,0,.02);cursor:pointer}.labelInput[data-v-3e6910dc]{border:1px solid #dcdee2;padding:0 6px;width:30%;border-radius:5px;min-height:30px;cursor:pointer}.labelInput .span[data-v-3e6910dc]{color:#c5c8ce}.labelInput .ivu-icon-ios-arrow-down[data-v-3e6910dc]{font-size:14px;color:#808695}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
.monaco-editor[data-v-74f95c46]{min-height:300px}.vxe-select--panel.is--transfer{z-index:99999!important}.content[data-v-7aac1b53]{padding:12px}.content .head .item[data-v-7aac1b53],.content .head[data-v-7aac1b53]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.content .head .item[data-v-7aac1b53]{margin-bottom:12px;font-size:14px}.content .head .item .title[data-v-7aac1b53]{margin-right:14px}.copy-btn[data-v-7aac1b53]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:right;-ms-flex-pack:right;justify-content:right}.reset[data-v-6732a07a]{margin-left:10px}.card-tree[data-v-6732a07a]{height:72px;-webkit-box-sizing:border-box;box-sizing:border-box;overflow-x:scroll;white-space:nowrap;overflow-y:hidden;scrollbar-width:none;-ms-overflow-style:none}.card-tree[data-v-6732a07a]::-webkit-scrollbar{display:none}.main[data-v-6732a07a]{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex}.main .card-tree[data-v-6732a07a]{width:270px;height:calc(100vh - 115px);overflow-y:scroll}.main[data-v-6732a07a] .tree .tree-list{margin-left:10px}.main[data-v-6732a07a] .tree .vtl-caret{padding-right:2px}.main[data-v-6732a07a] .tree .req-method{display:block;padding:0 2px;font-size:12px;margin-right:5px;border-radius:4px;text-transform:uppercase}.main[data-v-6732a07a] .tree .tree-node{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;cursor:pointer;padding:3px 7px 3px 0}.main[data-v-6732a07a] .tree .node{padding:7px 2px 7px 0}.main[data-v-6732a07a] .tree .open{font-weight:500;color:#333}.main[data-v-6732a07a] .vtl-node-main .vtl-operation{position:absolute;right:20px}.main[data-v-6732a07a] .vtl-node-content{width:100%}.main .pop-menu[data-v-6732a07a]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.main[data-v-6732a07a] .vtl-node-content .add{display:none;margin-right:10px}.main[data-v-6732a07a] .vtl-node-content:hover .add{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border-radius:50%;width:20px;height:20px}.main[data-v-6732a07a] .vtl-node-content:hover .add:hover{background-color:#fff}.main[data-v-6732a07a] .vtl-node-content:hover .add:hover .pop-menu{font-size:16px}.main[data-v-6732a07a] .vtl-node-main{padding:0}.main[data-v-6732a07a] .line1{display:table-caption;white-space:nowrap;width:120px;overflow:hidden;text-overflow:ellipsis}.main[data-v-6732a07a] .ivu-form-item{margin-bottom:10px}.main .right-card[data-v-6732a07a]{max-height:calc(100vh - 115px);overflow-y:scroll}.main .data[data-v-6732a07a],.main .right-card[data-v-6732a07a]{-webkit-box-flex:1;-ms-flex:1;flex:1}.main .data .req-method[data-v-6732a07a]{text-transform:uppercase;border-radius:4px;color:#fff;padding:3px 7px}.main .data .eidt-sub[data-v-6732a07a]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.main .data .eidt-sub .name[data-v-6732a07a]{font-size:20px;font-weight:500}.main .data .title[data-v-6732a07a]{font-size:16px;font-weight:500;margin-bottom:15px}.main .data .perW20[data-v-6732a07a]{width:500px}.main .data .text-area[data-v-6732a07a]{white-space:pre-wrap;word-break:break-word}.main[data-v-6732a07a] .ivu-tree-title{width:100%!important}.main[data-v-6732a07a] .vtl-tree-margin{margin-left:5px}.main[data-v-6732a07a] .ivu-btn-icon-only.ivu-btn-small{width:28px}.main .nothing[data-v-6732a07a]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;min-height:800px}.main .nothing .box[data-v-6732a07a]:hover{border:1px solid pink}.main .nothing .box[data-v-6732a07a]{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;width:150px;height:200px;margin:0 20px;border-radius:10px;cursor:pointer;overflow:hidden;border:1px solid #fff}.main .nothing .box .icon[data-v-6732a07a],.main .nothing .box[data-v-6732a07a]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.main .nothing .box .icon[data-v-6732a07a]{width:100%;height:150px;font-size:40px;color:#2d8cf0;background:#f1f1f1}.main .nothing .box .text[data-v-6732a07a]{width:100%;height:50px;background:#ddd;text-align:center;line-height:50px;font-size:14px;font-weight:500}

View File

@ -0,0 +1 @@
[data-v-3d16b9f1] .center{text-align:center;margin-right:0!important;margin-left:5px}.layout-columns-aside[data-v-f3030218]{width:70px;height:100%;background:var(--prev-bg-columnsMenuBar);-webkit-box-shadow:0 1px 4px rgba(0,21,41,.08);box-shadow:0 1px 4px rgba(0,21,41,.08);border-right:1px solid var(--prev-border-color-lighter)}.layout-columns-aside ul[data-v-f3030218]{position:relative}.layout-columns-aside ul li[data-v-f3030218]{color:var(--prev-bg-columnsMenuBarColor);width:100%;height:50px;text-align:center;display:-webkit-box;display:-ms-flexbox;display:flex;cursor:pointer;position:relative;z-index:1}.layout-columns-aside ul li .columns-vertical[data-v-f3030218]{margin:auto}.layout-columns-aside ul li .columns-vertical .columns-vertical-title[data-v-f3030218]{padding-top:1px}.layout-columns-aside ul li .columns-horizontal[data-v-f3030218]{display:-webkit-box;display:-ms-flexbox;display:flex;height:50px;width:100%;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding:0 5px}.layout-columns-aside ul li .columns-horizontal i[data-v-f3030218]{margin-right:3px}.layout-columns-aside ul li .columns-horizontal a[data-v-f3030218]{display:-webkit-box;display:-ms-flexbox;display:flex}.layout-columns-aside ul li .columns-horizontal a .columns-horizontal-title[data-v-f3030218]{padding-top:1px}.layout-columns-aside ul li a[data-v-f3030218]{text-decoration:none;color:var(--prev-bg-columnsMenuBarColor)}.layout-columns-aside ul .layout-columns-active[data-v-f3030218],.layout-columns-aside ul .layout-columns-active a[data-v-f3030218]{color:var(--prev-bg-columnsMenuActiveColor);-webkit-transition:.3s ease-in-out;transition:.3s ease-in-out}.layout-columns-aside ul .columns-card[data-v-f3030218],.layout-columns-aside ul .columns-round[data-v-f3030218]{background:var(--prev-color-primary);position:absolute;left:50%;top:2px;height:50px;width:65px;-webkit-transform:translateX(-50%);transform:translateX(-50%);z-index:0;-webkit-transition:.3s ease-in-out;transition:.3s ease-in-out;border-radius:5px}.layout-columns-aside ul .columns-card[data-v-f3030218]{top:0;height:50px;width:100%;border-radius:0}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
.v-transfer-dom[data-v-306b6d59] .ivu-modal-content-drag{z-index:2!important}.radio[data-v-306b6d59]{margin-bottom:14px}.radio[data-v-306b6d59] .name{width:125px;text-align:right;padding-right:12px}.tabBox_img[data-v-68334b14]{width:36px;height:36px;border-radius:4px;cursor:pointer}.tabBox_img img[data-v-68334b14]{width:100%;height:100%}

View File

@ -0,0 +1 @@
.right-box[data-v-d33c835e]{width:700px;margin-left:50px;border:1px solid #ddd;border-radius:4px;height:700px;overflow-y:scroll}.right-box[data-v-d33c835e]::-webkit-scrollbar{width:4px;height:1px}.right-box[data-v-d33c835e]::-webkit-scrollbar-thumb{border-radius:4px;-webkit-box-shadow:inset 0 0 5px rgba(0,0,0,.2);box-shadow:inset 0 0 5px rgba(0,0,0,.2);background:#535353}.right-box[data-v-d33c835e]::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 5px #fff;box-shadow:inset 0 0 5px #fff;border-radius:4px;background:#fff}.title-bar[data-v-d33c835e]{width:100%;height:38px;line-height:38px;padding-left:24px;color:#333;border-radius:4px;border-bottom:1px solid #eee}.right-box[data-v-3bcf00cc]{width:400px;margin-left:50px;border:1px solid #ddd;border-radius:4px;height:700px;overflow-y:scroll;padding:0 10px}.right-box[data-v-3bcf00cc]::-webkit-scrollbar{width:4px;height:1px}.right-box[data-v-3bcf00cc]::-webkit-scrollbar-thumb{border-radius:4px;-webkit-box-shadow:inset 0 0 5px rgba(0,0,0,.2);box-shadow:inset 0 0 5px rgba(0,0,0,.2);background:#535353}.right-box[data-v-3bcf00cc]::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 5px #fff;box-shadow:inset 0 0 5px #fff;border-radius:4px;background:#fff}.right-box .link-item[data-v-3bcf00cc]{padding:10px 0;border-bottom:1px solid #f5f5f5}.right-box .link-item .title[data-v-3bcf00cc]{font-size:14px;color:#2d8cf0}.right-box .link-item .txt[data-v-3bcf00cc]{margin:5px 0;font-size:12px}.right-box .link-item .txt span[data-v-3bcf00cc]{color:#333}.right-box .link-item .txt p[data-v-3bcf00cc]{display:inline-block;color:#19be6b;margin-right:10px}.right-box .link-item .txt p span[data-v-3bcf00cc]{color:#333}.right-box .link-item .txt p.red[data-v-3bcf00cc]{color:red}.right-box .link-item .tips[data-v-3bcf00cc]{font-size:12px;color:#999}.right-box .link-item .tips .copy[data-v-3bcf00cc]{padding:3px 5px;border:1px solid #ccc;border-radius:5px;color:#333;cursor:pointer;margin-left:5px}.right-box .link-item .tips .copy[data-v-3bcf00cc]:hover{border-color:#2d8cf0;color:#2d8cf0}.flex-wrapper[data-v-c31695c8]{display:-webkit-box;display:-ms-flexbox;display:flex}.iframe-box[data-v-c31695c8]{min-width:375px;height:700px;border-radius:4px;-webkit-box-shadow:0 0 7px #ccc;box-shadow:0 0 7px #ccc}.right-box[data-v-c31695c8]{width:500px;margin-left:50px;border:1px solid #ddd;border-radius:4px}.right-box .title-bar[data-v-c31695c8]{width:100%;height:38px;line-height:38px;padding-left:24px;color:#333;border-radius:4px;border-bottom:1px solid #eee}

View File

@ -0,0 +1 @@
.one[data-v-ad3f99f8]{background:#1890ff}.two[data-v-ad3f99f8]{background:#00c050}.three[data-v-ad3f99f8]{background:#ffab2b}.four[data-v-ad3f99f8]{background:#b37feb}.el-icon-caret-top[data-v-ad3f99f8],.up[data-v-ad3f99f8]{color:#f5222d;font-size:12px;opacity:1!important}.iconfont[data-v-ad3f99f8]{font-size:16px;color:#fff}.down[data-v-ad3f99f8],.el-icon-caret-bottom[data-v-ad3f99f8]{color:#39c15b;font-size:12px}.curP[data-v-ad3f99f8]{cursor:pointer}.header-title[data-v-ad3f99f8]{font-size:16px;color:rgba(0,0,0,.85)}.header-time[data-v-ad3f99f8]{font-size:12px;color:#000;opacity:.45}.iconCrl[data-v-ad3f99f8]{width:32px;height:32px;border-radius:50%;text-align:center;line-height:32px;opacity:.7}.lan[data-v-ad3f99f8]{background:#1890ff}.iconshangpinliulanliang[data-v-ad3f99f8]{color:#fff}.infoBox[data-v-ad3f99f8]{width:20%}.info .sp1[data-v-ad3f99f8]{color:#666;font-size:14px;display:block}.info .sp2[data-v-ad3f99f8]{font-weight:400;font-size:30px;color:rgba(0,0,0,.85);display:block}.info .sp3[data-v-ad3f99f8]{font-size:12px;font-weight:400;color:rgba(0,0,0,.45);display:block}.fwn[data-v-ad3f99f8]{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.one[data-v-2d20fc52]{background:#1890ff}.two[data-v-2d20fc52]{background:#00c050}.three[data-v-2d20fc52]{background:#ffab2b}.four[data-v-2d20fc52]{background:#b37feb}.el-icon-caret-top[data-v-2d20fc52],.up[data-v-2d20fc52]{color:#f5222d;font-size:12px;opacity:1!important}.down[data-v-2d20fc52],.el-icon-caret-bottom[data-v-2d20fc52]{color:#39c15b;font-size:12px}.curP[data-v-2d20fc52]{cursor:pointer}.header-title[data-v-2d20fc52]{font-size:16px;color:rgba(0,0,0,.85)}.header-time[data-v-2d20fc52]{font-size:12px;color:#000;opacity:.45}.iconfont[data-v-2d20fc52]{font-size:16px;color:#fff}.iconCrl[data-v-2d20fc52]{width:32px;height:32px;border-radius:50%;text-align:center;line-height:32px;opacity:.7}.lan[data-v-2d20fc52]{background:#1890ff}.iconshangpinliulanliang[data-v-2d20fc52]{color:#fff}.infoBox[data-v-2d20fc52]{width:20%}@media screen and (max-width:1200px){.infoBox[data-v-2d20fc52]{width:33%}}@media screen and (max-width:900px){.infoBox[data-v-2d20fc52]{width:50%}}.info .sp1[data-v-2d20fc52]{color:#666;font-size:14px;display:block}.info .sp2[data-v-2d20fc52]{font-weight:400;font-size:30px;color:rgba(0,0,0,.85);display:block}.info .sp3[data-v-2d20fc52]{font-size:12px;font-weight:400;color:rgba(0,0,0,.45);display:block}.echarts[data-v-36f02339],.tables[data-v-36f02339]{width:100%}.tables[data-v-36f02339] .ivu-table-overflowY::-webkit-scrollbar{width:0}.tables[data-v-36f02339] .ivu-table-overflowY::-webkit-scrollbar-track{background-color:transparent}.tables[data-v-36f02339] .ivu-table-overflowY::-webkit-scrollbar-thumb{background:#e8eaec}.ivu-form-item[data-v-353f8b36]{padding-bottom:10px;margin-bottom:0}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-2d0cf6e4"],{"644d":function(t,e,i){"use strict";i.r(e);var n=i("f3f3"),o=(i("a434"),i("2f62")),s=i("8593");n={name:"index",computed:Object(n.a)(Object(n.a)(Object(n.a)({},Object(o.d)("media",["isMobile"])),Object(o.d)("userLevel",["categoryId"])),{},{labelWidth:function(){return this.isMobile?void 0:80},labelPosition:function(){return this.isMobile?"top":"left"}}),data:function(){return{verModal:!1,total:20,tableFrom:{page:1,limit:15},columns1:[{title:"版本号",slot:"version",width:80},{title:"平台类型",slot:"platform",align:"center",minWidth:120},{title:"升级信息",key:"info",minWidth:60},{title:"是否强制",slot:"is_force",minWidth:120},{title:"发布日期",key:"add_time",minWidth:120},{title:"下载地址",key:"url",minWidth:120},{title:"操作",slot:"action",align:"center",minWidth:50}],loading:!1,tableList:[]}},created:function(){this.getList()},methods:{submitFail:function(){this.getList()},record:function(t){this.rows=t,this.modals3=!0,this.isChat=!0,this.getListRecord()},add:function(){var t=this;this.$modalForm(Object(s.qb)(0)).then((function(e){t.getList()}))},getList:function(){var t=this;this.loading=!0,Object(s.rb)().then((function(e){t.tableList=e.data.list,t.total=e.data.count,t.loading=!1})).catch((function(e){t.$Message.error(e),t.loading=!1}))},edit:function(t){var e=this;this.$modalForm(Object(s.qb)(t.id)).then((function(t){e.getList()}))},del:function(t,e,i){var n=this;e={title:e,num:i,url:"app/version/del/".concat(t.id),method:"DELETE",ids:""};this.$modalSure(e).then((function(t){n.$Message.success(t.msg),n.tableList.splice(i,1)})).catch((function(t){n.$Message.error(t.msg)}))},handleSubmit:function(t){var e=this;this.$refs[t].validate((function(t){t?e.$Message.success("成功!"):e.$Message.error("失败!")}))},handleReset:function(t){this.$refs[t].resetFields()},pageChange:function(){}}},o=i("2877"),i=Object(o.a)(n,(function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("Card",{staticClass:"ivu-mt",attrs:{bordered:!1,"dis-hover":""}},[i("Row",{staticClass:"mb20",attrs:{type:"flex"}},[i("Col",{attrs:{span:"24"}},[i("Button",{staticClass:"mr10",attrs:{type:"primary",icon:"md-add"},on:{click:t.add}},[t._v("发布版本")])],1)],1),i("Table",{attrs:{columns:t.columns1,data:t.tableList,loading:t.loading,"highlight-row":"","no-userFrom-text":"暂无数据","no-filtered-userFrom-text":"暂无筛选结果"},scopedSlots:t._u([{key:"version",fn:function(e){return e=e.row,[e.is_new?i("Poptip",{attrs:{trigger:"hover",placement:"top-start",content:"当前为最新线上版本!"}},[i("Icon",{staticStyle:{"margin-right":"10px"},attrs:{size:"16",type:"ios-bookmark",color:"red"}})],1):i("Icon",{staticStyle:{"margin-right":"10px"},attrs:{size:"16",type:"ios-bookmark",color:"white"}}),i("span",[t._v(t._s(e.version)+" ")])]}},{key:"platform",fn:function(e){return e=e.row,[i("span",[t._v(t._s(1===e.platform?"安卓":"苹果"))])]}},{key:"is_force",fn:function(e){return e=e.row,[i("span",[t._v(t._s(1===e.is_force?"强制":"非强制"))])]}},{key:"action",fn:function(e){var n=e.row;return e.index,[i("a",{on:{click:function(e){return t.edit(n)}}},[t._v("编辑")])]}}])}),i("div",{staticClass:"acea-row row-right page"},[i("Page",{attrs:{total:t.total,"show-elevator":"","show-total":"","page-size":t.tableFrom.limit},on:{"on-change":t.pageChange}})],1)],1)],1)}),[],!1,null,"20ecb514",null);e.default=i.exports}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-ce8ebbb4"],{"76e3":function(t,e,a){"use strict";var s=a("d7d7");a.n(s).a},b4f0:function(t,e,a){"use strict";a.r(e);var s=a("8593"),r={name:"systemCleardata",data:function(){return{value6:"",modals:!1,grid:{xl:6,lg:8,md:12,sm:24,xs:24},tabList:[{title:"更换域名",tlt:"替换所有本地上传的图片域名",typeName:"primary",type:"11"},{title:"清除用户生成的临时附件",tlt:"清除用户生成的临时附件,不会影响商品图",typeName:"error",type:"temp"},{title:"清除回收站商品",tlt:"清除回收站商品,谨慎操作",typeName:"error",type:"recycle"},{title:"清除用户数据",tlt:"用户相关的所有表都将被清除,谨慎操作",typeName:"error",type:"user"},{title:"清除商城数据",tlt:"清除所有商城数据,谨慎操作",typeName:"error",type:"store"},{title:"清除商品分类",tlt:"会清除所有商品分类,谨慎操作",typeName:"error",type:"category"},{title:"清除订单数据",tlt:"清除用户所有订单数据,谨慎操作",typeName:"error",type:"order"},{title:"清除客服数据",tlt:"清除添加的客服数据,谨慎操作",typeName:"error",type:"kefu"},{title:"清除微信数据",tlt:"清除微信菜单保存数据,微信关键字无效回复",typeName:"error",type:"wechat"},{title:"清除内容分类",tlt:"清除添加的文章和文章分类,谨慎操作",typeName:"error",type:"article"},{title:"清除所有附件",tlt:"清除所有附件用户生成和后台上传,谨慎操作",typeName:"error",type:"attachment"},{title:"清除系统记录",tlt:"清除系统记录,谨慎操作",typeName:"error",type:"system"}]}},methods:{onChange:function(t){"11"===t.type?this.modals=!0:this.clearFroms(t)},clearFroms:function(t){var e=this;t={title:t.title,url:"system/clear/".concat(t.type),method:"get",ids:""};this.$modalSure(t).then((function(t){e.$Message.success(t.msg)})).catch((function(t){e.$Message.error(t.msg)}))},changeYU:function(){var t=this;Object(s.V)({url:this.value6}).then((function(e){t.modals=!1,t.$Message.success(e.msg)})).catch((function(e){t.$Message.error(e.msg)}))}}};a("76e3"),a=a("2877"),a=Object(a.a)(r,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("div",{staticClass:"i-layout-page-header header-title"},[a("span",{staticClass:"ivu-page-header-title"},[t._v(t._s(t.$route.meta.title))]),a("span",{staticClass:"clear_tit"},[a("Icon",{attrs:{type:"md-information-circle",color:"#ED4014"}}),a("span",[t._v("清除数据请谨慎,清除就无法恢复哦!")])],1)]),a("Card",{staticClass:"ivu-mt",attrs:{bordered:!1,"dis-hover":""}},[a("Row",{attrs:{type:"flex",gutter:24}},t._l(t.tabList,(function(e,s){return a("Col",t._b({key:s,staticClass:"mb20"},"Col",t.grid,!1),[a("div",{staticClass:"clear_box"},[a("span",{staticClass:"clear_box_sp1",domProps:{textContent:t._s(e.title)}}),a("span",{staticClass:"clear_box_sp2",domProps:{textContent:t._s(e.tlt)}}),a("Button",{attrs:{type:e.typeName},domProps:{textContent:t._s("primary"===e.typeName?"立即更换":"立即清理")},on:{click:function(a){return t.onChange(e)}}})],1)])})),1)],1),a("Modal",{staticClass:"tableBox",attrs:{scrollable:"",closable:"",title:"更换域名","mask-closable":!1},model:{value:t.modals,callback:function(e){t.modals=e},expression:"modals"}},[a("div",{staticClass:"acea-row row-column"},[a("span",[t._v("请输入需要替换的域名,格式为:http://域名。")]),a("span",[t._v("替换规则:会使用当前[设置]里面的[网站域名]去替换成当前您输入的域名。")]),a("span",{staticClass:"mb15"},[t._v("替换成功后再去更换[网站域名]。")]),a("Input",{attrs:{type:"textarea",rows:4,placeholder:"请输入网站域名..."},model:{value:t.value6,callback:function(e){t.value6=e},expression:"value6"}})],1),a("div",{attrs:{slot:"footer"},slot:"footer"},[a("Button",{attrs:{type:"primary",size:"large",long:""},on:{click:t.changeYU}},[t._v("确定")])],1)])],1)}),[],!1,null,"8f51db82",null);e.default=a.exports},d7d7:function(t,e,a){}}]);

File diff suppressed because one or more lines are too long

View File

@ -73,7 +73,7 @@ export default {
dropdown3: '404',
dropdown4: '401',
dropdown5: '退出登录',
dropdown6: '代码仓库',
dropdown6: '个人中心',
searchPlaceholder: '菜单搜索:支持中文、路由路径',
newTitle: '通知',
newBtn: '全部已读',

View File

@ -209,6 +209,8 @@ export default {
height: 100%;
background: var(--prev-bg-columnsMenuBar);
box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08);
border-right: 1px solid var(--prev-border-color-lighter);
ul {
position: relative;
li {

View File

@ -79,6 +79,6 @@ export default {
padding-right: 15px;
overflow: hidden;
background: var(--prev-bg-topBar);
// border-bottom: 1px solid var(--prev-border-color-lighter);
border-bottom: 1px solid var(--prev-border-color-lighter);
}
</style>

View File

@ -199,7 +199,12 @@
<div class="layout-breadcrumb-seting-bar-flex mt15">
<div class="layout-breadcrumb-seting-bar-flex-label">{{ $t('message.layout.fourIsTagsviewIcon') }}</div>
<div class="layout-breadcrumb-seting-bar-flex-value">
<el-switch v-model="getThemeConfig.isTagsviewIcon" :width="35" @change="setLocalThemeConfig"></el-switch>
<el-switch
v-model="getThemeConfig.isTagsviewIcon"
:disabled="!getThemeConfig.isTagsview"
:width="35"
@change="setLocalThemeConfig"
></el-switch>
</div>
</div>
<!-- <div class="layout-breadcrumb-seting-bar-flex mt15">
@ -236,7 +241,7 @@
<div class="layout-breadcrumb-seting-bar-flex mt15">
<div class="layout-breadcrumb-seting-bar-flex-label">{{ $t('message.layout.fiveTagsStyle') }}</div>
<div class="layout-breadcrumb-seting-bar-flex-value">
<el-select
<!-- <el-select
v-model="getThemeConfig.tagsStyle"
placeholder="请选择"
size="mini"
@ -246,16 +251,26 @@
<el-option label="风格1" value="tags-style-one"></el-option>
<el-option label="风格2" value="tags-style-four"></el-option>
<el-option label="风格3" value="tags-style-five"></el-option>
</el-select>
</el-select> -->
<el-radio-group
v-model="getThemeConfig.tagsStyle"
:disabled="!getThemeConfig.isTagsview"
size="mini"
@change="setLocalThemeConfig"
>
<el-radio-button label="tags-style-one">卡片</el-radio-button>
<el-radio-button label="tags-style-four">灵动</el-radio-button>
<el-radio-button label="tags-style-five">圆滑</el-radio-button>
</el-radio-group>
</div>
</div>
<div class="layout-breadcrumb-seting-bar-flex mt15">
<div class="layout-breadcrumb-seting-bar-flex-label">{{ $t('message.layout.fiveAnimation') }}</div>
<div class="layout-breadcrumb-seting-bar-flex-value">
<el-radio-group v-model="getThemeConfig.animation" size="mini" @change="setLocalThemeConfig">
<el-radio-button label="slide-right">右滑</el-radio-button>
<el-radio-button label="slide-left">左滑</el-radio-button>
<el-radio-button label="opacitys">透明</el-radio-button>
<el-radio-button label="slide-right">右滑</el-radio-button>
</el-radio-group>
</div>
</div>
@ -410,7 +425,7 @@ export default {
} else if (val == 'theme-3') {
themeSelect['--prev-bg-menuBar'] = '#282c34';
themeSelect['--prev-bg-menu-hover-ba-color'] = '#41b584';
themeSelect['--prev-color-primary'] = '#fff';
themeSelect['--prev-color-primary'] = '#41b584';
themeSelect['--prev-bg-topBar'] = '#fff';
themeSelect['--prev-bg-topBarColor'] = '#282c34';
themeSelect['--prev-bg-menuBarColor'] = '#fff';
@ -419,7 +434,7 @@ export default {
themeSelect['--prev-bg-menuBar'] = '#282c34';
themeSelect['--prev-bg-menu-hover-ba-color'] = '#6954f0';
themeSelect['--prev-bg-topBarColor'] = '#282c34';
themeSelect['--prev-color-primary'] = '#fff';
themeSelect['--prev-color-primary'] = '#6954f0';
themeSelect['--prev-bg-topBar'] = '#fff';
themeSelect['--prev-bg-menuBarColor'] = '#fff';
@ -429,7 +444,7 @@ export default {
themeSelect['--prev-bg-topBar'] = '#fff';
themeSelect['--prev-bg-topBarColor'] = '#282c34';
themeSelect['--prev-bg-menu-hover-ba-color'] = '#f34d37';
themeSelect['--prev-color-primary'] = '#fff';
themeSelect['--prev-color-primary'] = '#f34d37';
themeSelect['--prev-bg-menuBarColor'] = '#fff';
themeSelect['--prev-MenuActiveColor'] = '#fff';
}

View File

@ -26,9 +26,7 @@
<div class="layout-navbars-breadcrumb-user-icon" @click="onSearchClick">
<i class="el-icon-search" :title="$t('message.user.title2')"></i>
</div>
<div class="layout-navbars-breadcrumb-user-icon" @click="onLayoutSetingClick">
<i class="el-icon-star-off" :title="$t('message.user.title3')"></i>
</div>
<div class="layout-navbars-breadcrumb-user-icon">
<el-popover
placement="bottom"
@ -58,14 +56,18 @@
<i class="el-icon-arrow-down el-icon--right"></i>
</span>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item :command="homePath">{{ $t('message.user.dropdown1') }}</el-dropdown-item>
<!-- <el-dropdown-item command="wareHouse">{{ $t('message.user.dropdown6') }}</el-dropdown-item>
<el-dropdown-item command="/personal">{{ $t('message.user.dropdown2') }}</el-dropdown-item>
<el-dropdown-item command="/404">{{ $t('message.user.dropdown3') }}</el-dropdown-item>
<el-dropdown-item command="/401">{{ $t('message.user.dropdown4') }}</el-dropdown-item> -->
<!-- <el-dropdown-item :command="homePath">{{ $t('message.user.dropdown1') }}</el-dropdown-item> -->
<el-dropdown-item command="user">{{ $t('message.user.dropdown6') }}</el-dropdown-item>
<!-- <el-dropdown-item command="wareHouse">{{ $t('message.user.dropdown6') }}</el-dropdown-item> -->
<!-- <el-dropdown-item command="/personal">{{ $t('message.user.dropdown2') }}</el-dropdown-item> -->
<!-- <el-dropdown-item command="/404">{{ $t('message.user.dropdown3') }}</el-dropdown-item> -->
<!-- <el-dropdown-item command="/401">{{ $t('message.user.dropdown4') }}</el-dropdown-item> -->
<el-dropdown-item divided command="logOut">{{ $t('message.user.dropdown5') }}</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
<div class="layout-navbars-breadcrumb-user-icon" @click="onLayoutSetingClick">
<i class="el-icon-setting" :title="$t('message.user.title3')"></i>
</div>
<Search ref="searchRef" />
</div>
</template>
@ -225,7 +227,8 @@ export default {
})
.catch(() => {});
}, 150);
} else if (path === 'wareHouse') {
} else if (path === 'user') {
this.$router.push({ name: 'systemUser' });
} else {
this.$router.push(path);
}
@ -268,6 +271,7 @@ export default {
}
& ::v-deep .el-dropdown {
color: var(--prev-bg-topBarColor);
cursor: pointer;
}
& ::v-deep .el-badge {
height: 40px;

View File

@ -62,7 +62,7 @@ export default {
// 获取布局配置信息
getThemeConfig() {
return this.$store.state.themeConfig.themeConfig;
},
},
// 动态设置 tagsView 风格样式
setTagsStyle() {
return this.$store.state.themeConfig.themeConfig.tagsStyle;
@ -252,8 +252,7 @@ export default {
this.closeCurrentTagsView(path);
break;
case 2:
this.$router.push({ path, query: currentTag.query });
this.closeOtherTagsView(path);
this.closeOtherTagsView(path, currentTag.query);
break;
case 3:
this.closeAllTagsView(path);
@ -284,20 +283,22 @@ export default {
// this.addBrowserSetSession(this.tagNavList);
},
// 3、关闭其它 tagsView:如果是设置了固定的(isAffix),不进行关闭
closeOtherTagsView(path) {
closeOtherTagsView(path, query) {
let tagsViewList = [];
this.tagsViewRoutesList.map((v) => {
if (v.meta.isAffix && !v.meta.isHide) tagsViewList.push({ ...v });
if ((v.path = path)) tagsViewList.push({ ...v });
if ((v.meta && v.meta.isAffix) || v.path === path) tagsViewList.push({ ...v });
});
console.log(tagsViewList, this.tagsViewRoutesList, path);
this.addBrowserSetSession(tagsViewList);
this.$router.push({ path, query });
// this.addTagsView(path);
},
// 4、关闭全部 tagsView:如果是设置了固定的(isAffix),不进行关闭
closeAllTagsView(path) {
let tagsViewList = [];
this.tagsViewRoutesList.map((v) => {
if (v.meta.isAffix && !v.meta.isHide) {
if (v.meta.isAffix) {
tagsViewList.push({ ...v });
if (tagsViewList.some((v) => v.path === path)) this.$router.push({ path, query: this.$route.query });
else this.$router.push({ path: v.path, query: this.$route.query });
@ -326,6 +327,9 @@ export default {
</script>
<style scoped lang="scss">
/deep/ .el-scrollbar__bar.is-horizontal {
height: 0;
}
.layout-navbars-tagsview {
flex: 1;
background-color: var(--prev-bg-white);
@ -370,9 +374,9 @@ export default {
background: var(--prev-tag-active-color);
z-index: -1;
opacity: 0;
transform: scale3d(0.7, 1, 1);
transition: transform 0.3s, opacity 0.3s;
transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
// transform: scale3d(0.7, 1, 1);
// transition: transform 0.3s, opacity 0.3s;
// transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
}
&:hover {
color: var(--prev-color-primary-light-9);
@ -444,6 +448,7 @@ export default {
border: none !important;
position: relative;
border-radius: 3px !important;
.layout-icon-active {
display: none;
}

View File

@ -45,6 +45,11 @@
>
<vxe-table-column field="id" title="ID" tooltip min-width="70"></vxe-table-column>
<vxe-table-column field="menu_name" tree-node title="按钮名称" min-width="200"></vxe-table-column>
<vxe-table-column field="icon" title="图标" min-width="200" align="center">
<template v-slot="{ row }">
<Icon class="icon" :type="row.icon" />
</template>
</vxe-table-column>
<vxe-table-column field="api_url" title="接口路径" min-width="150">
<template v-slot="{ row }">
<span>{{ row.methods ? '[' + row.methods + '] ' + row.api_url : row.api_url }}</span>
@ -452,6 +457,9 @@ export default {
> .vxe-table--header-wrapper {
background: #fff !important;
}
.icon {
font-size: 20px;
}
}
.rule {

View File

@ -17,7 +17,11 @@
<Input :disabled="disabledInput(index)" v-model="tableField[index].field"></Input>
</template>
<template slot-scope="{ row, index }" slot="field_type">
<Select v-model="tableField[index].field_type" @on-change="changeItemField($event, index)">
<Select
v-model="tableField[index].field_type"
:disabled="disabledInput(index)"
@on-change="changeItemField($event, index)"
>
<Option v-for="item in columnTypeList" :value="item" :key="item">{{ item }}</Option>
</Select>
</template>
@ -45,7 +49,7 @@
</Select>
</template>
<template slot-scope="{ row, index }" slot="options">
<div class="table-options" v-if="['select', 'radio'].includes(tableField[index].from_type)">
<div class="table-options" v-if="['select', 'radio', 'checkbox'].includes(tableField[index].from_type)">
<Select>
<Option v-for="item in tableField[index].options" :value="item.value" :key="item.value">{{
item.label
@ -56,7 +60,7 @@
<div v-else>--</div>
</template>
<template slot-scope="{ row, index }" slot="action">
<a v-if="!foundation.isTable" @click="del(row, index)">删除</a>
<a v-if="!foundation.primaryKey" @click="del(row, index)">删除</a>
<span v-else>--</span>
</template>
</Table>
@ -96,8 +100,7 @@ export default {
},
},
id: {
type: String,
default: '',
type: String | Number,
},
},
data() {
@ -172,6 +175,7 @@ export default {
tableField: [],
optionsList: [],
index: 0,
deleteField: [],
};
},
created() {
@ -227,7 +231,12 @@ export default {
if ((!el.field || !el.field_type) && !['addTimestamps', 'addSoftDelete'].includes(el.field_type)) {
return this.$Message.warning('请先完善上一条数据');
}
if (el.is_table && !el.table_name && !['addTimestamps', 'addSoftDelete'].includes(el.field_type)) {
if (
el.is_table &&
!el.table_name &&
!Number(el.primaryKey) &&
!['addTimestamps', 'addSoftDelete'].includes(el.field_type)
) {
return this.$Message.warning('请输入列表名');
}
}

View File

@ -89,7 +89,7 @@ export default {
tableField: [],
rowList: [],
reqloading: false,
id: "",
id: '',
};
},
created() {
@ -102,9 +102,8 @@ export default {
methods: {
getDetail(id) {
crudDet(id).then((res) => {
console.log(res);
let data = res.data.crudInfo.field;
this.formItem.foundation.pid = data.pid;
this.formItem.foundation.pid = Number(data.pid);
this.formItem.foundation.tableName = data.tableName;
this.formItem.foundation.modelName = data.modelName;
this.formItem.foundation.menuName = data.menuName;

View File

@ -1,7 +1,7 @@
<template>
<div>
<Card :bordered="false" dis-hover class="ivu-mt">
<Button type="primary" @click="groupAdd()" class="mr20">代码生成</Button>
<Button type="primary" @click="groupAdd()" class="mr20">添加功能</Button>
<!-- <Button type="success" @click="buildCode()" class="mr20">重新发布</Button> -->
<Table
:columns="columns1"
@ -92,9 +92,9 @@
:icon="value.icon"
>
<div
:ref="'container_' + value.index"
ref="container"
:id="'container_' + value.index"
style="height: 100%; min-height: 560px"
style="height: 100%; min-height: calc(100vh - 110px)"
></div>
</TabPane>
</Tabs>
@ -571,7 +571,6 @@ export default {
.ivu-tabs-tabpane {
min-height: 560px;
height: 73vh;
margin-top: -1px;
}
}
@ -612,4 +611,7 @@ export default {
z-index: 99;
}
}
.file-box {
height: 100%;
}
</style>

View File

@ -801,7 +801,7 @@ export default {
isEditBlur(row) {
row.is_edit = false;
let data = {
full_path: '/app',
full_path: row.real_path,
mark: row.mark,
};
markSave(this.fileToken, data)

View File

@ -77,13 +77,15 @@ export default {
},
addTag(state, { route, type = 'unshift' }) {
let router = getRouteTitleHandled(route);
console.log(router, 'routerrouterrouter');
let i = state.tagNavList.findIndex((item) => item.path === route.path);
if (!routeHasExist(state.tagNavList, router)) {
if (type === 'push') state.tagNavList.push(router);
else {
if (router.name === homeName) state.tagNavList.unshift(router);
else state.tagNavList.splice(1, 0, router);
}
if (type === 'push')
if (i < 1) state.tagNavList.push(router);
else {
if (router.name === homeName) state.tagNavList.unshift(router);
else state.tagNavList.splice(1, 0, router);
}
setTagNavListInLocalstorage([...state.tagNavList]);
}
},

View File

@ -956,6 +956,7 @@ $positions: 'top', 'right', 'bottom', 'left';
height: 50px;
display: flex;
align-items: center;
font-weight: 500;
margin-bottom: 0 !important;
border-bottom: 1px solid var(--prev-border-color-lighter);
color: var(--prev-color-text-primary);