Your ROOT_URL in app.ini is http://git.zky.com/ but you are visiting http://61.178.84.89:8998/luoluo/ry_zhky/commit/ed0db3cce12c2e3e46e5ffb7d27f44f842b07f38?style=unified&whitespace=ignore-all
You should set ROOT_URL correctly, otherwise the web may not work correctly.
6 changed files with
240 additions and
27 deletions
@ -4,7 +4,7 @@
< th:block th:include = "include :: header('文件下发列表')" / >
< / head >
< body class = "gray-bg" >
< div class = "container-div" >
< div class = "container-div" id = "app" >
< div class = "row" >
< div class = "col-sm-12 search-collapse" >
< form id = "formId" >
@ -22,8 +22,13 @@
< / select >
< / li >
< li >
< label > 所属地区:< / label >
< input type = "text" name = "frameworkId" / >
< label > 所属市州:< / label >
< select id = "City" name = "frameworkId" @ change = "getAreaList()" v-model = "City" >
< option value = "" > 请选择< / option >
< option v-for = "option in CityList" :value = "option.id" :key = "option.id" >
{{ option.name }}
< / option >
< / select >
< / li >
< li >
< label > 文件标题:< / label >
@ -54,7 +59,15 @@
var instancyExtentDatas = [[${@dict.getType('sys_file_jinjichengdu')}]];
var fileSecretDatas = [[${@dict.getType('sys_file_miji')}]];
var prefix = ctx + "system/filenum";
let datas = []
$.ajax({
url: ctx + "system/area/getAllList",
type: 'GET',
data:{parentId:''} ,
success:((res)=>{
datas = res.data
}) ,
});
$(function() {
var options = {
url: prefix + "/list",
@ -96,7 +109,10 @@
},
{
field: 'frameworkId',
title: '所属地区'
title: '所属地区',
formatter: function(value, row, index) {
return getCity(datas, value)
}
},
{
field: 'fileSecret',
@ -117,6 +133,48 @@
};
$.table.init(options);
});
var app = new Vue({
el: '#app',
data: {
CityList: [],
AreaList:[],
City:'',
Area:'',
params:{
parentId:'',
}
},
mounted(){
// 初始化地市列表
this.getCityList();
if (this.City){
this.getAreaList()
}
},
methods:{
getCityList(){
$.ajax({
url: ctx + "system/area/getSysAreaList",
type: 'GET',
data:this.params ,
success:((res)=>{
this.CityList = res.data
}) ,
});
},
getAreaList(){
this.params.parentId = this.City
$.ajax({
url: ctx + "system/area/getSysAreaList",
type: 'GET',
data:this.params,
success:((res)=>{
this.AreaList = res.data
}) ,
});
}
}
})
function print(netId) {
var url = prefix + '/print/' + netId;
$.modal.openTab("打印", url);
@ -703,7 +703,7 @@
< body link = blue vlink = purple >
< table border = 0 cellpadding = 0 cellspacing = 0 width = 1027 style = 'border-collapse:
collapse;table-layout:fixed;width:770pt;margin: auto'>
collapse;table-layout:fixed;width:770pt;margin: auto' id="app" >
< col width = 180 style = 'mso-width-source:userset;width:135pt' >
< col width = 113 span = 2 style = 'mso-width-source:userset;width:84.75pt' >
< col width = 105 style = 'mso-width-source:userset;width:78.75pt' >
@ -728,10 +728,10 @@
< td class = x32 style = "font-weight:bold;" > 文件数量< / td >
< / tr >
< tr height = 34 style = 'mso-height-source:userset;height:26pt' id = 'r3' >
< td colspan = 2 height = 32 class = x28 style = 'border-right:1px solid windowtext;border-bottom:1px solid windowtext;height:24.5pt;' >
< td colspan = 2 height = 32 class = ' x28 frameworkId' style = 'border-right:1px solid windowtext;border-bottom:1px solid windowtext;height:24.5pt;' >
[[${tdFileProvide.frameworkId}]]
< / td >
< td colspan = 2 class = x28 style = 'border-right:1px solid windowtext;border-bottom:1px solid windowtext;' >
< td colspan = 2 class = ' x28 areaid' style = 'border-right:1px solid windowtext;border-bottom:1px solid windowtext;' >
[[${tdFileProvide.areaid}]]
< / td >
< td colspan = 2 class = x28 style = 'border-right:1px solid windowtext;border-bottom:1px solid windowtext;' >
@ -770,6 +770,15 @@
function printPage() {
window.print();
}
$.ajax({
url: ctx + "system/area/getAllList",
type: 'GET',
data:{parentId:''} ,
success:((res)=>{
document.querySelector('.frameworkId').innerHTML = getCity(res.data,[[${tdFileProvide.frameworkId}]])
document.querySelector('.areaid').innerHTML = getCity(res.data,[[${tdFileProvide.areaid}]])
}) ,
});
function conversionDate(date){
var year = date.getFullYear();
var month = String(date.getMonth() + 1).padStart(2, '0'); // 月份从 0 开始,需要加 1
@ -4,7 +4,7 @@
< th:block th:include = "include :: header('涉密网络设备列表')" / >
< / head >
< body class = "gray-bg" >
< div class = "container-div" >
< div class = "container-div" id = "app" >
< div class = "row" >
< div class = "col-sm-12 search-collapse" >
< form id = "formId" >
@ -12,11 +12,21 @@
< ul >
< li >
< label > 所属市州:< / label >
< input type = "text" name = "framework" / >
< select id = "City" name = "framework" @ change = "getAreaList()" v-model = "City" >
< option value = "" > 请选择< / option >
< option v-for = "option in CityList" :value = "option.id" :key = "option.id" >
{{ option.name }}
< / option >
< / select >
< / li >
< li >
< label > 所属区县:< / label >
< input type = "text" name = "area" / >
< select id = "Area" name = "area" v-model = "Area" >
< option value = "" > 请选择< / option >
< option v-for = "option in AreaList" :value = "option.id" :key = "option.id" >
{{ option.name }}
< / option >
< / select >
< / li >
< li >
< label > 使用单位:< / label >
@ -52,7 +62,15 @@
var listFlag = [[${@permission.hasPermi('system:network:list')}]];
var netMijiDatas = [[${@dict.getType('sys_file_miji')}]];
var prefix = ctx + "system/networknum";
let datas = []
$.ajax({
url: ctx + "system/area/getAllList",
type: 'GET',
data:{parentId:''} ,
success:((res)=>{
datas = res.data
}) ,
});
$(function() {
var options = {
url: prefix + "/list",
@ -68,11 +86,17 @@
},
{
field: 'framework',
title: '所属市州'
title: '所属市州',
formatter: function(value, row, index) {
return getCity(datas, value)
}
},
{
field: 'area',
title: '所属区县'
title: '所属区县',
formatter: function(value, row, index) {
return getCity(datas, value)
}
},
{
field: 'netDepart',
@ -113,6 +137,48 @@
};
$.table.init(options);
});
var app = new Vue({
el: '#app',
data: {
CityList: [],
AreaList:[],
City:'',
Area:'',
params:{
parentId:'',
}
},
mounted(){
// 初始化地市列表
this.getCityList();
if (this.City){
this.getAreaList()
}
},
methods:{
getCityList(){
$.ajax({
url: ctx + "system/area/getSysAreaList",
type: 'GET',
data:this.params ,
success:((res)=>{
this.CityList = res.data
}) ,
});
},
getAreaList(){
this.params.parentId = this.City
$.ajax({
url: ctx + "system/area/getSysAreaList",
type: 'GET',
data:this.params,
success:((res)=>{
this.AreaList = res.data
}) ,
});
}
}
})
function print(netId) {
var url = prefix + '/print/' + netId;
$.modal.openTab("打印", url);
@ -1617,7 +1617,7 @@
< body link = blue vlink = purple >
< table border = 0 cellpadding = 0 cellspacing = 0 width = 1020 style = 'border-collapse:
collapse;table-layout:fixed;width:765pt;margin: auto;'>
collapse;table-layout:fixed;width:765pt;margin: auto;' id="app" >
< col width = 180 style = 'mso-width-source:userset;width:135pt' >
< col width = 134 style = 'mso-width-source:userset;width:100.5pt' >
< col width = 113 style = 'mso-width-source:userset;width:84.75pt' >
@ -1638,9 +1638,9 @@
< / tr >
< tr height = 48 style = 'mso-height-source:userset;height:36pt' id = 'r2' >
< td height = 46 class = x74 style = 'height:34.5pt;' > 所属地市< / td >
< td class = x74> [[${tdPropertyNet.framework}]] < / td >
< td class = 'x74 framework'> < / td >
< td class = x74 > 所属区县< / td >
< td colspan = 2 class = x75 style = 'border-right:1px solid windowtext;border-bottom:1px solid windowtext;' > [[${tdPropertyNet.area}]] < / td >
< td colspan = 2 class = ' x75 area' style = 'border-right:1px solid windowtext;border-bottom:1px solid windowtext;' > < / td >
< td class = x74 > 使用单位< / td >
< td class = x74 > [[${tdPropertyNet.netDepart}]]< / td >
< / tr >
@ -1689,6 +1689,15 @@
function printPage() {
window.print();
}
$.ajax({
url: ctx + "system/area/getAllList",
type: 'GET',
data:{parentId:''} ,
success:((res)=>{
document.querySelector('.framework').innerHTML = getCity(res.data,[[${tdPropertyNet.framework}]])
document.querySelector('.area').innerHTML = getCity(res.data,[[${tdPropertyNet.area}]])
}) ,
});
function conversionDate(date){
var year = date.getFullYear();
var month = String(date.getMonth() + 1).padStart(2, '0'); // 月份从 0 开始,需要加 1
@ -712,7 +712,7 @@
< body link = blue vlink = purple >
< table border = 0 cellpadding = 0 cellspacing = 0 width = 1024 style = 'border-collapse:
collapse;table-layout:fixed;width:768pt;margin: 0 auto;'>
collapse;table-layout:fixed;width:768pt;margin: 0 auto;' id="app" >
< col width = 118 style = 'mso-width-source:userset;width:171pt' >
< col width = 151 style = 'mso-width-source:userset;width:113.25pt' >
< col width = 113 style = 'mso-width-source:userset;width:84.75pt' >
@ -733,9 +733,9 @@
< / tr >
< tr height = 55 style = 'mso-height-source:userset;height:41.5pt' id = 'r2' >
< td height = 53 class = x21 style = 'height:40pt;' > 所属市州< / td >
< td class = x21> [[${tdPropertyManager.part}]] < / td >
< td class = ' x21 part' > < / td >
< td class = x21 > 所属区县< / td >
< td colspan = 2 class = x22 style = 'border-right:1px solid windowtext;border-bottom:1px solid windowtext;' > [[${tdPropertyManager.areaId}]] < / td >
< td colspan = 2 class = ' x22 area' style = 'border-right:1px solid windowtext;border-bottom:1px solid windowtext;' > < / td >
< td class = x21 > 登记人员< / td >
< td class = x21 > [[${tdPropertyManager.recoverName}]]< / td >
< / tr >
@ -810,7 +810,17 @@
}
});
});
console.log(document.querySelector('#djid').innerHTML)
setTimeout(()=>{
$.ajax({
url: ctx + "system/area/getAllList",
type: 'GET',
data:{parentId:''} ,
success:((res)=>{
document.querySelector('.part').innerHTML = getCity(res.data,[[${tdPropertyManager.part}]])
document.querySelector('.area').innerHTML = getCity(res.data,[[${tdPropertyManager.areaId}]])
}) ,
});
},500)
< / script >
< / body >
@ -4,7 +4,7 @@
< th:block th:include = "include :: header('涉密资产统计')" / >
< / head >
< body class = "gray-bg" >
< div class = "container-div" >
< div class = "container-div" id = "app" >
< div class = "row" >
< div class = "col-sm-12 search-collapse" >
< form id = "formId" >
@ -19,8 +19,13 @@
< input type = "text" name = "useId" / >
< / li >
< li >
< label > 所在市州:< / label >
< input type = "text" name = "part" / >
< label > 所属市州:< / label >
< select id = "City" name = "part" @ change = "getAreaList()" v-model = "City" >
< option value = "" > 请选择< / option >
< option v-for = "option in CityList" :value = "option.id" :key = "option.id" >
{{ option.name }}
< / option >
< / select >
< / li >
< li >
< a class = "btn btn-primary btn-rounded btn-sm" onclick = "$.table.search()" > < i class = "fa fa-search" > < / i > 搜索< / a >
@ -47,7 +52,57 @@
var removeFlag = [[${@permission.hasPermi('system:property:remove')}]];
var listFlag = [[${@permission.hasPermi('system:property:list')}]];
var prefix = ctx + "system/propertynum";
let datas = []
$.ajax({
url: ctx + "system/area/getAllList",
type: 'GET',
data:{parentId:''} ,
success:((res)=>{
datas = res.data
}) ,
});
var app = new Vue({
el: '#app',
data: {
CityList: [],
AreaList:[],
City:'',
Area:'',
params:{
parentId:'',
}
},
mounted(){
// 初始化地市列表
this.getCityList();
if (this.City){
this.getAreaList()
}
},
methods:{
getCityList(){
$.ajax({
url: ctx + "system/area/getSysAreaList",
type: 'GET',
data:this.params ,
success:((res)=>{
this.CityList = res.data
}) ,
});
},
getAreaList(){
this.params.parentId = this.City
$.ajax({
url: ctx + "system/area/getSysAreaList",
type: 'GET',
data:this.params,
success:((res)=>{
this.AreaList = res.data
}) ,
});
}
}
})
$(function() {
var options = {
url: prefix + "/list",
@ -61,11 +116,17 @@
},
{
field: 'part',
title: '所属市州'
title: '所属市州',
formatter: function(value, row, index) {
return getCity(datas, value)
}
},
{
field: 'areaId',
title: '所属区县'
title: '所属区县',
formatter: function(value, row, index) {
return getCity(datas, value)
}
},
{
field: 'useDepart',