Commit 32fb48ed by yuhao

修改服务器ip

parent b0d9a4a8
...@@ -33,10 +33,14 @@ ...@@ -33,10 +33,14 @@
style="text-align: left;height: 30px;font-size: 16px;font-family: Microsoft YaHei;font-weight: bold;line-height: 30px;opacity: 1;"> style="text-align: left;height: 30px;font-size: 16px;font-family: Microsoft YaHei;font-weight: bold;line-height: 30px;opacity: 1;">
<div>{{ codeTreeConfig.title }}</div> <div>{{ codeTreeConfig.title }}</div>
</div> </div>
<el-input placeholder="输入关键字进行过滤" <el-input :placeholder="currentItem.placeholder"
v-model="filterText" v-model="filterText"
style="margin-bottom:4px;width:calc(100% - 26px) !important; margin-left: 15px; margin-top: 2px;"> style="width:80% !important;margin:2px 8px 4px 15px;">
</el-input> </el-input>
<el-button v-if="currentItem.placeholder=='请输入单位全称进行查询'"
@click="searchBtn()"
type="primary"
size="medium">搜索</el-button>
<div style="width: calc(100% - 18px);height:calc(100% - 42px);overflow-y:auto;border-bottom:1px solid #F2F2F2;margin-left: 7px;"> <div style="width: calc(100% - 18px);height:calc(100% - 42px);overflow-y:auto;border-bottom:1px solid #F2F2F2;margin-left: 7px;">
<el-tree :props="codeTreeConfig.props" <el-tree :props="codeTreeConfig.props"
node-key="id" node-key="id"
...@@ -99,19 +103,26 @@ export default { ...@@ -99,19 +103,26 @@ export default {
}, },
watch: { watch: {
filterText (val) { filterText (val) {
clearTimeout(this.fdId); if (this.currentItem.placeholder != '请输入单位全称进行查询') {
if (val != '湖' && val != '湖南' && val != '湖南省') { clearTimeout(this.fdId);
this.fdId = setTimeout(() => { if (val != '湖' && val != '湖南' && val != '湖南省' && val != '刑侦' && val != '刑事' && val != '侦查') {
this.$refs.codeTreeDialog.filter(val); this.fdId = setTimeout(() => {
}, 500); this.$refs.codeTreeDialog.filter(val);
} else { }, 500);
this.fdId = setTimeout(() => { } else {
this.$refs.codeTreeDialog.filter(); this.fdId = setTimeout(() => {
}, 500); this.$refs.codeTreeDialog.filter();
}, 500);
}
} }
}, },
}, },
methods: { methods: {
searchBtn () {
if (this.filterText != '湖' && this.filterText != '湖南' && this.filterText != '湖南省' && this.filterText != '刑侦' && this.filterText != '刑事' && this.filterText != '侦查') {
this.$refs.codeTreeDialog.filter(this.filterText);
}
},
removeTag (val) { removeTag (val) {
let self = this, label = ""; let self = this, label = "";
self.codeTreeConfig.fieldItem.splice(self.codeTreeConfig.fieldItem.findIndex(item => item.id === val), 1) self.codeTreeConfig.fieldItem.splice(self.codeTreeConfig.fieldItem.findIndex(item => item.id === val), 1)
......
...@@ -11983,13 +11983,13 @@ let rzcxPropLeftMenu = [ ...@@ -11983,13 +11983,13 @@ let rzcxPropLeftMenu = [
// index: '7-3', // index: '7-3',
// } // }
{ {
id: 'cpu13', id: 'cpu174',
label: '65.26.2.13服务器', label: '65.26.106.174服务器',
index: '7-1', index: '7-1',
}, },
{ {
id: 'cpu296', id: 'cpu296',
label: '65.26.2.96服务器', label: '65.26.106.192服务器',
index: '7-2', index: '7-2',
}, },
{ {
...@@ -11998,39 +11998,39 @@ let rzcxPropLeftMenu = [ ...@@ -11998,39 +11998,39 @@ let rzcxPropLeftMenu = [
index: '7-3', index: '7-3',
}, },
{ {
id: 'cpu101', id: 'cpu172',
label: '65.26.2.101服务器', label: '65.26.106.172服务器',
index: '7-4', index: '7-4',
}, },
{ {
id: 'cpu173', id: 'cpu201',
label: '65.26.2.173服务器', label: '65.26.106.201服务器',
index: '7-5', index: '7-5',
}, },
{ {
id: 'cpu144', id: 'cpu193',
label: '65.26.2.144服务器', label: '65.26.106.193服务器',
index: '7-6', index: '7-6',
}, },
{ {
id: 'cpu184', id: 'cpu208',
label: '65.26.2.184服务器', label: '65.26.106.208服务器',
index: '7-7', index: '7-7',
}, },
{ {
id: 'cpu204', id: 'cpu197',
label: '65.26.2.204服务器', label: '65.26.106.197服务器',
index: '7-8', index: '7-8',
}, },
{ {
id: 'cpu252', id: 'cpu213',
label: '65.26.2.252服务器', label: '65.26.106.213服务器',
index: '7-9', index: '7-9',
}, },
{ {
id: 'cpu253', id: 'cpu185',
label: '65.26.2.253服务器', label: '65.26.106.185服务器',
index: '7-10', index: '7-10',
}, },
{ {
...@@ -12355,7 +12355,7 @@ let rzcxCxQueryField = [ ...@@ -12355,7 +12355,7 @@ let rzcxCxQueryField = [
type: 'codeTreeDialog', //字典弹框 type: 'codeTreeDialog', //字典弹框
props: [], //字典弹框需要的字段 props: [], //字典弹框需要的字段
value: '', value: '',
placeholder: '', placeholder: '请输入单位全称进行查询',
codeOptions: [], codeOptions: [],
codeTree: 'CODE_UNIT', codeTree: 'CODE_UNIT',
col: '3' col: '3'
...@@ -12532,7 +12532,7 @@ let rzcxGnCxQueryField = [ ...@@ -12532,7 +12532,7 @@ let rzcxGnCxQueryField = [
type: 'codeTreeDialog', //字典弹框 type: 'codeTreeDialog', //字典弹框
props: [], //字典弹框需要的字段 props: [], //字典弹框需要的字段
value: '', value: '',
placeholder: '', placeholder: '请输入单位全称进行查询',
codeOptions: [], codeOptions: [],
codeTree: 'CODE_UNIT', codeTree: 'CODE_UNIT',
col: '3' col: '3'
...@@ -12717,7 +12717,7 @@ let rzcxSyqkCxQueryField = [ ...@@ -12717,7 +12717,7 @@ let rzcxSyqkCxQueryField = [
type: 'codeTreeDialog', //字典弹框 type: 'codeTreeDialog', //字典弹框
props: [], //字典弹框需要的字段 props: [], //字典弹框需要的字段
value: '', value: '',
placeholder: '', placeholder: '请输入单位全称进行查询',
codeOptions: [], codeOptions: [],
codeTree: 'CODE_UNIT', codeTree: 'CODE_UNIT',
col: '3' col: '3'
...@@ -13671,7 +13671,7 @@ let gnfwcxQueryField = [ ...@@ -13671,7 +13671,7 @@ let gnfwcxQueryField = [
type: 'codeTreeDialog', //字典弹框 type: 'codeTreeDialog', //字典弹框
props: [], //字典弹框需要的字段 props: [], //字典弹框需要的字段
value: '', value: '',
placeholder: '', placeholder: '请输入单位全称进行查询',
codeOptions: [], codeOptions: [],
codeTree: 'CODE_UNIT', codeTree: 'CODE_UNIT',
col: '3' col: '3'
......
...@@ -106,7 +106,7 @@ export default { ...@@ -106,7 +106,7 @@ export default {
console.log(e); console.log(e);
let path = e.query.path.replace('服务器', ''); let path = e.query.path.replace('服务器', '');
// console.log(path); // console.log(path);
this.url = `http://${path}:19999` this.url = `https://10.142.16.96:5502/fwqjk/${path}:19999/#menu_system_submenu_cpu;theme=slate;help=true`
// this.url = `http://74.6.54.${e.params.id}:19999` // this.url = `http://74.6.54.${e.params.id}:19999`
}, },
deep: true, deep: true,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment