123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123 |
- @extends('admin/layout')
- @section('content')
- <body class="gray-bg">
- <div class="wrapper wrapper-content animated fadeInRight">
- <div class="row">
- <div class="col-sm-12">
- <div class="ibox float-e-margins">
- <div class="ibox-content">
- <form class="form-horizontal" id="form">
- <div class="form-group">
- <label class="col-sm-3 control-label" for="contract_deadline">
- <span class="red">* </span>合同期限:
- </label>
- <div class="col-sm-6">
- <input type="text" class="form-control" value="" id="contract_deadline"
- name="contract_deadline">
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-3 control-label" for="contract_amount">
- <span class="red">* </span>合同金额:
- </label>
- <div class="col-sm-6">
- <input type="text" class="form-control" value="" id="contract_amount"
- name="contract_amount">
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-3 control-label" for="keyword_goal">
- <span class="red">* </span>关键词达标数:
- </label>
- <div class="col-sm-6">
- <input type="text" class="form-control" value="" id="keyword_goal"
- name="keyword_goal">
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-3 control-label" for="article_goal">
- <span class="red">* </span>软文达标数:
- </label>
- <div class="col-sm-6">
- <input type="text" class="form-control" value="" id="article_goal"
- name="article_goal">
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-3 control-label" for="link_goal">
- <span class="red">* </span>外链平台数:
- </label>
- <div class="col-sm-6">
- <input type="text" class="form-control" value="" id="link_goal" name="link_goal">
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-3 control-label" for="other_demand">
- 补充内容:
- </label>
- <div class="col-sm-6">
- <input type="text" class="form-control" value="" id="other_demand"
- name="other_demand">
- </div>
- </div>
- <div class="form-group">
- <div class="col-sm-offset-3 col-sm-8">
- <button class="btn btn-sm btn-primary" type="button" onclick="units.save()">提交
- </button>
- <button class="btn btn-sm btn-white closeLayer" type="button">取消</button>
- </div>
- </div>
- </form>
- </div>
- </div>
- </div>
- </div>
- </div>
- </body>
- @endsection
- @section('footer')
- <script src="{{asset('js/plugins/layDate-v5.0.9/laydate/laydate.js')}}"></script>
- <script>
- laydate.render({
- elem: '#contract_deadline', //指定元素
- type: 'date'
- });
- var units = {
- save: function () {
- var data = tips.getFormValues("#form");
- var config = {
- url: '/admin/process/renew-form/' + "{{$siteProcessId}}",
- type: 'post',
- data: data
- };
- config.success = function (result) {
- layer.msg(result.message, {icon: 6, time: 1500}, function () {
- tips.closeParentLayer();
- });
- };
- tips.ajax(config);
- }
- };
- </script>
- @endsection
|