customer_overview.blade.php 96 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887
  1. @extends('admin/layout')
  2. @section('header')
  3. <link href="{{asset('css/plugins/chosen/chosen.css')}}" rel="stylesheet">
  4. <link href="{{asset('css/plugins/switchery/switchery.css')}}" rel="stylesheet">
  5. <style>
  6. .for_area {
  7. display: inline-block;
  8. width: 200px;
  9. }
  10. /* .upload_img {
  11. height: 150px;
  12. }*/
  13. .tabs-container .tab-content .lists {
  14. height: 0;
  15. overflow: hidden;
  16. }
  17. .tabs-container .tab-content .lists.active {
  18. height: auto;
  19. }
  20. .wrapper-content .col-sm-2.control-label {
  21. padding-top: 7px;
  22. }
  23. .search-choice span {
  24. color: grey !important;
  25. }
  26. .form-control:focus, .single-line:focus {
  27. border-color: #009688 !important;
  28. }
  29. .span {
  30. color: #009688 !important;
  31. }
  32. .tabs-left ul li.active {
  33. background: #009688 !important;
  34. }
  35. .btn-primary, .btn-info {
  36. background: #f3f3f3 !important;
  37. border-color: #e6e6e6 !important;
  38. color: #656565 !important;
  39. outline: none;
  40. }
  41. .btn-primary:hover, .btn-info:hover {
  42. background: #009688 !important;
  43. border-color: #009688 !important;
  44. color: #fff !important;
  45. }
  46. .tabs-left {
  47. position: fixed;
  48. width: 16.6666%;
  49. left: 0;
  50. top: 0;
  51. }
  52. .nav-tabs {
  53. border-color: #009688 !important;
  54. padding-bottom: 16px;
  55. position: relative;
  56. min-height: 57px;
  57. padding-left: 7%;
  58. overflow: hidden;
  59. }
  60. .nav-tabs:before {
  61. content: '';
  62. display: block;
  63. width: 20px;
  64. height: 1px;
  65. background: #009688;
  66. position: absolute;
  67. left: -20px;
  68. bottom: -1px;
  69. clear: both;
  70. }
  71. .nav-tabs:after {
  72. content: '';
  73. display: block;
  74. width: 20px;
  75. height: 1px;
  76. background: #009688;
  77. position: absolute;
  78. right: -20px;
  79. bottom: -1px;
  80. clear: both;
  81. }
  82. .nav-tabs > li > a {
  83. padding: 7px 6px;
  84. border: none !important;
  85. }
  86. .nav.nav-tabs li {
  87. border-top: 1px solid #c7c7c7;
  88. border-bottom: 1px solid #c7c7c7;
  89. margin: 0 24px 10px;
  90. position: relative;
  91. }
  92. .nav.nav-tabs li:before {
  93. content: '';
  94. width: 17px;
  95. height: 25px;
  96. border-left: 1px solid #c7c7c7;
  97. border-top: 1px solid #c7c7c7;
  98. position: absolute;
  99. left: -17px;
  100. top: -1px;
  101. z-index: 66;
  102. }
  103. .nav.nav-tabs li:after {
  104. content: '';
  105. width: 17px;
  106. height: 26px;
  107. border-right: 1px solid #c7c7c7;
  108. border-bottom: 1px solid #c7c7c7;
  109. position: absolute;
  110. right: -16px;
  111. bottom: -1px;
  112. z-index: 66;
  113. }
  114. .nav.nav-tabs li a {
  115. margin: 0 !important;
  116. color: #363636;
  117. }
  118. .nav.nav-tabs li a:before {
  119. content: '';
  120. display: block;
  121. width: 20px;
  122. height: 1px;
  123. background: #c7c7c7;
  124. -webkit-transform: rotate(30deg);
  125. -moz-transform: rotate(30deg);
  126. -ms-transform: rotate(30deg);
  127. -o-transform: rotate(30deg);
  128. transform: rotate(30deg);
  129. position: absolute;
  130. left: -18px;
  131. top: 28px;
  132. }
  133. .nav.nav-tabs li a:after {
  134. content: '';
  135. display: block;
  136. width: 20px;
  137. height: 1px;
  138. background: #c7c7c7;
  139. -webkit-transform: rotate(30deg);
  140. -moz-transform: rotate(30deg);
  141. -ms-transform: rotate(30deg);
  142. -o-transform: rotate(30deg);
  143. transform: rotate(30deg);
  144. position: absolute;
  145. right: -17px;
  146. bottom: 29px;
  147. }
  148. .nav.nav-tabs li.active {
  149. background: #009688 !important;
  150. border: none;
  151. }
  152. .nav.nav-tabs li.active:before, .nav.nav-tabs li.active:after {
  153. height: 34px;
  154. background: #009688 !important;
  155. border-color: #009688 !important;
  156. top: -1px;
  157. }
  158. .nav.nav-tabs li.active a {
  159. color: #fff !important;
  160. background: #009688 !important;
  161. }
  162. .nav.nav-tabs li.active a:before {
  163. width: 18px;
  164. height: 8px;
  165. border-color: none;
  166. background: #fff !important;
  167. left: -20px;
  168. top: 28px;
  169. z-index: 100;
  170. }
  171. .nav.nav-tabs li.active a:after {
  172. width: 18px;
  173. height: 8px;
  174. border-color: none;
  175. background: #fff !important;
  176. right: -20px;
  177. bottom: 28px;
  178. z-index: 100;
  179. }
  180. .red {
  181. color: #f99631 !important;
  182. }
  183. .o-h4 {
  184. padding-right: 77%;
  185. text-align: right;
  186. color: #009688 !important;
  187. }
  188. .radio-label,
  189. .radio-check {
  190. display: inline-block;
  191. position: relative;
  192. }
  193. .radio-label input[type="radio"] {
  194. appearance: none; /*清楚默认样式*/
  195. -webkit-appearance: none;
  196. /* opacity: 0; */
  197. outline: none;
  198. position: absolute;
  199. z-index: 2;
  200. width: 6px;
  201. height: 6px;
  202. top: 10px;
  203. left: 10px;
  204. border-radius: 50%;
  205. background: #b4b4b4;
  206. }
  207. .radio-label label {
  208. display: inline-block;
  209. min-width: 50px;
  210. height: 30px;
  211. line-height: 30px;
  212. text-align: center;
  213. padding-right: 10px;
  214. border-radius: 5px;
  215. padding-left: 25px;
  216. color: #fff;
  217. background-color: #c9c9c9;
  218. }
  219. .radio-label input[type="radio"]:checked {
  220. opacity: 0;
  221. }
  222. .radio-label input[type="radio"]:checked + label {
  223. color: #fff;
  224. background-color: #009688;
  225. }
  226. .radio-label input[type="radio"]:checked + label::after {
  227. content: "";
  228. position: absolute;
  229. left: 12px;
  230. top: 5px;
  231. width: 5px;
  232. height: 12px;
  233. border-right: 1px solid #fff;
  234. border-bottom: 1px solid #fff;
  235. transform: rotate(45deg);
  236. }
  237. .checkbox-label,
  238. .checkbox-check {
  239. display: inline-block;
  240. position: relative;
  241. }
  242. .checkbox-label input[type="checkbox"] {
  243. appearance: none; /*清楚默认样式*/
  244. -webkit-appearance: none;
  245. /* opacity: 0; */
  246. outline: none;
  247. position: absolute;
  248. z-index: 2;
  249. width: 6px;
  250. height: 6px;
  251. top: 10px;
  252. left: 10px;
  253. border-radius: 50%;
  254. background: #b4b4b4;
  255. }
  256. .checkbox-label label {
  257. display: inline-block;
  258. min-width: 50px;
  259. height: 30px;
  260. line-height: 30px;
  261. text-align: center;
  262. padding-right: 10px;
  263. border-radius: 5px;
  264. padding-left: 25px;
  265. color: #fff;
  266. background-color: #c9c9c9;
  267. }
  268. .checkbox-label input[type="checkbox"]:checked {
  269. opacity: 0;
  270. }
  271. .checkbox-label input[type="checkbox"]:checked + label {
  272. color: #fff;
  273. background-color: #009688;
  274. }
  275. .checkbox-label input[type="checkbox"]:checked + label::after {
  276. content: "";
  277. position: absolute;
  278. left: 12px;
  279. top: 5px;
  280. width: 5px;
  281. height: 12px;
  282. border-right: 1px solid #fff;
  283. border-bottom: 1px solid #fff;
  284. transform: rotate(45deg);
  285. }
  286. </style>
  287. @endsection
  288. @section('content')
  289. <body class="gray-bg">
  290. <div class="ibox-content">
  291. <div class="wrapper wrapper-content animated fadeInRight">
  292. <div class="tabs-container">
  293. <ul class="nav nav-tabs">
  294. <li class="active"><a data-toggle="tab" href="#tab-1" aria-expanded="true"> 基本信息</a></li>
  295. <li class=""><a data-toggle="tab" href="#tab-2" aria-expanded="false">详细信息</a>
  296. </li>
  297. <li class=""><a data-toggle="tab" href="#tab-21" aria-expanded="false">人员配置</a>
  298. </li>
  299. <li class=""><a data-toggle="tab" href="#tab-6" aria-expanded="false">时间节点与评分</a>
  300. </li>
  301. <li class=""><a data-toggle="tab" href="#tab-7" aria-expanded="false">服务器及配置</a>
  302. </li>
  303. </ul>
  304. <div class="tab-content">
  305. <div id="tab-1" class="lists active">
  306. <form class="form-horizontal" id="basic" style="padding-top: 20px">
  307. <div class="form-group">
  308. <label class="col-sm-2 control-label">项目编号:</label>
  309. <div class="col-sm-8" style="padding-top: 7px;">
  310. {{$data->identifier ?? ''}}
  311. </div>
  312. </div>
  313. <div class="form-group">
  314. <label class="col-sm-2 control-label" for="old_id">项目原始Id:</label>
  315. <div class="col-sm-8">
  316. <input type="text" class="form-control" id="old_id" name="old_id"
  317. value="{{$data->old_id ?? ''}}">
  318. </div>
  319. </div>
  320. <div class="form-group">
  321. <label class="col-sm-2 control-label" for="cn_title"><span
  322. class="red">* </span>项目名称(中文):</label>
  323. <div class="col-sm-8">
  324. <input type="text" class="form-control" id="cn_title" name="cn_title"
  325. value="{{$data->cn_title ?? ''}}">
  326. </div>
  327. </div>
  328. <div class="form-group">
  329. <label class="col-sm-2 control-label" for="title"><span
  330. class="red">* </span>项目名称(英文):</label>
  331. <div class="col-sm-8">
  332. <input type="text" class="form-control" id="en_title" name="en_title"
  333. value="{{$data->en_title ?? ''}}">
  334. </div>
  335. </div>
  336. <div class="form-group">
  337. <label class="col-sm-2 control-label" for="brand"><span
  338. class="red">* </span>项目品牌名:</label>
  339. <div class="col-sm-8">
  340. <input type="text" class="form-control" id="brand" name="brand"
  341. value="{{$data->brand ?? ''}}">
  342. </div>
  343. </div>
  344. <div class="form-group">
  345. <label class="col-sm-2 control-label" for="password"><span
  346. class="red">* </span>域名:</label>
  347. <div class="col-sm-8">
  348. <input type="text" class="form-control" id="domain" name="domain"
  349. value="{{$data->domain??''}}">
  350. <span class="span" style="font-size: 12px;">如果有直接填写进去,如果无,请填写意向域名。请填写主域<span
  351. style="color: red">不要填写中文,不要包含www</span>,例:baidu.com</span>
  352. </div>
  353. </div>
  354. <div class="form-group">
  355. <label class="col-sm-2 control-label" for="password"></label>
  356. <div class="col-sm-8"
  357. style="display: flex;justify-content: space-between;max-width: 500px">
  358. <div class="col-sm-12" style="margin: 0 -10px">
  359. <label>站点logo:</label>
  360. {{-- <button type="button" class="btn btn-primary" name="file_upload"
  361. >文件上传
  362. </button>--}}
  363. <input type="file" value="" style="display: none" name="uploadFile"
  364. data-for="logo_img">
  365. <input type="hidden" id="site_logo" name="site_logo"
  366. value="{{$data->site_logo??''}}">
  367. <img id="logo_img" class="upload_img" src="{{$data->site_logo??''}}"
  368. style="width: 100%;object-fit: cover;margin-top: 5px">
  369. </div>
  370. <div class="col-sm-12" style="margin: 0 -10px">
  371. <label>营业执照:</label>
  372. {{--<button type="button" class="btn btn-primary" name="file_upload"
  373. >文件上传
  374. </button>--}}
  375. <input type="file" value="" style="display: none" name="uploadFile"
  376. data-for="business_license_business_scope_img">
  377. <input type="hidden" id="business_license_business_scope"
  378. name="business_license_business_scope"
  379. value="{{$data->business_license_business_scope??''}}">
  380. <img id="business_license_business_scope_img" class="upload_img"
  381. src="{{$data->business_license_business_scope??''}}"
  382. style="width: 100%;object-fit: cover;margin-top: 5px">
  383. </div>
  384. </div>
  385. </div>
  386. <div class="form-group">
  387. <label class="col-sm-2 control-label" for="site_type"><span
  388. class="red">* </span>项目类型:</label>
  389. <div class="col-sm-8">
  390. <select class="form-control" id="site_type" name="site_type" style="width:350px;">
  391. <option value="">请选择</option>
  392. <option value="1" @if(($data->site_type??'')==1) selected @endif>企业网站</option>
  393. <option value="2" @if(($data->site_type??'')==2) selected @endif>电商网站</option>
  394. <option value="3" @if(($data->site_type??'')==3) selected @endif>特殊项目</option>
  395. </select>
  396. </div>
  397. </div>
  398. <div class="form-group">
  399. <label class="col-sm-2 control-label" for="nature_type"><span
  400. class="red">* </span>公司性质:</label>
  401. <div class="col-sm-8">
  402. <select class="form-control" style="width:350px;"
  403. id="nature_type" name="nature_type">
  404. <option value="">请选择公司性质</option>
  405. @foreach($natures as $nature)
  406. <option value="{{$nature['inx']}}"
  407. @if(($data->nature_type??null)==$nature['inx']) selected @endif>{{$nature['val']}}</option>
  408. @endforeach
  409. </select>
  410. </div>
  411. </div>
  412. <div class="form-group">
  413. <label class="col-sm-2 control-label" for="business_id"><span
  414. class="red">* </span>所属行业:</label>
  415. <div class="col-sm-4">
  416. <select class="form-control"
  417. id="business_id" name="business_id" data-live-search="true"
  418. title="请选择行业" autocomplete="off">
  419. @foreach ($businesses as $business)
  420. <option value="{{$business->id}}"
  421. @if(($data->business_id??null)==$business->id) selected @endif>{{$business->title}}</option>
  422. @endforeach
  423. </select>
  424. </div>
  425. </div>
  426. <div class="form-group">
  427. <label class="col-sm-2 control-label" for="core_product">核心产品:</label>
  428. <div class="col-sm-8">
  429. <input type="text" class="form-control" id="core_product" name="core_product"
  430. value="{{$data->core_product ?? ''}}">
  431. </div>
  432. </div>
  433. <div class="form-group">
  434. <label class="col-sm-2 control-label"><span class="red">* </span>地区:</label>
  435. <div class="col-sm-8" data-toggle="distpicker" id="distpicker">
  436. <select class="form-control for_area" data-province="{{$data->area_text[0]??''}}"
  437. name="area_text"></select>
  438. <select class="form-control for_area" data-city="{{$data->area_text[1]??''}}"
  439. name="area_text"></select>
  440. <select class="form-control for_area" data-district="{{$data->area_text[2]??''}}"
  441. name="area_text"></select>
  442. </div>
  443. </div>
  444. <div class="form-group contacts">
  445. <label for="contact_ids" class="col-sm-2 control-label">客户联系人Ⅰ&nbsp;姓名:</label>
  446. <div class="col-sm-8">
  447. <input type="text" class="form-control"
  448. style="width: 200px;display: inline-block"
  449. name="contact_name" value="{{$data->contacts[0]['name']??''}}">
  450. <label for="contact_ids" style="margin-left: 10px">客户联系人Ⅰ邮箱:</label>
  451. <input type="email" class="form-control" style="width: 200px;display: inline-block;"
  452. name="contact_email" value="{{$data->contacts[0]['email']??''}}">
  453. <label for="contact_ids" style="margin-left: 10px">手机:</label>
  454. <input type="text" class="form-control"
  455. style="width: 200px;display: inline-block;" name="contact_mobile"
  456. value="{{$data->contacts[0]['mobile']??''}}">
  457. <label style="margin-left: 10px">职位:</label>
  458. <input type="text" class="form-control"
  459. style="width: 200px;display: inline-block;" name="contact_position"
  460. value="{{$data->contacts[0]['position']??''}}">
  461. </div>
  462. </div>
  463. <div class="form-group contacts">
  464. <label for="contact_ids" class="col-sm-2 control-label">客户联系人Ⅱ&nbsp;姓名:</label>
  465. <div class="col-sm-8">
  466. <input type="text" class="form-control"
  467. style="width: 200px;display: inline-block"
  468. name="contact_name" value="{{$data->contacts[1]['name']??''}}">
  469. <label for="contact_ids" style="margin-left: 10px">客户联系人Ⅱ邮箱:</label>
  470. <input type="email" class="form-control" style="width: 200px;display: inline-block;"
  471. name="contact_email" value="{{$data->contacts[1]['email']??''}}">
  472. <label for="contact_ids" style="margin-left: 10px">手机:</label>
  473. <input type="text" class="form-control"
  474. style="width: 200px;display: inline-block;" name="contact_mobile"
  475. value="{{$data->contacts[1]['mobile']??''}}">
  476. <label style="margin-left: 10px">职位:</label>
  477. <input type="text" class="form-control"
  478. style="width: 200px;display: inline-block;" name="contact_position"
  479. value="{{$data->contacts[1]['position']??''}}">
  480. </div>
  481. </div>
  482. <div class="form-group contacts">
  483. <label for="contact_ids" class="col-sm-2 control-label">客户联系人Ⅲ&nbsp;姓名:</label>
  484. <div class="col-sm-8">
  485. <input type="text" class="form-control"
  486. style="width: 200px;display: inline-block"
  487. name="contact_name" value="{{$data->contacts[2]['name']??''}}">
  488. <label for="contact_ids" style="margin-left: 10px">客户联系人Ⅲ邮箱:</label>
  489. <input type="email" class="form-control" style="width: 200px;display: inline-block;"
  490. name="contact_email" value="{{$data->contacts[2]['email']??''}}">
  491. <label for="contact_ids" style="margin-left: 10px">手机:</label>
  492. <input type="text" class="form-control"
  493. style="width: 200px;display: inline-block;" name="contact_mobile"
  494. value="{{$data->contacts[2]['mobile']??''}}">
  495. <label style="margin-left: 10px">职位:</label>
  496. <input type="text" class="form-control"
  497. style="width: 200px;display: inline-block;" name="contact_position"
  498. value="{{$data->contacts[2]['position']??''}}">
  499. </div>
  500. </div>
  501. <div class="form-group">
  502. <label class="col-sm-2 control-label" for="customer_demand_type"><span
  503. class="red">* </span>客户需求:</label>
  504. <div class="col-sm-8">
  505. <select class="form-control" id="customer_demand_type" name="customer_demand_type">
  506. <option value="">请选择</option>
  507. <option value="1" @if(($data->customer_demand_type??'')==1) selected @endif>客户询盘
  508. </option>
  509. <option value="2" @if(($data->customer_demand_type??'')==2) selected @endif>营销推广
  510. </option>
  511. <option value="3" @if(($data->customer_demand_type??'')==3) selected @endif>两者兼有
  512. </option>
  513. </select>
  514. </div>
  515. </div>
  516. <div class="form-group">
  517. <label class="col-sm-2 control-label" for="sign_amount"><span
  518. class="red">* </span>签单价格:</label>
  519. <div class="col-sm-8">
  520. <input type="text" class="form-control" id="sign_amount" name="sign_amount"
  521. value="{{$data->sign_amount??''}}">
  522. </div>
  523. </div>
  524. <div class="form-group">
  525. <label class="col-sm-2 control-label" for="pay_way"><span
  526. class="red">* </span>付款方式:</label>
  527. <div class="col-sm-8">
  528. <select class="form-control" id="pay_way" name="pay_way">
  529. <option value="">请选择</option>
  530. <option value="1" @if(($data->pay_way??'')==1) selected @endif>分期</option>
  531. <option value="2" @if(($data->pay_way??'')==2) selected @endif>全款</option>
  532. </select>
  533. </div>
  534. </div>
  535. <div class="form-group">
  536. <label class="col-sm-2 control-label" for="remark">合同备注:</label>
  537. <div class="col-sm-8">
  538. <textarea class="form-control" id="remark"
  539. name="remark">{{$data->remark??''}}</textarea>
  540. </div>
  541. </div>
  542. <div class="form-group">
  543. <label class="col-sm-2 control-label" for="contract_ids"><span
  544. class="red">* </span>服务项目:</label>
  545. <div class="col-sm-8 ">
  546. <select class="form-control" style="width:350px;"
  547. id="contract_ids" name="contract_ids" multiple size="6">
  548. <option value="">请选择合同版本</option>
  549. @foreach ($contracts as $item)
  550. <option value="{{$item->id}}"
  551. @if(in_array($item->id,$data->contract_ids??[])) selected @endif>{{$item->title}}</option>
  552. @endforeach
  553. </select>
  554. <span class="span" style="font-size: 12px">ctrl+鼠标点击/shift+鼠标点击 多选</span>
  555. </div>
  556. </div>
  557. <div class="form-group">
  558. <label class="col-sm-2 control-label" for="keyword_goal"><span
  559. class="red">* </span>关键词达标数:</label>
  560. <div class="col-sm-8">
  561. <input type="text" class="form-control" id="keyword_goal" name="keyword_goal"
  562. value="{{$data->keyword_goal??''}}">
  563. </div>
  564. </div>
  565. <div class="form-group">
  566. <label class="col-sm-2 control-label" for="link_goal"><span
  567. class="red">* </span>外链平台数:</label>
  568. <div class="col-sm-8">
  569. <input type="text" class="form-control" id="link_goal" name="link_goal"
  570. value="{{$data->link_goal??''}}">
  571. </div>
  572. </div>
  573. <div class="form-group">
  574. <label class="col-sm-2 control-label" for="article_goal"><span
  575. class="red">* </span>软文达标数:</label>
  576. <div class="col-sm-8">
  577. <input type="text" class="form-control" id="article_goal" name="article_goal"
  578. value="{{$data->article_goal??''}}">
  579. </div>
  580. </div>
  581. <div class="form-group">
  582. <label class="col-sm-2 control-label" for="other_demand">其他需求:</label>
  583. <div class="col-sm-8">
  584. <textarea class="form-control" id="other_demand"
  585. name="other_demand">{{$data->other_demand??''}}</textarea>
  586. </div>
  587. </div>
  588. </form>
  589. </div>
  590. <div id="tab-2" class="lists">
  591. {{--<div id="tab-2" class="ibox-content">--}}
  592. <form class="form-horizontal" id="detail" style="margin-top: 20px">
  593. <div class="form-group">
  594. <label class="col-sm-2 control-label" for="contract_total_fee">合同总金额:</label>
  595. <div class="col-sm-8">
  596. <input type="text" class="form-control" id="contract_total_fee"
  597. name="contract_total_fee"
  598. value="{{$payment->contract_total_fee??''}}" style="max-width: 350px">
  599. </div>
  600. </div>
  601. <div class="form-group">
  602. <label class="col-sm-2 control-label" for="google_optimize_fee">谷歌优化费用:</label>
  603. <div class="col-sm-8">
  604. <input type="text" class="form-control" id="google_optimize_fee"
  605. name="google_optimize_fee"
  606. value="{{$payment->google_optimize_fee??''}}" style="max-width: 350px">
  607. </div>
  608. </div>
  609. <div class="form-group">
  610. <label class="col-sm-2 control-label" for="refund">退款:</label>
  611. <div class="col-sm-8">
  612. <input type="text" class="form-control" id="refund"
  613. name="refund"
  614. value="{{$payment->refund??''}}" style="max-width: 350px">
  615. </div>
  616. </div>
  617. <div class="form-group">
  618. <label class="col-sm-2 control-label" for="refund_reason">终止/退款原因:</label>
  619. <div class="col-sm-8">
  620. <input type="text" class="form-control" id="refund_reason"
  621. name="refund_reason"
  622. value="{{$payment->refund_reason??''}}" style="max-width: 350px">
  623. </div>
  624. </div>
  625. <div class="form-group">
  626. <label class="col-sm-2 control-label" for="refund_reason_analyze">终止/退款原因分析:</label>
  627. <div class="col-sm-8">
  628. <select name="refund_reason_analyze" id="refund_reason_analyze" class="form-control"
  629. >
  630. <option value="0" @if($payment->refund_reason_analyze==0) selected @endif>请选择
  631. </option>
  632. <option value="1" @if($payment->refund_reason_analyze==1) selected @endif>建站期太长
  633. </option>
  634. <option value="2" @if($payment->refund_reason_analyze==2) selected @endif>客户原因
  635. </option>
  636. <option value="3" @if($payment->refund_reason_analyze==3) selected @endif>
  637. 客户原因/未启动
  638. </option>
  639. <option value="4" @if($payment->refund_reason_analyze==4) selected @endif>实施期中止
  640. </option>
  641. <option value="5" @if($payment->refund_reason_analyze==5) selected @endif>主动终止
  642. </option>
  643. </select>
  644. </div>
  645. </div>
  646. <div class="form-group">
  647. <label class="col-sm-2 control-label" for="not_renewed_reason">未续费原因:</label>
  648. <div class="col-sm-8">
  649. <input type="text" class="form-control" id="not_renewed_reason"
  650. name="not_renewed_reason"
  651. value="{{$payment->not_renewed_reason}}" autocomplete="off">
  652. </div>
  653. </div>
  654. <div class="form-group">
  655. <label class="col-sm-2 control-label" for="not_renewed_reason_analyze">未续费原因分析:</label>
  656. <div class="col-sm-8">
  657. <select name="not_renewed_reason_analyze" id="not_renewed_reason_analyze"
  658. class="form-control">
  659. <option value="0" @if($payment->not_renewed_reason_analyze==0) selected @endif>
  660. 请选择
  661. </option>
  662. <option value="1" @if($payment->not_renewed_reason_analyze==1) selected @endif>
  663. 效果不好
  664. </option>
  665. <option value="2" @if($payment->not_renewed_reason_analyze==2) selected @endif>
  666. 疫情影响
  667. </option>
  668. <option value="3" @if($payment->not_renewed_reason_analyze==3) selected @endif>
  669. 业务转型
  670. </option>
  671. <option value="4" @if($payment->not_renewed_reason_analyze==4) selected @endif>
  672. 价格高
  673. </option>
  674. <option value="5" @if($payment->not_renewed_reason_analyze==5) selected @endif>
  675. 服务器不在引擎力
  676. </option>
  677. </select>
  678. </div>
  679. </div>
  680. <div id="google_bid_chunk">
  681. <div class="form-group">
  682. <label class="col-sm-2 control-label">赠送竞价费用:</label>
  683. <div class="col-sm-8">
  684. <label>费用:</label>
  685. <input type="text" class="form-control"
  686. name="bid_give_fee" id="bid_give_fee"
  687. style="width: 150px;display: inline-block"
  688. value="{{$payment->bid_give_fee??''}}"
  689. onchange="units.computeGoogleBidTotalFee()">
  690. </div>
  691. </div>
  692. @php
  693. $google_bid=$payment->google_bid??[];
  694. $totalFee=0;
  695. foreach ($google_bid as $item){
  696. $totalFee+= intval(($item['google_bid_fee']??0));
  697. }
  698. @endphp
  699. <div class="form-group">
  700. <label class="col-sm-2 control-label">充值竞价费用:</label>
  701. <div class="col-sm-8">
  702. <label>费用:</label>
  703. <input type="text" class="form-control"
  704. name="google_bid_fee" style="width: 150px;display: inline-block"
  705. value="{{$google_bid[0]['google_bid_fee']??''}}"
  706. onchange="units.computeGoogleBidTotalFee()">
  707. <label style="margin-left: 15px">时间:</label>
  708. <input type="text" class="form-control"
  709. name="google_bid_time" style="width: 250px;display: inline-block"
  710. id="google_bid_time" value="{{$google_bid[0]['google_bid_time']??''}}">
  711. <button type="button" class="btn btn-info" onclick="units.addGoogleBid()">+
  712. </button>
  713. </div>
  714. </div>
  715. @foreach($google_bid as $key=>$item)
  716. @if($key>0)
  717. <div class="form-group">
  718. <label class="col-sm-2 control-label"></label>
  719. <div class="col-sm-8">
  720. <label>费用:</label>
  721. <input type="text" class="form-control"
  722. name="google_bid_fee" style="width: 150px;display: inline-block"
  723. value="{{$item['google_bid_fee']??''}}"
  724. >
  725. <label style="margin-left: 15px">时间:</label>
  726. <input type="text" class="form-control"
  727. name="google_bid_time" style="width: 250px;display: inline-block"
  728. value="{{$item['google_bid_time']??''}}"
  729. >
  730. <button type="button" class="btn btn-info"
  731. onclick="units.removeGoogleBid(this)">-
  732. </button>
  733. </div>
  734. </div>
  735. @endif
  736. @endforeach
  737. </div>
  738. <div class="form-group">
  739. <label class="col-sm-2 control-label">竞价总费用:</label>
  740. <div class="col-sm-8" style="padding-top: 7px">
  741. <label>(赠送竞价+充值竞价) 费用:</label>
  742. <label id="googleBidFeeTotal">{{$totalFee??0 + $payment->bid_give_fee??0}}</label>
  743. </div>
  744. </div>
  745. <div class="form-group">
  746. <label class="col-sm-2 control-label">竞价客户评分:</label>
  747. <input type="number" class="form-control"
  748. name="bid_score" id="bid_score" style="width: 150px;display: inline-block"
  749. value="{{$payment->bid_score??''}}"
  750. >
  751. <label style="margin-left: 15px">时间:</label>
  752. <input type="text" class="form-control" id="bid_score_time"
  753. name="bid_score_time" style="width: 250px;display: inline-block"
  754. value="{{$payment['bid_score_time']??''}}"
  755. >
  756. </div>
  757. <div class="form-group">
  758. <label class="col-sm-2 control-label" for="bid_login_account"> 客户竞价登录账号:</label>
  759. <div class="col-sm-8">
  760. <input type="text" class="form-control" id="bid_login_account"
  761. name="bid_login_account"
  762. value="{{$payment->bid_login_account??''}}"
  763. >
  764. </div>
  765. </div>
  766. <div class="form-group">
  767. <label class="col-sm-2 control-label">竞价账户:</label>
  768. <div class="col-sm-8">
  769. <label>上线日期:</label>
  770. <input type="text" class="form-control"
  771. name="bid_account_online_time" id="bid_account_online_time"
  772. style="width: 250px;display: inline-block"
  773. value="{{$payment->bid_account_online_time??''}}"
  774. >
  775. <label style="margin-left: 15px">暂停日期:</label>
  776. <input type="text" class="form-control"
  777. name="bid_account_pause_time" id="bid_account_pause_time"
  778. style="width: 250px;display: inline-block"
  779. value="{{$payment->bid_account_pause_time??''}}"
  780. >
  781. </div>
  782. </div>
  783. <div class="form-group">
  784. <label class="col-sm-2 control-label" for="wiki_fee"> 维基百科费用:</label>
  785. <div class="col-sm-8">
  786. <input type="text" class="form-control" id="wiki_fee" name="wiki_fee"
  787. value="{{$payment->wiki_fee??''}}">
  788. </div>
  789. </div>
  790. <div class="form-group">
  791. <label class="col-sm-2 control-label" for="other_fee"> 其他费用:</label>
  792. <div class="col-sm-8">
  793. <input type="text" class="form-control" id="other_fee" name="other_fee"
  794. value="{{$payment->other_fee??''}}">
  795. </div>
  796. </div>
  797. <div class="hr-line-dashed"></div>
  798. <div class="form-group">
  799. <label class="col-sm-2 control-label" for="head">首付:</label>
  800. <div class="col-sm-8">
  801. <input type="text" class="form-control" id="head" name="head"
  802. value="{{$payment->head??''}}">
  803. </div>
  804. </div>
  805. <div class="form-group">
  806. <label class="col-sm-2 control-label" for="head_type">收款状态:</label>
  807. <div class="col-sm-8">
  808. <select class="form-control" id="head_type" name="head_type">
  809. <option value="0">请选择</option>
  810. <option value="1" @if(($payment->head_type??'')==1) selected @endif>未收</option>
  811. <option value="2" @if(($payment->head_type??'')==2) selected @endif>已收</option>
  812. </select>
  813. </div>
  814. </div>
  815. <div class="form-group">
  816. <label class="col-sm-2 control-label" for="head_invoicing_type">开票状态:</label>
  817. <div class="col-sm-8">
  818. <select class="form-control" id="head_invoicing_type" name="head_invoicing_type">
  819. <option value="0">请选择</option>
  820. <option value="1" @if(($payment->head_invoicing_type??'')==1) selected @endif>
  821. 未开票
  822. </option>
  823. <option value="2" @if(($payment->head_invoicing_type??'')==2) selected @endif>
  824. 已开票
  825. </option>
  826. </select>
  827. </div>
  828. </div>
  829. <div class="hr-line-dashed"></div>
  830. <div class="form-group">
  831. <label class="col-sm-2 control-label" for="done">建站收款:</label>
  832. <div class="col-sm-8">
  833. <input type="text" class="form-control" id="done" name="done"
  834. value="{{$payment->done??''}}">
  835. </div>
  836. </div>
  837. <div class="form-group">
  838. <label class="col-sm-2 control-label" for="done_type">收款状态:</label>
  839. <div class="col-sm-8">
  840. <select class="form-control" id="done_type" name="done_type">
  841. <option value="0">请选择</option>
  842. <option value="1" @if(($payment->done_type??'')==1) selected @endif>已收</option>
  843. <option value="2" @if(($payment->done_type??'')==2) selected @endif>未收</option>
  844. </select>
  845. </div>
  846. </div>
  847. <div class="form-group">
  848. <label class="col-sm-2 control-label" for="done_invoicing_type">开票状态:</label>
  849. <div class="col-sm-8">
  850. <select class="form-control" id="done_invoicing_type" name="done_invoicing_type">
  851. <option value="0">请选择</option>
  852. <option value="1" @if(($payment->done_invoicing_type??'')==1) selected @endif>
  853. 未开票
  854. </option>
  855. <option value="2" @if(($payment->done_invoicing_type??'')==2) selected @endif>
  856. 已开票
  857. </option>
  858. </select>
  859. </div>
  860. </div>
  861. <div class="hr-line-dashed"></div>
  862. <div class="form-group">
  863. <label class="col-sm-2 control-label" for="reach">达标尾款:</label>
  864. <div class="col-sm-8">
  865. <input type="text" class="form-control" id="reach" name="reach"
  866. value="{{$payment->reach??''}}">
  867. </div>
  868. </div>
  869. <div class="form-group">
  870. <label class="col-sm-2 control-label" for="reach_type">收款状态:</label>
  871. <div class="col-sm-8">
  872. <select class="form-control" id="reach_type" name="reach_type">
  873. <option value="0">请选择</option>
  874. <option value="1" @if(($payment->reach_type??'')==1) selected @endif>已收</option>
  875. <option value="2" @if(($payment->reach_type??'')==2) selected @endif>未收</option>
  876. </select>
  877. </div>
  878. </div>
  879. <div class="form-group">
  880. <label class="col-sm-2 control-label" for="reach_invoicing_type">开票状态:</label>
  881. <div class="col-sm-8">
  882. <select class="form-control" id="reach_invoicing_type" name="reach_invoicing_type">
  883. <option value="0">请选择</option>
  884. <option value="1" @if(($payment->reach_invoicing_type??'')==1) selected @endif>
  885. 未开票
  886. </option>
  887. <option value="2" @if(($payment->reach_invoicing_type??'')==2) selected @endif>
  888. 已开票
  889. </option>
  890. </select>
  891. </div>
  892. </div>
  893. <div class="hr-line-dashed"></div>
  894. <div class="form-group">
  895. <label class="col-sm-2 control-label" for="service_final_payment">服务期尾款:</label>
  896. <div class="col-sm-8">
  897. <input type="text" class="form-control" id="service_final_payment"
  898. name="service_final_payment"
  899. value="{{$payment->service_final_payment??''}}">
  900. </div>
  901. </div>
  902. <div class="form-group">
  903. <label class="col-sm-2 control-label" for="service_final_payment_type">收款状态:</label>
  904. <div class="col-sm-8">
  905. <select class="form-control" id="service_final_payment_type"
  906. name="service_final_payment_type">
  907. <option value="0">请选择</option>
  908. <option value="1"
  909. @if(($payment->service_final_payment_type??'')==1) selected @endif>已收
  910. </option>
  911. <option value="2"
  912. @if(($payment->service_final_payment_type??'')==2) selected @endif>未收
  913. </option>
  914. </select>
  915. </div>
  916. </div>
  917. <div class="form-group">
  918. <label class="col-sm-2 control-label"
  919. for="service_final_payment_invoicing_type">开票状态:</label>
  920. <div class="col-sm-8">
  921. <select class="form-control" id="service_final_payment_invoicing_type"
  922. name="service_final_payment_invoicing_type">
  923. <option value="0">请选择</option>
  924. <option value="1"
  925. @if(($payment->service_final_payment_invoicing_type??'')==1) selected @endif>
  926. 未开票
  927. </option>
  928. <option value="2"
  929. @if(($payment->service_final_payment_invoicing_type??'')==2) selected @endif>
  930. 已开票
  931. </option>
  932. </select>
  933. </div>
  934. </div>
  935. <div class="hr-line-dashed"></div>
  936. <div class="form-group">
  937. <label class="col-sm-2 control-label" for="renewal">续费:</label>
  938. <div class="col-sm-8">
  939. <input type="text" class="form-control" id="renewal" name="renewal"
  940. value="{{$payment->renewal??''}}">
  941. </div>
  942. </div>
  943. <div class="form-group">
  944. <label class="col-sm-2 control-label" for="renewal_type">收款状态:</label>
  945. <div class="col-sm-8">
  946. <select class="form-control" id="renewal_type" name="renewal_type">
  947. <option value="0">请选择</option>
  948. <option value="1" @if(($payment->renewal_type??'')==1) selected @endif>已收
  949. </option>
  950. <option value="2" @if(($payment->renewal_type??'')==2) selected @endif>未收
  951. </option>
  952. </select>
  953. </div>
  954. </div>
  955. <div class="form-group">
  956. <label class="col-sm-2 control-label" for="renewal_invoicing_type">开票状态:</label>
  957. <div class="col-sm-8">
  958. <select class="form-control" id="renewal_invoicing_type"
  959. name="renewal_invoicing_type">
  960. <option value="0">请选择</option>
  961. <option value="1"
  962. @if(($payment->renewal_invoicing_type??'')==1) selected @endif>
  963. 未开票
  964. </option>
  965. <option value="2"
  966. @if(($payment->renewal_invoicing_type??'')==2) selected @endif>
  967. 已开票
  968. </option>
  969. </select>
  970. </div>
  971. </div>
  972. </form>
  973. </div>
  974. <div id="tab-21" class="lists">
  975. <form class="form-horizontal" id="people" style="margin-top: 20px;padding-bottom: 250px;">
  976. <div class="form-group">
  977. <label class="col-sm-2 control-label" for="manager_ids">项目总监:</label>
  978. <div class="col-sm-10">
  979. <select data-placeholder="选择项目总监..." multiple class="chosen-select"
  980. style="width:350px;"
  981. id="manager_ids" name="manager_ids">
  982. <option value="">请选择项目总监</option>
  983. @if(!empty($managers))
  984. @foreach ($managers as $item)
  985. <option value="{{$item->id}}"
  986. @if(in_array($item->id,$hasMangerIds)) selected
  987. @endif>{{$item->nickname}}</option>
  988. @endforeach
  989. @endif
  990. </select>
  991. </div>
  992. </div>
  993. <div class="hr-line-dashed"></div>
  994. <div class="form-group">
  995. <label class="col-sm-2 control-label" for="manage_helper_ids">项目经理:</label>
  996. <div class="col-sm-10">
  997. <select data-placeholder="选择项目经理..." multiple class="chosen-select"
  998. style="width:350px;"
  999. id="manage_helper_ids" name="manage_helper_ids">
  1000. <option value="">请选择项目经理</option>
  1001. @if(!empty($managerHelpers))
  1002. @foreach ($managerHelpers as $item)
  1003. <option value="{{$item->id}}"
  1004. @if(in_array($item->id,$hasMangeHelpIds)) selected
  1005. @endif>{{$item->nickname}}</option>
  1006. @endforeach
  1007. @endif
  1008. </select>
  1009. </div>
  1010. </div>
  1011. <div class="form-group">
  1012. <label class="col-sm-2 control-label" for="editor_ids">建站采编:</label>
  1013. <div class="col-sm-10">
  1014. <select data-placeholder="选择建站采编..." multiple class="chosen-select"
  1015. style="width:350px;"
  1016. id="editor_ids" name="editor_ids">
  1017. <option value="">请选择建站采编</option>
  1018. @foreach ($editors as $item)
  1019. <option value="{{$item->id}}"
  1020. @if(in_array($item->id,$hasEditorIds)) selected @endif>{{$item->nickname}}</option>
  1021. @endforeach
  1022. </select>
  1023. </div>
  1024. </div>
  1025. <div class="hr-line-dashed"></div>
  1026. <div class="form-group">
  1027. <label class="col-sm-2 control-label" for="optimizer_ids">优化组长:</label>
  1028. <div class="col-sm-10">
  1029. <select data-placeholder="选择优化组长..." multiple class="chosen-select"
  1030. style="width:350px;"
  1031. id="optimizer_ids" name="optimizer_ids">
  1032. <option value="">请选择优化组长</option>
  1033. @if(!empty($optimizers))
  1034. @foreach ($optimizers as $item)
  1035. <option value="{{$item->id}}"
  1036. @if(in_array($item->id,$hasOptimizerIds)) selected
  1037. @endif >{{$item->nickname}}</option>
  1038. @endforeach
  1039. @endif
  1040. </select>
  1041. </div>
  1042. </div>
  1043. <div class="form-group">
  1044. <label class="col-sm-2 control-label" for="optimization_editing_ids">优化师/优化采编:</label>
  1045. <div class="col-sm-10">
  1046. <select data-placeholder="选择优化师/优化采编..." multiple class="chosen-select"
  1047. style="width:350px;"
  1048. id="optimization_editing_ids" name="optimization_editing_ids">
  1049. <option value="">请选择优化师/优化采编</option>
  1050. @if(!empty($optimizationEditing))
  1051. @foreach ($optimizationEditing as $item)
  1052. <option value="{{$item->id}}"
  1053. @if(in_array($item->id,$hasOptimizationEditing)) selected
  1054. @endif>{{$item->nickname}}</option>
  1055. @endforeach
  1056. @endif
  1057. </select>
  1058. </div>
  1059. </div>
  1060. <div class="form-group">
  1061. <label class="col-sm-2 control-label" for="bid_user_id">竞价人员:</label>
  1062. <div class="col-sm-10">
  1063. <select data-placeholder="选择竞价人员..." class="chosen-select"
  1064. style="width:350px;z-index: 99999"
  1065. id="bid_user_ids" name="bid_user_ids" multiple>
  1066. <option value="">请选择竞价人员</option>
  1067. @if(!empty($bidUsers))
  1068. @foreach ($bidUsers as $item)
  1069. <option value="{{$item->id}}"
  1070. @if(in_array($item->id,$hasBidIds)) selected
  1071. @endif>{{$item->nickname}}</option>
  1072. @endforeach
  1073. @endif
  1074. </select>
  1075. </div>
  1076. </div>
  1077. <div class="hr-line-dashed"></div>
  1078. <div class="form-group">
  1079. <label class="col-sm-2 control-label" for="article_edit_ids">软文查找人员:</label>
  1080. <div class="col-sm-10">
  1081. <select data-placeholder="请软文查找人员..." multiple class="chosen-select"
  1082. style="width:350px;"
  1083. id="article_edit_ids" name="article_edit_ids">
  1084. <option value="">请选择软文查找人员</option>
  1085. @if(!empty($propaganda))
  1086. @foreach ($propaganda as $item)
  1087. <option value="{{$item->id}}"
  1088. @if(in_array($item->id,$hasPropagandaIds)) selected
  1089. @endif>{{$item->nickname}}</option>
  1090. @endforeach
  1091. @endif
  1092. </select>
  1093. </div>
  1094. </div>
  1095. <div class="form-group">
  1096. <label class="col-sm-2 control-label" for="article_ids">软文更新人员:</label>
  1097. <div class="col-sm-10">
  1098. <select data-placeholder="选择软文更新人员..." multiple class="chosen-select"
  1099. style="width:350px;"
  1100. id="article_ids" name="article_ids">
  1101. <option value="">请选择软文更新人员</option>
  1102. @if(!empty($article))
  1103. @foreach ($article as $item)
  1104. <option value="{{$item->id}}"
  1105. @if(in_array($item->id,$hasArticleIds)) selected
  1106. @endif>{{$item->nickname}}</option>
  1107. @endforeach
  1108. @endif
  1109. </select>
  1110. </div>
  1111. </div>
  1112. <div class="hr-line-dashed"></div>
  1113. <div class="form-group">
  1114. <label class="col-sm-2 control-label" for="external_link_ids">社交外链人员:</label>
  1115. <div class="col-sm-10">
  1116. <select data-placeholder="选择社交外链人员..." multiple class="chosen-select"
  1117. style="width:350px;"
  1118. id="external_link_ids" name="external_link_ids">
  1119. <option value="">请选择社交外链人员</option>
  1120. @if(!empty($externalLink))
  1121. @foreach ($externalLink as $item)
  1122. <option value="{{$item->id}}"
  1123. @if(in_array($item->id,$hasExternalLinkIds)) selected
  1124. @endif>{{$item->nickname}}</option>
  1125. @endforeach
  1126. @endif
  1127. </select>
  1128. </div>
  1129. </div>
  1130. <div class="form-group">
  1131. <label class="col-sm-2 control-label" for="chongqing_link_ids">重庆外链人员:</label>
  1132. <div class="col-sm-10">
  1133. <select data-placeholder="选择重庆外链人员..." multiple class="chosen-select"
  1134. style="width:350px;"
  1135. id="chongqing_link_ids" name="chongqing_link_ids">
  1136. <option value="">请选择重庆外链人员</option>
  1137. @if(!empty($chongqingLink))
  1138. @foreach ($chongqingLink as $item)
  1139. <option value="{{$item->id}}"
  1140. @if(in_array($item->id,$hasChongqingLinkIds)) selected
  1141. @endif>{{$item->nickname}}</option>
  1142. @endforeach
  1143. @endif
  1144. </select>
  1145. </div>
  1146. </div>
  1147. <div class="hr-line-dashed"></div>
  1148. <div class="form-group">
  1149. <label class="col-sm-2 control-label" for="designer_ids">设计:</label>
  1150. <div class="col-sm-10">
  1151. <select data-placeholder="选择设计..." multiple class="chosen-select"
  1152. style="width:350px;"
  1153. id="designer_ids" name="designer_ids">
  1154. <option value="">请选择设计</option>
  1155. @if(!empty($designers))
  1156. @foreach ($designers as $item)
  1157. <option value="{{$item->id}}"
  1158. @if(in_array($item->id,$hasDesignerIds)) selected
  1159. @endif >{{$item->nickname}}</option>
  1160. @endforeach
  1161. @endif
  1162. </select>
  1163. </div>
  1164. </div>
  1165. <div class="form-group">
  1166. <label class="col-sm-2 control-label" for="web_ids">前端:</label>
  1167. <div class="col-sm-10">
  1168. <select data-placeholder="选择前端..." multiple class="chosen-select"
  1169. style="width:350px;"
  1170. id="web_ids" name="web_ids">
  1171. <option value="">请选择前端</option>
  1172. @if(!empty($webUsers))
  1173. @foreach ($webUsers as $item)
  1174. <option value="{{$item->id}}"
  1175. @if(in_array($item->id,$hasWebIds)) selected
  1176. @endif >{{$item->nickname}}</option>
  1177. @endforeach
  1178. @endif
  1179. </select>
  1180. </div>
  1181. </div>
  1182. <div class="hr-line-dashed"></div>
  1183. <div class="form-group">
  1184. <label class="col-sm-2 control-label" for="server_ids">客服:</label>
  1185. <div class="col-sm-10">
  1186. <select data-placeholder="选择客服人员..." multiple class="chosen-select"
  1187. style="width:350px;"
  1188. id="server_ids" name="server_ids">
  1189. <option value="">请选择客服人员</option>
  1190. @if(!empty($services))
  1191. @foreach ($services as $item)
  1192. <option value="{{$item->id}}"
  1193. @if(in_array($item->id,$hasServerIds)) selected
  1194. @endif>{{$item->nickname}}</option>
  1195. @endforeach
  1196. @endif
  1197. </select>
  1198. </div>
  1199. </div>
  1200. <div class="form-group">
  1201. <label class="col-sm-2 control-label" for="seller_ids">销售:</label>
  1202. <div class="col-sm-10">
  1203. <select data-placeholder="选择销售..." multiple class="chosen-select"
  1204. style="width:350px"
  1205. id="seller_ids" name="seller_ids">
  1206. <option value="">请选择销售</option>
  1207. @if(!empty($sellerUsers))
  1208. @foreach ($sellerUsers as $item)
  1209. <option value="{{$item->id}}"
  1210. @if(in_array($item->id,$hasSellerIds)) selected
  1211. @endif>{{$item->nickname}}</option>
  1212. @endforeach
  1213. @endif
  1214. </select>
  1215. </div>
  1216. </div>
  1217. </form>
  1218. </div>
  1219. <div id="tab-7" class="lists">
  1220. <form class="form-horizontal" id="server" style="margin-top: 20px;padding-bottom: 250px;">
  1221. <div class="form-group">
  1222. <label class="col-sm-2 control-label" for="server_id">服务器所在地:</label>
  1223. <div class="col-sm-8">
  1224. <select name="server_id" id="server_id" class="form-control" disabled>
  1225. <option value="">请选择ip所在地</option>
  1226. @foreach($servers as $server)
  1227. <option value="{{$server->server_id}}"
  1228. @if($server->server_id==($data->server_id??null)) selected @endif>{{$server->server_ip}}</option>
  1229. @endforeach
  1230. </select>
  1231. </div>
  1232. </div>
  1233. <div class="form-group">
  1234. <label class="col-sm-2 control-label" for="self_support">是否是引擎力服务器:</label>
  1235. <div class="col-sm-8">
  1236. <select name="self_support" id="self_support" class="form-control">
  1237. <option value="0" @if($data->self_support==0) selected @endif>是</option>
  1238. <option value="1" @if($data->self_support==1) selected @endif>否</option>
  1239. </select>
  1240. </div>
  1241. </div>
  1242. <div class="form-group">
  1243. <label class="col-sm-2 control-label" for="cname_host_record_value">CNAME主机记录:</label>
  1244. <div class="col-sm-8">
  1245. <input type="text" class="form-control" id="cname_host_record_value"
  1246. name="cname_host_record_value"
  1247. value="{{$data->cname_host_record_value??''}}"
  1248. @if(in_array($data->status,[2,3])) disabled @endif>
  1249. </div>
  1250. </div>
  1251. <div class="form-group">
  1252. <label class="col-sm-2 control-label" for="cname_record_value">CNAME记录值:</label>
  1253. <div class="col-sm-8">
  1254. <input type="text" class="form-control" id="cname_record_value"
  1255. name="cname_record_value"
  1256. value="{{$data->cname_record_value??''}}"
  1257. @if(in_array($data->status,[2,3])) disabled @endif>
  1258. </div>
  1259. </div>
  1260. </form>
  1261. </div>
  1262. <div id="tab-6" class="lists">
  1263. <form class="form-horizontal" id="time" style="margin-top: 20px;padding-bottom: 250px;">
  1264. <div class="form-group">
  1265. <label class="col-sm-2 control-label" for="sign_at">合同签订时间:</label>
  1266. <div class="col-sm-2">
  1267. <div class="input-group m-b">
  1268. <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
  1269. <input type="text" class="form-control" id="sign_at" name="sign_at"
  1270. value="{{$data->sign_at??''}}">
  1271. </div>
  1272. </div>
  1273. <label class="col-sm-2 control-label" for="task_at"><span
  1274. class="red">* </span>建站任务起始时间:<br>(首付款时间)</label>
  1275. <div class="col-sm-4">
  1276. <div class="input-group m-b">
  1277. <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
  1278. <input type="text" class="form-control" id="task_at" name="task_at" style="width: 200px"
  1279. value="{{$data->task_at}}" autocomplete="off">
  1280. @if(!empty($roles->is_super))
  1281. <button class="btn btn-primary" type="button" data-id="{{$data->id??0}}"
  1282. onclick="units.delSitesTaskFlow()">
  1283. 清空建站流程
  1284. </button>
  1285. @endif
  1286. </div>
  1287. </div>
  1288. </div>
  1289. <div class="form-group">
  1290. <label class="col-sm-2 control-label" for="order_at"><span
  1291. class="red">* </span>下单时间:<br>(分配到项目部门)</label>
  1292. <div class="col-sm-2">
  1293. <div class="input-group m-b">
  1294. <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
  1295. <input type="text" class="form-control" id="order_at" name="order_at"
  1296. value="{{$data->order_at}}" autocomplete="off">
  1297. </div>
  1298. </div>
  1299. <label class="col-sm-2 control-label" for="design_score">设计评分:</label>
  1300. <div class="col-sm-2">
  1301. <input type="text" class="form-control" id="design_score" name="design_score"
  1302. value="{{$data->design_score}}" autocomplete="off">
  1303. </div>
  1304. </div>
  1305. <div class="form-group">
  1306. <label class="col-sm-2 control-label" for="online_at">上线时间:</label>
  1307. <div class="col-sm-2">
  1308. <div class="input-group m-b">
  1309. <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
  1310. <input type="text" class="form-control" id="online_at" name="online_at"
  1311. value="{{$data->online_at}}">
  1312. </div>
  1313. </div>
  1314. <label class="col-sm-2 control-label" for="online_score">上线评分:</label>
  1315. <div class="col-sm-2">
  1316. <input type="text" class="form-control" id="online_score" name="online_score"
  1317. value="{{$data->online_score}}" autocomplete="off">
  1318. </div>
  1319. </div>
  1320. <div class="form-group">
  1321. <label class="col-sm-2 control-label" for="reach_at">达标时间:</label>
  1322. <div class="col-sm-2">
  1323. <div class="input-group m-b">
  1324. <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
  1325. <input type="text" class="form-control" id="reach_at" name="reach_at"
  1326. value="{{$data->reach_at}}">
  1327. </div>
  1328. </div>
  1329. <label class="col-sm-2 control-label" for="reach_mail_at">达标邮件确认时间:</label>
  1330. <div class="col-sm-2">
  1331. <div class="input-group m-b">
  1332. <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
  1333. <input type="text" class="form-control" id="reach_mail_at" name="reach_mail_at"
  1334. value="{{$data->reach_mail_at}}">
  1335. </div>
  1336. </div>
  1337. </div>
  1338. <div class="form-group">
  1339. <label class="col-sm-2 control-label" for="expired_at">到期时间:</label>
  1340. <div class="col-sm-2">
  1341. <div class="input-group m-b">
  1342. <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
  1343. <input type="text" class="form-control" id="expired_at" name="expired_at"
  1344. value="{{$data->expired_at}}">
  1345. </div>
  1346. </div>
  1347. <label class="col-sm-2 control-label" for="reach_pay_at">达标款支付时间:</label>
  1348. <div class="col-sm-2">
  1349. <div class="input-group m-b">
  1350. <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
  1351. <input type="text" class="form-control" id="reach_pay_at" name="reach_pay_at"
  1352. value="{{$data->reach_pay_at}}">
  1353. </div>
  1354. </div>
  1355. </div>
  1356. <div class="form-group">
  1357. <label class="col-sm-2 control-label" for="bq_at">百千约访时间:</label>
  1358. <div class="col-sm-2">
  1359. <div class="input-group m-b">
  1360. <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
  1361. <input type="text" class="form-control" id="bq_at" name="bq_at"
  1362. value="{{$data->bq_at}}">
  1363. </div>
  1364. </div>
  1365. <label class="col-sm-2 control-label" for="bq_score">百千客户评分:</label>
  1366. <div class="col-sm-2">
  1367. <input type="text" class="form-control" id="bq_score" name="bq_score"
  1368. value="{{$data->bq_score}}" autocomplete="off">
  1369. </div>
  1370. </div>
  1371. <div class="form-group">
  1372. <label class="col-sm-2 control-label" for="status">项目状态:</label>
  1373. <div class="col-sm-2">
  1374. <select name="status" id="status" class="form-control" style="width: 200px">
  1375. <option value="">请选择</option>
  1376. @foreach(\App\Http\Models\Site::STATUS_MAP as $inx=>$val)
  1377. @if(!in_array($inx,[5,6]))
  1378. <option value="{{$inx}}"
  1379. @if($inx==($data->status)) selected @endif>{{$val}}</option>
  1380. @endif
  1381. @endforeach
  1382. </select>
  1383. </div>
  1384. <label class="col-sm-2 control-label" for="on_score">达标评分:</label>
  1385. <div class="col-sm-2">
  1386. <input type="text" class="form-control" id="reach_score" name="reach_score"
  1387. value="{{$data->reach_score}}" autocomplete="off">
  1388. </div>
  1389. </div>
  1390. <div class="hr-line-dashed"></div>
  1391. <div class="form-group">
  1392. <label class="col-sm-2 control-label" for="renewal_times">续费次数:</label>
  1393. <div class="col-sm-2">
  1394. <div class="input-group m-b" style="margin-left: 10px">
  1395. <select class="form-control" name="renewal_times" id="renewal_times"
  1396. style="width: 200px;">
  1397. <option value="">请选择</option>
  1398. @for($rTimes=1;$rTimes<=5;$rTimes++)
  1399. <option value="{{$rTimes}}"
  1400. @if(($data->renewal_times??'')==$rTimes) selected @endif>{{$rTimes}}次
  1401. </option>
  1402. @endfor
  1403. </select>
  1404. </div>
  1405. </div>
  1406. <label class="col-sm-2 control-label" for="renewal_amount">续费金额:</label>
  1407. <div class="col-sm-2">
  1408. <div class="input-group m-b" style="margin-left: 10px">
  1409. <input type="number" class="form-control" id="renewal_amount" name="renewal_amount"
  1410. style="width: 200px"
  1411. value="{{$data->renewal_amount??''}}">
  1412. </div>
  1413. </div>
  1414. </div>
  1415. <div class="form-group">
  1416. <label class="col-sm-2 control-label" for="renewal_at">续费时间:</label>
  1417. <div class="col-sm-2">
  1418. <div class="input-group m-b">
  1419. <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
  1420. <input type="text" class="form-control" id="renewal_at" name="renewal_at"
  1421. value="{{$data->renewal_at}}">
  1422. </div>
  1423. </div>
  1424. <label class="col-sm-2 control-label" for="renew_years">最近一次续费年限:</label>
  1425. <div class="col-sm-2">
  1426. <div class="input-group m-b" style="margin-left: 10px">
  1427. <select class="form-control" name="renew_years" id="renew_years"
  1428. style="width: 200px;">
  1429. <option value="0">请选择</option>
  1430. <option value="1"
  1431. @if(!empty($data->renew_years) && $data->renew_years==1) selected @endif>1年
  1432. </option>
  1433. <option value="2"
  1434. @if(!empty($data->renew_years) && $data->renew_years==2) selected @endif>2年
  1435. </option>
  1436. <option value="3"
  1437. @if(!empty($data->renew_years) && $data->renew_years==3) selected @endif>3年
  1438. </option>
  1439. </select>
  1440. </div>
  1441. </div>
  1442. </div>
  1443. <div class="hr-line-dashed"></div>
  1444. <div class="form-group">
  1445. <label class="col-sm-2 control-label" for="refund_date">退款时间:</label>
  1446. <div class="col-sm-2">
  1447. <div class="input-group m-b">
  1448. <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
  1449. <input type="text" class="form-control" id="refund_date"
  1450. name="refund_date"
  1451. value="{{$data->refund_date}}">
  1452. </div>
  1453. </div>
  1454. </div>
  1455. <div class="form-group">
  1456. <label class="col-sm-2 control-label" for="domain_expired_date">域名到期时间:</label>
  1457. <div class="col-sm-2">
  1458. <div class="input-group m-b">
  1459. <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
  1460. <input type="text" class="form-control" id="domain_expired_date"
  1461. name="domain_expired_date"
  1462. value="{{$data->domain_expired_date}}">
  1463. </div>
  1464. </div>
  1465. </div>
  1466. <div class="form-group">
  1467. <label class="col-sm-2 control-label" for="cdn_expired_date">cdn到期时间:</label>
  1468. <div class="col-sm-2">
  1469. <div class="input-group m-b">
  1470. <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
  1471. <input type="text" class="form-control" id="cdn_expired_date"
  1472. name="cdn_expired_date"
  1473. value="{{$data->cdn_expired_date}}">
  1474. </div>
  1475. </div>
  1476. </div>
  1477. <div class="form-group">
  1478. <label class="col-sm-2 control-label" for="cert_expired_date">证书到期时间:</label>
  1479. <div class="col-sm-2">
  1480. <div class="input-group m-b">
  1481. <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
  1482. <input type="text" class="form-control" id="cert_expired_date"
  1483. name="cert_expired_date"
  1484. value="{{$data->cert_expired_date}}">
  1485. </div>
  1486. </div>
  1487. </div>
  1488. </form>
  1489. </div>
  1490. </div>
  1491. </div>
  1492. </div>
  1493. </div>
  1494. </body>
  1495. @endsection
  1496. @section('footer')
  1497. <script src="{{asset('js/plugins/chosen/chosen.jquery.js')}}"></script>
  1498. <script src="{{asset('js/plugins/layDate-v5.0.9/laydate/laydate.js')}}"></script>
  1499. <script src="{{asset('js/plugins/switchery/switchery.js')}}"></script>
  1500. <script src="{{asset('js/plugins/distpicker-master/dist/distpicker.js')}}"></script>
  1501. <script>
  1502. var laydateList = [];
  1503. var jsSwitch = document.querySelector(".js-switch");
  1504. new Switchery(jsSwitch, {color: "#1AB394", size: 'small'});
  1505. $(".tabs-container .nav ul li").click(function () {
  1506. var i = $(this).index();
  1507. $(this).addClass("active").siblings().removeClass("active");
  1508. $(".tabs-container .tab-content .lists").eq(i).addClass("active").siblings().removeClass("active");
  1509. });
  1510. $(function () {
  1511. var needDateTime = ['#online_at', '#reach_at', '#expired_at', '#bid_account_online_time', '#bid_account_pause_time'];
  1512. for (var item in needDateTime) {
  1513. laydate.render({
  1514. elem: needDateTime[item], //指定元素
  1515. type: 'datetime'
  1516. });
  1517. }
  1518. var needDate = ['#order_at', '#cert_expired_date', '#domain_expired_date'];
  1519. for (var val in needDate) {
  1520. laydate.render({
  1521. elem: needDate[val], //指定元素
  1522. type: 'date'
  1523. });
  1524. }
  1525. var ele = $('[name="google_bid_time"]');
  1526. var total = 0;
  1527. ele.each(function () {
  1528. total += 1;
  1529. });
  1530. ele.each(function (inx, item) {
  1531. if ((total - 1) !== (inx)) {
  1532. // console.log(total, ele.length);
  1533. laydate.render({
  1534. elem: $(this)[0],
  1535. type: 'datetime'
  1536. });
  1537. }
  1538. });
  1539. laydate.render({
  1540. elem: '#google_bid_time', //指定元素
  1541. type: 'datetime'
  1542. });
  1543. });
  1544. var config = {".chosen-select": {}};
  1545. for (var selector in config) $(selector).chosen(config[selector]);
  1546. </script>
  1547. @endsection