|
@@ -11,7 +11,6 @@
|
|
|
<script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
|
|
|
<script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
|
|
|
<![endif]-->
|
|
|
-
|
|
|
<style type="text/css">
|
|
|
.layui-table-view .layui-table td {
|
|
|
border-right: 1px solid #DDD !important;
|
|
@@ -374,10 +373,11 @@
|
|
|
<div class="layui-row">
|
|
|
<div class="layui-col-xs3 layui-col-sm3 layui-col-md3">
|
|
|
<div class="layui-form-item">
|
|
|
- <label class="layui-form-label required label-longers">项目总投资</label>
|
|
|
- <div class="layui-input-block">
|
|
|
- <input type="text" name="totalInvest" placeholder="请输入" autocomplete="off"
|
|
|
- class="layui-input">
|
|
|
+ <label class="layui-form-label required label-longers" style="width: 100px;">项目总投资</label>
|
|
|
+ <div class="layui-input-block time_box">
|
|
|
+ <input type="number" name="totalInvestMin" placeholder="最小值" autocomplete="off" class="layui-input">
|
|
|
+ <span class="split_txt">至</span>
|
|
|
+ <input type="number" name="totalInvestMax" placeholder="最大值" autocomplete="off" class="layui-input">
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -483,11 +483,11 @@
|
|
|
<%-- </label>--%>
|
|
|
</div>
|
|
|
<div style="display: flex;margin-bottom: 3px">
|
|
|
-<%-- 政府类、企业类 --%>
|
|
|
-<%-- <label @click="levelList('kindNatures',item.split(',')[1],item.split(',')[0])" class="juli"--%>
|
|
|
-<%-- v-for="(item, index) in beginRate.tzlxList" :key="index">--%>
|
|
|
-<%-- {{item.split(",")[1]}}<span class="lanse-first">{{item.split(",")[2]}}</span>--%>
|
|
|
-<%-- </label>--%>
|
|
|
+ <%-- 政府类、企业类 --%>
|
|
|
+ <%-- <label @click="levelList('kindNatures',item.split(',')[1],item.split(',')[0])" class="juli"--%>
|
|
|
+ <%-- v-for="(item, index) in beginRate.tzlxList" :key="index">--%>
|
|
|
+ <%-- {{item.split(",")[1]}}<span class="lanse-first">{{item.split(",")[2]}}</span>--%>
|
|
|
+ <%-- </label>--%>
|
|
|
<label class="juli" @click="levelList('subjects',item.split(',')[1],item.split(',')[0])"
|
|
|
v-for="(item, index) in beginRate.jsddList" :key="index">
|
|
|
{{item.split(",")[1]}}<span class="lanse-first">{{item.split(",")[2]}}</span>
|
|
@@ -881,6 +881,7 @@
|
|
|
el: "#app",
|
|
|
template: "#template",
|
|
|
data: {
|
|
|
+ JSDD: [],
|
|
|
winH: 0,
|
|
|
dataList: [],
|
|
|
startDate: "",
|
|
@@ -901,6 +902,11 @@
|
|
|
},
|
|
|
methods: {
|
|
|
init: function () {
|
|
|
+ let self = this;
|
|
|
+ App.postJson("/api/dict/query/index",{}, function (res) {
|
|
|
+ self.JSDD = res.data.JSDD;
|
|
|
+ })
|
|
|
+
|
|
|
this.winH = document.body.clientHeight;
|
|
|
var nowdate = new Date();
|
|
|
nowdate.setMonth(nowdate.getMonth() + 1);
|
|
@@ -1115,7 +1121,6 @@
|
|
|
// 查询 table 数据列表
|
|
|
App.postJson("/api/subInfo/query/all", param, function (res) {
|
|
|
self.dataList = res.rows;
|
|
|
- console.log(res.rows)
|
|
|
self.loadPage(res.total);
|
|
|
self.loadTable();
|
|
|
});
|
|
@@ -1197,50 +1202,58 @@
|
|
|
cols: [[ // 设置表头
|
|
|
{type: 'numbers', fixed: 'left', align: 'center', width: 44, title: '序号'},
|
|
|
{field: 'subName', fixed: 'left', title: '项目名称', width: 200, templet: '#subName'},
|
|
|
- {field: 'subName', fixed: 'left', title: '项目所在地', width: 200},
|
|
|
- {field: 'subName', fixed: 'left', title: '项目建设内容(亿元)', width: 200},
|
|
|
- {field: 'subName', fixed: 'left', title: '进展情况', width: 200},
|
|
|
- {field: 'subName', fixed: 'left', title: '备注', width: 200},
|
|
|
-
|
|
|
- /* // {
|
|
|
- // field: 'abc',
|
|
|
- // type: 'string',
|
|
|
- // title: 'ABC',
|
|
|
- // fixed: 'left',
|
|
|
- // align: 'center',
|
|
|
- // width: 60,
|
|
|
- // templet: "#abcSpan"
|
|
|
- // },
|
|
|
- // {field: 'offsetLight', title: '偏离状态', fixed: 'left', minWidth: 150, templet: '#offsetLight'},
|
|
|
- // {field: 'statusName', title: '项目进度', width: 200},
|
|
|
- // {field: 'amtTotal', title: '投资金额', minWidth: 250, templet: '#amt', sort:"amtTotal"},
|
|
|
- // {field: 'offset', title: '偏离度-%', width: 100},
|
|
|
- // {field: 'fileId', title: '现场影像', width: 150, templet:'#imageDiv'},
|
|
|
- /!* {field: 'xmbaStatus', title: '前期手续办理情况', width: 160, templet: '#preInfo'},*!/
|
|
|
- {field: 'xmbaStatus', title: '计划时间', width: 160, templet: '#date'},
|
|
|
- {field: 'xmbaStatus', title: '总投资', width: 245, templet: '#amtTotal'},
|
|
|
- {field: 'indusKindName', title: '所属行业', width: 115},
|
|
|
- {field: 'zjly', title: '资金来源', width: 115, templet: '#zjly'},
|
|
|
- {field: 'mainName', title: '日常责任监管单位', width: 115, templet: '#mainName'},
|
|
|
- // {field: 'unitName', title: '项目单位', minWidth: 150},
|
|
|
- {field: 'unitName', title: '项目单位', minWidth: 150, templet: '#unitName'},
|
|
|
- // {field: 'openLight', title: '开工红黄灯', minWidth: 150, templet: '#openLight'},
|
|
|
- // {field: 'statusName', title: '项目进度', width: 200},
|
|
|
- /!* {
|
|
|
- field: 'isHide',
|
|
|
- type: 'string',
|
|
|
- title: '在建库',
|
|
|
- align: 'center',
|
|
|
- width: 70,
|
|
|
- templet: function (row) {
|
|
|
- if (row.isHide == "1") {
|
|
|
- return '<span style="color: #08AF00">是</span>';
|
|
|
- } else {
|
|
|
- return '<span style="color: #666666">否</span>';
|
|
|
- }
|
|
|
- return "";
|
|
|
- }
|
|
|
- },*!/*/
|
|
|
+ {field: 'subject_id', fixed: 'left', title: '项目所在地', width: 200, templet: function (d) {
|
|
|
+ let item = self.JSDD.find(item => item.code === d.subject_id)
|
|
|
+ return item ? item.title: ""
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ field: 'amtTotal', fixed: 'left', title: '项目建设内容(亿元)', width: 200, templet: function (d) {
|
|
|
+ return (d.amtTotal / 10000).toFixed(2) + "亿元";
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {field: 'progress', fixed: 'left', title: '进展情况', width: 200},
|
|
|
+ {field: 'remark', fixed: 'left', title: '备注', width: 200},
|
|
|
+
|
|
|
+ /* // {
|
|
|
+ // field: 'abc',
|
|
|
+ // type: 'string',
|
|
|
+ // title: 'ABC',
|
|
|
+ // fixed: 'left',
|
|
|
+ // align: 'center',
|
|
|
+ // width: 60,
|
|
|
+ // templet: "#abcSpan"
|
|
|
+ // },
|
|
|
+ // {field: 'offsetLight', title: '偏离状态', fixed: 'left', minWidth: 150, templet: '#offsetLight'},
|
|
|
+ // {field: 'statusName', title: '项目进度', width: 200},
|
|
|
+ // {field: 'amtTotal', title: '投资金额', minWidth: 250, templet: '#amt', sort:"amtTotal"},
|
|
|
+ // {field: 'offset', title: '偏离度-%', width: 100},
|
|
|
+ // {field: 'fileId', title: '现场影像', width: 150, templet:'#imageDiv'},
|
|
|
+ /!* {field: 'xmbaStatus', title: '前期手续办理情况', width: 160, templet: '#preInfo'},*!/
|
|
|
+ {field: 'xmbaStatus', title: '计划时间', width: 160, templet: '#date'},
|
|
|
+ {field: 'xmbaStatus', title: '总投资', width: 245, templet: '#amtTotal'},
|
|
|
+ {field: 'indusKindName', title: '所属行业', width: 115},
|
|
|
+ {field: 'zjly', title: '资金来源', width: 115, templet: '#zjly'},
|
|
|
+ {field: 'mainName', title: '日常责任监管单位', width: 115, templet: '#mainName'},
|
|
|
+ // {field: 'unitName', title: '项目单位', minWidth: 150},
|
|
|
+ {field: 'unitName', title: '项目单位', minWidth: 150, templet: '#unitName'},
|
|
|
+ // {field: 'openLight', title: '开工红黄灯', minWidth: 150, templet: '#openLight'},
|
|
|
+ // {field: 'statusName', title: '项目进度', width: 200},
|
|
|
+ /!* {
|
|
|
+ field: 'isHide',
|
|
|
+ type: 'string',
|
|
|
+ title: '在建库',
|
|
|
+ align: 'center',
|
|
|
+ width: 70,
|
|
|
+ templet: function (row) {
|
|
|
+ if (row.isHide == "1") {
|
|
|
+ return '<span style="color: #08AF00">是</span>';
|
|
|
+ } else {
|
|
|
+ return '<span style="color: #666666">否</span>';
|
|
|
+ }
|
|
|
+ return "";
|
|
|
+ }
|
|
|
+ },*!/*/
|
|
|
{title: '操作', width: 225, toolbar: '#toolBar', fixed: 'right'},
|
|
|
]],
|
|
|
fixed: true,
|
|
@@ -1520,5 +1533,6 @@
|
|
|
}
|
|
|
});
|
|
|
</script>
|
|
|
+
|
|
|
</body>
|
|
|
</html>
|