130 changed files with 79116 additions and 693 deletions
File diff suppressed because it is too large
@ -0,0 +1,385 @@ |
|||
using System; |
|||
using Microsoft.EntityFrameworkCore.Migrations; |
|||
|
|||
#nullable disable |
|||
|
|||
namespace TaskManager.EntityFramework.Migrations |
|||
{ |
|||
/// <inheritdoc />
|
|||
public partial class z202506090001 : Migration |
|||
{ |
|||
/// <inheritdoc />
|
|||
protected override void Up(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "UpdateUser", |
|||
table: "TaskSub", |
|||
type: "nvarchar(30)", |
|||
maxLength: 30, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "TaskName", |
|||
table: "TaskSub", |
|||
type: "nvarchar(30)", |
|||
maxLength: 30, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "TableName", |
|||
table: "TaskSub", |
|||
type: "nvarchar(30)", |
|||
maxLength: 30, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Subscriber", |
|||
table: "TaskSub", |
|||
type: "nvarchar(30)", |
|||
maxLength: 30, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Site", |
|||
table: "TaskSub", |
|||
type: "nvarchar(30)", |
|||
maxLength: 30, |
|||
nullable: false, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)"); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "FailedInfo", |
|||
table: "TaskSub", |
|||
type: "nvarchar(30)", |
|||
maxLength: 30, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Domain", |
|||
table: "TaskSub", |
|||
type: "nvarchar(30)", |
|||
maxLength: 30, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "CreateUser", |
|||
table: "TaskSub", |
|||
type: "nvarchar(30)", |
|||
maxLength: 30, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Type", |
|||
table: "TaskLogs", |
|||
type: "nvarchar(20)", |
|||
maxLength: 20, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "TaskName", |
|||
table: "TaskLogs", |
|||
type: "nvarchar(20)", |
|||
maxLength: 20, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Info", |
|||
table: "TaskLogs", |
|||
type: "nvarchar(20)", |
|||
maxLength: 20, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "CreationTime", |
|||
table: "TaskLogs", |
|||
type: "datetime2", |
|||
nullable: true, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "datetime2"); |
|||
|
|||
migrationBuilder.AddColumn<string>( |
|||
name: "Path", |
|||
table: "TaskLogs", |
|||
type: "nvarchar(20)", |
|||
maxLength: 20, |
|||
nullable: true); |
|||
|
|||
migrationBuilder.AddColumn<string>( |
|||
name: "Version", |
|||
table: "TaskLogs", |
|||
type: "nvarchar(20)", |
|||
maxLength: 20, |
|||
nullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityDelivery", |
|||
table: "SUPPLIER_PO", |
|||
type: "decimal(18,2)", |
|||
nullable: true, |
|||
oldClrType: typeof(int), |
|||
oldType: "int"); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Note", |
|||
table: "SUPPLIER_PO", |
|||
type: "nvarchar(max)", |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(50)", |
|||
oldMaxLength: 50, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityDemand2", |
|||
table: "SUPPLIER_MRP_DATE", |
|||
type: "decimal(18,2)", |
|||
nullable: true, |
|||
oldClrType: typeof(int), |
|||
oldType: "int"); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityDemand1", |
|||
table: "SUPPLIER_MRP_DATE", |
|||
type: "decimal(18,2)", |
|||
nullable: true, |
|||
oldClrType: typeof(int), |
|||
oldType: "int"); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "IsDelete", |
|||
table: "SUPPLIER_INV_DATA", |
|||
type: "nvarchar(max)", |
|||
nullable: false, |
|||
oldClrType: typeof(int), |
|||
oldType: "int"); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityDelivery", |
|||
table: "SUPPLIER_DEL_STATE", |
|||
type: "decimal(18,2)", |
|||
nullable: true, |
|||
oldClrType: typeof(int), |
|||
oldType: "int"); |
|||
} |
|||
|
|||
/// <inheritdoc />
|
|||
protected override void Down(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.DropColumn( |
|||
name: "Path", |
|||
table: "TaskLogs"); |
|||
|
|||
migrationBuilder.DropColumn( |
|||
name: "Version", |
|||
table: "TaskLogs"); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "UpdateUser", |
|||
table: "TaskSub", |
|||
type: "nvarchar(max)", |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(30)", |
|||
oldMaxLength: 30, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "TaskName", |
|||
table: "TaskSub", |
|||
type: "nvarchar(max)", |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(30)", |
|||
oldMaxLength: 30, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "TableName", |
|||
table: "TaskSub", |
|||
type: "nvarchar(max)", |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(30)", |
|||
oldMaxLength: 30, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Subscriber", |
|||
table: "TaskSub", |
|||
type: "nvarchar(max)", |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(30)", |
|||
oldMaxLength: 30, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Site", |
|||
table: "TaskSub", |
|||
type: "nvarchar(max)", |
|||
nullable: false, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(30)", |
|||
oldMaxLength: 30); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "FailedInfo", |
|||
table: "TaskSub", |
|||
type: "nvarchar(max)", |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(30)", |
|||
oldMaxLength: 30, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Domain", |
|||
table: "TaskSub", |
|||
type: "nvarchar(max)", |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(30)", |
|||
oldMaxLength: 30, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "CreateUser", |
|||
table: "TaskSub", |
|||
type: "nvarchar(max)", |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(30)", |
|||
oldMaxLength: 30, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Type", |
|||
table: "TaskLogs", |
|||
type: "nvarchar(max)", |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(20)", |
|||
oldMaxLength: 20, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "TaskName", |
|||
table: "TaskLogs", |
|||
type: "nvarchar(max)", |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(20)", |
|||
oldMaxLength: 20, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Info", |
|||
table: "TaskLogs", |
|||
type: "nvarchar(max)", |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(20)", |
|||
oldMaxLength: 20, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "CreationTime", |
|||
table: "TaskLogs", |
|||
type: "datetime2", |
|||
nullable: false, |
|||
defaultValue: new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "datetime2", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<int>( |
|||
name: "QuantityDelivery", |
|||
table: "SUPPLIER_PO", |
|||
type: "int", |
|||
nullable: false, |
|||
defaultValue: 0, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "decimal(18,2)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Note", |
|||
table: "SUPPLIER_PO", |
|||
type: "nvarchar(50)", |
|||
maxLength: 50, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<int>( |
|||
name: "QuantityDemand2", |
|||
table: "SUPPLIER_MRP_DATE", |
|||
type: "int", |
|||
nullable: false, |
|||
defaultValue: 0, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "decimal(18,2)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<int>( |
|||
name: "QuantityDemand1", |
|||
table: "SUPPLIER_MRP_DATE", |
|||
type: "int", |
|||
nullable: false, |
|||
defaultValue: 0, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "decimal(18,2)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<int>( |
|||
name: "IsDelete", |
|||
table: "SUPPLIER_INV_DATA", |
|||
type: "int", |
|||
nullable: false, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)"); |
|||
|
|||
migrationBuilder.AlterColumn<int>( |
|||
name: "QuantityDelivery", |
|||
table: "SUPPLIER_DEL_STATE", |
|||
type: "int", |
|||
nullable: false, |
|||
defaultValue: 0, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "decimal(18,2)", |
|||
oldNullable: true); |
|||
} |
|||
} |
|||
} |
File diff suppressed because it is too large
@ -0,0 +1,36 @@ |
|||
using Microsoft.EntityFrameworkCore.Migrations; |
|||
|
|||
#nullable disable |
|||
|
|||
namespace TaskManager.EntityFramework.Migrations |
|||
{ |
|||
/// <inheritdoc />
|
|||
public partial class z202506090002 : Migration |
|||
{ |
|||
/// <inheritdoc />
|
|||
protected override void Up(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityDemand12", |
|||
table: "SUPPLIER_MRP_MONTH", |
|||
type: "decimal(18,2)", |
|||
nullable: true, |
|||
oldClrType: typeof(int), |
|||
oldType: "int"); |
|||
} |
|||
|
|||
/// <inheritdoc />
|
|||
protected override void Down(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.AlterColumn<int>( |
|||
name: "QuantityDemand12", |
|||
table: "SUPPLIER_MRP_MONTH", |
|||
type: "int", |
|||
nullable: false, |
|||
defaultValue: 0, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "decimal(18,2)", |
|||
oldNullable: true); |
|||
} |
|||
} |
|||
} |
File diff suppressed because it is too large
@ -0,0 +1,22 @@ |
|||
using Microsoft.EntityFrameworkCore.Migrations; |
|||
|
|||
#nullable disable |
|||
|
|||
namespace TaskManager.EntityFramework.Migrations |
|||
{ |
|||
/// <inheritdoc />
|
|||
public partial class z202506090003 : Migration |
|||
{ |
|||
/// <inheritdoc />
|
|||
protected override void Up(MigrationBuilder migrationBuilder) |
|||
{ |
|||
|
|||
} |
|||
|
|||
/// <inheritdoc />
|
|||
protected override void Down(MigrationBuilder migrationBuilder) |
|||
{ |
|||
|
|||
} |
|||
} |
|||
} |
File diff suppressed because it is too large
@ -0,0 +1,842 @@ |
|||
using Microsoft.EntityFrameworkCore.Migrations; |
|||
|
|||
#nullable disable |
|||
|
|||
namespace TaskManager.EntityFramework.Migrations |
|||
{ |
|||
/// <inheritdoc />
|
|||
public partial class z202506090004 : Migration |
|||
{ |
|||
/// <inheritdoc />
|
|||
protected override void Up(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "SupplierCode", |
|||
table: "SUPPLIER_CON_PO", |
|||
type: "VARCHAR(32)", |
|||
maxLength: 32, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "VARCHAR(32)", |
|||
oldMaxLength: 32); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "SerialNumber", |
|||
table: "SUPPLIER_CON_PO", |
|||
type: "VARCHAR(10)", |
|||
maxLength: 10, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "VARCHAR(10)", |
|||
oldMaxLength: 10); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityMeet", |
|||
table: "SUPPLIER_CON_PO", |
|||
type: "DECIMAL(16,5)", |
|||
precision: 16, |
|||
scale: 5, |
|||
nullable: true, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "DECIMAL(16,5)", |
|||
oldPrecision: 16, |
|||
oldScale: 5); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "PurchaseOrder", |
|||
table: "SUPPLIER_CON_PO", |
|||
type: "VARCHAR(50)", |
|||
maxLength: 50, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "VARCHAR(50)", |
|||
oldMaxLength: 50); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "FeedbackResults", |
|||
table: "SUPPLIER_CON_PO", |
|||
type: "VARCHAR(10)", |
|||
maxLength: 10, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "VARCHAR(10)", |
|||
oldMaxLength: 10); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "SupplierCode", |
|||
table: "SUPPLIER_CON_MMRP", |
|||
type: "VARCHAR(32)", |
|||
maxLength: 32, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "VARCHAR(32)", |
|||
oldMaxLength: 32); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "StartMonth", |
|||
table: "SUPPLIER_CON_MMRP", |
|||
type: "CHAR(7)", |
|||
maxLength: 7, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "CHAR(7)", |
|||
oldMaxLength: 7); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "ReleaseEdition", |
|||
table: "SUPPLIER_CON_MMRP", |
|||
type: "VARCHAR(32)", |
|||
maxLength: 32, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "VARCHAR(32)", |
|||
oldMaxLength: 32); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityMeet6", |
|||
table: "SUPPLIER_CON_MMRP", |
|||
type: "DECIMAL(16,5)", |
|||
precision: 16, |
|||
scale: 5, |
|||
nullable: true, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "DECIMAL(16,5)", |
|||
oldPrecision: 16, |
|||
oldScale: 5); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityMeet5", |
|||
table: "SUPPLIER_CON_MMRP", |
|||
type: "DECIMAL(16,5)", |
|||
precision: 16, |
|||
scale: 5, |
|||
nullable: true, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "DECIMAL(16,5)", |
|||
oldPrecision: 16, |
|||
oldScale: 5); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityMeet4", |
|||
table: "SUPPLIER_CON_MMRP", |
|||
type: "DECIMAL(16,5)", |
|||
precision: 16, |
|||
scale: 5, |
|||
nullable: true, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "DECIMAL(16,5)", |
|||
oldPrecision: 16, |
|||
oldScale: 5); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityMeet3", |
|||
table: "SUPPLIER_CON_MMRP", |
|||
type: "DECIMAL(16,5)", |
|||
precision: 16, |
|||
scale: 5, |
|||
nullable: true, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "DECIMAL(16,5)", |
|||
oldPrecision: 16, |
|||
oldScale: 5); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityMeet2", |
|||
table: "SUPPLIER_CON_MMRP", |
|||
type: "DECIMAL(16,5)", |
|||
precision: 16, |
|||
scale: 5, |
|||
nullable: true, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "DECIMAL(16,5)", |
|||
oldPrecision: 16, |
|||
oldScale: 5); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityMeet1", |
|||
table: "SUPPLIER_CON_MMRP", |
|||
type: "DECIMAL(16,5)", |
|||
precision: 16, |
|||
scale: 5, |
|||
nullable: true, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "DECIMAL(16,5)", |
|||
oldPrecision: 16, |
|||
oldScale: 5); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "PlantId", |
|||
table: "SUPPLIER_CON_MMRP", |
|||
type: "VARCHAR(64)", |
|||
maxLength: 64, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "VARCHAR(64)", |
|||
oldMaxLength: 64); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "MaterialCode", |
|||
table: "SUPPLIER_CON_MMRP", |
|||
type: "VARCHAR(50)", |
|||
maxLength: 50, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "VARCHAR(50)", |
|||
oldMaxLength: 50); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "FeedbackResults", |
|||
table: "SUPPLIER_CON_MMRP", |
|||
type: "VARCHAR(10)", |
|||
maxLength: 10, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "VARCHAR(10)", |
|||
oldMaxLength: 10); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "SupplierCode", |
|||
table: "SUPPLIER_CON_DATE", |
|||
type: "VARCHAR(32)", |
|||
maxLength: 32, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "VARCHAR(32)", |
|||
oldMaxLength: 32); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "ReleaseEdition", |
|||
table: "SUPPLIER_CON_DATE", |
|||
type: "VARCHAR(32)", |
|||
maxLength: 32, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "VARCHAR(32)", |
|||
oldMaxLength: 32); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityMeet9", |
|||
table: "SUPPLIER_CON_DATE", |
|||
type: "DECIMAL(16,5)", |
|||
precision: 16, |
|||
scale: 5, |
|||
nullable: true, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "DECIMAL(16,5)", |
|||
oldPrecision: 16, |
|||
oldScale: 5); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityMeet8", |
|||
table: "SUPPLIER_CON_DATE", |
|||
type: "DECIMAL(16,5)", |
|||
precision: 16, |
|||
scale: 5, |
|||
nullable: true, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "DECIMAL(16,5)", |
|||
oldPrecision: 16, |
|||
oldScale: 5); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityMeet7", |
|||
table: "SUPPLIER_CON_DATE", |
|||
type: "DECIMAL(16,5)", |
|||
precision: 16, |
|||
scale: 5, |
|||
nullable: true, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "DECIMAL(16,5)", |
|||
oldPrecision: 16, |
|||
oldScale: 5); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityMeet6", |
|||
table: "SUPPLIER_CON_DATE", |
|||
type: "DECIMAL(16,5)", |
|||
precision: 16, |
|||
scale: 5, |
|||
nullable: true, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "DECIMAL(16,5)", |
|||
oldPrecision: 16, |
|||
oldScale: 5); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityMeet5", |
|||
table: "SUPPLIER_CON_DATE", |
|||
type: "DECIMAL(16,5)", |
|||
precision: 16, |
|||
scale: 5, |
|||
nullable: true, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "DECIMAL(16,5)", |
|||
oldPrecision: 16, |
|||
oldScale: 5); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityMeet4", |
|||
table: "SUPPLIER_CON_DATE", |
|||
type: "DECIMAL(16,5)", |
|||
precision: 16, |
|||
scale: 5, |
|||
nullable: true, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "DECIMAL(16,5)", |
|||
oldPrecision: 16, |
|||
oldScale: 5); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityMeet3", |
|||
table: "SUPPLIER_CON_DATE", |
|||
type: "DECIMAL(16,5)", |
|||
precision: 16, |
|||
scale: 5, |
|||
nullable: true, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "DECIMAL(16,5)", |
|||
oldPrecision: 16, |
|||
oldScale: 5); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityMeet2", |
|||
table: "SUPPLIER_CON_DATE", |
|||
type: "DECIMAL(16,5)", |
|||
precision: 16, |
|||
scale: 5, |
|||
nullable: true, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "DECIMAL(16,5)", |
|||
oldPrecision: 16, |
|||
oldScale: 5); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityMeet12", |
|||
table: "SUPPLIER_CON_DATE", |
|||
type: "DECIMAL(16,5)", |
|||
precision: 16, |
|||
scale: 5, |
|||
nullable: true, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "DECIMAL(16,5)", |
|||
oldPrecision: 16, |
|||
oldScale: 5); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityMeet11", |
|||
table: "SUPPLIER_CON_DATE", |
|||
type: "DECIMAL(16,5)", |
|||
precision: 16, |
|||
scale: 5, |
|||
nullable: true, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "DECIMAL(16,5)", |
|||
oldPrecision: 16, |
|||
oldScale: 5); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityMeet10", |
|||
table: "SUPPLIER_CON_DATE", |
|||
type: "DECIMAL(16,5)", |
|||
precision: 16, |
|||
scale: 5, |
|||
nullable: true, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "DECIMAL(16,5)", |
|||
oldPrecision: 16, |
|||
oldScale: 5); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityMeet1", |
|||
table: "SUPPLIER_CON_DATE", |
|||
type: "DECIMAL(16,5)", |
|||
precision: 16, |
|||
scale: 5, |
|||
nullable: true, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "DECIMAL(16,5)", |
|||
oldPrecision: 16, |
|||
oldScale: 5); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "PlantId", |
|||
table: "SUPPLIER_CON_DATE", |
|||
type: "VARCHAR(64)", |
|||
maxLength: 64, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "VARCHAR(64)", |
|||
oldMaxLength: 64); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "MaterialCode", |
|||
table: "SUPPLIER_CON_DATE", |
|||
type: "VARCHAR(50)", |
|||
maxLength: 50, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "VARCHAR(50)", |
|||
oldMaxLength: 50); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "FeedbackResults", |
|||
table: "SUPPLIER_CON_DATE", |
|||
type: "VARCHAR(10)", |
|||
maxLength: 10, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "VARCHAR(10)", |
|||
oldMaxLength: 10); |
|||
} |
|||
|
|||
/// <inheritdoc />
|
|||
protected override void Down(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "SupplierCode", |
|||
table: "SUPPLIER_CON_PO", |
|||
type: "VARCHAR(32)", |
|||
maxLength: 32, |
|||
nullable: false, |
|||
defaultValue: "", |
|||
oldClrType: typeof(string), |
|||
oldType: "VARCHAR(32)", |
|||
oldMaxLength: 32, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "SerialNumber", |
|||
table: "SUPPLIER_CON_PO", |
|||
type: "VARCHAR(10)", |
|||
maxLength: 10, |
|||
nullable: false, |
|||
defaultValue: "", |
|||
oldClrType: typeof(string), |
|||
oldType: "VARCHAR(10)", |
|||
oldMaxLength: 10, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityMeet", |
|||
table: "SUPPLIER_CON_PO", |
|||
type: "DECIMAL(16,5)", |
|||
precision: 16, |
|||
scale: 5, |
|||
nullable: false, |
|||
defaultValue: 0m, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "DECIMAL(16,5)", |
|||
oldPrecision: 16, |
|||
oldScale: 5, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "PurchaseOrder", |
|||
table: "SUPPLIER_CON_PO", |
|||
type: "VARCHAR(50)", |
|||
maxLength: 50, |
|||
nullable: false, |
|||
defaultValue: "", |
|||
oldClrType: typeof(string), |
|||
oldType: "VARCHAR(50)", |
|||
oldMaxLength: 50, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "FeedbackResults", |
|||
table: "SUPPLIER_CON_PO", |
|||
type: "VARCHAR(10)", |
|||
maxLength: 10, |
|||
nullable: false, |
|||
defaultValue: "", |
|||
oldClrType: typeof(string), |
|||
oldType: "VARCHAR(10)", |
|||
oldMaxLength: 10, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "SupplierCode", |
|||
table: "SUPPLIER_CON_MMRP", |
|||
type: "VARCHAR(32)", |
|||
maxLength: 32, |
|||
nullable: false, |
|||
defaultValue: "", |
|||
oldClrType: typeof(string), |
|||
oldType: "VARCHAR(32)", |
|||
oldMaxLength: 32, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "StartMonth", |
|||
table: "SUPPLIER_CON_MMRP", |
|||
type: "CHAR(7)", |
|||
maxLength: 7, |
|||
nullable: false, |
|||
defaultValue: "", |
|||
oldClrType: typeof(string), |
|||
oldType: "CHAR(7)", |
|||
oldMaxLength: 7, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "ReleaseEdition", |
|||
table: "SUPPLIER_CON_MMRP", |
|||
type: "VARCHAR(32)", |
|||
maxLength: 32, |
|||
nullable: false, |
|||
defaultValue: "", |
|||
oldClrType: typeof(string), |
|||
oldType: "VARCHAR(32)", |
|||
oldMaxLength: 32, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityMeet6", |
|||
table: "SUPPLIER_CON_MMRP", |
|||
type: "DECIMAL(16,5)", |
|||
precision: 16, |
|||
scale: 5, |
|||
nullable: false, |
|||
defaultValue: 0m, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "DECIMAL(16,5)", |
|||
oldPrecision: 16, |
|||
oldScale: 5, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityMeet5", |
|||
table: "SUPPLIER_CON_MMRP", |
|||
type: "DECIMAL(16,5)", |
|||
precision: 16, |
|||
scale: 5, |
|||
nullable: false, |
|||
defaultValue: 0m, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "DECIMAL(16,5)", |
|||
oldPrecision: 16, |
|||
oldScale: 5, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityMeet4", |
|||
table: "SUPPLIER_CON_MMRP", |
|||
type: "DECIMAL(16,5)", |
|||
precision: 16, |
|||
scale: 5, |
|||
nullable: false, |
|||
defaultValue: 0m, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "DECIMAL(16,5)", |
|||
oldPrecision: 16, |
|||
oldScale: 5, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityMeet3", |
|||
table: "SUPPLIER_CON_MMRP", |
|||
type: "DECIMAL(16,5)", |
|||
precision: 16, |
|||
scale: 5, |
|||
nullable: false, |
|||
defaultValue: 0m, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "DECIMAL(16,5)", |
|||
oldPrecision: 16, |
|||
oldScale: 5, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityMeet2", |
|||
table: "SUPPLIER_CON_MMRP", |
|||
type: "DECIMAL(16,5)", |
|||
precision: 16, |
|||
scale: 5, |
|||
nullable: false, |
|||
defaultValue: 0m, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "DECIMAL(16,5)", |
|||
oldPrecision: 16, |
|||
oldScale: 5, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityMeet1", |
|||
table: "SUPPLIER_CON_MMRP", |
|||
type: "DECIMAL(16,5)", |
|||
precision: 16, |
|||
scale: 5, |
|||
nullable: false, |
|||
defaultValue: 0m, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "DECIMAL(16,5)", |
|||
oldPrecision: 16, |
|||
oldScale: 5, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "PlantId", |
|||
table: "SUPPLIER_CON_MMRP", |
|||
type: "VARCHAR(64)", |
|||
maxLength: 64, |
|||
nullable: false, |
|||
defaultValue: "", |
|||
oldClrType: typeof(string), |
|||
oldType: "VARCHAR(64)", |
|||
oldMaxLength: 64, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "MaterialCode", |
|||
table: "SUPPLIER_CON_MMRP", |
|||
type: "VARCHAR(50)", |
|||
maxLength: 50, |
|||
nullable: false, |
|||
defaultValue: "", |
|||
oldClrType: typeof(string), |
|||
oldType: "VARCHAR(50)", |
|||
oldMaxLength: 50, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "FeedbackResults", |
|||
table: "SUPPLIER_CON_MMRP", |
|||
type: "VARCHAR(10)", |
|||
maxLength: 10, |
|||
nullable: false, |
|||
defaultValue: "", |
|||
oldClrType: typeof(string), |
|||
oldType: "VARCHAR(10)", |
|||
oldMaxLength: 10, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "SupplierCode", |
|||
table: "SUPPLIER_CON_DATE", |
|||
type: "VARCHAR(32)", |
|||
maxLength: 32, |
|||
nullable: false, |
|||
defaultValue: "", |
|||
oldClrType: typeof(string), |
|||
oldType: "VARCHAR(32)", |
|||
oldMaxLength: 32, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "ReleaseEdition", |
|||
table: "SUPPLIER_CON_DATE", |
|||
type: "VARCHAR(32)", |
|||
maxLength: 32, |
|||
nullable: false, |
|||
defaultValue: "", |
|||
oldClrType: typeof(string), |
|||
oldType: "VARCHAR(32)", |
|||
oldMaxLength: 32, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityMeet9", |
|||
table: "SUPPLIER_CON_DATE", |
|||
type: "DECIMAL(16,5)", |
|||
precision: 16, |
|||
scale: 5, |
|||
nullable: false, |
|||
defaultValue: 0m, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "DECIMAL(16,5)", |
|||
oldPrecision: 16, |
|||
oldScale: 5, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityMeet8", |
|||
table: "SUPPLIER_CON_DATE", |
|||
type: "DECIMAL(16,5)", |
|||
precision: 16, |
|||
scale: 5, |
|||
nullable: false, |
|||
defaultValue: 0m, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "DECIMAL(16,5)", |
|||
oldPrecision: 16, |
|||
oldScale: 5, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityMeet7", |
|||
table: "SUPPLIER_CON_DATE", |
|||
type: "DECIMAL(16,5)", |
|||
precision: 16, |
|||
scale: 5, |
|||
nullable: false, |
|||
defaultValue: 0m, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "DECIMAL(16,5)", |
|||
oldPrecision: 16, |
|||
oldScale: 5, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityMeet6", |
|||
table: "SUPPLIER_CON_DATE", |
|||
type: "DECIMAL(16,5)", |
|||
precision: 16, |
|||
scale: 5, |
|||
nullable: false, |
|||
defaultValue: 0m, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "DECIMAL(16,5)", |
|||
oldPrecision: 16, |
|||
oldScale: 5, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityMeet5", |
|||
table: "SUPPLIER_CON_DATE", |
|||
type: "DECIMAL(16,5)", |
|||
precision: 16, |
|||
scale: 5, |
|||
nullable: false, |
|||
defaultValue: 0m, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "DECIMAL(16,5)", |
|||
oldPrecision: 16, |
|||
oldScale: 5, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityMeet4", |
|||
table: "SUPPLIER_CON_DATE", |
|||
type: "DECIMAL(16,5)", |
|||
precision: 16, |
|||
scale: 5, |
|||
nullable: false, |
|||
defaultValue: 0m, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "DECIMAL(16,5)", |
|||
oldPrecision: 16, |
|||
oldScale: 5, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityMeet3", |
|||
table: "SUPPLIER_CON_DATE", |
|||
type: "DECIMAL(16,5)", |
|||
precision: 16, |
|||
scale: 5, |
|||
nullable: false, |
|||
defaultValue: 0m, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "DECIMAL(16,5)", |
|||
oldPrecision: 16, |
|||
oldScale: 5, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityMeet2", |
|||
table: "SUPPLIER_CON_DATE", |
|||
type: "DECIMAL(16,5)", |
|||
precision: 16, |
|||
scale: 5, |
|||
nullable: false, |
|||
defaultValue: 0m, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "DECIMAL(16,5)", |
|||
oldPrecision: 16, |
|||
oldScale: 5, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityMeet12", |
|||
table: "SUPPLIER_CON_DATE", |
|||
type: "DECIMAL(16,5)", |
|||
precision: 16, |
|||
scale: 5, |
|||
nullable: false, |
|||
defaultValue: 0m, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "DECIMAL(16,5)", |
|||
oldPrecision: 16, |
|||
oldScale: 5, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityMeet11", |
|||
table: "SUPPLIER_CON_DATE", |
|||
type: "DECIMAL(16,5)", |
|||
precision: 16, |
|||
scale: 5, |
|||
nullable: false, |
|||
defaultValue: 0m, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "DECIMAL(16,5)", |
|||
oldPrecision: 16, |
|||
oldScale: 5, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityMeet10", |
|||
table: "SUPPLIER_CON_DATE", |
|||
type: "DECIMAL(16,5)", |
|||
precision: 16, |
|||
scale: 5, |
|||
nullable: false, |
|||
defaultValue: 0m, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "DECIMAL(16,5)", |
|||
oldPrecision: 16, |
|||
oldScale: 5, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityMeet1", |
|||
table: "SUPPLIER_CON_DATE", |
|||
type: "DECIMAL(16,5)", |
|||
precision: 16, |
|||
scale: 5, |
|||
nullable: false, |
|||
defaultValue: 0m, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "DECIMAL(16,5)", |
|||
oldPrecision: 16, |
|||
oldScale: 5, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "PlantId", |
|||
table: "SUPPLIER_CON_DATE", |
|||
type: "VARCHAR(64)", |
|||
maxLength: 64, |
|||
nullable: false, |
|||
defaultValue: "", |
|||
oldClrType: typeof(string), |
|||
oldType: "VARCHAR(64)", |
|||
oldMaxLength: 64, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "MaterialCode", |
|||
table: "SUPPLIER_CON_DATE", |
|||
type: "VARCHAR(50)", |
|||
maxLength: 50, |
|||
nullable: false, |
|||
defaultValue: "", |
|||
oldClrType: typeof(string), |
|||
oldType: "VARCHAR(50)", |
|||
oldMaxLength: 50, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "FeedbackResults", |
|||
table: "SUPPLIER_CON_DATE", |
|||
type: "VARCHAR(10)", |
|||
maxLength: 10, |
|||
nullable: false, |
|||
defaultValue: "", |
|||
oldClrType: typeof(string), |
|||
oldType: "VARCHAR(10)", |
|||
oldMaxLength: 10, |
|||
oldNullable: true); |
|||
} |
|||
} |
|||
} |
File diff suppressed because it is too large
@ -0,0 +1,566 @@ |
|||
using Microsoft.EntityFrameworkCore.Migrations; |
|||
|
|||
#nullable disable |
|||
|
|||
namespace TaskManager.EntityFramework.Migrations |
|||
{ |
|||
/// <inheritdoc />
|
|||
public partial class z202506090005 : Migration |
|||
{ |
|||
/// <inheritdoc />
|
|||
protected override void Up(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "VentureType", |
|||
table: "SUPPLIER_CON_PO", |
|||
type: "NVARCHAR(50)", |
|||
maxLength: 50, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "VARCHAR(50)", |
|||
oldMaxLength: 50, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "VentureSpecific", |
|||
table: "SUPPLIER_CON_PO", |
|||
type: "NVARCHAR(255)", |
|||
maxLength: 255, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "VARCHAR(255)", |
|||
oldMaxLength: 255, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "SupplierCode", |
|||
table: "SUPPLIER_CON_PO", |
|||
type: "NVARCHAR(32)", |
|||
maxLength: 32, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "VARCHAR(32)", |
|||
oldMaxLength: 32, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "SerialNumber", |
|||
table: "SUPPLIER_CON_PO", |
|||
type: "NVARCHAR(10)", |
|||
maxLength: 10, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "VARCHAR(10)", |
|||
oldMaxLength: 10, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "PurchaseOrder", |
|||
table: "SUPPLIER_CON_PO", |
|||
type: "NVARCHAR(50)", |
|||
maxLength: 50, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "VARCHAR(50)", |
|||
oldMaxLength: 50, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Measures", |
|||
table: "SUPPLIER_CON_PO", |
|||
type: "NVARCHAR(255)", |
|||
maxLength: 255, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "VARCHAR(255)", |
|||
oldMaxLength: 255, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "FeedbackResults", |
|||
table: "SUPPLIER_CON_PO", |
|||
type: "NVARCHAR(10)", |
|||
maxLength: 10, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "VARCHAR(10)", |
|||
oldMaxLength: 10, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "VentureType", |
|||
table: "SUPPLIER_CON_MMRP", |
|||
type: "NVARCHAR(50)", |
|||
maxLength: 50, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "VARCHAR(50)", |
|||
oldMaxLength: 50, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "VentureSpecific", |
|||
table: "SUPPLIER_CON_MMRP", |
|||
type: "NVARCHAR(255)", |
|||
maxLength: 255, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "VARCHAR(255)", |
|||
oldMaxLength: 255, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "SupplierCode", |
|||
table: "SUPPLIER_CON_MMRP", |
|||
type: "NVARCHAR(32)", |
|||
maxLength: 32, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "VARCHAR(32)", |
|||
oldMaxLength: 32, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "StartMonth", |
|||
table: "SUPPLIER_CON_MMRP", |
|||
type: "NVARCHAR(7)", |
|||
maxLength: 7, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "CHAR(7)", |
|||
oldMaxLength: 7, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "ReleaseEdition", |
|||
table: "SUPPLIER_CON_MMRP", |
|||
type: "NVARCHAR(32)", |
|||
maxLength: 32, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "VARCHAR(32)", |
|||
oldMaxLength: 32, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "PlantId", |
|||
table: "SUPPLIER_CON_MMRP", |
|||
type: "NVARCHAR(64)", |
|||
maxLength: 64, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "VARCHAR(64)", |
|||
oldMaxLength: 64, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Measures", |
|||
table: "SUPPLIER_CON_MMRP", |
|||
type: "NVARCHAR(255)", |
|||
maxLength: 255, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "VARCHAR(255)", |
|||
oldMaxLength: 255, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "MaterialCode", |
|||
table: "SUPPLIER_CON_MMRP", |
|||
type: "NVARCHAR(50)", |
|||
maxLength: 50, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "VARCHAR(50)", |
|||
oldMaxLength: 50, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "FeedbackResults", |
|||
table: "SUPPLIER_CON_MMRP", |
|||
type: "NVARCHAR(10)", |
|||
maxLength: 10, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "VARCHAR(10)", |
|||
oldMaxLength: 10, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "VentureType", |
|||
table: "SUPPLIER_CON_DATE", |
|||
type: "NVARCHAR(50)", |
|||
maxLength: 50, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "VARCHAR(50)", |
|||
oldMaxLength: 50, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "VentureSpecific", |
|||
table: "SUPPLIER_CON_DATE", |
|||
type: "NVARCHAR(255)", |
|||
maxLength: 255, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "VARCHAR(255)", |
|||
oldMaxLength: 255, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "SupplierCode", |
|||
table: "SUPPLIER_CON_DATE", |
|||
type: "NVARCHAR(32)", |
|||
maxLength: 32, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "VARCHAR(32)", |
|||
oldMaxLength: 32, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "StartDate", |
|||
table: "SUPPLIER_CON_DATE", |
|||
type: "NVARCHAR(10)", |
|||
maxLength: 10, |
|||
nullable: false, |
|||
oldClrType: typeof(string), |
|||
oldType: "CHAR(10)", |
|||
oldMaxLength: 10); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "ReleaseEdition", |
|||
table: "SUPPLIER_CON_DATE", |
|||
type: "NVARCHAR(32)", |
|||
maxLength: 32, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "VARCHAR(32)", |
|||
oldMaxLength: 32, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "PlantId", |
|||
table: "SUPPLIER_CON_DATE", |
|||
type: "NVARCHAR(64)", |
|||
maxLength: 64, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "VARCHAR(64)", |
|||
oldMaxLength: 64, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Measures", |
|||
table: "SUPPLIER_CON_DATE", |
|||
type: "NVARCHAR(255)", |
|||
maxLength: 255, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "VARCHAR(255)", |
|||
oldMaxLength: 255, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "MaterialCode", |
|||
table: "SUPPLIER_CON_DATE", |
|||
type: "NVARCHAR(50)", |
|||
maxLength: 50, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "VARCHAR(50)", |
|||
oldMaxLength: 50, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "FeedbackResults", |
|||
table: "SUPPLIER_CON_DATE", |
|||
type: "NVARCHAR(10)", |
|||
maxLength: 10, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "VARCHAR(10)", |
|||
oldMaxLength: 10, |
|||
oldNullable: true); |
|||
} |
|||
|
|||
/// <inheritdoc />
|
|||
protected override void Down(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "VentureType", |
|||
table: "SUPPLIER_CON_PO", |
|||
type: "VARCHAR(50)", |
|||
maxLength: 50, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "NVARCHAR(50)", |
|||
oldMaxLength: 50, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "VentureSpecific", |
|||
table: "SUPPLIER_CON_PO", |
|||
type: "VARCHAR(255)", |
|||
maxLength: 255, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "NVARCHAR(255)", |
|||
oldMaxLength: 255, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "SupplierCode", |
|||
table: "SUPPLIER_CON_PO", |
|||
type: "VARCHAR(32)", |
|||
maxLength: 32, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "NVARCHAR(32)", |
|||
oldMaxLength: 32, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "SerialNumber", |
|||
table: "SUPPLIER_CON_PO", |
|||
type: "VARCHAR(10)", |
|||
maxLength: 10, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "NVARCHAR(10)", |
|||
oldMaxLength: 10, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "PurchaseOrder", |
|||
table: "SUPPLIER_CON_PO", |
|||
type: "VARCHAR(50)", |
|||
maxLength: 50, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "NVARCHAR(50)", |
|||
oldMaxLength: 50, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Measures", |
|||
table: "SUPPLIER_CON_PO", |
|||
type: "VARCHAR(255)", |
|||
maxLength: 255, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "NVARCHAR(255)", |
|||
oldMaxLength: 255, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "FeedbackResults", |
|||
table: "SUPPLIER_CON_PO", |
|||
type: "VARCHAR(10)", |
|||
maxLength: 10, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "NVARCHAR(10)", |
|||
oldMaxLength: 10, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "VentureType", |
|||
table: "SUPPLIER_CON_MMRP", |
|||
type: "VARCHAR(50)", |
|||
maxLength: 50, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "NVARCHAR(50)", |
|||
oldMaxLength: 50, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "VentureSpecific", |
|||
table: "SUPPLIER_CON_MMRP", |
|||
type: "VARCHAR(255)", |
|||
maxLength: 255, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "NVARCHAR(255)", |
|||
oldMaxLength: 255, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "SupplierCode", |
|||
table: "SUPPLIER_CON_MMRP", |
|||
type: "VARCHAR(32)", |
|||
maxLength: 32, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "NVARCHAR(32)", |
|||
oldMaxLength: 32, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "StartMonth", |
|||
table: "SUPPLIER_CON_MMRP", |
|||
type: "CHAR(7)", |
|||
maxLength: 7, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "NVARCHAR(7)", |
|||
oldMaxLength: 7, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "ReleaseEdition", |
|||
table: "SUPPLIER_CON_MMRP", |
|||
type: "VARCHAR(32)", |
|||
maxLength: 32, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "NVARCHAR(32)", |
|||
oldMaxLength: 32, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "PlantId", |
|||
table: "SUPPLIER_CON_MMRP", |
|||
type: "VARCHAR(64)", |
|||
maxLength: 64, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "NVARCHAR(64)", |
|||
oldMaxLength: 64, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Measures", |
|||
table: "SUPPLIER_CON_MMRP", |
|||
type: "VARCHAR(255)", |
|||
maxLength: 255, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "NVARCHAR(255)", |
|||
oldMaxLength: 255, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "MaterialCode", |
|||
table: "SUPPLIER_CON_MMRP", |
|||
type: "VARCHAR(50)", |
|||
maxLength: 50, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "NVARCHAR(50)", |
|||
oldMaxLength: 50, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "FeedbackResults", |
|||
table: "SUPPLIER_CON_MMRP", |
|||
type: "VARCHAR(10)", |
|||
maxLength: 10, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "NVARCHAR(10)", |
|||
oldMaxLength: 10, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "VentureType", |
|||
table: "SUPPLIER_CON_DATE", |
|||
type: "VARCHAR(50)", |
|||
maxLength: 50, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "NVARCHAR(50)", |
|||
oldMaxLength: 50, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "VentureSpecific", |
|||
table: "SUPPLIER_CON_DATE", |
|||
type: "VARCHAR(255)", |
|||
maxLength: 255, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "NVARCHAR(255)", |
|||
oldMaxLength: 255, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "SupplierCode", |
|||
table: "SUPPLIER_CON_DATE", |
|||
type: "VARCHAR(32)", |
|||
maxLength: 32, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "NVARCHAR(32)", |
|||
oldMaxLength: 32, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "StartDate", |
|||
table: "SUPPLIER_CON_DATE", |
|||
type: "CHAR(10)", |
|||
maxLength: 10, |
|||
nullable: false, |
|||
oldClrType: typeof(string), |
|||
oldType: "NVARCHAR(10)", |
|||
oldMaxLength: 10); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "ReleaseEdition", |
|||
table: "SUPPLIER_CON_DATE", |
|||
type: "VARCHAR(32)", |
|||
maxLength: 32, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "NVARCHAR(32)", |
|||
oldMaxLength: 32, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "PlantId", |
|||
table: "SUPPLIER_CON_DATE", |
|||
type: "VARCHAR(64)", |
|||
maxLength: 64, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "NVARCHAR(64)", |
|||
oldMaxLength: 64, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Measures", |
|||
table: "SUPPLIER_CON_DATE", |
|||
type: "VARCHAR(255)", |
|||
maxLength: 255, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "NVARCHAR(255)", |
|||
oldMaxLength: 255, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "MaterialCode", |
|||
table: "SUPPLIER_CON_DATE", |
|||
type: "VARCHAR(50)", |
|||
maxLength: 50, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "NVARCHAR(50)", |
|||
oldMaxLength: 50, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "FeedbackResults", |
|||
table: "SUPPLIER_CON_DATE", |
|||
type: "VARCHAR(10)", |
|||
maxLength: 10, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "NVARCHAR(10)", |
|||
oldMaxLength: 10, |
|||
oldNullable: true); |
|||
} |
|||
} |
|||
} |
File diff suppressed because it is too large
@ -0,0 +1,37 @@ |
|||
using System; |
|||
using Microsoft.EntityFrameworkCore.Migrations; |
|||
|
|||
#nullable disable |
|||
|
|||
namespace TaskManager.EntityFramework.Migrations |
|||
{ |
|||
/// <inheritdoc />
|
|||
public partial class z202506090006 : Migration |
|||
{ |
|||
/// <inheritdoc />
|
|||
protected override void Up(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "StartDate", |
|||
table: "SUPPLIER_MRP_DATE", |
|||
type: "datetime2", |
|||
nullable: true, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "datetime2"); |
|||
} |
|||
|
|||
/// <inheritdoc />
|
|||
protected override void Down(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "StartDate", |
|||
table: "SUPPLIER_MRP_DATE", |
|||
type: "datetime2", |
|||
nullable: false, |
|||
defaultValue: new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "datetime2", |
|||
oldNullable: true); |
|||
} |
|||
} |
|||
} |
File diff suppressed because it is too large
@ -0,0 +1,22 @@ |
|||
using Microsoft.EntityFrameworkCore.Migrations; |
|||
|
|||
#nullable disable |
|||
|
|||
namespace TaskManager.EntityFramework.Migrations |
|||
{ |
|||
/// <inheritdoc />
|
|||
public partial class z202506090007 : Migration |
|||
{ |
|||
/// <inheritdoc />
|
|||
protected override void Up(MigrationBuilder migrationBuilder) |
|||
{ |
|||
|
|||
} |
|||
|
|||
/// <inheritdoc />
|
|||
protected override void Down(MigrationBuilder migrationBuilder) |
|||
{ |
|||
|
|||
} |
|||
} |
|||
} |
File diff suppressed because it is too large
@ -0,0 +1,579 @@ |
|||
using System; |
|||
using Microsoft.EntityFrameworkCore.Migrations; |
|||
|
|||
#nullable disable |
|||
|
|||
namespace TaskManager.EntityFramework.Migrations |
|||
{ |
|||
/// <inheritdoc />
|
|||
public partial class z202506090008 : Migration |
|||
{ |
|||
/// <inheritdoc />
|
|||
protected override void Up(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "RequestDate", |
|||
table: "SUPPLIER_SINV_DATA", |
|||
type: "nvarchar(30)", |
|||
maxLength: 30, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Id", |
|||
table: "SUPPLIER_SINV_DATA", |
|||
type: "nvarchar(50)", |
|||
maxLength: 50, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "RequestDate", |
|||
table: "SUPPLIER_SA_WEEK", |
|||
type: "nvarchar(30)", |
|||
maxLength: 30, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Id", |
|||
table: "SUPPLIER_SA_WEEK", |
|||
type: "nvarchar(50)", |
|||
maxLength: 50, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "RequestDate", |
|||
table: "SUPPLIER_RETURN", |
|||
type: "nvarchar(30)", |
|||
maxLength: 30, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Id", |
|||
table: "SUPPLIER_RETURN", |
|||
type: "nvarchar(50)", |
|||
maxLength: 50, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "RequestDate", |
|||
table: "SUPPLIER_PRO_TSCHEDUL", |
|||
type: "nvarchar(30)", |
|||
maxLength: 30, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Id", |
|||
table: "SUPPLIER_PRO_TSCHEDUL", |
|||
type: "nvarchar(50)", |
|||
maxLength: 50, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "RequestDate", |
|||
table: "SUPPLIER_PRO_PLANING", |
|||
type: "nvarchar(30)", |
|||
maxLength: 30, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "RequestDate", |
|||
table: "SUPPLIER_PRO_HSCHEDUL", |
|||
type: "nvarchar(30)", |
|||
maxLength: 30, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Id", |
|||
table: "SUPPLIER_PRO_HSCHEDUL", |
|||
type: "nvarchar(50)", |
|||
maxLength: 50, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "RequestDate", |
|||
table: "SUPPLIER_PRO_CSCHEDUL", |
|||
type: "nvarchar(30)", |
|||
maxLength: 30, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Id", |
|||
table: "SUPPLIER_PRO_CSCHEDUL", |
|||
type: "nvarchar(50)", |
|||
maxLength: 50, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "RequestDate", |
|||
table: "SUPPLIER_PO", |
|||
type: "nvarchar(30)", |
|||
maxLength: 30, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Id", |
|||
table: "SUPPLIER_PO", |
|||
type: "nvarchar(50)", |
|||
maxLength: 50, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "RequestDate", |
|||
table: "SUPPLIER_MRP_WARNING", |
|||
type: "nvarchar(30)", |
|||
maxLength: 30, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Id", |
|||
table: "SUPPLIER_MRP_WARNING", |
|||
type: "nvarchar(50)", |
|||
maxLength: 50, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "RequestDate", |
|||
table: "SUPPLIER_MRP_STATE", |
|||
type: "nvarchar(30)", |
|||
maxLength: 30, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Id", |
|||
table: "SUPPLIER_MRP_STATE", |
|||
type: "nvarchar(50)", |
|||
maxLength: 50, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "RequestDate", |
|||
table: "SUPPLIER_MRP_MONTH", |
|||
type: "nvarchar(30)", |
|||
maxLength: 30, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Id", |
|||
table: "SUPPLIER_MRP_MONTH", |
|||
type: "nvarchar(50)", |
|||
maxLength: 50, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "RequestDate", |
|||
table: "SUPPLIER_MRP_DATE", |
|||
type: "nvarchar(30)", |
|||
maxLength: 30, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Id", |
|||
table: "SUPPLIER_MRP_DATE", |
|||
type: "nvarchar(50)", |
|||
maxLength: 50, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "RequestDate", |
|||
table: "SUPPLIER_INV_DATA", |
|||
type: "nvarchar(30)", |
|||
maxLength: 30, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Id", |
|||
table: "SUPPLIER_INV_DATA", |
|||
type: "nvarchar(50)", |
|||
maxLength: 50, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "RequestDate", |
|||
table: "SUPPLIER_DEL_STATE", |
|||
type: "nvarchar(30)", |
|||
maxLength: 30, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Id", |
|||
table: "SUPPLIER_DEL_STATE", |
|||
type: "nvarchar(50)", |
|||
maxLength: 50, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "StartDate", |
|||
table: "SUPPLIER_CON_DATE", |
|||
type: "datetime2", |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "NVARCHAR(10)", |
|||
oldMaxLength: 10); |
|||
} |
|||
|
|||
/// <inheritdoc />
|
|||
protected override void Down(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "RequestDate", |
|||
table: "SUPPLIER_SINV_DATA", |
|||
type: "nvarchar(max)", |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(30)", |
|||
oldMaxLength: 30, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Id", |
|||
table: "SUPPLIER_SINV_DATA", |
|||
type: "nvarchar(max)", |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(50)", |
|||
oldMaxLength: 50, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "RequestDate", |
|||
table: "SUPPLIER_SA_WEEK", |
|||
type: "nvarchar(max)", |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(30)", |
|||
oldMaxLength: 30, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Id", |
|||
table: "SUPPLIER_SA_WEEK", |
|||
type: "nvarchar(max)", |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(50)", |
|||
oldMaxLength: 50, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "RequestDate", |
|||
table: "SUPPLIER_RETURN", |
|||
type: "nvarchar(max)", |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(30)", |
|||
oldMaxLength: 30, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Id", |
|||
table: "SUPPLIER_RETURN", |
|||
type: "nvarchar(max)", |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(50)", |
|||
oldMaxLength: 50, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "RequestDate", |
|||
table: "SUPPLIER_PRO_TSCHEDUL", |
|||
type: "nvarchar(max)", |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(30)", |
|||
oldMaxLength: 30, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Id", |
|||
table: "SUPPLIER_PRO_TSCHEDUL", |
|||
type: "nvarchar(max)", |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(50)", |
|||
oldMaxLength: 50, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "RequestDate", |
|||
table: "SUPPLIER_PRO_PLANING", |
|||
type: "nvarchar(max)", |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(30)", |
|||
oldMaxLength: 30, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "RequestDate", |
|||
table: "SUPPLIER_PRO_HSCHEDUL", |
|||
type: "nvarchar(max)", |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(30)", |
|||
oldMaxLength: 30, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Id", |
|||
table: "SUPPLIER_PRO_HSCHEDUL", |
|||
type: "nvarchar(max)", |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(50)", |
|||
oldMaxLength: 50, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "RequestDate", |
|||
table: "SUPPLIER_PRO_CSCHEDUL", |
|||
type: "nvarchar(max)", |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(30)", |
|||
oldMaxLength: 30, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Id", |
|||
table: "SUPPLIER_PRO_CSCHEDUL", |
|||
type: "nvarchar(max)", |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(50)", |
|||
oldMaxLength: 50, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "RequestDate", |
|||
table: "SUPPLIER_PO", |
|||
type: "nvarchar(max)", |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(30)", |
|||
oldMaxLength: 30, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Id", |
|||
table: "SUPPLIER_PO", |
|||
type: "nvarchar(max)", |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(50)", |
|||
oldMaxLength: 50, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "RequestDate", |
|||
table: "SUPPLIER_MRP_WARNING", |
|||
type: "nvarchar(max)", |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(30)", |
|||
oldMaxLength: 30, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Id", |
|||
table: "SUPPLIER_MRP_WARNING", |
|||
type: "nvarchar(max)", |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(50)", |
|||
oldMaxLength: 50, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "RequestDate", |
|||
table: "SUPPLIER_MRP_STATE", |
|||
type: "nvarchar(max)", |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(30)", |
|||
oldMaxLength: 30, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Id", |
|||
table: "SUPPLIER_MRP_STATE", |
|||
type: "nvarchar(max)", |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(50)", |
|||
oldMaxLength: 50, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "RequestDate", |
|||
table: "SUPPLIER_MRP_MONTH", |
|||
type: "nvarchar(max)", |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(30)", |
|||
oldMaxLength: 30, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Id", |
|||
table: "SUPPLIER_MRP_MONTH", |
|||
type: "nvarchar(max)", |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(50)", |
|||
oldMaxLength: 50, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "RequestDate", |
|||
table: "SUPPLIER_MRP_DATE", |
|||
type: "nvarchar(max)", |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(30)", |
|||
oldMaxLength: 30, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Id", |
|||
table: "SUPPLIER_MRP_DATE", |
|||
type: "nvarchar(max)", |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(50)", |
|||
oldMaxLength: 50, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "RequestDate", |
|||
table: "SUPPLIER_INV_DATA", |
|||
type: "nvarchar(max)", |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(30)", |
|||
oldMaxLength: 30, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Id", |
|||
table: "SUPPLIER_INV_DATA", |
|||
type: "nvarchar(max)", |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(50)", |
|||
oldMaxLength: 50, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "RequestDate", |
|||
table: "SUPPLIER_DEL_STATE", |
|||
type: "nvarchar(max)", |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(30)", |
|||
oldMaxLength: 30, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Id", |
|||
table: "SUPPLIER_DEL_STATE", |
|||
type: "nvarchar(max)", |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(50)", |
|||
oldMaxLength: 50, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "StartDate", |
|||
table: "SUPPLIER_CON_DATE", |
|||
type: "NVARCHAR(10)", |
|||
maxLength: 10, |
|||
nullable: false, |
|||
defaultValue: "", |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "datetime2", |
|||
oldNullable: true); |
|||
} |
|||
} |
|||
} |
File diff suppressed because it is too large
@ -0,0 +1,126 @@ |
|||
using Microsoft.EntityFrameworkCore.Migrations; |
|||
|
|||
#nullable disable |
|||
|
|||
namespace TaskManager.EntityFramework.Migrations |
|||
{ |
|||
/// <inheritdoc />
|
|||
public partial class z202506090009 : Migration |
|||
{ |
|||
/// <inheritdoc />
|
|||
protected override void Up(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Version", |
|||
table: "TaskLogs", |
|||
type: "nvarchar(30)", |
|||
maxLength: 30, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(20)", |
|||
oldMaxLength: 20, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Type", |
|||
table: "TaskLogs", |
|||
type: "nvarchar(30)", |
|||
maxLength: 30, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(20)", |
|||
oldMaxLength: 20, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "TaskName", |
|||
table: "TaskLogs", |
|||
type: "nvarchar(30)", |
|||
maxLength: 30, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(20)", |
|||
oldMaxLength: 20, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Path", |
|||
table: "TaskLogs", |
|||
type: "nvarchar(30)", |
|||
maxLength: 30, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(20)", |
|||
oldMaxLength: 20, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Info", |
|||
table: "TaskLogs", |
|||
type: "nvarchar(max)", |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(20)", |
|||
oldMaxLength: 20, |
|||
oldNullable: true); |
|||
} |
|||
|
|||
/// <inheritdoc />
|
|||
protected override void Down(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Version", |
|||
table: "TaskLogs", |
|||
type: "nvarchar(20)", |
|||
maxLength: 20, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(30)", |
|||
oldMaxLength: 30, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Type", |
|||
table: "TaskLogs", |
|||
type: "nvarchar(20)", |
|||
maxLength: 20, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(30)", |
|||
oldMaxLength: 30, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "TaskName", |
|||
table: "TaskLogs", |
|||
type: "nvarchar(20)", |
|||
maxLength: 20, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(30)", |
|||
oldMaxLength: 30, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Path", |
|||
table: "TaskLogs", |
|||
type: "nvarchar(20)", |
|||
maxLength: 20, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(30)", |
|||
oldMaxLength: 30, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Info", |
|||
table: "TaskLogs", |
|||
type: "nvarchar(20)", |
|||
maxLength: 20, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)", |
|||
oldNullable: true); |
|||
} |
|||
} |
|||
} |
File diff suppressed because it is too large
@ -0,0 +1,34 @@ |
|||
using Microsoft.EntityFrameworkCore.Migrations; |
|||
|
|||
#nullable disable |
|||
|
|||
namespace TaskManager.EntityFramework.Migrations |
|||
{ |
|||
/// <inheritdoc />
|
|||
public partial class z202506090010 : Migration |
|||
{ |
|||
/// <inheritdoc />
|
|||
protected override void Up(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "IsDelete", |
|||
table: "SUPPLIER_PRO_TSCHEDUL", |
|||
type: "nvarchar(max)", |
|||
nullable: false, |
|||
oldClrType: typeof(int), |
|||
oldType: "int"); |
|||
} |
|||
|
|||
/// <inheritdoc />
|
|||
protected override void Down(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.AlterColumn<int>( |
|||
name: "IsDelete", |
|||
table: "SUPPLIER_PRO_TSCHEDUL", |
|||
type: "int", |
|||
nullable: false, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)"); |
|||
} |
|||
} |
|||
} |
File diff suppressed because it is too large
@ -0,0 +1,36 @@ |
|||
using Microsoft.EntityFrameworkCore.Migrations; |
|||
|
|||
#nullable disable |
|||
|
|||
namespace TaskManager.EntityFramework.Migrations |
|||
{ |
|||
/// <inheritdoc />
|
|||
public partial class z202506090011 : Migration |
|||
{ |
|||
/// <inheritdoc />
|
|||
protected override void Up(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "IsDelete", |
|||
table: "SUPPLIER_PRO_TSCHEDUL", |
|||
type: "nvarchar(5)", |
|||
maxLength: 5, |
|||
nullable: false, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)"); |
|||
} |
|||
|
|||
/// <inheritdoc />
|
|||
protected override void Down(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "IsDelete", |
|||
table: "SUPPLIER_PRO_TSCHEDUL", |
|||
type: "nvarchar(max)", |
|||
nullable: false, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(5)", |
|||
oldMaxLength: 5); |
|||
} |
|||
} |
|||
} |
File diff suppressed because it is too large
@ -0,0 +1,420 @@ |
|||
using Microsoft.EntityFrameworkCore.Migrations; |
|||
|
|||
#nullable disable |
|||
|
|||
namespace TaskManager.EntityFramework.Migrations |
|||
{ |
|||
/// <inheritdoc />
|
|||
public partial class z202506100001 : Migration |
|||
{ |
|||
/// <inheritdoc />
|
|||
protected override void Up(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Id", |
|||
table: "SUPPLIER_PRO_PLANING", |
|||
type: "nvarchar(450)", |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityDemand9", |
|||
table: "SUPPLIER_MRP_MONTH", |
|||
type: "decimal(18,2)", |
|||
nullable: true, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "decimal(18,2)"); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityDemand8", |
|||
table: "SUPPLIER_MRP_MONTH", |
|||
type: "decimal(18,2)", |
|||
nullable: true, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "decimal(18,2)"); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityDemand7", |
|||
table: "SUPPLIER_MRP_MONTH", |
|||
type: "decimal(18,2)", |
|||
nullable: true, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "decimal(18,2)"); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityDemand6", |
|||
table: "SUPPLIER_MRP_MONTH", |
|||
type: "decimal(18,2)", |
|||
nullable: true, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "decimal(18,2)"); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityDemand5", |
|||
table: "SUPPLIER_MRP_MONTH", |
|||
type: "decimal(18,2)", |
|||
nullable: true, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "decimal(18,2)"); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityDemand4", |
|||
table: "SUPPLIER_MRP_MONTH", |
|||
type: "decimal(18,2)", |
|||
nullable: true, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "decimal(18,2)"); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityDemand3", |
|||
table: "SUPPLIER_MRP_MONTH", |
|||
type: "decimal(18,2)", |
|||
nullable: true, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "decimal(18,2)"); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityDemand2", |
|||
table: "SUPPLIER_MRP_MONTH", |
|||
type: "decimal(18,2)", |
|||
nullable: true, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "decimal(18,2)"); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityDemand11", |
|||
table: "SUPPLIER_MRP_MONTH", |
|||
type: "decimal(18,2)", |
|||
nullable: true, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "decimal(18,2)"); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityDemand10", |
|||
table: "SUPPLIER_MRP_MONTH", |
|||
type: "decimal(18,2)", |
|||
nullable: true, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "decimal(18,2)"); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityDemand1", |
|||
table: "SUPPLIER_MRP_MONTH", |
|||
type: "decimal(18,2)", |
|||
nullable: true, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "decimal(18,2)"); |
|||
|
|||
migrationBuilder.AddColumn<string>( |
|||
name: "Id", |
|||
table: "SUPPLIER_CON_PO", |
|||
type: "nvarchar(50)", |
|||
maxLength: 50, |
|||
nullable: true); |
|||
|
|||
migrationBuilder.AddColumn<string>( |
|||
name: "Id", |
|||
table: "SUPPLIER_CON_MMRP", |
|||
type: "nvarchar(max)", |
|||
nullable: true); |
|||
|
|||
migrationBuilder.AddColumn<string>( |
|||
name: "Id", |
|||
table: "SUPPLIER_CON_DATE", |
|||
type: "nvarchar(50)", |
|||
maxLength: 50, |
|||
nullable: true); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_SINV_DATA_Id", |
|||
table: "SUPPLIER_SINV_DATA", |
|||
column: "Id", |
|||
unique: true, |
|||
filter: "[Id] IS NOT NULL"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_SA_WEEK_Id", |
|||
table: "SUPPLIER_SA_WEEK", |
|||
column: "Id", |
|||
unique: true, |
|||
filter: "[Id] IS NOT NULL"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_RETURN_Id", |
|||
table: "SUPPLIER_RETURN", |
|||
column: "Id", |
|||
unique: true, |
|||
filter: "[Id] IS NOT NULL"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_PRO_TSCHEDUL_Id", |
|||
table: "SUPPLIER_PRO_TSCHEDUL", |
|||
column: "Id", |
|||
unique: true, |
|||
filter: "[Id] IS NOT NULL"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_PRO_PLANING_Id", |
|||
table: "SUPPLIER_PRO_PLANING", |
|||
column: "Id", |
|||
unique: true, |
|||
filter: "[Id] IS NOT NULL"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_PRO_HSCHEDUL_Id", |
|||
table: "SUPPLIER_PRO_HSCHEDUL", |
|||
column: "Id", |
|||
unique: true, |
|||
filter: "[Id] IS NOT NULL"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_PRO_CSCHEDUL_Id", |
|||
table: "SUPPLIER_PRO_CSCHEDUL", |
|||
column: "Id", |
|||
unique: true, |
|||
filter: "[Id] IS NOT NULL"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_PO_Id", |
|||
table: "SUPPLIER_PO", |
|||
column: "Id", |
|||
unique: true, |
|||
filter: "[Id] IS NOT NULL"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_MRP_WARNING_Id", |
|||
table: "SUPPLIER_MRP_WARNING", |
|||
column: "Id", |
|||
unique: true, |
|||
filter: "[Id] IS NOT NULL"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_MRP_STATE_Id", |
|||
table: "SUPPLIER_MRP_STATE", |
|||
column: "Id", |
|||
unique: true, |
|||
filter: "[Id] IS NOT NULL"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_MRP_MONTH_Id", |
|||
table: "SUPPLIER_MRP_MONTH", |
|||
column: "Id", |
|||
unique: true, |
|||
filter: "[Id] IS NOT NULL"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_MRP_DATE_Id", |
|||
table: "SUPPLIER_MRP_DATE", |
|||
column: "Id", |
|||
unique: true, |
|||
filter: "[Id] IS NOT NULL"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_INV_DATA_Id", |
|||
table: "SUPPLIER_INV_DATA", |
|||
column: "Id", |
|||
unique: true, |
|||
filter: "[Id] IS NOT NULL"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_DEL_STATE_Id", |
|||
table: "SUPPLIER_DEL_STATE", |
|||
column: "Id", |
|||
unique: true, |
|||
filter: "[Id] IS NOT NULL"); |
|||
} |
|||
|
|||
/// <inheritdoc />
|
|||
protected override void Down(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_SINV_DATA_Id", |
|||
table: "SUPPLIER_SINV_DATA"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_SA_WEEK_Id", |
|||
table: "SUPPLIER_SA_WEEK"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_RETURN_Id", |
|||
table: "SUPPLIER_RETURN"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_PRO_TSCHEDUL_Id", |
|||
table: "SUPPLIER_PRO_TSCHEDUL"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_PRO_PLANING_Id", |
|||
table: "SUPPLIER_PRO_PLANING"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_PRO_HSCHEDUL_Id", |
|||
table: "SUPPLIER_PRO_HSCHEDUL"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_PRO_CSCHEDUL_Id", |
|||
table: "SUPPLIER_PRO_CSCHEDUL"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_PO_Id", |
|||
table: "SUPPLIER_PO"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_MRP_WARNING_Id", |
|||
table: "SUPPLIER_MRP_WARNING"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_MRP_STATE_Id", |
|||
table: "SUPPLIER_MRP_STATE"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_MRP_MONTH_Id", |
|||
table: "SUPPLIER_MRP_MONTH"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_MRP_DATE_Id", |
|||
table: "SUPPLIER_MRP_DATE"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_INV_DATA_Id", |
|||
table: "SUPPLIER_INV_DATA"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_DEL_STATE_Id", |
|||
table: "SUPPLIER_DEL_STATE"); |
|||
|
|||
migrationBuilder.DropColumn( |
|||
name: "Id", |
|||
table: "SUPPLIER_CON_PO"); |
|||
|
|||
migrationBuilder.DropColumn( |
|||
name: "Id", |
|||
table: "SUPPLIER_CON_MMRP"); |
|||
|
|||
migrationBuilder.DropColumn( |
|||
name: "Id", |
|||
table: "SUPPLIER_CON_DATE"); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Id", |
|||
table: "SUPPLIER_PRO_PLANING", |
|||
type: "nvarchar(max)", |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(450)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityDemand9", |
|||
table: "SUPPLIER_MRP_MONTH", |
|||
type: "decimal(18,2)", |
|||
nullable: false, |
|||
defaultValue: 0m, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "decimal(18,2)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityDemand8", |
|||
table: "SUPPLIER_MRP_MONTH", |
|||
type: "decimal(18,2)", |
|||
nullable: false, |
|||
defaultValue: 0m, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "decimal(18,2)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityDemand7", |
|||
table: "SUPPLIER_MRP_MONTH", |
|||
type: "decimal(18,2)", |
|||
nullable: false, |
|||
defaultValue: 0m, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "decimal(18,2)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityDemand6", |
|||
table: "SUPPLIER_MRP_MONTH", |
|||
type: "decimal(18,2)", |
|||
nullable: false, |
|||
defaultValue: 0m, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "decimal(18,2)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityDemand5", |
|||
table: "SUPPLIER_MRP_MONTH", |
|||
type: "decimal(18,2)", |
|||
nullable: false, |
|||
defaultValue: 0m, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "decimal(18,2)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityDemand4", |
|||
table: "SUPPLIER_MRP_MONTH", |
|||
type: "decimal(18,2)", |
|||
nullable: false, |
|||
defaultValue: 0m, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "decimal(18,2)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityDemand3", |
|||
table: "SUPPLIER_MRP_MONTH", |
|||
type: "decimal(18,2)", |
|||
nullable: false, |
|||
defaultValue: 0m, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "decimal(18,2)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityDemand2", |
|||
table: "SUPPLIER_MRP_MONTH", |
|||
type: "decimal(18,2)", |
|||
nullable: false, |
|||
defaultValue: 0m, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "decimal(18,2)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityDemand11", |
|||
table: "SUPPLIER_MRP_MONTH", |
|||
type: "decimal(18,2)", |
|||
nullable: false, |
|||
defaultValue: 0m, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "decimal(18,2)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityDemand10", |
|||
table: "SUPPLIER_MRP_MONTH", |
|||
type: "decimal(18,2)", |
|||
nullable: false, |
|||
defaultValue: 0m, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "decimal(18,2)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityDemand1", |
|||
table: "SUPPLIER_MRP_MONTH", |
|||
type: "decimal(18,2)", |
|||
nullable: false, |
|||
defaultValue: 0m, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "decimal(18,2)", |
|||
oldNullable: true); |
|||
} |
|||
} |
|||
} |
File diff suppressed because it is too large
@ -0,0 +1 @@ |
|||
import{_ as i,c as o,a as t,b as c,t as l,o as d}from"./index-CL0IOL6c.js";const r="/assets/404-N4aRkdWY.png",a="/assets/404_cloud-CPexjtDj.png",n={name:"Page404",computed:{message(){return"The webmaster said that you can not enter this page..."}}},_={class:"wscn-http404-container"},p={class:"wscn-http404"},h={class:"bullshit"},m={class:"bullshit__headline"};function u(v,s,g,b,f,e){return d(),o("div",_,[t("div",p,[s[4]||(s[4]=c('<div class="pic-404" data-v-77105cad><img class="pic-404__parent" src="'+r+'" alt="404" data-v-77105cad><img class="pic-404__child left" src="'+a+'" alt="404" data-v-77105cad><img class="pic-404__child mid" src="'+a+'" alt="404" data-v-77105cad><img class="pic-404__child right" src="'+a+'" alt="404" data-v-77105cad></div>',1)),t("div",h,[s[0]||(s[0]=t("div",{class:"bullshit__oops"},"OOPS!",-1)),s[1]||(s[1]=t("div",{class:"bullshit__info"},"All rights reserved",-1)),t("div",m,l(e.message),1),s[2]||(s[2]=t("div",{class:"bullshit__info"},"Please check that the URL you entered is correct, or click the button below to return to the homepage.",-1)),s[3]||(s[3]=t("a",{href:"/",class:"bullshit__return-home"},"Back to home",-1))])])])}const w=i(n,[["render",u],["__scopeId","data-v-77105cad"]]);export{w as default}; |
File diff suppressed because one or more lines are too long
@ -0,0 +1 @@ |
|||
import{m as a}from"./index-CL0IOL6c.js";function i(t){return a({url:"/api/dataDictDetail/paged",method:"post",data:t})}function r(){return a({url:"/api/dataDictDetail/maxSort",method:"get"})}function d(t){return a({url:"/api/dataDictDetail/delete",method:"post",data:t})}function D(t){return a({url:"/api/dataDictDetail/add",method:"post",data:t})}function u(t){return a({url:"/api/dataDictDetail/update",method:"post",data:t})}function l(t){return a({url:"/api/dataDictDetail/detail",method:"get",params:{id:t}})}function o(t){return a({url:"/api/dataDictDetail/selectList",method:"get",params:{code:t}})}export{i as a,l as b,r as c,d,D as e,o as g,u}; |
@ -0,0 +1 @@ |
|||
import{m as s,g as C,i as E,r as l,k as B,o as f,h as F,w as t,a as r,d as a,e as c,l as N,c as M,E as O}from"./index-CL0IOL6c.js";function q(n){return s({url:"/api/autoJob/paged",method:"post",data:n})}function A(n){return s({url:"/api/autoJob/start",method:"get",params:{id:n}})}function G(n){return s({url:"/api/autoJob/stop",method:"get",params:{id:n}})}function P(n){return s({url:"/api/autoJob/deferred",method:"post",data:n})}const R={class:"app-container",style:{"min-height":"200px"}},U={class:"el-custom-dialog-footer"},j={__name:"deferredJobDialog",emits:["onClose"],setup(n,{expose:p,emit:_}){const g=_,e=C({isShowDialog:!1,form:{},loading:!1}),m=E();function b(i){e.loading=!0,w(),e.form.id=i.id,e.form.endTime=i.endTime,e.loading=!1,e.isShowDialog=!0}function w(){var i;e.form={id:null,endTime:""},(i=m.value)==null||i.resetFields()}function v(){e.loading=!0,P(e.form).then(()=>{O("延期成功"),g("onClose"),e.isShowDialog=!1,e.loading=!1})}return p({openDialog:b}),(i,o)=>{const h=l("Edit"),D=l("el-icon"),k=l("el-date-picker"),J=l("el-form-item"),V=l("el-col"),x=l("el-row"),S=l("el-form"),u=l("el-button"),y=l("el-dialog"),T=B("loading");return f(),F(y,{modelValue:e.isShowDialog,"onUpdate:modelValue":o[2]||(o[2]=d=>e.isShowDialog=d),draggable:"","close-on-click-modal":!1,width:"700px"},{header:t(()=>[r("div",null,[a(D,{class:"el-custom-dialog-icon"},{default:t(()=>[a(h)]),_:1}),o[3]||(o[3]=r("span",null,"延期Job",-1))])]),footer:t(()=>[r("div",U,[a(u,{type:"primary",onClick:v,disabled:e.loading},{default:t(()=>o[4]||(o[4]=[c("确定")])),_:1},8,["disabled"]),a(u,{onClick:o[1]||(o[1]=()=>e.isShowDialog=!1),disabled:e.loading},{default:t(()=>o[5]||(o[5]=[c("取消")])),_:1},8,["disabled"])])]),default:t(()=>[N((f(),M("div",R,[a(S,{ref_key:"elFormRef",ref:m,model:e.form,"label-width":"90px"},{default:t(()=>[a(x,null,{default:t(()=>[a(V,{span:24},{default:t(()=>[a(J,{label:"结束时间"},{default:t(()=>[a(k,{modelValue:e.form.endTime,"onUpdate:modelValue":o[0]||(o[0]=d=>e.form.endTime=d),type:"datetime",placeholder:"结束时间"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])])),[[T,e.loading]])]),_:1},8,["modelValue"])}}},H=Object.freeze(Object.defineProperty({__proto__:null,default:j},Symbol.toStringTag,{value:"Module"}));export{j as _,G as a,H as d,q as g,A as s}; |
@ -0,0 +1 @@ |
|||
import{a as B,d as E}from"./dataDictDetailApi-CT6MIz2g.js";import q from"./editDictDetailDialog-BG1bOjVD.js";import{g as T,i as I,r as n,k as U,o as g,h as m,w as l,a as y,d as t,l as h,c as N,e as r,t as R,I as $,E as M}from"./index-CL0IOL6c.js";const O={class:"app-container",style:{height:"50vh"}},G={__name:"dictDetailDialog",setup(j,{expose:P}){const e=T({isShowDialog:!1,loading:!1,queryParams:{dictId:"",name:""},pageParams:{Sort:"sort",Page:1,PageSize:10,Total:0},tableData:[]}),u=I();function d(){e.loading=!0,B(Object.assign({},e.queryParams,e.pageParams)).then(i=>{e.tableData=i.data.data,e.pageParams.Total=i.data.total}).finally(()=>e.loading=!1)}function D(i){$.confirm("是否删除该字典值?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{e.loading=!0,E({ids:i}).then(()=>{M({message:"删除成功",type:"success"}),d()}).finally(()=>e.loading=!1)})}function b(i){e.queryParams.dictId=i,d(),e.isShowDialog=!0}return P({openDialog:b}),(i,a)=>{const k=n("Edit"),w=n("el-icon"),v=n("el-input"),c=n("el-form-item"),p=n("el-button"),x=n("el-form"),f=n("el-card"),s=n("el-table-column"),_=n("el-tag"),S=n("el-table"),C=n("el-pagination"),z=n("el-dialog"),V=U("loading");return g(),m(z,{modelValue:e.isShowDialog,"onUpdate:modelValue":a[4]||(a[4]=o=>e.isShowDialog=o),draggable:"","close-on-click-modal":!1,width:"1024px"},{header:l(()=>[y("div",null,[t(w,{class:"el-custom-dialog-icon"},{default:l(()=>[t(k)]),_:1}),a[5]||(a[5]=y("span",null,"字典信息",-1))])]),default:l(()=>[h((g(),N("div",O,[t(f,{class:"search-container"},{default:l(()=>[t(x,{inline:!0},{default:l(()=>[t(c,{label:"名称"},{default:l(()=>[t(v,{modelValue:e.queryParams.name,"onUpdate:modelValue":a[0]||(a[0]=o=>e.queryParams.name=o),placeholder:"名称/编码",clearable:""},null,8,["modelValue"])]),_:1}),t(c,null,{default:l(()=>[t(p,{onClick:d,icon:"Search"},{default:l(()=>a[6]||(a[6]=[r("查询")])),_:1}),t(p,{type:"primary",onClick:a[1]||(a[1]=()=>u.value.openDialog())},{default:l(()=>a[7]||(a[7]=[r("新增")])),_:1})]),_:1})]),_:1})]),_:1}),t(f,{class:"paged-table-container"},{default:l(()=>[t(S,{ref:"tableRef","row-key":"id",data:e.tableData,border:""},{default:l(()=>[t(s,{type:"index",width:"50"},{default:l(o=>[r(R(o.$index+1+(e.pageParams.Page-1)*e.pageParams.PageSize),1)]),_:1}),t(s,{prop:"dictValue",label:"字典值"}),t(s,{prop:"dictKey",label:"字典键"}),t(s,{prop:"sort",label:"序号"}),t(s,{prop:"status",label:"状态"},{default:l(o=>[o.row.status===1?(g(),m(_,{key:0,type:"success","disable-transitions":""},{default:l(()=>a[8]||(a[8]=[r("正常")])),_:1})):(g(),m(_,{key:1,type:"danger","disable-transitions":""},{default:l(()=>a[9]||(a[9]=[r("禁用")])),_:1}))]),_:1}),t(s,{prop:"remark",label:"备注"}),t(s,{label:"操作",align:"left",width:"150","show-overflow-tooltip":""},{default:l(o=>[t(p,{link:"",icon:"Edit",type:"primary",onClick:()=>u.value.openDialog(o.row.id)},{default:l(()=>a[10]||(a[10]=[r(" 编辑 ")])),_:2},1032,["onClick"]),t(p,{link:"",icon:"Delete",type:"danger",onClick:K=>D([o.row.id])},{default:l(()=>a[11]||(a[11]=[r(" 删除 ")])),_:2},1032,["onClick"])]),_:1})]),_:1},8,["data"]),t(C,{style:{"margin-top":"10px"},currentPage:e.pageParams.Page,"onUpdate:currentPage":a[2]||(a[2]=o=>e.pageParams.Page=o),"page-size":e.pageParams.PageSize,"onUpdate:pageSize":a[3]||(a[3]=o=>e.pageParams.PageSize=o),total:e.pageParams.Total,background:"",layout:"total, sizes,prev, pager, next",onSizeChange:d,onCurrentChange:d,"page-sizes":[10,20,50,100]},null,8,["currentPage","page-size","total"])]),_:1}),t(q,{ref_key:"editDictDetailDialogRef",ref:u,onOnClose:d,"dict-id":e.queryParams.dictId},null,8,["dict-id"])])),[[V,e.loading]])]),_:1},8,["modelValue"])}}};export{G as default}; |
@ -0,0 +1 @@ |
|||
import{g as p}from"./dataDictDetailApi-CT6MIz2g.js";import{n as i,u as v,i as _,j as f,r as u,o as l,h as r,w as V,c as g,F as k,p as M}from"./index-CL0IOL6c.js";const B={__name:"dictSelect",props:i({dict:{type:String,default:""}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const o=v(t,"modelValue"),a=_([]),c=t;return f(()=>{p(c.dict).then(s=>{a.value=s.data})}),(s,n)=>{const d=u("el-option"),m=u("el-select");return l(),r(m,{modelValue:o.value,"onUpdate:modelValue":n[0]||(n[0]=e=>o.value=e)},{default:V(()=>[(l(!0),g(k,null,M(a.value,e=>(l(),r(d,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])}}};export{B as default}; |
@ -0,0 +1 @@ |
|||
import{g as B,i as _,r as s,k as F,o as g,h as K,w as l,a as m,d as a,e as y,l as h,c as N,ag as U,E as w}from"./index-CL0IOL6c.js";import{g as $,u as M}from"./roleApi-BDJCNzzM.js";import O from"./orgTree-CZlB4jkB.js";import q from"./enumSelect-B79BbPRz.js";import"./orgApi-B9lfoxVb.js";const z={class:"app-container",style:{"min-height":"50px"}},A={class:"el-custom-dialog-footer"},Q={__name:"editDataTypeDialog",emits:["onClose"],setup(G,{expose:S,emit:v}){const T=v,e=B({isShowDialog:!1,form:{},selectOptions:[],loading:!1}),d=_(),n=_();function k(t){D(),e.form.id=t.id,e.form.dataScopeType=t.dataScopeType,t.dataScopeType===16&&(e.loading=!0,$(t.id).then(o=>{var i;(i=n.value)==null||i.setCheckedKeys(o.data.orgs)}).finally(()=>e.loading=!1)),e.isShowDialog=!0}function D(){var t,o;e.form={id:null,dataScopeType:"",orgs:[]},(t=n.value)==null||t.setCheckedKeys([]),(o=d.value)==null||o.resetFields()}function x(){d.value.validate(t=>{var o;if(t){if(e.form.orgs=(o=n.value)==null?void 0:o.getCheckedKeys(),e.form.dataScopeType===16&&e.form.orgs.length===0){w({message:"请选择自定义部门数据权限!",type:"warning"});return}e.loading=!0,M(e.form).then(()=>{T("onClose"),w({message:"更新成功",type:"success"}),e.isShowDialog=!1}).finally(()=>e.loading=!1)}})}return S({openDialog:k}),(t,o)=>{const i=s("Edit"),b=s("el-icon"),p=s("el-form-item"),c=s("el-col"),f=s("el-row"),C=s("el-scrollbar"),V=s("el-form"),u=s("el-button"),E=s("el-dialog"),R=F("loading");return g(),K(E,{modelValue:e.isShowDialog,"onUpdate:modelValue":o[2]||(o[2]=r=>e.isShowDialog=r),draggable:"","close-on-click-modal":!1,width:"700px"},{header:l(()=>[m("div",null,[a(b,{class:"el-custom-dialog-icon"},{default:l(()=>[a(i)]),_:1}),o[3]||(o[3]=m("span",null,"角色数据权限",-1))])]),footer:l(()=>[m("div",A,[a(u,{type:"primary",onClick:x,disabled:e.loading},{default:l(()=>o[4]||(o[4]=[y("确定")])),_:1},8,["disabled"]),a(u,{onClick:o[1]||(o[1]=()=>e.isShowDialog=!1),disabled:e.loading},{default:l(()=>o[5]||(o[5]=[y("取消")])),_:1},8,["disabled"])])]),default:l(()=>[h((g(),N("div",z,[a(V,{ref_key:"elFormRef",ref:d,model:e.form,"label-width":"90px"},{default:l(()=>[a(f,null,{default:l(()=>[a(c,{span:18},{default:l(()=>[a(p,{label:"数据范围",prop:"dataScopeType"},{default:l(()=>[a(q,{enum:"DataScopeTypeEnum",modelValue:e.form.dataScopeType,"onUpdate:modelValue":o[0]||(o[0]=r=>e.form.dataScopeType=r)},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),h(a(f,null,{default:l(()=>[a(c,{span:24},{default:l(()=>[a(p,{label:"部门权限"},{default:l(()=>[a(C,{"max-height":"500px",style:{width:"100%"}},{default:l(()=>[a(O,{ref_key:"elTreeRef",ref:n,"default-expand-all":"","show-checkbox":"","check-strictly":""},null,512)]),_:1})]),_:1})]),_:1})]),_:1},512),[[U,e.form.dataScopeType===16]])]),_:1},8,["model"])])),[[R,e.loading]])]),_:1},8,["modelValue"])}}};export{Q as default}; |
@ -0,0 +1 @@ |
|||
import{b as M,c as O,u as h,d as q}from"./orgApi-B9lfoxVb.js";import $ from"./userSelect-BFC1XVSc.js";import T from"./orgCascader-5ynAr5qi.js";import{g as j,i as b,r as n,k as z,o as I,h as A,w as a,a as f,d as l,e as v,l as G,c as H,E as U}from"./index-CL0IOL6c.js";const J={class:"app-container"},K={class:"el-custom-dialog-footer"},Y={__name:"editDialog",emits:["onClose"],setup(L,{expose:w,emit:C}){const _=C,e=j({isShowDialog:!1,parentIds:[],form:{id:0},loading:!1}),p=b(),g=b(),D={orgName:[{required:!0,message:"请输入机构名称!",trigger:"blur"}],formCode:[{required:!0,message:"请输入机构编码!",trigger:"blur"}]};function N(s){e.loading=!0,y(),s?M(s).then(o=>{var i;e.form=o.data,o.data.parentId&&o.data.parentId!=="0"&&(e.parentIds=[o.data.parentId]),(i=g.value)==null||i.setDefaultValue(o.data.principalUserId)}).finally(()=>e.loading=!1):O().then(o=>{e.form.sort=o.data}).finally(()=>e.loading=!1),e.isShowDialog=!0}function y(){var s;e.form={id:null,parentId:0,orgName:"",formCode:"",shortName:"",telephone:"",sort:0,email:"",status:1,principalUserId:null},e.parentIds=[],(s=p.value)==null||s.resetFields()}function S(){p.value.validate(s=>{s&&(e.loading=!0,e.form.parentId=e.parentIds&&e.parentIds.length>0?e.parentIds[0]:"0",e.form.id?h(e.form).then(()=>{_("onClose"),U({message:"更新成功",type:"success"}),e.isShowDialog=!1}).finally(()=>e.loading=!1):q(e.form).then(()=>{_("onClose"),U({message:"新增成功",type:"success"}),e.isShowDialog=!1}).finally(()=>e.loading=!1))})}return w({openDialog:N}),(s,o)=>{const i=n("Edit"),k=n("el-icon"),d=n("el-form-item"),r=n("el-col"),u=n("el-row"),m=n("el-input"),x=n("el-input-number"),V=n("el-radio"),E=n("el-radio-group"),B=n("el-form"),c=n("el-button"),F=n("el-dialog"),R=z("loading");return I(),A(F,{modelValue:e.isShowDialog,"onUpdate:modelValue":o[10]||(o[10]=t=>e.isShowDialog=t),draggable:"","close-on-click-modal":!1,width:"700px"},{header:a(()=>[f("div",null,[l(k,{class:"el-custom-dialog-icon"},{default:a(()=>[l(i)]),_:1}),o[11]||(o[11]=f("span",null,"机构信息",-1))])]),footer:a(()=>[f("div",K,[l(c,{type:"primary",onClick:S,disabled:e.loading},{default:a(()=>o[12]||(o[12]=[v("确定")])),_:1},8,["disabled"]),l(c,{onClick:o[9]||(o[9]=()=>e.isShowDialog=!1),disabled:e.loading},{default:a(()=>o[13]||(o[13]=[v(" 取消 ")])),_:1},8,["disabled"])])]),default:a(()=>[G((I(),H("div",J,[l(B,{ref_key:"elFormRef",ref:p,model:e.form,rules:D,"label-width":"90px"},{default:a(()=>[l(u,null,{default:a(()=>[l(r,{span:12},{default:a(()=>[l(d,{label:"父级",prop:"parentId"},{default:a(()=>[l(T,{modelValue:e.parentIds,"onUpdate:modelValue":o[0]||(o[0]=t=>e.parentIds=t),checkStrictly:!0},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),f("div",null,[l(u,null,{default:a(()=>[l(r,{span:12},{default:a(()=>[l(d,{label:"机构名称",prop:"orgName"},{default:a(()=>[l(m,{modelValue:e.form.orgName,"onUpdate:modelValue":o[1]||(o[1]=t=>e.form.orgName=t)},null,8,["modelValue"])]),_:1})]),_:1}),l(r,{span:12},{default:a(()=>[l(d,{label:"简称",prop:"shortName"},{default:a(()=>[l(m,{modelValue:e.form.shortName,"onUpdate:modelValue":o[2]||(o[2]=t=>e.form.shortName=t)},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),l(u,null,{default:a(()=>[l(r,{span:12},{default:a(()=>[l(d,{label:"编码",prop:"formCode"},{default:a(()=>[l(m,{modelValue:e.form.formCode,"onUpdate:modelValue":o[3]||(o[3]=t=>e.form.formCode=t)},null,8,["modelValue"])]),_:1})]),_:1}),l(r,{span:12},{default:a(()=>[l(d,{label:"联系方式",prop:"telephone"},{default:a(()=>[l(m,{modelValue:e.form.telephone,"onUpdate:modelValue":o[4]||(o[4]=t=>e.form.telephone=t)},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),l(u,null,{default:a(()=>[l(r,{span:12},{default:a(()=>[l(d,{label:"排序"},{default:a(()=>[l(x,{modelValue:e.form.sort,"onUpdate:modelValue":o[5]||(o[5]=t=>e.form.sort=t)},null,8,["modelValue"])]),_:1})]),_:1}),l(r,{span:12},{default:a(()=>[l(d,{label:"邮箱",prop:"email"},{default:a(()=>[l(m,{modelValue:e.form.email,"onUpdate:modelValue":o[6]||(o[6]=t=>e.form.email=t)},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),l(u,null,{default:a(()=>[l(r,{span:12},{default:a(()=>[l(d,{label:"负责人",prop:"principalUserId"},{default:a(()=>[l($,{ref_key:"userSelectRef",ref:g,modelValue:e.form.principalUserId,"onUpdate:modelValue":o[7]||(o[7]=t=>e.form.principalUserId=t),isMultiple:!1},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),l(u,null,{default:a(()=>[l(r,{span:12},{default:a(()=>[l(d,{label:"状态"},{default:a(()=>[l(E,{modelValue:e.form.status,"onUpdate:modelValue":o[8]||(o[8]=t=>e.form.status=t)},{default:a(()=>[l(V,{label:"启用",value:1}),l(V,{label:"禁用",value:0})]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})])]),_:1},8,["model"])])),[[R,e.loading]])]),_:1},8,["modelValue"])}}};export{Y as default}; |
@ -0,0 +1 @@ |
|||
import{g as q,a as z,b as H,c as I}from"./roleApi-BDJCNzzM.js";import{e as L}from"./menuApi-DA2os7CJ.js";import{_ as O,g as A,i as C,j as G,r as t,k as J,o as V,h as P,w as a,a as f,d as o,e as h,l as Q,c as W,ah as X,t as Y,E as c}from"./index-CL0IOL6c.js";const Z={class:"app-container"},$={class:"el-custom-dialog-footer"},ee={__name:"editDialog",emits:["onClose"],setup(le,{expose:D,emit:k}){const g=k,e=A({isShowDialog:!1,form:{},loading:!1,menuTreeData:[]}),p=C(),i=C(),x={roleName:[{required:!0,message:"请输入角色名称!",trigger:"blur"}],formCode:[{required:!0,message:"请输入角色编码!",trigger:"blur"}]};G(()=>{L({}).then(s=>{e.menuTreeData=s.data})});function N(s){e.loading=!0,S(),s?q(s).then(l=>{var d;e.form=l.data,(d=i.value)==null||d.setCheckedKeys(e.form.btns)}).finally(()=>e.loading=!1):z().then(l=>{e.form.sort=l.data}).finally(()=>e.loading=!1),e.isShowDialog=!0}function S(){var s,l;e.form={id:null,roleName:"",formCode:"",sort:0,status:1,dataScopeType:2},(s=i.value)==null||s.setCheckedKeys([]),(l=p.value)==null||l.resetFields()}function R(){p.value.validate(s=>{var l,d;if(s){let r=Object.assign({},e.form);if(r.menus=[...(l=i.value)==null?void 0:l.getHalfCheckedKeys(),...(d=i.value)==null?void 0:d.getCheckedKeys()],r.menus.length===0){c({message:"请选择菜单权限!",type:"warning"});return}e.loading=!0,e.form.id?H(r).then(()=>{g("onClose"),c({message:"更新成功",type:"success"}),e.isShowDialog=!1}).finally(()=>e.loading=!1):I(r).then(()=>{g("onClose"),c({message:"新增成功",type:"success"}),e.isShowDialog=!1}).finally(()=>e.loading=!1)}})}function T(s,l){return l.type===3?s.parent.childNodes[0].id===s.id?"is-leaf-node-first-child":"is-leaf-node":"not-leaf-node"}return D({openDialog:N}),(s,l)=>{const d=t("Edit"),r=t("el-icon"),b=t("el-input"),u=t("el-form-item"),m=t("el-col"),_=t("el-row"),E=t("el-input-number"),y=t("el-radio"),U=t("el-radio-group"),B=t("el-tree"),F=t("el-scrollbar"),K=t("el-form"),v=t("el-button"),M=t("el-dialog"),j=J("loading");return V(),P(M,{modelValue:e.isShowDialog,"onUpdate:modelValue":l[5]||(l[5]=n=>e.isShowDialog=n),draggable:"","close-on-click-modal":!1,width:"850px"},{header:a(()=>[f("div",null,[o(r,{class:"el-custom-dialog-icon"},{default:a(()=>[o(d)]),_:1}),l[6]||(l[6]=f("span",null,"角色信息",-1))])]),footer:a(()=>[f("div",$,[o(v,{type:"primary",onClick:R,disabled:e.loading},{default:a(()=>l[7]||(l[7]=[h("确定")])),_:1},8,["disabled"]),o(v,{onClick:l[4]||(l[4]=()=>e.isShowDialog=!1),disabled:e.loading},{default:a(()=>l[8]||(l[8]=[h(" 取消 ")])),_:1},8,["disabled"])])]),default:a(()=>[Q((V(),W("div",Z,[o(K,{ref_key:"elFormRef",ref:p,model:e.form,rules:x,"label-width":"90px"},{default:a(()=>[o(_,null,{default:a(()=>[o(m,{span:12},{default:a(()=>[o(u,{label:"角色名称",prop:"roleName"},{default:a(()=>[o(b,{modelValue:e.form.roleName,"onUpdate:modelValue":l[0]||(l[0]=n=>e.form.roleName=n)},null,8,["modelValue"])]),_:1})]),_:1}),o(m,{span:12},{default:a(()=>[o(u,{label:"编码",prop:"formCode"},{default:a(()=>[o(b,{modelValue:e.form.formCode,"onUpdate:modelValue":l[1]||(l[1]=n=>e.form.formCode=n)},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),o(_,null,{default:a(()=>[o(m,{span:12},{default:a(()=>[o(u,{label:"排序"},{default:a(()=>[o(E,{modelValue:e.form.sort,"onUpdate:modelValue":l[2]||(l[2]=n=>e.form.sort=n)},null,8,["modelValue"])]),_:1})]),_:1}),o(m,{span:12},{default:a(()=>[o(u,{label:"状态"},{default:a(()=>[o(U,{modelValue:e.form.status,"onUpdate:modelValue":l[3]||(l[3]=n=>e.form.status=n)},{default:a(()=>[o(y,{label:"启用",value:1}),o(y,{label:"禁用",value:0})]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1}),o(_,null,{default:a(()=>[o(m,{span:24},{default:a(()=>[o(u,{label:"权限"},{default:a(()=>[o(F,{"max-height":"500px",style:{width:"100%"}},{default:a(()=>[o(B,{style:{width:"100%"},data:e.menuTreeData,"default-expand-all":"","show-checkbox":"","node-key":"id",ref_key:"elTreeRef",ref:i},{default:a(({node:n,data:w})=>[f("span",{class:X(T(n,w))},[f("span",null,Y(w.label),1)],2)]),_:1},8,["data"])]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])])),[[j,e.loading]])]),_:1},8,["modelValue"])}}},se=O(ee,[["__scopeId","data-v-7f16df5c"]]);export{se as default}; |
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1 @@ |
|||
import{a as F,b as T,u as M,c as P}from"./positionApi-LSxcuq5K.js";import{e as j}from"./menuApi-DA2os7CJ.js";import{g as q,i as R,j as L,r as a,k as O,o as c,h as z,w as t,a as m,d as l,e as b,l as A,c as G,E as V}from"./index-CL0IOL6c.js";const H={class:"app-container",style:{"min-height":"150px"}},I={class:"el-custom-dialog-footer"},X={__name:"editDialog",emits:["onClose"],setup(J,{expose:v,emit:w}){const u=w,e=q({isShowDialog:!1,form:{},loading:!1,menuTreeData:[]}),r=R(),D={positionName:[{required:!0,message:"请输入职位名称!",trigger:"blur"}],formCode:[{required:!0,message:"请输入职位编码!",trigger:"blur"}]};L(()=>{j({}).then(s=>{e.menuTreeData=s.data})});function C(s){e.loading=!0,y(),s?F(s).then(o=>{e.form=o.data}).finally(()=>e.loading=!1):T().then(o=>{e.form.sort=o.data}).finally(()=>e.loading=!1),e.isShowDialog=!0}function y(){var s;e.form={id:null,positionName:"",formCode:"",sort:0,status:1},(s=r.value)==null||s.resetFields()}function x(){r.value.validate(s=>{if(s){e.loading=!0;let o=Object.assign({},e.form);e.form.id?M(o).then(()=>{u("onClose"),V({message:"更新成功",type:"success"}),e.isShowDialog=!1}).finally(()=>e.loading=!1):P(o).then(()=>{u("onClose"),V({message:"新增成功",type:"success"}),e.isShowDialog=!1}).finally(()=>e.loading=!1)}})}return v({openDialog:C}),(s,o)=>{const k=a("Edit"),N=a("el-icon"),f=a("el-input"),i=a("el-form-item"),d=a("el-col"),p=a("el-row"),S=a("el-input-number"),_=a("el-radio"),E=a("el-radio-group"),h=a("el-form"),g=a("el-button"),U=a("el-dialog"),B=O("loading");return c(),z(U,{modelValue:e.isShowDialog,"onUpdate:modelValue":o[5]||(o[5]=n=>e.isShowDialog=n),draggable:"","close-on-click-modal":!1,width:"700px"},{header:t(()=>[m("div",null,[l(N,{class:"el-custom-dialog-icon"},{default:t(()=>[l(k)]),_:1}),o[6]||(o[6]=m("span",null,"职位信息",-1))])]),footer:t(()=>[m("div",I,[l(g,{type:"primary",onClick:x,disabled:e.loading},{default:t(()=>o[7]||(o[7]=[b("确定")])),_:1},8,["disabled"]),l(g,{onClick:o[4]||(o[4]=()=>e.isShowDialog=!1),disabled:e.loading},{default:t(()=>o[8]||(o[8]=[b("取消")])),_:1},8,["disabled"])])]),default:t(()=>[A((c(),G("div",H,[l(h,{ref_key:"elFormRef",ref:r,model:e.form,rules:D,"label-width":"90px"},{default:t(()=>[l(p,null,{default:t(()=>[l(d,{span:12},{default:t(()=>[l(i,{label:"职位名称",prop:"positionName"},{default:t(()=>[l(f,{modelValue:e.form.positionName,"onUpdate:modelValue":o[0]||(o[0]=n=>e.form.positionName=n)},null,8,["modelValue"])]),_:1})]),_:1}),l(d,{span:12},{default:t(()=>[l(i,{label:"编码",prop:"formCode"},{default:t(()=>[l(f,{modelValue:e.form.formCode,"onUpdate:modelValue":o[1]||(o[1]=n=>e.form.formCode=n)},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),l(p,null,{default:t(()=>[l(d,{span:12},{default:t(()=>[l(i,{label:"排序"},{default:t(()=>[l(S,{modelValue:e.form.sort,"onUpdate:modelValue":o[2]||(o[2]=n=>e.form.sort=n)},null,8,["modelValue"])]),_:1})]),_:1}),l(d,{span:12},{default:t(()=>[l(i,{label:"状态"},{default:t(()=>[l(E,{modelValue:e.form.status,"onUpdate:modelValue":o[3]||(o[3]=n=>e.form.status=n)},{default:t(()=>[l(_,{label:"启用",value:1}),l(_,{label:"禁用",value:0})]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])])),[[B,e.loading]])]),_:1},8,["modelValue"])}}};export{X as default}; |
@ -0,0 +1 @@ |
|||
import{m as i,g as M,i as O,r as a,k as T,o as b,h as q,w as t,a as c,d as l,e as V,l as P,c as R,E as v}from"./index-CL0IOL6c.js";function Q(d){return i({url:"/api/dataDict/paged",method:"post",data:d})}function z(){return i({url:"/api/dataDict/maxSort",method:"get"})}function W(d){return i({url:"/api/dataDict/delete",method:"post",data:d})}function A(d){return i({url:"/api/dataDict/add",method:"post",data:d})}function G(d){return i({url:"/api/dataDict/update",method:"post",data:d})}function H(d){return i({url:"/api/dataDict/detail",method:"get",params:{id:d}})}const I={class:"app-container",style:{"min-height":"200px"}},J={class:"el-custom-dialog-footer"},K={__name:"editDialog",emits:["onClose"],setup(d,{expose:w,emit:y}){const _=y,e=M({isShowDialog:!1,form:{},loading:!1,menuTreeData:[]}),m=O(),C={dictName:[{required:!0,message:"请输入字典类型名称!",trigger:"blur"}],formCode:[{required:!0,message:"请输入字典类型编码!",trigger:"blur"}]};function k(s){e.loading=!0,x(),s?H(s).then(o=>{e.form=o.data}).finally(()=>e.loading=!1):z().then(o=>{e.form.sort=o.data}).finally(()=>e.loading=!1),e.isShowDialog=!0}function x(){var s;e.form={id:null,dictName:"",formCode:"",sort:0,status:1,remark:""},(s=m.value)==null||s.resetFields()}function S(){m.value.validate(s=>{if(s){e.loading=!0;let o=Object.assign({},e.form);e.form.id?G(o).then(()=>{_("onClose"),v({message:"更新成功",type:"success"}),e.isShowDialog=!1}).finally(()=>e.loading=!1):A(o).then(()=>{_("onClose"),v({message:"新增成功",type:"success"}),e.isShowDialog=!1}).finally(()=>e.loading=!1)}})}return w({openDialog:k}),(s,o)=>{const h=a("Edit"),N=a("el-icon"),f=a("el-input"),r=a("el-form-item"),u=a("el-col"),p=a("el-row"),U=a("el-input-number"),g=a("el-radio"),E=a("el-radio-group"),B=a("el-form"),D=a("el-button"),F=a("el-dialog"),j=T("loading");return b(),q(F,{modelValue:e.isShowDialog,"onUpdate:modelValue":o[6]||(o[6]=n=>e.isShowDialog=n),draggable:"","close-on-click-modal":!1,width:"700px"},{header:t(()=>[c("div",null,[l(N,{class:"el-custom-dialog-icon"},{default:t(()=>[l(h)]),_:1}),o[7]||(o[7]=c("span",null,"字典类型信息",-1))])]),footer:t(()=>[c("div",J,[l(D,{type:"primary",onClick:S,disabled:e.loading},{default:t(()=>o[8]||(o[8]=[V("确定")])),_:1},8,["disabled"]),l(D,{onClick:o[5]||(o[5]=()=>e.isShowDialog=!1),disabled:e.loading},{default:t(()=>o[9]||(o[9]=[V("取消")])),_:1},8,["disabled"])])]),default:t(()=>[P((b(),R("div",I,[l(B,{ref_key:"elFormRef",ref:m,model:e.form,rules:C,"label-width":"90px"},{default:t(()=>[l(p,null,{default:t(()=>[l(u,{span:12},{default:t(()=>[l(r,{label:"字典类型",prop:"dictName"},{default:t(()=>[l(f,{modelValue:e.form.dictName,"onUpdate:modelValue":o[0]||(o[0]=n=>e.form.dictName=n)},null,8,["modelValue"])]),_:1})]),_:1}),l(u,{span:12},{default:t(()=>[l(r,{label:"编码",prop:"formCode"},{default:t(()=>[l(f,{modelValue:e.form.formCode,"onUpdate:modelValue":o[1]||(o[1]=n=>e.form.formCode=n)},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),l(p,null,{default:t(()=>[l(u,{span:12},{default:t(()=>[l(r,{label:"排序"},{default:t(()=>[l(U,{modelValue:e.form.sort,"onUpdate:modelValue":o[2]||(o[2]=n=>e.form.sort=n)},null,8,["modelValue"])]),_:1})]),_:1}),l(u,{span:12},{default:t(()=>[l(r,{label:"状态"},{default:t(()=>[l(E,{modelValue:e.form.status,"onUpdate:modelValue":o[3]||(o[3]=n=>e.form.status=n)},{default:t(()=>[l(g,{label:"启用",value:1}),l(g,{label:"禁用",value:0})]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1}),l(p,null,{default:t(()=>[l(u,{span:24},{default:t(()=>[l(r,{label:"备注"},{default:t(()=>[l(f,{modelValue:e.form.remark,"onUpdate:modelValue":o[4]||(o[4]=n=>e.form.remark=n),type:"textarea"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])])),[[j,e.loading]])]),_:1},8,["modelValue"])}}},X=Object.freeze(Object.defineProperty({__proto__:null,default:K},Symbol.toStringTag,{value:"Module"}));export{K as _,W as d,X as e,Q as g}; |
@ -0,0 +1 @@ |
|||
import{m,g as B,i as j,r as n,k as M,o as b,h as O,w as t,a as g,d as e,e as V,l as P,c as R,E as h}from"./index-CL0IOL6c.js";function K(r){return m({url:"/api/tenant/paged",method:"post",data:r})}function L(r){return m({url:"/api/tenant/delete",method:"post",data:r})}function z(r){return m({url:"/api/tenant/add",method:"post",data:r})}function Q(r){return m({url:"/api/tenant/open",method:"get",params:{id:r}})}function W(r){return m({url:"/api/tenant/close",method:"get",params:{id:r}})}function A(){return m({url:"/api/tenant/maxSort",method:"get"})}const G={class:"app-container",style:{"min-height":"150px"}},H={class:"el-custom-dialog-footer"},I={__name:"editDialog",emits:["onClose"],setup(r,{expose:N,emit:v}){const w=v,o=B({isShowDialog:!1,form:{},loading:!1,menuTreeData:[]}),p=j(),D={tenantName:[{required:!0,message:"请输入租户名称!",trigger:"blur"}],orgName:[{required:!0,message:"请输入机构名称!",trigger:"blur"}],orgFormCode:[{required:!0,message:"请输入机构编码!",trigger:"blur"}],userName:[{required:!0,message:"请输入租管账号!",trigger:"blur"}],realName:[{required:!0,message:"请输入租管姓名!",trigger:"blur"}]};function C(){o.loading=!0,x(),A().then(s=>{o.form.sort=s.data}).finally(()=>o.loading=!1),o.isShowDialog=!0}function x(){var s;o.form={id:null,tenantName:"",orgName:"",orgFormCode:"",userName:"",realName:"",sort:0,status:1},(s=p.value)==null||s.resetFields()}function S(){p.value.validate(s=>{if(s){o.loading=!0;let l=Object.assign({},o.form);z(l).then(()=>{w("onClose"),h({message:"新增成功",type:"success"}),o.isShowDialog=!1}).finally(()=>o.loading=!1)}})}return N({openDialog:C}),(s,l)=>{const y=n("Edit"),F=n("el-icon"),i=n("el-input"),u=n("el-form-item"),d=n("el-col"),k=n("el-input-number"),f=n("el-row"),_=n("el-radio"),U=n("el-radio-group"),T=n("el-form"),c=n("el-button"),q=n("el-dialog"),E=M("loading");return b(),O(q,{modelValue:o.isShowDialog,"onUpdate:modelValue":l[8]||(l[8]=a=>o.isShowDialog=a),draggable:"","close-on-click-modal":!1,width:"700px"},{header:t(()=>[g("div",null,[e(F,{class:"el-custom-dialog-icon"},{default:t(()=>[e(y)]),_:1}),l[9]||(l[9]=g("span",null,"职位信息",-1))])]),footer:t(()=>[g("div",H,[e(c,{type:"primary",onClick:S,disabled:o.loading},{default:t(()=>l[10]||(l[10]=[V("确定")])),_:1},8,["disabled"]),e(c,{onClick:l[7]||(l[7]=()=>o.isShowDialog=!1),disabled:o.loading},{default:t(()=>l[11]||(l[11]=[V("取消")])),_:1},8,["disabled"])])]),default:t(()=>[P((b(),R("div",G,[e(T,{ref_key:"elFormRef",ref:p,model:o.form,rules:D,"label-width":"90px"},{default:t(()=>[e(f,null,{default:t(()=>[e(d,{span:12},{default:t(()=>[e(u,{label:"租户名称",prop:"tenantName"},{default:t(()=>[e(i,{modelValue:o.form.tenantName,"onUpdate:modelValue":l[0]||(l[0]=a=>o.form.tenantName=a)},null,8,["modelValue"])]),_:1})]),_:1}),e(d,{span:12},{default:t(()=>[e(u,{label:"排序"},{default:t(()=>[e(k,{modelValue:o.form.sort,"onUpdate:modelValue":l[1]||(l[1]=a=>o.form.sort=a)},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(f,null,{default:t(()=>[e(d,{span:12},{default:t(()=>[e(u,{label:"机构名称",prop:"orgName"},{default:t(()=>[e(i,{modelValue:o.form.orgName,"onUpdate:modelValue":l[2]||(l[2]=a=>o.form.orgName=a)},null,8,["modelValue"])]),_:1})]),_:1}),e(d,{span:12},{default:t(()=>[e(u,{label:"机构编码",prop:"orgFormCode"},{default:t(()=>[e(i,{modelValue:o.form.orgFormCode,"onUpdate:modelValue":l[3]||(l[3]=a=>o.form.orgFormCode=a)},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(f,null,{default:t(()=>[e(d,{span:12},{default:t(()=>[e(u,{label:"租管账户",prop:"userName"},{default:t(()=>[e(i,{modelValue:o.form.userName,"onUpdate:modelValue":l[4]||(l[4]=a=>o.form.userName=a)},null,8,["modelValue"])]),_:1})]),_:1}),e(d,{span:12},{default:t(()=>[e(u,{label:"租管姓名",prop:"realName"},{default:t(()=>[e(i,{modelValue:o.form.realName,"onUpdate:modelValue":l[5]||(l[5]=a=>o.form.realName=a)},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(f,null,{default:t(()=>[e(d,{span:12},{default:t(()=>[e(u,{label:"状态"},{default:t(()=>[e(U,{modelValue:o.form.status,"onUpdate:modelValue":l[6]||(l[6]=a=>o.form.status=a)},{default:t(()=>[e(_,{label:"启用",value:1}),e(_,{label:"禁用",value:0})]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])])),[[E,o.loading]])]),_:1},8,["modelValue"])}}},X=Object.freeze(Object.defineProperty({__proto__:null,default:I},Symbol.toStringTag,{value:"Module"}));export{I as _,W as c,L as d,X as e,K as g,Q as o}; |
File diff suppressed because one or more lines are too long
@ -0,0 +1 @@ |
|||
import{b as T,c as h,u as q,e as M}from"./dataDictDetailApi-CT6MIz2g.js";import{g as R,i as j,r as a,k as O,o as g,h as z,w as t,a as f,d as o,e as V,l as A,c as G,E as D}from"./index-CL0IOL6c.js";const H={class:"app-container",style:{"min-height":"200px"}},J={class:"el-custom-dialog-footer"},Q={__name:"editDictDetailDialog",props:{dictId:{type:String,default:""}},emits:["onClose"],setup(b,{expose:y,emit:v}){const p=v,w=b,e=R({isShowDialog:!1,form:{},loading:!1,menuTreeData:[]}),r=j(),k={dictKey:[{required:!0,message:"请输入字典键!",trigger:"blur"}],dictValue:[{required:!0,message:"请输入字典值!",trigger:"blur"}]};function x(n){e.loading=!0,S(),n?T(n).then(l=>{e.form=l.data}).finally(()=>e.loading=!1):h().then(l=>{e.form.sort=l.data}).finally(()=>e.loading=!1),e.isShowDialog=!0}function S(){var n;e.form={id:null,dictTypeId:w.dictId,dictKey:"",dictValue:"",sort:0,status:1,remark:""},(n=r.value)==null||n.resetFields()}function C(){r.value.validate(n=>{if(n){e.loading=!0;let l=Object.assign({},e.form);e.form.id?q(l).then(()=>{p("onClose"),D({message:"更新成功",type:"success"}),e.isShowDialog=!1}).finally(()=>e.loading=!1):M(l).then(()=>{p("onClose"),D({message:"新增成功",type:"success"}),e.isShowDialog=!1}).finally(()=>e.loading=!1)}})}return y({openDialog:x}),(n,l)=>{const U=a("Edit"),E=a("el-icon"),u=a("el-input"),i=a("el-form-item"),d=a("el-col"),m=a("el-row"),K=a("el-input-number"),c=a("el-radio"),B=a("el-radio-group"),F=a("el-form"),_=a("el-button"),I=a("el-dialog"),N=O("loading");return g(),z(I,{modelValue:e.isShowDialog,"onUpdate:modelValue":l[6]||(l[6]=s=>e.isShowDialog=s),draggable:"","close-on-click-modal":!1,width:"700px"},{header:t(()=>[f("div",null,[o(E,{class:"el-custom-dialog-icon"},{default:t(()=>[o(U)]),_:1}),l[7]||(l[7]=f("span",null,"字典信息",-1))])]),footer:t(()=>[f("div",J,[o(_,{type:"primary",onClick:C,disabled:e.loading},{default:t(()=>l[8]||(l[8]=[V("确定")])),_:1},8,["disabled"]),o(_,{onClick:l[5]||(l[5]=()=>e.isShowDialog=!1),disabled:e.loading},{default:t(()=>l[9]||(l[9]=[V("取消")])),_:1},8,["disabled"])])]),default:t(()=>[A((g(),G("div",H,[o(F,{ref_key:"elFormRef",ref:r,model:e.form,rules:k,"label-width":"90px"},{default:t(()=>[o(m,null,{default:t(()=>[o(d,{span:12},{default:t(()=>[o(i,{label:"字典键",prop:"dictKey"},{default:t(()=>[o(u,{modelValue:e.form.dictKey,"onUpdate:modelValue":l[0]||(l[0]=s=>e.form.dictKey=s)},null,8,["modelValue"])]),_:1})]),_:1}),o(d,{span:12},{default:t(()=>[o(i,{label:"字典值",prop:"dictValue"},{default:t(()=>[o(u,{modelValue:e.form.dictValue,"onUpdate:modelValue":l[1]||(l[1]=s=>e.form.dictValue=s)},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),o(m,null,{default:t(()=>[o(d,{span:12},{default:t(()=>[o(i,{label:"排序"},{default:t(()=>[o(K,{modelValue:e.form.sort,"onUpdate:modelValue":l[2]||(l[2]=s=>e.form.sort=s)},null,8,["modelValue"])]),_:1})]),_:1}),o(d,{span:12},{default:t(()=>[o(i,{label:"状态"},{default:t(()=>[o(B,{modelValue:e.form.status,"onUpdate:modelValue":l[3]||(l[3]=s=>e.form.status=s)},{default:t(()=>[o(c,{label:"启用",value:1}),o(c,{label:"禁用",value:0})]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1}),o(m,null,{default:t(()=>[o(d,{span:24},{default:t(()=>[o(i,{label:"备注"},{default:t(()=>[o(u,{modelValue:e.form.remark,"onUpdate:modelValue":l[4]||(l[4]=s=>e.form.remark=s),type:"textarea"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])])),[[N,e.loading]])]),_:1},8,["modelValue"])}}};export{Q as default}; |
@ -0,0 +1 @@ |
|||
import{_ as a,i as c,j as l,T as r,o,c as t,F as i,p as _,d as u,S as p}from"./index-CL0IOL6c.js";const d={style:{display:"flex","flex-wrap":"wrap","max-height":"130px","overflow-y":"auto"}},f=["onClick"],m={__name:"elIconList",emits:["change"],setup(h){const n=c([]);return l(()=>{for(const[e]of Object.entries(r))n.value.push("el-"+e)}),(e,v)=>(o(),t("div",d,[(o(!0),t(i,null,_(n.value,s=>(o(),t("div",{key:s,class:"icon-item",onClick:k=>e.$emit("change",s)},[u(p,{icon:s},null,8,["icon"])],8,f))),128))]))}},y=a(m,[["__scopeId","data-v-fc3e4a22"]]);export{y as default}; |
@ -0,0 +1 @@ |
|||
import{m as p,n as i,u as v,i as _,j as f,r as u,o as t,h as r,w as k,c as V,F as g,p as y}from"./index-CL0IOL6c.js";function M(l){return p({url:"/api/system/enumOptions",method:"get",params:{name:l}})}const x={__name:"enumSelect",props:i({enum:{type:String,default:""}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(l){const o=v(l,"modelValue"),a=_([]),m=l;return f(()=>{M(m.enum).then(n=>{a.value=n.data})}),(n,s)=>{const c=u("el-option"),d=u("el-select");return t(),r(d,{modelValue:o.value,"onUpdate:modelValue":s[0]||(s[0]=e=>o.value=e)},{default:k(()=>[(t(!0),V(g,null,y(a.value,e=>(t(),r(c,{key:e.key,label:e.value,value:e.key},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])}}};export{x as default}; |
File diff suppressed because one or more lines are too long
@ -0,0 +1 @@ |
|||
import{m as t}from"./index-CL0IOL6c.js";function i(){return{local:"http://192.168.1.228:7629/api/file/upload"}}function l(e){return t({url:"/api/file/filesByCode",method:"get",params:{code:e}})}function o(e){return t({url:"/api/file/upload",method:"post",data:e})}export{l as a,i as g,o as u}; |
@ -0,0 +1 @@ |
|||
import{_ as e}from"./index-Dk4mkaLm.js";import{g as t,o as r,h as s}from"./index-CL0IOL6c.js";import"./download-DA4MPZiT.js";const m=Object.assign({name:"supplierInvData"},{__name:"index",setup(p){const a=t({apiName:"supplierinvdata",searchFilter:{plantId:null},searchOptions:[{type:"input",prop:"plantId",label:"工厂代码"}]});return(i,n)=>(r(),s(e,{apiName:a.apiName,searchOptions:a.searchOptions,searchFilter:a.searchFilter},null,8,["apiName","searchOptions","searchFilter"]))}});export{m as default}; |
@ -0,0 +1 @@ |
|||
import{_ as r}from"./index-Dk4mkaLm.js";import{g as a,o as s,h as t}from"./index-CL0IOL6c.js";import"./download-DA4MPZiT.js";const h=Object.assign({name:"supplierProHschedul"},{__name:"index",setup(i){const e=a({apiName:"cherysupplierporhschedul",searchFilter:{productionLineId:null},searchOptions:[{type:"input",prop:"productionLineId",label:"产线代码"}]});return(p,c)=>(s(),t(r,{apiName:e.apiName,searchOptions:e.searchOptions,searchFilter:e.searchFilter},null,8,["apiName","searchOptions","searchFilter"]))}});export{h as default}; |
@ -0,0 +1 @@ |
|||
import{g as T,_ as B,d as E}from"./editDialog-DSIh-CzC.js";import R from"./dictDetailDialog-Bv35hRLw.js";import{g as V,i as k,j as q,r as o,k as _,l as p,o as i,c as $,d as t,w as n,h as r,e as d,t as j,I as M,E as N}from"./index-CL0IOL6c.js";import"./dataDictDetailApi-CT6MIz2g.js";import"./editDictDetailDialog-BG1bOjVD.js";const O={class:"app-container"},J=Object.assign({name:"dataDictIndex"},{__name:"index",setup(U){const a=V({loading:!1,queryParams:{name:""},pageParams:{Page:1,PageSize:10,Total:0},tableData:[]}),f=k(),y=k();q(()=>{g()});function g(){a.loading=!0,T(Object.assign({},a.queryParams,a.pageParams)).then(u=>{a.tableData=u.data.data,a.pageParams.Total=u.data.total}).finally(()=>a.loading=!1)}function x(u){M.confirm("是否删除该字典?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{a.loading=!0,E({ids:u}).then(()=>{N({message:"删除成功",type:"success"}),g()}).finally(()=>a.loading=!1)})}return(u,e)=>{const v=o("el-input"),D=o("el-form-item"),m=o("el-button"),C=o("el-form"),P=o("el-card"),s=o("el-table-column"),b=o("el-tag"),w=o("el-table"),z=o("el-pagination"),c=_("auth"),I=_("auth-any"),S=_("loading");return p((i(),$("div",O,[t(P,{class:"search-container"},{default:n(()=>[t(C,{inline:!0},{default:n(()=>[t(D,{label:"字典名称"},{default:n(()=>[t(v,{modelValue:a.queryParams.name,"onUpdate:modelValue":e[0]||(e[0]=l=>a.queryParams.name=l),placeholder:"名称/编码",clearable:""},null,8,["modelValue"])]),_:1}),t(D,null,{default:n(()=>[p((i(),r(m,{onClick:g,icon:"Search"},{default:n(()=>e[4]||(e[4]=[d("查询")])),_:1})),[[c,"dataDictIndex:page"]]),p((i(),r(m,{type:"primary",onClick:e[1]||(e[1]=()=>f.value.openDialog())},{default:n(()=>e[5]||(e[5]=[d("新增")])),_:1})),[[c,"dataDictIndex:add"]])]),_:1})]),_:1})]),_:1}),t(P,{class:"paged-table-container"},{default:n(()=>[t(w,{ref:"tableRef","row-key":"id",data:a.tableData,border:""},{default:n(()=>[t(s,{type:"index",width:"50"},{default:n(l=>[d(j(l.$index+1+(a.pageParams.Page-1)*a.pageParams.PageSize),1)]),_:1}),t(s,{prop:"dictName",label:"字典类型"}),t(s,{prop:"formCode",label:"编码"}),t(s,{prop:"sort",label:"序号"}),t(s,{prop:"status",label:"状态"},{default:n(l=>[l.row.status===1?(i(),r(b,{key:0,type:"success","disable-transitions":""},{default:n(()=>e[6]||(e[6]=[d("正常")])),_:1})):(i(),r(b,{key:1,type:"danger","disable-transitions":""},{default:n(()=>e[7]||(e[7]=[d("禁用")])),_:1}))]),_:1}),t(s,{prop:"remark",label:"备注"}),p((i(),r(s,{label:"操作",align:"left",width:"260","show-overflow-tooltip":""},{default:n(l=>[p((i(),r(m,{link:"",icon:"Edit",type:"primary",onClick:()=>f.value.openDialog(l.row.id)},{default:n(()=>e[8]||(e[8]=[d(" 编辑 ")])),_:2},1032,["onClick"])),[[c,"dataDictIndex:edit"]]),p((i(),r(m,{link:"",icon:"Edit",type:"primary",onClick:()=>y.value.openDialog(l.row.id)},{default:n(()=>e[9]||(e[9]=[d(" 编辑字典 ")])),_:2},1032,["onClick"])),[[c,"dataDictIndex:edit_dict"]]),p((i(),r(m,{link:"",icon:"Delete",type:"danger",onClick:h=>x([l.row.id])},{default:n(()=>e[10]||(e[10]=[d(" 删除 ")])),_:2},1032,["onClick"])),[[c,"dataDictIndex:delete"]])]),_:1})),[[I,["dataDictIndex:edit","dataDictIndex:delete","dataDictIndex:edit_dict"]]])]),_:1},8,["data"]),t(z,{style:{"margin-top":"15px",float:"right"},currentPage:a.pageParams.Page,"onUpdate:currentPage":e[2]||(e[2]=l=>a.pageParams.Page=l),"page-size":a.pageParams.PageSize,"onUpdate:pageSize":e[3]||(e[3]=l=>a.pageParams.PageSize=l),total:a.pageParams.Total,background:"",layout:"total, sizes,prev, pager, next",onSizeChange:g,onCurrentChange:g,"page-sizes":[10,20,50,100]},null,8,["currentPage","page-size","total"])]),_:1}),t(B,{ref_key:"dictTypeDialogRef",ref:f,onOnClose:g},null,512),t(R,{ref_key:"dictDetailDialogRef",ref:y},null,512)])),[[S,a.loading]])}}});export{J as default}; |
@ -0,0 +1 @@ |
|||
import z from"./editDialog-DPUP-iRr.js";import{d as S,e as E}from"./positionApi-LSxcuq5K.js";import{g as B,i as I,j as T,r as l,k as y,l as m,o as s,c as V,d as t,w as o,h as p,e as r,t as q,I as j,E as M}from"./index-CL0IOL6c.js";import"./menuApi-DA2os7CJ.js";const N={class:"app-container"},A=Object.assign({name:"positionIndex"},{__name:"index",setup(O){const a=B({loading:!1,queryParams:{name:""},pageParams:{Page:1,PageSize:10,Total:0},tableData:[]}),_=I();T(()=>{d()});function d(){a.loading=!0,S(Object.assign({},a.queryParams,a.pageParams)).then(g=>{a.tableData=g.data.data,a.pageParams.Total=g.data.total}).finally(()=>a.loading=!1)}function k(g){j.confirm("是否删除该职位?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{a.loading=!0,E({ids:g}).then(()=>{M({message:"删除成功",type:"success"}),d()}).finally(()=>a.loading=!1)})}return(g,e)=>{const x=l("el-input"),c=l("el-form-item"),u=l("el-button"),v=l("el-form"),P=l("el-card"),i=l("el-table-column"),b=l("el-tag"),C=l("el-table"),w=l("el-pagination"),f=y("auth"),D=y("loading");return m((s(),V("div",N,[t(P,{class:"search-container"},{default:o(()=>[t(v,{inline:!0},{default:o(()=>[t(c,{label:"职位名称"},{default:o(()=>[t(x,{modelValue:a.queryParams.name,"onUpdate:modelValue":e[0]||(e[0]=n=>a.queryParams.name=n),placeholder:"职位名称",clearable:""},null,8,["modelValue"])]),_:1}),t(c,null,{default:o(()=>[m((s(),p(u,{onClick:d,icon:"Search"},{default:o(()=>e[4]||(e[4]=[r("查询")])),_:1})),[[f,"positionIndex:page"]]),m((s(),p(u,{type:"primary",onClick:e[1]||(e[1]=()=>_.value.openDialog())},{default:o(()=>e[5]||(e[5]=[r("新增")])),_:1})),[[f,"positionIndex:add"]])]),_:1})]),_:1})]),_:1}),t(P,{class:"paged-table-container"},{default:o(()=>[t(C,{ref:"tableRef","row-key":"id",data:a.tableData,border:""},{default:o(()=>[t(i,{type:"index",width:"50"},{default:o(n=>[r(q(n.$index+1+(a.pageParams.Page-1)*a.pageParams.PageSize),1)]),_:1}),t(i,{prop:"positionName",label:"职位名称"}),t(i,{prop:"formCode",label:"编码"}),t(i,{prop:"sort",label:"序号"}),t(i,{prop:"status",label:"状态"},{default:o(n=>[n.row.status===1?(s(),p(b,{key:0,type:"success","disable-transitions":""},{default:o(()=>e[6]||(e[6]=[r("正常")])),_:1})):(s(),p(b,{key:1,type:"danger","disable-transitions":""},{default:o(()=>e[7]||(e[7]=[r("禁用")])),_:1}))]),_:1}),t(i,{prop:"remark",label:"备注"}),t(i,{label:"操作",align:"left",width:"260","show-overflow-tooltip":""},{default:o(n=>[m((s(),p(u,{link:"",icon:"Edit",type:"primary",onClick:()=>_.value.openDialog(n.row.id)},{default:o(()=>e[8]||(e[8]=[r(" 编辑 ")])),_:2},1032,["onClick"])),[[f,"positionIndex:edit"]]),m((s(),p(u,{link:"",icon:"Delete",type:"danger",onClick:R=>k([n.row.id])},{default:o(()=>e[9]||(e[9]=[r(" 删除 ")])),_:2},1032,["onClick"])),[[f,"positionIndex:delete"]])]),_:1})]),_:1},8,["data"]),t(w,{style:{"margin-top":"15px",float:"right"},currentPage:a.pageParams.Page,"onUpdate:currentPage":e[2]||(e[2]=n=>a.pageParams.Page=n),"page-size":a.pageParams.PageSize,"onUpdate:pageSize":e[3]||(e[3]=n=>a.pageParams.PageSize=n),total:a.pageParams.Total,background:"",layout:"total, sizes,prev, pager, next",onSizeChange:d,onCurrentChange:d,"page-sizes":[10,20,50,100]},null,8,["currentPage","page-size","total"])]),_:1}),t(z,{ref_key:"positionEditDialogRef",ref:_,onOnClose:d},null,512)])),[[D,a.loading]])}}});export{A as default}; |
@ -0,0 +1 @@ |
|||
import{af as a}from"./index-CL0IOL6c.js";const o={name:"redirectIndex",created(){const{params:e,query:r}=this.$route,{path:t}=e;this.$router.replace({path:"/"+t,query:r})},render:function(){return a("div")}};export{o as default}; |
@ -0,0 +1 @@ |
|||
import{_ as r}from"./index-Dk4mkaLm.js";import{g as u,o as i,h as t}from"./index-CL0IOL6c.js";import"./download-DA4MPZiT.js";const d=Object.assign({name:"supplierProMaterialStock"},{__name:"index",setup(s){const e=u({apiName:"supplierpromaterialstock",searchFilter:{supplierCode:null},searchOptions:[{type:"input",prop:"supplierCode",label:"供应商代码"}],rightOperation:"apiUpdate",apiEditFormRules:{supplierCode:[{required:!0,message:"必填项",trigger:"blur"}],supplierName:[{required:!0,message:"必填项",trigger:"blur"}],supplierSubCode:[{required:!0,message:"必填项",trigger:"blur"}],supplierSubName:[{required:!0,message:"必填项",trigger:"blur"}],subSupplierCode:[{required:!0,message:"必填项",trigger:"blur"}],subSupplierName:[{required:!0,message:"必填项",trigger:"blur"}],subSupplierAddress:[{required:!0,message:"必填项",trigger:"blur"}],subBatchNo:[{required:!0,message:"必填项",trigger:"blur"}],subBatchNum:[{required:!0,message:"必填项",trigger:"blur"}],empCode:[{required:!0,message:"必填项",trigger:"blur"}],empName:[{required:!0,message:"必填项",trigger:"blur"}],deviceCode:[{required:!0,message:"必填项",trigger:"blur"}],deviceName:[{required:!0,message:"必填项",trigger:"blur"}],featureName:[{required:!0,message:"必填项",trigger:"blur"}],featureUnit:[{required:!0,message:"必填项",trigger:"blur"}],standardValue:[{required:!0,message:"必填项",trigger:"blur"}],featureUpper:[{required:!0,message:"必填项",trigger:"blur"}],featureLower:[{required:!0,message:"必填项",trigger:"blur"}],featureValue:[{required:!0,message:"必填项",trigger:"blur"}],checkNo:[{required:!0,message:"必填项",trigger:"blur"}],checkResult:[{required:!0,message:"必填项",trigger:"blur"}],checkTime:[{required:!0,message:"必填项",trigger:"blur"}],vendorFieldCode:[{required:!0,message:"必填项",trigger:"blur"}],deadLine:[{required:!0,message:"必填项",trigger:"blur"}]}});return(a,g)=>(i(),t(r,{columnWidth:150,apiName:e.apiName,searchOptions:e.searchOptions,searchFilter:e.searchFilter,rightOperation:e.rightOperation,apiEditFormRules:e.apiEditFormRules,searchButtons:["search","import","export","custominvoke"]},null,8,["apiName","searchOptions","searchFilter","rightOperation","apiEditFormRules"]))}});export{d as default}; |
@ -0,0 +1 @@ |
|||
.footerBtns[data-v-76b076bd]{display:flex;padding:20px;justify-content:space-between}[data-v-8ef955b2] .el-row{margin:0!important} |
@ -0,0 +1 @@ |
|||
import{_ as r}from"./index-Dk4mkaLm.js";import{g as a,o as t,h as i}from"./index-CL0IOL6c.js";import"./download-DA4MPZiT.js";const n=Object.assign({name:"taskConifgure"},{__name:"index",setup(s){const e=a({apiName:"taskconifgure",searchFilter:{tableName:null},searchOptions:[{type:"input",prop:"tableName",label:"表名"}],rightOperation:"apiUpdate",apiEditFormRules:{tableName:[{required:!0,message:"必填项",trigger:"blur"}],taskName:[{required:!0,message:"必填项",trigger:"blur"}],api:[{required:!0,message:"必填项",trigger:"blur"}],url:[{required:!0,message:"必填项",trigger:"blur"}],corn:[{required:!0,message:"必填项",trigger:"blur"}]}});return(p,o)=>(t(),i(r,{columnWidth:150,apiName:e.apiName,searchOptions:e.searchOptions,searchFilter:e.searchFilter,rightOperation:e.rightOperation,apiEditFormRules:e.apiEditFormRules},null,8,["apiName","searchOptions","searchFilter","rightOperation","apiEditFormRules"]))}});export{n as default}; |
@ -0,0 +1 @@ |
|||
import{g as E,_ as V,d as $,o as q,c as N}from"./editDialog-DsYmDP-m.js";import{g as O,i as j,j as M,r as s,k as f,l as g,o as i,c as R,d as n,w as t,h as d,e as p,t as U,I as _,E as y}from"./index-CL0IOL6c.js";const H={class:"app-container"},G=Object.assign({name:"tenantIndex"},{__name:"index",setup(Q){const e=O({loading:!1,queryParams:{name:""},pageParams:{Page:1,PageSize:10,Total:0},tableData:[]}),P=j();M(()=>{r()});function r(){e.loading=!0,E(Object.assign({},e.queryParams,e.pageParams)).then(o=>{e.tableData=o.data.data,e.pageParams.Total=o.data.total}).finally(()=>e.loading=!1)}function v(o){_.confirm("是否删除该租户?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{e.loading=!0,$(o).then(()=>{y({message:"删除成功",type:"success"}),r()}).finally(()=>e.loading=!1)})}function C(o){_.confirm("是否启用该租户?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{e.loading=!0,q(o).then(()=>{y({message:"启用成功",type:"success"}),r()}).finally(()=>e.loading=!1)})}function T(o){_.confirm("是否禁用该租户?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{e.loading=!0,N(o).then(()=>{y({message:"禁用成功",type:"success"}),r()}).finally(()=>e.loading=!1)})}return(o,a)=>{const D=s("el-input"),b=s("el-form-item"),m=s("el-button"),z=s("el-form"),x=s("el-card"),u=s("el-table-column"),k=s("el-tag"),B=s("el-table"),I=s("el-pagination"),c=f("auth"),S=f("auth-any"),h=f("loading");return g((i(),R("div",H,[n(x,{class:"search-container"},{default:t(()=>[n(z,{inline:!0},{default:t(()=>[n(b,{label:"职位名称"},{default:t(()=>[n(D,{modelValue:e.queryParams.name,"onUpdate:modelValue":a[0]||(a[0]=l=>e.queryParams.name=l),placeholder:"职位名称",clearable:""},null,8,["modelValue"])]),_:1}),n(b,null,{default:t(()=>[g((i(),d(m,{onClick:r,icon:"Search"},{default:t(()=>a[4]||(a[4]=[p("查询")])),_:1})),[[c,"tenantIndex:page"]]),g((i(),d(m,{type:"primary",onClick:a[1]||(a[1]=()=>P.value.openDialog())},{default:t(()=>a[5]||(a[5]=[p("新增")])),_:1})),[[c,"tenantIndex:add"]])]),_:1})]),_:1})]),_:1}),n(x,{class:"paged-table-container"},{default:t(()=>[n(B,{ref:"tableRef","row-key":"id",data:e.tableData,border:""},{default:t(()=>[n(u,{type:"index",width:"50"},{default:t(l=>[p(U(l.$index+1+(e.pageParams.Page-1)*e.pageParams.PageSize),1)]),_:1}),n(u,{prop:"tenantName",label:"租户名称"}),n(u,{prop:"orgName",label:"机构"}),n(u,{prop:"sort",label:"序号"}),n(u,{prop:"status",label:"状态"},{default:t(l=>[l.row.status===1?(i(),d(k,{key:0,type:"success","disable-transitions":""},{default:t(()=>a[6]||(a[6]=[p("正常")])),_:1})):(i(),d(k,{key:1,type:"danger","disable-transitions":""},{default:t(()=>a[7]||(a[7]=[p("禁用")])),_:1}))]),_:1}),n(u,{prop:"remark",label:"备注"}),g((i(),d(u,{label:"操作",align:"left",width:"260","show-overflow-tooltip":""},{default:t(l=>[l.row.status===0?g((i(),d(m,{key:0,link:"",icon:"View",type:"success",onClick:w=>C(l.row.id)},{default:t(()=>a[8]||(a[8]=[p(" 启用 ")])),_:2},1032,["onClick"])),[[c,"tenantIndex:open_close"]]):g((i(),d(m,{key:1,link:"",icon:"Hide",type:"danger",onClick:w=>T(l.row.id)},{default:t(()=>a[9]||(a[9]=[p(" 禁用 ")])),_:2},1032,["onClick"])),[[c,"tenantIndex:open_close"]]),g((i(),d(m,{link:"",icon:"Delete",type:"danger",onClick:w=>v(l.row.id)},{default:t(()=>a[10]||(a[10]=[p(" 删除 ")])),_:2},1032,["onClick"])),[[c,"tenantIndex:delete"]])]),_:1})),[[S,["tenantIndex:edit","tenantIndex:delete","tenantIndex:open_close"]]])]),_:1},8,["data"]),n(I,{style:{"margin-top":"15px",float:"right"},currentPage:e.pageParams.Page,"onUpdate:currentPage":a[2]||(a[2]=l=>e.pageParams.Page=l),"page-size":e.pageParams.PageSize,"onUpdate:pageSize":a[3]||(a[3]=l=>e.pageParams.PageSize=l),total:e.pageParams.Total,background:"",layout:"total, sizes,prev, pager, next",onSizeChange:r,onCurrentChange:r,"page-sizes":[10,20,50,100]},null,8,["currentPage","page-size","total"])]),_:1}),n(V,{ref_key:"tenantEditDialogRef",ref:P,onOnClose:r},null,512)])),[[h,e.loading]])}}});export{G as default}; |
@ -0,0 +1 @@ |
|||
import{g as B,d as T}from"./menuApi-DA2os7CJ.js";import{g as M,i as N,j as P,r as i,k as g,l as u,o as r,c as V,d as t,w as l,h as s,e as d,S as q,a as v,t as k,U as S,I as R,E as j}from"./index-CL0IOL6c.js";import O from"./editDialog-gvmRGAGn.js";import"./elIconList-Dez7Y2ge.js";import"./faIconList-BL3GmUlj.js";const U={class:"app-container"},H=Object.assign({name:"menuIndex"},{__name:"index",setup(z){const n=M({queryParams:{name:""},tableData:[],loading:!1}),m=N();P(()=>{p()});function p(){n.loading=!0,B(n.queryParams).then(f=>{let{data:e}=f;n.tableData=e}).finally(()=>n.loading=!1)}function x(f){R.confirm("是否删除该菜单?请注意删除操作会同时删除所有子级菜单!","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{n.loading=!0,T({ids:[f]}).then(()=>{var e;j({message:"删除成功",type:"success"}),(e=m.value)==null||e.refreshMenu(),p()}).finally(()=>n.loading=!1)})}return(f,e)=>{const D=i("el-input"),b=i("el-form-item"),c=i("el-button"),h=i("el-form"),w=i("el-card"),o=i("el-table-column"),y=i("el-tag"),I=i("el-table"),_=g("auth"),C=g("auth-any"),E=g("loading");return u((r(),V("div",U,[t(w,{class:"search-container"},{default:l(()=>[t(h,{inline:!0},{default:l(()=>[t(b,{label:"菜单名称"},{default:l(()=>[t(D,{modelValue:n.queryParams.name,"onUpdate:modelValue":e[0]||(e[0]=a=>n.queryParams.name=a),placeholder:"菜单名称",clearable:""},null,8,["modelValue"])]),_:1}),t(b,null,{default:l(()=>[u((r(),s(c,{onClick:p,icon:"Search"},{default:l(()=>e[2]||(e[2]=[d("查询")])),_:1})),[[_,"menuIndex:page"]]),u((r(),s(c,{type:"primary",onClick:e[1]||(e[1]=()=>m.value.openDialog())},{default:l(()=>e[3]||(e[3]=[d("新增")])),_:1})),[[_,"menuIndex:add"]])]),_:1})]),_:1})]),_:1}),t(w,{class:"full-table-container"},{default:l(()=>[t(I,{ref:"tableRef","row-key":"id",data:n.tableData,border:""},{default:l(()=>[t(o,{prop:"menuName",label:"菜单名称"},{default:l(a=>[t(q,{icon:a.row.menuIcon},null,8,["icon"]),v("span",null," "+k(a.row.menuName),1)]),_:1}),t(o,{prop:"menuType",label:"类型",width:"100"},{default:l(a=>[a.row.menuType===1?(r(),s(y,{key:0,type:"success","disable-transitions":""},{default:l(()=>e[4]||(e[4]=[d("目录")])),_:1})):a.row.menuType===2?(r(),s(y,{key:1,type:"warning","disable-transitions":""},{default:l(()=>e[5]||(e[5]=[d(" 菜单 ")])),_:1})):(r(),s(y,{key:2,type:"danger","disable-transitions":""},{default:l(()=>e[6]||(e[6]=[d("按钮")])),_:1}))]),_:1}),t(o,{prop:"routeName",label:"路由名称"}),t(o,{prop:"routePath",label:"路由"}),t(o,{prop:"componentPath",label:"组件",width:"210","show-overflow-tooltip":""}),t(o,{prop:"permission",label:"权限标识",width:"210","show-overflow-tooltip":""}),t(o,{prop:"sort",label:"序号",width:"100"}),t(o,{prop:"status",label:"状态",width:"80"},{default:l(a=>[v("span",{style:S({color:a.row.status===1?"var(--el-color-success)":"var(--el-color-error)"})},k(a.row.status===1?"正常":"禁用"),5)]),_:1}),u((r(),s(o,{label:"操作",align:"left",width:"180","show-overflow-tooltip":""},{default:l(a=>[u((r(),s(c,{link:"",icon:"Edit",type:"primary",onClick:()=>m.value.openDialog(a.row.id)},{default:l(()=>e[7]||(e[7]=[d("编辑")])),_:2},1032,["onClick"])),[[_,"menuIndex:edit"]]),u((r(),s(c,{link:"",icon:"Delete",type:"danger",onClick:L=>x(a.row.id)},{default:l(()=>e[8]||(e[8]=[d("删除")])),_:2},1032,["onClick"])),[[_,"menuIndex:delete"]])]),_:1})),[[C,["menuIndex:edit","menuIndex:delete"]]])]),_:1},8,["data"])]),_:1}),t(O,{ref_key:"menuEditDialogRef",ref:m,onOnClose:p},null,512)])),[[E,n.loading]])}}});export{H as default}; |
@ -0,0 +1 @@ |
|||
import{_ as a}from"./index-Dk4mkaLm.js";import{g as r,o as s,h as t}from"./index-CL0IOL6c.js";import"./download-DA4MPZiT.js";const m=Object.assign({name:"supplierProPlaning"},{__name:"index",setup(i){const e=r({apiName:"supplierproplaning",searchFilter:{materialCode:null},searchOptions:[{type:"input",prop:"materialCode",label:"物料号"}]});return(p,n)=>(s(),t(a,{apiName:e.apiName,searchOptions:e.searchOptions,searchFilter:e.searchFilter},null,8,["apiName","searchOptions","searchFilter"]))}});export{m as default}; |
File diff suppressed because one or more lines are too long
@ -0,0 +1 @@ |
|||
import{g as I,_ as O,s as R,a as j}from"./deferredJobDialog-DtMcZENH.js";import{g as V,i as E,j as N,r as d,k,l as f,o as i,c as $,d as t,w as l,h as u,e as s,t as g,a as h}from"./index-CL0IOL6c.js";const q={class:"app-container"},M=Object.assign({name:"autoJobIndex"},{__name:"index",setup(B){const a=V({loading:!1,queryParams:{description:""},pageParams:{Page:1,PageSize:10,Total:0},tableData:[]}),w=E();N(()=>{p()});function p(){a.loading=!0,I(Object.assign({},a.queryParams,a.pageParams)).then(r=>{a.tableData=r.data.data,a.pageParams.Total=r.data.total}).finally(()=>a.loading=!1)}function x(r){a.loading=!0,R(r).then(()=>{p()}).finally(()=>a.loading=!1)}function v(r){a.loading=!0,j(r).then(()=>{p()}).finally(()=>a.loading=!1)}function C(r){var o;(o=w.value)==null||o.openDialog(r)}return(r,o)=>{const D=d("el-input"),c=d("el-form-item"),b=d("el-button"),T=d("el-form"),y=d("el-card"),n=d("el-table-column"),_=d("el-tag"),J=d("el-table"),S=d("el-pagination"),m=k("auth"),z=k("loading");return f((i(),$("div",q,[t(y,{class:"search-container"},{default:l(()=>[t(T,{inline:!0},{default:l(()=>[t(c,{label:"job描述"},{default:l(()=>[t(D,{modelValue:a.queryParams.description,"onUpdate:modelValue":o[0]||(o[0]=e=>a.queryParams.description=e),placeholder:"job描述",clearable:""},null,8,["modelValue"])]),_:1}),t(c,null,{default:l(()=>[f((i(),u(b,{onClick:p,icon:"Search"},{default:l(()=>o[4]||(o[4]=[s("查询")])),_:1})),[[m,"autoJobIndex:page"]]),f((i(),u(b,{type:"primary",onClick:o[1]||(o[1]=()=>r.positionEditDialogRef.openDialog())},{default:l(()=>o[5]||(o[5]=[s("新增")])),_:1})),[[m,"autoJobIndex:add"]])]),_:1})]),_:1})]),_:1}),t(y,{class:"paged-table-container"},{default:l(()=>[t(J,{ref:"tableRef","row-key":"id",data:a.tableData,border:""},{default:l(()=>[t(n,{type:"index",width:"50"},{default:l(e=>[s(g(e.$index+1+(a.pageParams.Page-1)*a.pageParams.PageSize),1)]),_:1}),t(n,{prop:"jobDescription",label:"Job描述",width:"210","show-overflow-tooltip":""}),t(n,{prop:"jobId",label:"JobId",width:"210","show-overflow-tooltip":""}),t(n,{prop:"triggerId",label:"TriggerId",width:"210","show-overflow-tooltip":""}),t(n,{prop:"jobType",label:"Job类型",width:"210","show-overflow-tooltip":""}),t(n,{prop:"status",label:"状态",width:"100"},{default:l(e=>[e.row.status===1||e.row.status===2?(i(),u(_,{key:0,type:"success","disable-transitions":""},{default:l(()=>[s(g(e.row.statusText),1)]),_:2},1024)):e.row.status===5?(i(),u(_,{key:1,type:"warning","disable-transitions":""},{default:l(()=>[s(g(e.row.statusText),1)]),_:2},1024)):e.row.status===6?(i(),u(_,{key:2,type:"info","disable-transitions":""},{default:l(()=>[s(g(e.row.statusText),1)]),_:2},1024)):(i(),u(_,{key:3,type:"danger","disable-transitions":""},{default:l(()=>[s(g(e.row.statusText),1)]),_:2},1024))]),_:1}),t(n,{prop:"startTime",label:"起始时间",width:"210"}),t(n,{prop:"endTime",label:"结束时间",width:"210"}),t(n,{prop:"lastRunTime",label:"最近运行时间",width:"210"}),t(n,{prop:"nextRunTime",label:"下一次运行时间",width:"210"}),t(n,{prop:"numberOfRuns",label:"触发次数/限制",width:"210"},{default:l(e=>[h("span",null,g(e.row.numberOfRuns+" / "+e.row.maxNumberOfRuns),1)]),_:1}),t(n,{prop:"numberOfErrors",label:"出错次数/限制",width:"210"},{default:l(e=>[h("span",null,g(e.row.numberOfErrors+" / "+e.row.maxNumberOfErrors),1)]),_:1}),t(n,{prop:"runOnStart",label:"启动执行",width:"210"}),t(n,{label:"操作",align:"left",width:"260","show-overflow-tooltip":"",fixed:"right"},{default:l(e=>[e.row.status===3?f((i(),u(b,{key:0,link:"",icon:"View",type:"success",onClick:P=>x(e.row.id)},{default:l(()=>o[6]||(o[6]=[s(" 启用 ")])),_:2},1032,["onClick"])),[[m,"autoJobIndex:start_stop"]]):f((i(),u(b,{key:1,link:"",icon:"Hide",type:"danger",onClick:P=>v(e.row.id)},{default:l(()=>o[7]||(o[7]=[s(" 暂停 ")])),_:2},1032,["onClick"])),[[m,"autoJobIndex:start_stop"]]),f((i(),u(b,{link:"",icon:"Delete",type:"warning",onClick:P=>C(e.row)},{default:l(()=>o[8]||(o[8]=[s(" 延期 ")])),_:2},1032,["onClick"])),[[m,"autoJobIndex:deferred"]])]),_:1})]),_:1},8,["data"]),t(S,{style:{"margin-top":"15px",float:"right"},currentPage:a.pageParams.Page,"onUpdate:currentPage":o[2]||(o[2]=e=>a.pageParams.Page=e),"page-size":a.pageParams.PageSize,"onUpdate:pageSize":o[3]||(o[3]=e=>a.pageParams.PageSize=e),total:a.pageParams.Total,background:"",layout:"total, sizes,prev, pager, next",onSizeChange:p,onCurrentChange:p,"page-sizes":[10,20,50,100]},null,8,["currentPage","page-size","total"])]),_:1}),t(O,{ref_key:"deferredJobDialogRef",ref:w,onOnClose:p},null,512)])),[[z,a.loading]])}}});export{M as default}; |
@ -0,0 +1 @@ |
|||
import{_ as a}from"./index-Dk4mkaLm.js";import{g as r,o as s,h as t}from"./index-CL0IOL6c.js";import"./download-DA4MPZiT.js";const h=Object.assign({name:"supplierProScheduling"},{__name:"index",setup(p){const e=r({apiName:"cherysupplierproscheduling",searchFilter:{plantId:null},searchOptions:[{type:"input",prop:"plantId",label:"工厂代码"}]});return(i,c)=>(s(),t(a,{apiName:e.apiName,searchOptions:e.searchOptions,searchFilter:e.searchFilter},null,8,["apiName","searchOptions","searchFilter"]))}});export{h as default}; |
File diff suppressed because one or more lines are too long
@ -0,0 +1 @@ |
|||
import{_ as r}from"./index-Dk4mkaLm.js";import{g as a,o as t,h as s}from"./index-CL0IOL6c.js";import"./download-DA4MPZiT.js";const m=Object.assign({name:"supplierReturn"},{__name:"index",setup(p){const e=a({apiName:"cherysupplierreturn",searchFilter:{returnNumber:null},searchOptions:[{type:"input",prop:"returnNumber",label:"退货单号"}]});return(i,n)=>(t(),s(r,{apiName:e.apiName,searchOptions:e.searchOptions,searchFilter:e.searchFilter},null,8,["apiName","searchOptions","searchFilter"]))}});export{m as default}; |
@ -0,0 +1 @@ |
|||
import{_ as a}from"./index-Dk4mkaLm.js";import{g as r,o as t,h as p}from"./index-CL0IOL6c.js";import"./download-DA4MPZiT.js";const m=Object.assign({name:"supplierMrpState"},{__name:"index",setup(s){const e=r({apiName:"cherysuppliermrp",searchFilter:{plantId:null},searchOptions:[{type:"input",prop:"plantId",label:"工厂代码"}]});return(i,c)=>(t(),p(a,{apiName:e.apiName,searchOptions:e.searchOptions,searchFilter:e.searchFilter},null,8,["apiName","searchOptions","searchFilter"]))}});export{m as default}; |
@ -0,0 +1 @@ |
|||
import{_ as r}from"./index-Dk4mkaLm.js";import{g as t,o as i,h as a}from"./index-CL0IOL6c.js";import"./download-DA4MPZiT.js";const n=Object.assign({name:"supplierSinvData"},{__name:"index",setup(s){const e=t({apiName:"cherysuppliersinvdata",searchFilter:{supplierCode:null},searchOptions:[{type:"input",prop:"supplierCode",label:"供应商代码"}],rightOperation:"apiUpdate",apiEditFormRules:{supplierCode:[{required:!0,message:"必填项",trigger:"blur"}],supplierName:[{required:!0,message:"必填项",trigger:"blur"}],materialCode:[{required:!0,message:"必填项",trigger:"blur"}],materialDescription:[{required:!0,message:"必填项",trigger:"blur"}],quantityCurrent:[{required:!0,message:"必填项",trigger:"blur"}],quantityPlan:[{required:!0,message:"必填项",trigger:"blur"}],inventoryStatus:[{required:!0,message:"必填项",trigger:"blur"}],safetyStock:[{required:!0,message:"必填项",trigger:"blur"}],productionCycle:[{required:!0,message:"必填项",trigger:"blur"}],supplierBatch:[{required:!0,message:"必填项",trigger:"blur"}]}});return(u,p)=>(i(),a(r,{columnWidth:150,apiName:e.apiName,searchOptions:e.searchOptions,searchFilter:e.searchFilter,rightOperation:e.rightOperation,apiEditFormRules:e.apiEditFormRules},null,8,["apiName","searchOptions","searchFilter","rightOperation","apiEditFormRules"]))}});export{n as default}; |
@ -0,0 +1 @@ |
|||
import{_ as a}from"./index-Dk4mkaLm.js";import{g as r,o as s,h as t}from"./index-CL0IOL6c.js";import"./download-DA4MPZiT.js";const m=Object.assign({name:"supplierSaWeek"},{__name:"index",setup(p){const e=r({apiName:"cherysuppliersaweek",searchFilter:{scheduleAgreement:null},searchOptions:[{type:"input",prop:"scheduleAgreement",label:"计划协议号"}]});return(c,i)=>(s(),t(a,{apiName:e.apiName,searchOptions:e.searchOptions,searchFilter:e.searchFilter},null,8,["apiName","searchOptions","searchFilter"]))}});export{m as default}; |
@ -0,0 +1 @@ |
|||
import{_ as a}from"./index-Dk4mkaLm.js";import{g as r,o as t,h as s}from"./index-CL0IOL6c.js";import"./download-DA4MPZiT.js";const m=Object.assign({name:"supplierMrpMonth"},{__name:"index",setup(p){const e=r({apiName:"cherysuppliermrpmonth",searchFilter:{materialCode:null},searchOptions:[{type:"input",prop:"materialCode",label:"零件号"}]});return(i,o)=>(t(),s(a,{apiName:e.apiName,searchOptions:e.searchOptions,searchFilter:e.searchFilter},null,8,["apiName","searchOptions","searchFilter"]))}});export{m as default}; |
@ -0,0 +1 @@ |
|||
import{_ as r}from"./index-Dk4mkaLm.js";import{g as a,o as s,h as t}from"./index-CL0IOL6c.js";import"./download-DA4MPZiT.js";const h=Object.assign({name:"supplierProTschedul"},{__name:"index",setup(i){const e=a({apiName:"cherysupplierprotschedul",searchFilter:{productionLineId:null},searchOptions:[{type:"input",prop:"productionLineId",label:"产线代码"}]});return(p,c)=>(s(),t(r,{apiName:e.apiName,searchOptions:e.searchOptions,searchFilter:e.searchFilter},null,8,["apiName","searchOptions","searchFilter"]))}});export{h as default}; |
File diff suppressed because one or more lines are too long
@ -0,0 +1 @@ |
|||
import{_ as a}from"./index-Dk4mkaLm.js";import{g as r,o as t,h as s}from"./index-CL0IOL6c.js";import"./download-DA4MPZiT.js";const m=Object.assign({name:"supplierMrpDate"},{__name:"index",setup(p){const e=r({apiName:"cherysuppliermrpdata",searchFilter:{materialCode:null},searchOptions:[{type:"input",prop:"materialCode",label:"零件号"}]});return(i,c)=>(t(),s(a,{apiName:e.apiName,searchOptions:e.searchOptions,searchFilter:e.searchFilter},null,8,["apiName","searchOptions","searchFilter"]))}});export{m as default}; |
File diff suppressed because one or more lines are too long
@ -0,0 +1 @@ |
|||
import{_ as i,a as m,b as l}from"./index-Dk4mkaLm.js";import{g as c,r as u,o as d,c as f,d as o,w as h,a as b,E as w,J as N}from"./index-CL0IOL6c.js";import"./download-DA4MPZiT.js";const _={class:"taskSubPage"},O={style:{height:"100%",display:"flex"}},C=Object.assign({name:"taskSub"},{__name:"index",setup(g){const e=c({apiName:"tasksub",searchFilter:{taskName:null},searchOptions:[{type:"input",prop:"taskName",label:"任务名称"}],leftOperation:[{label:"查看详情",name:"showInfo",link:!0,type:"primary"}],drawerShow:!1,infoTableColumns:null,infoSearchFilter:[],rightOperation:"apiUpdate"});function n(t){let a=null;for(let r in l)l[r].tableName==t&&(console.log(l[r].tableName,t),a=r);return a}function s(t,a){if(t.name=="showInfo"){if(e.infoTableColumns=m[n(a.row.tableName)],!e.infoTableColumns){w.error(`不支持的表名: ${a.row.tableName}`);return}e.infoSearchFilter=[{logic:"And",column:"TableName",action:"==",value:a.row.tableName},{logic:"And",column:"TaskId",action:"==",value:a.row.taskId}],N(()=>{e.drawerShow=!0})}}return(t,a)=>{const r=u("el-drawer");return d(),f("div",_,[o(i,{apiName:e.apiName,searchOptions:e.searchOptions,searchFilter:e.searchFilter,onLeftOperationHadel:s,leftOperation:e.leftOperation,rightOperation:e.rightOperation},null,8,["apiName","searchOptions","searchFilter","leftOperation","rightOperation"]),o(r,{modelValue:e.drawerShow,"onUpdate:modelValue":a[0]||(a[0]=p=>e.drawerShow=p),title:"详情",direction:"rtl","destroy-on-close":"",size:"80%"},{default:h(()=>[b("div",O,[o(i,{apiName:e.apiName,tableColumns:e.infoTableColumns,searchFilter:e.infoSearchFilter,hideSearch:!0,apiType:"detailApi"},null,8,["apiName","tableColumns","searchFilter"])])]),_:1},8,["modelValue"])])}}});export{C as default}; |
@ -0,0 +1 @@ |
|||
import{_ as r}from"./index-Dk4mkaLm.js";import{g as a,o as s,h as p}from"./index-CL0IOL6c.js";import"./download-DA4MPZiT.js";const h=Object.assign({name:"supplierPo"},{__name:"index",setup(t){const e=a({apiName:"cherysupplierpo",searchFilter:{purchaseOrder:null},searchOptions:[{type:"input",prop:"purchaseOrder",label:"采购订单号"}]});return(c,i)=>(s(),p(r,{apiName:e.apiName,searchOptions:e.searchOptions,searchFilter:e.searchFilter},null,8,["apiName","searchOptions","searchFilter"]))}});export{h as default}; |
@ -0,0 +1 @@ |
|||
import{_ as a}from"./index-Dk4mkaLm.js";import{g as r,o as p,h as s}from"./index-CL0IOL6c.js";import"./download-DA4MPZiT.js";const m=Object.assign({name:"supplierMrpWarning"},{__name:"index",setup(t){const e=r({apiName:"cherysuppliermrpwarning",searchFilter:{plantId:null},searchOptions:[{type:"input",prop:"plantId",label:"工厂代码"}]});return(i,n)=>(p(),s(a,{apiName:e.apiName,searchOptions:e.searchOptions,searchFilter:e.searchFilter},null,8,["apiName","searchOptions","searchFilter"]))}});export{m as default}; |
@ -0,0 +1 @@ |
|||
import{_ as r}from"./index-Dk4mkaLm.js";import{g as a,o as p,h as t}from"./index-CL0IOL6c.js";import"./download-DA4MPZiT.js";const m=Object.assign({name:"supplierConMmrp"},{__name:"index",setup(i){const e=a({apiName:"cherysupplierconmmrp",searchFilter:{supplierCode:null},searchOptions:[{type:"input",prop:"supplierCode",label:"供应商代码"}],rightOperation:"apiUpdate"});return(s,o)=>(p(),t(r,{columnWidth:150,apiName:e.apiName,searchOptions:e.searchOptions,searchFilter:e.searchFilter,rightOperation:e.rightOperation},null,8,["apiName","searchOptions","searchFilter","rightOperation"]))}});export{m as default}; |
@ -0,0 +1 @@ |
|||
import S from"./editDialog-C4Qed4Gi.js";import T from"./editDataTypeDialog-CQqdb4xq.js";import{d as B,e as R}from"./roleApi-BDJCNzzM.js";import{g as V,i as x,j as h,r,k as _,l as s,o as d,c as q,d as t,w as l,h as p,e as m,t as k,a as N,U as O,I as U,E as j}from"./index-CL0IOL6c.js";import"./menuApi-DA2os7CJ.js";import"./orgTree-CZlB4jkB.js";import"./orgApi-B9lfoxVb.js";import"./enumSelect-B79BbPRz.js";const M={class:"app-container"},X=Object.assign({name:"roleIndex"},{__name:"index",setup($){const e=V({loading:!1,queryParams:{name:""},pageParams:{Page:1,PageSize:10,Total:0},tableData:[]}),f=x(),y=x();h(()=>{i()});function i(){e.loading=!0,B(Object.assign({},e.queryParams,e.pageParams)).then(g=>{e.tableData=g.data.data,e.pageParams.Total=g.data.total}).finally(()=>e.loading=!1)}function D(g){U.confirm("是否删除该角色?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{e.loading=!0,R({ids:g}).then(()=>{j({message:"删除成功",type:"success"}),i()}).finally(()=>e.loading=!1)})}return(g,a)=>{const v=r("el-input"),P=r("el-form-item"),u=r("el-button"),C=r("el-form"),b=r("el-card"),n=r("el-table-column"),w=r("el-table"),z=r("el-pagination"),c=_("auth"),E=_("auth-any"),I=_("loading");return s((d(),q("div",M,[t(b,{class:"search-container"},{default:l(()=>[t(C,{inline:!0},{default:l(()=>[t(P,{label:"角色名称"},{default:l(()=>[t(v,{modelValue:e.queryParams.name,"onUpdate:modelValue":a[0]||(a[0]=o=>e.queryParams.name=o),placeholder:"角色名称",clearable:""},null,8,["modelValue"])]),_:1}),t(P,null,{default:l(()=>[s((d(),p(u,{onClick:i,icon:"Search"},{default:l(()=>a[4]||(a[4]=[m("查询")])),_:1})),[[c,"roleIndex:page"]]),s((d(),p(u,{type:"primary",onClick:a[1]||(a[1]=()=>f.value.openDialog())},{default:l(()=>a[5]||(a[5]=[m("新增")])),_:1})),[[c,"roleIndex:add"]])]),_:1})]),_:1})]),_:1}),t(b,{class:"paged-table-container"},{default:l(()=>[t(w,{ref:"tableRef","row-key":"id",data:e.tableData,border:""},{default:l(()=>[t(n,{type:"index",width:"50"},{default:l(o=>[m(k(o.$index+1+(e.pageParams.Page-1)*e.pageParams.PageSize),1)]),_:1}),t(n,{prop:"roleName",label:"角色名称"}),t(n,{prop:"formCode",label:"编码"}),t(n,{prop:"dataScopeTypeText",label:"数据范围"}),t(n,{prop:"sort",label:"序号"}),t(n,{prop:"status",label:"状态"},{default:l(o=>[N("span",{style:O({color:o.row.status===1?"var(--el-color-success)":"var(--el-color-error)"})},k(o.row.status===1?"正常":"禁用"),5)]),_:1}),t(n,{prop:"remark",label:"备注"}),s((d(),p(n,{label:"操作",align:"left",width:"260","show-overflow-tooltip":""},{default:l(o=>[s((d(),p(u,{link:"",icon:"Edit",type:"primary",onClick:()=>f.value.openDialog(o.row.id)},{default:l(()=>a[6]||(a[6]=[m(" 编辑 ")])),_:2},1032,["onClick"])),[[c,"roleIndex:edit"]]),s((d(),p(u,{link:"",icon:"Edit",type:"primary",onClick:()=>y.value.openDialog(o.row)},{default:l(()=>a[7]||(a[7]=[m(" 数据权限 ")])),_:2},1032,["onClick"])),[[c,"roleIndex:data_type"]]),s((d(),p(u,{link:"",icon:"Delete",type:"danger",onClick:Q=>D([o.row.id])},{default:l(()=>a[8]||(a[8]=[m(" 删除 ")])),_:2},1032,["onClick"])),[[c,"roleIndex:delete"]])]),_:1})),[[E,["roleIndex:edit","roleIndex:delete","roleIndex:data_type"]]])]),_:1},8,["data"]),t(z,{style:{"margin-top":"15px",float:"right"},currentPage:e.pageParams.Page,"onUpdate:currentPage":a[2]||(a[2]=o=>e.pageParams.Page=o),"page-size":e.pageParams.PageSize,"onUpdate:pageSize":a[3]||(a[3]=o=>e.pageParams.PageSize=o),total:e.pageParams.Total,background:"",layout:"total, sizes,prev, pager, next",onSizeChange:i,onCurrentChange:i,"page-sizes":[10,20,50,100]},null,8,["currentPage","page-size","total"])]),_:1}),t(S,{ref_key:"roleEditDialogRef",ref:f,onOnClose:i},null,512),t(T,{ref_key:"roleEditDataTypeDialogRef",ref:y,onOnClose:i},null,512)])),[[I,e.loading]])}}});export{X as default}; |
@ -0,0 +1 @@ |
|||
import{_ as I,s as q,i as w,g as U,j as B,A as P,O as S,c as j,a,d as o,w as s,F as K,N as L,D as H,r as n,o as u,t as O,q as A,h as _,P as y,e as E,Q as M,R as Q}from"./index-CL0IOL6c.js";import $ from"./tenantDialog-Cp0LMyZ6.js";const z={class:"login-container"},G={class:"title-container"},J={class:"title"},W={class:"svg-container"},X={class:"svg-container"},Y={style:{display:"flex","justify-content":"space-between"}},Z={class:"svg-container"},ee={style:{width:"30%"}},oe=["src"],te=Object.assign({name:"loginIndex"},{__name:"index",setup(ae){const F=L(),x=q.userStore(),b=H(),f=w(),h=w(),e=U({loginForm:{userName:"",password:"",captchaCode:"",captcha:""},captchaImg:"",loading:!1,passwordType:"password",redirect:void 0}),V={userName:[{required:!0,trigger:"blur",message:"请输入用户名。"}],captchaCode:[{required:!0,trigger:"blur",message:"请输入验证码。"}],password:[{required:!0,trigger:"blur",message:"请输入密码。"}]};B(()=>{p()}),P(()=>b.query.redirect,l=>{e.redirect=l},{immediate:!0});function p(){S().then(l=>{let{data:t}=l;e.captchaImg="data:image/png;base64,"+t.img,e.loginForm.captcha=t.guid})}function k(){e.passwordType==="password"?e.passwordType="":e.passwordType="password"}function m(){f.value.validate(l=>{if(l)e.loading=!0,M(e.loginForm).then(t=>{let{data:i}=t;if(i.length>1)h.value.openDialog(i);else{let r={userName:e.loginForm.userName,password:e.loginForm.password,tenantId:i[0].id,captcha:e.loginForm.captcha};x.login(r).then(c=>{c.code===1&&F.push({path:"/redirect"+(e.redirect??"/")})})}}).catch(()=>{p(),e.loading=!1});else return console.log("error submit!!"),!1})}return(l,t)=>{const i=n("User"),r=n("el-icon"),c=n("el-input"),g=n("el-form-item"),v=n("Lock"),C=n("View"),N=n("Hide"),T=n("PriceTag"),R=n("el-button"),D=n("el-form");return u(),j(K,null,[a("div",z,[o(D,{ref_key:"loginFormRef",ref:f,model:e.loginForm,rules:V,class:"login-form","auto-complete":"on","label-position":"left"},{default:s(()=>[a("div",G,[a("h3",J,O(A(Q).title)+" 系统登录",1)]),o(g,{prop:"userName"},{default:s(()=>[a("span",W,[o(r,null,{default:s(()=>[o(i)]),_:1})]),o(c,{ref:"userName",modelValue:e.loginForm.userName,"onUpdate:modelValue":t[0]||(t[0]=d=>e.loginForm.userName=d),placeholder:"用户名",type:"text",tabindex:"1","auto-complete":"on"},null,8,["modelValue"])]),_:1}),o(g,{prop:"password"},{default:s(()=>[a("span",X,[o(r,null,{default:s(()=>[o(v)]),_:1})]),(u(),_(c,{key:e.passwordType,modelValue:e.loginForm.password,"onUpdate:modelValue":t[1]||(t[1]=d=>e.loginForm.password=d),type:e.passwordType,placeholder:"密码",tabindex:"2","auto-complete":"on",onKeyup:y(m,["enter"])},null,8,["modelValue","type"])),a("span",{class:"show-pwd",onClick:k},[e.passwordType==="password"?(u(),_(r,{key:0},{default:s(()=>[o(C)]),_:1})):(u(),_(r,{key:1},{default:s(()=>[o(N)]),_:1}))])]),_:1}),a("div",Y,[o(g,{prop:"captchaCode",style:{width:"65%"}},{default:s(()=>[a("span",Z,[o(r,null,{default:s(()=>[o(T)]),_:1})]),o(c,{modelValue:e.loginForm.captchaCode,"onUpdate:modelValue":t[2]||(t[2]=d=>e.loginForm.captchaCode=d),placeholder:"验证码",type:"text",tabindex:"3",onKeyup:y(m,["enter"])},null,8,["modelValue"])]),_:1}),a("div",ee,[a("img",{src:e.captchaImg,style:{width:"100%",height:"47px",color:"#fff"},title:"点击,换一张",onClick:p},null,8,oe)])]),o(R,{loading:e.loading,type:"primary",style:{width:"100%","margin-bottom":"30px",height:"40px"},onClick:m},{default:s(()=>t[3]||(t[3]=[E(" 登录 ")])),_:1},8,["loading"])]),_:1},8,["model"])]),o($,{ref_key:"tenantDialogRef",ref:h,onDialogClose:p,username:e.loginForm.username,password:e.loginForm.password,redirect:e.redirect,captcha:e.loginForm.captcha},null,8,["username","password","redirect","captcha"])],64)}}}),re=I(te,[["__scopeId","data-v-e97d44f1"]]);export{re as default}; |
@ -0,0 +1 @@ |
|||
import{g as h,e as I}from"./orgApi-B9lfoxVb.js";import B from"./editDialog-BAYbqI5Q.js";import{g as E,i as V,j as N,r,k as g,l as s,o as i,c as q,d as e,w as a,h as d,e as _,a as P,U as T,t as M,I as O,E as R}from"./index-CL0IOL6c.js";import"./userSelect-BFC1XVSc.js";import"./orgCascader-5ynAr5qi.js";const S={class:"app-container"},F=Object.assign({name:"orgIndex"},{__name:"index",setup(j){const o=E({queryParams:{name:""},tableData:[],loading:!1}),f=V();N(()=>{u()});function u(){o.loading=!0,h(o.queryParams).then(c=>{let{data:t}=c;o.tableData=t}).finally(()=>o.loading=!1)}function k(c){O.confirm("是否删除该机构?请注意删除操作会同时删除所有子级机构!","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{o.loading=!0,I({ids:[c]}).then(()=>{R({message:"删除成功",type:"success"}),u()})}).finally(()=>o.loading=!1)}return(c,t)=>{const v=r("el-input"),b=r("el-form-item"),p=r("el-button"),x=r("el-form"),y=r("el-card"),l=r("el-table-column"),w=r("el-table"),m=g("auth"),D=g("auth-any"),C=g("loading");return s((i(),q("div",S,[e(y,{class:"search-container"},{default:a(()=>[e(x,{inline:!0},{default:a(()=>[e(b,{label:"机构名称"},{default:a(()=>[e(v,{modelValue:o.queryParams.name,"onUpdate:modelValue":t[0]||(t[0]=n=>o.queryParams.name=n),placeholder:"机构名称",clearable:""},null,8,["modelValue"])]),_:1}),e(b,null,{default:a(()=>[s((i(),d(p,{onClick:u,icon:"Search"},{default:a(()=>t[2]||(t[2]=[_("查询")])),_:1})),[[m,"orgIndex:page"]]),s((i(),d(p,{type:"primary",onClick:t[1]||(t[1]=()=>f.value.openDialog())},{default:a(()=>t[3]||(t[3]=[_("新增")])),_:1})),[[m,"orgIndex:add"]])]),_:1})]),_:1})]),_:1}),e(y,{class:"full-table-container"},{default:a(()=>[e(w,{ref:"tableRef","row-key":"id",data:o.tableData,border:""},{default:a(()=>[e(l,{prop:"orgName",label:"机构名称"}),e(l,{prop:"shortName",label:"简称"}),e(l,{prop:"formCode",label:"编码"}),e(l,{prop:"telephone",label:"联系电话"}),e(l,{prop:"sort",label:"序号"}),e(l,{prop:"status",label:"状态"},{default:a(n=>[P("span",{style:T({color:n.row.status===1?"var(--el-color-success)":"var(--el-color-error)"})},M(n.row.status===1?"正常":"禁用"),5)]),_:1}),e(l,{prop:"remark",label:"备注"}),s((i(),d(l,{label:"操作",align:"left",width:"260","show-overflow-tooltip":""},{default:a(n=>[s((i(),d(p,{link:"",icon:"Edit",type:"primary",onClick:()=>f.value.openDialog(n.row.id)},{default:a(()=>t[4]||(t[4]=[_("编辑")])),_:2},1032,["onClick"])),[[m,"orgIndex:edit"]]),s((i(),d(p,{link:"",icon:"Delete",type:"danger",onClick:U=>k(n.row.id)},{default:a(()=>t[5]||(t[5]=[_("删除")])),_:2},1032,["onClick"])),[[m,"orgIndex:delete"]])]),_:1})),[[D,["orgIndex:edit","orgIndex:delete"]]])]),_:1},8,["data"])]),_:1}),e(B,{ref_key:"orgEditDialogRef",ref:f,onOnClose:u},null,512)])),[[C,o.loading]])}}});export{F as default}; |
File diff suppressed because one or more lines are too long
@ -0,0 +1 @@ |
|||
.taskSubPage{height:100%;display:flex;width:100%}.taskSubPage .el-drawer__header{margin-bottom:0!important} |
@ -0,0 +1 @@ |
|||
import{_ as a,s as t,f as o,o as c,c as n,a as r,t as d}from"./index-CL0IOL6c.js";const _={class:"dashboard-container"},i={class:"dashboard-text"},m=Object.assign({name:"dashboardIndex"},{__name:"index",setup(p){const e=t.userStore(),s=o(()=>e.state.name);return(l,u)=>(c(),n("div",_,[r("div",i,"name: "+d(s.value),1)]))}}),h=a(m,[["__scopeId","data-v-3c31c406"]]);export{h as default}; |
@ -0,0 +1 @@ |
|||
import{m as t}from"./index-CL0IOL6c.js";function g(o){return t({url:"/api/log/pagedLogin",method:"post",data:o})}function n(o){return t({url:"/api/log/pagedJob",method:"post",data:o})}function p(o){return t({url:"/api/log/pagedEvent",method:"post",data:o})}function r(o){return t({url:"/api/log/pagedException",method:"post",data:o})}function a(o){return t({url:"/api/log/pagedOperation",method:"post",data:o})}function i(o){return t({url:"/api/log/pagedDiff",method:"post",data:o})}export{p as a,r as b,n as c,g as d,a as e,i as g}; |
@ -0,0 +1 @@ |
|||
import{g as v}from"./logApi-Bj7_8BoJ.js";import{g as D,j as T,H as x,r as n,k as d,l as u,o as g,c as q,d as a,w as r,h as z,e as c,t as k}from"./index-CL0IOL6c.js";const V={class:"app-container"},U=Object.assign({name:"logDiffIndex"},{__name:"logDiffIndex",setup(C){const e=D({loading:!1,queryParams:{tableName:"",startTime:null,endTime:null},pageParams:{Page:1,PageSize:10,Total:0},tableData:[],timeSpan:[]});T(()=>{let i=x(new Date,"YYYY-mm-dd");e.timeSpan.push(i+" 00:00:00"),e.timeSpan.push(i+" 23:59:59"),s()});function s(){e.loading=!0,e.timeSpan&&e.timeSpan.length>1?(e.queryParams.startTime=e.timeSpan[0],e.queryParams.endTime=e.timeSpan[1]):(e.queryParams.startTime=null,e.queryParams.endTime=null),v(Object.assign({},e.queryParams,e.pageParams)).then(i=>{e.tableData=i.data.data,e.pageParams.Total=i.data.total}).finally(()=>e.loading=!1)}return(i,t)=>{const _=n("el-input"),p=n("el-form-item"),f=n("el-date-picker"),b=n("el-button"),P=n("el-form"),m=n("el-card"),l=n("el-table-column"),y=n("el-table"),h=n("el-pagination"),S=d("auth"),w=d("loading");return u((g(),q("div",V,[a(m,{class:"search-container"},{default:r(()=>[a(P,{inline:!0},{default:r(()=>[a(p,{label:"事件名称"},{default:r(()=>[a(_,{modelValue:e.queryParams.eventName,"onUpdate:modelValue":t[0]||(t[0]=o=>e.queryParams.eventName=o),placeholder:"事件名称",clearable:""},null,8,["modelValue"])]),_:1}),a(p,null,{default:r(()=>[a(f,{modelValue:e.timeSpan,"onUpdate:modelValue":t[1]||(t[1]=o=>e.timeSpan=o),type:"datetimerange","start-placeholder":"开始","end-placeholder":"结束","range-separator":"至",clearable:""},null,8,["modelValue"])]),_:1}),a(p,null,{default:r(()=>[u((g(),z(b,{onClick:s,icon:"Search"},{default:r(()=>t[4]||(t[4]=[c("查询")])),_:1})),[[S,"logEventIndex:page"]])]),_:1})]),_:1})]),_:1}),a(m,{class:"paged-table-container"},{default:r(()=>[a(y,{ref:"tableRef","row-key":"id",data:e.tableData,border:""},{default:r(()=>[a(l,{type:"index",width:"50"},{default:r(o=>[c(k(o.$index+1+(e.pageParams.Page-1)*e.pageParams.PageSize),1)]),_:1}),a(l,{prop:"id",label:"Id"}),a(l,{prop:"tables",label:"表名称"}),a(l,{prop:"beforeData",label:"变动前内容",width:"210","show-overflow-tooltip":""}),a(l,{prop:"afterData",label:"变动后内容",width:"210","show-overflow-tooltip":""}),a(l,{prop:"sql",label:"sql",width:"210","show-overflow-tooltip":""}),a(l,{prop:"diffType",label:"类型"}),a(l,{prop:"elapsed",label:"耗时"}),a(l,{prop:"createTime",label:"记录时间"})]),_:1},8,["data"]),a(h,{style:{"margin-top":"15px",float:"right"},currentPage:e.pageParams.Page,"onUpdate:currentPage":t[2]||(t[2]=o=>e.pageParams.Page=o),"page-size":e.pageParams.PageSize,"onUpdate:pageSize":t[3]||(t[3]=o=>e.pageParams.PageSize=o),total:e.pageParams.Total,background:"",layout:"total, sizes,prev, pager, next",onSizeChange:s,onCurrentChange:s,"page-sizes":[10,20,50,100]},null,8,["currentPage","page-size","total"])]),_:1})])),[[w,e.loading]])}}});export{U as default}; |
@ -0,0 +1 @@ |
|||
import{a as w}from"./logApi-Bj7_8BoJ.js";import{g as T,j as x,H as k,r as o,k as d,l as u,o as g,c as z,d as a,w as r,h as D,e as c,t as q}from"./index-CL0IOL6c.js";const V={class:"app-container"},E=Object.assign({name:"logEventIndex"},{__name:"logEventIndex",setup(C){const e=T({loading:!1,queryParams:{eventName:"",startTime:null,endTime:null},pageParams:{Page:1,PageSize:10,Total:0},tableData:[],timeSpan:[]});x(()=>{let s=k(new Date,"YYYY-mm-dd");e.timeSpan.push(s+" 00:00:00"),e.timeSpan.push(s+" 23:59:59"),p()});function p(){e.loading=!0,e.timeSpan&&e.timeSpan.length>1?(e.queryParams.startTime=e.timeSpan[0],e.queryParams.endTime=e.timeSpan[1]):(e.queryParams.startTime=null,e.queryParams.endTime=null),w(Object.assign({},e.queryParams,e.pageParams)).then(s=>{e.tableData=s.data.data,e.pageParams.Total=s.data.total}).finally(()=>e.loading=!1)}return(s,t)=>{const _=o("el-input"),i=o("el-form-item"),b=o("el-date-picker"),P=o("el-button"),f=o("el-form"),m=o("el-card"),l=o("el-table-column"),v=o("el-table"),h=o("el-pagination"),y=d("auth"),S=d("loading");return u((g(),z("div",V,[a(m,{class:"search-container"},{default:r(()=>[a(f,{inline:!0},{default:r(()=>[a(i,{label:"事件名称"},{default:r(()=>[a(_,{modelValue:e.queryParams.eventName,"onUpdate:modelValue":t[0]||(t[0]=n=>e.queryParams.eventName=n),placeholder:"事件名称",clearable:""},null,8,["modelValue"])]),_:1}),a(i,null,{default:r(()=>[a(b,{modelValue:e.timeSpan,"onUpdate:modelValue":t[1]||(t[1]=n=>e.timeSpan=n),type:"datetimerange","start-placeholder":"开始","end-placeholder":"结束","range-separator":"至",clearable:""},null,8,["modelValue"])]),_:1}),a(i,null,{default:r(()=>[u((g(),D(P,{onClick:p,icon:"Search"},{default:r(()=>t[4]||(t[4]=[c("查询")])),_:1})),[[y,"logEventIndex:page"]])]),_:1})]),_:1})]),_:1}),a(m,{class:"paged-table-container"},{default:r(()=>[a(v,{ref:"tableRef","row-key":"id",data:e.tableData,border:""},{default:r(()=>[a(l,{type:"index",width:"50"},{default:r(n=>[c(q(n.$index+1+(e.pageParams.Page-1)*e.pageParams.PageSize),1)]),_:1}),a(l,{prop:"id",label:"Id"}),a(l,{prop:"eventName",label:"事件名称"}),a(l,{prop:"eventId",label:"事件Id",width:"210","show-overflow-tooltip":""}),a(l,{prop:"publishDateTime",label:"发布时间"}),a(l,{prop:"publishContent",label:"发布内容",width:"210","show-overflow-tooltip":""}),a(l,{prop:"elapsed",label:"耗时"}),a(l,{prop:"status",label:"状态"}),a(l,{prop:"remark",label:"备注"}),a(l,{prop:"createTime",label:"记录时间"})]),_:1},8,["data"]),a(h,{style:{"margin-top":"15px",float:"right"},currentPage:e.pageParams.Page,"onUpdate:currentPage":t[2]||(t[2]=n=>e.pageParams.Page=n),"page-size":e.pageParams.PageSize,"onUpdate:pageSize":t[3]||(t[3]=n=>e.pageParams.PageSize=n),total:e.pageParams.Total,background:"",layout:"total, sizes,prev, pager, next",onSizeChange:p,onCurrentChange:p,"page-sizes":[10,20,50,100]},null,8,["currentPage","page-size","total"])]),_:1})])),[[S,e.loading]])}}});export{E as default}; |
@ -0,0 +1 @@ |
|||
import{b as S}from"./logApi-Bj7_8BoJ.js";import{g as q,j as v,H as N,r as n,k as u,l as c,o as g,c as V,d as a,w as r,h as T,e as b,t as U}from"./index-CL0IOL6c.js";const k={class:"app-container"},E=Object.assign({name:"logExceptionIndex"},{__name:"logExceptionIndex",setup(z){const e=q({loading:!1,queryParams:{requestUrl:"",controllerName:"",actionName:"",startTime:null,endTime:null},pageParams:{Page:1,PageSize:10,Total:0},tableData:[],timeSpan:[]});v(()=>{let p=N(new Date,"YYYY-mm-dd");e.timeSpan.push(p+" 00:00:00"),e.timeSpan.push(p+" 23:59:59"),s()});function s(){e.loading=!0,e.timeSpan&&e.timeSpan.length>1?(e.queryParams.startTime=e.timeSpan[0],e.queryParams.endTime=e.timeSpan[1]):(e.queryParams.startTime=null,e.queryParams.endTime=null),S(Object.assign({},e.queryParams,e.pageParams)).then(p=>{e.tableData=p.data.data,e.pageParams.Total=p.data.total}).finally(()=>e.loading=!1)}return(p,l)=>{const d=n("el-input"),i=n("el-form-item"),f=n("el-date-picker"),_=n("el-button"),w=n("el-form"),m=n("el-card"),t=n("el-table-column"),h=n("el-table"),P=n("el-pagination"),x=u("auth"),y=u("loading");return c((g(),V("div",k,[a(m,{class:"search-container"},{default:r(()=>[a(w,{inline:!0},{default:r(()=>[a(i,{label:"url"},{default:r(()=>[a(d,{modelValue:e.queryParams.requestUrl,"onUpdate:modelValue":l[0]||(l[0]=o=>e.queryParams.requestUrl=o),placeholder:"url",clearable:""},null,8,["modelValue"])]),_:1}),a(i,{label:"controller"},{default:r(()=>[a(d,{modelValue:e.queryParams.controllerName,"onUpdate:modelValue":l[1]||(l[1]=o=>e.queryParams.controllerName=o),placeholder:"controller",clearable:""},null,8,["modelValue"])]),_:1}),a(i,{label:"action"},{default:r(()=>[a(d,{modelValue:e.queryParams.actionName,"onUpdate:modelValue":l[2]||(l[2]=o=>e.queryParams.actionName=o),placeholder:"action",clearable:""},null,8,["modelValue"])]),_:1}),a(i,null,{default:r(()=>[a(f,{modelValue:e.timeSpan,"onUpdate:modelValue":l[3]||(l[3]=o=>e.timeSpan=o),type:"datetimerange","start-placeholder":"开始","end-placeholder":"结束","range-separator":"至",clearable:""},null,8,["modelValue"])]),_:1}),a(i,null,{default:r(()=>[c((g(),T(_,{onClick:s,icon:"Search"},{default:r(()=>l[6]||(l[6]=[b("查询")])),_:1})),[[x,"logExceptionIndex:page"]])]),_:1})]),_:1})]),_:1}),a(m,{class:"paged-table-container"},{default:r(()=>[a(h,{ref:"tableRef","row-key":"id",data:e.tableData,border:""},{default:r(()=>[a(t,{type:"index",width:"50",fixed:"left"},{default:r(o=>[b(U(o.$index+1+(e.pageParams.Page-1)*e.pageParams.PageSize),1)]),_:1}),a(t,{prop:"id",label:"Id",width:"210",fixed:"left"}),a(t,{prop:"controllerName",label:"controller",width:"210",fixed:"left"}),a(t,{prop:"actionName",label:"action",width:"210",fixed:"left"}),a(t,{prop:"httpMethod",label:"方法",width:"100"}),a(t,{prop:"methodName",label:"methodName",width:"210"}),a(t,{prop:"requestUrl",label:"请求Url",width:"210","show-overflow-tooltip":""}),a(t,{prop:"requestParam",label:"请求参数",width:"210","show-overflow-tooltip":""}),a(t,{prop:"returnResult",label:"返回内容",width:"210","show-overflow-tooltip":""}),a(t,{prop:"elapsed",label:"耗时",width:"100"}),a(t,{prop:"exception",label:"错误信息",width:"210","show-overflow-tooltip":""}),a(t,{prop:"exceptionStackTrace",label:"堆栈信息",width:"210","show-overflow-tooltip":""}),a(t,{prop:"source",label:"来源"}),a(t,{prop:"message",label:"消息",width:"210","show-overflow-tooltip":""}),a(t,{prop:"browser",label:"browser",width:"210"}),a(t,{prop:"os",label:"os",width:"210"}),a(t,{prop:"ipAddress",label:"Ip",width:"210"}),a(t,{prop:"userName",label:"userName",width:"210"}),a(t,{prop:"createTime",label:"记录时间",width:"210"})]),_:1},8,["data"]),a(P,{style:{"margin-top":"15px",float:"right"},currentPage:e.pageParams.Page,"onUpdate:currentPage":l[4]||(l[4]=o=>e.pageParams.Page=o),"page-size":e.pageParams.PageSize,"onUpdate:pageSize":l[5]||(l[5]=o=>e.pageParams.PageSize=o),total:e.pageParams.Total,background:"",layout:"total, sizes,prev, pager, next",onSizeChange:s,onCurrentChange:s,"page-sizes":[10,20,50,100]},null,8,["currentPage","page-size","total"])]),_:1})])),[[y,e.loading]])}}});export{E as default}; |
@ -0,0 +1 @@ |
|||
import{c as h}from"./logApi-Bj7_8BoJ.js";import{g as x,j,H as k,r as n,k as m,l as u,o as g,c as z,d as a,w as r,h as v,e as c,t as D}from"./index-CL0IOL6c.js";const q={class:"app-container"},J=Object.assign({name:"logJobIndex"},{__name:"logJobIndex",setup(V){const e=x({loading:!1,queryParams:{jobId:"",startTime:null,endTime:null},pageParams:{Page:1,PageSize:10,Total:0},tableData:[],timeSpan:[]});j(()=>{let s=k(new Date,"YYYY-mm-dd");e.timeSpan.push(s+" 00:00:00"),e.timeSpan.push(s+" 23:59:59"),p()});function p(){e.loading=!0,e.timeSpan&&e.timeSpan.length>1?(e.queryParams.startTime=e.timeSpan[0],e.queryParams.endTime=e.timeSpan[1]):(e.queryParams.startTime=null,e.queryParams.endTime=null),h(Object.assign({},e.queryParams,e.pageParams)).then(s=>{e.tableData=s.data.data,e.pageParams.Total=s.data.total}).finally(()=>e.loading=!1)}return(s,t)=>{const _=n("el-input"),i=n("el-form-item"),b=n("el-date-picker"),P=n("el-button"),f=n("el-form"),d=n("el-card"),l=n("el-table-column"),y=n("el-table"),S=n("el-pagination"),I=m("auth"),T=m("loading");return u((g(),z("div",q,[a(d,{class:"search-container"},{default:r(()=>[a(f,{inline:!0},{default:r(()=>[a(i,{label:"jobId"},{default:r(()=>[a(_,{modelValue:e.queryParams.jobId,"onUpdate:modelValue":t[0]||(t[0]=o=>e.queryParams.jobId=o),placeholder:"jobId",clearable:""},null,8,["modelValue"])]),_:1}),a(i,null,{default:r(()=>[a(b,{modelValue:e.timeSpan,"onUpdate:modelValue":t[1]||(t[1]=o=>e.timeSpan=o),type:"datetimerange","start-placeholder":"开始","end-placeholder":"结束","range-separator":"至",clearable:""},null,8,["modelValue"])]),_:1}),a(i,null,{default:r(()=>[u((g(),v(P,{onClick:p,icon:"Search"},{default:r(()=>t[4]||(t[4]=[c("查询")])),_:1})),[[I,"logJobIndex:page"]])]),_:1})]),_:1})]),_:1}),a(d,{class:"paged-table-container"},{default:r(()=>[a(y,{ref:"tableRef","row-key":"id",data:e.tableData,border:""},{default:r(()=>[a(l,{type:"index",width:"50"},{default:r(o=>[c(D(o.$index+1+(e.pageParams.Page-1)*e.pageParams.PageSize),1)]),_:1}),a(l,{prop:"id",label:"Id"}),a(l,{prop:"triggerId",label:"triggerId"}),a(l,{prop:"jobId",label:"jobId"}),a(l,{prop:"runTime",label:"执行时间"}),a(l,{prop:"status",label:"状态"}),a(l,{prop:"elapsed",label:"耗时"}),a(l,{prop:"retryCount",label:"重试次数"}),a(l,{prop:"remark",label:"备注"}),a(l,{prop:"createTime",label:"记录时间"})]),_:1},8,["data"]),a(S,{style:{"margin-top":"15px",float:"right"},currentPage:e.pageParams.Page,"onUpdate:currentPage":t[2]||(t[2]=o=>e.pageParams.Page=o),"page-size":e.pageParams.PageSize,"onUpdate:pageSize":t[3]||(t[3]=o=>e.pageParams.PageSize=o),total:e.pageParams.Total,background:"",layout:"total, sizes,prev, pager, next",onSizeChange:p,onCurrentChange:p,"page-sizes":[10,20,50,100]},null,8,["currentPage","page-size","total"])]),_:1})])),[[T,e.loading]])}}});export{J as default}; |
@ -0,0 +1 @@ |
|||
import{d as x}from"./logApi-Bj7_8BoJ.js";import{g as T,j as v,H as z,r as n,k as d,l as u,o as g,c as k,d as a,w as r,h as D,e as c,t as q}from"./index-CL0IOL6c.js";const V={class:"app-container"},N=Object.assign({name:"logLoginIndex"},{__name:"logLoginIndex",setup(C){const e=T({loading:!1,queryParams:{userName:"",startTime:null,endTime:null},pageParams:{Page:1,PageSize:10,Total:0},tableData:[],timeSpan:[]});v(()=>{let s=z(new Date,"YYYY-mm-dd");e.timeSpan.push(s+" 00:00:00"),e.timeSpan.push(s+" 23:59:59"),i()});function i(){e.loading=!0,e.timeSpan&&e.timeSpan.length>1?(e.queryParams.startTime=e.timeSpan[0],e.queryParams.endTime=e.timeSpan[1]):(e.queryParams.startTime=null,e.queryParams.endTime=null),x(Object.assign({},e.queryParams,e.pageParams)).then(s=>{e.tableData=s.data.data,e.pageParams.Total=s.data.total}).finally(()=>e.loading=!1)}return(s,t)=>{const _=n("el-input"),p=n("el-form-item"),P=n("el-date-picker"),b=n("el-button"),f=n("el-form"),m=n("el-card"),l=n("el-table-column"),S=n("el-table"),y=n("el-pagination"),h=d("auth"),w=d("loading");return u((g(),k("div",V,[a(m,{class:"search-container"},{default:r(()=>[a(f,{inline:!0},{default:r(()=>[a(p,{label:"职位名称"},{default:r(()=>[a(_,{modelValue:e.queryParams.userName,"onUpdate:modelValue":t[0]||(t[0]=o=>e.queryParams.userName=o),placeholder:"职位名称",clearable:""},null,8,["modelValue"])]),_:1}),a(p,null,{default:r(()=>[a(P,{modelValue:e.timeSpan,"onUpdate:modelValue":t[1]||(t[1]=o=>e.timeSpan=o),type:"datetimerange","start-placeholder":"开始","end-placeholder":"结束","range-separator":"至",clearable:""},null,8,["modelValue"])]),_:1}),a(p,null,{default:r(()=>[u((g(),D(b,{onClick:i,icon:"Search"},{default:r(()=>t[4]||(t[4]=[c("查询")])),_:1})),[[h,"logLoginIndex:page"]])]),_:1})]),_:1})]),_:1}),a(m,{class:"paged-table-container"},{default:r(()=>[a(S,{ref:"tableRef","row-key":"id",data:e.tableData,border:""},{default:r(()=>[a(l,{type:"index",width:"50"},{default:r(o=>[c(q(o.$index+1+(e.pageParams.Page-1)*e.pageParams.PageSize),1)]),_:1}),a(l,{prop:"id",label:"Id"}),a(l,{prop:"account",label:"账号"}),a(l,{prop:"ipAddress",label:"IP"}),a(l,{prop:"browser",label:"Browser"}),a(l,{prop:"os",label:"Os"}),a(l,{prop:"message",label:"消息",width:"210","show-overflow-tooltip":""}),a(l,{prop:"logStatusText",label:"状态",width:"120"}),a(l,{prop:"createTime",label:"记录时间"})]),_:1},8,["data"]),a(y,{style:{"margin-top":"15px",float:"right"},currentPage:e.pageParams.Page,"onUpdate:currentPage":t[2]||(t[2]=o=>e.pageParams.Page=o),"page-size":e.pageParams.PageSize,"onUpdate:pageSize":t[3]||(t[3]=o=>e.pageParams.PageSize=o),total:e.pageParams.Total,background:"",layout:"total, sizes,prev, pager, next",onSizeChange:i,onCurrentChange:i,"page-sizes":[10,20,50,100]},null,8,["currentPage","page-size","total"])]),_:1})])),[[w,e.loading]])}}});export{N as default}; |
@ -0,0 +1 @@ |
|||
import{e as S}from"./logApi-Bj7_8BoJ.js";import{g as x,j as N,H as V,r as n,k as u,l as c,o as g,c as v,d as a,w as r,h as T,e as _,t as U}from"./index-CL0IOL6c.js";const z={class:"app-container"},O=Object.assign({name:"logOperateIndex"},{__name:"logOperateIndex",setup(k){const e=x({loading:!1,queryParams:{requestUrl:"",controllerName:"",actionName:"",startTime:null,endTime:null},pageParams:{Page:1,PageSize:10,Total:0},tableData:[],timeSpan:[]});N(()=>{let i=V(new Date,"YYYY-mm-dd");e.timeSpan.push(i+" 00:00:00"),e.timeSpan.push(i+" 23:59:59"),s()});function s(){e.loading=!0,e.timeSpan&&e.timeSpan.length>1?(e.queryParams.startTime=e.timeSpan[0],e.queryParams.endTime=e.timeSpan[1]):(e.queryParams.startTime=null,e.queryParams.endTime=null),S(Object.assign({},e.queryParams,e.pageParams)).then(i=>{e.tableData=i.data.data,e.pageParams.Total=i.data.total}).finally(()=>e.loading=!1)}return(i,l)=>{const d=n("el-input"),p=n("el-form-item"),f=n("el-date-picker"),b=n("el-button"),P=n("el-form"),m=n("el-card"),t=n("el-table-column"),h=n("el-table"),w=n("el-pagination"),y=u("auth"),q=u("loading");return c((g(),v("div",z,[a(m,{class:"search-container"},{default:r(()=>[a(P,{inline:!0},{default:r(()=>[a(p,{label:"url"},{default:r(()=>[a(d,{modelValue:e.queryParams.requestUrl,"onUpdate:modelValue":l[0]||(l[0]=o=>e.queryParams.requestUrl=o),placeholder:"url",clearable:""},null,8,["modelValue"])]),_:1}),a(p,{label:"controller"},{default:r(()=>[a(d,{modelValue:e.queryParams.controllerName,"onUpdate:modelValue":l[1]||(l[1]=o=>e.queryParams.controllerName=o),placeholder:"controller",clearable:""},null,8,["modelValue"])]),_:1}),a(p,{label:"action"},{default:r(()=>[a(d,{modelValue:e.queryParams.actionName,"onUpdate:modelValue":l[2]||(l[2]=o=>e.queryParams.actionName=o),placeholder:"action",clearable:""},null,8,["modelValue"])]),_:1}),a(p,null,{default:r(()=>[a(f,{modelValue:e.timeSpan,"onUpdate:modelValue":l[3]||(l[3]=o=>e.timeSpan=o),type:"datetimerange","start-placeholder":"开始","end-placeholder":"结束","range-separator":"至",clearable:""},null,8,["modelValue"])]),_:1}),a(p,null,{default:r(()=>[c((g(),T(b,{onClick:s,icon:"Search"},{default:r(()=>l[6]||(l[6]=[_("查询")])),_:1})),[[y,"logOperateIndex:page"]])]),_:1})]),_:1})]),_:1}),a(m,{class:"paged-table-container"},{default:r(()=>[a(h,{ref:"tableRef","row-key":"id",data:e.tableData,border:""},{default:r(()=>[a(t,{type:"index",width:"50",fixed:"left"},{default:r(o=>[_(U(o.$index+1+(e.pageParams.Page-1)*e.pageParams.PageSize),1)]),_:1}),a(t,{prop:"id",label:"Id",width:"210",fixed:"left"}),a(t,{prop:"controllerName",label:"controller",width:"210",fixed:"left"}),a(t,{prop:"actionName",label:"action",width:"210",fixed:"left"}),a(t,{prop:"httpMethod",label:"方法",width:"100"}),a(t,{prop:"methodName",label:"methodName",width:"210"}),a(t,{prop:"requestUrl",label:"请求Url",width:"210","show-overflow-tooltip":""}),a(t,{prop:"requestParam",label:"请求参数",width:"210","show-overflow-tooltip":""}),a(t,{prop:"returnResult",label:"返回内容",width:"210","show-overflow-tooltip":""}),a(t,{prop:"elapsed",label:"耗时",width:"100"}),a(t,{prop:"message",label:"消息",width:"210","show-overflow-tooltip":""}),a(t,{prop:"browser",label:"browser",width:"210"}),a(t,{prop:"os",label:"os",width:"210"}),a(t,{prop:"ipAddress",label:"Ip",width:"210"}),a(t,{prop:"userName",label:"userName",width:"210"}),a(t,{prop:"createTime",label:"记录时间",width:"210"})]),_:1},8,["data"]),a(w,{style:{"margin-top":"15px",float:"right"},currentPage:e.pageParams.Page,"onUpdate:currentPage":l[4]||(l[4]=o=>e.pageParams.Page=o),"page-size":e.pageParams.PageSize,"onUpdate:pageSize":l[5]||(l[5]=o=>e.pageParams.PageSize=o),total:e.pageParams.Total,background:"",layout:"total, sizes,prev, pager, next",onSizeChange:s,onCurrentChange:s,"page-sizes":[10,20,50,100]},null,8,["currentPage","page-size","total"])]),_:1})])),[[q,e.loading]])}}});export{O as default}; |
@ -0,0 +1 @@ |
|||
import{m as t}from"./index-CL0IOL6c.js";function n(e){return t({url:"/api/menu/treeList",method:"post",data:e})}function r(e){return t({url:"/api/menu/elTreeList",method:"post",data:e})}function a(){return t({url:"/api/menu/maxSort",method:"get"})}function o(e){return t({url:"/api/menu/add",method:"post",data:e})}function i(e){return t({url:"/api/menu/update",method:"post",data:e})}function m(e){return t({url:"/api/menu/delete",method:"post",data:e})}function s(e){return t({url:"/api/menu/detail",method:"get",params:{id:e}})}export{s as a,a as b,o as c,m as d,r as e,n as g,i as u}; |
@ -0,0 +1 @@ |
|||
import{m as r}from"./index-CL0IOL6c.js";function o(t){return r({url:"/api/org/treeList",method:"post",data:t})}function a(t){return r({url:"/api/org/elTreeList",method:"post",data:t})}function u(){return r({url:"/api/org/maxSort",method:"get"})}function i(t){return r({url:"/api/org/delete",method:"post",data:t})}function n(t){return r({url:"/api/org/add",method:"post",data:t})}function s(t){return r({url:"/api/org/update",method:"post",data:t})}function g(t){return r({url:"/api/org/detail",method:"get",params:{id:t}})}export{a,g as b,u as c,n as d,i as e,o as g,s as u}; |
@ -0,0 +1 @@ |
|||
import{g as v}from"./orgApi-B9lfoxVb.js";import{n as g,u as y,i as p,j as k,J as M,r as _,o as x,h as B,K as S}from"./index-CL0IOL6c.js";const T={__name:"orgCascader",props:g({isMultiple:{type:Boolean,default:!1},checkStrictly:{type:Boolean,default:!1}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(i,{expose:f}){const a=y(i,"modelValue"),s=p([]),r=p(!0),u=i;k(()=>{r.value=!1,v({}).then(e=>{s.value=e.data,M(()=>{r.value=!0})})});async function m(e){if(await S(r),typeof e=="string"||e instanceof String)a.value=c(s.value,e);else{let l=[];e.forEach(t=>{l.push(c(s.value,t))}),a.value=l}}function c(e,l){let t=[];function n(h){for(let o of h){if(o.id===l)return[o.id];if(o.children&&o.children.length){const d=n(o.children);if(d)return[o.id,...d]}}return null}return t=n(e),t}return f({setDefaultValue:m}),(e,l)=>{const t=_("el-cascader");return x(),B(t,{modelValue:a.value,"onUpdate:modelValue":l[0]||(l[0]=n=>a.value=n),options:s.value,props:{checkStrictly:u.checkStrictly,label:"orgName",value:"id",multiple:u.isMultiple},clearable:""},null,8,["modelValue","options","props"])}}};export{T as default}; |
@ -0,0 +1 @@ |
|||
import{a as y}from"./orgApi-B9lfoxVb.js";import{i as l,j as _,r as m,o as C,h as k}from"./index-CL0IOL6c.js";const g={__name:"orgTree",props:{hasAllOption:{type:Boolean,default:!1}},setup(o,{expose:a}){const n=l([]),r=l(),s=o;_(()=>{y({}).then(e=>{s.hasAllOption?n.value=[{id:0,label:"全部",children:null,disabled:!1},...e.data]:n.value=e.data})});function u(e){var t;(t=r.value)==null||t.setCheckedKeys(e)}function c(){var e;return(e=r.value)==null?void 0:e.getCheckedKeys()}function i(){var e;return(e=r.value)==null?void 0:e.getCurrentKey()}function f(e){var t;(t=r.value)==null||t.setCurrentKey(e)}function d(e){var t;(t=r.value)==null||t.filter(e)}const p=(e,t)=>e?t.label.includes(e):!0;return a({setCheckedKeys:u,getCheckedKeys:c,getCurrentKey:i,setCurrentKey:f,filter:d}),(e,t)=>{const h=m("el-tree");return C(),k(h,{style:{width:"100%"},data:n.value,"node-key":"id",ref_key:"elTreeRef",ref:r,"filter-node-method":p},null,8,["data"])}}};export{g as default}; |
@ -0,0 +1 @@ |
|||
import{m as o}from"./index-CL0IOL6c.js";function e(t){return o({url:"/api/position/paged",method:"post",data:t})}function n(){return o({url:"/api/position/maxSort",method:"get"})}function s(t){return o({url:"/api/position/delete",method:"post",data:t})}function r(t){return o({url:"/api/position/add",method:"post",data:t})}function a(t){return o({url:"/api/position/update",method:"post",data:t})}function p(t){return o({url:"/api/position/detail",method:"get",params:{id:t}})}function u(){return o({url:"/api/position/selectList",method:"post"})}export{p as a,n as b,r as c,e as d,s as e,u as g,a as u}; |
Some files were not shown because too many files changed in this diff
Loading…
Reference in new issue