123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887 |
- @extends('admin/layout')
- @section('header')
- <link href="{{asset('css/plugins/chosen/chosen.css')}}" rel="stylesheet">
- <link href="{{asset('css/plugins/switchery/switchery.css')}}" rel="stylesheet">
- <style>
- .for_area {
- display: inline-block;
- width: 200px;
- }
- /* .upload_img {
- height: 150px;
- }*/
- .tabs-container .tab-content .lists {
- height: 0;
- overflow: hidden;
- }
- .tabs-container .tab-content .lists.active {
- height: auto;
- }
- .wrapper-content .col-sm-2.control-label {
- padding-top: 7px;
- }
- .search-choice span {
- color: grey !important;
- }
- .form-control:focus, .single-line:focus {
- border-color: #009688 !important;
- }
- .span {
- color: #009688 !important;
- }
- .tabs-left ul li.active {
- background: #009688 !important;
- }
- .btn-primary, .btn-info {
- background: #f3f3f3 !important;
- border-color: #e6e6e6 !important;
- color: #656565 !important;
- outline: none;
- }
- .btn-primary:hover, .btn-info:hover {
- background: #009688 !important;
- border-color: #009688 !important;
- color: #fff !important;
- }
- .tabs-left {
- position: fixed;
- width: 16.6666%;
- left: 0;
- top: 0;
- }
- .nav-tabs {
- border-color: #009688 !important;
- padding-bottom: 16px;
- position: relative;
- min-height: 57px;
- padding-left: 7%;
- overflow: hidden;
- }
- .nav-tabs:before {
- content: '';
- display: block;
- width: 20px;
- height: 1px;
- background: #009688;
- position: absolute;
- left: -20px;
- bottom: -1px;
- clear: both;
- }
- .nav-tabs:after {
- content: '';
- display: block;
- width: 20px;
- height: 1px;
- background: #009688;
- position: absolute;
- right: -20px;
- bottom: -1px;
- clear: both;
- }
- .nav-tabs > li > a {
- padding: 7px 6px;
- border: none !important;
- }
- .nav.nav-tabs li {
- border-top: 1px solid #c7c7c7;
- border-bottom: 1px solid #c7c7c7;
- margin: 0 24px 10px;
- position: relative;
- }
- .nav.nav-tabs li:before {
- content: '';
- width: 17px;
- height: 25px;
- border-left: 1px solid #c7c7c7;
- border-top: 1px solid #c7c7c7;
- position: absolute;
- left: -17px;
- top: -1px;
- z-index: 66;
- }
- .nav.nav-tabs li:after {
- content: '';
- width: 17px;
- height: 26px;
- border-right: 1px solid #c7c7c7;
- border-bottom: 1px solid #c7c7c7;
- position: absolute;
- right: -16px;
- bottom: -1px;
- z-index: 66;
- }
- .nav.nav-tabs li a {
- margin: 0 !important;
- color: #363636;
- }
- .nav.nav-tabs li a:before {
- content: '';
- display: block;
- width: 20px;
- height: 1px;
- background: #c7c7c7;
- -webkit-transform: rotate(30deg);
- -moz-transform: rotate(30deg);
- -ms-transform: rotate(30deg);
- -o-transform: rotate(30deg);
- transform: rotate(30deg);
- position: absolute;
- left: -18px;
- top: 28px;
- }
- .nav.nav-tabs li a:after {
- content: '';
- display: block;
- width: 20px;
- height: 1px;
- background: #c7c7c7;
- -webkit-transform: rotate(30deg);
- -moz-transform: rotate(30deg);
- -ms-transform: rotate(30deg);
- -o-transform: rotate(30deg);
- transform: rotate(30deg);
- position: absolute;
- right: -17px;
- bottom: 29px;
- }
- .nav.nav-tabs li.active {
- background: #009688 !important;
- border: none;
- }
- .nav.nav-tabs li.active:before, .nav.nav-tabs li.active:after {
- height: 34px;
- background: #009688 !important;
- border-color: #009688 !important;
- top: -1px;
- }
- .nav.nav-tabs li.active a {
- color: #fff !important;
- background: #009688 !important;
- }
- .nav.nav-tabs li.active a:before {
- width: 18px;
- height: 8px;
- border-color: none;
- background: #fff !important;
- left: -20px;
- top: 28px;
- z-index: 100;
- }
- .nav.nav-tabs li.active a:after {
- width: 18px;
- height: 8px;
- border-color: none;
- background: #fff !important;
- right: -20px;
- bottom: 28px;
- z-index: 100;
- }
- .red {
- color: #f99631 !important;
- }
- .o-h4 {
- padding-right: 77%;
- text-align: right;
- color: #009688 !important;
- }
- .radio-label,
- .radio-check {
- display: inline-block;
- position: relative;
- }
- .radio-label input[type="radio"] {
- appearance: none; /*清楚默认样式*/
- -webkit-appearance: none;
- /* opacity: 0; */
- outline: none;
- position: absolute;
- z-index: 2;
- width: 6px;
- height: 6px;
- top: 10px;
- left: 10px;
- border-radius: 50%;
- background: #b4b4b4;
- }
- .radio-label label {
- display: inline-block;
- min-width: 50px;
- height: 30px;
- line-height: 30px;
- text-align: center;
- padding-right: 10px;
- border-radius: 5px;
- padding-left: 25px;
- color: #fff;
- background-color: #c9c9c9;
- }
- .radio-label input[type="radio"]:checked {
- opacity: 0;
- }
- .radio-label input[type="radio"]:checked + label {
- color: #fff;
- background-color: #009688;
- }
- .radio-label input[type="radio"]:checked + label::after {
- content: "";
- position: absolute;
- left: 12px;
- top: 5px;
- width: 5px;
- height: 12px;
- border-right: 1px solid #fff;
- border-bottom: 1px solid #fff;
- transform: rotate(45deg);
- }
- .checkbox-label,
- .checkbox-check {
- display: inline-block;
- position: relative;
- }
- .checkbox-label input[type="checkbox"] {
- appearance: none; /*清楚默认样式*/
- -webkit-appearance: none;
- /* opacity: 0; */
- outline: none;
- position: absolute;
- z-index: 2;
- width: 6px;
- height: 6px;
- top: 10px;
- left: 10px;
- border-radius: 50%;
- background: #b4b4b4;
- }
- .checkbox-label label {
- display: inline-block;
- min-width: 50px;
- height: 30px;
- line-height: 30px;
- text-align: center;
- padding-right: 10px;
- border-radius: 5px;
- padding-left: 25px;
- color: #fff;
- background-color: #c9c9c9;
- }
- .checkbox-label input[type="checkbox"]:checked {
- opacity: 0;
- }
- .checkbox-label input[type="checkbox"]:checked + label {
- color: #fff;
- background-color: #009688;
- }
- .checkbox-label input[type="checkbox"]:checked + label::after {
- content: "";
- position: absolute;
- left: 12px;
- top: 5px;
- width: 5px;
- height: 12px;
- border-right: 1px solid #fff;
- border-bottom: 1px solid #fff;
- transform: rotate(45deg);
- }
- </style>
- @endsection
- @section('content')
- <body class="gray-bg">
- <div class="ibox-content">
- <div class="wrapper wrapper-content animated fadeInRight">
- <div class="tabs-container">
- <ul class="nav nav-tabs">
- <li class="active"><a data-toggle="tab" href="#tab-1" aria-expanded="true"> 基本信息</a></li>
- <li class=""><a data-toggle="tab" href="#tab-2" aria-expanded="false">详细信息</a>
- </li>
- <li class=""><a data-toggle="tab" href="#tab-21" aria-expanded="false">人员配置</a>
- </li>
- <li class=""><a data-toggle="tab" href="#tab-6" aria-expanded="false">时间节点与评分</a>
- </li>
- <li class=""><a data-toggle="tab" href="#tab-7" aria-expanded="false">服务器及配置</a>
- </li>
- </ul>
- <div class="tab-content">
- <div id="tab-1" class="lists active">
- <form class="form-horizontal" id="basic" style="padding-top: 20px">
- <div class="form-group">
- <label class="col-sm-2 control-label">项目编号:</label>
- <div class="col-sm-8" style="padding-top: 7px;">
- {{$data->identifier ?? ''}}
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label" for="old_id">项目原始Id:</label>
- <div class="col-sm-8">
- <input type="text" class="form-control" id="old_id" name="old_id"
- value="{{$data->old_id ?? ''}}">
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label" for="cn_title"><span
- class="red">* </span>项目名称(中文):</label>
- <div class="col-sm-8">
- <input type="text" class="form-control" id="cn_title" name="cn_title"
- value="{{$data->cn_title ?? ''}}">
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label" for="title"><span
- class="red">* </span>项目名称(英文):</label>
- <div class="col-sm-8">
- <input type="text" class="form-control" id="en_title" name="en_title"
- value="{{$data->en_title ?? ''}}">
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label" for="brand"><span
- class="red">* </span>项目品牌名:</label>
- <div class="col-sm-8">
- <input type="text" class="form-control" id="brand" name="brand"
- value="{{$data->brand ?? ''}}">
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label" for="password"><span
- class="red">* </span>域名:</label>
- <div class="col-sm-8">
- <input type="text" class="form-control" id="domain" name="domain"
- value="{{$data->domain??''}}">
- <span class="span" style="font-size: 12px;">如果有直接填写进去,如果无,请填写意向域名。请填写主域<span
- style="color: red">不要填写中文,不要包含www</span>,例:baidu.com</span>
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label" for="password"></label>
- <div class="col-sm-8"
- style="display: flex;justify-content: space-between;max-width: 500px">
- <div class="col-sm-12" style="margin: 0 -10px">
- <label>站点logo:</label>
- {{-- <button type="button" class="btn btn-primary" name="file_upload"
- >文件上传
- </button>--}}
- <input type="file" value="" style="display: none" name="uploadFile"
- data-for="logo_img">
- <input type="hidden" id="site_logo" name="site_logo"
- value="{{$data->site_logo??''}}">
- <img id="logo_img" class="upload_img" src="{{$data->site_logo??''}}"
- style="width: 100%;object-fit: cover;margin-top: 5px">
- </div>
- <div class="col-sm-12" style="margin: 0 -10px">
- <label>营业执照:</label>
- {{--<button type="button" class="btn btn-primary" name="file_upload"
- >文件上传
- </button>--}}
- <input type="file" value="" style="display: none" name="uploadFile"
- data-for="business_license_business_scope_img">
- <input type="hidden" id="business_license_business_scope"
- name="business_license_business_scope"
- value="{{$data->business_license_business_scope??''}}">
- <img id="business_license_business_scope_img" class="upload_img"
- src="{{$data->business_license_business_scope??''}}"
- style="width: 100%;object-fit: cover;margin-top: 5px">
- </div>
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label" for="site_type"><span
- class="red">* </span>项目类型:</label>
- <div class="col-sm-8">
- <select class="form-control" id="site_type" name="site_type" style="width:350px;">
- <option value="">请选择</option>
- <option value="1" @if(($data->site_type??'')==1) selected @endif>企业网站</option>
- <option value="2" @if(($data->site_type??'')==2) selected @endif>电商网站</option>
- <option value="3" @if(($data->site_type??'')==3) selected @endif>特殊项目</option>
- </select>
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label" for="nature_type"><span
- class="red">* </span>公司性质:</label>
- <div class="col-sm-8">
- <select class="form-control" style="width:350px;"
- id="nature_type" name="nature_type">
- <option value="">请选择公司性质</option>
- @foreach($natures as $nature)
- <option value="{{$nature['inx']}}"
- @if(($data->nature_type??null)==$nature['inx']) selected @endif>{{$nature['val']}}</option>
- @endforeach
- </select>
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label" for="business_id"><span
- class="red">* </span>所属行业:</label>
- <div class="col-sm-4">
- <select class="form-control"
- id="business_id" name="business_id" data-live-search="true"
- title="请选择行业" autocomplete="off">
- @foreach ($businesses as $business)
- <option value="{{$business->id}}"
- @if(($data->business_id??null)==$business->id) selected @endif>{{$business->title}}</option>
- @endforeach
- </select>
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label" for="core_product">核心产品:</label>
- <div class="col-sm-8">
- <input type="text" class="form-control" id="core_product" name="core_product"
- value="{{$data->core_product ?? ''}}">
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label"><span class="red">* </span>地区:</label>
- <div class="col-sm-8" data-toggle="distpicker" id="distpicker">
- <select class="form-control for_area" data-province="{{$data->area_text[0]??''}}"
- name="area_text"></select>
- <select class="form-control for_area" data-city="{{$data->area_text[1]??''}}"
- name="area_text"></select>
- <select class="form-control for_area" data-district="{{$data->area_text[2]??''}}"
- name="area_text"></select>
- </div>
- </div>
- <div class="form-group contacts">
- <label for="contact_ids" class="col-sm-2 control-label">客户联系人Ⅰ 姓名:</label>
- <div class="col-sm-8">
- <input type="text" class="form-control"
- style="width: 200px;display: inline-block"
- name="contact_name" value="{{$data->contacts[0]['name']??''}}">
- <label for="contact_ids" style="margin-left: 10px">客户联系人Ⅰ邮箱:</label>
- <input type="email" class="form-control" style="width: 200px;display: inline-block;"
- name="contact_email" value="{{$data->contacts[0]['email']??''}}">
- <label for="contact_ids" style="margin-left: 10px">手机:</label>
- <input type="text" class="form-control"
- style="width: 200px;display: inline-block;" name="contact_mobile"
- value="{{$data->contacts[0]['mobile']??''}}">
- <label style="margin-left: 10px">职位:</label>
- <input type="text" class="form-control"
- style="width: 200px;display: inline-block;" name="contact_position"
- value="{{$data->contacts[0]['position']??''}}">
- </div>
- </div>
- <div class="form-group contacts">
- <label for="contact_ids" class="col-sm-2 control-label">客户联系人Ⅱ 姓名:</label>
- <div class="col-sm-8">
- <input type="text" class="form-control"
- style="width: 200px;display: inline-block"
- name="contact_name" value="{{$data->contacts[1]['name']??''}}">
- <label for="contact_ids" style="margin-left: 10px">客户联系人Ⅱ邮箱:</label>
- <input type="email" class="form-control" style="width: 200px;display: inline-block;"
- name="contact_email" value="{{$data->contacts[1]['email']??''}}">
- <label for="contact_ids" style="margin-left: 10px">手机:</label>
- <input type="text" class="form-control"
- style="width: 200px;display: inline-block;" name="contact_mobile"
- value="{{$data->contacts[1]['mobile']??''}}">
- <label style="margin-left: 10px">职位:</label>
- <input type="text" class="form-control"
- style="width: 200px;display: inline-block;" name="contact_position"
- value="{{$data->contacts[1]['position']??''}}">
- </div>
- </div>
- <div class="form-group contacts">
- <label for="contact_ids" class="col-sm-2 control-label">客户联系人Ⅲ 姓名:</label>
- <div class="col-sm-8">
- <input type="text" class="form-control"
- style="width: 200px;display: inline-block"
- name="contact_name" value="{{$data->contacts[2]['name']??''}}">
- <label for="contact_ids" style="margin-left: 10px">客户联系人Ⅲ邮箱:</label>
- <input type="email" class="form-control" style="width: 200px;display: inline-block;"
- name="contact_email" value="{{$data->contacts[2]['email']??''}}">
- <label for="contact_ids" style="margin-left: 10px">手机:</label>
- <input type="text" class="form-control"
- style="width: 200px;display: inline-block;" name="contact_mobile"
- value="{{$data->contacts[2]['mobile']??''}}">
- <label style="margin-left: 10px">职位:</label>
- <input type="text" class="form-control"
- style="width: 200px;display: inline-block;" name="contact_position"
- value="{{$data->contacts[2]['position']??''}}">
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label" for="customer_demand_type"><span
- class="red">* </span>客户需求:</label>
- <div class="col-sm-8">
- <select class="form-control" id="customer_demand_type" name="customer_demand_type">
- <option value="">请选择</option>
- <option value="1" @if(($data->customer_demand_type??'')==1) selected @endif>客户询盘
- </option>
- <option value="2" @if(($data->customer_demand_type??'')==2) selected @endif>营销推广
- </option>
- <option value="3" @if(($data->customer_demand_type??'')==3) selected @endif>两者兼有
- </option>
- </select>
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label" for="sign_amount"><span
- class="red">* </span>签单价格:</label>
- <div class="col-sm-8">
- <input type="text" class="form-control" id="sign_amount" name="sign_amount"
- value="{{$data->sign_amount??''}}">
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label" for="pay_way"><span
- class="red">* </span>付款方式:</label>
- <div class="col-sm-8">
- <select class="form-control" id="pay_way" name="pay_way">
- <option value="">请选择</option>
- <option value="1" @if(($data->pay_way??'')==1) selected @endif>分期</option>
- <option value="2" @if(($data->pay_way??'')==2) selected @endif>全款</option>
- </select>
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label" for="remark">合同备注:</label>
- <div class="col-sm-8">
- <textarea class="form-control" id="remark"
- name="remark">{{$data->remark??''}}</textarea>
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label" for="contract_ids"><span
- class="red">* </span>服务项目:</label>
- <div class="col-sm-8 ">
- <select class="form-control" style="width:350px;"
- id="contract_ids" name="contract_ids" multiple size="6">
- <option value="">请选择合同版本</option>
- @foreach ($contracts as $item)
- <option value="{{$item->id}}"
- @if(in_array($item->id,$data->contract_ids??[])) selected @endif>{{$item->title}}</option>
- @endforeach
- </select>
- <span class="span" style="font-size: 12px">ctrl+鼠标点击/shift+鼠标点击 多选</span>
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label" for="keyword_goal"><span
- class="red">* </span>关键词达标数:</label>
- <div class="col-sm-8">
- <input type="text" class="form-control" id="keyword_goal" name="keyword_goal"
- value="{{$data->keyword_goal??''}}">
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label" for="link_goal"><span
- class="red">* </span>外链平台数:</label>
- <div class="col-sm-8">
- <input type="text" class="form-control" id="link_goal" name="link_goal"
- value="{{$data->link_goal??''}}">
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label" for="article_goal"><span
- class="red">* </span>软文达标数:</label>
- <div class="col-sm-8">
- <input type="text" class="form-control" id="article_goal" name="article_goal"
- value="{{$data->article_goal??''}}">
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label" for="other_demand">其他需求:</label>
- <div class="col-sm-8">
- <textarea class="form-control" id="other_demand"
- name="other_demand">{{$data->other_demand??''}}</textarea>
- </div>
- </div>
- </form>
- </div>
- <div id="tab-2" class="lists">
- {{--<div id="tab-2" class="ibox-content">--}}
- <form class="form-horizontal" id="detail" style="margin-top: 20px">
- <div class="form-group">
- <label class="col-sm-2 control-label" for="contract_total_fee">合同总金额:</label>
- <div class="col-sm-8">
- <input type="text" class="form-control" id="contract_total_fee"
- name="contract_total_fee"
- value="{{$payment->contract_total_fee??''}}" style="max-width: 350px">
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label" for="google_optimize_fee">谷歌优化费用:</label>
- <div class="col-sm-8">
- <input type="text" class="form-control" id="google_optimize_fee"
- name="google_optimize_fee"
- value="{{$payment->google_optimize_fee??''}}" style="max-width: 350px">
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label" for="refund">退款:</label>
- <div class="col-sm-8">
- <input type="text" class="form-control" id="refund"
- name="refund"
- value="{{$payment->refund??''}}" style="max-width: 350px">
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label" for="refund_reason">终止/退款原因:</label>
- <div class="col-sm-8">
- <input type="text" class="form-control" id="refund_reason"
- name="refund_reason"
- value="{{$payment->refund_reason??''}}" style="max-width: 350px">
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label" for="refund_reason_analyze">终止/退款原因分析:</label>
- <div class="col-sm-8">
- <select name="refund_reason_analyze" id="refund_reason_analyze" class="form-control"
- >
- <option value="0" @if($payment->refund_reason_analyze==0) selected @endif>请选择
- </option>
- <option value="1" @if($payment->refund_reason_analyze==1) selected @endif>建站期太长
- </option>
- <option value="2" @if($payment->refund_reason_analyze==2) selected @endif>客户原因
- </option>
- <option value="3" @if($payment->refund_reason_analyze==3) selected @endif>
- 客户原因/未启动
- </option>
- <option value="4" @if($payment->refund_reason_analyze==4) selected @endif>实施期中止
- </option>
- <option value="5" @if($payment->refund_reason_analyze==5) selected @endif>主动终止
- </option>
- </select>
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label" for="not_renewed_reason">未续费原因:</label>
- <div class="col-sm-8">
- <input type="text" class="form-control" id="not_renewed_reason"
- name="not_renewed_reason"
- value="{{$payment->not_renewed_reason}}" autocomplete="off">
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label" for="not_renewed_reason_analyze">未续费原因分析:</label>
- <div class="col-sm-8">
- <select name="not_renewed_reason_analyze" id="not_renewed_reason_analyze"
- class="form-control">
- <option value="0" @if($payment->not_renewed_reason_analyze==0) selected @endif>
- 请选择
- </option>
- <option value="1" @if($payment->not_renewed_reason_analyze==1) selected @endif>
- 效果不好
- </option>
- <option value="2" @if($payment->not_renewed_reason_analyze==2) selected @endif>
- 疫情影响
- </option>
- <option value="3" @if($payment->not_renewed_reason_analyze==3) selected @endif>
- 业务转型
- </option>
- <option value="4" @if($payment->not_renewed_reason_analyze==4) selected @endif>
- 价格高
- </option>
- <option value="5" @if($payment->not_renewed_reason_analyze==5) selected @endif>
- 服务器不在引擎力
- </option>
- </select>
- </div>
- </div>
- <div id="google_bid_chunk">
- <div class="form-group">
- <label class="col-sm-2 control-label">赠送竞价费用:</label>
- <div class="col-sm-8">
- <label>费用:</label>
- <input type="text" class="form-control"
- name="bid_give_fee" id="bid_give_fee"
- style="width: 150px;display: inline-block"
- value="{{$payment->bid_give_fee??''}}"
- onchange="units.computeGoogleBidTotalFee()">
- </div>
- </div>
- @php
- $google_bid=$payment->google_bid??[];
- $totalFee=0;
- foreach ($google_bid as $item){
- $totalFee+= intval(($item['google_bid_fee']??0));
- }
- @endphp
- <div class="form-group">
- <label class="col-sm-2 control-label">充值竞价费用:</label>
- <div class="col-sm-8">
- <label>费用:</label>
- <input type="text" class="form-control"
- name="google_bid_fee" style="width: 150px;display: inline-block"
- value="{{$google_bid[0]['google_bid_fee']??''}}"
- onchange="units.computeGoogleBidTotalFee()">
- <label style="margin-left: 15px">时间:</label>
- <input type="text" class="form-control"
- name="google_bid_time" style="width: 250px;display: inline-block"
- id="google_bid_time" value="{{$google_bid[0]['google_bid_time']??''}}">
- <button type="button" class="btn btn-info" onclick="units.addGoogleBid()">+
- </button>
- </div>
- </div>
- @foreach($google_bid as $key=>$item)
- @if($key>0)
- <div class="form-group">
- <label class="col-sm-2 control-label"></label>
- <div class="col-sm-8">
- <label>费用:</label>
- <input type="text" class="form-control"
- name="google_bid_fee" style="width: 150px;display: inline-block"
- value="{{$item['google_bid_fee']??''}}"
- >
- <label style="margin-left: 15px">时间:</label>
- <input type="text" class="form-control"
- name="google_bid_time" style="width: 250px;display: inline-block"
- value="{{$item['google_bid_time']??''}}"
- >
- <button type="button" class="btn btn-info"
- onclick="units.removeGoogleBid(this)">-
- </button>
- </div>
- </div>
- @endif
- @endforeach
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label">竞价总费用:</label>
- <div class="col-sm-8" style="padding-top: 7px">
- <label>(赠送竞价+充值竞价) 费用:</label>
- <label id="googleBidFeeTotal">{{$totalFee??0 + $payment->bid_give_fee??0}}</label>
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label">竞价客户评分:</label>
- <input type="number" class="form-control"
- name="bid_score" id="bid_score" style="width: 150px;display: inline-block"
- value="{{$payment->bid_score??''}}"
- >
- <label style="margin-left: 15px">时间:</label>
- <input type="text" class="form-control" id="bid_score_time"
- name="bid_score_time" style="width: 250px;display: inline-block"
- value="{{$payment['bid_score_time']??''}}"
- >
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label" for="bid_login_account"> 客户竞价登录账号:</label>
- <div class="col-sm-8">
- <input type="text" class="form-control" id="bid_login_account"
- name="bid_login_account"
- value="{{$payment->bid_login_account??''}}"
- >
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label">竞价账户:</label>
- <div class="col-sm-8">
- <label>上线日期:</label>
- <input type="text" class="form-control"
- name="bid_account_online_time" id="bid_account_online_time"
- style="width: 250px;display: inline-block"
- value="{{$payment->bid_account_online_time??''}}"
- >
- <label style="margin-left: 15px">暂停日期:</label>
- <input type="text" class="form-control"
- name="bid_account_pause_time" id="bid_account_pause_time"
- style="width: 250px;display: inline-block"
- value="{{$payment->bid_account_pause_time??''}}"
- >
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label" for="wiki_fee"> 维基百科费用:</label>
- <div class="col-sm-8">
- <input type="text" class="form-control" id="wiki_fee" name="wiki_fee"
- value="{{$payment->wiki_fee??''}}">
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label" for="other_fee"> 其他费用:</label>
- <div class="col-sm-8">
- <input type="text" class="form-control" id="other_fee" name="other_fee"
- value="{{$payment->other_fee??''}}">
- </div>
- </div>
- <div class="hr-line-dashed"></div>
- <div class="form-group">
- <label class="col-sm-2 control-label" for="head">首付:</label>
- <div class="col-sm-8">
- <input type="text" class="form-control" id="head" name="head"
- value="{{$payment->head??''}}">
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label" for="head_type">收款状态:</label>
- <div class="col-sm-8">
- <select class="form-control" id="head_type" name="head_type">
- <option value="0">请选择</option>
- <option value="1" @if(($payment->head_type??'')==1) selected @endif>未收</option>
- <option value="2" @if(($payment->head_type??'')==2) selected @endif>已收</option>
- </select>
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label" for="head_invoicing_type">开票状态:</label>
- <div class="col-sm-8">
- <select class="form-control" id="head_invoicing_type" name="head_invoicing_type">
- <option value="0">请选择</option>
- <option value="1" @if(($payment->head_invoicing_type??'')==1) selected @endif>
- 未开票
- </option>
- <option value="2" @if(($payment->head_invoicing_type??'')==2) selected @endif>
- 已开票
- </option>
- </select>
- </div>
- </div>
- <div class="hr-line-dashed"></div>
- <div class="form-group">
- <label class="col-sm-2 control-label" for="done">建站收款:</label>
- <div class="col-sm-8">
- <input type="text" class="form-control" id="done" name="done"
- value="{{$payment->done??''}}">
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label" for="done_type">收款状态:</label>
- <div class="col-sm-8">
- <select class="form-control" id="done_type" name="done_type">
- <option value="0">请选择</option>
- <option value="1" @if(($payment->done_type??'')==1) selected @endif>已收</option>
- <option value="2" @if(($payment->done_type??'')==2) selected @endif>未收</option>
- </select>
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label" for="done_invoicing_type">开票状态:</label>
- <div class="col-sm-8">
- <select class="form-control" id="done_invoicing_type" name="done_invoicing_type">
- <option value="0">请选择</option>
- <option value="1" @if(($payment->done_invoicing_type??'')==1) selected @endif>
- 未开票
- </option>
- <option value="2" @if(($payment->done_invoicing_type??'')==2) selected @endif>
- 已开票
- </option>
- </select>
- </div>
- </div>
- <div class="hr-line-dashed"></div>
- <div class="form-group">
- <label class="col-sm-2 control-label" for="reach">达标尾款:</label>
- <div class="col-sm-8">
- <input type="text" class="form-control" id="reach" name="reach"
- value="{{$payment->reach??''}}">
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label" for="reach_type">收款状态:</label>
- <div class="col-sm-8">
- <select class="form-control" id="reach_type" name="reach_type">
- <option value="0">请选择</option>
- <option value="1" @if(($payment->reach_type??'')==1) selected @endif>已收</option>
- <option value="2" @if(($payment->reach_type??'')==2) selected @endif>未收</option>
- </select>
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label" for="reach_invoicing_type">开票状态:</label>
- <div class="col-sm-8">
- <select class="form-control" id="reach_invoicing_type" name="reach_invoicing_type">
- <option value="0">请选择</option>
- <option value="1" @if(($payment->reach_invoicing_type??'')==1) selected @endif>
- 未开票
- </option>
- <option value="2" @if(($payment->reach_invoicing_type??'')==2) selected @endif>
- 已开票
- </option>
- </select>
- </div>
- </div>
- <div class="hr-line-dashed"></div>
- <div class="form-group">
- <label class="col-sm-2 control-label" for="service_final_payment">服务期尾款:</label>
- <div class="col-sm-8">
- <input type="text" class="form-control" id="service_final_payment"
- name="service_final_payment"
- value="{{$payment->service_final_payment??''}}">
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label" for="service_final_payment_type">收款状态:</label>
- <div class="col-sm-8">
- <select class="form-control" id="service_final_payment_type"
- name="service_final_payment_type">
- <option value="0">请选择</option>
- <option value="1"
- @if(($payment->service_final_payment_type??'')==1) selected @endif>已收
- </option>
- <option value="2"
- @if(($payment->service_final_payment_type??'')==2) selected @endif>未收
- </option>
- </select>
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label"
- for="service_final_payment_invoicing_type">开票状态:</label>
- <div class="col-sm-8">
- <select class="form-control" id="service_final_payment_invoicing_type"
- name="service_final_payment_invoicing_type">
- <option value="0">请选择</option>
- <option value="1"
- @if(($payment->service_final_payment_invoicing_type??'')==1) selected @endif>
- 未开票
- </option>
- <option value="2"
- @if(($payment->service_final_payment_invoicing_type??'')==2) selected @endif>
- 已开票
- </option>
- </select>
- </div>
- </div>
- <div class="hr-line-dashed"></div>
- <div class="form-group">
- <label class="col-sm-2 control-label" for="renewal">续费:</label>
- <div class="col-sm-8">
- <input type="text" class="form-control" id="renewal" name="renewal"
- value="{{$payment->renewal??''}}">
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label" for="renewal_type">收款状态:</label>
- <div class="col-sm-8">
- <select class="form-control" id="renewal_type" name="renewal_type">
- <option value="0">请选择</option>
- <option value="1" @if(($payment->renewal_type??'')==1) selected @endif>已收
- </option>
- <option value="2" @if(($payment->renewal_type??'')==2) selected @endif>未收
- </option>
- </select>
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label" for="renewal_invoicing_type">开票状态:</label>
- <div class="col-sm-8">
- <select class="form-control" id="renewal_invoicing_type"
- name="renewal_invoicing_type">
- <option value="0">请选择</option>
- <option value="1"
- @if(($payment->renewal_invoicing_type??'')==1) selected @endif>
- 未开票
- </option>
- <option value="2"
- @if(($payment->renewal_invoicing_type??'')==2) selected @endif>
- 已开票
- </option>
- </select>
- </div>
- </div>
- </form>
- </div>
- <div id="tab-21" class="lists">
- <form class="form-horizontal" id="people" style="margin-top: 20px;padding-bottom: 250px;">
- <div class="form-group">
- <label class="col-sm-2 control-label" for="manager_ids">项目总监:</label>
- <div class="col-sm-10">
- <select data-placeholder="选择项目总监..." multiple class="chosen-select"
- style="width:350px;"
- id="manager_ids" name="manager_ids">
- <option value="">请选择项目总监</option>
- @if(!empty($managers))
- @foreach ($managers as $item)
- <option value="{{$item->id}}"
- @if(in_array($item->id,$hasMangerIds)) selected
- @endif>{{$item->nickname}}</option>
- @endforeach
- @endif
- </select>
- </div>
- </div>
- <div class="hr-line-dashed"></div>
- <div class="form-group">
- <label class="col-sm-2 control-label" for="manage_helper_ids">项目经理:</label>
- <div class="col-sm-10">
- <select data-placeholder="选择项目经理..." multiple class="chosen-select"
- style="width:350px;"
- id="manage_helper_ids" name="manage_helper_ids">
- <option value="">请选择项目经理</option>
- @if(!empty($managerHelpers))
- @foreach ($managerHelpers as $item)
- <option value="{{$item->id}}"
- @if(in_array($item->id,$hasMangeHelpIds)) selected
- @endif>{{$item->nickname}}</option>
- @endforeach
- @endif
- </select>
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label" for="editor_ids">建站采编:</label>
- <div class="col-sm-10">
- <select data-placeholder="选择建站采编..." multiple class="chosen-select"
- style="width:350px;"
- id="editor_ids" name="editor_ids">
- <option value="">请选择建站采编</option>
- @foreach ($editors as $item)
- <option value="{{$item->id}}"
- @if(in_array($item->id,$hasEditorIds)) selected @endif>{{$item->nickname}}</option>
- @endforeach
- </select>
- </div>
- </div>
- <div class="hr-line-dashed"></div>
- <div class="form-group">
- <label class="col-sm-2 control-label" for="optimizer_ids">优化组长:</label>
- <div class="col-sm-10">
- <select data-placeholder="选择优化组长..." multiple class="chosen-select"
- style="width:350px;"
- id="optimizer_ids" name="optimizer_ids">
- <option value="">请选择优化组长</option>
- @if(!empty($optimizers))
- @foreach ($optimizers as $item)
- <option value="{{$item->id}}"
- @if(in_array($item->id,$hasOptimizerIds)) selected
- @endif >{{$item->nickname}}</option>
- @endforeach
- @endif
- </select>
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label" for="optimization_editing_ids">优化师/优化采编:</label>
- <div class="col-sm-10">
- <select data-placeholder="选择优化师/优化采编..." multiple class="chosen-select"
- style="width:350px;"
- id="optimization_editing_ids" name="optimization_editing_ids">
- <option value="">请选择优化师/优化采编</option>
- @if(!empty($optimizationEditing))
- @foreach ($optimizationEditing as $item)
- <option value="{{$item->id}}"
- @if(in_array($item->id,$hasOptimizationEditing)) selected
- @endif>{{$item->nickname}}</option>
- @endforeach
- @endif
- </select>
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label" for="bid_user_id">竞价人员:</label>
- <div class="col-sm-10">
- <select data-placeholder="选择竞价人员..." class="chosen-select"
- style="width:350px;z-index: 99999"
- id="bid_user_ids" name="bid_user_ids" multiple>
- <option value="">请选择竞价人员</option>
- @if(!empty($bidUsers))
- @foreach ($bidUsers as $item)
- <option value="{{$item->id}}"
- @if(in_array($item->id,$hasBidIds)) selected
- @endif>{{$item->nickname}}</option>
- @endforeach
- @endif
- </select>
- </div>
- </div>
- <div class="hr-line-dashed"></div>
- <div class="form-group">
- <label class="col-sm-2 control-label" for="article_edit_ids">软文查找人员:</label>
- <div class="col-sm-10">
- <select data-placeholder="请软文查找人员..." multiple class="chosen-select"
- style="width:350px;"
- id="article_edit_ids" name="article_edit_ids">
- <option value="">请选择软文查找人员</option>
- @if(!empty($propaganda))
- @foreach ($propaganda as $item)
- <option value="{{$item->id}}"
- @if(in_array($item->id,$hasPropagandaIds)) selected
- @endif>{{$item->nickname}}</option>
- @endforeach
- @endif
- </select>
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label" for="article_ids">软文更新人员:</label>
- <div class="col-sm-10">
- <select data-placeholder="选择软文更新人员..." multiple class="chosen-select"
- style="width:350px;"
- id="article_ids" name="article_ids">
- <option value="">请选择软文更新人员</option>
- @if(!empty($article))
- @foreach ($article as $item)
- <option value="{{$item->id}}"
- @if(in_array($item->id,$hasArticleIds)) selected
- @endif>{{$item->nickname}}</option>
- @endforeach
- @endif
- </select>
- </div>
- </div>
- <div class="hr-line-dashed"></div>
- <div class="form-group">
- <label class="col-sm-2 control-label" for="external_link_ids">社交外链人员:</label>
- <div class="col-sm-10">
- <select data-placeholder="选择社交外链人员..." multiple class="chosen-select"
- style="width:350px;"
- id="external_link_ids" name="external_link_ids">
- <option value="">请选择社交外链人员</option>
- @if(!empty($externalLink))
- @foreach ($externalLink as $item)
- <option value="{{$item->id}}"
- @if(in_array($item->id,$hasExternalLinkIds)) selected
- @endif>{{$item->nickname}}</option>
- @endforeach
- @endif
- </select>
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label" for="chongqing_link_ids">重庆外链人员:</label>
- <div class="col-sm-10">
- <select data-placeholder="选择重庆外链人员..." multiple class="chosen-select"
- style="width:350px;"
- id="chongqing_link_ids" name="chongqing_link_ids">
- <option value="">请选择重庆外链人员</option>
- @if(!empty($chongqingLink))
- @foreach ($chongqingLink as $item)
- <option value="{{$item->id}}"
- @if(in_array($item->id,$hasChongqingLinkIds)) selected
- @endif>{{$item->nickname}}</option>
- @endforeach
- @endif
- </select>
- </div>
- </div>
- <div class="hr-line-dashed"></div>
- <div class="form-group">
- <label class="col-sm-2 control-label" for="designer_ids">设计:</label>
- <div class="col-sm-10">
- <select data-placeholder="选择设计..." multiple class="chosen-select"
- style="width:350px;"
- id="designer_ids" name="designer_ids">
- <option value="">请选择设计</option>
- @if(!empty($designers))
- @foreach ($designers as $item)
- <option value="{{$item->id}}"
- @if(in_array($item->id,$hasDesignerIds)) selected
- @endif >{{$item->nickname}}</option>
- @endforeach
- @endif
- </select>
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label" for="web_ids">前端:</label>
- <div class="col-sm-10">
- <select data-placeholder="选择前端..." multiple class="chosen-select"
- style="width:350px;"
- id="web_ids" name="web_ids">
- <option value="">请选择前端</option>
- @if(!empty($webUsers))
- @foreach ($webUsers as $item)
- <option value="{{$item->id}}"
- @if(in_array($item->id,$hasWebIds)) selected
- @endif >{{$item->nickname}}</option>
- @endforeach
- @endif
- </select>
- </div>
- </div>
- <div class="hr-line-dashed"></div>
- <div class="form-group">
- <label class="col-sm-2 control-label" for="server_ids">客服:</label>
- <div class="col-sm-10">
- <select data-placeholder="选择客服人员..." multiple class="chosen-select"
- style="width:350px;"
- id="server_ids" name="server_ids">
- <option value="">请选择客服人员</option>
- @if(!empty($services))
- @foreach ($services as $item)
- <option value="{{$item->id}}"
- @if(in_array($item->id,$hasServerIds)) selected
- @endif>{{$item->nickname}}</option>
- @endforeach
- @endif
- </select>
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label" for="seller_ids">销售:</label>
- <div class="col-sm-10">
- <select data-placeholder="选择销售..." multiple class="chosen-select"
- style="width:350px"
- id="seller_ids" name="seller_ids">
- <option value="">请选择销售</option>
- @if(!empty($sellerUsers))
- @foreach ($sellerUsers as $item)
- <option value="{{$item->id}}"
- @if(in_array($item->id,$hasSellerIds)) selected
- @endif>{{$item->nickname}}</option>
- @endforeach
- @endif
- </select>
- </div>
- </div>
- </form>
- </div>
- <div id="tab-7" class="lists">
- <form class="form-horizontal" id="server" style="margin-top: 20px;padding-bottom: 250px;">
- <div class="form-group">
- <label class="col-sm-2 control-label" for="server_id">服务器所在地:</label>
- <div class="col-sm-8">
- <select name="server_id" id="server_id" class="form-control" disabled>
- <option value="">请选择ip所在地</option>
- @foreach($servers as $server)
- <option value="{{$server->server_id}}"
- @if($server->server_id==($data->server_id??null)) selected @endif>{{$server->server_ip}}</option>
- @endforeach
- </select>
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label" for="self_support">是否是引擎力服务器:</label>
- <div class="col-sm-8">
- <select name="self_support" id="self_support" class="form-control">
- <option value="0" @if($data->self_support==0) selected @endif>是</option>
- <option value="1" @if($data->self_support==1) selected @endif>否</option>
- </select>
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label" for="cname_host_record_value">CNAME主机记录:</label>
- <div class="col-sm-8">
- <input type="text" class="form-control" id="cname_host_record_value"
- name="cname_host_record_value"
- value="{{$data->cname_host_record_value??''}}"
- @if(in_array($data->status,[2,3])) disabled @endif>
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label" for="cname_record_value">CNAME记录值:</label>
- <div class="col-sm-8">
- <input type="text" class="form-control" id="cname_record_value"
- name="cname_record_value"
- value="{{$data->cname_record_value??''}}"
- @if(in_array($data->status,[2,3])) disabled @endif>
- </div>
- </div>
- </form>
- </div>
- <div id="tab-6" class="lists">
- <form class="form-horizontal" id="time" style="margin-top: 20px;padding-bottom: 250px;">
- <div class="form-group">
- <label class="col-sm-2 control-label" for="sign_at">合同签订时间:</label>
- <div class="col-sm-2">
- <div class="input-group m-b">
- <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
- <input type="text" class="form-control" id="sign_at" name="sign_at"
- value="{{$data->sign_at??''}}">
- </div>
- </div>
- <label class="col-sm-2 control-label" for="task_at"><span
- class="red">* </span>建站任务起始时间:<br>(首付款时间)</label>
- <div class="col-sm-4">
- <div class="input-group m-b">
- <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
- <input type="text" class="form-control" id="task_at" name="task_at" style="width: 200px"
- value="{{$data->task_at}}" autocomplete="off">
- @if(!empty($roles->is_super))
- <button class="btn btn-primary" type="button" data-id="{{$data->id??0}}"
- onclick="units.delSitesTaskFlow()">
- 清空建站流程
- </button>
- @endif
- </div>
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label" for="order_at"><span
- class="red">* </span>下单时间:<br>(分配到项目部门)</label>
- <div class="col-sm-2">
- <div class="input-group m-b">
- <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
- <input type="text" class="form-control" id="order_at" name="order_at"
- value="{{$data->order_at}}" autocomplete="off">
- </div>
- </div>
- <label class="col-sm-2 control-label" for="design_score">设计评分:</label>
- <div class="col-sm-2">
- <input type="text" class="form-control" id="design_score" name="design_score"
- value="{{$data->design_score}}" autocomplete="off">
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label" for="online_at">上线时间:</label>
- <div class="col-sm-2">
- <div class="input-group m-b">
- <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
- <input type="text" class="form-control" id="online_at" name="online_at"
- value="{{$data->online_at}}">
- </div>
- </div>
- <label class="col-sm-2 control-label" for="online_score">上线评分:</label>
- <div class="col-sm-2">
- <input type="text" class="form-control" id="online_score" name="online_score"
- value="{{$data->online_score}}" autocomplete="off">
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label" for="reach_at">达标时间:</label>
- <div class="col-sm-2">
- <div class="input-group m-b">
- <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
- <input type="text" class="form-control" id="reach_at" name="reach_at"
- value="{{$data->reach_at}}">
- </div>
- </div>
- <label class="col-sm-2 control-label" for="reach_mail_at">达标邮件确认时间:</label>
- <div class="col-sm-2">
- <div class="input-group m-b">
- <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
- <input type="text" class="form-control" id="reach_mail_at" name="reach_mail_at"
- value="{{$data->reach_mail_at}}">
- </div>
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label" for="expired_at">到期时间:</label>
- <div class="col-sm-2">
- <div class="input-group m-b">
- <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
- <input type="text" class="form-control" id="expired_at" name="expired_at"
- value="{{$data->expired_at}}">
- </div>
- </div>
- <label class="col-sm-2 control-label" for="reach_pay_at">达标款支付时间:</label>
- <div class="col-sm-2">
- <div class="input-group m-b">
- <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
- <input type="text" class="form-control" id="reach_pay_at" name="reach_pay_at"
- value="{{$data->reach_pay_at}}">
- </div>
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label" for="bq_at">百千约访时间:</label>
- <div class="col-sm-2">
- <div class="input-group m-b">
- <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
- <input type="text" class="form-control" id="bq_at" name="bq_at"
- value="{{$data->bq_at}}">
- </div>
- </div>
- <label class="col-sm-2 control-label" for="bq_score">百千客户评分:</label>
- <div class="col-sm-2">
- <input type="text" class="form-control" id="bq_score" name="bq_score"
- value="{{$data->bq_score}}" autocomplete="off">
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label" for="status">项目状态:</label>
- <div class="col-sm-2">
- <select name="status" id="status" class="form-control" style="width: 200px">
- <option value="">请选择</option>
- @foreach(\App\Http\Models\Site::STATUS_MAP as $inx=>$val)
- @if(!in_array($inx,[5,6]))
- <option value="{{$inx}}"
- @if($inx==($data->status)) selected @endif>{{$val}}</option>
- @endif
- @endforeach
- </select>
- </div>
- <label class="col-sm-2 control-label" for="on_score">达标评分:</label>
- <div class="col-sm-2">
- <input type="text" class="form-control" id="reach_score" name="reach_score"
- value="{{$data->reach_score}}" autocomplete="off">
- </div>
- </div>
- <div class="hr-line-dashed"></div>
- <div class="form-group">
- <label class="col-sm-2 control-label" for="renewal_times">续费次数:</label>
- <div class="col-sm-2">
- <div class="input-group m-b" style="margin-left: 10px">
- <select class="form-control" name="renewal_times" id="renewal_times"
- style="width: 200px;">
- <option value="">请选择</option>
- @for($rTimes=1;$rTimes<=5;$rTimes++)
- <option value="{{$rTimes}}"
- @if(($data->renewal_times??'')==$rTimes) selected @endif>{{$rTimes}}次
- </option>
- @endfor
- </select>
- </div>
- </div>
- <label class="col-sm-2 control-label" for="renewal_amount">续费金额:</label>
- <div class="col-sm-2">
- <div class="input-group m-b" style="margin-left: 10px">
- <input type="number" class="form-control" id="renewal_amount" name="renewal_amount"
- style="width: 200px"
- value="{{$data->renewal_amount??''}}">
- </div>
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label" for="renewal_at">续费时间:</label>
- <div class="col-sm-2">
- <div class="input-group m-b">
- <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
- <input type="text" class="form-control" id="renewal_at" name="renewal_at"
- value="{{$data->renewal_at}}">
- </div>
- </div>
- <label class="col-sm-2 control-label" for="renew_years">最近一次续费年限:</label>
- <div class="col-sm-2">
- <div class="input-group m-b" style="margin-left: 10px">
- <select class="form-control" name="renew_years" id="renew_years"
- style="width: 200px;">
- <option value="0">请选择</option>
- <option value="1"
- @if(!empty($data->renew_years) && $data->renew_years==1) selected @endif>1年
- </option>
- <option value="2"
- @if(!empty($data->renew_years) && $data->renew_years==2) selected @endif>2年
- </option>
- <option value="3"
- @if(!empty($data->renew_years) && $data->renew_years==3) selected @endif>3年
- </option>
- </select>
- </div>
- </div>
- </div>
- <div class="hr-line-dashed"></div>
- <div class="form-group">
- <label class="col-sm-2 control-label" for="refund_date">退款时间:</label>
- <div class="col-sm-2">
- <div class="input-group m-b">
- <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
- <input type="text" class="form-control" id="refund_date"
- name="refund_date"
- value="{{$data->refund_date}}">
- </div>
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label" for="domain_expired_date">域名到期时间:</label>
- <div class="col-sm-2">
- <div class="input-group m-b">
- <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
- <input type="text" class="form-control" id="domain_expired_date"
- name="domain_expired_date"
- value="{{$data->domain_expired_date}}">
- </div>
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label" for="cdn_expired_date">cdn到期时间:</label>
- <div class="col-sm-2">
- <div class="input-group m-b">
- <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
- <input type="text" class="form-control" id="cdn_expired_date"
- name="cdn_expired_date"
- value="{{$data->cdn_expired_date}}">
- </div>
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label" for="cert_expired_date">证书到期时间:</label>
- <div class="col-sm-2">
- <div class="input-group m-b">
- <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
- <input type="text" class="form-control" id="cert_expired_date"
- name="cert_expired_date"
- value="{{$data->cert_expired_date}}">
- </div>
- </div>
- </div>
- </form>
- </div>
- </div>
- </div>
- </div>
- </div>
- </body>
- @endsection
- @section('footer')
- <script src="{{asset('js/plugins/chosen/chosen.jquery.js')}}"></script>
- <script src="{{asset('js/plugins/layDate-v5.0.9/laydate/laydate.js')}}"></script>
- <script src="{{asset('js/plugins/switchery/switchery.js')}}"></script>
- <script src="{{asset('js/plugins/distpicker-master/dist/distpicker.js')}}"></script>
- <script>
- var laydateList = [];
- var jsSwitch = document.querySelector(".js-switch");
- new Switchery(jsSwitch, {color: "#1AB394", size: 'small'});
- $(".tabs-container .nav ul li").click(function () {
- var i = $(this).index();
- $(this).addClass("active").siblings().removeClass("active");
- $(".tabs-container .tab-content .lists").eq(i).addClass("active").siblings().removeClass("active");
- });
- $(function () {
- var needDateTime = ['#online_at', '#reach_at', '#expired_at', '#bid_account_online_time', '#bid_account_pause_time'];
- for (var item in needDateTime) {
- laydate.render({
- elem: needDateTime[item], //指定元素
- type: 'datetime'
- });
- }
- var needDate = ['#order_at', '#cert_expired_date', '#domain_expired_date'];
- for (var val in needDate) {
- laydate.render({
- elem: needDate[val], //指定元素
- type: 'date'
- });
- }
- var ele = $('[name="google_bid_time"]');
- var total = 0;
- ele.each(function () {
- total += 1;
- });
- ele.each(function (inx, item) {
- if ((total - 1) !== (inx)) {
- // console.log(total, ele.length);
- laydate.render({
- elem: $(this)[0],
- type: 'datetime'
- });
- }
- });
- laydate.render({
- elem: '#google_bid_time', //指定元素
- type: 'datetime'
- });
- });
- var config = {".chosen-select": {}};
- for (var selector in config) $(selector).chosen(config[selector]);
- </script>
- @endsection
|