master
cody 8 months ago
parent 1162b93fbd
commit 4ab4f4e22f

@ -18,6 +18,10 @@ class ProjectForm extends Form
$this->add("percent_first_party", Field::NUMBER, ["label" => "院方结算百分比"]);
$this->add("logo", Field::TEXT, ["label" => "logo", "attr" => ["data-plugin" => "uploader"]]);
$this->add("banners", Field::TEXT, ["label" => "banner", "attr" => ["data-plugin" => "uploader", "data-multiple-multiple" => 1]]);
// 派工电话
$this->add("range_mobile", Field::TEXT, ["label" => "派工电话"]);
// 投诉电话
$this->add("complaint_mobile", Field::TEXT, ["label" => "投诉电话"]);
$this->add("profile", Field::TEXTAREA, ["label" => "简介"]);
$this->add("auto_checkout_days", Field::NUMBER, [
"label" => "开启自动结单天数",

@ -0,0 +1,34 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class UpdateProjectAddMobile extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table("project", function (Blueprint $table) {
// 派工电话
$table->string("range_mobile")->nullable()->comment("派工电话");
// 投诉电话
$table->string("complaint_mobile")->nullable()->comment("投诉电话");
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
}
}
Loading…
Cancel
Save