dev #16
|
@ -32,7 +32,7 @@ class UploadController extends BaseAdminController
|
||||||
* @author 段誉
|
* @author 段誉
|
||||||
* @date 2021/12/29 16:27
|
* @date 2021/12/29 16:27
|
||||||
*/
|
*/
|
||||||
public function image()
|
public function image(): Json
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
$cid = $this->request->post('cid', 0);
|
$cid = $this->request->post('cid', 0);
|
||||||
|
@ -49,7 +49,7 @@ class UploadController extends BaseAdminController
|
||||||
* @author 段誉
|
* @author 段誉
|
||||||
* @date 2021/12/29 16:27
|
* @date 2021/12/29 16:27
|
||||||
*/
|
*/
|
||||||
public function video()
|
public function video(): Json
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
$cid = $this->request->post('cid', 0);
|
$cid = $this->request->post('cid', 0);
|
||||||
|
@ -60,4 +60,21 @@ class UploadController extends BaseAdminController
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @notes 上传文件
|
||||||
|
* @return Json
|
||||||
|
* @author 段誉
|
||||||
|
* @date 2021/12/29 16:27
|
||||||
|
*/
|
||||||
|
public function file(): Json
|
||||||
|
{
|
||||||
|
try {
|
||||||
|
$cid = $this->request->post('cid', 0);
|
||||||
|
$result = UploadService::file($cid);
|
||||||
|
return $this->success('上传成功', $result);
|
||||||
|
} catch (Exception $e) {
|
||||||
|
return $this->fail($e->getMessage());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
|
@ -0,0 +1,301 @@
|
||||||
|
<?php
|
||||||
|
namespace app\adminapi\controller\contract;
|
||||||
|
|
||||||
|
use app\adminapi\controller\BaseAdminController;
|
||||||
|
use app\common\controller\JunziqianController;
|
||||||
|
use app\common\enum\notice\NoticeEnum;
|
||||||
|
use app\common\model\contract\VehicleContract;
|
||||||
|
use app\common\model\vehicle\VehicleRent;
|
||||||
|
use think\facade\Log;
|
||||||
|
use think\response\Json;
|
||||||
|
|
||||||
|
class VehicleContractController extends BaseAdminController
|
||||||
|
{
|
||||||
|
//风控中心上传合同
|
||||||
|
public function uploadContract(): Json
|
||||||
|
{
|
||||||
|
//获取参数
|
||||||
|
$params = $this->request->post(['id','file','cars']);
|
||||||
|
if(empty($params['id']) || empty($params['file'])){
|
||||||
|
return $this->fail('缺少必要参数');
|
||||||
|
}
|
||||||
|
//获取合同信息
|
||||||
|
$vehicle_contract = VehicleContract::where('id',$params['id'])->findOrEmpty();
|
||||||
|
if($vehicle_contract->isEmpty()){
|
||||||
|
return $this->fail('合同信息错误');
|
||||||
|
}
|
||||||
|
if($vehicle_contract['type']==0 && $vehicle_contract['contract_logistic_id'] != 0){
|
||||||
|
if(empty($params['cars'])){
|
||||||
|
return $this->fail('缺少必要参数cars');
|
||||||
|
}
|
||||||
|
$cars = json_decode($params['cars'],true);
|
||||||
|
if(empty($cars)){
|
||||||
|
return $this->fail('参数cars无效');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if($vehicle_contract['status'] != 0){
|
||||||
|
return $this->fail('合同状态错误');
|
||||||
|
}
|
||||||
|
//更新本地
|
||||||
|
try {
|
||||||
|
$data = [
|
||||||
|
'id' => $vehicle_contract['contract_logistic_id'],
|
||||||
|
'file' => $params['file'],
|
||||||
|
'status' => 1,
|
||||||
|
];
|
||||||
|
//判断合同类型
|
||||||
|
if($vehicle_contract['type'] == 0 && $vehicle_contract['contract_logistic_id'] != 0){
|
||||||
|
$data['cars_info'] = $params['cars'];
|
||||||
|
}
|
||||||
|
if(!empty($vehicle_contract['contract_logistic_id'])){
|
||||||
|
//更新物流系统
|
||||||
|
curl_post(env('project.logistic_domain').'/api/contractUpdate',$data);
|
||||||
|
}
|
||||||
|
unset($data['id']);
|
||||||
|
VehicleContract::where('id', $params['id'])->update($data);
|
||||||
|
|
||||||
|
}catch (\Exception $e){
|
||||||
|
return $this->fail($e->getMessage());
|
||||||
|
}
|
||||||
|
return $this->success('上传成功', [], 1, 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
//风控中心发起合同
|
||||||
|
public function initiatingRentCarContract(): Json
|
||||||
|
{
|
||||||
|
//获取参数
|
||||||
|
$params = $this->request->post(['id']);
|
||||||
|
if(empty($params['id'])){
|
||||||
|
return $this->fail('缺少必要参数');
|
||||||
|
}
|
||||||
|
//获取数据
|
||||||
|
$contract = VehicleContract::where('id',$params['id'])->findOrEmpty();
|
||||||
|
if($contract->isEmpty()){
|
||||||
|
return $this->fail('数据不存在');
|
||||||
|
}
|
||||||
|
if(!($contract['status'] == 1 || ($contract['status'] == 2 && $contract['signing_timer'] != 2))){
|
||||||
|
return $this->fail('合同状态错误');
|
||||||
|
}
|
||||||
|
$signData = [
|
||||||
|
'name' => $contract['company_a_name'] . '的合同',
|
||||||
|
'signatories' => [
|
||||||
|
['fullName' => $contract['company_a_name'], 'identityType' => 12, 'identityCard' => $contract['company_a_code'], 'email' => $contract['company_a_email'], 'noNeedVerify' => 1, 'signLevel' => 1],
|
||||||
|
['fullName' => $contract['company_b_name'], 'identityType' => 12, 'identityCard' => $contract['company_b_code'], 'email' => $contract['company_b_email'], 'noNeedVerify' => 1, 'signLevel' => 1]
|
||||||
|
],
|
||||||
|
'url' => $contract['file']
|
||||||
|
];
|
||||||
|
$notify_url = '';
|
||||||
|
if($contract['type'] == 0){
|
||||||
|
$smsTitle = '《租赁合同》';
|
||||||
|
if(empty($contract['contract_logistic_id'])){
|
||||||
|
$notify_url = env('project.website_domain').'/api/notify/systemCarRent';
|
||||||
|
}else{
|
||||||
|
$notify_url = env('project.website_domain').'/api/notify/townCarRent';
|
||||||
|
}
|
||||||
|
}elseif($contract['type'] == 1){
|
||||||
|
$smsTitle = '《自有车辆上传合同》';
|
||||||
|
$notify_url = env('project.website_domain').'/api/notify/selfCarRent';
|
||||||
|
}elseif($contract['type'] == 2){
|
||||||
|
$smsTitle = '《解约合同》';
|
||||||
|
$notify_url = env('project.website_domain').'/api/notify/cancelRent';
|
||||||
|
}elseif($contract['type'] == 3){
|
||||||
|
$smsTitle = '《购买合同》';
|
||||||
|
$notify_url = env('project.website_domain').'/api/notify/buyCar';
|
||||||
|
}
|
||||||
|
$signRes = app(JunziqianController::class)->VehicleRentSigning($signData, $params['id'],$notify_url);
|
||||||
|
if ($signRes->success) {
|
||||||
|
$contract->save([
|
||||||
|
'id' => $contract['id'],
|
||||||
|
'contract_no' => $signRes->data,
|
||||||
|
'status' => 2,
|
||||||
|
'signing_timer' => 0
|
||||||
|
]);
|
||||||
|
if(!empty($contract['contract_logistic_id'])){
|
||||||
|
curl_post(env('project.logistic_domain').'/api/contractUpdate',[],[
|
||||||
|
'id' => $contract['contract_logistic_id'],
|
||||||
|
'contract_no' => $signRes->data,
|
||||||
|
'status' => 2,
|
||||||
|
'signing_timer' => 0
|
||||||
|
]);
|
||||||
|
}
|
||||||
|
$this->sendSms($params['id'],$smsTitle);
|
||||||
|
return $this->success('合同发送成功');
|
||||||
|
} else {
|
||||||
|
return $this->fail($signRes->msg);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public function sendSmsAgain(): Json
|
||||||
|
{
|
||||||
|
//获取参数
|
||||||
|
$id = $this->request->post('id');
|
||||||
|
if(empty($id)){
|
||||||
|
return $this->fail('参数错误');
|
||||||
|
}
|
||||||
|
//获取数据
|
||||||
|
$contract = VehicleContract::where('id',$id)->find();
|
||||||
|
if(empty($contract)){
|
||||||
|
return $this->fail('数据错误');
|
||||||
|
}
|
||||||
|
if($contract['type'] == 0){
|
||||||
|
$smsTitle = '《租赁合同》';
|
||||||
|
}elseif($contract['type'] == 1){
|
||||||
|
$smsTitle = '《自有车辆上传合同》';
|
||||||
|
}elseif($contract['type'] == 2){
|
||||||
|
$smsTitle = '《解约合同》';
|
||||||
|
}else{
|
||||||
|
$smsTitle = '《购买合同》';
|
||||||
|
}
|
||||||
|
$this->sendSms($id,$smsTitle);
|
||||||
|
return $this->success('发送成功');
|
||||||
|
}
|
||||||
|
|
||||||
|
public function sendSms($id,$title): bool{
|
||||||
|
//获取合同数据
|
||||||
|
$contract = VehicleContract::where('id',$id)->findOrEmpty();
|
||||||
|
if (!$contract->isEmpty() && $contract['file'] != '') {
|
||||||
|
//发送短信
|
||||||
|
$data = [
|
||||||
|
//甲方
|
||||||
|
[
|
||||||
|
"applyNo" => $contract['contract_no'],
|
||||||
|
"fullName" => $contract['company_a_name'],
|
||||||
|
"identityCard" => $contract['company_a_code'],
|
||||||
|
"identityType" => 12,
|
||||||
|
"master_phone" => $contract['company_a_phone'],
|
||||||
|
"type"=>"party_a"
|
||||||
|
],
|
||||||
|
//乙方
|
||||||
|
[
|
||||||
|
"applyNo" => $contract['contract_no'],
|
||||||
|
"fullName" => $contract['company_b_name'],
|
||||||
|
"identityCard" => $contract['company_b_code'],
|
||||||
|
"identityType" => 12,
|
||||||
|
"master_phone" => $contract['company_b_phone'],
|
||||||
|
"type"=>"party_b"
|
||||||
|
|
||||||
|
],
|
||||||
|
];
|
||||||
|
|
||||||
|
$url = [];
|
||||||
|
foreach ($data as $v) {
|
||||||
|
$res = app(JunziqianController::class)->SigningLink($v);
|
||||||
|
if (!$res->success) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
if ($v['type'] == 'party_a') {
|
||||||
|
$url['party_a'] =$res->data;
|
||||||
|
} else {
|
||||||
|
$url['party_b'] =$res->data;
|
||||||
|
}
|
||||||
|
//发送短信
|
||||||
|
$sms = [
|
||||||
|
'mobile' => $v['master_phone'],
|
||||||
|
'name' => $v['fullName'],
|
||||||
|
'type' => $title,
|
||||||
|
'code' => 'api/HeTong/info?id='.$id.'&type='.$v['type'],
|
||||||
|
'scene' => 'WQ'
|
||||||
|
];
|
||||||
|
$scene = NoticeEnum::getSceneByTag($sms['scene']);
|
||||||
|
if (empty($scene)) {
|
||||||
|
throw new \Exception('场景值异常');
|
||||||
|
}
|
||||||
|
//发送短信
|
||||||
|
event('Notice', [
|
||||||
|
'scene_id' => $scene,
|
||||||
|
'params' => $sms
|
||||||
|
]);
|
||||||
|
}
|
||||||
|
VehicleContract::where('id', $id)->update(['url' => json_encode($url)]);
|
||||||
|
return true;
|
||||||
|
}else{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public function lists(): Json
|
||||||
|
{
|
||||||
|
$param = $this->request->get();
|
||||||
|
$where = [];
|
||||||
|
if(isset($param['company_name'])){
|
||||||
|
$where[] = ['company_b_name','like','%'.$param['company_name'].'%'];
|
||||||
|
}
|
||||||
|
if(isset($param['contract_no'])){
|
||||||
|
$where[] = ['contract_no','like','%'.$param['contract_no'].'%'];
|
||||||
|
}
|
||||||
|
if(isset($param['status']) && in_array($param['status'],[0,1])){
|
||||||
|
if($param['status'] == 1){
|
||||||
|
$where[] = ['status','in', '1,2,3'];
|
||||||
|
}else{
|
||||||
|
$where[] = ['status','=', $param['status']];
|
||||||
|
}
|
||||||
|
}else{
|
||||||
|
$where[] = ['status','in', '0,1,2,3'];
|
||||||
|
}
|
||||||
|
$pageNo = !empty($param['page_no']) ? $param['page_no'] : 1;
|
||||||
|
$pageSize = !empty($param['page_size']) ? $param['page_size'] : 15;
|
||||||
|
$data = VehicleContract::where($where)
|
||||||
|
->page($pageNo, $pageSize)
|
||||||
|
->order('create_time desc')
|
||||||
|
->select()->each(function($item){
|
||||||
|
$item['cars_info'] = json_decode($item['cars_info'],true);
|
||||||
|
});
|
||||||
|
return $this->success('success',['lists'=>$data->toArray(),'page_no'=>$pageNo,'page_size'=>$pageSize,'count'=>$data->count()]);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function detail(): Json
|
||||||
|
{
|
||||||
|
$id = $this->request->get('id');
|
||||||
|
if(empty($id)){
|
||||||
|
$this->fail('参数错误');
|
||||||
|
}
|
||||||
|
$data = VehicleContract::where('id',$id)->findOrEmpty();
|
||||||
|
if($data->isEmpty()){
|
||||||
|
return $this->fail('未查找到数据');
|
||||||
|
}
|
||||||
|
$cars = json_decode($data['cars_info'],true);
|
||||||
|
//判断合同类型
|
||||||
|
if(!empty($data['contract_logistic_id']) && $data['type'] == 0){
|
||||||
|
$carList = curl_get(env('project.logistic_domain').'/api/getAvailableVehicles');
|
||||||
|
$data['car_list'] = $carList&&$carList['code']==1 ? $carList['data'] : [];
|
||||||
|
}
|
||||||
|
if(!empty($cars)){
|
||||||
|
foreach ($cars as $k=>$v) {
|
||||||
|
if($data['type'] == 0){
|
||||||
|
$cars[$k]['type'] = 0;
|
||||||
|
}
|
||||||
|
if($data['type'] == 1){
|
||||||
|
if(empty($v['id'])){
|
||||||
|
$cars[$k]['type'] = 1;
|
||||||
|
}else{
|
||||||
|
$rentInfo = VehicleRent::where('car_id',$v['id'])->findOrEmpty();
|
||||||
|
if($rentInfo->isEmpty()){
|
||||||
|
$cars[$k]['type'] = 0;
|
||||||
|
}else{
|
||||||
|
$cars[$k]['type'] = $rentInfo['type'];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if($data['type'] == 2){
|
||||||
|
$rentInfo = VehicleRent::where('car_id',$v['id'])->findOrEmpty();
|
||||||
|
if($rentInfo->isEmpty()){
|
||||||
|
$cars[$k]['type'] = 0;
|
||||||
|
}else{
|
||||||
|
$cars[$k]['type'] = $rentInfo['type'];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if($data['type'] == 3){
|
||||||
|
$rentInfo = VehicleRent::where('car_id',$v['id'])->findOrEmpty();
|
||||||
|
if($rentInfo->isEmpty()){
|
||||||
|
$cars[$k]['type'] = 2;
|
||||||
|
}else{
|
||||||
|
$cars[$k]['type'] = $rentInfo['type'];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
$cars[$k]['rent_time'] = $data['update_time'];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
$data['cars_info'] = $cars;
|
||||||
|
return $this->success('success',$data->toArray());
|
||||||
|
}
|
||||||
|
}
|
|
@ -39,13 +39,13 @@ class UserLogic extends BaseLogic
|
||||||
public static function balanceList($params): array
|
public static function balanceList($params): array
|
||||||
{
|
{
|
||||||
$search = [];
|
$search = [];
|
||||||
if(isset($params['record_id'])){
|
if(isset($params['record_id']) && !empty($params['record_id'])){
|
||||||
$search[] = ['record_id','=',$params['record_id']];
|
$search[] = ['record_id','=',$params['record_id']];
|
||||||
}
|
}
|
||||||
if(isset($params['mark'])){
|
if(isset($params['mark']) && !empty($params['mark'])){
|
||||||
$search[] = ['mark','like','%'.$params['mark'].'%'];
|
$search[] = ['mark','like','%'.$params['mark'].'%'];
|
||||||
}
|
}
|
||||||
if(isset($params['appid'])){
|
if(isset($params['appid']) && !empty($params['appid'])){
|
||||||
$app = System::field('app_id')->where('id',$params['appid'])->findOrEmpty();
|
$app = System::field('app_id')->where('id',$params['appid'])->findOrEmpty();
|
||||||
if(!$app->isEmpty()){
|
if(!$app->isEmpty()){
|
||||||
$search[] = ['appid','=',$app['app_id']];
|
$search[] = ['appid','=',$app['app_id']];
|
||||||
|
@ -75,10 +75,10 @@ class UserLogic extends BaseLogic
|
||||||
public static function integralList($params): array
|
public static function integralList($params): array
|
||||||
{
|
{
|
||||||
$search = [];
|
$search = [];
|
||||||
if(isset($params['mark'])){
|
if(isset($params['mark']) && !empty($params['mark'])){
|
||||||
$search[] = ['mark','like','%'.$params['mark'].'%'];
|
$search[] = ['mark','like','%'.$params['mark'].'%'];
|
||||||
}
|
}
|
||||||
if(isset($params['appid'])){
|
if(isset($params['appid']) && !empty($params['appid'])){
|
||||||
$app = System::field('app_id')->where('id',$params['appid'])->findOrEmpty();
|
$app = System::field('app_id')->where('id',$params['appid'])->findOrEmpty();
|
||||||
if(!$app->isEmpty()){
|
if(!$app->isEmpty()){
|
||||||
$search[] = ['appid','=',$app['app_id']];
|
$search[] = ['appid','=',$app['app_id']];
|
||||||
|
|
|
@ -0,0 +1,92 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace app\api\controller;
|
||||||
|
|
||||||
|
use app\common\controller\BaseLikeAdminController;
|
||||||
|
use app\common\model\company\Company;
|
||||||
|
use app\common\model\contract\VehicleContract;
|
||||||
|
use think\facade\Db;
|
||||||
|
use think\facade\Log;
|
||||||
|
|
||||||
|
class HeTongController extends BaseLikeAdminController
|
||||||
|
{
|
||||||
|
public array $notNeedLogin = ['url','info', 'toFaceCreate', 'notifyOrganizationFaceCreate'];
|
||||||
|
|
||||||
|
public function url(): string|\think\response\Redirect
|
||||||
|
{
|
||||||
|
$id = Request()->get('id');
|
||||||
|
$type = Request()->get('type');
|
||||||
|
$params = Request()->param();
|
||||||
|
$msg='合同不存在';
|
||||||
|
if(empty($type)){
|
||||||
|
$msg='参数错误';
|
||||||
|
}
|
||||||
|
if (isset($params['t']) && $params['t'] == 1) {
|
||||||
|
$find = Db::name('shop_contract')->where('id', $id)->find();
|
||||||
|
if ($find && $find['url']) {
|
||||||
|
$url = json_decode($find['url'], true);
|
||||||
|
if(isset($url[$type])){
|
||||||
|
return redirect($url[$type]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if ($id && $type) {
|
||||||
|
$find = Db::name('contract')->where('id', $id)->find();
|
||||||
|
if ($find && $find['url']) {
|
||||||
|
$url = json_decode($find['url'], true);
|
||||||
|
if(isset($url[$type])){
|
||||||
|
return redirect($url[$type]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return '<style type="text/css"> * { padding: 0; margin: 0; } div { padding: 4px 48px; } a { color: #2E5CD5; cursor: pointer; text-decoration: none } a:hover { text-decoration: underline; } body { background: #fff; font-family: "Century Gothic", "Microsoft yahei"; color: #333; font-size: 18px; } h1 { font-size: 100px; font-weight: normal; margin-bottom: 12px; } p { line-height: 1.6em; font-size: 42px } </style> <div style="padding: 24px 48px;"> <h1>:) </h1> <p>'.$msg.'</p> </div>';
|
||||||
|
}
|
||||||
|
|
||||||
|
public function info(){
|
||||||
|
$params = $this->request->get(['id','type']);
|
||||||
|
if(empty($params['id']) || empty($params['type'])){
|
||||||
|
return $this->fail('缺少必要参数');
|
||||||
|
}
|
||||||
|
$find = VehicleContract::where('id', $params['id'])->find();
|
||||||
|
if (!empty($find) && $find['url']) {
|
||||||
|
$url = json_decode($find['url'], true);
|
||||||
|
if(isset($url[$params['type']])){
|
||||||
|
return redirect($url[$params['type']]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return '<style type="text/css"> * { padding: 0; margin: 0; } div { padding: 4px 48px; } a { color: #2E5CD5; cursor: pointer; text-decoration: none } a:hover { text-decoration: underline; } body { background: #fff; font-family: "Century Gothic", "Microsoft yahei"; color: #333; font-size: 18px; } h1 { font-size: 100px; font-weight: normal; margin-bottom: 12px; } p { line-height: 1.6em; font-size: 42px } </style> <div style="padding: 24px 48px;"> <h1>:) </h1> <p></p> </div>';
|
||||||
|
}
|
||||||
|
|
||||||
|
// 用户做人脸识别时,作跳板的短信链接
|
||||||
|
public function toFaceCreate(): string|\think\response\Redirect
|
||||||
|
{
|
||||||
|
$id = Request()->get('id');
|
||||||
|
$msg='地址不存在';
|
||||||
|
if ($id) {
|
||||||
|
$find = Db::name('company')->where('id', $id)->find();
|
||||||
|
if ($find && $find['face_create_url']) {
|
||||||
|
return redirect($find['face_create_url']);
|
||||||
|
} else {
|
||||||
|
$msg='参数错误';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return '<style type="text/css"> * { padding: 0; margin: 0; } div { padding: 4px 48px; } a { color: #2E5CD5; cursor: pointer; text-decoration: none } a:hover { text-decoration: underline; } body { background: #fff; font-family: "Century Gothic", "Microsoft yahei"; color: #333; font-size: 18px; } h1 { font-size: 100px; font-weight: normal; margin-bottom: 12px; } p { line-height: 1.6em; font-size: 42px } </style> <div style="padding: 24px 48px;"> <h1>:) </h1> <p>'.$msg.'</p> </div>';
|
||||||
|
}
|
||||||
|
|
||||||
|
public function notifyOrganizationFaceCreate(): string
|
||||||
|
{
|
||||||
|
$parmas = Request()->param();
|
||||||
|
Log::info(['人脸识别采集校验回调:',$parmas]);
|
||||||
|
$result = json_decode($parmas['data'], true);
|
||||||
|
$msg = '人脸采集成功';
|
||||||
|
if (isset($result['status']) && $result['status'] == 1) {
|
||||||
|
// 修改人脸采集状态
|
||||||
|
Company::where(['organization_code'=>$result['organizationRegNo']])->update(['face_create_status'=>1]);
|
||||||
|
} else {
|
||||||
|
$msg = '采集失败,原因:'.$result['msg'];
|
||||||
|
// 记录错误日志
|
||||||
|
Db::name('company_authentication_fail_log')->insert(['company_id'=>$result['orderNo'], 'log_type'=>2,'fail_reason'=>$msg, 'create_time'=>time()]);
|
||||||
|
}
|
||||||
|
return '<style type="text/css"> * { padding: 0; margin: 0; } div { padding: 4px 48px; } a { color: #2E5CD5; cursor: pointer; text-decoration: none } a:hover { text-decoration: underline; } body { background: #fff; font-family: "Century Gothic", "Microsoft yahei"; color: #333; font-size: 18px; } h1 { font-size: 100px; font-weight: normal; margin-bottom: 12px; } p { line-height: 1.6em; font-size: 42px } </style> <div style="padding: 24px 48px;"> <h1>:) </h1> <p>'.$msg.'</p> </div>';
|
||||||
|
}
|
||||||
|
}
|
|
@ -28,14 +28,9 @@ class IndexController extends BaseApiController
|
||||||
if(empty($params['phone']) || empty($params['scene'])){
|
if(empty($params['phone']) || empty($params['scene'])){
|
||||||
return $this->fail('缺少必要参数');
|
return $this->fail('缺少必要参数');
|
||||||
}
|
}
|
||||||
if(!in_array($params['scene'],[NoticeEnum::LOGIN_CAPTCHA,NoticeEnum::BIND_MOBILE_CAPTCHA,NoticeEnum::CHANGE_MOBILE_CAPTCHA,NoticeEnum::FIND_LOGIN_PASSWORD_CAPTCHA])){
|
if(!in_array($params['scene'],[NoticeEnum::LOGIN_CAPTCHA,NoticeEnum::BIND_MOBILE_CAPTCHA,NoticeEnum::CHANGE_MOBILE_CAPTCHA,NoticeEnum::FIND_LOGIN_PASSWORD_CAPTCHA,NoticeEnum::REGISTER_CAPTCHA])){
|
||||||
return $this->fail('短信场景错误');
|
return $this->fail('短信场景错误');
|
||||||
}
|
}
|
||||||
//验证手机号
|
|
||||||
$user = User::field('phone')->where('phone',$params['phone'])->findOrEmpty();
|
|
||||||
if($user->isEmpty()){
|
|
||||||
return $this->fail('手机号码错误');
|
|
||||||
}
|
|
||||||
//发送短信
|
//发送短信
|
||||||
try {
|
try {
|
||||||
$result = event('Notice', [
|
$result = event('Notice', [
|
||||||
|
|
|
@ -0,0 +1,516 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace app\api\controller;
|
||||||
|
|
||||||
|
use app\common\controller\JunziqianController;
|
||||||
|
use app\common\model\company\Company;
|
||||||
|
use app\common\model\contract\Contract;
|
||||||
|
use app\common\model\contract\VehicleContract;
|
||||||
|
use app\common\model\vehicle\VehicleBuyRecord;
|
||||||
|
use app\common\model\vehicle\VehicleRent;
|
||||||
|
use think\response\Json;
|
||||||
|
|
||||||
|
class NotifyController extends BaseApiController
|
||||||
|
{
|
||||||
|
public array $notNeedLogin = ['townCarRent','systemCarRent', 'selfCarRent', 'cancelRent', 'buyCar'];
|
||||||
|
|
||||||
|
//镇街车辆租赁回调
|
||||||
|
public function townCarRent(): Json
|
||||||
|
{
|
||||||
|
$id = Request()->get('id');
|
||||||
|
if(empty($id)){
|
||||||
|
return json(['success' => false, 'msg' => '缺少参数']);
|
||||||
|
}
|
||||||
|
//获取合同数据
|
||||||
|
$contract = VehicleContract::where('id', $id)->find();
|
||||||
|
if (empty($contract)) {
|
||||||
|
return json(['success' => false, 'msg' => '获取数据失败']);
|
||||||
|
}
|
||||||
|
if($contract['status'] != 2){
|
||||||
|
return json(['success' => false, 'msg' => '合同状态错误']);
|
||||||
|
}
|
||||||
|
if ($contract['signing_timer'] == 0) {
|
||||||
|
//更新本地合同状态
|
||||||
|
$updateLocalRes = VehicleContract::where('id',$contract['id'])->update(['signing_timer'=>1]);
|
||||||
|
//更新远程
|
||||||
|
$updateSverRes =curl_post(env('project.logistic_domain').'/api/contractUpdate',[],[
|
||||||
|
'id' => $contract['contract_logistic_id'],
|
||||||
|
'signing_timer' => 1,
|
||||||
|
]);
|
||||||
|
if(!$updateLocalRes || $updateSverRes['code']==0){
|
||||||
|
return json(['success' => false, 'msg' => '更新失败']);
|
||||||
|
}
|
||||||
|
return json(['success' => true, 'msg' => '成功']);
|
||||||
|
}else if($contract['signing_timer'] == 1){
|
||||||
|
//获取签约后的合同
|
||||||
|
$signContractFile = app(JunziqianController::class)->downloadVehicleContractFile($contract['contract_no']);
|
||||||
|
$signContractFile = $signContractFile ?? '';
|
||||||
|
//获取签约后的证据
|
||||||
|
$signContractEvidenceToPartyA = app(JunziqianController::class)->downloadVehicleContractEvidence($contract['contract_no'],$contract['company_a_name'],$contract['company_a_code']);
|
||||||
|
$signContractEvidenceToPartyA = $signContractEvidenceToPartyA ?? '';
|
||||||
|
$signContractEvidenceToPartyB = app(JunziqianController::class)->downloadVehicleContractEvidence($contract['contract_no'],$contract['company_b_name'],$contract['company_b_code']);
|
||||||
|
$signContractEvidenceToPartyB = $signContractEvidenceToPartyB ?? '';
|
||||||
|
$contractEvidence = json_encode([
|
||||||
|
'party_a' => $signContractEvidenceToPartyA,
|
||||||
|
'party_b' => $signContractEvidenceToPartyB
|
||||||
|
]);
|
||||||
|
//更新本地合同状态
|
||||||
|
$updateLocalRes = VehicleContract::where('id',$contract['id'])->update(['signing_timer'=>2,'status' => 3,'contract_url'=>$signContractFile,'contract_evidence'=>$contractEvidence]);
|
||||||
|
//将车辆加入到本地租赁列表
|
||||||
|
$cars = json_decode($contract['cars_info'], true);
|
||||||
|
$data = [];
|
||||||
|
foreach ($cars as $k => $v) {
|
||||||
|
$hasCar = VehicleRent::where('car_id',$v['id'])->findOrEmpty();
|
||||||
|
if($hasCar->isEmpty()){
|
||||||
|
$data[$k]['contract_id'] = $contract['id'];
|
||||||
|
$data[$k]['company_id'] = $contract['company_b_id'];
|
||||||
|
$data[$k]['car_id'] = $v['id'];
|
||||||
|
$data[$k]['car_license'] = $v['license'];
|
||||||
|
$data[$k]['type'] = 0;
|
||||||
|
$data[$k]['status'] = 0;
|
||||||
|
$data[$k]['rent_contract_id'] = 0;
|
||||||
|
$data[$k]['rent_company_id'] = 0;
|
||||||
|
$data[$k]['rent_time'] = 0;
|
||||||
|
$data[$k]['create_time'] = strtotime($contract['create_time']);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
$vehicleRent = new VehicleRent();
|
||||||
|
$vehicleRent->saveAll($data);
|
||||||
|
//更新远程
|
||||||
|
$updateSverRes = curl_post(env('project.logistic_domain').'/api/contractUpdate',[],[
|
||||||
|
'id' => $contract['contract_logistic_id'],
|
||||||
|
'signing_timer' => 2,
|
||||||
|
'status' => 3,
|
||||||
|
'contract_url'=>$signContractFile,
|
||||||
|
'contract_evidence'=>$contractEvidence
|
||||||
|
]);
|
||||||
|
if(!$updateLocalRes || $updateSverRes['code']==0){
|
||||||
|
return json(['success' => false, 'msg' => '更新失败']);
|
||||||
|
}else{
|
||||||
|
return json(['success' => true, 'msg' => '更新成功']);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return json(['success' => true, 'msg' => '更新成功@']);
|
||||||
|
}
|
||||||
|
|
||||||
|
//系统车辆租赁回来
|
||||||
|
public function systemCarRent(): Json
|
||||||
|
{
|
||||||
|
//获取参数
|
||||||
|
$id = $this->request->get('id');
|
||||||
|
if (empty($id)) {
|
||||||
|
return json(['success' => false, 'msg' => '失败1.1']);
|
||||||
|
}
|
||||||
|
//获取合同数据
|
||||||
|
$contract = VehicleContract::where('id', $id)->find();
|
||||||
|
if (empty($contract)) {
|
||||||
|
return json(['success' => false, 'msg' => '失败1.2']);
|
||||||
|
}
|
||||||
|
if ($contract['type'] != 0) {
|
||||||
|
return json(['success' => false, 'msg' => '失败1.3']);
|
||||||
|
}
|
||||||
|
if ($contract['status'] != 2) {
|
||||||
|
return json(['success' => false, 'msg' => '失败1.4']);
|
||||||
|
}
|
||||||
|
//判断签约方
|
||||||
|
if ($contract['signing_timer'] == 0) {
|
||||||
|
//更新合同的签约次数
|
||||||
|
$res = VehicleContract::where('id', $id)->update(['signing_timer' => 1]);
|
||||||
|
if (!$res) {
|
||||||
|
return json(['success' => false, 'msg' => '失败1.5']);
|
||||||
|
}
|
||||||
|
return json(['success' => true, 'msg' => '成功']);
|
||||||
|
} else if ($contract['signing_timer'] == 1) {
|
||||||
|
//获取签约后的合同
|
||||||
|
$signContractFile = app(JunziqianController::class)->downloadVehicleContractFile($contract['contract_no']);
|
||||||
|
$signContractFile = $signContractFile ?? '';
|
||||||
|
//获取签约后的证据
|
||||||
|
$signContractEvidenceToPartyA = app(JunziqianController::class)->downloadVehicleContractEvidence($contract['contract_no'],$contract['company_a_name'],$contract['company_a_code']);
|
||||||
|
$signContractEvidenceToPartyA = $signContractEvidenceToPartyA ?? '';
|
||||||
|
$signContractEvidenceToPartyB = app(JunziqianController::class)->downloadVehicleContractEvidence($contract['contract_no'],$contract['company_b_name'],$contract['company_b_code']);
|
||||||
|
$signContractEvidenceToPartyB = $signContractEvidenceToPartyB ?? '';
|
||||||
|
$contractEvidence = json_encode([
|
||||||
|
'party_a' => $signContractEvidenceToPartyA,
|
||||||
|
'party_b' => $signContractEvidenceToPartyB
|
||||||
|
]);
|
||||||
|
//更改合同状态
|
||||||
|
VehicleContract::where('id', $id)->update(['signing_timer' => 2, 'status' => 3,'contract_url'=>$signContractFile,'contract_evidence'=>$contractEvidence]);
|
||||||
|
//添加车辆到租赁列表
|
||||||
|
$vehicle = json_decode($contract['cars_info'], true);
|
||||||
|
VehicleRent::where('car_id', $vehicle[0]['id'])->update([
|
||||||
|
'status' => 2,
|
||||||
|
'rent_contract_id' => $contract['id'],
|
||||||
|
'rent_company_id' => $contract['company_b_id'],
|
||||||
|
'rent_time' => time(),
|
||||||
|
]);
|
||||||
|
$party_b = Company::where('id', $contract['company_b_id'])->find();
|
||||||
|
//通知物流系统跟新
|
||||||
|
curl_post(env('project.logistic_domain').'/api/updateVehicleRent', [], [
|
||||||
|
'car_id' => $vehicle[0]['id'],
|
||||||
|
'use_user_id' => $party_b['user_id'],
|
||||||
|
'use_user_name' => $party_b['master_name'],
|
||||||
|
'use_user_phone' => $party_b['master_phone']
|
||||||
|
]);
|
||||||
|
return json(['success' => true, 'msg' => '成功']);
|
||||||
|
} else {
|
||||||
|
return json(['success' => true, 'msg' => '成功']);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
//自有车辆租赁回答
|
||||||
|
public function selfCarRent(): Json
|
||||||
|
{
|
||||||
|
//获取参数
|
||||||
|
$id = $this->request->get('id');
|
||||||
|
if (empty($id)) {
|
||||||
|
return json(['success' => false, 'msg' => '失败2.1']);
|
||||||
|
}
|
||||||
|
//获取合同数据
|
||||||
|
$contract = VehicleContract::where('id', $id)->find();
|
||||||
|
if (empty($contract)) {
|
||||||
|
return json(['success' => false, 'msg' => '失败2.2']);
|
||||||
|
}
|
||||||
|
if ($contract['type'] != 1) {
|
||||||
|
return json(['success' => false, 'msg' => '失败2.3']);
|
||||||
|
}
|
||||||
|
if ($contract['status'] != 2) {
|
||||||
|
return json(['success' => false, 'msg' => '失败2.4']);
|
||||||
|
}
|
||||||
|
//判断签约方
|
||||||
|
if ($contract['signing_timer'] == 0) {
|
||||||
|
$res = VehicleContract::where('id', $id)->update(['signing_timer' => 1]);
|
||||||
|
if (!$res) {
|
||||||
|
return json(['success' => false, 'msg' => '失败2.5']);
|
||||||
|
}
|
||||||
|
return json(['success' => true, 'msg' => '成功']);
|
||||||
|
} else if ($contract['signing_timer'] == 1) {
|
||||||
|
//添加车辆到物流系统
|
||||||
|
$vehicle = json_decode($contract['cars_info'], true);
|
||||||
|
$curl_res = curl_post(env('project.logistic_domain').'/api/addSelfCar', [], [
|
||||||
|
'license' => $vehicle[0]['license'],
|
||||||
|
'pic' => $vehicle[0]['pic'],
|
||||||
|
'company_id' => $contract['company_a_id'],
|
||||||
|
'company_name' => $contract['company_a_name'],
|
||||||
|
'company_user' => $contract['company_a_user'],
|
||||||
|
'company_phone' => $contract['company_a_phone'],
|
||||||
|
]);
|
||||||
|
if (!$curl_res || $curl_res['code'] == 0) {
|
||||||
|
return json(['success' => false, 'msg' => '失败2.6']);
|
||||||
|
}
|
||||||
|
$cars_info = json_encode([['id' => $curl_res['data']['car_id'], 'license' => $vehicle[0]['license']]]);
|
||||||
|
//获取签约后的合同
|
||||||
|
$signContractFile = app(JunziqianController::class)->downloadVehicleContractFile($contract['contract_no']);
|
||||||
|
$signContractFile = $signContractFile ?? '';
|
||||||
|
//获取签约后的证据
|
||||||
|
$signContractEvidenceToPartyA = app(JunziqianController::class)->downloadVehicleContractEvidence($contract['contract_no'],$contract['company_a_name'],$contract['company_a_code']);
|
||||||
|
$signContractEvidenceToPartyA = $signContractEvidenceToPartyA ?? '';
|
||||||
|
$signContractEvidenceToPartyB = app(JunziqianController::class)->downloadVehicleContractEvidence($contract['contract_no'],$contract['company_b_name'],$contract['company_b_code']);
|
||||||
|
$signContractEvidenceToPartyB = $signContractEvidenceToPartyB ?? '';
|
||||||
|
$contractEvidence = json_encode([
|
||||||
|
'party_a' => $signContractEvidenceToPartyA,
|
||||||
|
'party_b' => $signContractEvidenceToPartyB
|
||||||
|
]);
|
||||||
|
VehicleContract::where('id', $id)->update(['cars_info'=>$cars_info,'update_time'=>time(),'signing_timer'=>2,'status'=>3,'contract_url'=>$signContractFile,'contract_evidence'=>$contractEvidence]);
|
||||||
|
VehicleRent::create([
|
||||||
|
'car_id' => $curl_res['data']['car_id'],
|
||||||
|
'contract_id' => $contract['id'],
|
||||||
|
'company_id' => $contract['company_a_id'],
|
||||||
|
'car_license' => $vehicle[0]['license'],
|
||||||
|
'status' => 2,
|
||||||
|
'rent_time' => time(),
|
||||||
|
'rent_contract_id' => $contract['id'],
|
||||||
|
'rent_company_id' => $contract['company_b_id'],
|
||||||
|
'create_time' => time(),
|
||||||
|
'type' => 1
|
||||||
|
]);
|
||||||
|
$car_id = $curl_res['data']['car_id'];
|
||||||
|
$party_b = Company::where('id', $contract['company_b_id'])->find();
|
||||||
|
//通知物流系统跟新
|
||||||
|
curl_post(env('project.logistic_domain').'/api/updateVehicleRent', [], [
|
||||||
|
'car_id' => $car_id,
|
||||||
|
'use_user_id' => $party_b['user_id'],
|
||||||
|
'use_user_name' => $party_b['master_name'],
|
||||||
|
'use_user_phone' => $party_b['master_phone']
|
||||||
|
]);
|
||||||
|
return json(['success' => true, 'msg' => '成功']);
|
||||||
|
} else {
|
||||||
|
return json(['success' => true, 'msg' => '成功']);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
//解除合同回调
|
||||||
|
public function cancelRent()
|
||||||
|
{
|
||||||
|
//获取参数
|
||||||
|
$id = $this->request->get('id');
|
||||||
|
if (empty($id)) {
|
||||||
|
return json(['success' => false, 'msg' => '失败3.1']);
|
||||||
|
}
|
||||||
|
//获取合同数据
|
||||||
|
$contract = VehicleContract::where('id', $id)->find();
|
||||||
|
if (empty($contract)) {
|
||||||
|
return json(['success' => false, 'msg' => '失败3.2']);
|
||||||
|
}
|
||||||
|
if ($contract['type'] != 2) {
|
||||||
|
return json(['success' => false, 'msg' => '失败3.3']);
|
||||||
|
}
|
||||||
|
if ($contract['status'] != 2) {
|
||||||
|
return json(['success' => false, 'msg' => '失败3.4']);
|
||||||
|
}
|
||||||
|
if ($contract['signing_timer'] == 0) {
|
||||||
|
$res = VehicleContract::where('id', $id)->update(['signing_timer' => 1]);
|
||||||
|
if (!$res) {
|
||||||
|
return json(['success' => false, 'msg' => '失败3.5']);
|
||||||
|
}
|
||||||
|
return json(['success' => true, 'msg' => '成功']);
|
||||||
|
} else if ($contract['signing_timer'] == 1) {
|
||||||
|
//获取签约后的合同
|
||||||
|
$signContractFile = app(JunziqianController::class)->downloadVehicleContractFile($contract['contract_no']);
|
||||||
|
$signContractFile = $signContractFile ?? '';
|
||||||
|
//获取签约后的证据
|
||||||
|
$signContractEvidenceToPartyA = app(JunziqianController::class)->downloadVehicleContractEvidence($contract['contract_no'],$contract['company_a_name'],$contract['company_a_code']);
|
||||||
|
$signContractEvidenceToPartyA = $signContractEvidenceToPartyA ?? '';
|
||||||
|
$signContractEvidenceToPartyB = app(JunziqianController::class)->downloadVehicleContractEvidence($contract['contract_no'],$contract['company_b_name'],$contract['company_b_code']);
|
||||||
|
$signContractEvidenceToPartyB = $signContractEvidenceToPartyB ?? '';
|
||||||
|
$contractEvidence = json_encode([
|
||||||
|
'party_a' => $signContractEvidenceToPartyA,
|
||||||
|
'party_b' => $signContractEvidenceToPartyB
|
||||||
|
]);
|
||||||
|
$cars = json_decode($contract['cars_info'],true);
|
||||||
|
$cars_ids = array_column($cars,'id');
|
||||||
|
//更改合同状态
|
||||||
|
VehicleContract::where('id', $id)->update(['signing_timer'=>2,'status'=>3,'contract_url'=>$signContractFile,'contract_evidence'=>$contractEvidence]);
|
||||||
|
if(!empty($contract['contract_logistic_id'])){
|
||||||
|
curl_post(env('project.logistic_domain').'/api/contractUpdate',[],[
|
||||||
|
'id' => $contract['contract_logistic_id'],
|
||||||
|
'signing_timer' => 2,
|
||||||
|
'status' => 3,
|
||||||
|
'contract_url'=>$signContractFile,
|
||||||
|
'contract_evidence'=>$contractEvidence,
|
||||||
|
]);
|
||||||
|
}
|
||||||
|
//判断合同是否存在购买记录表中
|
||||||
|
$vehicleBuyRecord = VehicleBuyRecord::where('contract_id',$contract['id'])->findOrEmpty();
|
||||||
|
if(!$vehicleBuyRecord->isEmpty()){
|
||||||
|
//小组公司与镇街公司解约
|
||||||
|
if($vehicleBuyRecord['status'] == 1){
|
||||||
|
//获取租赁车辆信息
|
||||||
|
$rentCarsInfo = VehicleRent::where('car_id',$cars_ids[0])->findOrEmpty();
|
||||||
|
if($rentCarsInfo['type'] == 0){
|
||||||
|
//修改租赁车俩状态
|
||||||
|
VehicleRent::where('id',$rentCarsInfo['id'])->update(['status'=>0,'rent_company_id'=>0,'rent_contract_id'=>0,'rent_time'=>0]);
|
||||||
|
}
|
||||||
|
if($rentCarsInfo['type'] == 1){
|
||||||
|
//修改租赁车俩状态
|
||||||
|
VehicleRent::where('id',$rentCarsInfo['id'])->delete();
|
||||||
|
}
|
||||||
|
//删除原合同
|
||||||
|
VehicleContract::where('id',$rentCarsInfo['rent_contract_id'])->delete();
|
||||||
|
//修改物流系统车辆租赁信息
|
||||||
|
curl_post(env('project.logistic_domain').'/api/Vehicle/delRentUseInfo', [], [
|
||||||
|
'car_id' => $cars_ids[0]
|
||||||
|
]);
|
||||||
|
//发送购买合同给物流系统
|
||||||
|
$curl_result = curl_post(env('project.logistic_domain').'/api/signContract',[],[
|
||||||
|
'num' => $vehicleBuyRecord['num'],
|
||||||
|
'company_id' => $vehicleBuyRecord['company_id'],
|
||||||
|
'company_name' => $vehicleBuyRecord['company_name'],
|
||||||
|
'company_code' => $vehicleBuyRecord['company_code'],
|
||||||
|
'company_user' => $vehicleBuyRecord['company_user'],
|
||||||
|
'company_phone' => $vehicleBuyRecord['company_phone'],
|
||||||
|
'company_email' => $vehicleBuyRecord['company_email'],
|
||||||
|
'cars_info' => $vehicleBuyRecord['cars_info'],
|
||||||
|
'type' => 3
|
||||||
|
]);
|
||||||
|
if(empty($curl_result)){
|
||||||
|
return $this->fail('null return from logistic');
|
||||||
|
}
|
||||||
|
if($curl_result['code'] == 0){
|
||||||
|
return $this->fail($curl_result['msg'].' from logistic');
|
||||||
|
}
|
||||||
|
//生成本地合同
|
||||||
|
VehicleContract::create($curl_result['data']);
|
||||||
|
VehicleBuyRecord::where('id',$vehicleBuyRecord['id'])->update(['status'=>4]);
|
||||||
|
return json(['success' => true, 'msg' => '成功']);
|
||||||
|
}
|
||||||
|
//小组公司与镇街公司解约,然后镇街公司与平台公司解约
|
||||||
|
if($vehicleBuyRecord['status'] == 2){
|
||||||
|
//获取租赁车辆信息
|
||||||
|
$rentCarsInfo = VehicleRent::where('car_id',$cars_ids[0])->findOrEmpty();
|
||||||
|
if($rentCarsInfo['type'] == 0){
|
||||||
|
//修改租赁车俩状态
|
||||||
|
VehicleRent::where('id',$rentCarsInfo['id'])->update(['status'=>0,'rent_company_id'=>0,'rent_contract_id'=>0,'rent_time'=>0]);
|
||||||
|
}
|
||||||
|
if($rentCarsInfo['type'] == 1){
|
||||||
|
//修改租赁车俩状态
|
||||||
|
VehicleRent::where('id',$rentCarsInfo['id'])->delete();
|
||||||
|
}
|
||||||
|
//删除原合同
|
||||||
|
VehicleContract::where('id',$rentCarsInfo['rent_contract_id'])->delete();
|
||||||
|
//修改物流系统车辆租赁信息
|
||||||
|
curl_post(env('project.logistic_domain').'/api/Vehicle/delRentUseInfo', [], [
|
||||||
|
'car_id' => $cars_ids[0]
|
||||||
|
]);
|
||||||
|
//获取镇街公司信息
|
||||||
|
$zjCompany = Company::where('id',$rentCarsInfo['company_id'])->findOrEmpty();
|
||||||
|
//判断购买车辆中是否包含镇街公司租赁的车辆
|
||||||
|
$car_ids = array_column(json_decode($vehicleBuyRecord['cars_info'],true),'id');
|
||||||
|
$zjRentCars = VehicleRent::field('car_id as id,car_license as license')->where('company_id',$zjCompany['id'])->where('car_id','in',$car_ids)->where('status',0)->where('type',0)->select();
|
||||||
|
//发送镇公司与平台公司的解约合同
|
||||||
|
$curl_result = curl_post(env('project.logistic_domain').'/api/signContract',[],[
|
||||||
|
'num' => count($zjRentCars),
|
||||||
|
'company_id' => $zjCompany['id'],
|
||||||
|
'company_name' => $zjCompany['company_name'],
|
||||||
|
'company_code' => $zjCompany['organization_code'],
|
||||||
|
'company_user' => $zjCompany['master_name'],
|
||||||
|
'company_phone' => $zjCompany['master_phone'],
|
||||||
|
'company_email' => $zjCompany['master_email'],
|
||||||
|
'cars_info' => json_encode($zjRentCars),
|
||||||
|
'type' => 2
|
||||||
|
]);
|
||||||
|
if(empty($curl_result)){
|
||||||
|
return $this->fail('null return from logistic');
|
||||||
|
}
|
||||||
|
if($curl_result['code'] == 0){
|
||||||
|
return $this->fail($curl_result['msg'].' from logistic');
|
||||||
|
}
|
||||||
|
//生成本地合同
|
||||||
|
$res = VehicleContract::create($curl_result['data']);
|
||||||
|
VehicleBuyRecord::where('id',$vehicleBuyRecord['id'])->update(['status'=>3,'contract_id'=>$res->id]);
|
||||||
|
return json(['success' => true, 'msg' => '成功']);
|
||||||
|
}
|
||||||
|
//镇街公司与平台公司解约
|
||||||
|
if($vehicleBuyRecord['status'] == 3){
|
||||||
|
//删除本地租赁信息
|
||||||
|
VehicleRent::where('car_id','in',$cars_ids)->delete();
|
||||||
|
//删除物流系统租赁信息
|
||||||
|
curl_post(env('project.logistic_domain').'/api/cancelRent', [], [
|
||||||
|
'car_ids' => implode(',',$cars_ids)
|
||||||
|
]);
|
||||||
|
//发送购买合同给物流系统
|
||||||
|
$curl_result = curl_post(env('project.logistic_domain').'/api/signContract',[],[
|
||||||
|
'num' => $vehicleBuyRecord['num'],
|
||||||
|
'company_id' => $vehicleBuyRecord['company_id'],
|
||||||
|
'company_name' => $vehicleBuyRecord['company_name'],
|
||||||
|
'company_code' => $vehicleBuyRecord['company_code'],
|
||||||
|
'company_user' => $vehicleBuyRecord['company_user'],
|
||||||
|
'company_phone' => $vehicleBuyRecord['company_phone'],
|
||||||
|
'company_email' => $vehicleBuyRecord['company_email'],
|
||||||
|
'cars_info' => $vehicleBuyRecord['cars_info'],
|
||||||
|
'type' => 3
|
||||||
|
]);
|
||||||
|
if(empty($curl_result)){
|
||||||
|
return $this->fail('null return from logistic');
|
||||||
|
}
|
||||||
|
if($curl_result['code'] == 0){
|
||||||
|
return $this->fail($curl_result['msg'].' from logistic');
|
||||||
|
}
|
||||||
|
//生成本地合同
|
||||||
|
VehicleContract::create($curl_result['data']);
|
||||||
|
VehicleBuyRecord::where('id',$vehicleBuyRecord['id'])->update(['status'=>4]);
|
||||||
|
return json(['success' => true, 'msg' => '成功']);
|
||||||
|
}
|
||||||
|
}else{
|
||||||
|
//更改租赁列表车辆状态
|
||||||
|
$vehicle = json_decode($contract['cars_info'], true);
|
||||||
|
//获取租赁车辆信息
|
||||||
|
$vehicleRentInfo = VehicleRent::where('car_id', $vehicle[0]['id'])->find();
|
||||||
|
//更新原始合同类型
|
||||||
|
VehicleContract::where('id', $vehicleRentInfo['rent_contract_id'])->delete();
|
||||||
|
VehicleRent::where('car_id', $vehicle[0]['id'])->delete();
|
||||||
|
//通知物流系统跟新
|
||||||
|
curl_post(env('project.logistic_domain').'/api/Vehicle/delRentUseInfo', [], [
|
||||||
|
'car_id' => $vehicle[0]['id']
|
||||||
|
]);
|
||||||
|
return json(['success' => true, 'msg' => '成功']);
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
return json(['success' => true, 'msg' => '成功']);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
//购买合同回调
|
||||||
|
public function buyCar(): Json
|
||||||
|
{
|
||||||
|
//获取参数
|
||||||
|
$id = $this->request->get('id');
|
||||||
|
if (empty($id)) {
|
||||||
|
return json(['success' => false, 'msg' => '失败4.1']);
|
||||||
|
}
|
||||||
|
//获取合同数据
|
||||||
|
$contract = VehicleContract::where('id', $id)->find();
|
||||||
|
if (empty($contract)) {
|
||||||
|
return json(['success' => false, 'msg' => '失败4.2']);
|
||||||
|
}
|
||||||
|
if ($contract['type'] != 3) {
|
||||||
|
return json(['success' => false, 'msg' => '失败4.3']);
|
||||||
|
}
|
||||||
|
if ($contract['status'] != 2) {
|
||||||
|
return json(['success' => false, 'msg' => '失败4.4']);
|
||||||
|
}
|
||||||
|
if ($contract['signing_timer'] == 0) {
|
||||||
|
$res = VehicleContract::where('id', $id)->update(['signing_timer' => 1]);
|
||||||
|
if (!$res) {
|
||||||
|
return json(['success' => false, 'msg' => '失败4.5']);
|
||||||
|
}
|
||||||
|
return json(['success' => true, 'msg' => '成功']);
|
||||||
|
}else if ($contract['signing_timer'] == 1) {
|
||||||
|
//获取签约后的合同
|
||||||
|
$signContractFile = app(JunziqianController::class)->downloadVehicleContractFile($contract['contract_no']);
|
||||||
|
$signContractFile = $signContractFile ?? '';
|
||||||
|
//获取签约后的证据
|
||||||
|
$signContractEvidenceToPartyA = app(JunziqianController::class)->downloadVehicleContractEvidence($contract['contract_no'],$contract['company_a_name'],$contract['company_a_code']);
|
||||||
|
$signContractEvidenceToPartyA = $signContractEvidenceToPartyA ?? '';
|
||||||
|
$signContractEvidenceToPartyB = app(JunziqianController::class)->downloadVehicleContractEvidence($contract['contract_no'],$contract['company_b_name'],$contract['company_b_code']);
|
||||||
|
$signContractEvidenceToPartyB = $signContractEvidenceToPartyB ?? '';
|
||||||
|
$contractEvidence = json_encode([
|
||||||
|
'party_a' => $signContractEvidenceToPartyA,
|
||||||
|
'party_b' => $signContractEvidenceToPartyB
|
||||||
|
]);
|
||||||
|
//更新本地合同状态
|
||||||
|
$updateLocalRes = VehicleContract::where('id',$contract['id'])->update(['signing_timer'=>2,'status' => 3,'contract_url'=>$signContractFile,'contract_evidence'=>$contractEvidence]);
|
||||||
|
//判断是否有监管车辆
|
||||||
|
$jgCars = VehicleRent::where('rent_company_id',$contract['company_b_id'])->where('status',2)->where('type',2)->findOrEmpty();
|
||||||
|
if($jgCars->isEmpty()){
|
||||||
|
//获取镇街公司信息
|
||||||
|
$zjCompany = Contract::field('party_a')->where('party_b',$contract['company_b_id'])->where('signing_timer',2)->findOrEmpty();
|
||||||
|
//将车辆加入到本地租赁列表
|
||||||
|
$cars = json_decode($contract['cars_info'], true);
|
||||||
|
//写入数据
|
||||||
|
$data = [
|
||||||
|
'car_id' => $cars[0]['id'],
|
||||||
|
'car_license' => $cars[0]['license'],
|
||||||
|
'type' => 2,
|
||||||
|
'status' => 2,
|
||||||
|
'company_id' => $zjCompany['party_a'],
|
||||||
|
'rent_time' => time(),
|
||||||
|
'rent_company_id' => $contract['company_b_id'],
|
||||||
|
'contract_id' => $contract['id'],
|
||||||
|
'create_time' => time()
|
||||||
|
];
|
||||||
|
$vehicleRent = new VehicleRent();
|
||||||
|
$vehicleRent->save($data);
|
||||||
|
}
|
||||||
|
//获取签约公司信息
|
||||||
|
$compay = Company::where('id',$contract['company_b_id'])->findOrEmpty();
|
||||||
|
//更新远程
|
||||||
|
$updateSverRes = curl_post(env('project.logistic_domain').'/api/contractUpdate',[],[
|
||||||
|
'id' => $contract['contract_logistic_id'],
|
||||||
|
'signing_timer' => 2,
|
||||||
|
'status' => 3,
|
||||||
|
'contract_url'=>$signContractFile,
|
||||||
|
'contract_evidence'=>$contractEvidence,
|
||||||
|
'use_user_id' =>$compay['user_id'],
|
||||||
|
'use_user_name' =>$compay['master_name'],
|
||||||
|
'use_user_phone' =>$compay['master_phone'],
|
||||||
|
]);
|
||||||
|
if(!$updateLocalRes || $updateSverRes['code']==0){
|
||||||
|
return json(['success' => false, 'msg' => '更新失败']);
|
||||||
|
}else{
|
||||||
|
return json(['success' => true, 'msg' => '更新成功']);
|
||||||
|
}
|
||||||
|
}else{
|
||||||
|
return json(['success' => true, 'msg' => '成功']);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -17,7 +17,7 @@ class ApiSignService
|
||||||
public static function verifySign($data,$appKey): array
|
public static function verifySign($data,$appKey): array
|
||||||
{
|
{
|
||||||
// 验证请求, 2分钟失效
|
// 验证请求, 2分钟失效
|
||||||
if (time() - $data['timestamp'] > 120) {
|
if (time() - intval($data['timestamp'] / 1000) > 120) {
|
||||||
return ['code' => 0, 'msg' => '签名已失效'];
|
return ['code' => 0, 'msg' => '签名已失效'];
|
||||||
}
|
}
|
||||||
//比对签名
|
//比对签名
|
||||||
|
|
|
@ -322,3 +322,35 @@ function format_amount($float)
|
||||||
}
|
}
|
||||||
return $float;
|
return $float;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function curl_post($url,$data,$headers=[]) {
|
||||||
|
//初始化curl
|
||||||
|
$ch = curl_init();
|
||||||
|
curl_setopt($ch,CURLOPT_URL,$url);
|
||||||
|
//设置获取的信息以文件流的形式返回,而不是直接输出。
|
||||||
|
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
|
||||||
|
//设置头文件的信息作为数据流输出
|
||||||
|
curl_setopt($ch, CURLOPT_HEADER, 0);
|
||||||
|
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 120);
|
||||||
|
curl_setopt($ch,CURLOPT_SSL_VERIFYPEER, FALSE);
|
||||||
|
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);
|
||||||
|
//设置为post方式请求
|
||||||
|
curl_setopt($ch, CURLOPT_POST, 1);
|
||||||
|
//添加参数
|
||||||
|
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
|
||||||
|
//设置header
|
||||||
|
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
|
||||||
|
//关闭请求资源
|
||||||
|
$output = curl_exec($ch);
|
||||||
|
curl_close($ch);
|
||||||
|
return json_decode($output,true);
|
||||||
|
}
|
||||||
|
|
||||||
|
function curl_get($url){
|
||||||
|
$ch = curl_init();
|
||||||
|
curl_setopt($ch, CURLOPT_URL, $url);
|
||||||
|
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
|
||||||
|
$output = curl_exec($ch);
|
||||||
|
curl_close($ch);
|
||||||
|
return json_decode($output,true);
|
||||||
|
}
|
||||||
|
|
|
@ -0,0 +1,490 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace app\common\controller;
|
||||||
|
|
||||||
|
use app\common\model\contract\VehicleContract;
|
||||||
|
use junziqian\sdk\bean\req\sign\ApplySignReq;
|
||||||
|
use junziqian\sdk\bean\req\user\OrganizationCreateReq;
|
||||||
|
use junziqian\sdk\bean\req\user\OrganizationFaceCreateReq;
|
||||||
|
use junziqian\sdk\util\exception\ResultInfoException;
|
||||||
|
use junziqian\sdk\util\RequestUtils;
|
||||||
|
use junziqian\sdk\util\ShaUtils;
|
||||||
|
use CURLFile;
|
||||||
|
use think\facade\Db;
|
||||||
|
|
||||||
|
class JunziqianController extends BaseLikeAdminController
|
||||||
|
{
|
||||||
|
public array $notNeedLogin = ['download_file'];
|
||||||
|
|
||||||
|
/**请求地址*/
|
||||||
|
private $serviceUrl;
|
||||||
|
/**appkey*/
|
||||||
|
private $appkey;
|
||||||
|
/**secret*/
|
||||||
|
private $appSecret;
|
||||||
|
|
||||||
|
public function initialize()
|
||||||
|
{
|
||||||
|
$this->serviceUrl=env('junzi.url_prefix');
|
||||||
|
$this->appkey=env('junzi.app_key');
|
||||||
|
$this->appSecret=env('junzi.app_secret');
|
||||||
|
|
||||||
|
parent::initialize();
|
||||||
|
|
||||||
|
}
|
||||||
|
/**请求地址*/
|
||||||
|
// private $serviceUrl = 'https://api.junziqian.com';
|
||||||
|
// /**appkey*/
|
||||||
|
// private $appkey = '62dc4ab579153712';
|
||||||
|
// /**secret*/
|
||||||
|
// private $appSecret = 'b7f65acc62dc4ab579153712fc9ebfc5';
|
||||||
|
/**默认加密方式:不输入使用sha256,其它可选择项md5,sha1,sha3-256*/
|
||||||
|
private $encryMethod;
|
||||||
|
/**默认ts单位:1毫秒,2秒*/
|
||||||
|
private $tsType;
|
||||||
|
/**
|
||||||
|
* 填充签名数据
|
||||||
|
* @param $req array
|
||||||
|
*/
|
||||||
|
public function fillSign($req)
|
||||||
|
{
|
||||||
|
/**默认加密方式:不输入使用sha256,其它可选择项md5,sha1,sha3-256*/
|
||||||
|
$ts = time();
|
||||||
|
if ($this->tsType == 1) {
|
||||||
|
$ts = $ts * 1000;
|
||||||
|
}
|
||||||
|
$sign = null;
|
||||||
|
$nonce = md5($ts . "");
|
||||||
|
$signSrc = "nonce" . $nonce . "ts" . $ts . "app_key" . $this->appkey . "app_secret" . $this->appSecret;
|
||||||
|
if ($this->encryMethod == null || $this->encryMethod == "sha256") {
|
||||||
|
$sign = ShaUtils::getSha256($signSrc);
|
||||||
|
} else if ($this->encryMethod == "sha1") {
|
||||||
|
$sign = ShaUtils::getSha1($signSrc);
|
||||||
|
} else if ($this->encryMethod == "md5") {
|
||||||
|
$sign = md5($signSrc);
|
||||||
|
} else {
|
||||||
|
throw new ResultInfoException($this->encryMethod . ",必须为md5,sha1,sha256之一", "PARAM_ERROR");
|
||||||
|
}
|
||||||
|
$req['ts'] = $ts;
|
||||||
|
$req['app_key'] = $this->appkey;
|
||||||
|
$req['sign'] = $sign;
|
||||||
|
$req['nonce'] = $nonce; //这只是为了生成一个随机值
|
||||||
|
if ($this->encryMethod != null) {
|
||||||
|
$req['encry_method'] = $this->encryMethod; //为''也不能传
|
||||||
|
}
|
||||||
|
return $req;
|
||||||
|
}
|
||||||
|
|
||||||
|
//企业实名认证上传
|
||||||
|
|
||||||
|
public function EnterpriseCertification($data)
|
||||||
|
{
|
||||||
|
$requestUtils = new RequestUtils($this->serviceUrl, $this->appkey, $this->appSecret);
|
||||||
|
$request = new OrganizationCreateReq();
|
||||||
|
$request->name = $data['name'];
|
||||||
|
$request->identificationType = 1; //证件类型:0多证,1多证合一
|
||||||
|
$request->organizationType = 0; //组织类型 0企业,1事业单位
|
||||||
|
$request->organizationRegNo = $data['organization_code'];
|
||||||
|
$request->organizationRegImg = $data['business_license']; //new CURLFile('D:/tmp/test.png',null,"test.png");
|
||||||
|
$request->legalName = $data["master_name"]; //法人
|
||||||
|
// $request->legalIdentityCard = $data["master_id_card"]; // 法人身份证 签约时人脸识别需要
|
||||||
|
// $request->legalMobile = $data["master_phone"]; // 法人手机号 预留 签约时短信验证需要
|
||||||
|
|
||||||
|
if (isset($data['master_email'])) {
|
||||||
|
$request->emailOrMobile = $data['master_email']; //邮箱
|
||||||
|
}
|
||||||
|
// $request->notifyUrl = env('url.url_prefix').'/notifyAuthentication?ids=22222';
|
||||||
|
$request->notifyUrl = env('url.url_prefix') . '/notifyAuthentication?id=' . $data['id'];
|
||||||
|
// halt($request);
|
||||||
|
//发起创建企业请求
|
||||||
|
$response = $requestUtils->doPost("/v2/user/organizationCreate", $request);
|
||||||
|
return $response;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param $data
|
||||||
|
* @return object
|
||||||
|
* 商城商户入驻,实名认证
|
||||||
|
*/
|
||||||
|
public function ShopMerchantCertification($data)
|
||||||
|
{
|
||||||
|
$requestUtils = new RequestUtils($this->serviceUrl, $this->appkey, $this->appSecret);
|
||||||
|
$request = new OrganizationCreateReq();
|
||||||
|
$request->name = $data['name'];
|
||||||
|
$request->identificationType = 1; //证件类型:0多证,1多证合一
|
||||||
|
$request->organizationType = 0; //组织类型 0企业,1事业单位
|
||||||
|
$request->organizationRegNo = $data['organization_code'];
|
||||||
|
$request->organizationRegImg = $data['business_license'];
|
||||||
|
$request->legalName = $data["master_name"]; //法人
|
||||||
|
if (isset($data['master_email'])) {
|
||||||
|
$request->emailOrMobile = $data['master_email']; //邮箱
|
||||||
|
}
|
||||||
|
$request->notifyUrl = env('url.url_prefix') . '/notifyAuthentication?id=' . $data['id'].'&type=shop_merchant'; // 回调增加type参数,用于回调是辨别是商户认证会带
|
||||||
|
//发起创建企业请求
|
||||||
|
$response = $requestUtils->doPost("/v2/user/organizationCreate", $request);
|
||||||
|
return $response;
|
||||||
|
}
|
||||||
|
|
||||||
|
//重新提交企业实名认证
|
||||||
|
public function organizationReapply($data)
|
||||||
|
{
|
||||||
|
$requestUtils = new RequestUtils($this->serviceUrl, $this->appkey, $this->appSecret);
|
||||||
|
$request = new OrganizationCreateReq();
|
||||||
|
$request->name = $data['name'];
|
||||||
|
$request->identificationType = 1; //证件类型:0多证,1多证合一
|
||||||
|
$request->organizationType = 0; //组织类型 0企业,1事业单位
|
||||||
|
$request->organizationRegNo = $data['organization_code'];
|
||||||
|
$request->organizationRegImg = $data['business_license']; //new CURLFile('D:/tmp/test.png',null,"test.png");
|
||||||
|
$request->legalName = $data["master_name"]; //法人
|
||||||
|
// $request->legalIdentityCard = $data["master_id_card"]; // 法人身份证 签约时人脸识别需要
|
||||||
|
// $request->legalMobile = $data["master_phone"]; // 法人手机号 预留 短信验证需要
|
||||||
|
$request->emailOrMobile = $data['master_email']; //邮箱
|
||||||
|
//发起创建企业请求
|
||||||
|
$response = $requestUtils->doPost("/v2/user/organizationReapply", $request);
|
||||||
|
return $response;
|
||||||
|
// return $this->success('', (array)$response);
|
||||||
|
}
|
||||||
|
|
||||||
|
//企业实名认证状态查询
|
||||||
|
public function StatusQuery()
|
||||||
|
{
|
||||||
|
$param = Request()->param();
|
||||||
|
$requestUtils = new RequestUtils($this->serviceUrl, $this->appkey, $this->appSecret);
|
||||||
|
//初始化合同参数
|
||||||
|
$request = array(
|
||||||
|
"emailOrMobile" => $param['master_email'], //TODO *
|
||||||
|
);
|
||||||
|
//发起请求
|
||||||
|
$response = $requestUtils->doPost("/v2/user/organizationAuditStatus", $request);
|
||||||
|
return $response;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function shopMerchantStatusQuery($email)
|
||||||
|
{
|
||||||
|
$param = Request()->param();
|
||||||
|
$requestUtils = new RequestUtils($this->serviceUrl, $this->appkey, $this->appSecret);
|
||||||
|
//初始化合同参数
|
||||||
|
$request = array(
|
||||||
|
"emailOrMobile" => $email, //TODO *
|
||||||
|
);
|
||||||
|
//发起请求
|
||||||
|
$response = $requestUtils->doPost("/v2/user/organizationAuditStatus", $request);
|
||||||
|
return $response;
|
||||||
|
}
|
||||||
|
|
||||||
|
//企业自定义公章
|
||||||
|
public function Custom_seal()
|
||||||
|
{
|
||||||
|
$requestUtils = new RequestUtils($this->serviceUrl, $this->appkey, $this->appSecret);
|
||||||
|
//初始化合同参数
|
||||||
|
$request = array(
|
||||||
|
"signName" => "500XXXXXXXXXXXX", //TODO *
|
||||||
|
"email" => "500XXXXXXXXXXXX", //TODO 不传则保存在商户下,传入注册的邮箱则上传到指定邮箱企业名下
|
||||||
|
"signImgFile" => new CURLFile('D:/tmp/test.png', null, "test.png"),
|
||||||
|
);
|
||||||
|
$response = $requestUtils->doPost("/v2/user/uploadEntSign", $request);
|
||||||
|
return $this->success('', (array)$response);
|
||||||
|
}
|
||||||
|
//签约
|
||||||
|
public function Signing($data, $id, $notify = '')
|
||||||
|
{
|
||||||
|
if ($notify == '') {
|
||||||
|
$notify = env('url.url_prefix') . '/notify_url';
|
||||||
|
}
|
||||||
|
$requestUtils = new RequestUtils($this->serviceUrl, $this->appkey, $this->appSecret);
|
||||||
|
$request = new ApplySignReq();
|
||||||
|
$request->contractName = $data['name'];
|
||||||
|
$request->signatories = $data['signatories']; //签约方
|
||||||
|
// $request->faceThreshold = 79; // 人脸识别阀值:默认等级(1-100之间整数),建议范围(60-79)
|
||||||
|
$request->serverCa = 1; //是否需要服务端云证书
|
||||||
|
$request->fileType = 1; //合同上传方式 url
|
||||||
|
$request->url = $data['url'];
|
||||||
|
$request->notifyUrl = $notify . '?id=' . $id;
|
||||||
|
$request->needQifengSign = 1;
|
||||||
|
//发起PING请求
|
||||||
|
// halt($request);
|
||||||
|
$response = $requestUtils->doPost("/v2/sign/applySign", $request);
|
||||||
|
return $response;
|
||||||
|
}
|
||||||
|
public function shopContractSigning($data, $id, $notify = '')
|
||||||
|
{
|
||||||
|
if ($notify == '') {
|
||||||
|
$notify = env('url.url_prefix') . '/shop_contract_notify_url';
|
||||||
|
}
|
||||||
|
$requestUtils = new RequestUtils($this->serviceUrl, $this->appkey, $this->appSecret);
|
||||||
|
$request = new ApplySignReq();
|
||||||
|
$request->contractName = $data['name'];
|
||||||
|
$request->signatories = $data['signatories']; //签约方
|
||||||
|
// $request->faceThreshold = 79; // 人脸识别阀值:默认等级(1-100之间整数),建议范围(60-79)
|
||||||
|
$request->serverCa = 1; //是否需要服务端云证书
|
||||||
|
$request->fileType = 1; //合同上传方式 url
|
||||||
|
$request->url = $data['url'];
|
||||||
|
$request->notifyUrl = $notify . '?id=' . $id;
|
||||||
|
$request->needQifengSign = 1;
|
||||||
|
//发起PING请求
|
||||||
|
// halt($request);
|
||||||
|
$response = $requestUtils->doPost("/v2/sign/applySign", $request);
|
||||||
|
return $response;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 企业人脸校验上传
|
||||||
|
public function OrganizationFaceCreate($data)
|
||||||
|
{
|
||||||
|
$requestUtils = new RequestUtils($this->serviceUrl, $this->appkey, $this->appSecret);
|
||||||
|
$request = new OrganizationFaceCreateReq();
|
||||||
|
$request->orderNo = $data['id'];
|
||||||
|
$request->email = $data['master_email'];
|
||||||
|
$request->enterpriseName = $data['company_name'];
|
||||||
|
$request->identityNo = $data['organization_code'];
|
||||||
|
// $request-> facePerType = 0;
|
||||||
|
$request->legalPersonName = $data['master_name'];
|
||||||
|
$request->legalIdentityCard = $data['master_id_card']; //法人证件号
|
||||||
|
$request->legalMobile = $data['master_phone'];
|
||||||
|
$request->faceAgantIdenName = $data['master_name'];
|
||||||
|
$request->faceAgantIdenCard = $data['master_id_card'];
|
||||||
|
$request->backUrl = env('url.url_prefix') . '/api/Hetong/notifyOrganizationFaceCreate';
|
||||||
|
$response = $requestUtils->doPost("/v2/user/organizationFaceCreate", $request);
|
||||||
|
return $response;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function VehicleRentSigning($data, $id, $notify)
|
||||||
|
{
|
||||||
|
$requestUtils = new RequestUtils($this->serviceUrl, $this->appkey, $this->appSecret);
|
||||||
|
$request = new ApplySignReq();
|
||||||
|
$request->contractName = $data['name'];
|
||||||
|
$request->signatories = $data['signatories']; //签约方
|
||||||
|
$request->serverCa = 1; //是否需要服务端云证书
|
||||||
|
$request->fileType = 1; //合同上传方式 url
|
||||||
|
$request->url = $data['url'];
|
||||||
|
$request->notifyUrl = $notify . '?id=' . $id;
|
||||||
|
|
||||||
|
$request->needQifengSign = 1;
|
||||||
|
//发起PING请求
|
||||||
|
// halt($request);
|
||||||
|
$response = $requestUtils->doPost("/v2/sign/applySign", $request);
|
||||||
|
return $response;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function downloadVehicleContractFile($applyNo)
|
||||||
|
{
|
||||||
|
$requestUtils = new RequestUtils($this->serviceUrl, $this->appkey, $this->appSecret);
|
||||||
|
$contract_url = VehicleContract::where('contract_no', $applyNo)->value('contract_url');
|
||||||
|
if ($contract_url && !empty($contract_url)) {
|
||||||
|
return $contract_url;
|
||||||
|
}
|
||||||
|
//初始化请求参数
|
||||||
|
$request = array(
|
||||||
|
"applyNo" => $applyNo, //TODO +
|
||||||
|
);
|
||||||
|
$response = $requestUtils->doPost("/v2/sign/linkFile", $request);
|
||||||
|
if ($response->success) {
|
||||||
|
$this->getDownload($response->data, root_path() . 'public/uploads/vehicle_contract/' . $applyNo . '.pdf');
|
||||||
|
return env('project.website_domain') . '/uploads/vehicle_contract/' . $applyNo . '.pdf';
|
||||||
|
} else {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public function downloadVehicleContractEvidence($applyNo, $companyName, $companyCode)
|
||||||
|
{
|
||||||
|
//构建请求工具
|
||||||
|
$requestUtils = new RequestUtils($this->serviceUrl, $this->appkey, $this->appSecret);
|
||||||
|
//初始化合同参数
|
||||||
|
$request = array(
|
||||||
|
"applyNo" => $applyNo,
|
||||||
|
"fullName" => $companyName, //签约人名称(合同发起接口中传入的签署人姓名)
|
||||||
|
"identityCard" => $companyCode, //统一社会信用代码
|
||||||
|
"identityType" => 12, //证件类型 1身份证, 2护照, 3台胞证, 4港澳居民来往内地通行证, 11营业执照, 12统一社会信用代码, 20子账号, 99其他
|
||||||
|
"dealType" => 1
|
||||||
|
);
|
||||||
|
$response = $requestUtils->doPost("/v2/sign/presLinkFile", $request);
|
||||||
|
if ($response->success) {
|
||||||
|
$this->getDownload($response->data, root_path().'public/uploads/vehicle_contract_evidence/'.$applyNo.'_'.$companyCode.'.zip');
|
||||||
|
return env('project.website_domain').'/uploads/vehicle_contract_evidence/'.$applyNo.'_'.$companyCode.'.zip';;
|
||||||
|
} else {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public function SigningLink($data)
|
||||||
|
{
|
||||||
|
//构建请求工具
|
||||||
|
$requestUtils = new RequestUtils($this->serviceUrl, $this->appkey, $this->appSecret);
|
||||||
|
//初始化合同参数
|
||||||
|
$response = $requestUtils->doPost("/v2/sign/link", $data);
|
||||||
|
return $response;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function sms($data)
|
||||||
|
{
|
||||||
|
$requestUtils = new RequestUtils($this->serviceUrl, $this->appkey, $this->appSecret);
|
||||||
|
//初始化请求参数
|
||||||
|
$request = array(
|
||||||
|
"applyNo" => $data['applyNo'], //TODO +
|
||||||
|
//"businessNo" => "0000XXXXXXXXX", //TODO +
|
||||||
|
"fullName" => $data['fullName'], //TODO *
|
||||||
|
"identityCard" => $data['identityCard'], //TODO *
|
||||||
|
"identityType" => 12, //TODO *
|
||||||
|
"signNotifyType" => 1 //默认为1
|
||||||
|
);
|
||||||
|
$response = $requestUtils->doPost("/v2/sign/notify", $request);
|
||||||
|
return $response;
|
||||||
|
}
|
||||||
|
|
||||||
|
//html模板
|
||||||
|
public function html_contract($data, $id)
|
||||||
|
{
|
||||||
|
$requestUtils = new RequestUtils($this->serviceUrl, $this->appkey, $this->appSecret);
|
||||||
|
//CURLFile 可以传url或filePath,但必须保证文件存在且有效,否则php不会报错,只会导致http请求返回null(并没有调到服务端)。
|
||||||
|
//初始化合同参数
|
||||||
|
$request = new ApplySignReq();
|
||||||
|
$request->contractName = $data['name'];
|
||||||
|
$request->signatories = $data['signatories']; //签约方
|
||||||
|
$request->serverCa = 1; //是否需要服务端云证书
|
||||||
|
$request->fileType = 3;
|
||||||
|
$request->htmlContent = $data['content'];
|
||||||
|
$request->notifyUrl = env('url.url_prefix') . '/notify_url?id=' . $id;
|
||||||
|
$request->needQifengSign = 1;
|
||||||
|
|
||||||
|
//发起PING请求
|
||||||
|
$response = $requestUtils->doPost("/v2/sign/applySign", $request);
|
||||||
|
return $response;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 下载合同
|
||||||
|
*/
|
||||||
|
public function download_file($applyNo)
|
||||||
|
{
|
||||||
|
$requestUtils = new RequestUtils($this->serviceUrl, $this->appkey, $this->appSecret);
|
||||||
|
$find = Db::name('contract')->where('contract_no', $applyNo)->value('contract_url');
|
||||||
|
if ($find) {
|
||||||
|
return $this->success('获取成功', ['url' => env('url.url_prefix') . $find]);
|
||||||
|
}
|
||||||
|
//初始化请求参数
|
||||||
|
$request = array(
|
||||||
|
"applyNo" => $applyNo, //TODO +
|
||||||
|
);
|
||||||
|
$response = $requestUtils->doPost("/v2/sign/linkFile", $request);
|
||||||
|
if ($response->success == true) {
|
||||||
|
$this->getDownload($response->data, root_path() . 'public/uploads/contract/' . $applyNo . '.pdf');
|
||||||
|
Db::name('contract')->where('contract_no', $applyNo)->update(['contract_url' => '/uploads/contract/' . $applyNo . '.pdf']);
|
||||||
|
return $this->success('获取成功', ['url' => env('url.url_prefix') . '/uploads/contract/' . $applyNo . '.pdf']);
|
||||||
|
} else {
|
||||||
|
return $this->fail('获取失败');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
public function download_shop_file($applyNo)
|
||||||
|
{
|
||||||
|
$requestUtils = new RequestUtils($this->serviceUrl, $this->appkey, $this->appSecret);
|
||||||
|
$find = Db::name('contract')->where('contract_no', $applyNo)->value('contract_url');
|
||||||
|
if ($find) {
|
||||||
|
return $this->success('获取成功', ['url' => env('url.url_prefix') . $find]);
|
||||||
|
}
|
||||||
|
//初始化请求参数
|
||||||
|
$request = array(
|
||||||
|
"applyNo" => $applyNo, //TODO +
|
||||||
|
);
|
||||||
|
$response = $requestUtils->doPost("/v2/sign/linkFile", $request);
|
||||||
|
if ($response->success == true) {
|
||||||
|
$this->getDownload($response->data, root_path() . 'public/uploads/contract/' . $applyNo . '.pdf');
|
||||||
|
Db::name('shop_contract')->where('contract_no', $applyNo)->update(['contract_url' => '/uploads/contract/' . $applyNo . '.pdf']);
|
||||||
|
return $this->success('获取成功', ['url' => env('url.url_prefix') . '/uploads/contract/' . $applyNo . '.pdf']);
|
||||||
|
} else {
|
||||||
|
return $this->fail('获取失败');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* 保全后合同文件及证据包下载
|
||||||
|
*/
|
||||||
|
public function EvidenceDownload($param)
|
||||||
|
{
|
||||||
|
//初始化请求参数
|
||||||
|
$requestUtils = new RequestUtils($this->serviceUrl, $this->appkey, $this->appSecret);
|
||||||
|
|
||||||
|
$request = array(
|
||||||
|
"applyNo" => $param['applyNo'],
|
||||||
|
"fullName" => $param['fullName'],
|
||||||
|
"identityCard" => $param['identityCard'],
|
||||||
|
"identityType" => 12,
|
||||||
|
"dealType" => 1,
|
||||||
|
);
|
||||||
|
$response = $requestUtils->doPost("/v2/sign/presLinkFile", $request);
|
||||||
|
if ($response->success == true) {
|
||||||
|
$this->getDownload($response->data, root_path() . 'public/uploads/evidence/' . $param['applyNo'] . '.zip');
|
||||||
|
Db::name('contract')->where('contract_no', $param['applyNo'])->update(['evidence_url' => '/uploads/evidence/' . $param['applyNo'] . '.zip']);
|
||||||
|
return $this->success('获取成功', ['url' => env('url.url_prefix') . '/uploads/evidence/' . $param['applyNo'] . '.zip']);
|
||||||
|
} else {
|
||||||
|
return $this->fail('获取失败');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 保全后合同文件及证据包下载
|
||||||
|
*/
|
||||||
|
public function EvidenceShopDownload($param)
|
||||||
|
{
|
||||||
|
//初始化请求参数
|
||||||
|
$requestUtils = new RequestUtils($this->serviceUrl, $this->appkey, $this->appSecret);
|
||||||
|
|
||||||
|
$request = array(
|
||||||
|
"applyNo" => $param['applyNo'],
|
||||||
|
"fullName" => $param['fullName'],
|
||||||
|
"identityCard" => $param['identityCard'],
|
||||||
|
"identityType" => 12,
|
||||||
|
"dealType" => 1,
|
||||||
|
);
|
||||||
|
$response = $requestUtils->doPost("/v2/sign/presLinkFile", $request);
|
||||||
|
if ($response->success == true) {
|
||||||
|
$this->getDownload($response->data, root_path() . 'public/uploads/evidence_shop_contract/' . $param['applyNo'] . '.zip');
|
||||||
|
Db::name('shop_contract')->where('contract_no', $param['applyNo'])->update(['evidence_url' => '/uploads/evidence_shop_contract/' . $param['applyNo'] . '.zip']);
|
||||||
|
return $this->success('获取成功', ['url' => env('url.url_prefix') . '/uploads/evidence_shop_contract/' . $param['applyNo'] . '.zip']);
|
||||||
|
} else {
|
||||||
|
return $this->fail('获取失败');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public function getDownload($url, $publicDir = '', $fileName = '', $type = 0)
|
||||||
|
{
|
||||||
|
|
||||||
|
//获取文件路径
|
||||||
|
$newOneDir = substr($publicDir, 0, strrpos($publicDir, "/"));
|
||||||
|
if (trim($url) == '') {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
//检验访问url是否有效
|
||||||
|
$array = get_headers($url, 1);
|
||||||
|
if (!preg_match('/200/', $array[0])) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
if (trim($publicDir) == '') {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
//创建保存目录
|
||||||
|
if (!file_exists($newOneDir) && !mkdir($newOneDir, 0777, true)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
//获取远程文件所采用的方法
|
||||||
|
if ($type) {
|
||||||
|
$ch = curl_init();
|
||||||
|
$timeout = 5;
|
||||||
|
curl_setopt($ch, CURLOPT_URL, $url);
|
||||||
|
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
|
||||||
|
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $timeout);
|
||||||
|
$content = curl_exec($ch);
|
||||||
|
curl_close($ch);
|
||||||
|
} else {
|
||||||
|
ob_start();
|
||||||
|
readfile($url);
|
||||||
|
$content = ob_get_contents();
|
||||||
|
ob_end_clean();
|
||||||
|
}
|
||||||
|
$size = strlen($content);
|
||||||
|
//文件大小
|
||||||
|
$fp2 = @fopen($publicDir, 'a');
|
||||||
|
fwrite($fp2, $content);
|
||||||
|
fclose($fp2);
|
||||||
|
unset($content, $url);
|
||||||
|
}
|
||||||
|
}
|
|
@ -36,6 +36,12 @@ class NoticeEnum
|
||||||
const BIND_MOBILE_CAPTCHA = 102;
|
const BIND_MOBILE_CAPTCHA = 102;
|
||||||
const CHANGE_MOBILE_CAPTCHA = 103;
|
const CHANGE_MOBILE_CAPTCHA = 103;
|
||||||
const FIND_LOGIN_PASSWORD_CAPTCHA = 104;
|
const FIND_LOGIN_PASSWORD_CAPTCHA = 104;
|
||||||
|
const REGISTER_CAPTCHA = 105;
|
||||||
|
|
||||||
|
const WQ = 106;
|
||||||
|
const FCHT = 107;
|
||||||
|
const WQTZ = 108;
|
||||||
|
const FACE_CREATE = 109;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -46,6 +52,7 @@ class NoticeEnum
|
||||||
self::BIND_MOBILE_CAPTCHA,
|
self::BIND_MOBILE_CAPTCHA,
|
||||||
self::CHANGE_MOBILE_CAPTCHA,
|
self::CHANGE_MOBILE_CAPTCHA,
|
||||||
self::FIND_LOGIN_PASSWORD_CAPTCHA,
|
self::FIND_LOGIN_PASSWORD_CAPTCHA,
|
||||||
|
self::REGISTER_CAPTCHA,
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
|
@ -89,6 +96,11 @@ class NoticeEnum
|
||||||
self::BIND_MOBILE_CAPTCHA => '绑定手机验证码',
|
self::BIND_MOBILE_CAPTCHA => '绑定手机验证码',
|
||||||
self::CHANGE_MOBILE_CAPTCHA => '变更手机验证码',
|
self::CHANGE_MOBILE_CAPTCHA => '变更手机验证码',
|
||||||
self::FIND_LOGIN_PASSWORD_CAPTCHA => '找回登录密码验证码',
|
self::FIND_LOGIN_PASSWORD_CAPTCHA => '找回登录密码验证码',
|
||||||
|
self::REGISTER_CAPTCHA => '注册验证码',
|
||||||
|
self::WQ => '网签短信',
|
||||||
|
self::FCHT => '废除合同',
|
||||||
|
self::WQTZ => '网签通知',
|
||||||
|
self::FACE_CREATE => '人脸识别上传通知',
|
||||||
];
|
];
|
||||||
|
|
||||||
if ($flag) {
|
if ($flag) {
|
||||||
|
@ -117,6 +129,16 @@ class NoticeEnum
|
||||||
'BGSJHM' => self::CHANGE_MOBILE_CAPTCHA,
|
'BGSJHM' => self::CHANGE_MOBILE_CAPTCHA,
|
||||||
// 找回登录密码
|
// 找回登录密码
|
||||||
'ZHDLMM' => self::FIND_LOGIN_PASSWORD_CAPTCHA,
|
'ZHDLMM' => self::FIND_LOGIN_PASSWORD_CAPTCHA,
|
||||||
|
//注册
|
||||||
|
'YZMZC' => self::REGISTER_CAPTCHA,
|
||||||
|
//网签
|
||||||
|
'WQ'=>self::WQ,
|
||||||
|
//废除合同
|
||||||
|
'FCHT'=>self::FCHT,
|
||||||
|
//网签通知
|
||||||
|
'WQTZ'=>self::WQTZ,
|
||||||
|
//人脸识别
|
||||||
|
'FACE_CREATE'=>self::FACE_CREATE,
|
||||||
];
|
];
|
||||||
return $scene[$tag] ?? '';
|
return $scene[$tag] ?? '';
|
||||||
}
|
}
|
||||||
|
@ -137,6 +159,7 @@ class NoticeEnum
|
||||||
self::BIND_MOBILE_CAPTCHA => '验证码:code',
|
self::BIND_MOBILE_CAPTCHA => '验证码:code',
|
||||||
self::CHANGE_MOBILE_CAPTCHA => '验证码:code',
|
self::CHANGE_MOBILE_CAPTCHA => '验证码:code',
|
||||||
self::FIND_LOGIN_PASSWORD_CAPTCHA => '验证码:code',
|
self::FIND_LOGIN_PASSWORD_CAPTCHA => '验证码:code',
|
||||||
|
self::REGISTER_CAPTCHA => '验证码:code',
|
||||||
];
|
];
|
||||||
|
|
||||||
if ($flag) {
|
if ($flag) {
|
||||||
|
@ -182,6 +205,7 @@ class NoticeEnum
|
||||||
self::BIND_MOBILE_CAPTCHA => '您正在绑定手机号,验证码${code},切勿将验证码泄露于他人,本条验证码有效期5分钟。',
|
self::BIND_MOBILE_CAPTCHA => '您正在绑定手机号,验证码${code},切勿将验证码泄露于他人,本条验证码有效期5分钟。',
|
||||||
self::CHANGE_MOBILE_CAPTCHA => '您正在变更手机号,验证码${code},切勿将验证码泄露于他人,本条验证码有效期5分钟。',
|
self::CHANGE_MOBILE_CAPTCHA => '您正在变更手机号,验证码${code},切勿将验证码泄露于他人,本条验证码有效期5分钟。',
|
||||||
self::FIND_LOGIN_PASSWORD_CAPTCHA => '您正在找回登录密码,验证码${code},切勿将验证码泄露于他人,本条验证码有效期5分钟。',
|
self::FIND_LOGIN_PASSWORD_CAPTCHA => '您正在找回登录密码,验证码${code},切勿将验证码泄露于他人,本条验证码有效期5分钟。',
|
||||||
|
self::REGISTER_CAPTCHA => '您正在注册账号,验证码${code},切勿将验证码泄露于他人,本条验证码有效期5分钟。',
|
||||||
];
|
];
|
||||||
|
|
||||||
if ($flag) {
|
if ($flag) {
|
||||||
|
|
|
@ -37,7 +37,7 @@ class LikeAdminAllowMiddleware
|
||||||
public function handle($request, Closure $next, ?array $header = [])
|
public function handle($request, Closure $next, ?array $header = [])
|
||||||
{
|
{
|
||||||
header('Access-Control-Allow-Origin: *');
|
header('Access-Control-Allow-Origin: *');
|
||||||
header("Access-Control-Allow-Headers: Authorization, Sec-Fetch-Mode, DNT, X-Mx-ReqToken, Keep-Alive, User-Agent, If-Match, If-None-Match, If-Unmodified-Since, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Accept-Language, Origin, Accept-Encoding,Access-Token,token,version");
|
header("Access-Control-Allow-Headers: *");
|
||||||
header('Access-Control-Allow-Methods: GET, POST, PATCH, PUT, DELETE, post');
|
header('Access-Control-Allow-Methods: GET, POST, PATCH, PUT, DELETE, post');
|
||||||
header('Access-Control-Max-Age: 1728000');
|
header('Access-Control-Max-Age: 1728000');
|
||||||
header('Access-Control-Allow-Credentials:true');
|
header('Access-Control-Allow-Credentials:true');
|
||||||
|
|
|
@ -0,0 +1,68 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace app\common\model\company;
|
||||||
|
|
||||||
|
use app\common\model\BaseModel;
|
||||||
|
use app\common\model\contract\Contract;
|
||||||
|
use app\common\model\dict\DictData;
|
||||||
|
use think\facade\Db;
|
||||||
|
use think\model\concern\SoftDelete;
|
||||||
|
|
||||||
|
class Company extends BaseModel
|
||||||
|
{
|
||||||
|
use SoftDelete;
|
||||||
|
|
||||||
|
protected $connection = 'mysql2';
|
||||||
|
protected $name = 'la_company';
|
||||||
|
|
||||||
|
protected $deleteTime = 'delete_time';
|
||||||
|
|
||||||
|
public function getCompanyTypeNameAttr($value)
|
||||||
|
{
|
||||||
|
return DictData::where('id', $value)->value('name');
|
||||||
|
}
|
||||||
|
|
||||||
|
public function getProvinceNameAttr($value)
|
||||||
|
{
|
||||||
|
return Db::name('geo_province')->where(['province_code' => $this->province])->value('province_name');
|
||||||
|
}
|
||||||
|
|
||||||
|
public function getCityNameAttr($value)
|
||||||
|
{
|
||||||
|
return Db::name('geo_city')->where(['city_code' => $this->city])->value('city_name');
|
||||||
|
}
|
||||||
|
|
||||||
|
public function getAreaNameAttr($value)
|
||||||
|
{
|
||||||
|
return Db::name('geo_area')->where(['area_code' => $this->area])->value('area_name');
|
||||||
|
}
|
||||||
|
|
||||||
|
public function getStreetNameAttr($value)
|
||||||
|
{
|
||||||
|
return Db::name('geo_street')->where(['street_code' => $this->street])->value('street_name');
|
||||||
|
}
|
||||||
|
|
||||||
|
public function getVillageNameAttr($value)
|
||||||
|
{
|
||||||
|
return Db::name('geo_village')->where(['village_code' => $this->village])->value('village_name');
|
||||||
|
}
|
||||||
|
|
||||||
|
public function getBrigadeNameAttr($value)
|
||||||
|
{
|
||||||
|
return Db::name('geo_brigade')->where(['id' => $this->brigade])->value('brigade_name');
|
||||||
|
}
|
||||||
|
public function getAreaManagerNameAttr($value)
|
||||||
|
{
|
||||||
|
return Db::name('admin')->where(['id' => $this->area_manager])->value('name');
|
||||||
|
}
|
||||||
|
|
||||||
|
public function getContractAttr()
|
||||||
|
{
|
||||||
|
$find=Contract::where('party_a|party_b', $this->id)->field('check_status,status')->find();
|
||||||
|
if($find){
|
||||||
|
return $find->toArray();
|
||||||
|
}else{
|
||||||
|
return [];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,11 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace app\common\model\contract;
|
||||||
|
|
||||||
|
use app\common\model\BaseModel;
|
||||||
|
|
||||||
|
class Contract extends BaseModel
|
||||||
|
{
|
||||||
|
protected $connection = 'mysql2';
|
||||||
|
protected $name = 'la_contract';
|
||||||
|
}
|
|
@ -0,0 +1,11 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace app\common\model\contract;
|
||||||
|
|
||||||
|
use app\common\model\BaseModel;
|
||||||
|
|
||||||
|
class VehicleContract extends BaseModel
|
||||||
|
{
|
||||||
|
protected $connection = 'mysql2';
|
||||||
|
protected $name = 'la_vehicle_contract';
|
||||||
|
}
|
|
@ -0,0 +1,11 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace app\common\model\vehicle;
|
||||||
|
|
||||||
|
use app\common\model\BaseModel;
|
||||||
|
|
||||||
|
class VehicleBuyRecord extends BaseModel
|
||||||
|
{
|
||||||
|
protected $connection = 'mysql2';
|
||||||
|
protected $name = 'la_vehicle_buy_record';
|
||||||
|
}
|
|
@ -0,0 +1,11 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace app\common\model\vehicle;
|
||||||
|
|
||||||
|
use app\common\model\BaseModel;
|
||||||
|
|
||||||
|
class VehicleRent extends BaseModel
|
||||||
|
{
|
||||||
|
protected $connection = 'mysql2';
|
||||||
|
protected $name = 'la_vehicle_rent';
|
||||||
|
}
|
|
@ -24,17 +24,18 @@ use Exception;
|
||||||
class UploadService
|
class UploadService
|
||||||
{
|
{
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @notes 上传图片
|
* @notes 上传图片
|
||||||
* @param $cid
|
* @param $cid
|
||||||
* @param int $user_id
|
* @param int $sourceId
|
||||||
* @param string $saveDir
|
* @param int $source
|
||||||
* @return array
|
* @param string $saveDir
|
||||||
* @throws Exception
|
* @return array
|
||||||
* @author 段誉
|
* @throws Exception
|
||||||
* @date 2021/12/29 16:30
|
* @author 段誉
|
||||||
*/
|
* @date 2021/12/29 16:30
|
||||||
public static function image($cid, int $sourceId = 0, int $source = FileEnum::SOURCE_ADMIN, string $saveDir = 'uploads/images')
|
*/
|
||||||
|
public static function image($cid, int $sourceId = 0, int $source = FileEnum::SOURCE_ADMIN, string $saveDir = 'uploads/images'): array
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
$config = [
|
$config = [
|
||||||
|
@ -93,17 +94,18 @@ class UploadService
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @notes 视频上传
|
* @notes 视频上传
|
||||||
* @param $cid
|
* @param $cid
|
||||||
* @param int $user_id
|
* @param int $sourceId
|
||||||
* @param string $saveDir
|
* @param int $source
|
||||||
* @return array
|
* @param string $saveDir
|
||||||
* @throws Exception
|
* @return array
|
||||||
* @author 段誉
|
* @throws Exception
|
||||||
* @date 2021/12/29 16:32
|
* @author 段誉
|
||||||
*/
|
* @date 2021/12/29 16:32
|
||||||
public static function video($cid, int $sourceId = 0, int $source = FileEnum::SOURCE_ADMIN, string $saveDir = 'uploads/video')
|
*/
|
||||||
|
public static function video($cid, int $sourceId = 0, int $source = FileEnum::SOURCE_ADMIN, string $saveDir = 'uploads/video'): array
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
$config = [
|
$config = [
|
||||||
|
@ -161,4 +163,73 @@ class UploadService
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @notes 上传文件
|
||||||
|
* @param $cid
|
||||||
|
* @param int $sourceId
|
||||||
|
* @param int $source
|
||||||
|
* @param string $saveDir
|
||||||
|
* @return array
|
||||||
|
* @throws Exception
|
||||||
|
* @author 段誉
|
||||||
|
* @date 2021/12/29 16:30
|
||||||
|
*/
|
||||||
|
public static function file($cid, int $sourceId = 0, int $source = FileEnum::SOURCE_ADMIN, string $saveDir = 'uploads/files'): array
|
||||||
|
{
|
||||||
|
try {
|
||||||
|
$config = [
|
||||||
|
'default' => ConfigService::get('storage', 'default', 'local'),
|
||||||
|
'engine' => ConfigService::get('storage') ?? ['local' => []],
|
||||||
|
];
|
||||||
|
|
||||||
|
// 2、执行文件上传
|
||||||
|
$StorageDriver = new StorageDriver($config);
|
||||||
|
$StorageDriver->setUploadFile('file');
|
||||||
|
$fileName = $StorageDriver->getFileName();
|
||||||
|
$fileInfo = $StorageDriver->getFileInfo();
|
||||||
|
|
||||||
|
// 校验上传文件后缀
|
||||||
|
if (!in_array(strtolower($fileInfo['ext']), config('project.file_file'))) {
|
||||||
|
throw new Exception("上传文件不允许上传" . $fileInfo['ext'] . "文件");
|
||||||
|
}
|
||||||
|
|
||||||
|
// 上传文件
|
||||||
|
$saveDir = $saveDir . '/' . date('Ymd');
|
||||||
|
if (!$StorageDriver->upload($saveDir)) {
|
||||||
|
throw new Exception($StorageDriver->getError());
|
||||||
|
}
|
||||||
|
|
||||||
|
// 3、处理文件名称
|
||||||
|
if (strlen($fileInfo['name']) > 128) {
|
||||||
|
$name = substr($fileInfo['name'], 0, 123);
|
||||||
|
$nameEnd = substr($fileInfo['name'], strlen($fileInfo['name']) - 5, strlen($fileInfo['name']));
|
||||||
|
$fileInfo['name'] = $name . $nameEnd;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 4、写入数据库中
|
||||||
|
$file = File::create([
|
||||||
|
'cid' => $cid,
|
||||||
|
'type' => FileEnum::FILE_TYPE,
|
||||||
|
'name' => $fileInfo['name'],
|
||||||
|
'uri' => $saveDir . '/' . str_replace("\\", "/", $fileName),
|
||||||
|
'source' => $source,
|
||||||
|
'source_id' => $sourceId,
|
||||||
|
'create_time' => time(),
|
||||||
|
]);
|
||||||
|
|
||||||
|
// 5、返回结果
|
||||||
|
return [
|
||||||
|
'id' => $file['id'],
|
||||||
|
'cid' => $file['cid'],
|
||||||
|
'type' => $file['type'],
|
||||||
|
'name' => $file['name'],
|
||||||
|
'uri' => FileService::getFileUrl($file['uri']),
|
||||||
|
'url' => $file['uri']
|
||||||
|
];
|
||||||
|
|
||||||
|
} catch (Exception $e) {
|
||||||
|
throw new Exception($e->getMessage());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
|
@ -42,7 +42,7 @@ abstract class Server
|
||||||
}
|
}
|
||||||
|
|
||||||
// 校验上传文件后缀
|
// 校验上传文件后缀
|
||||||
$limit = array_merge(config('project.file_image'), config('project.file_video'));
|
$limit = array_merge(config('project.file_image'), config('project.file_video'), config('project.file_file'));
|
||||||
if (!in_array(strtolower($this->file->extension()), $limit)) {
|
if (!in_array(strtolower($this->file->extension()), $limit)) {
|
||||||
throw new Exception('不允许上传' . $this->file->extension() . '后缀文件');
|
throw new Exception('不允许上传' . $this->file->extension() . '后缀文件');
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
<?php
|
<?php
|
||||||
namespace app\common\validate\login;
|
namespace app\common\validate\login;
|
||||||
|
|
||||||
|
use app\common\enum\notice\NoticeEnum;
|
||||||
|
use app\common\service\sms\SmsDriver;
|
||||||
use app\common\validate\BaseValidate;
|
use app\common\validate\BaseValidate;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -18,8 +20,8 @@ class RegisterValidate extends BaseValidate
|
||||||
|
|
||||||
protected $rule = [
|
protected $rule = [
|
||||||
'phone' => 'require|mobile|unique:user',
|
'phone' => 'require|mobile|unique:user',
|
||||||
|
'code' => 'require|checkCode',
|
||||||
'password' => 'require|length:6,20',
|
'password' => 'require|length:6,20',
|
||||||
'password_confirm' => 'require|confirm',
|
|
||||||
'age' => 'number|gt:0',
|
'age' => 'number|gt:0',
|
||||||
'gender' => 'in:0,1,2',
|
'gender' => 'in:0,1,2',
|
||||||
'real_name' => 'chs|length:2,25',
|
'real_name' => 'chs|length:2,25',
|
||||||
|
@ -36,10 +38,9 @@ class RegisterValidate extends BaseValidate
|
||||||
'phone.require' => '请输入手机号码',
|
'phone.require' => '请输入手机号码',
|
||||||
'phone.mobile' => '请输入正确的手机号码',
|
'phone.mobile' => '请输入正确的手机号码',
|
||||||
'phone.unique' => '该手机号码已注册',
|
'phone.unique' => '该手机号码已注册',
|
||||||
|
'code.require' => '请输入验证码',
|
||||||
'password.require' => '请输入密码',
|
'password.require' => '请输入密码',
|
||||||
'password.length' => '密码须在6-25位之间',
|
'password.length' => '密码须在6-25位之间',
|
||||||
'password_confirm.require' => '请输入确认密码',
|
|
||||||
'password_confirm.confirm' => '两次输入的密码不一致',
|
|
||||||
'age.number' => '年龄必须是数字',
|
'age.number' => '年龄必须是数字',
|
||||||
'age.gt' => '年龄必须大于0',
|
'age.gt' => '年龄必须大于0',
|
||||||
'gender.in' => '用户性别值错误',
|
'gender.in' => '用户性别值错误',
|
||||||
|
@ -54,5 +55,15 @@ class RegisterValidate extends BaseValidate
|
||||||
'brigade.number' => '小组编码值错误',
|
'brigade.number' => '小组编码值错误',
|
||||||
];
|
];
|
||||||
|
|
||||||
|
public function checkCode($code, $rule, $data): bool|string
|
||||||
|
{
|
||||||
|
$smsDriver = new SmsDriver();
|
||||||
|
$result = $smsDriver->verify($data['phone'], $code, NoticeEnum::REGISTER_CAPTCHA);
|
||||||
|
if ($result) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
return '验证码错误';
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
|
@ -33,7 +33,8 @@
|
||||||
"tencentcloud/tencentcloud-sdk-php": "^3.0",
|
"tencentcloud/tencentcloud-sdk-php": "^3.0",
|
||||||
"alibabacloud/client": "^1.5",
|
"alibabacloud/client": "^1.5",
|
||||||
"rmccue/requests": "^2.0",
|
"rmccue/requests": "^2.0",
|
||||||
"w7corp/easywechat": "^6.8"
|
"w7corp/easywechat": "^6.8",
|
||||||
|
"ext-curl": "*"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"symfony/var-dumper": "^4.2",
|
"symfony/var-dumper": "^4.2",
|
||||||
|
|
|
@ -38,7 +38,7 @@ return [
|
||||||
// 数据库编码默认采用utf8
|
// 数据库编码默认采用utf8
|
||||||
'charset' => env('database.charset', 'utf8mb4'),
|
'charset' => env('database.charset', 'utf8mb4'),
|
||||||
// 数据库表前缀
|
// 数据库表前缀
|
||||||
'prefix' => env('database.prefix', 'la_'),
|
'prefix' => env('database.prefix', ''),
|
||||||
// 数据库部署方式:0 集中式(单一服务器),1 分布式(主从服务器)
|
// 数据库部署方式:0 集中式(单一服务器),1 分布式(主从服务器)
|
||||||
'deploy' => 0,
|
'deploy' => 0,
|
||||||
// 数据库读写是否分离 主从式有效
|
// 数据库读写是否分离 主从式有效
|
||||||
|
@ -75,7 +75,7 @@ return [
|
||||||
// 数据库编码默认采用utf8
|
// 数据库编码默认采用utf8
|
||||||
'charset' => env('database1.charset', 'utf8mb4'),
|
'charset' => env('database1.charset', 'utf8mb4'),
|
||||||
// 数据库表前缀
|
// 数据库表前缀
|
||||||
'prefix' => env('database1.prefix', 'la_'),
|
'prefix' => env('database1.prefix', ''),
|
||||||
// 数据库部署方式:0 集中式(单一服务器),1 分布式(主从服务器)
|
// 数据库部署方式:0 集中式(单一服务器),1 分布式(主从服务器)
|
||||||
'deploy' => 0,
|
'deploy' => 0,
|
||||||
// 数据库读写是否分离 主从式有效
|
// 数据库读写是否分离 主从式有效
|
||||||
|
@ -111,7 +111,7 @@ return [
|
||||||
// 数据库编码默认采用utf8
|
// 数据库编码默认采用utf8
|
||||||
'charset' => env('database2.charset', 'utf8mb4'),
|
'charset' => env('database2.charset', 'utf8mb4'),
|
||||||
// 数据库表前缀
|
// 数据库表前缀
|
||||||
'prefix' => env('database2.prefix', 'la_'),
|
'prefix' => env('database2.prefix', ''),
|
||||||
// 数据库部署方式:0 集中式(单一服务器),1 分布式(主从服务器)
|
// 数据库部署方式:0 集中式(单一服务器),1 分布式(主从服务器)
|
||||||
'deploy' => 0,
|
'deploy' => 0,
|
||||||
// 数据库读写是否分离 主从式有效
|
// 数据库读写是否分离 主从式有效
|
||||||
|
@ -147,7 +147,7 @@ return [
|
||||||
// 数据库编码默认采用utf8
|
// 数据库编码默认采用utf8
|
||||||
'charset' => env('database3.charset', 'utf8mb4'),
|
'charset' => env('database3.charset', 'utf8mb4'),
|
||||||
// 数据库表前缀
|
// 数据库表前缀
|
||||||
'prefix' => env('database3.prefix', 'la_'),
|
'prefix' => env('database3.prefix', ''),
|
||||||
// 数据库部署方式:0 集中式(单一服务器),1 分布式(主从服务器)
|
// 数据库部署方式:0 集中式(单一服务器),1 分布式(主从服务器)
|
||||||
'deploy' => 0,
|
'deploy' => 0,
|
||||||
// 数据库读写是否分离 主从式有效
|
// 数据库读写是否分离 主从式有效
|
||||||
|
|
|
@ -74,6 +74,11 @@ return [
|
||||||
'wmv', 'avi', 'mpg', 'mpeg', '3gp', 'mov', 'mp4', 'flv', 'f4v', 'rmvb', 'mkv'
|
'wmv', 'avi', 'mpg', 'mpeg', '3gp', 'mov', 'mp4', 'flv', 'f4v', 'rmvb', 'mkv'
|
||||||
],
|
],
|
||||||
|
|
||||||
|
// 文件上传限制 (文件)
|
||||||
|
'file_file' => [
|
||||||
|
'doc', 'docx', 'xls', 'xlsx', 'ppt', 'pptx', 'pdf', 'txt','apk','ipa','wgt'
|
||||||
|
],
|
||||||
|
|
||||||
// 登录设置
|
// 登录设置
|
||||||
'login' => [
|
'login' => [
|
||||||
// 登录方式:1-账号密码登录;2-手机短信验证码登录
|
// 登录方式:1-账号密码登录;2-手机短信验证码登录
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
import o from"./error.d77f8314.js";import{d as r,o as i,c as p,U as m,L as e,a as t}from"./@vue.e8706010.js";import"./element-plus.54aed4cc.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./vue-router.12d45bc3.js";import"./index.17a19250.js";import"./lodash.c4b79a6f.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";const s="/admin/assets/no_perms.a56e95a5.png",a={class:"error404"},u=t("div",{class:"flex justify-center"},[t("img",{class:"w-[150px] h-[150px]",src:s,alt:""})],-1),T=r({__name:"403",setup(c){return(n,_)=>(i(),p("div",a,[m(o,{code:"403",title:"\u60A8\u7684\u8D26\u53F7\u6743\u9650\u4E0D\u8DB3\uFF0C\u8BF7\u8054\u7CFB\u7BA1\u7406\u5458\u6DFB\u52A0\u6743\u9650\uFF01","show-btn":!1},{content:e(()=>[u]),_:1})]))}});export{T as default};
|
import o from"./error.0f0e723e.js";import{d as r,o as i,c as p,U as m,L as e,a as t}from"./@vue.e8706010.js";import"./element-plus.54aed4cc.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./vue-router.12d45bc3.js";import"./index.58a5fcc1.js";import"./lodash.c4b79a6f.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";const s="/admin/assets/no_perms.a56e95a5.png",a={class:"error404"},u=t("div",{class:"flex justify-center"},[t("img",{class:"w-[150px] h-[150px]",src:s,alt:""})],-1),T=r({__name:"403",setup(c){return(n,_)=>(i(),p("div",a,[m(o,{code:"403",title:"\u60A8\u7684\u8D26\u53F7\u6743\u9650\u4E0D\u8DB3\uFF0C\u8BF7\u8054\u7CFB\u7BA1\u7406\u5458\u6DFB\u52A0\u6743\u9650\uFF01","show-btn":!1},{content:e(()=>[u]),_:1})]))}});export{T as default};
|
|
@ -1 +1 @@
|
||||||
import o from"./error.d77f8314.js";import{d as r,o as t,c as m,U as p}from"./@vue.e8706010.js";import"./element-plus.54aed4cc.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./vue-router.12d45bc3.js";import"./index.17a19250.js";import"./lodash.c4b79a6f.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";const i={class:"error404"},P=r({__name:"404",setup(e){return(u,c)=>(t(),m("div",i,[p(o,{code:"404",title:"\u54CE\u5440\uFF0C\u51FA\u9519\u4E86\uFF01\u60A8\u8BBF\u95EE\u7684\u9875\u9762\u4E0D\u5B58\u5728\u2026"})]))}});export{P as default};
|
import o from"./error.0f0e723e.js";import{d as r,o as t,c as m,U as p}from"./@vue.e8706010.js";import"./element-plus.54aed4cc.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./vue-router.12d45bc3.js";import"./index.58a5fcc1.js";import"./lodash.c4b79a6f.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";const i={class:"error404"},P=r({__name:"404",setup(e){return(u,c)=>(t(),m("div",i,[p(o,{code:"404",title:"\u54CE\u5440\uFF0C\u51FA\u9519\u4E86\uFF01\u60A8\u8BBF\u95EE\u7684\u9875\u9762\u4E0D\u5B58\u5728\u2026"})]))}});export{P as default};
|
|
@ -1 +1 @@
|
||||||
import"./account-adjust.vue_vue_type_script_setup_true_lang.3ab0da24.js";import{_ as M}from"./account-adjust.vue_vue_type_script_setup_true_lang.3ab0da24.js";import"./element-plus.54aed4cc.js";import"./@vue.e8706010.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./index.44544070.js";import"./index.17a19250.js";import"./lodash.c4b79a6f.js";import"./vue-router.12d45bc3.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";export{M as default};
|
import"./account-adjust.vue_vue_type_script_setup_true_lang.5820eec7.js";import{_ as M}from"./account-adjust.vue_vue_type_script_setup_true_lang.5820eec7.js";import"./element-plus.54aed4cc.js";import"./@vue.e8706010.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./index.a3400ab9.js";import"./index.58a5fcc1.js";import"./lodash.c4b79a6f.js";import"./vue-router.12d45bc3.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";export{M as default};
|
|
@ -1 +1 @@
|
||||||
import{C as k,G as x,H as B,B as R,D as g}from"./element-plus.54aed4cc.js";import{P as N}from"./index.44544070.js";import{f as F}from"./index.17a19250.js";import{d as q,s as C,$ as A,e as I,w as D,o as S,K as U,L as a,a as j,U as o,S as r,T as b,u as G}from"./@vue.e8706010.js";const P={class:"pr-8"},T=r("\u589E\u52A0\u4F59\u989D"),H=r("\u6263\u51CF\u4F59\u989D"),z=q({__name:"account-adjust",props:{show:{type:Boolean,required:!0},value:{type:[Number,String],required:!0}},emits:["update:show","confirm"],setup(d,{emit:p}){const i=d,n=C(),u=A({action:1,num:"",remark:""}),s=C(),c=I(()=>Number(i.value)+Number(u.num)*(u.action==1?1:-1)),E={num:[{required:!0,message:"\u8BF7\u8F93\u5165\u8C03\u6574\u7684\u91D1\u989D"}]},w=e=>{if(e.includes("-"))return F.msgError("\u8BF7\u8F93\u5165\u6B63\u6574\u6570");u.num=e},h=async()=>{var e;await((e=n.value)==null?void 0:e.validate()),p("confirm",u)},v=()=>{var e;p("update:show",!1),(e=n.value)==null||e.resetFields()};return D(()=>i.show,e=>{var l,t;e?(l=s.value)==null||l.open():(t=s.value)==null||t.close()}),D(c,e=>{e<0&&(F.msgError("\u8C03\u6574\u540E\u4F59\u989D\u9700\u5927\u4E8E0"),u.num="")}),(e,l)=>{const t=k,f=x,y=B,_=R,V=g;return S(),U(N,{ref_key:"popupRef",ref:s,title:"\u4F59\u989D\u8C03\u6574",width:"500px",onConfirm:h,async:!0,onClose:v},{default:a(()=>[j("div",P,[o(V,{ref_key:"formRef",ref:n,model:u,"label-width":"120px",rules:E},{default:a(()=>[o(t,{label:"\u5F53\u524D\u4F59\u989D"},{default:a(()=>[r("\xA5 "+b(d.value),1)]),_:1}),o(t,{label:"\u4F59\u989D\u589E\u51CF",required:"",prop:"action"},{default:a(()=>[o(y,{modelValue:u.action,"onUpdate:modelValue":l[0]||(l[0]=m=>u.action=m)},{default:a(()=>[o(f,{label:1},{default:a(()=>[T]),_:1}),o(f,{label:2},{default:a(()=>[H]),_:1})]),_:1},8,["modelValue"])]),_:1}),o(t,{label:"\u8C03\u6574\u4F59\u989D",prop:"num"},{default:a(()=>[o(_,{"model-value":u.num,placeholder:"\u8BF7\u8F93\u5165\u8C03\u6574\u7684\u91D1\u989D",type:"number",onInput:w},null,8,["model-value"])]),_:1}),o(t,{label:"\u8C03\u6574\u540E\u4F59\u989D"},{default:a(()=>[r(" \xA5 "+b(G(c)),1)]),_:1}),o(t,{label:"\u5907\u6CE8",prop:"remark"},{default:a(()=>[o(_,{modelValue:u.remark,"onUpdate:modelValue":l[1]||(l[1]=m=>u.remark=m),type:"textarea",rows:4},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])])]),_:1},512)}}});export{z as _};
|
import{C as k,G as x,H as B,B as R,D as g}from"./element-plus.54aed4cc.js";import{P as N}from"./index.a3400ab9.js";import{f as F}from"./index.58a5fcc1.js";import{d as q,s as C,$ as A,e as I,w as D,o as S,K as U,L as a,a as j,U as o,S as r,T as b,u as G}from"./@vue.e8706010.js";const P={class:"pr-8"},T=r("\u589E\u52A0\u4F59\u989D"),H=r("\u6263\u51CF\u4F59\u989D"),z=q({__name:"account-adjust",props:{show:{type:Boolean,required:!0},value:{type:[Number,String],required:!0}},emits:["update:show","confirm"],setup(d,{emit:p}){const i=d,n=C(),u=A({action:1,num:"",remark:""}),s=C(),c=I(()=>Number(i.value)+Number(u.num)*(u.action==1?1:-1)),E={num:[{required:!0,message:"\u8BF7\u8F93\u5165\u8C03\u6574\u7684\u91D1\u989D"}]},w=e=>{if(e.includes("-"))return F.msgError("\u8BF7\u8F93\u5165\u6B63\u6574\u6570");u.num=e},h=async()=>{var e;await((e=n.value)==null?void 0:e.validate()),p("confirm",u)},v=()=>{var e;p("update:show",!1),(e=n.value)==null||e.resetFields()};return D(()=>i.show,e=>{var l,t;e?(l=s.value)==null||l.open():(t=s.value)==null||t.close()}),D(c,e=>{e<0&&(F.msgError("\u8C03\u6574\u540E\u4F59\u989D\u9700\u5927\u4E8E0"),u.num="")}),(e,l)=>{const t=k,f=x,y=B,_=R,V=g;return S(),U(N,{ref_key:"popupRef",ref:s,title:"\u4F59\u989D\u8C03\u6574",width:"500px",onConfirm:h,async:!0,onClose:v},{default:a(()=>[j("div",P,[o(V,{ref_key:"formRef",ref:n,model:u,"label-width":"120px",rules:E},{default:a(()=>[o(t,{label:"\u5F53\u524D\u4F59\u989D"},{default:a(()=>[r("\xA5 "+b(d.value),1)]),_:1}),o(t,{label:"\u4F59\u989D\u589E\u51CF",required:"",prop:"action"},{default:a(()=>[o(y,{modelValue:u.action,"onUpdate:modelValue":l[0]||(l[0]=m=>u.action=m)},{default:a(()=>[o(f,{label:1},{default:a(()=>[T]),_:1}),o(f,{label:2},{default:a(()=>[H]),_:1})]),_:1},8,["modelValue"])]),_:1}),o(t,{label:"\u8C03\u6574\u4F59\u989D",prop:"num"},{default:a(()=>[o(_,{"model-value":u.num,placeholder:"\u8BF7\u8F93\u5165\u8C03\u6574\u7684\u91D1\u989D",type:"number",onInput:w},null,8,["model-value"])]),_:1}),o(t,{label:"\u8C03\u6574\u540E\u4F59\u989D"},{default:a(()=>[r(" \xA5 "+b(G(c)),1)]),_:1}),o(t,{label:"\u5907\u6CE8",prop:"remark"},{default:a(()=>[o(_,{modelValue:u.remark,"onUpdate:modelValue":l[1]||(l[1]=m=>u.remark=m),type:"textarea",rows:4},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])])]),_:1},512)}}});export{z as _};
|
|
@ -1 +1 @@
|
||||||
import"./add-nav.vue_vue_type_script_setup_true_lang.f0ec01dc.js";import{_ as Y}from"./add-nav.vue_vue_type_script_setup_true_lang.f0ec01dc.js";import"./element-plus.54aed4cc.js";import"./@vue.e8706010.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./index.f1492838.js";import"./index.17a19250.js";import"./lodash.c4b79a6f.js";import"./vue-router.12d45bc3.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";import"./picker.bab57db9.js";import"./index.44544070.js";import"./picker.bde52172.js";import"./index.f68bb2ca.js";import"./index.vue_vue_type_script_setup_true_lang.fccb4113.js";import"./index.fa484e75.js";import"./index.vue_vue_type_script_setup_true_lang.1d0c0a75.js";import"./usePaging.160b82b8.js";import"./vue3-video-play.4851e3ad.js";import"./vuedraggable.ec665ecc.js";import"./vue.c9c06f7a.js";import"./sortablejs.6297fc7b.js";export{Y as default};
|
import"./add-nav.vue_vue_type_script_setup_true_lang.887178f9.js";import{_ as Y}from"./add-nav.vue_vue_type_script_setup_true_lang.887178f9.js";import"./element-plus.54aed4cc.js";import"./@vue.e8706010.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./index.b80822d5.js";import"./index.58a5fcc1.js";import"./lodash.c4b79a6f.js";import"./vue-router.12d45bc3.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";import"./picker.dc392822.js";import"./index.a3400ab9.js";import"./picker.2ed9d59e.js";import"./index.c2eeeafa.js";import"./index.vue_vue_type_script_setup_true_lang.fccb4113.js";import"./index.346f714b.js";import"./index.vue_vue_type_script_setup_true_lang.1d0c0a75.js";import"./usePaging.160b82b8.js";import"./vue3-video-play.4851e3ad.js";import"./vuedraggable.ec665ecc.js";import"./vue.c9c06f7a.js";import"./sortablejs.6297fc7b.js";export{Y as default};
|
|
@ -1 +1 @@
|
||||||
import{B,w as D}from"./element-plus.54aed4cc.js";import{_ as F}from"./index.f1492838.js";import{_ as A}from"./picker.bab57db9.js";import{_ as y}from"./picker.bde52172.js";import{f as p,b as E}from"./index.17a19250.js";import{D as U}from"./vuedraggable.ec665ecc.js";import{d as C,e as w,o as c,c as N,a as e,U as t,L as m,K as $,u as r,k as z,S as L}from"./@vue.e8706010.js";const I={class:"bg-fill-light flex items-center w-full p-4 mb-4 cursor-move"},K={class:"upload-btn w-[60px] h-[60px]"},P={class:"ml-3 flex-1"},R={class:"flex"},S=e("span",{class:"text-tx-regular flex-none mr-3"},"\u540D\u79F0",-1),T={class:"flex mt-[18px]"},j=e("span",{class:"text-tx-regular flex-none mr-3"},"\u94FE\u63A5",-1),q=L("\u6DFB\u52A0"),X=C({__name:"add-nav",props:{modelValue:{type:Array,default:()=>[]},max:{type:Number,default:10},min:{type:Number,default:1}},emits:["update:modelValue"],setup(_,{emit:i}){const o=_,s=w({get(){return o.modelValue},set(a){i("update:modelValue",a)}}),f=()=>{var a;((a=o.modelValue)==null?void 0:a.length)<o.max?s.value.push({image:"",name:"\u5BFC\u822A\u540D\u79F0",link:{}}):p.msgError(`\u6700\u591A\u6DFB\u52A0${o.max}\u4E2A`)},V=a=>{var u;if(((u=o.modelValue)==null?void 0:u.length)<=o.min)return p.msgError(`\u6700\u5C11\u4FDD\u7559${o.min}\u4E2A`);s.value.splice(a,1)};return(a,u)=>{const x=E,g=y,h=B,v=A,k=F,b=D;return c(),N("div",null,[e("div",null,[t(r(U),{class:"draggable",modelValue:r(s),"onUpdate:modelValue":u[0]||(u[0]=l=>z(s)?s.value=l:null),animation:"300"},{item:m(({element:l,index:d})=>[(c(),$(k,{class:"max-w-[400px]",key:d,onClose:n=>V(d)},{default:m(()=>[e("div",I,[t(g,{modelValue:l.image,"onUpdate:modelValue":n=>l.image=n,"upload-class":"bg-body",size:"60px","exclude-domain":""},{upload:m(()=>[e("div",K,[t(x,{name:"el-icon-Plus",size:20})])]),_:2},1032,["modelValue","onUpdate:modelValue"]),e("div",P,[e("div",R,[S,t(h,{modelValue:l.name,"onUpdate:modelValue":n=>l.name=n,placeholder:"\u8BF7\u8F93\u5165\u540D\u79F0"},null,8,["modelValue","onUpdate:modelValue"])]),e("div",T,[j,t(v,{modelValue:l.link,"onUpdate:modelValue":n=>l.link=n},null,8,["modelValue","onUpdate:modelValue"])])])])]),_:2},1032,["onClose"]))]),_:1},8,["modelValue"])]),e("div",null,[t(b,{type:"primary",onClick:f},{default:m(()=>[q]),_:1})])])}}});export{X as _};
|
import{B,w as D}from"./element-plus.54aed4cc.js";import{_ as F}from"./index.b80822d5.js";import{_ as A}from"./picker.dc392822.js";import{_ as y}from"./picker.2ed9d59e.js";import{f as p,b as E}from"./index.58a5fcc1.js";import{D as U}from"./vuedraggable.ec665ecc.js";import{d as C,e as w,o as c,c as N,a as e,U as t,L as m,K as $,u as r,k as z,S as L}from"./@vue.e8706010.js";const I={class:"bg-fill-light flex items-center w-full p-4 mb-4 cursor-move"},K={class:"upload-btn w-[60px] h-[60px]"},P={class:"ml-3 flex-1"},R={class:"flex"},S=e("span",{class:"text-tx-regular flex-none mr-3"},"\u540D\u79F0",-1),T={class:"flex mt-[18px]"},j=e("span",{class:"text-tx-regular flex-none mr-3"},"\u94FE\u63A5",-1),q=L("\u6DFB\u52A0"),X=C({__name:"add-nav",props:{modelValue:{type:Array,default:()=>[]},max:{type:Number,default:10},min:{type:Number,default:1}},emits:["update:modelValue"],setup(_,{emit:i}){const o=_,s=w({get(){return o.modelValue},set(a){i("update:modelValue",a)}}),f=()=>{var a;((a=o.modelValue)==null?void 0:a.length)<o.max?s.value.push({image:"",name:"\u5BFC\u822A\u540D\u79F0",link:{}}):p.msgError(`\u6700\u591A\u6DFB\u52A0${o.max}\u4E2A`)},V=a=>{var u;if(((u=o.modelValue)==null?void 0:u.length)<=o.min)return p.msgError(`\u6700\u5C11\u4FDD\u7559${o.min}\u4E2A`);s.value.splice(a,1)};return(a,u)=>{const x=E,g=y,h=B,v=A,k=F,b=D;return c(),N("div",null,[e("div",null,[t(r(U),{class:"draggable",modelValue:r(s),"onUpdate:modelValue":u[0]||(u[0]=l=>z(s)?s.value=l:null),animation:"300"},{item:m(({element:l,index:d})=>[(c(),$(k,{class:"max-w-[400px]",key:d,onClose:n=>V(d)},{default:m(()=>[e("div",I,[t(g,{modelValue:l.image,"onUpdate:modelValue":n=>l.image=n,"upload-class":"bg-body",size:"60px","exclude-domain":""},{upload:m(()=>[e("div",K,[t(x,{name:"el-icon-Plus",size:20})])]),_:2},1032,["modelValue","onUpdate:modelValue"]),e("div",P,[e("div",R,[S,t(h,{modelValue:l.name,"onUpdate:modelValue":n=>l.name=n,placeholder:"\u8BF7\u8F93\u5165\u540D\u79F0"},null,8,["modelValue","onUpdate:modelValue"])]),e("div",T,[j,t(v,{modelValue:l.link,"onUpdate:modelValue":n=>l.link=n},null,8,["modelValue","onUpdate:modelValue"])])])])]),_:2},1032,["onClose"]))]),_:1},8,["modelValue"])]),e("div",null,[t(b,{type:"primary",onClick:f},{default:m(()=>[q]),_:1})])])}}});export{X as _};
|
|
@ -1 +1 @@
|
||||||
import{r as e}from"./index.17a19250.js";function a(t){return e.get({url:"/article.articleCate/lists",params:t})}function l(t){return e.get({url:"/article.articleCate/all",params:t})}function i(t){return e.post({url:"/article.articleCate/add",params:t})}function c(t){return e.post({url:"/article.articleCate/edit",params:t})}function u(t){return e.post({url:"/article.articleCate/delete",params:t})}function n(t){return e.get({url:"/article.articleCate/detail",params:t})}function s(t){return e.post({url:"/article.articleCate/updateStatus",params:t})}function o(t){return e.get({url:"/article.article/lists",params:t})}function d(t){return e.post({url:"/article.article/add",params:t})}function f(t){return e.post({url:"/article.article/edit",params:t})}function C(t){return e.post({url:"/article.article/delete",params:t})}function p(t){return e.get({url:"/article.article/detail",params:t})}function g(t){return e.post({url:"/article.article/updateStatus",params:t})}export{c as a,i as b,n as c,a as d,u as e,s as f,p as g,l as h,f as i,d as j,o as k,g as l,C as m};
|
import{r as e}from"./index.58a5fcc1.js";function a(t){return e.get({url:"/article.articleCate/lists",params:t})}function l(t){return e.get({url:"/article.articleCate/all",params:t})}function i(t){return e.post({url:"/article.articleCate/add",params:t})}function c(t){return e.post({url:"/article.articleCate/edit",params:t})}function u(t){return e.post({url:"/article.articleCate/delete",params:t})}function n(t){return e.get({url:"/article.articleCate/detail",params:t})}function s(t){return e.post({url:"/article.articleCate/updateStatus",params:t})}function o(t){return e.get({url:"/article.article/lists",params:t})}function d(t){return e.post({url:"/article.article/add",params:t})}function f(t){return e.post({url:"/article.article/edit",params:t})}function C(t){return e.post({url:"/article.article/delete",params:t})}function p(t){return e.get({url:"/article.article/detail",params:t})}function g(t){return e.post({url:"/article.article/updateStatus",params:t})}export{c as a,i as b,n as c,a as d,u as e,s as f,p as g,l as h,f as i,d as j,o as k,g as l,C as m};
|
|
@ -1 +0,0 @@
|
||||||
import"./attr-setting.vue_vue_type_script_setup_true_lang.cc8b42a2.js";import{_ as bm}from"./attr-setting.vue_vue_type_script_setup_true_lang.cc8b42a2.js";import"./index.78d001d7.js";import"./attr.vue_vue_type_script_setup_true_lang.32665135.js";import"./element-plus.54aed4cc.js";import"./@vue.e8706010.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./index.f1492838.js";import"./index.17a19250.js";import"./lodash.c4b79a6f.js";import"./vue-router.12d45bc3.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";import"./picker.bab57db9.js";import"./index.44544070.js";import"./picker.bde52172.js";import"./index.f68bb2ca.js";import"./index.vue_vue_type_script_setup_true_lang.fccb4113.js";import"./index.fa484e75.js";import"./index.vue_vue_type_script_setup_true_lang.1d0c0a75.js";import"./usePaging.160b82b8.js";import"./vue3-video-play.4851e3ad.js";import"./vuedraggable.ec665ecc.js";import"./vue.c9c06f7a.js";import"./sortablejs.6297fc7b.js";import"./content.vue_vue_type_script_setup_true_lang.4abc445a.js";import"./decoration-img.b4fb40ac.js";import"./attr.vue_vue_type_script_setup_true_lang.d03c9735.js";import"./content.8b91b8d9.js";import"./attr.vue_vue_type_script_setup_true_lang.63dfd640.js";import"./add-nav.vue_vue_type_script_setup_true_lang.f0ec01dc.js";import"./content.b49dcf23.js";import"./attr.vue_vue_type_script_setup_true_lang.3d70db2f.js";import"./content.vue_vue_type_script_setup_true_lang.3abb1734.js";import"./attr.vue_vue_type_script_setup_true_lang.bc88ba14.js";import"./content.2ac840f3.js";import"./decoration.1c08db92.js";import"./attr.vue_vue_type_script_setup_true_lang.775b5e18.js";import"./content.ff6111f5.js";import"./attr.vue_vue_type_script_setup_true_lang.bb2e87a5.js";import"./content.vue_vue_type_script_setup_true_lang.cd4f7cae.js";import"./attr.vue_vue_type_script_setup_true_lang.d0ae40ff.js";import"./content.dbb62c52.js";export{bm as default};
|
|
|
@ -0,0 +1 @@
|
||||||
|
import"./attr-setting.vue_vue_type_script_setup_true_lang.f30e9a78.js";import{_ as bm}from"./attr-setting.vue_vue_type_script_setup_true_lang.f30e9a78.js";import"./index.a9c72434.js";import"./attr.vue_vue_type_script_setup_true_lang.b5dc2f49.js";import"./element-plus.54aed4cc.js";import"./@vue.e8706010.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./index.b80822d5.js";import"./index.58a5fcc1.js";import"./lodash.c4b79a6f.js";import"./vue-router.12d45bc3.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";import"./picker.dc392822.js";import"./index.a3400ab9.js";import"./picker.2ed9d59e.js";import"./index.c2eeeafa.js";import"./index.vue_vue_type_script_setup_true_lang.fccb4113.js";import"./index.346f714b.js";import"./index.vue_vue_type_script_setup_true_lang.1d0c0a75.js";import"./usePaging.160b82b8.js";import"./vue3-video-play.4851e3ad.js";import"./vuedraggable.ec665ecc.js";import"./vue.c9c06f7a.js";import"./sortablejs.6297fc7b.js";import"./content.vue_vue_type_script_setup_true_lang.c6f60101.js";import"./decoration-img.816badc8.js";import"./attr.vue_vue_type_script_setup_true_lang.306e1ec0.js";import"./content.446199fa.js";import"./attr.vue_vue_type_script_setup_true_lang.83214521.js";import"./add-nav.vue_vue_type_script_setup_true_lang.887178f9.js";import"./content.890ab244.js";import"./attr.vue_vue_type_script_setup_true_lang.75151da2.js";import"./content.vue_vue_type_script_setup_true_lang.d478cc59.js";import"./attr.vue_vue_type_script_setup_true_lang.bc88ba14.js";import"./content.37067944.js";import"./decoration.a9a47840.js";import"./attr.vue_vue_type_script_setup_true_lang.775b5e18.js";import"./content.16490540.js";import"./attr.vue_vue_type_script_setup_true_lang.5db46990.js";import"./content.vue_vue_type_script_setup_true_lang.dfd3155e.js";import"./attr.vue_vue_type_script_setup_true_lang.d0ae40ff.js";import"./content.2a075308.js";export{bm as default};
|
|
@ -1 +1 @@
|
||||||
import{e as c}from"./index.78d001d7.js";import{d as l,o as t,c as p,a as d,T as m,K as r,Q as f,u as g,aI as y}from"./@vue.e8706010.js";const b={class:"pages-setting"},u={class:"title flex items-center before:w-[3px] before:h-[14px] before:block before:bg-primary before:mr-2"},v=l({__name:"attr-setting",props:{widget:{type:Object,default:()=>({})},type:{type:String,default:"mobile"}},setup(e){return(w,x)=>{var s,a,n,o,i;return t(),p("div",b,[d("div",u,m((s=e.widget)==null?void 0:s.title),1),(t(),r(y,null,[(t(),r(f((n=g(c)[(a=e.widget)==null?void 0:a.name])==null?void 0:n.attr),{class:"pt-5 pr-4",content:(o=e.widget)==null?void 0:o.content,styles:(i=e.widget)==null?void 0:i.styles,type:e.type},null,8,["content","styles","type"]))],1024))])}}});export{v as _};
|
import{e as c}from"./index.a9c72434.js";import{d as l,o as t,c as p,a as d,T as m,K as r,Q as f,u as g,aI as y}from"./@vue.e8706010.js";const b={class:"pages-setting"},u={class:"title flex items-center before:w-[3px] before:h-[14px] before:block before:bg-primary before:mr-2"},v=l({__name:"attr-setting",props:{widget:{type:Object,default:()=>({})},type:{type:String,default:"mobile"}},setup(e){return(w,x)=>{var s,a,n,o,i;return t(),p("div",b,[d("div",u,m((s=e.widget)==null?void 0:s.title),1),(t(),r(y,null,[(t(),r(f((n=g(c)[(a=e.widget)==null?void 0:a.name])==null?void 0:n.attr),{class:"pt-5 pr-4",content:(o=e.widget)==null?void 0:o.content,styles:(i=e.widget)==null?void 0:i.styles,type:e.type},null,8,["content","styles","type"]))],1024))])}}});export{v as _};
|
|
@ -1 +1 @@
|
||||||
import"./attr.vue_vue_type_script_setup_true_lang.d03c9735.js";import{_ as X}from"./attr.vue_vue_type_script_setup_true_lang.d03c9735.js";import"./element-plus.54aed4cc.js";import"./@vue.e8706010.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./picker.bde52172.js";import"./index.44544070.js";import"./index.17a19250.js";import"./lodash.c4b79a6f.js";import"./vue-router.12d45bc3.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";import"./index.f68bb2ca.js";import"./index.vue_vue_type_script_setup_true_lang.fccb4113.js";import"./index.f1492838.js";import"./index.fa484e75.js";import"./index.vue_vue_type_script_setup_true_lang.1d0c0a75.js";import"./usePaging.160b82b8.js";import"./vue3-video-play.4851e3ad.js";import"./vuedraggable.ec665ecc.js";import"./vue.c9c06f7a.js";import"./sortablejs.6297fc7b.js";export{X as default};
|
import"./attr.vue_vue_type_script_setup_true_lang.306e1ec0.js";import{_ as X}from"./attr.vue_vue_type_script_setup_true_lang.306e1ec0.js";import"./element-plus.54aed4cc.js";import"./@vue.e8706010.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./picker.2ed9d59e.js";import"./index.a3400ab9.js";import"./index.58a5fcc1.js";import"./lodash.c4b79a6f.js";import"./vue-router.12d45bc3.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";import"./index.c2eeeafa.js";import"./index.vue_vue_type_script_setup_true_lang.fccb4113.js";import"./index.b80822d5.js";import"./index.346f714b.js";import"./index.vue_vue_type_script_setup_true_lang.1d0c0a75.js";import"./usePaging.160b82b8.js";import"./vue3-video-play.4851e3ad.js";import"./vuedraggable.ec665ecc.js";import"./vue.c9c06f7a.js";import"./sortablejs.6297fc7b.js";export{X as default};
|
|
@ -1 +1 @@
|
||||||
import"./attr.vue_vue_type_script_setup_true_lang.32665135.js";import{_ as Y}from"./attr.vue_vue_type_script_setup_true_lang.32665135.js";import"./element-plus.54aed4cc.js";import"./@vue.e8706010.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./index.f1492838.js";import"./index.17a19250.js";import"./lodash.c4b79a6f.js";import"./vue-router.12d45bc3.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";import"./picker.bab57db9.js";import"./index.44544070.js";import"./picker.bde52172.js";import"./index.f68bb2ca.js";import"./index.vue_vue_type_script_setup_true_lang.fccb4113.js";import"./index.fa484e75.js";import"./index.vue_vue_type_script_setup_true_lang.1d0c0a75.js";import"./usePaging.160b82b8.js";import"./vue3-video-play.4851e3ad.js";import"./vuedraggable.ec665ecc.js";import"./vue.c9c06f7a.js";import"./sortablejs.6297fc7b.js";export{Y as default};
|
import"./attr.vue_vue_type_script_setup_true_lang.5db46990.js";import{_ as Y}from"./attr.vue_vue_type_script_setup_true_lang.5db46990.js";import"./element-plus.54aed4cc.js";import"./@vue.e8706010.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./index.b80822d5.js";import"./index.58a5fcc1.js";import"./lodash.c4b79a6f.js";import"./vue-router.12d45bc3.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";import"./picker.dc392822.js";import"./index.a3400ab9.js";import"./picker.2ed9d59e.js";import"./index.c2eeeafa.js";import"./index.vue_vue_type_script_setup_true_lang.fccb4113.js";import"./index.346f714b.js";import"./index.vue_vue_type_script_setup_true_lang.1d0c0a75.js";import"./usePaging.160b82b8.js";import"./vue3-video-play.4851e3ad.js";import"./vuedraggable.ec665ecc.js";import"./vue.c9c06f7a.js";import"./sortablejs.6297fc7b.js";export{Y as default};
|
|
@ -1 +1 @@
|
||||||
import"./attr.vue_vue_type_script_setup_true_lang.63dfd640.js";import{_ as Z}from"./attr.vue_vue_type_script_setup_true_lang.63dfd640.js";import"./element-plus.54aed4cc.js";import"./@vue.e8706010.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./add-nav.vue_vue_type_script_setup_true_lang.f0ec01dc.js";import"./index.f1492838.js";import"./index.17a19250.js";import"./lodash.c4b79a6f.js";import"./vue-router.12d45bc3.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";import"./picker.bab57db9.js";import"./index.44544070.js";import"./picker.bde52172.js";import"./index.f68bb2ca.js";import"./index.vue_vue_type_script_setup_true_lang.fccb4113.js";import"./index.fa484e75.js";import"./index.vue_vue_type_script_setup_true_lang.1d0c0a75.js";import"./usePaging.160b82b8.js";import"./vue3-video-play.4851e3ad.js";import"./vuedraggable.ec665ecc.js";import"./vue.c9c06f7a.js";import"./sortablejs.6297fc7b.js";export{Z as default};
|
import"./attr.vue_vue_type_script_setup_true_lang.83214521.js";import{_ as Z}from"./attr.vue_vue_type_script_setup_true_lang.83214521.js";import"./element-plus.54aed4cc.js";import"./@vue.e8706010.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./add-nav.vue_vue_type_script_setup_true_lang.887178f9.js";import"./index.b80822d5.js";import"./index.58a5fcc1.js";import"./lodash.c4b79a6f.js";import"./vue-router.12d45bc3.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";import"./picker.dc392822.js";import"./index.a3400ab9.js";import"./picker.2ed9d59e.js";import"./index.c2eeeafa.js";import"./index.vue_vue_type_script_setup_true_lang.fccb4113.js";import"./index.346f714b.js";import"./index.vue_vue_type_script_setup_true_lang.1d0c0a75.js";import"./usePaging.160b82b8.js";import"./vue3-video-play.4851e3ad.js";import"./vuedraggable.ec665ecc.js";import"./vue.c9c06f7a.js";import"./sortablejs.6297fc7b.js";export{Z as default};
|
|
@ -1 +1 @@
|
||||||
import"./attr.vue_vue_type_script_setup_true_lang.3d70db2f.js";import{_ as Z}from"./attr.vue_vue_type_script_setup_true_lang.3d70db2f.js";import"./element-plus.54aed4cc.js";import"./@vue.e8706010.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./add-nav.vue_vue_type_script_setup_true_lang.f0ec01dc.js";import"./index.f1492838.js";import"./index.17a19250.js";import"./lodash.c4b79a6f.js";import"./vue-router.12d45bc3.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";import"./picker.bab57db9.js";import"./index.44544070.js";import"./picker.bde52172.js";import"./index.f68bb2ca.js";import"./index.vue_vue_type_script_setup_true_lang.fccb4113.js";import"./index.fa484e75.js";import"./index.vue_vue_type_script_setup_true_lang.1d0c0a75.js";import"./usePaging.160b82b8.js";import"./vue3-video-play.4851e3ad.js";import"./vuedraggable.ec665ecc.js";import"./vue.c9c06f7a.js";import"./sortablejs.6297fc7b.js";export{Z as default};
|
import"./attr.vue_vue_type_script_setup_true_lang.75151da2.js";import{_ as Z}from"./attr.vue_vue_type_script_setup_true_lang.75151da2.js";import"./element-plus.54aed4cc.js";import"./@vue.e8706010.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./add-nav.vue_vue_type_script_setup_true_lang.887178f9.js";import"./index.b80822d5.js";import"./index.58a5fcc1.js";import"./lodash.c4b79a6f.js";import"./vue-router.12d45bc3.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";import"./picker.dc392822.js";import"./index.a3400ab9.js";import"./picker.2ed9d59e.js";import"./index.c2eeeafa.js";import"./index.vue_vue_type_script_setup_true_lang.fccb4113.js";import"./index.346f714b.js";import"./index.vue_vue_type_script_setup_true_lang.1d0c0a75.js";import"./usePaging.160b82b8.js";import"./vue3-video-play.4851e3ad.js";import"./vuedraggable.ec665ecc.js";import"./vue.c9c06f7a.js";import"./sortablejs.6297fc7b.js";export{Z as default};
|
|
@ -1 +1 @@
|
||||||
import"./attr.vue_vue_type_script_setup_true_lang.bb2e87a5.js";import{_ as Y}from"./attr.vue_vue_type_script_setup_true_lang.bb2e87a5.js";import"./element-plus.54aed4cc.js";import"./@vue.e8706010.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./index.f1492838.js";import"./index.17a19250.js";import"./lodash.c4b79a6f.js";import"./vue-router.12d45bc3.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";import"./picker.bab57db9.js";import"./index.44544070.js";import"./picker.bde52172.js";import"./index.f68bb2ca.js";import"./index.vue_vue_type_script_setup_true_lang.fccb4113.js";import"./index.fa484e75.js";import"./index.vue_vue_type_script_setup_true_lang.1d0c0a75.js";import"./usePaging.160b82b8.js";import"./vue3-video-play.4851e3ad.js";import"./vuedraggable.ec665ecc.js";import"./vue.c9c06f7a.js";import"./sortablejs.6297fc7b.js";export{Y as default};
|
import"./attr.vue_vue_type_script_setup_true_lang.b5dc2f49.js";import{_ as Y}from"./attr.vue_vue_type_script_setup_true_lang.b5dc2f49.js";import"./element-plus.54aed4cc.js";import"./@vue.e8706010.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./index.b80822d5.js";import"./index.58a5fcc1.js";import"./lodash.c4b79a6f.js";import"./vue-router.12d45bc3.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";import"./picker.dc392822.js";import"./index.a3400ab9.js";import"./picker.2ed9d59e.js";import"./index.c2eeeafa.js";import"./index.vue_vue_type_script_setup_true_lang.fccb4113.js";import"./index.346f714b.js";import"./index.vue_vue_type_script_setup_true_lang.1d0c0a75.js";import"./usePaging.160b82b8.js";import"./vue3-video-play.4851e3ad.js";import"./vuedraggable.ec665ecc.js";import"./vue.c9c06f7a.js";import"./sortablejs.6297fc7b.js";export{Y as default};
|
|
@ -1 +1 @@
|
||||||
import{B as c,C as i,D as F}from"./element-plus.54aed4cc.js";import{_ as p}from"./picker.bde52172.js";import{d as r,o as f,c as V,U as e,L as o,a as m}from"./@vue.e8706010.js";const B=m("div",{class:"form-tips"},"\u5EFA\u8BAE\u56FE\u7247\u5C3A\u5BF8\uFF1A200*200\u50CF\u7D20\uFF1B\u56FE\u7247\u683C\u5F0F\uFF1Ajpg\u3001png\u3001jpeg",-1),A=r({__name:"attr",props:{content:{type:Object,default:()=>({})},styles:{type:Object,default:()=>({})}},setup(t){return(E,l)=>{const a=c,n=i,d=p,s=F;return f(),V("div",null,[e(s,{"label-width":"90px"},{default:o(()=>[e(n,{label:"\u5BA2\u670D\u6807\u9898"},{default:o(()=>[e(a,{class:"w-[400px]",modelValue:t.content.title,"onUpdate:modelValue":l[0]||(l[0]=u=>t.content.title=u)},null,8,["modelValue"])]),_:1}),e(n,{label:"\u670D\u52A1\u65F6\u95F4"},{default:o(()=>[e(a,{class:"w-[400px]",modelValue:t.content.time,"onUpdate:modelValue":l[1]||(l[1]=u=>t.content.time=u)},null,8,["modelValue"])]),_:1}),e(n,{label:"\u8054\u7CFB\u7535\u8BDD"},{default:o(()=>[e(a,{class:"w-[400px]",modelValue:t.content.mobile,"onUpdate:modelValue":l[2]||(l[2]=u=>t.content.mobile=u)},null,8,["modelValue"])]),_:1}),e(n,{label:"\u5BA2\u670D\u4E8C\u7EF4\u7801"},{default:o(()=>[m("div",null,[e(d,{modelValue:t.content.qrcode,"onUpdate:modelValue":l[3]||(l[3]=u=>t.content.qrcode=u),"exclude-domain":""},null,8,["modelValue"]),B])]),_:1})]),_:1})])}}});export{A as _};
|
import{B as c,C as i,D as F}from"./element-plus.54aed4cc.js";import{_ as p}from"./picker.2ed9d59e.js";import{d as r,o as f,c as V,U as e,L as o,a as m}from"./@vue.e8706010.js";const B=m("div",{class:"form-tips"},"\u5EFA\u8BAE\u56FE\u7247\u5C3A\u5BF8\uFF1A200*200\u50CF\u7D20\uFF1B\u56FE\u7247\u683C\u5F0F\uFF1Ajpg\u3001png\u3001jpeg",-1),A=r({__name:"attr",props:{content:{type:Object,default:()=>({})},styles:{type:Object,default:()=>({})}},setup(t){return(E,l)=>{const a=c,n=i,d=p,s=F;return f(),V("div",null,[e(s,{"label-width":"90px"},{default:o(()=>[e(n,{label:"\u5BA2\u670D\u6807\u9898"},{default:o(()=>[e(a,{class:"w-[400px]",modelValue:t.content.title,"onUpdate:modelValue":l[0]||(l[0]=u=>t.content.title=u)},null,8,["modelValue"])]),_:1}),e(n,{label:"\u670D\u52A1\u65F6\u95F4"},{default:o(()=>[e(a,{class:"w-[400px]",modelValue:t.content.time,"onUpdate:modelValue":l[1]||(l[1]=u=>t.content.time=u)},null,8,["modelValue"])]),_:1}),e(n,{label:"\u8054\u7CFB\u7535\u8BDD"},{default:o(()=>[e(a,{class:"w-[400px]",modelValue:t.content.mobile,"onUpdate:modelValue":l[2]||(l[2]=u=>t.content.mobile=u)},null,8,["modelValue"])]),_:1}),e(n,{label:"\u5BA2\u670D\u4E8C\u7EF4\u7801"},{default:o(()=>[m("div",null,[e(d,{modelValue:t.content.qrcode,"onUpdate:modelValue":l[3]||(l[3]=u=>t.content.qrcode=u),"exclude-domain":""},null,8,["modelValue"]),B])]),_:1})]),_:1})])}}});export{A as _};
|
|
@ -1 +1 @@
|
||||||
import{G as D,H as U,C as y,B as v,w,D as N}from"./element-plus.54aed4cc.js";import{_ as R}from"./index.f1492838.js";import{_ as $}from"./picker.bab57db9.js";import{_ as j}from"./picker.bde52172.js";import{f as F}from"./index.17a19250.js";import{D as G}from"./vuedraggable.ec665ecc.js";import{d as I,o as _,c as O,U as e,L as t,a as m,u as H,K as E,R as K,S as r}from"./@vue.e8706010.js";const L=r("\u5F00\u542F"),S=r("\u505C\u7528"),T={class:"flex-1"},q=m("div",{class:"form-tips"},"\u6700\u591A\u6DFB\u52A05\u5F20\uFF0C\u5EFA\u8BAE\u56FE\u7247\u5C3A\u5BF8\uFF1A750px*200px",-1),z={class:"bg-fill-light flex items-center w-full p-4 mt-4 cursor-move"},J={class:"ml-3 flex-1"},M=r("\u6DFB\u52A0\u56FE\u7247"),te=I({__name:"attr",props:{content:{type:Object,default:()=>({})},styles:{type:Object,default:()=>({})}},setup(a){const s=a,c=5,V=()=>{var u;((u=s.content.data)==null?void 0:u.length)<c?s.content.data.push({image:"",name:"",link:{}}):F.msgError(`\u6700\u591A\u6DFB\u52A0${c}\u5F20\u56FE\u7247`)},g=u=>{var l;if(((l=s.content.data)==null?void 0:l.length)<=1)return F.msgError("\u6700\u5C11\u4FDD\u7559\u4E00\u5F20\u56FE\u7247");s.content.data.splice(u,1)};return(u,l)=>{const i=D,b=U,d=y,h=j,B=v,k=$,x=R,A=w,C=N;return _(),O("div",null,[e(C,{"label-width":"70px"},{default:t(()=>{var p;return[e(d,{label:"\u662F\u5426\u542F\u7528"},{default:t(()=>[e(b,{modelValue:a.content.enabled,"onUpdate:modelValue":l[0]||(l[0]=o=>a.content.enabled=o)},{default:t(()=>[e(i,{label:1},{default:t(()=>[L]),_:1}),e(i,{label:0},{default:t(()=>[S]),_:1})]),_:1},8,["modelValue"])]),_:1}),e(d,{label:"\u56FE\u7247\u8BBE\u7F6E"},{default:t(()=>[m("div",T,[q,e(H(G),{class:"draggable",modelValue:a.content.data,"onUpdate:modelValue":l[1]||(l[1]=o=>a.content.data=o),animation:"300"},{item:t(({element:o,index:f})=>[(_(),E(x,{key:f,onClose:n=>g(f),class:"max-w-[400px]"},{default:t(()=>[m("div",z,[e(h,{modelValue:o.image,"onUpdate:modelValue":n=>o.image=n,"upload-class":"bg-body","exclude-domain":""},null,8,["modelValue","onUpdate:modelValue"]),m("div",J,[e(d,{label:"\u56FE\u7247\u540D\u79F0"},{default:t(()=>[e(B,{modelValue:o.name,"onUpdate:modelValue":n=>o.name=n,placeholder:"\u8BF7\u8F93\u5165\u540D\u79F0"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),e(d,{class:"mt-[18px]",label:"\u56FE\u7247\u94FE\u63A5"},{default:t(()=>[e(k,{modelValue:o.link,"onUpdate:modelValue":n=>o.link=n},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)])])]),_:2},1032,["onClose"]))]),_:1},8,["modelValue"])])]),_:1}),((p=a.content.data)==null?void 0:p.length)<c?(_(),E(d,{key:0},{default:t(()=>[e(A,{type:"primary",onClick:V},{default:t(()=>[M]),_:1})]),_:1})):K("",!0)]}),_:1})])}}});export{te as _};
|
import{G as D,H as U,C as y,B as v,w,D as N}from"./element-plus.54aed4cc.js";import{_ as R}from"./index.b80822d5.js";import{_ as $}from"./picker.dc392822.js";import{_ as j}from"./picker.2ed9d59e.js";import{f as F}from"./index.58a5fcc1.js";import{D as G}from"./vuedraggable.ec665ecc.js";import{d as I,o as _,c as O,U as e,L as t,a as m,u as H,K as E,R as K,S as r}from"./@vue.e8706010.js";const L=r("\u5F00\u542F"),S=r("\u505C\u7528"),T={class:"flex-1"},q=m("div",{class:"form-tips"},"\u6700\u591A\u6DFB\u52A05\u5F20\uFF0C\u5EFA\u8BAE\u56FE\u7247\u5C3A\u5BF8\uFF1A750px*200px",-1),z={class:"bg-fill-light flex items-center w-full p-4 mt-4 cursor-move"},J={class:"ml-3 flex-1"},M=r("\u6DFB\u52A0\u56FE\u7247"),te=I({__name:"attr",props:{content:{type:Object,default:()=>({})},styles:{type:Object,default:()=>({})}},setup(a){const s=a,c=5,V=()=>{var u;((u=s.content.data)==null?void 0:u.length)<c?s.content.data.push({image:"",name:"",link:{}}):F.msgError(`\u6700\u591A\u6DFB\u52A0${c}\u5F20\u56FE\u7247`)},g=u=>{var l;if(((l=s.content.data)==null?void 0:l.length)<=1)return F.msgError("\u6700\u5C11\u4FDD\u7559\u4E00\u5F20\u56FE\u7247");s.content.data.splice(u,1)};return(u,l)=>{const i=D,b=U,d=y,h=j,B=v,k=$,x=R,A=w,C=N;return _(),O("div",null,[e(C,{"label-width":"70px"},{default:t(()=>{var p;return[e(d,{label:"\u662F\u5426\u542F\u7528"},{default:t(()=>[e(b,{modelValue:a.content.enabled,"onUpdate:modelValue":l[0]||(l[0]=o=>a.content.enabled=o)},{default:t(()=>[e(i,{label:1},{default:t(()=>[L]),_:1}),e(i,{label:0},{default:t(()=>[S]),_:1})]),_:1},8,["modelValue"])]),_:1}),e(d,{label:"\u56FE\u7247\u8BBE\u7F6E"},{default:t(()=>[m("div",T,[q,e(H(G),{class:"draggable",modelValue:a.content.data,"onUpdate:modelValue":l[1]||(l[1]=o=>a.content.data=o),animation:"300"},{item:t(({element:o,index:f})=>[(_(),E(x,{key:f,onClose:n=>g(f),class:"max-w-[400px]"},{default:t(()=>[m("div",z,[e(h,{modelValue:o.image,"onUpdate:modelValue":n=>o.image=n,"upload-class":"bg-body","exclude-domain":""},null,8,["modelValue","onUpdate:modelValue"]),m("div",J,[e(d,{label:"\u56FE\u7247\u540D\u79F0"},{default:t(()=>[e(B,{modelValue:o.name,"onUpdate:modelValue":n=>o.name=n,placeholder:"\u8BF7\u8F93\u5165\u540D\u79F0"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),e(d,{class:"mt-[18px]",label:"\u56FE\u7247\u94FE\u63A5"},{default:t(()=>[e(k,{modelValue:o.link,"onUpdate:modelValue":n=>o.link=n},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)])])]),_:2},1032,["onClose"]))]),_:1},8,["modelValue"])])]),_:1}),((p=a.content.data)==null?void 0:p.length)<c?(_(),E(d,{key:0},{default:t(()=>[e(A,{type:"primary",onClick:V},{default:t(()=>[M]),_:1})]),_:1})):K("",!0)]}),_:1})])}}});export{te as _};
|
|
@ -1 +1 @@
|
||||||
import{G as c,H as r,C as i,D as f}from"./element-plus.54aed4cc.js";import{_ as p}from"./add-nav.vue_vue_type_script_setup_true_lang.f0ec01dc.js";import{d as F,o as E,c as b,U as e,L as t,a as d,S as s}from"./@vue.e8706010.js";const V=s("\u5F00\u542F"),x=s("\u505C\u7528"),B={class:"flex-1"},A=d("div",{class:"form-tips mb-4"},"\u6700\u591A\u53EF\u6DFB\u52A010\u4E2A\uFF0C\u5EFA\u8BAE\u56FE\u7247\u5C3A\u5BF8\uFF1A100px*100px",-1),D=F({__name:"attr",props:{content:{type:Object,default:()=>({})},styles:{type:Object,default:()=>({})}},setup(o){return(C,a)=>{const u=c,m=r,n=i,_=f;return E(),b("div",null,[e(_,{"label-width":"70px"},{default:t(()=>[e(n,{label:"\u662F\u5426\u542F\u7528"},{default:t(()=>[e(m,{modelValue:o.content.enabled,"onUpdate:modelValue":a[0]||(a[0]=l=>o.content.enabled=l)},{default:t(()=>[e(u,{label:1},{default:t(()=>[V]),_:1}),e(u,{label:0},{default:t(()=>[x]),_:1})]),_:1},8,["modelValue"])]),_:1}),e(n,{label:"\u83DC\u5355\u8BBE\u7F6E"},{default:t(()=>[d("div",B,[A,e(p,{modelValue:o.content.data,"onUpdate:modelValue":a[1]||(a[1]=l=>o.content.data=l)},null,8,["modelValue"])])]),_:1})]),_:1})])}}});export{D as _};
|
import{G as c,H as r,C as i,D as f}from"./element-plus.54aed4cc.js";import{_ as p}from"./add-nav.vue_vue_type_script_setup_true_lang.887178f9.js";import{d as F,o as E,c as b,U as e,L as t,a as d,S as s}from"./@vue.e8706010.js";const V=s("\u5F00\u542F"),x=s("\u505C\u7528"),B={class:"flex-1"},A=d("div",{class:"form-tips mb-4"},"\u6700\u591A\u53EF\u6DFB\u52A010\u4E2A\uFF0C\u5EFA\u8BAE\u56FE\u7247\u5C3A\u5BF8\uFF1A100px*100px",-1),D=F({__name:"attr",props:{content:{type:Object,default:()=>({})},styles:{type:Object,default:()=>({})}},setup(o){return(C,a)=>{const u=c,m=r,n=i,_=f;return E(),b("div",null,[e(_,{"label-width":"70px"},{default:t(()=>[e(n,{label:"\u662F\u5426\u542F\u7528"},{default:t(()=>[e(m,{modelValue:o.content.enabled,"onUpdate:modelValue":a[0]||(a[0]=l=>o.content.enabled=l)},{default:t(()=>[e(u,{label:1},{default:t(()=>[V]),_:1}),e(u,{label:0},{default:t(()=>[x]),_:1})]),_:1},8,["modelValue"])]),_:1}),e(n,{label:"\u83DC\u5355\u8BBE\u7F6E"},{default:t(()=>[d("div",B,[A,e(p,{modelValue:o.content.data,"onUpdate:modelValue":a[1]||(a[1]=l=>o.content.data=l)},null,8,["modelValue"])])]),_:1})]),_:1})])}}});export{D as _};
|
|
@ -1 +1 @@
|
||||||
import{G as _,H as i,C as r,B as f,D as p}from"./element-plus.54aed4cc.js";import{_ as V}from"./add-nav.vue_vue_type_script_setup_true_lang.f0ec01dc.js";import{d as b,o as E,c as x,U as e,L as t,a as B,S as d}from"./@vue.e8706010.js";const F=d("\u6A2A\u6392"),y=d("\u7AD6\u6392"),C={class:"flex-1"},N=b({__name:"attr",props:{content:{type:Object,default:()=>({})},styles:{type:Object,default:()=>({})}},setup(l){return(D,o)=>{const u=_,s=i,n=r,m=f,c=p;return E(),x("div",null,[e(c,{"label-width":"70px"},{default:t(()=>[e(n,{label:"\u6392\u7248\u6837\u5F0F"},{default:t(()=>[e(s,{modelValue:l.content.style,"onUpdate:modelValue":o[0]||(o[0]=a=>l.content.style=a)},{default:t(()=>[e(u,{label:1},{default:t(()=>[F]),_:1}),e(u,{label:2},{default:t(()=>[y]),_:1})]),_:1},8,["modelValue"])]),_:1}),e(n,{label:"\u6807\u9898\u540D\u79F0"},{default:t(()=>[e(m,{class:"w-[400px]",modelValue:l.content.title,"onUpdate:modelValue":o[1]||(o[1]=a=>l.content.title=a)},null,8,["modelValue"])]),_:1}),e(n,{label:"\u83DC\u5355\u8BBE\u7F6E"},{default:t(()=>[B("div",C,[e(V,{modelValue:l.content.data,"onUpdate:modelValue":o[2]||(o[2]=a=>l.content.data=a)},null,8,["modelValue"])])]),_:1})]),_:1})])}}});export{N as _};
|
import{G as _,H as i,C as r,B as f,D as p}from"./element-plus.54aed4cc.js";import{_ as V}from"./add-nav.vue_vue_type_script_setup_true_lang.887178f9.js";import{d as b,o as E,c as x,U as e,L as t,a as B,S as d}from"./@vue.e8706010.js";const F=d("\u6A2A\u6392"),y=d("\u7AD6\u6392"),C={class:"flex-1"},N=b({__name:"attr",props:{content:{type:Object,default:()=>({})},styles:{type:Object,default:()=>({})}},setup(l){return(D,o)=>{const u=_,s=i,n=r,m=f,c=p;return E(),x("div",null,[e(c,{"label-width":"70px"},{default:t(()=>[e(n,{label:"\u6392\u7248\u6837\u5F0F"},{default:t(()=>[e(s,{modelValue:l.content.style,"onUpdate:modelValue":o[0]||(o[0]=a=>l.content.style=a)},{default:t(()=>[e(u,{label:1},{default:t(()=>[F]),_:1}),e(u,{label:2},{default:t(()=>[y]),_:1})]),_:1},8,["modelValue"])]),_:1}),e(n,{label:"\u6807\u9898\u540D\u79F0"},{default:t(()=>[e(m,{class:"w-[400px]",modelValue:l.content.title,"onUpdate:modelValue":o[1]||(o[1]=a=>l.content.title=a)},null,8,["modelValue"])]),_:1}),e(n,{label:"\u83DC\u5355\u8BBE\u7F6E"},{default:t(()=>[B("div",C,[e(V,{modelValue:l.content.data,"onUpdate:modelValue":o[2]||(o[2]=a=>l.content.data=a)},null,8,["modelValue"])])]),_:1})]),_:1})])}}});export{N as _};
|
|
@ -1 +1 @@
|
||||||
import{G as D,H as U,C as v,B as w,w as N,D as R}from"./element-plus.54aed4cc.js";import{_ as $}from"./index.f1492838.js";import{_ as j}from"./picker.bab57db9.js";import{_ as G}from"./picker.bde52172.js";import{f as b}from"./index.17a19250.js";import{D as I}from"./vuedraggable.ec665ecc.js";import{d as O,o as n,c as S,U as l,L as t,K as s,R as _,a as r,u as H,S as p}from"./@vue.e8706010.js";const K=p("\u5F00\u542F"),L=p("\u505C\u7528"),T={class:"flex-1"},q=r("div",{class:"form-tips"},"\u6700\u591A\u6DFB\u52A05\u5F20\uFF0C\u5EFA\u8BAE\u56FE\u7247\u5C3A\u5BF8\uFF1A750px*340px",-1),z={class:"bg-fill-light flex items-center w-full p-4 mt-4 cursor-move"},J={class:"ml-3 flex-1"},M=p("\u6DFB\u52A0\u56FE\u7247"),te=O({__name:"attr",props:{content:{type:Object,default:()=>({})},styles:{type:Object,default:()=>({})},type:{type:String,default:"mobile"}},setup(o){const c=o,i=5,g=()=>{var d;((d=c.content.data)==null?void 0:d.length)<i?c.content.data.push({image:"",name:"",link:{}}):b.msgError(`\u6700\u591A\u6DFB\u52A0${i}\u5F20\u56FE\u7247`)},k=d=>{var u;if(((u=c.content.data)==null?void 0:u.length)<=1)return b.msgError("\u6700\u5C11\u4FDD\u7559\u4E00\u5F20\u56FE\u7247");c.content.data.splice(d,1)};return(d,u)=>{const f=D,h=U,m=v,y=G,F=w,B=j,x=$,A=N,C=R;return n(),S("div",null,[l(C,{"label-width":"70px"},{default:t(()=>{var V;return[o.type=="mobile"?(n(),s(m,{key:0,label:"\u662F\u5426\u542F\u7528"},{default:t(()=>[l(h,{modelValue:o.content.enabled,"onUpdate:modelValue":u[0]||(u[0]=e=>o.content.enabled=e)},{default:t(()=>[l(f,{label:1},{default:t(()=>[K]),_:1}),l(f,{label:0},{default:t(()=>[L]),_:1})]),_:1},8,["modelValue"])]),_:1})):_("",!0),l(m,{label:"\u56FE\u7247\u8BBE\u7F6E"},{default:t(()=>[r("div",T,[q,l(H(I),{class:"draggable",modelValue:o.content.data,"onUpdate:modelValue":u[1]||(u[1]=e=>o.content.data=e),animation:"300"},{item:t(({element:e,index:E})=>[(n(),s(x,{key:E,onClose:a=>k(E),class:"max-w-[400px]"},{default:t(()=>[r("div",z,[l(y,{modelValue:e.image,"onUpdate:modelValue":a=>e.image=a,"upload-class":"bg-body","exclude-domain":""},null,8,["modelValue","onUpdate:modelValue"]),r("div",J,[l(m,{label:"\u56FE\u7247\u540D\u79F0"},{default:t(()=>[l(F,{modelValue:e.name,"onUpdate:modelValue":a=>e.name=a,placeholder:"\u8BF7\u8F93\u5165\u540D\u79F0"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),l(m,{class:"mt-[18px]",label:"\u56FE\u7247\u94FE\u63A5"},{default:t(()=>[o.type=="mobile"?(n(),s(B,{key:0,modelValue:e.link,"onUpdate:modelValue":a=>e.link=a},null,8,["modelValue","onUpdate:modelValue"])):_("",!0),o.type=="pc"?(n(),s(F,{key:1,placeholder:"\u8BF7\u8F93\u5165\u94FE\u63A5",modelValue:e.link.path,"onUpdate:modelValue":a=>e.link.path=a},null,8,["modelValue","onUpdate:modelValue"])):_("",!0)]),_:2},1024)])])]),_:2},1032,["onClose"]))]),_:1},8,["modelValue"])])]),_:1}),((V=o.content.data)==null?void 0:V.length)<i?(n(),s(m,{key:1},{default:t(()=>[l(A,{type:"primary",onClick:g},{default:t(()=>[M]),_:1})]),_:1})):_("",!0)]}),_:1})])}}});export{te as _};
|
import{G as D,H as U,C as v,B as w,w as N,D as R}from"./element-plus.54aed4cc.js";import{_ as $}from"./index.b80822d5.js";import{_ as j}from"./picker.dc392822.js";import{_ as G}from"./picker.2ed9d59e.js";import{f as b}from"./index.58a5fcc1.js";import{D as I}from"./vuedraggable.ec665ecc.js";import{d as O,o as n,c as S,U as l,L as t,K as s,R as _,a as r,u as H,S as p}from"./@vue.e8706010.js";const K=p("\u5F00\u542F"),L=p("\u505C\u7528"),T={class:"flex-1"},q=r("div",{class:"form-tips"},"\u6700\u591A\u6DFB\u52A05\u5F20\uFF0C\u5EFA\u8BAE\u56FE\u7247\u5C3A\u5BF8\uFF1A750px*340px",-1),z={class:"bg-fill-light flex items-center w-full p-4 mt-4 cursor-move"},J={class:"ml-3 flex-1"},M=p("\u6DFB\u52A0\u56FE\u7247"),te=O({__name:"attr",props:{content:{type:Object,default:()=>({})},styles:{type:Object,default:()=>({})},type:{type:String,default:"mobile"}},setup(o){const c=o,i=5,g=()=>{var d;((d=c.content.data)==null?void 0:d.length)<i?c.content.data.push({image:"",name:"",link:{}}):b.msgError(`\u6700\u591A\u6DFB\u52A0${i}\u5F20\u56FE\u7247`)},k=d=>{var u;if(((u=c.content.data)==null?void 0:u.length)<=1)return b.msgError("\u6700\u5C11\u4FDD\u7559\u4E00\u5F20\u56FE\u7247");c.content.data.splice(d,1)};return(d,u)=>{const f=D,h=U,m=v,y=G,F=w,B=j,x=$,A=N,C=R;return n(),S("div",null,[l(C,{"label-width":"70px"},{default:t(()=>{var V;return[o.type=="mobile"?(n(),s(m,{key:0,label:"\u662F\u5426\u542F\u7528"},{default:t(()=>[l(h,{modelValue:o.content.enabled,"onUpdate:modelValue":u[0]||(u[0]=e=>o.content.enabled=e)},{default:t(()=>[l(f,{label:1},{default:t(()=>[K]),_:1}),l(f,{label:0},{default:t(()=>[L]),_:1})]),_:1},8,["modelValue"])]),_:1})):_("",!0),l(m,{label:"\u56FE\u7247\u8BBE\u7F6E"},{default:t(()=>[r("div",T,[q,l(H(I),{class:"draggable",modelValue:o.content.data,"onUpdate:modelValue":u[1]||(u[1]=e=>o.content.data=e),animation:"300"},{item:t(({element:e,index:E})=>[(n(),s(x,{key:E,onClose:a=>k(E),class:"max-w-[400px]"},{default:t(()=>[r("div",z,[l(y,{modelValue:e.image,"onUpdate:modelValue":a=>e.image=a,"upload-class":"bg-body","exclude-domain":""},null,8,["modelValue","onUpdate:modelValue"]),r("div",J,[l(m,{label:"\u56FE\u7247\u540D\u79F0"},{default:t(()=>[l(F,{modelValue:e.name,"onUpdate:modelValue":a=>e.name=a,placeholder:"\u8BF7\u8F93\u5165\u540D\u79F0"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),l(m,{class:"mt-[18px]",label:"\u56FE\u7247\u94FE\u63A5"},{default:t(()=>[o.type=="mobile"?(n(),s(B,{key:0,modelValue:e.link,"onUpdate:modelValue":a=>e.link=a},null,8,["modelValue","onUpdate:modelValue"])):_("",!0),o.type=="pc"?(n(),s(F,{key:1,placeholder:"\u8BF7\u8F93\u5165\u94FE\u63A5",modelValue:e.link.path,"onUpdate:modelValue":a=>e.link.path=a},null,8,["modelValue","onUpdate:modelValue"])):_("",!0)]),_:2},1024)])])]),_:2},1032,["onClose"]))]),_:1},8,["modelValue"])])]),_:1}),((V=o.content.data)==null?void 0:V.length)<i?(n(),s(m,{key:1},{default:t(()=>[l(A,{type:"primary",onClick:g},{default:t(()=>[M]),_:1})]),_:1})):_("",!0)]}),_:1})])}}});export{te as _};
|
|
@ -1 +1 @@
|
||||||
import"./auth.vue_vue_type_script_setup_true_lang.00d4a1fd.js";import{_ as O}from"./auth.vue_vue_type_script_setup_true_lang.00d4a1fd.js";import"./element-plus.54aed4cc.js";import"./@vue.e8706010.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./role.c807988a.js";import"./index.17a19250.js";import"./lodash.c4b79a6f.js";import"./vue-router.12d45bc3.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";import"./index.44544070.js";import"./menu.20ceb9b6.js";export{O as default};
|
import"./auth.vue_vue_type_script_setup_true_lang.bd559cfb.js";import{_ as O}from"./auth.vue_vue_type_script_setup_true_lang.bd559cfb.js";import"./element-plus.54aed4cc.js";import"./@vue.e8706010.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./role.451015ea.js";import"./index.58a5fcc1.js";import"./lodash.c4b79a6f.js";import"./vue-router.12d45bc3.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";import"./index.a3400ab9.js";import"./menu.c2e4b2a1.js";export{O as default};
|
|
@ -1 +1 @@
|
||||||
import{T as M,E as P,F as U,C as q,D as H,N as I}from"./element-plus.54aed4cc.js";import{a as O}from"./role.c807988a.js";import{P as $}from"./index.44544070.js";import{t as j}from"./index.17a19250.js";import{m as z}from"./menu.20ceb9b6.js";import{d as G,s as p,r as c,$ as J,o as v,c as Q,U as o,L as u,M as W,K as X,a as k,n as y}from"./@vue.e8706010.js";const Y={class:"edit-popup"},ne=G({__name:"auth",emits:["success","close"],setup(Z,{expose:C,emit:f}){const a=p(),_=p(),r=p(),x=c(!1),d=c(!0),i=c(!1),h=c([]),m=c([]),s=J({id:"",name:"",desc:"",sort:0,menu_id:[]}),b={name:[{required:!0,message:"\u8BF7\u8F93\u5165\u540D\u79F0",trigger:["blur"]}]},g=()=>{i.value=!0,z().then(e=>{m.value=e,h.value=j(e),y(()=>{D()}),i.value=!1})},E=()=>{var t,n;const e=(t=a.value)==null?void 0:t.getCheckedKeys(),l=(n=a.value)==null?void 0:n.getHalfCheckedKeys();return e==null||e.unshift.apply(e,l),e},D=()=>{s.menu_id.forEach(e=>{y(()=>{var l;(l=a.value)==null||l.setChecked(e,!0,!1)})})},w=e=>{const l=m.value;for(let t=0;t<l.length;t++)a.value.store.nodesMap[l[t].id].expanded=e},F=e=>{var l,t;e?(l=a.value)==null||l.setCheckedKeys(h.value.map(n=>n.id)):(t=a.value)==null||t.setCheckedKeys([])},A=async()=>{var e,l;await((e=_.value)==null?void 0:e.validate()),s.menu_id=E(),await O(s),(l=r.value)==null||l.close(),f("success")},K=()=>{f("close")},R=()=>{var e;(e=r.value)==null||e.open()},B=async e=>{for(const l in s)e[l]!=null&&e[l]!=null&&(s[l]=e[l])};return g(),C({open:R,setFormData:B}),(e,l)=>{const t=U,n=M,T=q,V=P,S=H,L=I;return v(),Q("div",Y,[o($,{ref_key:"popupRef",ref:r,title:"\u5206\u914D\u6743\u9650",async:!0,width:"550px",onConfirm:A,onClose:K},{default:u(()=>[W((v(),X(S,{class:"ls-form",ref_key:"formRef",ref:_,rules:b,model:s,"label-width":"60px"},{default:u(()=>[o(V,{class:"h-[400px] sm:h-[600px]"},{default:u(()=>[o(T,{label:"\u6743\u9650",prop:"menu_id"},{default:u(()=>[k("div",null,[o(t,{label:"\u5C55\u5F00/\u6298\u53E0",onChange:w}),o(t,{label:"\u5168\u9009/\u4E0D\u5168\u9009",onChange:F}),o(t,{modelValue:d.value,"onUpdate:modelValue":l[0]||(l[0]=N=>d.value=N),label:"\u7236\u5B50\u8054\u52A8"},null,8,["modelValue"]),k("div",null,[o(n,{ref_key:"treeRef",ref:a,data:m.value,props:{label:"name",children:"children"},"check-strictly":!d.value,"node-key":"id","default-expand-all":x.value,"show-checkbox":""},null,8,["data","check-strictly","default-expand-all"])])])]),_:1})]),_:1})]),_:1},8,["model"])),[[L,i.value]])]),_:1},512)])}}});export{ne as _};
|
import{T as M,E as P,F as U,C as q,D as H,N as I}from"./element-plus.54aed4cc.js";import{a as O}from"./role.451015ea.js";import{P as $}from"./index.a3400ab9.js";import{t as j}from"./index.58a5fcc1.js";import{m as z}from"./menu.c2e4b2a1.js";import{d as G,s as p,r as c,$ as J,o as v,c as Q,U as o,L as u,M as W,K as X,a as k,n as y}from"./@vue.e8706010.js";const Y={class:"edit-popup"},ne=G({__name:"auth",emits:["success","close"],setup(Z,{expose:C,emit:f}){const a=p(),_=p(),r=p(),x=c(!1),d=c(!0),i=c(!1),h=c([]),m=c([]),s=J({id:"",name:"",desc:"",sort:0,menu_id:[]}),b={name:[{required:!0,message:"\u8BF7\u8F93\u5165\u540D\u79F0",trigger:["blur"]}]},g=()=>{i.value=!0,z().then(e=>{m.value=e,h.value=j(e),y(()=>{D()}),i.value=!1})},E=()=>{var t,n;const e=(t=a.value)==null?void 0:t.getCheckedKeys(),l=(n=a.value)==null?void 0:n.getHalfCheckedKeys();return e==null||e.unshift.apply(e,l),e},D=()=>{s.menu_id.forEach(e=>{y(()=>{var l;(l=a.value)==null||l.setChecked(e,!0,!1)})})},w=e=>{const l=m.value;for(let t=0;t<l.length;t++)a.value.store.nodesMap[l[t].id].expanded=e},F=e=>{var l,t;e?(l=a.value)==null||l.setCheckedKeys(h.value.map(n=>n.id)):(t=a.value)==null||t.setCheckedKeys([])},A=async()=>{var e,l;await((e=_.value)==null?void 0:e.validate()),s.menu_id=E(),await O(s),(l=r.value)==null||l.close(),f("success")},K=()=>{f("close")},R=()=>{var e;(e=r.value)==null||e.open()},B=async e=>{for(const l in s)e[l]!=null&&e[l]!=null&&(s[l]=e[l])};return g(),C({open:R,setFormData:B}),(e,l)=>{const t=U,n=M,T=q,V=P,S=H,L=I;return v(),Q("div",Y,[o($,{ref_key:"popupRef",ref:r,title:"\u5206\u914D\u6743\u9650",async:!0,width:"550px",onConfirm:A,onClose:K},{default:u(()=>[W((v(),X(S,{class:"ls-form",ref_key:"formRef",ref:_,rules:b,model:s,"label-width":"60px"},{default:u(()=>[o(V,{class:"h-[400px] sm:h-[600px]"},{default:u(()=>[o(T,{label:"\u6743\u9650",prop:"menu_id"},{default:u(()=>[k("div",null,[o(t,{label:"\u5C55\u5F00/\u6298\u53E0",onChange:w}),o(t,{label:"\u5168\u9009/\u4E0D\u5168\u9009",onChange:F}),o(t,{modelValue:d.value,"onUpdate:modelValue":l[0]||(l[0]=N=>d.value=N),label:"\u7236\u5B50\u8054\u52A8"},null,8,["modelValue"]),k("div",null,[o(n,{ref_key:"treeRef",ref:a,data:m.value,props:{label:"name",children:"children"},"check-strictly":!d.value,"node-key":"id","default-expand-all":x.value,"show-checkbox":""},null,8,["data","check-strictly","default-expand-all"])])])]),_:1})]),_:1})]),_:1},8,["model"])),[[L,i.value]])]),_:1},512)])}}});export{ne as _};
|
|
@ -0,0 +1 @@
|
||||||
|
import{_ as I}from"./index.vue_vue_type_script_setup_true_lang.fccb4113.js";import{B as U,C as P,Q as T,R as N,w as R,D as S,I as q,L as $,M as j}from"./element-plus.54aed4cc.js";import{u as K}from"./vue-router.12d45bc3.js";import{u as M}from"./usePaging.160b82b8.js";import{a as O,u as Q}from"./users.c21079ee.js";import{d as z,$ as c,o as m,c as _,U as e,L as l,V as v,a7 as G,u as i,T as E,a as V,k as H,S as w,K as J}from"./@vue.e8706010.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./index.58a5fcc1.js";import"./lodash.c4b79a6f.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";const W=w("\u67E5\u8BE2"),X=w("\u91CD\u7F6E"),Y={key:0,style:{color:"yellowgreen"}},Z={key:1,style:{color:"red"}},ee={style:{color:"green"}},oe={class:"flex mt-4 justify-end"},$e=z({__name:"balanceList",setup(le){const k=K(),a=c({uid:k.query.uid,record_id:"",mark:"",pay_type:"",appid:""}),B=(u,t)=>{for(const r in u)u[r]!=null&&u[r]!=null&&(t[r]=u[r]);console.log(t)},{pager:d,getLists:f,resetParams:g,resetPage:h}=M({fetchFun:Q,params:a});c([{label:"lable",id:0,name:"name1"},{label:"lable2",id:0,name:"name2"}]),f();const b=c([]);return O().then(u=>{B(u,b)}),(u,t)=>{const r=U,s=P,n=T,F=N,y=R,A=S,D=q,p=$,C=j,x=I;return m(),_(v,null,[e(D,{class:"!border-none mb-4",shadow:"never"},{default:l(()=>[e(A,{class:"mb-[-16px]",model:a,inline:""},{default:l(()=>[e(s,{label:"\u4EA4\u6613ID",prop:"record_id"},{default:l(()=>[e(r,{class:"w-[280px]",modelValue:a.record_id,"onUpdate:modelValue":t[0]||(t[0]=o=>a.record_id=o),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u4EA4\u6613ID"},null,8,["modelValue"])]),_:1}),e(s,{label:"\u9879\u76EE",prop:"contract_no"},{default:l(()=>[e(r,{class:"w-[280px]",modelValue:a.mark,"onUpdate:modelValue":t[1]||(t[1]=o=>a.mark=o),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u9879\u76EE\u540D\u79F0"},null,8,["modelValue"])]),_:1}),e(s,{label:"\u4EA4\u6613\u6E20\u9053/\u573A\u6240",prop:"contract_no"},{default:l(()=>[e(F,{modelValue:a.appid,"onUpdate:modelValue":t[2]||(t[2]=o=>a.appid=o),clearable:"",placeholder:"\u8BF7\u9009\u62E9\u4EA4\u6613\u6E20\u9053/\u573A\u6240"},{default:l(()=>[(m(!0),_(v,null,G(b,(o,L)=>(m(),J(n,{label:o.name,value:o.appid,key:L},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e(s,{label:"\u652F\u4ED8\u65B9\u5F0F",prop:"area_manager"},{default:l(()=>[e(F,{modelValue:a.pay_type,"onUpdate:modelValue":t[3]||(t[3]=o=>a.pay_type=o),clearable:"",placeholder:"\u8BF7\u9009\u62E9\u652F\u4ED8\u65B9\u5F0F"},{default:l(()=>[e(n,{label:"\u4F59\u989D\u652F\u4ED8",value:3}),e(n,{label:"\u5FAE\u4FE1\u652F\u4ED8",value:0}),e(n,{label:"\u652F\u4ED8\u5B9D\u652F\u4ED8",value:1}),e(n,{label:"\u94F6\u884C\u5361\u652F\u4ED8",value:2}),e(n,{label:"\u5176\u4ED6",value:4})]),_:1},8,["modelValue"])]),_:1}),e(s,null,{default:l(()=>[e(y,{type:"primary",onClick:i(h)},{default:l(()=>[W]),_:1},8,["onClick"]),e(y,{onClick:i(g)},{default:l(()=>[X]),_:1},8,["onClick"])]),_:1})]),_:1},8,["model"])]),_:1}),e(D,{class:"!border-none mb-4",shadow:"never"},{default:l(()=>[e(C,{data:i(d).lists},{default:l(()=>[e(p,{label:"\u65F6\u95F4",prop:"create_time"}),e(p,{label:"\u8D44\u91D1\u53D8\u52A8",prop:"amount","show-overflow-tooltip":""},{default:l(({row:o})=>[o.type==1?(m(),_("text",Y,"+ "+E(o.amount),1)):(m(),_("text",Z,"- "+E(o.amount),1))]),_:1}),e(p,{label:"\u9879\u76EE",prop:"mark","show-overflow-tooltip":""}),e(p,{label:"\u4EA4\u6613\u6E20\u9053/\u573A\u6240",prop:"app","show-overflow-tooltip":""}),e(p,{label:"\u4EA4\u6613ID",prop:"record_id","show-overflow-tooltip":""}),e(p,{label:"\u652F\u4ED8\u65B9\u5F0F",prop:"pay_type_text","show-overflow-tooltip":""}),e(p,{label:"\u8D26\u6237\u4F59\u989D",prop:"total_amount","show-overflow-tooltip":""},{default:l(({row:o})=>[V("text",ee,E(o.total_amount),1)]),_:1})]),_:1},8,["data"]),V("div",oe,[e(x,{modelValue:i(d),"onUpdate:modelValue":t[4]||(t[4]=o=>H(d)?d.value=o:null),onChange:i(f)},null,8,["modelValue","onChange"])])]),_:1})],64)}}});export{$e as default};
|
|
@ -1 +0,0 @@
|
||||||
import{_ as g}from"./index.vue_vue_type_script_setup_true_lang.fccb4113.js";import{B as k,C as A,Q as x,R as I,w as U,D as L,I as P,L as T,M as N}from"./element-plus.54aed4cc.js";import{u as R}from"./vue-router.12d45bc3.js";import{u as S}from"./usePaging.160b82b8.js";import{u as q}from"./users.47342bca.js";import{d as $,$ as D,o as s,c as i,U as e,L as l,u as n,T as d,a as y,k as j,V as M,S as _}from"./@vue.e8706010.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./index.17a19250.js";import"./lodash.c4b79a6f.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";const O=_("\u67E5\u8BE2"),Q=_("\u91CD\u7F6E"),z={key:0,style:{color:"yellowgreen"}},G={key:1,style:{color:"red"}},H=_(" \u79EF\u5206\u5956\u52B1 "),J={style:{color:"green"}},K={class:"flex mt-4 justify-end"},Te=$({__name:"balanceList",setup(W){const w=R(),t=D({uid:w.query.uid,record_id:"",mark:"",pay_type:"",app:""}),{pager:m,getLists:c,resetParams:B,resetPage:V}=S({fetchFun:q,params:t});return D([{label:"lable",id:0,name:"name1"},{label:"lable2",id:0,name:"name2"}]),c(),(X,u)=>{const E=k,r=A,p=x,f=I,b=U,v=L,F=P,a=T,C=N,h=g;return s(),i(M,null,[e(F,{class:"!border-none mb-4",shadow:"never"},{default:l(()=>[e(v,{class:"mb-[-16px]",model:t,inline:""},{default:l(()=>[e(r,{label:"\u4EA4\u6613ID",prop:"record_id"},{default:l(()=>[e(E,{class:"w-[280px]",modelValue:t.record_id,"onUpdate:modelValue":u[0]||(u[0]=o=>t.record_id=o),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u4EA4\u6613ID"},null,8,["modelValue"])]),_:1}),e(r,{label:"\u9879\u76EE",prop:"contract_no"},{default:l(()=>[e(E,{class:"w-[280px]",modelValue:t.mark,"onUpdate:modelValue":u[1]||(u[1]=o=>t.mark=o),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u9879\u76EE\u540D\u79F0"},null,8,["modelValue"])]),_:1}),e(r,{label:"\u4EA4\u6613\u6E20\u9053/\u573A\u6240",prop:"contract_no"},{default:l(()=>[e(f,{modelValue:t.app,"onUpdate:modelValue":u[2]||(u[2]=o=>t.app=o),clearable:"",placeholder:"\u8BF7\u9009\u62E9\u4EA4\u6613\u6E20\u9053/\u573A\u6240"},{default:l(()=>[e(p,{label:"\u5546\u8D85\u7CFB\u7EDF",value:0}),e(p,{label:"\u4F9B\u9500\u5DE5\u4F5C\u7CFB\u7EDF",value:1})]),_:1},8,["modelValue"])]),_:1}),e(r,{label:"\u652F\u4ED8\u65B9\u5F0F",prop:"area_manager"},{default:l(()=>[e(f,{modelValue:t.pay_type,"onUpdate:modelValue":u[3]||(u[3]=o=>t.pay_type=o),clearable:"",placeholder:"\u8BF7\u9009\u62E9\u652F\u4ED8\u65B9\u5F0F"},{default:l(()=>[e(p,{label:"\u4F59\u989D\u652F\u4ED8",value:0}),e(p,{label:"\u5FAE\u4FE1\u652F\u4ED8",value:1}),e(p,{label:"\u63D0\u73B0",value:3})]),_:1},8,["modelValue"])]),_:1}),e(r,null,{default:l(()=>[e(b,{type:"primary",onClick:n(V)},{default:l(()=>[O]),_:1},8,["onClick"]),e(b,{onClick:n(B)},{default:l(()=>[Q]),_:1},8,["onClick"])]),_:1})]),_:1},8,["model"])]),_:1}),e(F,{class:"!border-none mb-4",shadow:"never"},{default:l(()=>[e(C,{data:n(m).lists},{default:l(()=>[e(a,{label:"\u65F6\u95F4",prop:"create_time"}),e(a,{label:"\u8D44\u91D1\u53D8\u52A8",prop:"amount","show-overflow-tooltip":""},{default:l(({row:o})=>[o.type==1?(s(),i("text",z,"+ "+d(o.amount),1)):(s(),i("text",G,"- "+d(o.amount),1))]),_:1}),e(a,{label:"\u9879\u76EE",prop:"mark","show-overflow-tooltip":""}),e(a,{label:"\u4EA4\u6613\u6E20\u9053/\u573A\u6240",prop:"app","show-overflow-tooltip":""}),e(a,{label:"\u4EA4\u6613ID",prop:"record_id","show-overflow-tooltip":""}),e(a,{label:"\u652F\u4ED8\u65B9\u5F0F",prop:"pay_type_text","show-overflow-tooltip":""}),e(a,{label:"\u4EA4\u6613\u7C7B\u578B","show-overflow-tooltip":""},{default:l(({row:o})=>[H]),_:1}),e(a,{label:"\u8D26\u6237\u4F59\u989D",prop:"total_amount","show-overflow-tooltip":""},{default:l(({row:o})=>[y("text",J,"+ "+d(o.total_amount),1)]),_:1})]),_:1},8,["data"]),y("div",K,[e(h,{modelValue:n(m),"onUpdate:modelValue":u[4]||(u[4]=o=>j(m)?m.value=o:null),onChange:n(c)},null,8,["modelValue","onChange"])])]),_:1})],64)}}});export{Te as default};
|
|
|
@ -1 +1 @@
|
||||||
import{K as U,B as K,C as P,Q as N,R as I,w as R,D as S,I as $,L as z,M,N as O}from"./element-plus.54aed4cc.js";import{_ as j}from"./index.vue_vue_type_script_setup_true_lang.fccb4113.js";import{_ as q}from"./index.17a19250.js";import{_ as Q}from"./index.vue_vue_type_script_setup_true_lang.6593fe88.js";import{d as w,$ as G,o as r,c as b,U as e,L as o,a9 as H,u,V as J,a7 as W,M as X,K as h,a as m,S as p,T as B,P as Y,k as Z}from"./@vue.e8706010.js";import{g as ee,a as te}from"./finance.52892cee.js";import{u as oe}from"./useDictOptions.6a05f693.js";import{u as ae}from"./usePaging.160b82b8.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./lodash.c4b79a6f.js";import"./vue-router.12d45bc3.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";const ne=p("\u67E5\u8BE2"),le=p("\u91CD\u7F6E"),ue={class:"flex items-center"},ie={class:"flex justify-end mt-4"},se=w({name:"articleLists"}),We=w({...se,setup(re){const a=G({user_info:"",change_type:"",start_time:"",end_time:""}),{pager:i,getLists:_,resetPage:c,resetParams:E}=ae({fetchFun:te,params:a}),{optionsData:C}=oe({change_type:{api:ee}});return _(),(me,n)=>{const D=U,v=K,s=P,d=N,y=I,V=Q,f=R,x=S,g=$,l=z,T=q,A=M,k=j,L=O;return r(),b("div",null,[e(g,{class:"!border-none",shadow:"never"},{default:o(()=>[e(D,{type:"warning",title:"\u6E29\u99A8\u63D0\u793A\uFF1A\u7528\u6237\u8D26\u6237\u53D8\u52A8\u8BB0\u5F55",closable:!1,"show-icon":""}),e(x,{ref:"formRef",class:"mb-[-16px] mt-[16px]",model:a,inline:!0},{default:o(()=>[e(s,{label:"\u7528\u6237\u4FE1\u606F"},{default:o(()=>[e(v,{class:"w-[280px]",modelValue:a.user_info,"onUpdate:modelValue":n[0]||(n[0]=t=>a.user_info=t),placeholder:"\u8BF7\u8F93\u5165\u7528\u6237\u7F16\u53F7/\u6635\u79F0/\u624B\u673A\u53F7",clearable:"",onKeyup:H(u(c),["enter"])},null,8,["modelValue","onKeyup"])]),_:1}),e(s,{label:"\u53D8\u52A8\u7C7B\u578B"},{default:o(()=>[e(y,{class:"w-[280px]",modelValue:a.change_type,"onUpdate:modelValue":n[1]||(n[1]=t=>a.change_type=t)},{default:o(()=>[e(d,{label:"\u5168\u90E8",value:""}),(r(!0),b(J,null,W(u(C).change_type,(t,F)=>(r(),h(d,{key:F,label:t,value:F},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e(s,{label:"\u8BB0\u5F55\u65F6\u95F4"},{default:o(()=>[e(V,{startTime:a.start_time,"onUpdate:startTime":n[2]||(n[2]=t=>a.start_time=t),endTime:a.end_time,"onUpdate:endTime":n[3]||(n[3]=t=>a.end_time=t)},null,8,["startTime","endTime"])]),_:1}),e(s,null,{default:o(()=>[e(f,{type:"primary",onClick:u(c)},{default:o(()=>[ne]),_:1},8,["onClick"]),e(f,{onClick:u(E)},{default:o(()=>[le]),_:1},8,["onClick"])]),_:1})]),_:1},8,["model"])]),_:1}),e(g,{class:"!border-none mt-4",shadow:"never"},{default:o(()=>[X((r(),h(A,{size:"large",data:u(i).lists},{default:o(()=>[e(l,{label:"\u7528\u6237\u7F16\u53F7",prop:"sn","min-width":"100"}),e(l,{label:"\u7528\u6237\u6635\u79F0","min-width":"160"},{default:o(({row:t})=>[m("div",ue,[e(T,{class:"flex-none mr-2",src:t.avatar,width:40,height:40,"preview-teleported":"",fit:"contain"},null,8,["src"]),p(" "+B(t.nickname),1)])]),_:1}),e(l,{label:"\u624B\u673A\u53F7\u7801",prop:"mobile","min-width":"100"}),e(l,{label:"\u53D8\u52A8\u91D1\u989D",prop:"change_amount","min-width":"100"},{default:o(({row:t})=>[m("span",{class:Y({"text-error":t.action==2})},B(t.change_amount),3)]),_:1}),e(l,{label:"\u5269\u4F59\u91D1\u989D",prop:"left_amount","min-width":"100"}),e(l,{label:"\u53D8\u52A8\u7C7B\u578B",prop:"change_type_desc","min-width":"120"}),e(l,{label:"\u6765\u6E90\u5355\u53F7",prop:"source_sn","min-width":"100"}),e(l,{label:"\u8BB0\u5F55\u65F6\u95F4",prop:"create_time","min-width":"120"})]),_:1},8,["data"])),[[L,u(i).loading]]),m("div",ie,[e(k,{modelValue:u(i),"onUpdate:modelValue":n[4]||(n[4]=t=>Z(i)?i.value=t:null),onChange:u(_)},null,8,["modelValue","onChange"])])]),_:1})])}}});export{We as default};
|
import{K as U,B as K,C as P,Q as N,R as I,w as R,D as S,I as $,L as z,M,N as O}from"./element-plus.54aed4cc.js";import{_ as j}from"./index.vue_vue_type_script_setup_true_lang.fccb4113.js";import{_ as q}from"./index.58a5fcc1.js";import{_ as Q}from"./index.vue_vue_type_script_setup_true_lang.6593fe88.js";import{d as w,$ as G,o as r,c as b,U as e,L as o,a9 as H,u,V as J,a7 as W,M as X,K as h,a as m,S as p,T as B,P as Y,k as Z}from"./@vue.e8706010.js";import{g as ee,a as te}from"./finance.a2a2c0cc.js";import{u as oe}from"./useDictOptions.498320cb.js";import{u as ae}from"./usePaging.160b82b8.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./lodash.c4b79a6f.js";import"./vue-router.12d45bc3.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";const ne=p("\u67E5\u8BE2"),le=p("\u91CD\u7F6E"),ue={class:"flex items-center"},ie={class:"flex justify-end mt-4"},se=w({name:"articleLists"}),We=w({...se,setup(re){const a=G({user_info:"",change_type:"",start_time:"",end_time:""}),{pager:i,getLists:_,resetPage:c,resetParams:E}=ae({fetchFun:te,params:a}),{optionsData:C}=oe({change_type:{api:ee}});return _(),(me,n)=>{const D=U,v=K,s=P,d=N,y=I,V=Q,f=R,x=S,g=$,l=z,T=q,A=M,k=j,L=O;return r(),b("div",null,[e(g,{class:"!border-none",shadow:"never"},{default:o(()=>[e(D,{type:"warning",title:"\u6E29\u99A8\u63D0\u793A\uFF1A\u7528\u6237\u8D26\u6237\u53D8\u52A8\u8BB0\u5F55",closable:!1,"show-icon":""}),e(x,{ref:"formRef",class:"mb-[-16px] mt-[16px]",model:a,inline:!0},{default:o(()=>[e(s,{label:"\u7528\u6237\u4FE1\u606F"},{default:o(()=>[e(v,{class:"w-[280px]",modelValue:a.user_info,"onUpdate:modelValue":n[0]||(n[0]=t=>a.user_info=t),placeholder:"\u8BF7\u8F93\u5165\u7528\u6237\u7F16\u53F7/\u6635\u79F0/\u624B\u673A\u53F7",clearable:"",onKeyup:H(u(c),["enter"])},null,8,["modelValue","onKeyup"])]),_:1}),e(s,{label:"\u53D8\u52A8\u7C7B\u578B"},{default:o(()=>[e(y,{class:"w-[280px]",modelValue:a.change_type,"onUpdate:modelValue":n[1]||(n[1]=t=>a.change_type=t)},{default:o(()=>[e(d,{label:"\u5168\u90E8",value:""}),(r(!0),b(J,null,W(u(C).change_type,(t,F)=>(r(),h(d,{key:F,label:t,value:F},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e(s,{label:"\u8BB0\u5F55\u65F6\u95F4"},{default:o(()=>[e(V,{startTime:a.start_time,"onUpdate:startTime":n[2]||(n[2]=t=>a.start_time=t),endTime:a.end_time,"onUpdate:endTime":n[3]||(n[3]=t=>a.end_time=t)},null,8,["startTime","endTime"])]),_:1}),e(s,null,{default:o(()=>[e(f,{type:"primary",onClick:u(c)},{default:o(()=>[ne]),_:1},8,["onClick"]),e(f,{onClick:u(E)},{default:o(()=>[le]),_:1},8,["onClick"])]),_:1})]),_:1},8,["model"])]),_:1}),e(g,{class:"!border-none mt-4",shadow:"never"},{default:o(()=>[X((r(),h(A,{size:"large",data:u(i).lists},{default:o(()=>[e(l,{label:"\u7528\u6237\u7F16\u53F7",prop:"sn","min-width":"100"}),e(l,{label:"\u7528\u6237\u6635\u79F0","min-width":"160"},{default:o(({row:t})=>[m("div",ue,[e(T,{class:"flex-none mr-2",src:t.avatar,width:40,height:40,"preview-teleported":"",fit:"contain"},null,8,["src"]),p(" "+B(t.nickname),1)])]),_:1}),e(l,{label:"\u624B\u673A\u53F7\u7801",prop:"mobile","min-width":"100"}),e(l,{label:"\u53D8\u52A8\u91D1\u989D",prop:"change_amount","min-width":"100"},{default:o(({row:t})=>[m("span",{class:Y({"text-error":t.action==2})},B(t.change_amount),3)]),_:1}),e(l,{label:"\u5269\u4F59\u91D1\u989D",prop:"left_amount","min-width":"100"}),e(l,{label:"\u53D8\u52A8\u7C7B\u578B",prop:"change_type_desc","min-width":"120"}),e(l,{label:"\u6765\u6E90\u5355\u53F7",prop:"source_sn","min-width":"100"}),e(l,{label:"\u8BB0\u5F55\u65F6\u95F4",prop:"create_time","min-width":"120"})]),_:1},8,["data"])),[[L,u(i).loading]]),m("div",ie,[e(k,{modelValue:u(i),"onUpdate:modelValue":n[4]||(n[4]=t=>Z(i)?i.value=t:null),onChange:u(_)},null,8,["modelValue","onChange"])])]),_:1})])}}});export{We as default};
|
|
@ -1 +1 @@
|
||||||
import{K as s,I as c,L as l,w as _,M as d}from"./element-plus.54aed4cc.js";import{s as F}from"./system.b5a96ecb.js";import{f as B}from"./index.17a19250.js";import{d as r,r as E,o as C,c as f,U as t,L as o,S as h}from"./@vue.e8706010.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./lodash.c4b79a6f.js";import"./vue-router.12d45bc3.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";const b={class:"cache"},D=h("\u6E05\u9664\u7CFB\u7EDF\u7F13\u5B58"),w=r({name:"cache"}),nt=r({...w,setup(A){const a=E([{content:"\u7CFB\u7EDF\u7F13\u5B58",desc:"\u7CFB\u7EDF\u8FD0\u884C\u8FC7\u7A0B\u4E2D\u4EA7\u751F\u7684\u5404\u7C7B\u7F13\u5B58\u6570\u636E"}]),i=async()=>{await B.confirm("\u786E\u8BA4\u6E05\u9664\u7CFB\u7EDF\u7F13\u5B58\uFF1F"),await F()};return(k,x)=>{const m=s,u=c,e=l,n=_,p=d;return C(),f("div",b,[t(u,{class:"!border-none",shadow:"never"},{default:o(()=>[t(m,{type:"warning",title:"\u6E29\u99A8\u63D0\u793A\uFF1A\u7BA1\u7406\u7CFB\u7EDF\u8FD0\u884C\u8FC7\u7A0B\u4E2D\u4EA7\u751F\u7684\u7F13\u5B58",closable:!1,"show-icon":""})]),_:1}),t(u,{class:"!border-none mt-4",shadow:"never"},{default:o(()=>[t(p,{data:a.value,size:"large"},{default:o(()=>[t(e,{label:"\u7BA1\u7406\u5185\u5BB9",prop:"content","min-width":"130"}),t(e,{label:"\u5185\u5BB9\u8BF4\u660E",prop:"desc","min-width":"180"}),t(e,{label:"\u64CD\u4F5C",width:"130",fixed:"right"},{default:o(()=>[t(n,{type:"primary",link:"",onClick:i},{default:o(()=>[D]),_:1})]),_:1})]),_:1},8,["data"])]),_:1})])}}});export{nt as default};
|
import{K as s,I as c,L as l,w as _,M as d}from"./element-plus.54aed4cc.js";import{s as F}from"./system.fd89f589.js";import{f as B}from"./index.58a5fcc1.js";import{d as r,r as E,o as C,c as f,U as t,L as o,S as h}from"./@vue.e8706010.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./lodash.c4b79a6f.js";import"./vue-router.12d45bc3.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";const b={class:"cache"},D=h("\u6E05\u9664\u7CFB\u7EDF\u7F13\u5B58"),w=r({name:"cache"}),nt=r({...w,setup(A){const a=E([{content:"\u7CFB\u7EDF\u7F13\u5B58",desc:"\u7CFB\u7EDF\u8FD0\u884C\u8FC7\u7A0B\u4E2D\u4EA7\u751F\u7684\u5404\u7C7B\u7F13\u5B58\u6570\u636E"}]),i=async()=>{await B.confirm("\u786E\u8BA4\u6E05\u9664\u7CFB\u7EDF\u7F13\u5B58\uFF1F"),await F()};return(k,x)=>{const m=s,u=c,e=l,n=_,p=d;return C(),f("div",b,[t(u,{class:"!border-none",shadow:"never"},{default:o(()=>[t(m,{type:"warning",title:"\u6E29\u99A8\u63D0\u793A\uFF1A\u7BA1\u7406\u7CFB\u7EDF\u8FD0\u884C\u8FC7\u7A0B\u4E2D\u4EA7\u751F\u7684\u7F13\u5B58",closable:!1,"show-icon":""})]),_:1}),t(u,{class:"!border-none mt-4",shadow:"never"},{default:o(()=>[t(p,{data:a.value,size:"large"},{default:o(()=>[t(e,{label:"\u7BA1\u7406\u5185\u5BB9",prop:"content","min-width":"130"}),t(e,{label:"\u5185\u5BB9\u8BF4\u660E",prop:"desc","min-width":"180"}),t(e,{label:"\u64CD\u4F5C",width:"130",fixed:"right"},{default:o(()=>[t(n,{type:"primary",link:"",onClick:i},{default:o(()=>[D]),_:1})]),_:1})]),_:1},8,["data"])]),_:1})])}}});export{nt as default};
|
|
@ -1 +1 @@
|
||||||
import"./code-preview.vue_vue_type_script_setup_true_lang.c068b17c.js";import{_ as L}from"./code-preview.vue_vue_type_script_setup_true_lang.c068b17c.js";import"./element-plus.54aed4cc.js";import"./@vue.e8706010.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./index.17a19250.js";import"./lodash.c4b79a6f.js";import"./vue-router.12d45bc3.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";export{L as default};
|
import"./code-preview.vue_vue_type_script_setup_true_lang.f60f3ee0.js";import{_ as L}from"./code-preview.vue_vue_type_script_setup_true_lang.f60f3ee0.js";import"./element-plus.54aed4cc.js";import"./@vue.e8706010.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./index.58a5fcc1.js";import"./lodash.c4b79a6f.js";import"./vue-router.12d45bc3.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";export{L as default};
|
|
@ -1 +1 @@
|
||||||
import{E as k,J as x,y as w,w as B,x as D}from"./element-plus.54aed4cc.js";import{f as r,b as T}from"./index.17a19250.js";import{u as N}from"./vue-clipboard3.8c1c7368.js";import{d as S,r as U,e as $,a4 as j,o as s,c as m,U as o,L as t,V as F,a7 as L,u as J,k as K,K as P,a as i,S as R}from"./@vue.e8706010.js";const q={class:"code-preview"},z={class:"flex",style:{height:"50vh"}},A=R(" \u590D\u5236 "),Q=S({__name:"code-preview",props:{modelValue:{type:Boolean},code:null},emits:["update:modelValue"],setup(c,{emit:p}){const _=c,{toClipboard:f}=N(),u=U("index0"),b=async l=>{try{await f(l),r.msgSuccess("\u590D\u5236\u6210\u529F")}catch{r.msgError("\u590D\u5236\u5931\u8D25")}},n=$({get(){return _.modelValue},set(l){p("update:modelValue",l)}});return(l,a)=>{const h=j("highlightjs"),V=k,v=T,g=B,y=D,C=w,E=x;return s(),m("div",q,[o(E,{modelValue:J(n),"onUpdate:modelValue":a[1]||(a[1]=e=>K(n)?n.value=e:null),width:"900px",title:"\u4EE3\u7801\u9884\u89C8"},{default:t(()=>[o(C,{modelValue:u.value,"onUpdate:modelValue":a[0]||(a[0]=e=>u.value=e)},{default:t(()=>[(s(!0),m(F,null,L(c.code,(e,d)=>(s(),P(y,{label:e.name,name:`index${d}`,key:d},{default:t(()=>[i("div",z,[o(V,{class:"flex-1"},{default:t(()=>[o(h,{autodetect:"",code:e.content},null,8,["code"])]),_:2},1024),i("div",null,[o(g,{onClick:G=>b(e.content),type:"primary",link:""},{icon:t(()=>[o(v,{name:"el-icon-CopyDocument"})]),default:t(()=>[A]),_:2},1032,["onClick"])])])]),_:2},1032,["label","name"]))),128))]),_:1},8,["modelValue"])]),_:1},8,["modelValue"])])}}});export{Q as _};
|
import{E as k,J as x,y as w,w as B,x as D}from"./element-plus.54aed4cc.js";import{f as r,b as T}from"./index.58a5fcc1.js";import{u as N}from"./vue-clipboard3.8c1c7368.js";import{d as S,r as U,e as $,a4 as j,o as s,c as m,U as o,L as t,V as F,a7 as L,u as J,k as K,K as P,a as i,S as R}from"./@vue.e8706010.js";const q={class:"code-preview"},z={class:"flex",style:{height:"50vh"}},A=R(" \u590D\u5236 "),Q=S({__name:"code-preview",props:{modelValue:{type:Boolean},code:null},emits:["update:modelValue"],setup(c,{emit:p}){const _=c,{toClipboard:f}=N(),u=U("index0"),b=async l=>{try{await f(l),r.msgSuccess("\u590D\u5236\u6210\u529F")}catch{r.msgError("\u590D\u5236\u5931\u8D25")}},n=$({get(){return _.modelValue},set(l){p("update:modelValue",l)}});return(l,a)=>{const h=j("highlightjs"),V=k,v=T,g=B,y=D,C=w,E=x;return s(),m("div",q,[o(E,{modelValue:J(n),"onUpdate:modelValue":a[1]||(a[1]=e=>K(n)?n.value=e:null),width:"900px",title:"\u4EE3\u7801\u9884\u89C8"},{default:t(()=>[o(C,{modelValue:u.value,"onUpdate:modelValue":a[0]||(a[0]=e=>u.value=e)},{default:t(()=>[(s(!0),m(F,null,L(c.code,(e,d)=>(s(),P(y,{label:e.name,name:`index${d}`,key:d},{default:t(()=>[i("div",z,[o(V,{class:"flex-1"},{default:t(()=>[o(h,{autodetect:"",code:e.content},null,8,["code"])]),_:2},1024),i("div",null,[o(g,{onClick:G=>b(e.content),type:"primary",link:""},{icon:t(()=>[o(v,{name:"el-icon-CopyDocument"})]),default:t(()=>[A]),_:2},1032,["onClick"])])])]),_:2},1032,["label","name"]))),128))]),_:1},8,["modelValue"])]),_:1},8,["modelValue"])])}}});export{Q as _};
|
|
@ -1 +1 @@
|
||||||
import{r as t}from"./index.17a19250.js";function o(e){return t.get({url:"/tools.generator/generateTable",params:e})}function n(e){return t.get({url:"/tools.generator/dataTable",params:e})}function a(e){return t.post({url:"/tools.generator/selectTable",params:e})}function l(e){return t.get({url:"/tools.generator/detail",params:e})}function s(e){return t.post({url:"/tools.generator/syncColumn",params:e})}function u(e){return t.post({url:"/tools.generator/delete",params:e})}function g(e){return t.post({url:"/tools.generator/edit",params:e})}function i(e){return t.post({url:"/tools.generator/preview",params:e})}function c(e){return t.post({url:"/tools.generator/generate",params:e})}function f(){return t.get({url:"/tools.generator/getModels"})}export{f as a,o as b,u as c,i as d,c as e,n as f,g,a as h,s,l as t};
|
import{r as t}from"./index.58a5fcc1.js";function o(e){return t.get({url:"/tools.generator/generateTable",params:e})}function n(e){return t.get({url:"/tools.generator/dataTable",params:e})}function a(e){return t.post({url:"/tools.generator/selectTable",params:e})}function l(e){return t.get({url:"/tools.generator/detail",params:e})}function s(e){return t.post({url:"/tools.generator/syncColumn",params:e})}function u(e){return t.post({url:"/tools.generator/delete",params:e})}function g(e){return t.post({url:"/tools.generator/edit",params:e})}function i(e){return t.post({url:"/tools.generator/preview",params:e})}function c(e){return t.post({url:"/tools.generator/generate",params:e})}function f(){return t.get({url:"/tools.generator/getModels"})}export{f as a,o as b,u as c,i as d,c as e,n as f,g,a as h,s,l as t};
|
File diff suppressed because one or more lines are too long
|
@ -1 +1 @@
|
||||||
import{r}from"./index.17a19250.js";function u(e){return r.get({url:"/user.user/lists",params:e},{ignoreCancelToken:!0})}function s(e){return r.get({url:"/user.user/detail",params:e})}function n(e){return r.post({url:"/user.user/edit",params:e})}function o(e){return r.post({url:"/user.user/adjustMoney",params:e})}export{o as a,u as b,s as g,n as u};
|
import{r}from"./index.58a5fcc1.js";function u(e){return r.get({url:"/user.user/lists",params:e},{ignoreCancelToken:!0})}function s(e){return r.get({url:"/user.user/detail",params:e})}function n(e){return r.post({url:"/user.user/edit",params:e})}function o(e){return r.post({url:"/user.user/adjustMoney",params:e})}export{o as a,u as b,s as g,n as u};
|
|
@ -1 +1 @@
|
||||||
import{d as r,b as i}from"./index.17a19250.js";import{o as e,c as m,a as t,U as c,b7 as s,b6 as a}from"./@vue.e8706010.js";import"./element-plus.54aed4cc.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./lodash.c4b79a6f.js";import"./vue-router.12d45bc3.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";const _={},n=o=>(s("data-v-3514bdd8"),o=o(),a(),o),d={class:"search"},l={class:"search-con flex items-center px-[15px]"},f=n(()=>t("span",{class:"ml-[5px]"},"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u641C\u7D22",-1));function h(o,x){const p=i;return e(),m("div",d,[t("div",l,[c(p,{name:"el-icon-Search",size:17}),f])])}const X=r(_,[["render",h],["__scopeId","data-v-3514bdd8"]]);export{X as default};
|
import{d as r,b as i}from"./index.58a5fcc1.js";import{o as e,c as m,a as t,U as c,b7 as s,b6 as a}from"./@vue.e8706010.js";import"./element-plus.54aed4cc.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./lodash.c4b79a6f.js";import"./vue-router.12d45bc3.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";const _={},n=o=>(s("data-v-3514bdd8"),o=o(),a(),o),d={class:"search"},l={class:"search-con flex items-center px-[15px]"},f=n(()=>t("span",{class:"ml-[5px]"},"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u641C\u7D22",-1));function h(o,x){const p=i;return e(),m("div",d,[t("div",l,[c(p,{name:"el-icon-Search",size:17}),f])])}const X=r(_,[["render",h],["__scopeId","data-v-3514bdd8"]]);export{X as default};
|
|
@ -1 +1 @@
|
||||||
import{d as r}from"./index.17a19250.js";import{o as i,c as e,b7 as m,b6 as s,a as o}from"./@vue.e8706010.js";import"./element-plus.54aed4cc.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./lodash.c4b79a6f.js";import"./vue-router.12d45bc3.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";const c="/admin/assets/default_avatar.fa19527b.png";const _={},p=t=>(m("data-v-4b1b613f"),t=t(),s(),t),a={class:"user-info flex items-center px-[25px]"},n=p(()=>o("img",{src:c,class:"w-[60px] h-[60px]",alt:""},null,-1)),d=p(()=>o("div",{class:"text-white text-[18px] ml-[10px]"},"\u672A\u767B\u5F55",-1)),l=[n,d];function f(t,x){return i(),e("div",a,l)}const X=r(_,[["render",f],["__scopeId","data-v-4b1b613f"]]);export{X as default};
|
import{d as r}from"./index.58a5fcc1.js";import{o as i,c as e,b7 as m,b6 as s,a as o}from"./@vue.e8706010.js";import"./element-plus.54aed4cc.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./lodash.c4b79a6f.js";import"./vue-router.12d45bc3.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";const c="/admin/assets/default_avatar.fa19527b.png";const _={},p=t=>(m("data-v-4b1b613f"),t=t(),s(),t),a={class:"user-info flex items-center px-[25px]"},n=p(()=>o("img",{src:c,class:"w-[60px] h-[60px]",alt:""},null,-1)),d=p(()=>o("div",{class:"text-white text-[18px] ml-[10px]"},"\u672A\u767B\u5F55",-1)),l=[n,d];function f(t,x){return i(),e("div",a,l)}const X=r(_,[["render",f],["__scopeId","data-v-4b1b613f"]]);export{X as default};
|
|
@ -1 +1 @@
|
||||||
import{b as n,d as m}from"./index.17a19250.js";import{g as d}from"./decoration.1c08db92.js";import{d as l,r as _,o as s,c as i,V as x,a7 as f,a as t,R as u,T as c,U as v,b7 as b,b6 as h}from"./@vue.e8706010.js";import"./element-plus.54aed4cc.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./lodash.c4b79a6f.js";import"./vue-router.12d45bc3.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";const y=o=>(b("data-v-18ea8db2"),o=o(),h(),o),w={class:"news"},g=y(()=>t("div",{class:"flex items-center news-title mx-[10px] my-[15px] text-[17px] font-medium"}," \u6700\u65B0\u8D44\u8BAF ",-1)),j={key:0,class:"mr-[10px]"},k=["src"],B={class:"flex flex-col justify-between flex-1"},D={class:"text-[15px] font-medium line-clamp-2"},V={class:"line-clamp-1 text-sm mt-[8px]"},I={class:"text-[#999] text-xs w-full flex justify-between mt-[8px]"},S={class:"flex items-center"},N={class:"ml-[5px]"},A=l({__name:"content",props:{content:{type:Object,default:()=>({})},styles:{type:Object,default:()=>({})}},setup(o){const p=_([]);return(async()=>{const r=await d({limit:10});p.value=r})(),(r,F)=>{const a=n;return s(),i("div",w,[g,(s(!0),i(x,null,f(p.value,e=>(s(),i("div",{key:e.id,class:"news-card flex bg-white px-[10px] py-[16px] text-[#333] border-[#f2f2f2] border-b"},[e.image?(s(),i("div",j,[t("img",{src:e.image,class:"w-[120px] h-[90px] object-contain"},null,8,k)])):u("",!0),t("div",B,[t("div",D,c(e.title),1),t("div",V,c(e.desc),1),t("div",I,[t("div",null,c(e.create_time),1),t("div",S,[v(a,{name:"el-icon-View"}),t("div",N,c(e.click),1)])])])]))),128))])}}});const ft=m(A,[["__scopeId","data-v-18ea8db2"]]);export{ft as default};
|
import{b as n,d as m}from"./index.58a5fcc1.js";import{g as d}from"./decoration.a9a47840.js";import{d as l,r as _,o as s,c as i,V as x,a7 as f,a as t,R as u,T as c,U as v,b7 as b,b6 as h}from"./@vue.e8706010.js";import"./element-plus.54aed4cc.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./lodash.c4b79a6f.js";import"./vue-router.12d45bc3.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";const y=o=>(b("data-v-18ea8db2"),o=o(),h(),o),w={class:"news"},g=y(()=>t("div",{class:"flex items-center news-title mx-[10px] my-[15px] text-[17px] font-medium"}," \u6700\u65B0\u8D44\u8BAF ",-1)),j={key:0,class:"mr-[10px]"},k=["src"],B={class:"flex flex-col justify-between flex-1"},D={class:"text-[15px] font-medium line-clamp-2"},V={class:"line-clamp-1 text-sm mt-[8px]"},I={class:"text-[#999] text-xs w-full flex justify-between mt-[8px]"},S={class:"flex items-center"},N={class:"ml-[5px]"},A=l({__name:"content",props:{content:{type:Object,default:()=>({})},styles:{type:Object,default:()=>({})}},setup(o){const p=_([]);return(async()=>{const r=await d({limit:10});p.value=r})(),(r,F)=>{const a=n;return s(),i("div",w,[g,(s(!0),i(x,null,f(p.value,e=>(s(),i("div",{key:e.id,class:"news-card flex bg-white px-[10px] py-[16px] text-[#333] border-[#f2f2f2] border-b"},[e.image?(s(),i("div",j,[t("img",{src:e.image,class:"w-[120px] h-[90px] object-contain"},null,8,k)])):u("",!0),t("div",B,[t("div",D,c(e.title),1),t("div",V,c(e.desc),1),t("div",I,[t("div",null,c(e.create_time),1),t("div",S,[v(a,{name:"el-icon-View"}),t("div",N,c(e.click),1)])])])]))),128))])}}});const ft=m(A,[["__scopeId","data-v-18ea8db2"]]);export{ft as default};
|
|
@ -1 +1 @@
|
||||||
import"./content.vue_vue_type_script_setup_true_lang.3abb1734.js";import{_ as M}from"./content.vue_vue_type_script_setup_true_lang.3abb1734.js";import"./decoration-img.b4fb40ac.js";import"./element-plus.54aed4cc.js";import"./@vue.e8706010.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./index.17a19250.js";import"./lodash.c4b79a6f.js";import"./vue-router.12d45bc3.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";export{M as default};
|
import"./content.vue_vue_type_script_setup_true_lang.c6f60101.js";import{_ as M}from"./content.vue_vue_type_script_setup_true_lang.c6f60101.js";import"./decoration-img.816badc8.js";import"./element-plus.54aed4cc.js";import"./@vue.e8706010.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./index.58a5fcc1.js";import"./lodash.c4b79a6f.js";import"./vue-router.12d45bc3.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";export{M as default};
|
|
@ -1 +1 @@
|
||||||
import i from"./decoration-img.b4fb40ac.js";import{d as p,o as r,c as m,U as c,a as o,T as e,b7 as s,b6 as n}from"./@vue.e8706010.js";import{d as a}from"./index.17a19250.js";import"./element-plus.54aed4cc.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./lodash.c4b79a6f.js";import"./vue-router.12d45bc3.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";const d=t=>(s("data-v-2cdedb7a"),t=t(),n(),t),u={class:"customer-service"},_={class:"text-[15px] mt-[7px] font-medium"},l={class:"text-[#666] mt-[20px]"},x={class:"text-[#666] mt-[7px]"},f=d(()=>o("div",{class:"text-white text-[16px] rounded-[42px] bg-[#4173FF] w-full h-[42px] flex justify-center items-center mt-[50px]"}," \u4FDD\u5B58\u4E8C\u7EF4\u7801\u56FE\u7247 ",-1)),h=p({__name:"content",props:{content:{type:Object,default:()=>({})},styles:{type:Object,default:()=>({})}},setup(t){return(F,v)=>(r(),m("div",u,[c(i,{width:"140px",height:"140px",src:t.content.qrcode,alt:""},null,8,["src"]),o("div",_,e(t.content.title),1),o("div",l,"\u670D\u52A1\u65F6\u95F4\uFF1A"+e(t.content.time),1),o("div",x,"\u5BA2\u670D\u7535\u8BDD\uFF1A"+e(t.content.mobile),1),f]))}});const ot=a(h,[["__scopeId","data-v-2cdedb7a"]]);export{ot as default};
|
import i from"./decoration-img.816badc8.js";import{d as p,o as r,c as m,U as c,a as o,T as e,b7 as s,b6 as n}from"./@vue.e8706010.js";import{d as a}from"./index.58a5fcc1.js";import"./element-plus.54aed4cc.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./lodash.c4b79a6f.js";import"./vue-router.12d45bc3.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";const d=t=>(s("data-v-2cdedb7a"),t=t(),n(),t),u={class:"customer-service"},_={class:"text-[15px] mt-[7px] font-medium"},l={class:"text-[#666] mt-[20px]"},x={class:"text-[#666] mt-[7px]"},f=d(()=>o("div",{class:"text-white text-[16px] rounded-[42px] bg-[#4173FF] w-full h-[42px] flex justify-center items-center mt-[50px]"}," \u4FDD\u5B58\u4E8C\u7EF4\u7801\u56FE\u7247 ",-1)),h=p({__name:"content",props:{content:{type:Object,default:()=>({})},styles:{type:Object,default:()=>({})}},setup(t){return(F,v)=>(r(),m("div",u,[c(i,{width:"140px",height:"140px",src:t.content.qrcode,alt:""},null,8,["src"]),o("div",_,e(t.content.title),1),o("div",l,"\u670D\u52A1\u65F6\u95F4\uFF1A"+e(t.content.time),1),o("div",x,"\u5BA2\u670D\u7535\u8BDD\uFF1A"+e(t.content.mobile),1),f]))}});const ot=a(h,[["__scopeId","data-v-2cdedb7a"]]);export{ot as default};
|
|
@ -1 +1 @@
|
||||||
import"./content.vue_vue_type_script_setup_true_lang.4abc445a.js";import{_ as M}from"./content.vue_vue_type_script_setup_true_lang.4abc445a.js";import"./decoration-img.b4fb40ac.js";import"./element-plus.54aed4cc.js";import"./@vue.e8706010.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./index.17a19250.js";import"./lodash.c4b79a6f.js";import"./vue-router.12d45bc3.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";export{M as default};
|
import"./content.vue_vue_type_script_setup_true_lang.dfd3155e.js";import{_ as M}from"./content.vue_vue_type_script_setup_true_lang.dfd3155e.js";import"./decoration-img.816badc8.js";import"./element-plus.54aed4cc.js";import"./@vue.e8706010.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./index.58a5fcc1.js";import"./lodash.c4b79a6f.js";import"./vue-router.12d45bc3.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";export{M as default};
|
|
@ -1 +1 @@
|
||||||
import{b as x,d as _}from"./index.17a19250.js";import c from"./decoration-img.b4fb40ac.js";import{d as u,o as t,c as e,a as r,T as s,R as p,V as a,a7 as l,U as m}from"./@vue.e8706010.js";import"./element-plus.54aed4cc.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./lodash.c4b79a6f.js";import"./vue-router.12d45bc3.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";const f={class:"my-service"},h={key:0,class:"title px-[15px] py-[10px]"},y={key:1,class:"flex flex-wrap pt-[20px] pb-[10px]"},v={class:"mt-[7px]"},b={key:2},g={class:"ml-[10px] flex-1"},k=u({__name:"content",props:{content:{type:Object,default:()=>({})},styles:{type:Object,default:()=>({})}},setup(o){return(w,V)=>{const d=x;return t(),e("div",f,[o.content.title?(t(),e("div",h,[r("div",null,s(o.content.title),1)])):p("",!0),o.content.style==1?(t(),e("div",y,[(t(!0),e(a,null,l(o.content.data,(i,n)=>(t(),e("div",{key:n,class:"flex flex-col items-center w-1/4 mb-[15px]"},[m(c,{width:"26px",height:"26px",src:i.image,alt:""},null,8,["src"]),r("div",v,s(i.name),1)]))),128))])):p("",!0),o.content.style==2?(t(),e("div",b,[(t(!0),e(a,null,l(o.content.data,(i,n)=>(t(),e("div",{key:n,class:"flex items-center border-b border-[#e5e5e5] h-[50px] px-[12px]"},[m(c,{width:"24px",height:"24px",src:i.image,alt:""},null,8,["src"]),r("div",g,s(i.name),1),r("div",null,[m(d,{name:"el-icon-ArrowRight"})])]))),128))])):p("",!0)])}}});const st=_(k,[["__scopeId","data-v-26886ebe"]]);export{st as default};
|
import{b as x,d as _}from"./index.58a5fcc1.js";import c from"./decoration-img.816badc8.js";import{d as u,o as t,c as e,a as r,T as s,R as p,V as a,a7 as l,U as m}from"./@vue.e8706010.js";import"./element-plus.54aed4cc.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./lodash.c4b79a6f.js";import"./vue-router.12d45bc3.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";const f={class:"my-service"},h={key:0,class:"title px-[15px] py-[10px]"},y={key:1,class:"flex flex-wrap pt-[20px] pb-[10px]"},v={class:"mt-[7px]"},b={key:2},g={class:"ml-[10px] flex-1"},k=u({__name:"content",props:{content:{type:Object,default:()=>({})},styles:{type:Object,default:()=>({})}},setup(o){return(w,V)=>{const d=x;return t(),e("div",f,[o.content.title?(t(),e("div",h,[r("div",null,s(o.content.title),1)])):p("",!0),o.content.style==1?(t(),e("div",y,[(t(!0),e(a,null,l(o.content.data,(i,n)=>(t(),e("div",{key:n,class:"flex flex-col items-center w-1/4 mb-[15px]"},[m(c,{width:"26px",height:"26px",src:i.image,alt:""},null,8,["src"]),r("div",v,s(i.name),1)]))),128))])):p("",!0),o.content.style==2?(t(),e("div",b,[(t(!0),e(a,null,l(o.content.data,(i,n)=>(t(),e("div",{key:n,class:"flex items-center border-b border-[#e5e5e5] h-[50px] px-[12px]"},[m(c,{width:"24px",height:"24px",src:i.image,alt:""},null,8,["src"]),r("div",g,s(i.name),1),r("div",null,[m(d,{name:"el-icon-ArrowRight"})])]))),128))])):p("",!0)])}}});const st=_(k,[["__scopeId","data-v-26886ebe"]]);export{st as default};
|
|
@ -1 +1 @@
|
||||||
import"./content.vue_vue_type_script_setup_true_lang.cd4f7cae.js";import{_ as M}from"./content.vue_vue_type_script_setup_true_lang.cd4f7cae.js";import"./decoration-img.b4fb40ac.js";import"./element-plus.54aed4cc.js";import"./@vue.e8706010.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./index.17a19250.js";import"./lodash.c4b79a6f.js";import"./vue-router.12d45bc3.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";export{M as default};
|
import"./content.vue_vue_type_script_setup_true_lang.d478cc59.js";import{_ as M}from"./content.vue_vue_type_script_setup_true_lang.d478cc59.js";import"./decoration-img.816badc8.js";import"./element-plus.54aed4cc.js";import"./@vue.e8706010.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./index.58a5fcc1.js";import"./lodash.c4b79a6f.js";import"./vue-router.12d45bc3.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";export{M as default};
|
|
@ -1 +1 @@
|
||||||
import s from"./decoration-img.b4fb40ac.js";import{d as c,e as r,o,c as i,a as l,U as h,u as m,_ as u}from"./@vue.e8706010.js";const d={class:"banner-image w-full h-full"},p=c({__name:"content",props:{content:{type:Object,default:()=>({})},styles:{type:Object,default:()=>({})},height:{type:String,default:"170px"}},setup(e){const a=e,n=r(()=>{const{data:t}=a.content;return Array.isArray(t)&&t[0]?t[0].image:""});return(t,f)=>(o(),i("div",{class:"banner",style:u(e.styles)},[l("div",d,[h(s,{width:"100%",height:e.styles.height||e.height,src:m(n),fit:"contain"},null,8,["height","src"])])],4))}});export{p as _};
|
import s from"./decoration-img.816badc8.js";import{d as c,e as r,o,c as i,a as l,U as h,u as m,_ as u}from"./@vue.e8706010.js";const d={class:"banner-image w-full h-full"},p=c({__name:"content",props:{content:{type:Object,default:()=>({})},styles:{type:Object,default:()=>({})},height:{type:String,default:"170px"}},setup(e){const a=e,n=r(()=>{const{data:t}=a.content;return Array.isArray(t)&&t[0]?t[0].image:""});return(t,f)=>(o(),i("div",{class:"banner",style:u(e.styles)},[l("div",d,[h(s,{width:"100%",height:e.styles.height||e.height,src:m(n),fit:"contain"},null,8,["height","src"])])],4))}});export{p as _};
|
|
@ -1 +1 @@
|
||||||
import o from"./decoration-img.b4fb40ac.js";import{d as r,o as e,c as t,a,V as l,a7 as p,U as i,T as d}from"./@vue.e8706010.js";const m={class:"nav bg-white pt-[15px] pb-[8px]"},_={class:"flex flex-wrap"},x={class:"mt-[7px]"},b=r({__name:"content",props:{content:{type:Object,default:()=>({})},styles:{type:Object,default:()=>({})}},setup(n){return(f,u)=>(e(),t("div",m,[a("div",_,[(e(!0),t(l,null,p(n.content.data,(s,c)=>(e(),t("div",{key:c,class:"flex flex-col items-center w-1/5 mb-[15px]"},[i(o,{width:"41px",height:"41px",src:s.image,alt:""},null,8,["src"]),a("div",x,d(s.name),1)]))),128))])]))}});export{b as _};
|
import o from"./decoration-img.816badc8.js";import{d as r,o as e,c as t,a,V as l,a7 as p,U as i,T as d}from"./@vue.e8706010.js";const m={class:"nav bg-white pt-[15px] pb-[8px]"},_={class:"flex flex-wrap"},x={class:"mt-[7px]"},b=r({__name:"content",props:{content:{type:Object,default:()=>({})},styles:{type:Object,default:()=>({})}},setup(n){return(f,u)=>(e(),t("div",m,[a("div",_,[(e(!0),t(l,null,p(n.content.data,(s,c)=>(e(),t("div",{key:c,class:"flex flex-col items-center w-1/5 mb-[15px]"},[i(o,{width:"41px",height:"41px",src:s.image,alt:""},null,8,["src"]),a("div",x,d(s.name),1)]))),128))])]))}});export{b as _};
|
|
@ -1 +1 @@
|
||||||
import o from"./decoration-img.b4fb40ac.js";import{d as s,e as c,o as r,c as i,a as p,U as m,u as d}from"./@vue.e8706010.js";const u={class:"banner mx-[10px] mt-[10px]"},_={class:"banner-image"},h=s({__name:"content",props:{content:{type:Object,default:()=>({})},styles:{type:Object,default:()=>({})}},setup(t){const n=t,a=c(()=>{const{data:e}=n.content;return Array.isArray(e)&&e[0]?e[0].image:""});return(e,l)=>(r(),i("div",u,[p("div",_,[m(o,{width:"100%",height:"100px",src:d(a),fit:"contain"},null,8,["src"])])]))}});export{h as _};
|
import o from"./decoration-img.816badc8.js";import{d as s,e as c,o as r,c as i,a as p,U as m,u as d}from"./@vue.e8706010.js";const u={class:"banner mx-[10px] mt-[10px]"},_={class:"banner-image"},h=s({__name:"content",props:{content:{type:Object,default:()=>({})},styles:{type:Object,default:()=>({})}},setup(t){const n=t,a=c(()=>{const{data:e}=n.content;return Array.isArray(e)&&e[0]?e[0].image:""});return(e,l)=>(r(),i("div",u,[p("div",_,[m(o,{width:"100%",height:"100px",src:d(a),fit:"contain"},null,8,["src"])])]))}});export{h as _};
|
|
@ -1 +1 @@
|
||||||
import"./data-table.vue_vue_type_script_setup_true_lang.205cad3e.js";import{_ as P}from"./data-table.vue_vue_type_script_setup_true_lang.205cad3e.js";import"./element-plus.54aed4cc.js";import"./@vue.e8706010.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./index.44544070.js";import"./index.17a19250.js";import"./lodash.c4b79a6f.js";import"./vue-router.12d45bc3.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";import"./index.vue_vue_type_script_setup_true_lang.fccb4113.js";import"./usePaging.160b82b8.js";import"./code.38c2db44.js";export{P as default};
|
import"./data-table.vue_vue_type_script_setup_true_lang.498641be.js";import{_ as P}from"./data-table.vue_vue_type_script_setup_true_lang.498641be.js";import"./element-plus.54aed4cc.js";import"./@vue.e8706010.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./index.a3400ab9.js";import"./index.58a5fcc1.js";import"./lodash.c4b79a6f.js";import"./vue-router.12d45bc3.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";import"./index.vue_vue_type_script_setup_true_lang.fccb4113.js";import"./usePaging.160b82b8.js";import"./code.62997753.js";export{P as default};
|
|
@ -1 +1 @@
|
||||||
import{B,C as x,w as D,D as K,L as P,M as T,N as L}from"./element-plus.54aed4cc.js";import{d as N,s as R,$ as S,r as U,w as M,o as h,c as b,U as e,L as t,H as $,a9 as g,u as l,M as z,a as I,k as j,S as C}from"./@vue.e8706010.js";import{P as A}from"./index.44544070.js";import{_ as H}from"./index.vue_vue_type_script_setup_true_lang.fccb4113.js";import{u as q}from"./usePaging.160b82b8.js";import{f as G,h as J}from"./code.38c2db44.js";import{f as O}from"./index.17a19250.js";const Q={class:"data-table"},W=C("\u67E5\u8BE2"),X=C("\u91CD\u7F6E"),Y={class:"m-4"},Z={class:"flex justify-end mt-4"},me=N({__name:"data-table",emits:["success"],setup(ee,{emit:F}){const r=R(),s=S({name:"",comment:""}),{pager:n,getLists:_,resetParams:w,resetPage:c}=q({fetchFun:G,params:s,size:10}),d=U([]),E=a=>{d.value=a.map(({name:o,comment:m})=>({name:o,comment:m}))},v=async()=>{var a;if(!d.value.length)return O.msgError("\u8BF7\u9009\u62E9\u6570\u636E\u8868");await J({table:d.value}),(a=r.value)==null||a.close(),F("success")};return M(()=>{var a;return(a=r.value)==null?void 0:a.visible},a=>{a&&_()}),(a,o)=>{const m=B,p=x,f=D,y=K,i=P,V=T,k=L;return h(),b("div",Q,[e(A,{ref_key:"popupRef",ref:r,clickModalClose:!1,title:"\u9009\u62E9\u8868",width:"900px",async:!0,onConfirm:v},{trigger:t(()=>[$(a.$slots,"default")]),default:t(()=>[e(y,{class:"ls-form",model:s,inline:""},{default:t(()=>[e(p,{label:"\u8868\u540D\u79F0"},{default:t(()=>[e(m,{class:"w-[280px]",modelValue:s.name,"onUpdate:modelValue":o[0]||(o[0]=u=>s.name=u),clearable:"",onKeyup:g(l(c),["enter"])},null,8,["modelValue","onKeyup"])]),_:1}),e(p,{label:"\u8868\u63CF\u8FF0"},{default:t(()=>[e(m,{class:"w-[280px]",modelValue:s.comment,"onUpdate:modelValue":o[1]||(o[1]=u=>s.comment=u),clearable:"",onKeyup:g(l(c),["enter"])},null,8,["modelValue","onKeyup"])]),_:1}),e(p,null,{default:t(()=>[e(f,{type:"primary",onClick:l(c)},{default:t(()=>[W]),_:1},8,["onClick"]),e(f,{onClick:l(w)},{default:t(()=>[X]),_:1},8,["onClick"])]),_:1})]),_:1},8,["model"]),z((h(),b("div",Y,[e(V,{height:"400",size:"large",data:l(n).lists,onSelectionChange:E},{default:t(()=>[e(i,{type:"selection",width:"55"}),e(i,{label:"\u8868\u540D\u79F0",prop:"name","min-width":"150"}),e(i,{label:"\u8868\u63CF\u8FF0",prop:"comment","min-width":"160"}),e(i,{label:"\u521B\u5EFA\u65F6\u95F4",prop:"create_time","min-width":"180"})]),_:1},8,["data"])])),[[k,l(n).loading]]),I("div",Z,[e(H,{modelValue:l(n),"onUpdate:modelValue":o[2]||(o[2]=u=>j(n)?n.value=u:null),onChange:l(_)},null,8,["modelValue","onChange"])])]),_:3},512)])}}});export{me as _};
|
import{B,C as x,w as D,D as K,L as P,M as T,N as L}from"./element-plus.54aed4cc.js";import{d as N,s as R,$ as S,r as U,w as M,o as h,c as b,U as e,L as t,H as $,a9 as g,u as l,M as z,a as I,k as j,S as C}from"./@vue.e8706010.js";import{P as A}from"./index.a3400ab9.js";import{_ as H}from"./index.vue_vue_type_script_setup_true_lang.fccb4113.js";import{u as q}from"./usePaging.160b82b8.js";import{f as G,h as J}from"./code.62997753.js";import{f as O}from"./index.58a5fcc1.js";const Q={class:"data-table"},W=C("\u67E5\u8BE2"),X=C("\u91CD\u7F6E"),Y={class:"m-4"},Z={class:"flex justify-end mt-4"},me=N({__name:"data-table",emits:["success"],setup(ee,{emit:F}){const r=R(),s=S({name:"",comment:""}),{pager:n,getLists:_,resetParams:w,resetPage:c}=q({fetchFun:G,params:s,size:10}),d=U([]),E=a=>{d.value=a.map(({name:o,comment:m})=>({name:o,comment:m}))},v=async()=>{var a;if(!d.value.length)return O.msgError("\u8BF7\u9009\u62E9\u6570\u636E\u8868");await J({table:d.value}),(a=r.value)==null||a.close(),F("success")};return M(()=>{var a;return(a=r.value)==null?void 0:a.visible},a=>{a&&_()}),(a,o)=>{const m=B,p=x,f=D,y=K,i=P,V=T,k=L;return h(),b("div",Q,[e(A,{ref_key:"popupRef",ref:r,clickModalClose:!1,title:"\u9009\u62E9\u8868",width:"900px",async:!0,onConfirm:v},{trigger:t(()=>[$(a.$slots,"default")]),default:t(()=>[e(y,{class:"ls-form",model:s,inline:""},{default:t(()=>[e(p,{label:"\u8868\u540D\u79F0"},{default:t(()=>[e(m,{class:"w-[280px]",modelValue:s.name,"onUpdate:modelValue":o[0]||(o[0]=u=>s.name=u),clearable:"",onKeyup:g(l(c),["enter"])},null,8,["modelValue","onKeyup"])]),_:1}),e(p,{label:"\u8868\u63CF\u8FF0"},{default:t(()=>[e(m,{class:"w-[280px]",modelValue:s.comment,"onUpdate:modelValue":o[1]||(o[1]=u=>s.comment=u),clearable:"",onKeyup:g(l(c),["enter"])},null,8,["modelValue","onKeyup"])]),_:1}),e(p,null,{default:t(()=>[e(f,{type:"primary",onClick:l(c)},{default:t(()=>[W]),_:1},8,["onClick"]),e(f,{onClick:l(w)},{default:t(()=>[X]),_:1},8,["onClick"])]),_:1})]),_:1},8,["model"]),z((h(),b("div",Y,[e(V,{height:"400",size:"large",data:l(n).lists,onSelectionChange:E},{default:t(()=>[e(i,{type:"selection",width:"55"}),e(i,{label:"\u8868\u540D\u79F0",prop:"name","min-width":"150"}),e(i,{label:"\u8868\u63CF\u8FF0",prop:"comment","min-width":"160"}),e(i,{label:"\u521B\u5EFA\u65F6\u95F4",prop:"create_time","min-width":"180"})]),_:1},8,["data"])])),[[k,l(n).loading]]),I("div",Z,[e(H,{modelValue:l(n),"onUpdate:modelValue":o[2]||(o[2]=u=>j(n)?n.value=u:null),onChange:l(_)},null,8,["modelValue","onChange"])])]),_:3},512)])}}});export{me as _};
|
|
@ -1 +1 @@
|
||||||
import{i as n,b as _}from"./element-plus.54aed4cc.js";import{u,g as e,b as l,d as g}from"./index.17a19250.js";import{d as h,e as f,o as b,K as I,L as r,I as y,u as i,a as p,U as S,b7 as v,b6 as w}from"./@vue.e8706010.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./lodash.c4b79a6f.js";import"./vue-router.12d45bc3.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";const N=t=>(v("data-v-8b12a43d"),t=t(),w(),t),x=N(()=>p("div",{class:"image-slot"},null,-1)),B={class:"image-slot"},P=h({__name:"decoration-img",props:{width:{type:[String,Number],default:"auto"},height:{type:[String,Number],default:"auto"},radius:{type:[String,Number],default:0},...n},setup(t){const o=t,{getImageUrl:s}=u(),a=f(()=>({width:e(o.width),height:e(o.height),borderRadius:e(o.radius)}));return(m,U)=>{const c=l,d=_;return b(),I(d,y({style:i(a)},o,{src:i(s)(m.src)}),{placeholder:r(()=>[x]),error:r(()=>[p("div",B,[S(c,{name:"el-icon-Picture",size:30})])]),_:1},16,["style","src"])}}});const ct=g(P,[["__scopeId","data-v-8b12a43d"]]);export{ct as default};
|
import{i as n,b as _}from"./element-plus.54aed4cc.js";import{u,g as e,b as l,d as g}from"./index.58a5fcc1.js";import{d as h,e as f,o as b,K as I,L as r,I as y,u as i,a as p,U as S,b7 as v,b6 as w}from"./@vue.e8706010.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./lodash.c4b79a6f.js";import"./vue-router.12d45bc3.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";const N=t=>(v("data-v-8b12a43d"),t=t(),w(),t),x=N(()=>p("div",{class:"image-slot"},null,-1)),B={class:"image-slot"},P=h({__name:"decoration-img",props:{width:{type:[String,Number],default:"auto"},height:{type:[String,Number],default:"auto"},radius:{type:[String,Number],default:0},...n},setup(t){const o=t,{getImageUrl:s}=u(),a=f(()=>({width:e(o.width),height:e(o.height),borderRadius:e(o.radius)}));return(m,U)=>{const c=l,d=_;return b(),I(d,y({style:i(a)},o,{src:i(s)(m.src)}),{placeholder:r(()=>[x]),error:r(()=>[p("div",B,[S(c,{name:"el-icon-Picture",size:30})])]),_:1},16,["style","src"])}}});const ct=g(P,[["__scopeId","data-v-8b12a43d"]]);export{ct as default};
|
|
@ -1 +1 @@
|
||||||
import{r as t}from"./index.17a19250.js";function a(e){return t.get({url:"/decorate.page/detail",params:e},{ignoreCancelToken:!0})}function o(e){return t.post({url:"/decorate.page/save",params:e})}function c(e){return t.get({url:"/decorate.data/article",params:e})}function n(e){return t.get({url:"/decorate.tabbar/detail",params:e})}function u(e){return t.post({url:"/decorate.tabbar/save",params:e})}export{a,n as b,u as c,c as g,o as s};
|
import{r as t}from"./index.58a5fcc1.js";function a(e){return t.get({url:"/decorate.page/detail",params:e},{ignoreCancelToken:!0})}function o(e){return t.post({url:"/decorate.page/save",params:e})}function c(e){return t.get({url:"/decorate.data/article",params:e})}function n(e){return t.get({url:"/decorate.tabbar/detail",params:e})}function u(e){return t.post({url:"/decorate.tabbar/save",params:e})}export{a,n as b,u as c,c as g,o as s};
|
|
@ -1 +1 @@
|
||||||
import{K as S,I as $,w as x,L as T,t as L,M as N,N as U}from"./element-plus.54aed4cc.js";import{_ as K}from"./index.vue_vue_type_script_setup_true_lang.fccb4113.js";import{f as h,b as M}from"./index.17a19250.js";import{d as O,o as P,e as j}from"./wx_oa.f3587c68.js";import{u as z}from"./usePaging.160b82b8.js";import{_ as I}from"./edit.vue_vue_type_script_setup_true_lang.7e383b15.js";import{d as q,s as G,r as H,e as J,o as f,c as Q,U as e,L as u,a as E,M as W,u as i,K as v,S as d,T as X,k as Y,R as Z,n as D}from"./@vue.e8706010.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./lodash.c4b79a6f.js";import"./vue-router.12d45bc3.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";import"./index.44544070.js";const ee=d(" \u65B0\u589E "),te=d(" \u7F16\u8F91 "),oe=d(" \u5220\u9664 "),ae={class:"flex justify-end mt-4"},Ie=q({__name:"default_reply",setup(ue){const r=G(),m=H(!1),F=J(()=>o=>{switch(o){case 1:return"\u6587\u672C"}}),{pager:s,getLists:n}=z({fetchFun:O,params:{reply_type:3}}),g=async()=>{var o;m.value=!0,await D(),(o=r.value)==null||o.open("add",1)},y=async o=>{var a,p;m.value=!0,await D(),(a=r.value)==null||a.open("edit",1),(p=r.value)==null||p.getDetail(o)},w=async o=>{await h.confirm("\u786E\u5B9A\u8981\u5220\u9664\uFF1F"),await P({id:o}),h.msgSuccess("\u5220\u9664\u6210\u529F"),n()},B=async o=>{try{await j({id:o}),n()}catch{n()}};return n(),(o,a)=>{const p=S,C=$,b=M,_=x,l=T,k=L,V=N,A=K,R=U;return f(),Q("div",null,[e(C,{class:"!border-none",shadow:"never"},{default:u(()=>[e(p,{type:"warning",title:"\u6E29\u99A8\u63D0\u793A\uFF1A1.\u7C89\u4E1D\u5728\u516C\u4F17\u53F7\u53D1\u9001\u5185\u5BB9\u65F6\uFF0C\u7CFB\u7EDF\u65E0\u6CD5\u5339\u914D\u60C5\u51B5\u4E0B\u53D1\u9001\u542F\u7528\u7684\u9ED8\u8BA4\u6587\u672C\u56DE\u590D\uFF1B2.\u540C\u65F6\u53EA\u80FD\u542F\u7528\u4E00\u4E2A\u9ED8\u8BA4\u56DE\u590D\u3002",closable:!1,"show-icon":""})]),_:1}),e(C,{class:"!border-none mt-4",shadow:"never"},{default:u(()=>[E("div",null,[e(_,{class:"mb-4",type:"primary",onClick:a[0]||(a[0]=t=>g())},{icon:u(()=>[e(b,{name:"el-icon-Plus"})]),default:u(()=>[ee]),_:1})]),W((f(),v(V,{size:"large",data:i(s).lists},{default:u(()=>[e(l,{label:"\u89C4\u5219\u540D\u79F0",prop:"name","min-width":"120"}),e(l,{label:"\u56DE\u590D\u7C7B\u578B","min-width":"120"},{default:u(({row:t})=>[d(X(i(F)(t.content_type)),1)]),_:1}),e(l,{label:"\u56DE\u590D\u5185\u5BB9",prop:"content","min-width":"120"}),e(l,{label:"\u72B6\u6001","min-width":"120"},{default:u(({row:t})=>[e(k,{modelValue:t.status,"onUpdate:modelValue":c=>t.status=c,"active-value":1,"inactive-value":0,onChange:c=>B(t.id)},null,8,["modelValue","onUpdate:modelValue","onChange"])]),_:1}),e(l,{label:"\u6392\u5E8F",prop:"sort","min-width":"120"}),e(l,{label:"\u64CD\u4F5C",width:"120",fixed:"right"},{default:u(({row:t})=>[e(_,{type:"primary",link:"",onClick:c=>y(t)},{default:u(()=>[te]),_:2},1032,["onClick"]),e(_,{type:"danger",link:"",onClick:c=>w(t.id)},{default:u(()=>[oe]),_:2},1032,["onClick"])]),_:1})]),_:1},8,["data"])),[[R,i(s).loading]]),E("div",ae,[e(A,{modelValue:i(s),"onUpdate:modelValue":a[1]||(a[1]=t=>Y(s)?s.value=t:null),onChange:i(n)},null,8,["modelValue","onChange"])])]),_:1}),m.value?(f(),v(I,{key:0,ref_key:"editRef",ref:r,onSuccess:i(n),onClose:a[2]||(a[2]=t=>m.value=!1)},null,8,["onSuccess"])):Z("",!0)])}}});export{Ie as default};
|
import{K as S,I as $,w as x,L as T,t as L,M as N,N as U}from"./element-plus.54aed4cc.js";import{_ as K}from"./index.vue_vue_type_script_setup_true_lang.fccb4113.js";import{f as h,b as M}from"./index.58a5fcc1.js";import{d as O,o as P,e as j}from"./wx_oa.04741e42.js";import{u as z}from"./usePaging.160b82b8.js";import{_ as I}from"./edit.vue_vue_type_script_setup_true_lang.aaf86700.js";import{d as q,s as G,r as H,e as J,o as f,c as Q,U as e,L as u,a as E,M as W,u as i,K as v,S as d,T as X,k as Y,R as Z,n as D}from"./@vue.e8706010.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./lodash.c4b79a6f.js";import"./vue-router.12d45bc3.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";import"./index.a3400ab9.js";const ee=d(" \u65B0\u589E "),te=d(" \u7F16\u8F91 "),oe=d(" \u5220\u9664 "),ae={class:"flex justify-end mt-4"},Ie=q({__name:"default_reply",setup(ue){const r=G(),m=H(!1),F=J(()=>o=>{switch(o){case 1:return"\u6587\u672C"}}),{pager:s,getLists:n}=z({fetchFun:O,params:{reply_type:3}}),g=async()=>{var o;m.value=!0,await D(),(o=r.value)==null||o.open("add",1)},y=async o=>{var a,p;m.value=!0,await D(),(a=r.value)==null||a.open("edit",1),(p=r.value)==null||p.getDetail(o)},w=async o=>{await h.confirm("\u786E\u5B9A\u8981\u5220\u9664\uFF1F"),await P({id:o}),h.msgSuccess("\u5220\u9664\u6210\u529F"),n()},B=async o=>{try{await j({id:o}),n()}catch{n()}};return n(),(o,a)=>{const p=S,C=$,b=M,_=x,l=T,k=L,V=N,A=K,R=U;return f(),Q("div",null,[e(C,{class:"!border-none",shadow:"never"},{default:u(()=>[e(p,{type:"warning",title:"\u6E29\u99A8\u63D0\u793A\uFF1A1.\u7C89\u4E1D\u5728\u516C\u4F17\u53F7\u53D1\u9001\u5185\u5BB9\u65F6\uFF0C\u7CFB\u7EDF\u65E0\u6CD5\u5339\u914D\u60C5\u51B5\u4E0B\u53D1\u9001\u542F\u7528\u7684\u9ED8\u8BA4\u6587\u672C\u56DE\u590D\uFF1B2.\u540C\u65F6\u53EA\u80FD\u542F\u7528\u4E00\u4E2A\u9ED8\u8BA4\u56DE\u590D\u3002",closable:!1,"show-icon":""})]),_:1}),e(C,{class:"!border-none mt-4",shadow:"never"},{default:u(()=>[E("div",null,[e(_,{class:"mb-4",type:"primary",onClick:a[0]||(a[0]=t=>g())},{icon:u(()=>[e(b,{name:"el-icon-Plus"})]),default:u(()=>[ee]),_:1})]),W((f(),v(V,{size:"large",data:i(s).lists},{default:u(()=>[e(l,{label:"\u89C4\u5219\u540D\u79F0",prop:"name","min-width":"120"}),e(l,{label:"\u56DE\u590D\u7C7B\u578B","min-width":"120"},{default:u(({row:t})=>[d(X(i(F)(t.content_type)),1)]),_:1}),e(l,{label:"\u56DE\u590D\u5185\u5BB9",prop:"content","min-width":"120"}),e(l,{label:"\u72B6\u6001","min-width":"120"},{default:u(({row:t})=>[e(k,{modelValue:t.status,"onUpdate:modelValue":c=>t.status=c,"active-value":1,"inactive-value":0,onChange:c=>B(t.id)},null,8,["modelValue","onUpdate:modelValue","onChange"])]),_:1}),e(l,{label:"\u6392\u5E8F",prop:"sort","min-width":"120"}),e(l,{label:"\u64CD\u4F5C",width:"120",fixed:"right"},{default:u(({row:t})=>[e(_,{type:"primary",link:"",onClick:c=>y(t)},{default:u(()=>[te]),_:2},1032,["onClick"]),e(_,{type:"danger",link:"",onClick:c=>w(t.id)},{default:u(()=>[oe]),_:2},1032,["onClick"])]),_:1})]),_:1},8,["data"])),[[R,i(s).loading]]),E("div",ae,[e(A,{modelValue:i(s),"onUpdate:modelValue":a[1]||(a[1]=t=>Y(s)?s.value=t:null),onChange:i(n)},null,8,["modelValue","onChange"])])]),_:1}),m.value?(f(),v(I,{key:0,ref_key:"editRef",ref:r,onSuccess:i(n),onClose:a[2]||(a[2]=t=>m.value=!1)},null,8,["onSuccess"])):Z("",!0)])}}});export{Ie as default};
|
|
@ -1 +1 @@
|
||||||
import{r as e}from"./index.17a19250.js";function p(t){return e.get({url:"/dept.dept/lists",params:t})}function r(t){return e.post({url:"/dept.dept/add",params:t})}function u(t){return e.post({url:"/dept.dept/edit",params:t})}function n(t){return e.post({url:"/dept.dept/delete",params:t})}function l(t){return e.get({url:"/dept.dept/detail",params:t})}function s(){return e.get({url:"/dept.dept/all"})}export{u as a,r as b,l as c,s as d,p as e,n as f};
|
import{r as e}from"./index.58a5fcc1.js";function p(t){return e.get({url:"/dept.dept/lists",params:t})}function r(t){return e.post({url:"/dept.dept/add",params:t})}function u(t){return e.post({url:"/dept.dept/edit",params:t})}function n(t){return e.post({url:"/dept.dept/delete",params:t})}function l(t){return e.get({url:"/dept.dept/detail",params:t})}function s(){return e.get({url:"/dept.dept/all"})}export{u as a,r as b,l as c,s as d,p as e,n as f};
|
|
@ -1 +0,0 @@
|
||||||
.bottomTables[data-v-d676540b]{display:flex}
|
|
File diff suppressed because one or more lines are too long
|
@ -0,0 +1 @@
|
||||||
|
.bottomTables[data-v-70473a1c]{display:flex}
|
|
@ -1 +1 @@
|
||||||
import{P as j,I as $,o as P,w as R,C as q,D as M}from"./element-plus.54aed4cc.js";import{_ as N}from"./index.vue_vue_type_script_setup_true_lang.1d0c0a75.js";import{l as S,b as U}from"./index.17a19250.js";import{u as V}from"./vue-router.12d45bc3.js";import{g as I,a as T,u as z}from"./consumer.67f7cc5d.js";import{_ as H}from"./account-adjust.vue_vue_type_script_setup_true_lang.3ab0da24.js";import{d as w,$ as C,s as K,af as L,o as m,c as O,U as e,L as t,a as d,S as r,T as u,M as _,K as f}from"./@vue.e8706010.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./lodash.c4b79a6f.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";import"./index.44544070.js";const G={class:"bg-page flex py-5 mb-10 items-center"},J={class:"basis-40 flex flex-col justify-center items-center"},Q=d("div",{class:"mb-2 text-tx-regular"},"\u7528\u6237\u5934\u50CF",-1),W={class:"basis-40 flex flex-col justify-center items-center"},X=d("div",{class:"text-tx-regular"},"\u8D26\u6237\u4F59\u989D",-1),Y={class:"mt-2 flex items-center"},Z=r(" \u8C03\u6574 "),ee=w({name:"consumerDetail"}),Ie=w({...ee,setup(te){const v=V(),a=C({avatar:"",channel:"",create_time:"",login_time:"",mobile:"",nickname:"",real_name:0,sex:0,sn:"",account:"",user_money:""}),i=C({show:!1,value:""}),D=K(),x=async()=>{const l=await I({id:v.query.id});Object.keys(a).forEach(o=>{a[o]=l[o]})},F=async(l,o)=>{S(l)||(await z({id:v.query.id,field:o,value:l}),x())},h=l=>{i.show=!0,i.value=l},A=async l=>{await T({user_id:v.query.id,...l}),i.show=!1,x()};return x(),(l,o)=>{const k=j,E=$,g=P,p=R,n=q,y=U,b=N,B=M,c=L("perms");return m(),O("div",null,[e(E,{class:"!border-none",shadow:"never"},{default:t(()=>[e(k,{content:"\u7528\u6237\u8BE6\u60C5",onBack:o[0]||(o[0]=s=>l.$router.back())})]),_:1}),e(E,{class:"mt-4 !border-none",header:"\u57FA\u672C\u8D44\u6599",shadow:"never"},{default:t(()=>[e(B,{ref_key:"formRef",ref:D,class:"ls-form",model:a,"label-width":"120px"},{default:t(()=>[d("div",G,[d("div",J,[Q,e(g,{src:a.avatar,size:58},null,8,["src"])]),d("div",W,[X,d("div",Y,[r(" \xA5"+u(a.user_money)+" ",1),_((m(),f(p,{type:"primary",link:"",onClick:o[1]||(o[1]=s=>h(a.user_money))},{default:t(()=>[Z]),_:1})),[[c,["user.user/adjustMoney"]]])])])]),e(n,{label:"\u7528\u6237\u7F16\u53F7\uFF1A"},{default:t(()=>[r(u(a.sn),1)]),_:1}),e(n,{label:"\u7528\u6237\u6635\u79F0\uFF1A"},{default:t(()=>[r(u(a.nickname),1)]),_:1}),e(n,{label:"\u8D26\u53F7\uFF1A"},{default:t(()=>[r(u(a.account)+" ",1),_((m(),f(b,{class:"ml-[10px]",onConfirm:o[2]||(o[2]=s=>F(s,"account")),limit:32},{default:t(()=>[e(p,{type:"primary",link:""},{default:t(()=>[e(y,{name:"el-icon-EditPen"})]),_:1})]),_:1})),[[c,["user.user/edit"]]])]),_:1}),e(n,{label:"\u771F\u5B9E\u59D3\u540D\uFF1A"},{default:t(()=>[r(u(a.real_name||"-")+" ",1),_((m(),f(b,{class:"ml-[10px]",onConfirm:o[3]||(o[3]=s=>F(s,"real_name")),limit:32},{default:t(()=>[e(p,{type:"primary",link:""},{default:t(()=>[e(y,{name:"el-icon-EditPen"})]),_:1})]),_:1})),[[c,["user.user/edit"]]])]),_:1}),e(n,{label:"\u6027\u522B\uFF1A"},{default:t(()=>[r(u(a.sex)+" ",1),_((m(),f(b,{class:"ml-[10px]",type:"select",options:[{label:"\u672A\u77E5",value:0},{label:"\u7537",value:1},{label:"\u5973",value:2}],onConfirm:o[4]||(o[4]=s=>F(s,"sex"))},{default:t(()=>[e(p,{type:"primary",link:""},{default:t(()=>[e(y,{name:"el-icon-EditPen"})]),_:1})]),_:1})),[[c,["user.user/edit"]]])]),_:1}),e(n,{label:"\u8054\u7CFB\u7535\u8BDD\uFF1A"},{default:t(()=>[r(u(a.mobile||"-")+" ",1),_((m(),f(b,{class:"ml-[10px]",type:"number",onConfirm:o[5]||(o[5]=s=>F(s,"mobile"))},{default:t(()=>[e(p,{type:"primary",link:""},{default:t(()=>[e(y,{name:"el-icon-EditPen"})]),_:1})]),_:1})),[[c,["user.user/edit"]]])]),_:1}),e(n,{label:"\u6CE8\u518C\u6765\u6E90\uFF1A"},{default:t(()=>[r(u(a.channel),1)]),_:1}),e(n,{label:"\u6CE8\u518C\u65F6\u95F4\uFF1A"},{default:t(()=>[r(u(a.create_time),1)]),_:1}),e(n,{label:"\u6700\u8FD1\u767B\u5F55\u65F6\u95F4\uFF1A"},{default:t(()=>[r(u(a.login_time),1)]),_:1})]),_:1},8,["model"])]),_:1}),e(H,{show:i.show,"onUpdate:show":o[6]||(o[6]=s=>i.show=s),value:i.value,onConfirm:A},null,8,["show","value"])])}}});export{Ie as default};
|
import{P as j,I as $,o as P,w as R,C as q,D as M}from"./element-plus.54aed4cc.js";import{_ as N}from"./index.vue_vue_type_script_setup_true_lang.1d0c0a75.js";import{l as S,b as U}from"./index.58a5fcc1.js";import{u as V}from"./vue-router.12d45bc3.js";import{g as I,a as T,u as z}from"./consumer.950fa60f.js";import{_ as H}from"./account-adjust.vue_vue_type_script_setup_true_lang.5820eec7.js";import{d as w,$ as C,s as K,af as L,o as m,c as O,U as e,L as t,a as d,S as r,T as u,M as _,K as f}from"./@vue.e8706010.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./lodash.c4b79a6f.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";import"./index.a3400ab9.js";const G={class:"bg-page flex py-5 mb-10 items-center"},J={class:"basis-40 flex flex-col justify-center items-center"},Q=d("div",{class:"mb-2 text-tx-regular"},"\u7528\u6237\u5934\u50CF",-1),W={class:"basis-40 flex flex-col justify-center items-center"},X=d("div",{class:"text-tx-regular"},"\u8D26\u6237\u4F59\u989D",-1),Y={class:"mt-2 flex items-center"},Z=r(" \u8C03\u6574 "),ee=w({name:"consumerDetail"}),Ie=w({...ee,setup(te){const v=V(),a=C({avatar:"",channel:"",create_time:"",login_time:"",mobile:"",nickname:"",real_name:0,sex:0,sn:"",account:"",user_money:""}),i=C({show:!1,value:""}),D=K(),x=async()=>{const l=await I({id:v.query.id});Object.keys(a).forEach(o=>{a[o]=l[o]})},F=async(l,o)=>{S(l)||(await z({id:v.query.id,field:o,value:l}),x())},h=l=>{i.show=!0,i.value=l},A=async l=>{await T({user_id:v.query.id,...l}),i.show=!1,x()};return x(),(l,o)=>{const k=j,E=$,g=P,p=R,n=q,y=U,b=N,B=M,c=L("perms");return m(),O("div",null,[e(E,{class:"!border-none",shadow:"never"},{default:t(()=>[e(k,{content:"\u7528\u6237\u8BE6\u60C5",onBack:o[0]||(o[0]=s=>l.$router.back())})]),_:1}),e(E,{class:"mt-4 !border-none",header:"\u57FA\u672C\u8D44\u6599",shadow:"never"},{default:t(()=>[e(B,{ref_key:"formRef",ref:D,class:"ls-form",model:a,"label-width":"120px"},{default:t(()=>[d("div",G,[d("div",J,[Q,e(g,{src:a.avatar,size:58},null,8,["src"])]),d("div",W,[X,d("div",Y,[r(" \xA5"+u(a.user_money)+" ",1),_((m(),f(p,{type:"primary",link:"",onClick:o[1]||(o[1]=s=>h(a.user_money))},{default:t(()=>[Z]),_:1})),[[c,["user.user/adjustMoney"]]])])])]),e(n,{label:"\u7528\u6237\u7F16\u53F7\uFF1A"},{default:t(()=>[r(u(a.sn),1)]),_:1}),e(n,{label:"\u7528\u6237\u6635\u79F0\uFF1A"},{default:t(()=>[r(u(a.nickname),1)]),_:1}),e(n,{label:"\u8D26\u53F7\uFF1A"},{default:t(()=>[r(u(a.account)+" ",1),_((m(),f(b,{class:"ml-[10px]",onConfirm:o[2]||(o[2]=s=>F(s,"account")),limit:32},{default:t(()=>[e(p,{type:"primary",link:""},{default:t(()=>[e(y,{name:"el-icon-EditPen"})]),_:1})]),_:1})),[[c,["user.user/edit"]]])]),_:1}),e(n,{label:"\u771F\u5B9E\u59D3\u540D\uFF1A"},{default:t(()=>[r(u(a.real_name||"-")+" ",1),_((m(),f(b,{class:"ml-[10px]",onConfirm:o[3]||(o[3]=s=>F(s,"real_name")),limit:32},{default:t(()=>[e(p,{type:"primary",link:""},{default:t(()=>[e(y,{name:"el-icon-EditPen"})]),_:1})]),_:1})),[[c,["user.user/edit"]]])]),_:1}),e(n,{label:"\u6027\u522B\uFF1A"},{default:t(()=>[r(u(a.sex)+" ",1),_((m(),f(b,{class:"ml-[10px]",type:"select",options:[{label:"\u672A\u77E5",value:0},{label:"\u7537",value:1},{label:"\u5973",value:2}],onConfirm:o[4]||(o[4]=s=>F(s,"sex"))},{default:t(()=>[e(p,{type:"primary",link:""},{default:t(()=>[e(y,{name:"el-icon-EditPen"})]),_:1})]),_:1})),[[c,["user.user/edit"]]])]),_:1}),e(n,{label:"\u8054\u7CFB\u7535\u8BDD\uFF1A"},{default:t(()=>[r(u(a.mobile||"-")+" ",1),_((m(),f(b,{class:"ml-[10px]",type:"number",onConfirm:o[5]||(o[5]=s=>F(s,"mobile"))},{default:t(()=>[e(p,{type:"primary",link:""},{default:t(()=>[e(y,{name:"el-icon-EditPen"})]),_:1})]),_:1})),[[c,["user.user/edit"]]])]),_:1}),e(n,{label:"\u6CE8\u518C\u6765\u6E90\uFF1A"},{default:t(()=>[r(u(a.channel),1)]),_:1}),e(n,{label:"\u6CE8\u518C\u65F6\u95F4\uFF1A"},{default:t(()=>[r(u(a.create_time),1)]),_:1}),e(n,{label:"\u6700\u8FD1\u767B\u5F55\u65F6\u95F4\uFF1A"},{default:t(()=>[r(u(a.login_time),1)]),_:1})]),_:1},8,["model"])]),_:1}),e(H,{show:i.show,"onUpdate:show":o[6]||(o[6]=s=>i.show=s),value:i.value,onConfirm:A},null,8,["show","value"])])}}});export{Ie as default};
|
File diff suppressed because one or more lines are too long
|
@ -1 +1 @@
|
||||||
import{r as i}from"./index.17a19250.js";function d(t){return i.get({url:"/setting.dict.dict_type/lists",params:t})}function n(t){return i.get({url:"/setting.dict.dict_type/all",params:t})}function c(t){return i.post({url:"/setting.dict.dict_type/add",params:t})}function r(t){return i.post({url:"/setting.dict.dict_type/edit",params:t})}function s(t){return i.post({url:"/setting.dict.dict_type/delete",params:t})}function a(t){return i.get({url:"/setting.dict.dict_data/lists",params:t},{ignoreCancelToken:!0})}function u(t){return i.post({url:"/setting.dict.dict_data/add",params:t})}function l(t){return i.post({url:"/setting.dict.dict_data/edit",params:t})}function o(t){return i.post({url:"/setting.dict.dict_data/delete",params:t})}export{l as a,u as b,d as c,n as d,a as e,o as f,r as g,c as h,s as i};
|
import{r as i}from"./index.58a5fcc1.js";function d(t){return i.get({url:"/setting.dict.dict_type/lists",params:t})}function n(t){return i.get({url:"/setting.dict.dict_type/all",params:t})}function c(t){return i.post({url:"/setting.dict.dict_type/add",params:t})}function r(t){return i.post({url:"/setting.dict.dict_type/edit",params:t})}function s(t){return i.post({url:"/setting.dict.dict_type/delete",params:t})}function a(t){return i.get({url:"/setting.dict.dict_data/lists",params:t},{ignoreCancelToken:!0})}function u(t){return i.post({url:"/setting.dict.dict_data/add",params:t})}function l(t){return i.post({url:"/setting.dict.dict_data/edit",params:t})}function o(t){return i.post({url:"/setting.dict.dict_data/delete",params:t})}export{l as a,u as b,d as c,n as d,a as e,o as f,r as g,c as h,s as i};
|
|
@ -1 +1 @@
|
||||||
import"./edit.vue_vue_type_script_setup_true_lang.7e383b15.js";import{_ as N}from"./edit.vue_vue_type_script_setup_true_lang.7e383b15.js";import"./element-plus.54aed4cc.js";import"./@vue.e8706010.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./wx_oa.f3587c68.js";import"./index.17a19250.js";import"./lodash.c4b79a6f.js";import"./vue-router.12d45bc3.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";import"./index.44544070.js";export{N as default};
|
import"./edit.vue_vue_type_script_setup_true_lang.aaf86700.js";import{_ as N}from"./edit.vue_vue_type_script_setup_true_lang.aaf86700.js";import"./element-plus.54aed4cc.js";import"./@vue.e8706010.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./wx_oa.04741e42.js";import"./index.58a5fcc1.js";import"./lodash.c4b79a6f.js";import"./vue-router.12d45bc3.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";import"./index.a3400ab9.js";export{N as default};
|
|
@ -1 +1 @@
|
||||||
import"./edit.vue_vue_type_script_setup_true_lang.c266b597.js";import{_ as N}from"./edit.vue_vue_type_script_setup_true_lang.c266b597.js";import"./element-plus.54aed4cc.js";import"./@vue.e8706010.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./index.44544070.js";import"./index.17a19250.js";import"./lodash.c4b79a6f.js";import"./vue-router.12d45bc3.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";import"./dict.d66f7ed7.js";export{N as default};
|
import"./edit.vue_vue_type_script_setup_true_lang.6fdbf206.js";import{_ as N}from"./edit.vue_vue_type_script_setup_true_lang.6fdbf206.js";import"./element-plus.54aed4cc.js";import"./@vue.e8706010.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./index.a3400ab9.js";import"./index.58a5fcc1.js";import"./lodash.c4b79a6f.js";import"./vue-router.12d45bc3.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";import"./dict.15c7f783.js";export{N as default};
|
|
@ -1 +1 @@
|
||||||
import{_ as U}from"./index.c68dac58.js";import{P as q,I as T,B as A,C as $,G as I,H as L,t as M,L as N,M as S,D as j,w as G}from"./element-plus.54aed4cc.js";import{u as H,a as P}from"./vue-router.12d45bc3.js";import{c as z,d as O,e as J,f as K}from"./system.b5a96ecb.js";import{e as Q}from"./index.17a19250.js";import{d as f,$ as F,s as W,r as X,j as Y,o as Z,c as ee,U as e,L as a,a as n,S as b}from"./@vue.e8706010.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./lodash.c4b79a6f.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";const oe={class:"article-edit"},te={class:"w-80"},ae=b("\u5B9A\u65F6\u4EFB\u52A1"),le={class:"w-80"},ue={class:"w-80"},se={class:"w-80"},re={class:"w-80"},ne=b("\u4FDD\u5B58"),me=f({name:"scheduledTaskEdit"}),Je=f({...me,setup(ie){const m=H(),w=P(),t=F({id:"",name:"",command:"",expression:"",params:"",remark:"",status:1,type:1}),{removeTab:E}=Q(),i=W(),B=F({name:[{required:!0,message:"\u8BF7\u8F93\u5165\u540D\u79F0"}],command:[{required:!0,message:"\u8BF7\u8F93\u5165thankphp\u547D\u4EE4\uFF0C\u5982vresion"}],expression:[{required:!0,message:"\u8BF7\u8F93\u5165crontab\u89C4\u5219\uFF0C\u4F8B\uFF1A5 9 * * *"}]}),v=async()=>{const u=await z({id:m.query.id});Object.keys(t).forEach(o=>{t[o]=u[o]})},d=X([]),p=async()=>{var o;await((o=i.value)==null?void 0:o.validateField(["expression"]));const u=await O({expression:t.expression});d.value=u},V=async()=>{var u;await((u=i.value)==null?void 0:u.validate()),m.query.id?await J(t):await K(t),E(),w.back()};return Y(async()=>{!m.query.id||(await v(),await p())}),(u,o)=>{const x=q,c=T,r=A,s=$,C=I,h=L,y=M,_=N,k=S,D=j,g=G,R=U;return Z(),ee("div",oe,[e(c,{class:"!border-none",shadow:"never"},{default:a(()=>[e(x,{content:u.$route.meta.title,onBack:o[0]||(o[0]=l=>u.$router.back())},null,8,["content"])]),_:1}),e(c,{class:"mt-4 !border-none",shadow:"never"},{default:a(()=>[e(D,{ref_key:"formRef",ref:i,class:"ls-form",model:t,"label-width":"85px",rules:B},{default:a(()=>[e(s,{label:"\u540D\u79F0",prop:"name"},{default:a(()=>[n("div",te,[e(r,{modelValue:t.name,"onUpdate:modelValue":o[1]||(o[1]=l=>t.name=l),placeholder:"\u8BF7\u8F93\u5165\u540D\u79F0",maxlength:"30",clearable:""},null,8,["modelValue"])])]),_:1}),e(s,{label:"\u7C7B\u578B",prop:"type"},{default:a(()=>[e(h,{modelValue:t.type,"onUpdate:modelValue":o[2]||(o[2]=l=>t.type=l)},{default:a(()=>[e(C,{label:1},{default:a(()=>[ae]),_:1})]),_:1},8,["modelValue"])]),_:1}),e(s,{label:"\u547D\u4EE4",prop:"command"},{default:a(()=>[n("div",le,[e(r,{modelValue:t.command,"onUpdate:modelValue":o[3]||(o[3]=l=>t.command=l),placeholder:"\u8BF7\u8F93\u5165thinkphp\u547D\u4EE4\uFF0C\u5982vresion",clearable:""},null,8,["modelValue"])])]),_:1}),e(s,{label:"\u53C2\u6570",prop:"params"},{default:a(()=>[n("div",ue,[e(r,{modelValue:t.params,"onUpdate:modelValue":o[4]||(o[4]=l=>t.params=l),placeholder:"\u8BF7\u8F93\u5165\u53C2\u6570\uFF0C\u4F8B:--id 8 --name \u6D4B\u8BD5",clearable:""},null,8,["modelValue"])])]),_:1}),e(s,{label:"\u72B6\u6001"},{default:a(()=>[e(y,{modelValue:t.status,"onUpdate:modelValue":o[5]||(o[5]=l=>t.status=l),"active-value":1,"inactive-value":2},null,8,["modelValue"])]),_:1}),e(s,{label:"\u89C4\u5219",prop:"expression"},{default:a(()=>[n("div",se,[e(r,{onBlur:p,modelValue:t.expression,"onUpdate:modelValue":o[6]||(o[6]=l=>t.expression=l),placeholder:"\u8BF7\u8F93\u5165crontab\u89C4\u5219\uFF0C\u4F8B\uFF1A5 9 * * *"},null,8,["modelValue"])])]),_:1}),e(s,null,{default:a(()=>[e(k,{data:d.value,style:{"max-width":"320px"}},{default:a(()=>[e(_,{prop:"time",label:"\u5E8F\u53F7","min-width":"80"}),e(_,{prop:"date",label:"\u6267\u884C\u65F6\u95F4","min-width":"240"})]),_:1},8,["data"])]),_:1}),e(s,{label:"\u5907\u6CE8",prop:"remark"},{default:a(()=>[n("div",re,[e(r,{modelValue:t.remark,"onUpdate:modelValue":o[7]||(o[7]=l=>t.remark=l),type:"textarea",autosize:{minRows:3,maxRows:6},maxlength:200,"show-word-limit":"",clearable:""},null,8,["modelValue"])])]),_:1})]),_:1},8,["model","rules"])]),_:1}),e(R,null,{default:a(()=>[e(g,{type:"primary",onClick:V},{default:a(()=>[ne]),_:1})]),_:1})])}}});export{Je as default};
|
import{_ as U}from"./index.2b220ce8.js";import{P as q,I as T,B as A,C as $,G as I,H as L,t as M,L as N,M as S,D as j,w as G}from"./element-plus.54aed4cc.js";import{u as H,a as P}from"./vue-router.12d45bc3.js";import{c as z,d as O,e as J,f as K}from"./system.fd89f589.js";import{e as Q}from"./index.58a5fcc1.js";import{d as f,$ as F,s as W,r as X,j as Y,o as Z,c as ee,U as e,L as a,a as n,S as b}from"./@vue.e8706010.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./lodash.c4b79a6f.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";const oe={class:"article-edit"},te={class:"w-80"},ae=b("\u5B9A\u65F6\u4EFB\u52A1"),le={class:"w-80"},ue={class:"w-80"},se={class:"w-80"},re={class:"w-80"},ne=b("\u4FDD\u5B58"),me=f({name:"scheduledTaskEdit"}),Je=f({...me,setup(ie){const m=H(),w=P(),t=F({id:"",name:"",command:"",expression:"",params:"",remark:"",status:1,type:1}),{removeTab:E}=Q(),i=W(),B=F({name:[{required:!0,message:"\u8BF7\u8F93\u5165\u540D\u79F0"}],command:[{required:!0,message:"\u8BF7\u8F93\u5165thankphp\u547D\u4EE4\uFF0C\u5982vresion"}],expression:[{required:!0,message:"\u8BF7\u8F93\u5165crontab\u89C4\u5219\uFF0C\u4F8B\uFF1A5 9 * * *"}]}),v=async()=>{const u=await z({id:m.query.id});Object.keys(t).forEach(o=>{t[o]=u[o]})},d=X([]),p=async()=>{var o;await((o=i.value)==null?void 0:o.validateField(["expression"]));const u=await O({expression:t.expression});d.value=u},V=async()=>{var u;await((u=i.value)==null?void 0:u.validate()),m.query.id?await J(t):await K(t),E(),w.back()};return Y(async()=>{!m.query.id||(await v(),await p())}),(u,o)=>{const x=q,c=T,r=A,s=$,C=I,h=L,y=M,_=N,k=S,D=j,g=G,R=U;return Z(),ee("div",oe,[e(c,{class:"!border-none",shadow:"never"},{default:a(()=>[e(x,{content:u.$route.meta.title,onBack:o[0]||(o[0]=l=>u.$router.back())},null,8,["content"])]),_:1}),e(c,{class:"mt-4 !border-none",shadow:"never"},{default:a(()=>[e(D,{ref_key:"formRef",ref:i,class:"ls-form",model:t,"label-width":"85px",rules:B},{default:a(()=>[e(s,{label:"\u540D\u79F0",prop:"name"},{default:a(()=>[n("div",te,[e(r,{modelValue:t.name,"onUpdate:modelValue":o[1]||(o[1]=l=>t.name=l),placeholder:"\u8BF7\u8F93\u5165\u540D\u79F0",maxlength:"30",clearable:""},null,8,["modelValue"])])]),_:1}),e(s,{label:"\u7C7B\u578B",prop:"type"},{default:a(()=>[e(h,{modelValue:t.type,"onUpdate:modelValue":o[2]||(o[2]=l=>t.type=l)},{default:a(()=>[e(C,{label:1},{default:a(()=>[ae]),_:1})]),_:1},8,["modelValue"])]),_:1}),e(s,{label:"\u547D\u4EE4",prop:"command"},{default:a(()=>[n("div",le,[e(r,{modelValue:t.command,"onUpdate:modelValue":o[3]||(o[3]=l=>t.command=l),placeholder:"\u8BF7\u8F93\u5165thinkphp\u547D\u4EE4\uFF0C\u5982vresion",clearable:""},null,8,["modelValue"])])]),_:1}),e(s,{label:"\u53C2\u6570",prop:"params"},{default:a(()=>[n("div",ue,[e(r,{modelValue:t.params,"onUpdate:modelValue":o[4]||(o[4]=l=>t.params=l),placeholder:"\u8BF7\u8F93\u5165\u53C2\u6570\uFF0C\u4F8B:--id 8 --name \u6D4B\u8BD5",clearable:""},null,8,["modelValue"])])]),_:1}),e(s,{label:"\u72B6\u6001"},{default:a(()=>[e(y,{modelValue:t.status,"onUpdate:modelValue":o[5]||(o[5]=l=>t.status=l),"active-value":1,"inactive-value":2},null,8,["modelValue"])]),_:1}),e(s,{label:"\u89C4\u5219",prop:"expression"},{default:a(()=>[n("div",se,[e(r,{onBlur:p,modelValue:t.expression,"onUpdate:modelValue":o[6]||(o[6]=l=>t.expression=l),placeholder:"\u8BF7\u8F93\u5165crontab\u89C4\u5219\uFF0C\u4F8B\uFF1A5 9 * * *"},null,8,["modelValue"])])]),_:1}),e(s,null,{default:a(()=>[e(k,{data:d.value,style:{"max-width":"320px"}},{default:a(()=>[e(_,{prop:"time",label:"\u5E8F\u53F7","min-width":"80"}),e(_,{prop:"date",label:"\u6267\u884C\u65F6\u95F4","min-width":"240"})]),_:1},8,["data"])]),_:1}),e(s,{label:"\u5907\u6CE8",prop:"remark"},{default:a(()=>[n("div",re,[e(r,{modelValue:t.remark,"onUpdate:modelValue":o[7]||(o[7]=l=>t.remark=l),type:"textarea",autosize:{minRows:3,maxRows:6},maxlength:200,"show-word-limit":"",clearable:""},null,8,["modelValue"])])]),_:1})]),_:1},8,["model","rules"])]),_:1}),e(R,null,{default:a(()=>[e(g,{type:"primary",onClick:V},{default:a(()=>[ne]),_:1})]),_:1})])}}});export{Je as default};
|
|
@ -1 +1 @@
|
||||||
import{P as R,I,C as q,G as N,H as S,B as T,D as U,w as L,N as $}from"./element-plus.54aed4cc.js";import{_ as G}from"./index.c68dac58.js";import{u as H,a as M}from"./vue-router.12d45bc3.js";import{e as P,f as j}from"./index.17a19250.js";import{n as z,s as K}from"./message.a8060608.js";import{l as O}from"./lodash.c4b79a6f.js";import{d as b,r as J,$ as Q,s as W,o as r,c as d,U as e,L as t,M as X,K as Y,S as l,T as m,a as i,V as Z,a7 as ee}from"./@vue.e8706010.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";const te=i("div",{class:"font-medium mb-7"},"\u901A\u77E5\u540D\u79F0",-1),oe=i("div",{class:"font-medium mb-7"},"\u77ED\u4FE1\u901A\u77E5",-1),se=l("\u5173\u95ED"),ae=l("\u5F00\u542F"),ne={class:"w-80"},ue={class:"flex-1"},ie={class:"w-full max-w-[320px]"},le={class:"form-tips"},re=l("\u4FDD\u5B58"),me=b({name:"noticeEdit"}),Je=b({...me,setup(_e){const p=H(),v=M(),_=J(!1),o=Q({id:"",scene_name:"",type:"",scene_desc:"",sms_notice:{status:0,template_id:"",content:"",tips:[]},oa_notice:{},mnp_notice:{},system_notice:{}}),B={"sms_notice.template_id":[{required:!0,message:"\u8BF7\u8F93\u5165\u6A21\u677FID",trigger:"blur"}],"sms_notice.content":[{required:!0,message:"\u8BF7\u8F93\u5165\u77ED\u4FE1\u5185\u5BB9",trigger:"blur"}]},{removeTab:g}=P(),f=W(),D=async()=>{_.value=!0;const n=await z({id:p.query.id});Object.keys(n).forEach(s=>{o[s]=n[s]}),_.value=!1},w=async()=>{var s;await((s=f.value)==null?void 0:s.validate());const n={id:o.id,template:O.exports.pick(o,["sms_notice","oa_notice","mnp_notice","system_notice"])};await K(n),j.msgSuccess("\u64CD\u4F5C\u6210\u529F"),g(),v.back()};return p.query.id&&D(),(n,s)=>{const h=R,c=I,u=q,E=N,y=S,F=T,V=U,k=L,A=G,x=$;return r(),d("div",null,[e(c,{class:"!border-none",shadow:"never"},{default:t(()=>[e(h,{content:"\u7F16\u8F91\u901A\u77E5\u8BBE\u7F6E",onBack:s[0]||(s[0]=a=>n.$router.back())})]),_:1}),X((r(),Y(V,{ref_key:"formRef",ref:f,model:o,"label-width":"120px",rules:B},{default:t(()=>[e(c,{class:"!border-none mt-4",shadow:"never"},{default:t(()=>[te,e(u,{label:"\u901A\u77E5\u540D\u79F0"},{default:t(()=>[l(m(o.scene_name),1)]),_:1}),e(u,{label:"\u901A\u77E5\u7C7B\u578B"},{default:t(()=>[l(m(o.type),1)]),_:1}),e(u,{label:"\u901A\u77E5\u4E1A\u52A1"},{default:t(()=>[l(m(o.scene_desc),1)]),_:1})]),_:1}),e(c,{class:"!border-none mt-4",shadow:"never"},{default:t(()=>[oe,e(u,{label:"\u5F00\u542F\u72B6\u6001",prop:"sms_notice.status",required:""},{default:t(()=>[e(y,{modelValue:o.sms_notice.status,"onUpdate:modelValue":s[1]||(s[1]=a=>o.sms_notice.status=a)},{default:t(()=>[e(E,{label:"0"},{default:t(()=>[se]),_:1}),e(E,{label:"1"},{default:t(()=>[ae]),_:1})]),_:1},8,["modelValue"])]),_:1}),e(u,{label:"\u6A21\u677FID",prop:"sms_notice.template_id"},{default:t(()=>[i("div",ne,[e(F,{modelValue:o.sms_notice.template_id,"onUpdate:modelValue":s[2]||(s[2]=a=>o.sms_notice.template_id=a),placeholder:"\u8BF7\u8F93\u5165\u6A21\u677FID"},null,8,["modelValue"])])]),_:1}),e(u,{label:"\u77ED\u4FE1\u5185\u5BB9",prop:"sms_notice.content"},{default:t(()=>[i("div",ue,[i("div",ie,[e(F,{type:"textarea",autosize:{minRows:6,maxRows:6},modelValue:o.sms_notice.content,"onUpdate:modelValue":s[3]||(s[3]=a=>o.sms_notice.content=a)},null,8,["modelValue"])]),i("div",le,[(r(!0),d(Z,null,ee(o.sms_notice.tips,(a,C)=>(r(),d("div",{key:C},m(a),1))),128))])])]),_:1})]),_:1})]),_:1},8,["model"])),[[x,_.value]]),e(A,null,{default:t(()=>[e(k,{type:"primary",onClick:w},{default:t(()=>[re]),_:1})]),_:1})])}}});export{Je as default};
|
import{P as R,I,C as q,G as N,H as S,B as T,D as U,w as L,N as $}from"./element-plus.54aed4cc.js";import{_ as G}from"./index.2b220ce8.js";import{u as H,a as M}from"./vue-router.12d45bc3.js";import{e as P,f as j}from"./index.58a5fcc1.js";import{n as z,s as K}from"./message.4f5fe238.js";import{l as O}from"./lodash.c4b79a6f.js";import{d as b,r as J,$ as Q,s as W,o as r,c as d,U as e,L as t,M as X,K as Y,S as l,T as m,a as i,V as Z,a7 as ee}from"./@vue.e8706010.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";const te=i("div",{class:"font-medium mb-7"},"\u901A\u77E5\u540D\u79F0",-1),oe=i("div",{class:"font-medium mb-7"},"\u77ED\u4FE1\u901A\u77E5",-1),se=l("\u5173\u95ED"),ae=l("\u5F00\u542F"),ne={class:"w-80"},ue={class:"flex-1"},ie={class:"w-full max-w-[320px]"},le={class:"form-tips"},re=l("\u4FDD\u5B58"),me=b({name:"noticeEdit"}),Je=b({...me,setup(_e){const p=H(),v=M(),_=J(!1),o=Q({id:"",scene_name:"",type:"",scene_desc:"",sms_notice:{status:0,template_id:"",content:"",tips:[]},oa_notice:{},mnp_notice:{},system_notice:{}}),B={"sms_notice.template_id":[{required:!0,message:"\u8BF7\u8F93\u5165\u6A21\u677FID",trigger:"blur"}],"sms_notice.content":[{required:!0,message:"\u8BF7\u8F93\u5165\u77ED\u4FE1\u5185\u5BB9",trigger:"blur"}]},{removeTab:g}=P(),f=W(),D=async()=>{_.value=!0;const n=await z({id:p.query.id});Object.keys(n).forEach(s=>{o[s]=n[s]}),_.value=!1},w=async()=>{var s;await((s=f.value)==null?void 0:s.validate());const n={id:o.id,template:O.exports.pick(o,["sms_notice","oa_notice","mnp_notice","system_notice"])};await K(n),j.msgSuccess("\u64CD\u4F5C\u6210\u529F"),g(),v.back()};return p.query.id&&D(),(n,s)=>{const h=R,c=I,u=q,E=N,y=S,F=T,V=U,k=L,A=G,x=$;return r(),d("div",null,[e(c,{class:"!border-none",shadow:"never"},{default:t(()=>[e(h,{content:"\u7F16\u8F91\u901A\u77E5\u8BBE\u7F6E",onBack:s[0]||(s[0]=a=>n.$router.back())})]),_:1}),X((r(),Y(V,{ref_key:"formRef",ref:f,model:o,"label-width":"120px",rules:B},{default:t(()=>[e(c,{class:"!border-none mt-4",shadow:"never"},{default:t(()=>[te,e(u,{label:"\u901A\u77E5\u540D\u79F0"},{default:t(()=>[l(m(o.scene_name),1)]),_:1}),e(u,{label:"\u901A\u77E5\u7C7B\u578B"},{default:t(()=>[l(m(o.type),1)]),_:1}),e(u,{label:"\u901A\u77E5\u4E1A\u52A1"},{default:t(()=>[l(m(o.scene_desc),1)]),_:1})]),_:1}),e(c,{class:"!border-none mt-4",shadow:"never"},{default:t(()=>[oe,e(u,{label:"\u5F00\u542F\u72B6\u6001",prop:"sms_notice.status",required:""},{default:t(()=>[e(y,{modelValue:o.sms_notice.status,"onUpdate:modelValue":s[1]||(s[1]=a=>o.sms_notice.status=a)},{default:t(()=>[e(E,{label:"0"},{default:t(()=>[se]),_:1}),e(E,{label:"1"},{default:t(()=>[ae]),_:1})]),_:1},8,["modelValue"])]),_:1}),e(u,{label:"\u6A21\u677FID",prop:"sms_notice.template_id"},{default:t(()=>[i("div",ne,[e(F,{modelValue:o.sms_notice.template_id,"onUpdate:modelValue":s[2]||(s[2]=a=>o.sms_notice.template_id=a),placeholder:"\u8BF7\u8F93\u5165\u6A21\u677FID"},null,8,["modelValue"])])]),_:1}),e(u,{label:"\u77ED\u4FE1\u5185\u5BB9",prop:"sms_notice.content"},{default:t(()=>[i("div",ue,[i("div",ie,[e(F,{type:"textarea",autosize:{minRows:6,maxRows:6},modelValue:o.sms_notice.content,"onUpdate:modelValue":s[3]||(s[3]=a=>o.sms_notice.content=a)},null,8,["modelValue"])]),i("div",le,[(r(!0),d(Z,null,ee(o.sms_notice.tips,(a,C)=>(r(),d("div",{key:C},m(a),1))),128))])])]),_:1})]),_:1})]),_:1},8,["model"])),[[x,_.value]]),e(A,null,{default:t(()=>[e(k,{type:"primary",onClick:w},{default:t(()=>[re]),_:1})]),_:1})])}}});export{Je as default};
|
File diff suppressed because one or more lines are too long
|
@ -1 +1 @@
|
||||||
import"./edit.vue_vue_type_script_setup_true_lang.8619a687.js";import{_ as Y}from"./edit.vue_vue_type_script_setup_true_lang.8619a687.js";import"./element-plus.54aed4cc.js";import"./@vue.e8706010.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./picker.bde52172.js";import"./index.44544070.js";import"./index.17a19250.js";import"./lodash.c4b79a6f.js";import"./vue-router.12d45bc3.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";import"./index.f68bb2ca.js";import"./index.vue_vue_type_script_setup_true_lang.fccb4113.js";import"./index.f1492838.js";import"./index.fa484e75.js";import"./index.vue_vue_type_script_setup_true_lang.1d0c0a75.js";import"./usePaging.160b82b8.js";import"./vue3-video-play.4851e3ad.js";import"./vuedraggable.ec665ecc.js";import"./vue.c9c06f7a.js";import"./sortablejs.6297fc7b.js";import"./pay.e4afa6aa.js";export{Y as default};
|
import"./edit.vue_vue_type_script_setup_true_lang.c031f8d4.js";import{_ as Y}from"./edit.vue_vue_type_script_setup_true_lang.c031f8d4.js";import"./element-plus.54aed4cc.js";import"./@vue.e8706010.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./picker.2ed9d59e.js";import"./index.a3400ab9.js";import"./index.58a5fcc1.js";import"./lodash.c4b79a6f.js";import"./vue-router.12d45bc3.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";import"./index.c2eeeafa.js";import"./index.vue_vue_type_script_setup_true_lang.fccb4113.js";import"./index.b80822d5.js";import"./index.346f714b.js";import"./index.vue_vue_type_script_setup_true_lang.1d0c0a75.js";import"./usePaging.160b82b8.js";import"./vue3-video-play.4851e3ad.js";import"./vuedraggable.ec665ecc.js";import"./vue.c9c06f7a.js";import"./sortablejs.6297fc7b.js";import"./pay.ba2ba002.js";export{Y as default};
|
|
@ -1 +1 @@
|
||||||
import{u as p}from"./vue-router.12d45bc3.js";import{s as u}from"./system.ac67b6e3.js";import{d as r,$ as e}from"./@vue.e8706010.js";import{d as m}from"./index.17a19250.js";import"./element-plus.54aed4cc.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./lodash.c4b79a6f.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";const a=r({name:"flowLists"}),_=r({...a,setup(s){const i=p(),n=t=>{for(const l in o)t[l]!=null&&t[l]!=null&&(o[l]=t[l])},o=e({id:null,phone:null,avatar:null,nick_name:null,real_name:null,id_card:null,gender:null,age:null,total_balance:null,total_integral:null,address:null,status:null,last_login_time:null,last_login_ip:null,create_time:null,gender_text:null,status_text:null,balance_list:[{id:null,record_id:null,amount:null,total_amount:null,type:null,pay_type:null,mark:null,create_time:null,app:null,type_text:null,pay_type_text:null}],integral_list:[{id:null,record_id:1,amount:"44.00",total_amount:"66.00",type:1,mark:"\u7B7E\u5230\u5956\u52B1",appid:"AD1695113831",create_time:"2023-09-19 17:52:44",app:"\u91CC\u6D77\u8D85\u5E02",type_text:"\u6536\u5165"}]});return e({name:"",status:"1"}),u({id:i.query.id}).then(t=>{n(t)}),(t,l)=>" asdsa "}});const U=m(_,[["__scopeId","data-v-14472bde"]]);export{U as default};
|
import{u as p}from"./vue-router.12d45bc3.js";import{s as u}from"./system.8bea7d6d.js";import{d as r,$ as e}from"./@vue.e8706010.js";import{d as m}from"./index.58a5fcc1.js";import"./element-plus.54aed4cc.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./lodash.c4b79a6f.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";const a=r({name:"flowLists"}),_=r({...a,setup(s){const i=p(),n=t=>{for(const l in o)t[l]!=null&&t[l]!=null&&(o[l]=t[l])},o=e({id:null,phone:null,avatar:null,nick_name:null,real_name:null,id_card:null,gender:null,age:null,total_balance:null,total_integral:null,address:null,status:null,last_login_time:null,last_login_ip:null,create_time:null,gender_text:null,status_text:null,balance_list:[{id:null,record_id:null,amount:null,total_amount:null,type:null,pay_type:null,mark:null,create_time:null,app:null,type_text:null,pay_type_text:null}],integral_list:[{id:null,record_id:1,amount:"44.00",total_amount:"66.00",type:1,mark:"\u7B7E\u5230\u5956\u52B1",appid:"AD1695113831",create_time:"2023-09-19 17:52:44",app:"\u91CC\u6D77\u8D85\u5E02",type_text:"\u6536\u5165"}]});return e({name:"",status:"1"}),u({id:i.query.id}).then(t=>{n(t)}),(t,l)=>" asdsa "}});const U=m(_,[["__scopeId","data-v-14472bde"]]);export{U as default};
|
|
@ -1 +1 @@
|
||||||
import"./edit.vue_vue_type_script_setup_true_lang.b1e77dbe.js";import{_ as N}from"./edit.vue_vue_type_script_setup_true_lang.b1e77dbe.js";import"./element-plus.54aed4cc.js";import"./@vue.e8706010.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./role.c807988a.js";import"./index.17a19250.js";import"./lodash.c4b79a6f.js";import"./vue-router.12d45bc3.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";import"./index.44544070.js";export{N as default};
|
import"./edit.vue_vue_type_script_setup_true_lang.7d724c32.js";import{_ as N}from"./edit.vue_vue_type_script_setup_true_lang.7d724c32.js";import"./element-plus.54aed4cc.js";import"./@vue.e8706010.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./post.38cf2ef0.js";import"./index.58a5fcc1.js";import"./lodash.c4b79a6f.js";import"./vue-router.12d45bc3.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";import"./index.a3400ab9.js";export{N as default};
|
|
@ -1 +1 @@
|
||||||
import"./edit.vue_vue_type_script_setup_true_lang.edcae26a.js";import{_ as O}from"./edit.vue_vue_type_script_setup_true_lang.edcae26a.js";import"./element-plus.54aed4cc.js";import"./@vue.e8706010.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./department.7b4562d5.js";import"./index.17a19250.js";import"./lodash.c4b79a6f.js";import"./vue-router.12d45bc3.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";import"./index.44544070.js";import"./useDictOptions.6a05f693.js";export{O as default};
|
import"./edit.vue_vue_type_script_setup_true_lang.5cdfd3e2.js";import{_ as O}from"./edit.vue_vue_type_script_setup_true_lang.5cdfd3e2.js";import"./element-plus.54aed4cc.js";import"./@vue.e8706010.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./department.47289e1d.js";import"./index.58a5fcc1.js";import"./lodash.c4b79a6f.js";import"./vue-router.12d45bc3.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";import"./index.a3400ab9.js";import"./useDictOptions.498320cb.js";export{O as default};
|
|
@ -1 +1 @@
|
||||||
import"./edit.vue_vue_type_script_setup_true_lang.91faac1c.js";import{_ as N}from"./edit.vue_vue_type_script_setup_true_lang.91faac1c.js";import"./element-plus.54aed4cc.js";import"./@vue.e8706010.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./index.44544070.js";import"./index.17a19250.js";import"./lodash.c4b79a6f.js";import"./vue-router.12d45bc3.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";import"./dict.d66f7ed7.js";export{N as default};
|
import"./edit.vue_vue_type_script_setup_true_lang.bd043a47.js";import{_ as N}from"./edit.vue_vue_type_script_setup_true_lang.bd043a47.js";import"./element-plus.54aed4cc.js";import"./@vue.e8706010.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./index.a3400ab9.js";import"./index.58a5fcc1.js";import"./lodash.c4b79a6f.js";import"./vue-router.12d45bc3.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";import"./dict.15c7f783.js";export{N as default};
|
File diff suppressed because one or more lines are too long
|
@ -1 +1 @@
|
||||||
import"./edit.vue_vue_type_script_setup_true_lang.e582decb.js";import{_ as M}from"./edit.vue_vue_type_script_setup_true_lang.e582decb.js";import"./element-plus.54aed4cc.js";import"./@vue.e8706010.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./index.17a19250.js";import"./lodash.c4b79a6f.js";import"./vue-router.12d45bc3.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";import"./index.44544070.js";export{M as default};
|
import"./edit.vue_vue_type_script_setup_true_lang.18a46380.js";import{_ as M}from"./edit.vue_vue_type_script_setup_true_lang.18a46380.js";import"./element-plus.54aed4cc.js";import"./@vue.e8706010.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./index.58a5fcc1.js";import"./lodash.c4b79a6f.js";import"./vue-router.12d45bc3.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";import"./index.a3400ab9.js";export{M as default};
|
|
@ -1 +1 @@
|
||||||
import"./edit.vue_vue_type_script_setup_true_lang.f7721cb6.js";import{_ as N}from"./edit.vue_vue_type_script_setup_true_lang.f7721cb6.js";import"./element-plus.54aed4cc.js";import"./@vue.e8706010.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./message.a8060608.js";import"./index.17a19250.js";import"./lodash.c4b79a6f.js";import"./vue-router.12d45bc3.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";import"./index.44544070.js";export{N as default};
|
import"./edit.vue_vue_type_script_setup_true_lang.96fc2ddb.js";import{_ as N}from"./edit.vue_vue_type_script_setup_true_lang.96fc2ddb.js";import"./element-plus.54aed4cc.js";import"./@vue.e8706010.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./message.4f5fe238.js";import"./index.58a5fcc1.js";import"./lodash.c4b79a6f.js";import"./vue-router.12d45bc3.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";import"./index.a3400ab9.js";export{N as default};
|
|
@ -1 +1 @@
|
||||||
import"./edit.vue_vue_type_script_setup_true_lang.bf6143f8.js";import{_ as mm}from"./edit.vue_vue_type_script_setup_true_lang.bf6143f8.js";import"./element-plus.54aed4cc.js";import"./@vue.e8706010.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./picker.bde52172.js";import"./index.44544070.js";import"./index.17a19250.js";import"./lodash.c4b79a6f.js";import"./vue-router.12d45bc3.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";import"./index.f68bb2ca.js";import"./index.vue_vue_type_script_setup_true_lang.fccb4113.js";import"./index.f1492838.js";import"./index.fa484e75.js";import"./index.vue_vue_type_script_setup_true_lang.1d0c0a75.js";import"./usePaging.160b82b8.js";import"./vue3-video-play.4851e3ad.js";import"./vuedraggable.ec665ecc.js";import"./vue.c9c06f7a.js";import"./sortablejs.6297fc7b.js";import"./useDictOptions.6a05f693.js";import"./role.c807988a.js";import"./post.f74b42a5.js";import"./department.7b4562d5.js";export{mm as default};
|
import"./edit.vue_vue_type_script_setup_true_lang.6a83eeae.js";import{_ as mm}from"./edit.vue_vue_type_script_setup_true_lang.6a83eeae.js";import"./element-plus.54aed4cc.js";import"./@vue.e8706010.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./picker.2ed9d59e.js";import"./index.a3400ab9.js";import"./index.58a5fcc1.js";import"./lodash.c4b79a6f.js";import"./vue-router.12d45bc3.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";import"./index.c2eeeafa.js";import"./index.vue_vue_type_script_setup_true_lang.fccb4113.js";import"./index.b80822d5.js";import"./index.346f714b.js";import"./index.vue_vue_type_script_setup_true_lang.1d0c0a75.js";import"./usePaging.160b82b8.js";import"./vue3-video-play.4851e3ad.js";import"./vuedraggable.ec665ecc.js";import"./vue.c9c06f7a.js";import"./sortablejs.6297fc7b.js";import"./useDictOptions.498320cb.js";import"./role.451015ea.js";import"./post.38cf2ef0.js";import"./department.47289e1d.js";export{mm as default};
|
|
@ -1 +1 @@
|
||||||
import"./edit.vue_vue_type_script_setup_true_lang.b41579f8.js";import{_ as O}from"./edit.vue_vue_type_script_setup_true_lang.b41579f8.js";import"./element-plus.54aed4cc.js";import"./@vue.e8706010.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./picker.vue_vue_type_script_setup_true_lang.1fe2a5c1.js";import"./index.17a19250.js";import"./lodash.c4b79a6f.js";import"./vue-router.12d45bc3.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";import"./menu.20ceb9b6.js";import"./index.44544070.js";export{O as default};
|
import"./edit.vue_vue_type_script_setup_true_lang.7d56f27c.js";import{_ as O}from"./edit.vue_vue_type_script_setup_true_lang.7d56f27c.js";import"./element-plus.54aed4cc.js";import"./@vue.e8706010.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./picker.vue_vue_type_script_setup_true_lang.dc360316.js";import"./index.58a5fcc1.js";import"./lodash.c4b79a6f.js";import"./vue-router.12d45bc3.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";import"./menu.c2e4b2a1.js";import"./index.a3400ab9.js";export{O as default};
|
|
@ -1 +1 @@
|
||||||
import"./edit.vue_vue_type_script_setup_true_lang.de727f9e.js";import{_ as N}from"./edit.vue_vue_type_script_setup_true_lang.de727f9e.js";import"./element-plus.54aed4cc.js";import"./@vue.e8706010.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./article.c4806029.js";import"./index.17a19250.js";import"./lodash.c4b79a6f.js";import"./vue-router.12d45bc3.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";import"./index.44544070.js";export{N as default};
|
import"./edit.vue_vue_type_script_setup_true_lang.c4bdfe56.js";import{_ as N}from"./edit.vue_vue_type_script_setup_true_lang.c4bdfe56.js";import"./element-plus.54aed4cc.js";import"./@vue.e8706010.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./article.96593f8b.js";import"./index.58a5fcc1.js";import"./lodash.c4b79a6f.js";import"./vue-router.12d45bc3.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";import"./index.a3400ab9.js";export{N as default};
|
|
@ -1 +1 @@
|
||||||
import"./edit.vue_vue_type_script_setup_true_lang.c3fe9bde.js";import{_ as N}from"./edit.vue_vue_type_script_setup_true_lang.c3fe9bde.js";import"./element-plus.54aed4cc.js";import"./@vue.e8706010.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./post.f74b42a5.js";import"./index.17a19250.js";import"./lodash.c4b79a6f.js";import"./vue-router.12d45bc3.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";import"./index.44544070.js";export{N as default};
|
import"./edit.vue_vue_type_script_setup_true_lang.b9e16be3.js";import{_ as N}from"./edit.vue_vue_type_script_setup_true_lang.b9e16be3.js";import"./element-plus.54aed4cc.js";import"./@vue.e8706010.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./role.451015ea.js";import"./index.58a5fcc1.js";import"./lodash.c4b79a6f.js";import"./vue-router.12d45bc3.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";import"./index.a3400ab9.js";export{N as default};
|
|
@ -1 +1 @@
|
||||||
import{G as x,C as O,B as w,H as U,D as N}from"./element-plus.54aed4cc.js";import{r as F}from"./index.17a19250.js";import{P as Y}from"./index.44544070.js";import{d as I,s as g,$ as T,e as G,o as m,c as B,U as t,L as a,a as r,S as _,T as A,u as C,K as L,R as S}from"./@vue.e8706010.js";function oe(){return F.get({url:"/setting.storage/lists"})}function P(i){return F.post({url:"/setting.storage/setup",params:i})}function H(i){return F.get({url:"/setting.storage/detail",params:i})}const $={class:"edit-popup"},j={class:"form-tips"},z={key:0},J={class:"flex-1"},M={class:"flex-1"},Q=r("div",{class:"form-tips"}," \u8BF7\u8865\u5168http://\u6216https://\uFF0C\u4F8B\u5982https://static.cloud.com ",-1),W=_("\u5173\u95ED"),X=_("\u5F00\u542F"),le=I({__name:"edit",emits:["success"],setup(i,{expose:b,emit:y}){const d=g(),p=g(),u=T({engine:"",bucket:"",access_key:"",secret_key:"",domain:"",region:"",status:0}),D=[{name:"\u672C\u5730\u5B58\u50A8",type:"local",tips:"\u672C\u5730\u5B58\u50A8\u65B9\u5F0F\u4E0D\u9700\u8981\u914D\u7F6E\u5176\u4ED6\u53C2\u6570"},{name:"\u4E03\u725B\u4E91\u5B58\u50A8",type:"qiniu",tips:"\u5207\u6362\u4E03\u725B\u4E91\u5B58\u50A8\u540E\uFF0C\u7D20\u6750\u5E93\u9700\u8981\u91CD\u65B0\u4E0A\u4F20\u81F3\u4E03\u725B\u4E91"},{name:"\u963F\u91CC\u4E91OSS",type:"aliyun",tips:"\u5207\u6362\u963F\u91CC\u4E91OSS\u540E\uFF0C\u7D20\u6750\u5E93\u9700\u8981\u91CD\u65B0\u4E0A\u4F20\u81F3\u963F\u91CC\u4E91OSS"},{name:"\u817E\u8BAF\u4E91OSS",type:"qcloud",tips:"\u5207\u6362\u817E\u8BAF\u4E91OSS\u540E\uFF0C\u7D20\u6750\u5E93\u9700\u8981\u91CD\u65B0\u4E0A\u4F20\u81F3\u817E\u8BAF\u4E91OSS"}],k={bucket:[{required:!0,message:"\u8BF7\u8F93\u5165\u5B58\u50A8\u7A7A\u95F4\u540D\u79F0",trigger:"blur"}],access_key:[{required:!0,message:"\u8BF7\u8F93\u5165ACCESS_KEY",trigger:"blur"}],secret_key:[{required:!0,message:"\u8BF7\u8F93\u5165SECRET_KEY",trigger:"blur"}],domain:[{required:!0,message:"\u8BF7\u8F93\u5165\u7A7A\u95F4\u57DF\u540D",trigger:"blur"}],region:[{required:!0,message:"\u8BF7\u8F93\u5165REGION",trigger:"blur"}]},E=G(()=>D.find(l=>l.type==u.engine)),V=async()=>{var l,e;await((l=d.value)==null?void 0:l.validate()),await P(u),(e=p.value)==null||e.close(),y("success")},v=async()=>{const l=await H({engine:u.engine});for(const e in l)u[e]=l[e]},R=l=>{var e;u.engine=l,(e=p.value)==null||e.open(),v()},h=()=>{var l;(l=d.value)==null||l.resetFields()};return b({open:R}),(l,e)=>{const c=x,s=O,n=w,q=U,K=N;return m(),B("div",$,[t(Y,{ref_key:"popupRef",ref:p,title:"\u8BBE\u7F6E\u5B58\u50A8",async:!0,width:"550px",onConfirm:V,onClose:h},{default:a(()=>[t(K,{ref_key:"formRef",ref:d,model:u,"label-width":"120px",rules:k},{default:a(()=>[t(s,{label:"\u5B58\u50A8\u65B9\u5F0F",prop:"engine"},{default:a(()=>{var o;return[r("div",null,[t(c,{"model-value":""},{default:a(()=>{var f;return[_(A((f=C(E))==null?void 0:f.name),1)]}),_:1}),r("div",j,A((o=C(E))==null?void 0:o.tips),1)])]}),_:1}),u.engine!=="local"?(m(),B("div",z,[t(s,{label:" \u5B58\u50A8\u7A7A\u95F4\u540D\u79F0",prop:"bucket"},{default:a(()=>[r("div",J,[t(n,{modelValue:u.bucket,"onUpdate:modelValue":e[0]||(e[0]=o=>u.bucket=o),placeholder:"\u8BF7\u8F93\u5165\u5B58\u50A8\u7A7A\u95F4\u540D\u79F0(Bucket)",clearable:""},null,8,["modelValue"])])]),_:1}),t(s,{label:"ACCESS_KEY",prop:"access_key"},{default:a(()=>[t(n,{modelValue:u.access_key,"onUpdate:modelValue":e[1]||(e[1]=o=>u.access_key=o),placeholder:"\u8BF7\u8F93\u5165ACCESS_KEY(AK)",clearable:""},null,8,["modelValue"])]),_:1}),t(s,{label:"SECRET_KEY",prop:"secret_key"},{default:a(()=>[t(n,{modelValue:u.secret_key,"onUpdate:modelValue":e[2]||(e[2]=o=>u.secret_key=o),placeholder:"\u8BF7\u8F93\u5165SECRET_KEY(SK)",clearable:""},null,8,["modelValue"])]),_:1}),t(s,{label:"\u7A7A\u95F4\u57DF\u540D",prop:"domain"},{default:a(()=>[r("div",M,[r("div",null,[t(n,{modelValue:u.domain,"onUpdate:modelValue":e[3]||(e[3]=o=>u.domain=o),placeholder:"\u8BF7\u8F93\u5165\u7A7A\u95F4\u57DF\u540D(Domain)",clearable:""},null,8,["modelValue"])]),Q])]),_:1}),u.engine=="qcloud"?(m(),L(s,{key:0,label:"REGION",prop:"region"},{default:a(()=>[t(n,{modelValue:u.region,"onUpdate:modelValue":e[4]||(e[4]=o=>u.region=o),placeholder:"\u8BF7\u8F93\u5165region",clearable:""},null,8,["modelValue"])]),_:1})):S("",!0)])):S("",!0),t(s,{label:"\u72B6\u6001",prop:"status"},{default:a(()=>[t(q,{modelValue:u.status,"onUpdate:modelValue":e[5]||(e[5]=o=>u.status=o)},{default:a(()=>[t(c,{label:0},{default:a(()=>[W]),_:1}),t(c,{label:1},{default:a(()=>[X]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},512)])}}});export{le as _,oe as s};
|
import{G as x,C as O,B as w,H as U,D as N}from"./element-plus.54aed4cc.js";import{r as F}from"./index.58a5fcc1.js";import{P as Y}from"./index.a3400ab9.js";import{d as I,s as g,$ as T,e as G,o as m,c as B,U as t,L as a,a as r,S as _,T as A,u as C,K as L,R as S}from"./@vue.e8706010.js";function oe(){return F.get({url:"/setting.storage/lists"})}function P(i){return F.post({url:"/setting.storage/setup",params:i})}function H(i){return F.get({url:"/setting.storage/detail",params:i})}const $={class:"edit-popup"},j={class:"form-tips"},z={key:0},J={class:"flex-1"},M={class:"flex-1"},Q=r("div",{class:"form-tips"}," \u8BF7\u8865\u5168http://\u6216https://\uFF0C\u4F8B\u5982https://static.cloud.com ",-1),W=_("\u5173\u95ED"),X=_("\u5F00\u542F"),le=I({__name:"edit",emits:["success"],setup(i,{expose:b,emit:y}){const d=g(),p=g(),u=T({engine:"",bucket:"",access_key:"",secret_key:"",domain:"",region:"",status:0}),D=[{name:"\u672C\u5730\u5B58\u50A8",type:"local",tips:"\u672C\u5730\u5B58\u50A8\u65B9\u5F0F\u4E0D\u9700\u8981\u914D\u7F6E\u5176\u4ED6\u53C2\u6570"},{name:"\u4E03\u725B\u4E91\u5B58\u50A8",type:"qiniu",tips:"\u5207\u6362\u4E03\u725B\u4E91\u5B58\u50A8\u540E\uFF0C\u7D20\u6750\u5E93\u9700\u8981\u91CD\u65B0\u4E0A\u4F20\u81F3\u4E03\u725B\u4E91"},{name:"\u963F\u91CC\u4E91OSS",type:"aliyun",tips:"\u5207\u6362\u963F\u91CC\u4E91OSS\u540E\uFF0C\u7D20\u6750\u5E93\u9700\u8981\u91CD\u65B0\u4E0A\u4F20\u81F3\u963F\u91CC\u4E91OSS"},{name:"\u817E\u8BAF\u4E91OSS",type:"qcloud",tips:"\u5207\u6362\u817E\u8BAF\u4E91OSS\u540E\uFF0C\u7D20\u6750\u5E93\u9700\u8981\u91CD\u65B0\u4E0A\u4F20\u81F3\u817E\u8BAF\u4E91OSS"}],k={bucket:[{required:!0,message:"\u8BF7\u8F93\u5165\u5B58\u50A8\u7A7A\u95F4\u540D\u79F0",trigger:"blur"}],access_key:[{required:!0,message:"\u8BF7\u8F93\u5165ACCESS_KEY",trigger:"blur"}],secret_key:[{required:!0,message:"\u8BF7\u8F93\u5165SECRET_KEY",trigger:"blur"}],domain:[{required:!0,message:"\u8BF7\u8F93\u5165\u7A7A\u95F4\u57DF\u540D",trigger:"blur"}],region:[{required:!0,message:"\u8BF7\u8F93\u5165REGION",trigger:"blur"}]},E=G(()=>D.find(l=>l.type==u.engine)),V=async()=>{var l,e;await((l=d.value)==null?void 0:l.validate()),await P(u),(e=p.value)==null||e.close(),y("success")},v=async()=>{const l=await H({engine:u.engine});for(const e in l)u[e]=l[e]},R=l=>{var e;u.engine=l,(e=p.value)==null||e.open(),v()},h=()=>{var l;(l=d.value)==null||l.resetFields()};return b({open:R}),(l,e)=>{const c=x,s=O,n=w,q=U,K=N;return m(),B("div",$,[t(Y,{ref_key:"popupRef",ref:p,title:"\u8BBE\u7F6E\u5B58\u50A8",async:!0,width:"550px",onConfirm:V,onClose:h},{default:a(()=>[t(K,{ref_key:"formRef",ref:d,model:u,"label-width":"120px",rules:k},{default:a(()=>[t(s,{label:"\u5B58\u50A8\u65B9\u5F0F",prop:"engine"},{default:a(()=>{var o;return[r("div",null,[t(c,{"model-value":""},{default:a(()=>{var f;return[_(A((f=C(E))==null?void 0:f.name),1)]}),_:1}),r("div",j,A((o=C(E))==null?void 0:o.tips),1)])]}),_:1}),u.engine!=="local"?(m(),B("div",z,[t(s,{label:" \u5B58\u50A8\u7A7A\u95F4\u540D\u79F0",prop:"bucket"},{default:a(()=>[r("div",J,[t(n,{modelValue:u.bucket,"onUpdate:modelValue":e[0]||(e[0]=o=>u.bucket=o),placeholder:"\u8BF7\u8F93\u5165\u5B58\u50A8\u7A7A\u95F4\u540D\u79F0(Bucket)",clearable:""},null,8,["modelValue"])])]),_:1}),t(s,{label:"ACCESS_KEY",prop:"access_key"},{default:a(()=>[t(n,{modelValue:u.access_key,"onUpdate:modelValue":e[1]||(e[1]=o=>u.access_key=o),placeholder:"\u8BF7\u8F93\u5165ACCESS_KEY(AK)",clearable:""},null,8,["modelValue"])]),_:1}),t(s,{label:"SECRET_KEY",prop:"secret_key"},{default:a(()=>[t(n,{modelValue:u.secret_key,"onUpdate:modelValue":e[2]||(e[2]=o=>u.secret_key=o),placeholder:"\u8BF7\u8F93\u5165SECRET_KEY(SK)",clearable:""},null,8,["modelValue"])]),_:1}),t(s,{label:"\u7A7A\u95F4\u57DF\u540D",prop:"domain"},{default:a(()=>[r("div",M,[r("div",null,[t(n,{modelValue:u.domain,"onUpdate:modelValue":e[3]||(e[3]=o=>u.domain=o),placeholder:"\u8BF7\u8F93\u5165\u7A7A\u95F4\u57DF\u540D(Domain)",clearable:""},null,8,["modelValue"])]),Q])]),_:1}),u.engine=="qcloud"?(m(),L(s,{key:0,label:"REGION",prop:"region"},{default:a(()=>[t(n,{modelValue:u.region,"onUpdate:modelValue":e[4]||(e[4]=o=>u.region=o),placeholder:"\u8BF7\u8F93\u5165region",clearable:""},null,8,["modelValue"])]),_:1})):S("",!0)])):S("",!0),t(s,{label:"\u72B6\u6001",prop:"status"},{default:a(()=>[t(q,{modelValue:u.status,"onUpdate:modelValue":e[5]||(e[5]=o=>u.status=o)},{default:a(()=>[t(c,{label:0},{default:a(()=>[W]),_:1}),t(c,{label:1},{default:a(()=>[X]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},512)])}}});export{le as _,oe as s};
|
|
@ -1 +1 @@
|
||||||
import{Z as k,C as y,B as R,v as U,t as N,D as I}from"./element-plus.54aed4cc.js";import{d as S,a as q,b as M,c as P}from"./department.7b4562d5.js";import{P as T}from"./index.44544070.js";import{u as $}from"./useDictOptions.6a05f693.js";import{d as K,s as E,r as L,e as O,$ as Z,o as f,c as j,U as l,L as s,K as z,u as _,R as G,a as F}from"./@vue.e8706010.js";const H={class:"edit-popup"},J=F("div",{class:"form-tips"},"\u9ED8\u8BA4\u4E3A0\uFF0C \u6570\u503C\u8D8A\u5927\u8D8A\u6392\u524D",-1),te=K({__name:"edit",emits:["success","close"],setup(Q,{expose:D,emit:i}){const m=E(),d=E(),r=L("add"),B=O(()=>r.value=="edit"?"\u7F16\u8F91\u90E8\u95E8":"\u65B0\u589E\u90E8\u95E8"),u=Z({id:"",pid:"",name:"",leader:"",mobile:"",sort:0,status:1}),V={pid:[{required:!0,message:"\u8BF7\u9009\u62E9\u4E0A\u7EA7\u90E8\u95E8",trigger:["change"]}],name:[{required:!0,message:"\u8BF7\u8F93\u5165\u90E8\u95E8\u540D\u79F0",trigger:["blur"]}],mobile:[{validator:(t,e,n)=>{if(e){const a=/^[1][3,4,5,6,7,8,9][0-9]{9}$/;if(console.log(a.test(e)),a.test(e))n();else return n(new Error("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7"))}else return n()},trigger:["blur"]}]},{optionsData:b}=$({dept:{api:S}}),v=async()=>{var t,e;await((t=m.value)==null?void 0:t.validate()),r.value=="edit"?await q(u):await M(u),(e=d.value)==null||e.close(),i("success")},A=(t="add")=>{var e;r.value=t,(e=d.value)==null||e.open()},c=t=>{for(const e in u)t[e]!=null&&t[e]!=null&&(u[e]=t[e])},g=async t=>{const e=await P({id:t.id});c(e)},w=()=>{i("close")};return D({open:A,setFormData:c,getDetail:g}),(t,e)=>{const n=k,a=y,p=R,C=U,x=N,h=I;return f(),j("div",H,[l(T,{ref_key:"popupRef",ref:d,title:_(B),async:!0,width:"550px",onConfirm:v,onClose:w},{default:s(()=>[l(h,{ref_key:"formRef",ref:m,model:u,"label-width":"84px",rules:V},{default:s(()=>[u.pid!==0?(f(),z(a,{key:0,label:"\u4E0A\u7EA7\u90E8\u95E8",prop:"pid"},{default:s(()=>[l(n,{class:"flex-1",modelValue:u.pid,"onUpdate:modelValue":e[0]||(e[0]=o=>u.pid=o),data:_(b).dept,clearable:"","node-key":"id",props:{value:"id",label:"name"},"check-strictly":"","default-expand-all":!0,placeholder:"\u8BF7\u9009\u62E9\u4E0A\u7EA7\u90E8\u95E8"},null,8,["modelValue","data"])]),_:1})):G("",!0),l(a,{label:"\u90E8\u95E8\u540D\u79F0",prop:"name"},{default:s(()=>[l(p,{modelValue:u.name,"onUpdate:modelValue":e[1]||(e[1]=o=>u.name=o),placeholder:"\u8BF7\u8F93\u5165\u90E8\u95E8\u540D\u79F0",maxlength:100},null,8,["modelValue"])]),_:1}),l(a,{label:"\u8D1F\u8D23\u4EBA",prop:"leader"},{default:s(()=>[l(p,{modelValue:u.leader,"onUpdate:modelValue":e[2]||(e[2]=o=>u.leader=o),placeholder:"\u8BF7\u8F93\u5165\u8D1F\u8D23\u4EBA\u59D3\u540D",maxlength:30},null,8,["modelValue"])]),_:1}),l(a,{label:"\u8054\u7CFB\u7535\u8BDD",prop:"mobile"},{default:s(()=>[l(p,{modelValue:u.mobile,"onUpdate:modelValue":e[3]||(e[3]=o=>u.mobile=o),placeholder:"\u8BF7\u8F93\u5165\u8054\u7CFB\u7535\u8BDD"},null,8,["modelValue"])]),_:1}),l(a,{label:"\u6392\u5E8F",prop:"sort"},{default:s(()=>[F("div",null,[l(C,{modelValue:u.sort,"onUpdate:modelValue":e[4]||(e[4]=o=>u.sort=o),min:0,max:9999},null,8,["modelValue"]),J])]),_:1}),l(a,{label:"\u90E8\u95E8\u72B6\u6001"},{default:s(()=>[l(x,{modelValue:u.status,"onUpdate:modelValue":e[5]||(e[5]=o=>u.status=o),"active-value":1,"inactive-value":0},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},8,["title"])])}}});export{te as _};
|
import{Z as k,C as y,B as R,v as U,t as N,D as I}from"./element-plus.54aed4cc.js";import{d as S,a as q,b as M,c as P}from"./department.47289e1d.js";import{P as T}from"./index.a3400ab9.js";import{u as $}from"./useDictOptions.498320cb.js";import{d as K,s as E,r as L,e as O,$ as Z,o as f,c as j,U as l,L as s,K as z,u as _,R as G,a as F}from"./@vue.e8706010.js";const H={class:"edit-popup"},J=F("div",{class:"form-tips"},"\u9ED8\u8BA4\u4E3A0\uFF0C \u6570\u503C\u8D8A\u5927\u8D8A\u6392\u524D",-1),te=K({__name:"edit",emits:["success","close"],setup(Q,{expose:D,emit:i}){const m=E(),d=E(),r=L("add"),B=O(()=>r.value=="edit"?"\u7F16\u8F91\u90E8\u95E8":"\u65B0\u589E\u90E8\u95E8"),u=Z({id:"",pid:"",name:"",leader:"",mobile:"",sort:0,status:1}),V={pid:[{required:!0,message:"\u8BF7\u9009\u62E9\u4E0A\u7EA7\u90E8\u95E8",trigger:["change"]}],name:[{required:!0,message:"\u8BF7\u8F93\u5165\u90E8\u95E8\u540D\u79F0",trigger:["blur"]}],mobile:[{validator:(t,e,n)=>{if(e){const a=/^[1][3,4,5,6,7,8,9][0-9]{9}$/;if(console.log(a.test(e)),a.test(e))n();else return n(new Error("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7"))}else return n()},trigger:["blur"]}]},{optionsData:b}=$({dept:{api:S}}),v=async()=>{var t,e;await((t=m.value)==null?void 0:t.validate()),r.value=="edit"?await q(u):await M(u),(e=d.value)==null||e.close(),i("success")},A=(t="add")=>{var e;r.value=t,(e=d.value)==null||e.open()},c=t=>{for(const e in u)t[e]!=null&&t[e]!=null&&(u[e]=t[e])},g=async t=>{const e=await P({id:t.id});c(e)},w=()=>{i("close")};return D({open:A,setFormData:c,getDetail:g}),(t,e)=>{const n=k,a=y,p=R,C=U,x=N,h=I;return f(),j("div",H,[l(T,{ref_key:"popupRef",ref:d,title:_(B),async:!0,width:"550px",onConfirm:v,onClose:w},{default:s(()=>[l(h,{ref_key:"formRef",ref:m,model:u,"label-width":"84px",rules:V},{default:s(()=>[u.pid!==0?(f(),z(a,{key:0,label:"\u4E0A\u7EA7\u90E8\u95E8",prop:"pid"},{default:s(()=>[l(n,{class:"flex-1",modelValue:u.pid,"onUpdate:modelValue":e[0]||(e[0]=o=>u.pid=o),data:_(b).dept,clearable:"","node-key":"id",props:{value:"id",label:"name"},"check-strictly":"","default-expand-all":!0,placeholder:"\u8BF7\u9009\u62E9\u4E0A\u7EA7\u90E8\u95E8"},null,8,["modelValue","data"])]),_:1})):G("",!0),l(a,{label:"\u90E8\u95E8\u540D\u79F0",prop:"name"},{default:s(()=>[l(p,{modelValue:u.name,"onUpdate:modelValue":e[1]||(e[1]=o=>u.name=o),placeholder:"\u8BF7\u8F93\u5165\u90E8\u95E8\u540D\u79F0",maxlength:100},null,8,["modelValue"])]),_:1}),l(a,{label:"\u8D1F\u8D23\u4EBA",prop:"leader"},{default:s(()=>[l(p,{modelValue:u.leader,"onUpdate:modelValue":e[2]||(e[2]=o=>u.leader=o),placeholder:"\u8BF7\u8F93\u5165\u8D1F\u8D23\u4EBA\u59D3\u540D",maxlength:30},null,8,["modelValue"])]),_:1}),l(a,{label:"\u8054\u7CFB\u7535\u8BDD",prop:"mobile"},{default:s(()=>[l(p,{modelValue:u.mobile,"onUpdate:modelValue":e[3]||(e[3]=o=>u.mobile=o),placeholder:"\u8BF7\u8F93\u5165\u8054\u7CFB\u7535\u8BDD"},null,8,["modelValue"])]),_:1}),l(a,{label:"\u6392\u5E8F",prop:"sort"},{default:s(()=>[F("div",null,[l(C,{modelValue:u.sort,"onUpdate:modelValue":e[4]||(e[4]=o=>u.sort=o),min:0,max:9999},null,8,["modelValue"]),J])]),_:1}),l(a,{label:"\u90E8\u95E8\u72B6\u6001"},{default:s(()=>[l(x,{modelValue:u.status,"onUpdate:modelValue":e[5]||(e[5]=o=>u.status=o),"active-value":1,"inactive-value":0},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},8,["title"])])}}});export{te as _};
|
File diff suppressed because one or more lines are too long
|
@ -1 +1 @@
|
||||||
import{B as w,C as v,G as E,H as g,D as k}from"./element-plus.54aed4cc.js";import{P as x}from"./index.44544070.js";import{g as R,h}from"./dict.d66f7ed7.js";import{d as D,s as c,r as U,e as T,$ as q,o as G,c as I,U as o,L as a,u as N,S as f}from"./@vue.e8706010.js";const P={class:"edit-popup"},S=f("\u6B63\u5E38"),z=f("\u505C\u7528"),M=D({__name:"edit",emits:["success","close"],setup(A,{expose:_,emit:m}){const p=c(),r=c(),n=U("add"),B=T(()=>n.value=="edit"?"\u7F16\u8F91\u5B57\u5178\u7C7B\u578B":"\u65B0\u589E\u5B57\u5178\u7C7B\u578B"),u=q({id:"",name:"",type:"",status:1,remark:""}),F={name:[{required:!0,message:"\u8BF7\u8F93\u5165\u5B57\u5178\u540D\u79F0",trigger:["blur"]}],type:[{required:!0,message:"\u8BF7\u8F93\u5165\u5B57\u5178\u7C7B\u578B",trigger:["blur"]}]},V=async()=>{var t,e;await((t=p.value)==null?void 0:t.validate()),n.value=="edit"?await R(u):await h(u),(e=r.value)==null||e.close(),m("success")},b=()=>{m("close")};return _({open:(t="add")=>{var e;n.value=t,(e=r.value)==null||e.open()},setFormData:t=>{for(const e in u)t[e]!=null&&t[e]!=null&&(u[e]=t[e])}}),(t,e)=>{const d=w,s=v,i=E,y=g,C=k;return G(),I("div",P,[o(x,{ref_key:"popupRef",ref:r,title:N(B),async:!0,width:"550px",onConfirm:V,onClose:b},{default:a(()=>[o(C,{class:"ls-form",ref_key:"formRef",ref:p,rules:F,model:u,"label-width":"84px"},{default:a(()=>[o(s,{label:"\u5B57\u5178\u540D\u79F0",prop:"name"},{default:a(()=>[o(d,{modelValue:u.name,"onUpdate:modelValue":e[0]||(e[0]=l=>u.name=l),placeholder:"\u8BF7\u8F93\u5165\u5B57\u5178\u540D\u79F0",clearable:""},null,8,["modelValue"])]),_:1}),o(s,{label:"\u5B57\u5178\u7C7B\u578B",prop:"type"},{default:a(()=>[o(d,{modelValue:u.type,"onUpdate:modelValue":e[1]||(e[1]=l=>u.type=l),placeholder:"\u8BF7\u8F93\u5165\u5B57\u5178\u7C7B\u578B",clearable:""},null,8,["modelValue"])]),_:1}),o(s,{label:"\u5B57\u5178\u72B6\u6001",required:"",prop:"status"},{default:a(()=>[o(y,{modelValue:u.status,"onUpdate:modelValue":e[2]||(e[2]=l=>u.status=l)},{default:a(()=>[o(i,{label:1},{default:a(()=>[S]),_:1}),o(i,{label:0},{default:a(()=>[z]),_:1})]),_:1},8,["modelValue"])]),_:1}),o(s,{label:"\u5907\u6CE8",prop:"remark"},{default:a(()=>[o(d,{modelValue:u.remark,"onUpdate:modelValue":e[3]||(e[3]=l=>u.remark=l),type:"textarea",autosize:{minRows:4,maxRows:6},clearable:"",maxlength:"200","show-word-limit":""},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},8,["title"])])}}});export{M as _};
|
import{B as w,C as v,G as E,H as g,D as k}from"./element-plus.54aed4cc.js";import{P as x}from"./index.a3400ab9.js";import{g as R,h}from"./dict.15c7f783.js";import{d as D,s as c,r as U,e as T,$ as q,o as G,c as I,U as o,L as a,u as N,S as f}from"./@vue.e8706010.js";const P={class:"edit-popup"},S=f("\u6B63\u5E38"),z=f("\u505C\u7528"),M=D({__name:"edit",emits:["success","close"],setup(A,{expose:_,emit:m}){const p=c(),r=c(),n=U("add"),B=T(()=>n.value=="edit"?"\u7F16\u8F91\u5B57\u5178\u7C7B\u578B":"\u65B0\u589E\u5B57\u5178\u7C7B\u578B"),u=q({id:"",name:"",type:"",status:1,remark:""}),F={name:[{required:!0,message:"\u8BF7\u8F93\u5165\u5B57\u5178\u540D\u79F0",trigger:["blur"]}],type:[{required:!0,message:"\u8BF7\u8F93\u5165\u5B57\u5178\u7C7B\u578B",trigger:["blur"]}]},V=async()=>{var t,e;await((t=p.value)==null?void 0:t.validate()),n.value=="edit"?await R(u):await h(u),(e=r.value)==null||e.close(),m("success")},b=()=>{m("close")};return _({open:(t="add")=>{var e;n.value=t,(e=r.value)==null||e.open()},setFormData:t=>{for(const e in u)t[e]!=null&&t[e]!=null&&(u[e]=t[e])}}),(t,e)=>{const d=w,s=v,i=E,y=g,C=k;return G(),I("div",P,[o(x,{ref_key:"popupRef",ref:r,title:N(B),async:!0,width:"550px",onConfirm:V,onClose:b},{default:a(()=>[o(C,{class:"ls-form",ref_key:"formRef",ref:p,rules:F,model:u,"label-width":"84px"},{default:a(()=>[o(s,{label:"\u5B57\u5178\u540D\u79F0",prop:"name"},{default:a(()=>[o(d,{modelValue:u.name,"onUpdate:modelValue":e[0]||(e[0]=l=>u.name=l),placeholder:"\u8BF7\u8F93\u5165\u5B57\u5178\u540D\u79F0",clearable:""},null,8,["modelValue"])]),_:1}),o(s,{label:"\u5B57\u5178\u7C7B\u578B",prop:"type"},{default:a(()=>[o(d,{modelValue:u.type,"onUpdate:modelValue":e[1]||(e[1]=l=>u.type=l),placeholder:"\u8BF7\u8F93\u5165\u5B57\u5178\u7C7B\u578B",clearable:""},null,8,["modelValue"])]),_:1}),o(s,{label:"\u5B57\u5178\u72B6\u6001",required:"",prop:"status"},{default:a(()=>[o(y,{modelValue:u.status,"onUpdate:modelValue":e[2]||(e[2]=l=>u.status=l)},{default:a(()=>[o(i,{label:1},{default:a(()=>[S]),_:1}),o(i,{label:0},{default:a(()=>[z]),_:1})]),_:1},8,["modelValue"])]),_:1}),o(s,{label:"\u5907\u6CE8",prop:"remark"},{default:a(()=>[o(d,{modelValue:u.remark,"onUpdate:modelValue":e[3]||(e[3]=l=>u.remark=l),type:"textarea",autosize:{minRows:4,maxRows:6},clearable:"",maxlength:"200","show-word-limit":""},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},8,["title"])])}}});export{M as _};
|
File diff suppressed because one or more lines are too long
|
@ -1 +1 @@
|
||||||
import{B as x,C as g,v as k,t as R,D as h}from"./element-plus.54aed4cc.js";import{j as y,a as U,b as A}from"./post.f74b42a5.js";import{P as j}from"./index.44544070.js";import{d as q,s as c,r as I,e as N,$ as P,o as S,c as z,U as o,L as a,a as f,u as L}from"./@vue.e8706010.js";const T={class:"edit-popup"},$=f("div",{class:"form-tips"},"\u9ED8\u8BA4\u4E3A0\uFF0C \u6570\u503C\u8D8A\u5927\u8D8A\u6392\u524D",-1),O=q({__name:"edit",emits:["success","close"],setup(G,{expose:F,emit:m}){const p=c(),r=c(),n=I("add"),_=N(()=>n.value=="edit"?"\u7F16\u8F91\u5C97\u4F4D":"\u65B0\u589E\u5C97\u4F4D"),u=P({id:"",name:"",code:"",sort:0,remark:"",status:1}),D={code:[{required:!0,message:"\u8BF7\u8F93\u5165\u5C97\u4F4D\u7F16\u7801",trigger:["blur"]}],name:[{required:!0,message:"\u8BF7\u8F93\u5165\u5C97\u4F4D\u540D\u79F0",trigger:["blur"]}]},C=async()=>{var l,e;await((l=p.value)==null?void 0:l.validate()),n.value=="edit"?await y(u):await U(u),(e=r.value)==null||e.close(),m("success")},b=(l="add")=>{var e;n.value=l,(e=r.value)==null||e.open()},i=l=>{for(const e in u)l[e]!=null&&l[e]!=null&&(u[e]=l[e])},v=async l=>{const e=await A({id:l.id});i(e)},V=()=>{m("close")};return F({open:b,setFormData:i,getDetail:v}),(l,e)=>{const d=x,s=g,w=k,E=R,B=h;return S(),z("div",T,[o(j,{ref_key:"popupRef",ref:r,title:L(_),async:!0,width:"550px",onConfirm:C,onClose:V},{default:a(()=>[o(B,{ref_key:"formRef",ref:p,model:u,"label-width":"84px",rules:D},{default:a(()=>[o(s,{label:"\u5C97\u4F4D\u540D\u79F0",prop:"name"},{default:a(()=>[o(d,{modelValue:u.name,"onUpdate:modelValue":e[0]||(e[0]=t=>u.name=t),placeholder:"\u8BF7\u8F93\u5165\u5C97\u4F4D\u540D\u79F0",clearable:"",maxlength:100},null,8,["modelValue"])]),_:1}),o(s,{label:"\u5C97\u4F4D\u7F16\u7801",prop:"code"},{default:a(()=>[o(d,{modelValue:u.code,"onUpdate:modelValue":e[1]||(e[1]=t=>u.code=t),placeholder:"\u8BF7\u8F93\u5165\u5C97\u4F4D\u7F16\u7801",clearable:""},null,8,["modelValue"])]),_:1}),o(s,{label:"\u6392\u5E8F",prop:"sort"},{default:a(()=>[f("div",null,[o(w,{modelValue:u.sort,"onUpdate:modelValue":e[2]||(e[2]=t=>u.sort=t),min:0,max:9999},null,8,["modelValue"]),$])]),_:1}),o(s,{label:"\u5907\u6CE8",prop:"remark"},{default:a(()=>[o(d,{modelValue:u.remark,"onUpdate:modelValue":e[3]||(e[3]=t=>u.remark=t),placeholder:"\u8BF7\u8F93\u5165\u5907\u6CE8",type:"textarea",autosize:{minRows:4,maxRows:6},maxlength:"200","show-word-limit":""},null,8,["modelValue"])]),_:1}),o(s,{label:"\u5C97\u4F4D\u72B6\u6001",required:"",prop:"status"},{default:a(()=>[o(E,{modelValue:u.status,"onUpdate:modelValue":e[4]||(e[4]=t=>u.status=t),"active-value":1,"inactive-value":0},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},8,["title"])])}}});export{O as _};
|
import{B as x,C as g,v as k,t as R,D as h}from"./element-plus.54aed4cc.js";import{j as y,a as U,b as A}from"./post.38cf2ef0.js";import{P as j}from"./index.a3400ab9.js";import{d as q,s as c,r as I,e as N,$ as P,o as S,c as z,U as o,L as a,a as f,u as L}from"./@vue.e8706010.js";const T={class:"edit-popup"},$=f("div",{class:"form-tips"},"\u9ED8\u8BA4\u4E3A0\uFF0C \u6570\u503C\u8D8A\u5927\u8D8A\u6392\u524D",-1),O=q({__name:"edit",emits:["success","close"],setup(G,{expose:F,emit:m}){const p=c(),r=c(),n=I("add"),_=N(()=>n.value=="edit"?"\u7F16\u8F91\u5C97\u4F4D":"\u65B0\u589E\u5C97\u4F4D"),u=P({id:"",name:"",code:"",sort:0,remark:"",status:1}),D={code:[{required:!0,message:"\u8BF7\u8F93\u5165\u5C97\u4F4D\u7F16\u7801",trigger:["blur"]}],name:[{required:!0,message:"\u8BF7\u8F93\u5165\u5C97\u4F4D\u540D\u79F0",trigger:["blur"]}]},C=async()=>{var l,e;await((l=p.value)==null?void 0:l.validate()),n.value=="edit"?await y(u):await U(u),(e=r.value)==null||e.close(),m("success")},b=(l="add")=>{var e;n.value=l,(e=r.value)==null||e.open()},i=l=>{for(const e in u)l[e]!=null&&l[e]!=null&&(u[e]=l[e])},v=async l=>{const e=await A({id:l.id});i(e)},V=()=>{m("close")};return F({open:b,setFormData:i,getDetail:v}),(l,e)=>{const d=x,s=g,w=k,E=R,B=h;return S(),z("div",T,[o(j,{ref_key:"popupRef",ref:r,title:L(_),async:!0,width:"550px",onConfirm:C,onClose:V},{default:a(()=>[o(B,{ref_key:"formRef",ref:p,model:u,"label-width":"84px",rules:D},{default:a(()=>[o(s,{label:"\u5C97\u4F4D\u540D\u79F0",prop:"name"},{default:a(()=>[o(d,{modelValue:u.name,"onUpdate:modelValue":e[0]||(e[0]=t=>u.name=t),placeholder:"\u8BF7\u8F93\u5165\u5C97\u4F4D\u540D\u79F0",clearable:"",maxlength:100},null,8,["modelValue"])]),_:1}),o(s,{label:"\u5C97\u4F4D\u7F16\u7801",prop:"code"},{default:a(()=>[o(d,{modelValue:u.code,"onUpdate:modelValue":e[1]||(e[1]=t=>u.code=t),placeholder:"\u8BF7\u8F93\u5165\u5C97\u4F4D\u7F16\u7801",clearable:""},null,8,["modelValue"])]),_:1}),o(s,{label:"\u6392\u5E8F",prop:"sort"},{default:a(()=>[f("div",null,[o(w,{modelValue:u.sort,"onUpdate:modelValue":e[2]||(e[2]=t=>u.sort=t),min:0,max:9999},null,8,["modelValue"]),$])]),_:1}),o(s,{label:"\u5907\u6CE8",prop:"remark"},{default:a(()=>[o(d,{modelValue:u.remark,"onUpdate:modelValue":e[3]||(e[3]=t=>u.remark=t),placeholder:"\u8BF7\u8F93\u5165\u5907\u6CE8",type:"textarea",autosize:{minRows:4,maxRows:6},maxlength:"200","show-word-limit":""},null,8,["modelValue"])]),_:1}),o(s,{label:"\u5C97\u4F4D\u72B6\u6001",required:"",prop:"status"},{default:a(()=>[o(E,{modelValue:u.status,"onUpdate:modelValue":e[4]||(e[4]=t=>u.status=t),"active-value":1,"inactive-value":0},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},8,["title"])])}}});export{O as _};
|
|
@ -1 +1 @@
|
||||||
import{C as R,B as C,G as P,H as S,D as v}from"./element-plus.54aed4cc.js";import{b as I,c as T}from"./message.a8060608.js";import{P as w}from"./index.44544070.js";import{d as K,s as c,$ as U,o as p,c as x,U as u,L as l,a as A,T as Y,K as _,R as i,S as E}from"./@vue.e8706010.js";const q={class:"edit-popup"},N=E("\u5173\u95ED"),h=E("\u5F00\u542F"),z=K({__name:"edit",emits:["success"],setup(G,{expose:f,emit:F}){const d=c(),n=c(),e=U({name:"",type:"",sign:"",app_key:"",app_id:"",secret_key:"",secret_id:"",status:0}),y={sign:[{required:!0,message:"\u8BF7\u8F93\u5165\u77ED\u4FE1\u7B7E\u540D",trigger:"blur"}],app_id:[{required:!0,message:"\u8BF7\u8F93\u5165APP_ID",trigger:"blur"}],app_key:[{required:!0,message:"\u8BF7\u8F93\u5165APP_KEY",trigger:"blur"}],secret_key:[{required:!0,message:"\u8BF7\u8F93\u5165SECRET_KEY",trigger:"blur"}],secret_id:[{required:!0,message:"\u8BF7\u8F93\u5165SECRET_ID",trigger:"blur"}]},g=async()=>{var a,t;await((a=d.value)==null?void 0:a.validate()),await I(e),(t=n.value)==null||t.close(),F("success")},V=async()=>{const a=await T({type:e.type});for(const t in a)e[t]=a[t]},B=a=>{var t;e.type=a,(t=n.value)==null||t.open(),V()},D=()=>{var a;(a=d.value)==null||a.resetFields()};return f({open:B}),(a,t)=>{const s=R,r=C,m=P,k=S,b=v;return p(),x("div",q,[u(w,{ref_key:"popupRef",ref:n,title:"\u8BBE\u7F6E\u77ED\u4FE1",async:!0,width:"550px",onConfirm:g,onClose:D},{default:l(()=>[u(b,{ref_key:"formRef",ref:d,model:e,"label-width":"120px",rules:y},{default:l(()=>[u(s,{label:"\u77ED\u4FE1\u6E20\u9053"},{default:l(()=>[A("div",null,Y(e.name),1)]),_:1}),u(s,{label:"\u77ED\u4FE1\u7B7E\u540D",prop:"sign"},{default:l(()=>[u(r,{modelValue:e.sign,"onUpdate:modelValue":t[0]||(t[0]=o=>e.sign=o),placeholder:"\u8BF7\u8F93\u5165\u77ED\u4FE1\u7B7E\u540D"},null,8,["modelValue"])]),_:1}),e.type=="ali"?(p(),_(s,{key:0,label:"APP_KEY",prop:"app_key"},{default:l(()=>[u(r,{modelValue:e.app_key,"onUpdate:modelValue":t[1]||(t[1]=o=>e.app_key=o),placeholder:"\u8BF7\u8F93\u5165APP_KEY"},null,8,["modelValue"])]),_:1})):i("",!0),e.type=="tencent"?(p(),_(s,{key:1,label:"APP_ID",prop:"app_id"},{default:l(()=>[u(r,{modelValue:e.app_id,"onUpdate:modelValue":t[2]||(t[2]=o=>e.app_id=o),placeholder:"\u8BF7\u8F93\u5165APP_ID"},null,8,["modelValue"])]),_:1})):i("",!0),e.type=="tencent"?(p(),_(s,{key:2,label:"SECRET_ID",prop:"secret_id"},{default:l(()=>[u(r,{modelValue:e.secret_id,"onUpdate:modelValue":t[3]||(t[3]=o=>e.secret_id=o),placeholder:"\u8BF7\u8F93\u5165SECRET_ID"},null,8,["modelValue"])]),_:1})):i("",!0),u(s,{label:"SECRET_KEY",prop:"secret_key"},{default:l(()=>[u(r,{modelValue:e.secret_key,"onUpdate:modelValue":t[4]||(t[4]=o=>e.secret_key=o),placeholder:"\u8BF7\u8F93\u5165SECRET_KEY"},null,8,["modelValue"])]),_:1}),u(s,{label:"\u72B6\u6001",prop:"status"},{default:l(()=>[u(k,{modelValue:e.status,"onUpdate:modelValue":t[5]||(t[5]=o=>e.status=o)},{default:l(()=>[u(m,{label:0},{default:l(()=>[N]),_:1}),u(m,{label:1},{default:l(()=>[h]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},512)])}}});export{z as _};
|
import{C as R,B as C,G as P,H as S,D as v}from"./element-plus.54aed4cc.js";import{b as I,c as T}from"./message.4f5fe238.js";import{P as w}from"./index.a3400ab9.js";import{d as K,s as c,$ as U,o as p,c as x,U as u,L as l,a as A,T as Y,K as _,R as i,S as E}from"./@vue.e8706010.js";const q={class:"edit-popup"},N=E("\u5173\u95ED"),h=E("\u5F00\u542F"),z=K({__name:"edit",emits:["success"],setup(G,{expose:f,emit:F}){const d=c(),n=c(),e=U({name:"",type:"",sign:"",app_key:"",app_id:"",secret_key:"",secret_id:"",status:0}),y={sign:[{required:!0,message:"\u8BF7\u8F93\u5165\u77ED\u4FE1\u7B7E\u540D",trigger:"blur"}],app_id:[{required:!0,message:"\u8BF7\u8F93\u5165APP_ID",trigger:"blur"}],app_key:[{required:!0,message:"\u8BF7\u8F93\u5165APP_KEY",trigger:"blur"}],secret_key:[{required:!0,message:"\u8BF7\u8F93\u5165SECRET_KEY",trigger:"blur"}],secret_id:[{required:!0,message:"\u8BF7\u8F93\u5165SECRET_ID",trigger:"blur"}]},g=async()=>{var a,t;await((a=d.value)==null?void 0:a.validate()),await I(e),(t=n.value)==null||t.close(),F("success")},V=async()=>{const a=await T({type:e.type});for(const t in a)e[t]=a[t]},B=a=>{var t;e.type=a,(t=n.value)==null||t.open(),V()},D=()=>{var a;(a=d.value)==null||a.resetFields()};return f({open:B}),(a,t)=>{const s=R,r=C,m=P,k=S,b=v;return p(),x("div",q,[u(w,{ref_key:"popupRef",ref:n,title:"\u8BBE\u7F6E\u77ED\u4FE1",async:!0,width:"550px",onConfirm:g,onClose:D},{default:l(()=>[u(b,{ref_key:"formRef",ref:d,model:e,"label-width":"120px",rules:y},{default:l(()=>[u(s,{label:"\u77ED\u4FE1\u6E20\u9053"},{default:l(()=>[A("div",null,Y(e.name),1)]),_:1}),u(s,{label:"\u77ED\u4FE1\u7B7E\u540D",prop:"sign"},{default:l(()=>[u(r,{modelValue:e.sign,"onUpdate:modelValue":t[0]||(t[0]=o=>e.sign=o),placeholder:"\u8BF7\u8F93\u5165\u77ED\u4FE1\u7B7E\u540D"},null,8,["modelValue"])]),_:1}),e.type=="ali"?(p(),_(s,{key:0,label:"APP_KEY",prop:"app_key"},{default:l(()=>[u(r,{modelValue:e.app_key,"onUpdate:modelValue":t[1]||(t[1]=o=>e.app_key=o),placeholder:"\u8BF7\u8F93\u5165APP_KEY"},null,8,["modelValue"])]),_:1})):i("",!0),e.type=="tencent"?(p(),_(s,{key:1,label:"APP_ID",prop:"app_id"},{default:l(()=>[u(r,{modelValue:e.app_id,"onUpdate:modelValue":t[2]||(t[2]=o=>e.app_id=o),placeholder:"\u8BF7\u8F93\u5165APP_ID"},null,8,["modelValue"])]),_:1})):i("",!0),e.type=="tencent"?(p(),_(s,{key:2,label:"SECRET_ID",prop:"secret_id"},{default:l(()=>[u(r,{modelValue:e.secret_id,"onUpdate:modelValue":t[3]||(t[3]=o=>e.secret_id=o),placeholder:"\u8BF7\u8F93\u5165SECRET_ID"},null,8,["modelValue"])]),_:1})):i("",!0),u(s,{label:"SECRET_KEY",prop:"secret_key"},{default:l(()=>[u(r,{modelValue:e.secret_key,"onUpdate:modelValue":t[4]||(t[4]=o=>e.secret_key=o),placeholder:"\u8BF7\u8F93\u5165SECRET_KEY"},null,8,["modelValue"])]),_:1}),u(s,{label:"\u72B6\u6001",prop:"status"},{default:l(()=>[u(k,{modelValue:e.status,"onUpdate:modelValue":t[5]||(t[5]=o=>e.status=o)},{default:l(()=>[u(m,{label:0},{default:l(()=>[N]),_:1}),u(m,{label:1},{default:l(()=>[h]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},512)])}}});export{z as _};
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue