Commit 32fb48ed by yuhao

修改服务器ip

parent b0d9a4a8
......@@ -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;">
<div>{{ codeTreeConfig.title }}</div>
</div>
<el-input placeholder="输入关键字进行过滤"
<el-input :placeholder="currentItem.placeholder"
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-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;">
<el-tree :props="codeTreeConfig.props"
node-key="id"
......@@ -99,19 +103,26 @@ export default {
},
watch: {
filterText (val) {
clearTimeout(this.fdId);
if (val != '湖' && val != '湖南' && val != '湖南省') {
this.fdId = setTimeout(() => {
this.$refs.codeTreeDialog.filter(val);
}, 500);
} else {
this.fdId = setTimeout(() => {
this.$refs.codeTreeDialog.filter();
}, 500);
if (this.currentItem.placeholder != '请输入单位全称进行查询') {
clearTimeout(this.fdId);
if (val != '湖' && val != '湖南' && val != '湖南省' && val != '刑侦' && val != '刑事' && val != '侦查') {
this.fdId = setTimeout(() => {
this.$refs.codeTreeDialog.filter(val);
}, 500);
} else {
this.fdId = setTimeout(() => {
this.$refs.codeTreeDialog.filter();
}, 500);
}
}
},
},
methods: {
searchBtn () {
if (this.filterText != '湖' && this.filterText != '湖南' && this.filterText != '湖南省' && this.filterText != '刑侦' && this.filterText != '刑事' && this.filterText != '侦查') {
this.$refs.codeTreeDialog.filter(this.filterText);
}
},
removeTag (val) {
let self = this, label = "";
self.codeTreeConfig.fieldItem.splice(self.codeTreeConfig.fieldItem.findIndex(item => item.id === val), 1)
......
......@@ -11983,13 +11983,13 @@ let rzcxPropLeftMenu = [
// index: '7-3',
// }
{
id: 'cpu13',
label: '65.26.2.13服务器',
id: 'cpu174',
label: '65.26.106.174服务器',
index: '7-1',
},
{
id: 'cpu296',
label: '65.26.2.96服务器',
label: '65.26.106.192服务器',
index: '7-2',
},
{
......@@ -11998,39 +11998,39 @@ let rzcxPropLeftMenu = [
index: '7-3',
},
{
id: 'cpu101',
label: '65.26.2.101服务器',
id: 'cpu172',
label: '65.26.106.172服务器',
index: '7-4',
},
{
id: 'cpu173',
label: '65.26.2.173服务器',
id: 'cpu201',
label: '65.26.106.201服务器',
index: '7-5',
},
{
id: 'cpu144',
label: '65.26.2.144服务器',
id: 'cpu193',
label: '65.26.106.193服务器',
index: '7-6',
},
{
id: 'cpu184',
label: '65.26.2.184服务器',
id: 'cpu208',
label: '65.26.106.208服务器',
index: '7-7',
},
{
id: 'cpu204',
label: '65.26.2.204服务器',
id: 'cpu197',
label: '65.26.106.197服务器',
index: '7-8',
},
{
id: 'cpu252',
label: '65.26.2.252服务器',
id: 'cpu213',
label: '65.26.106.213服务器',
index: '7-9',
},
{
id: 'cpu253',
label: '65.26.2.253服务器',
id: 'cpu185',
label: '65.26.106.185服务器',
index: '7-10',
},
{
......@@ -12355,7 +12355,7 @@ let rzcxCxQueryField = [
type: 'codeTreeDialog', //字典弹框
props: [], //字典弹框需要的字段
value: '',
placeholder: '',
placeholder: '请输入单位全称进行查询',
codeOptions: [],
codeTree: 'CODE_UNIT',
col: '3'
......@@ -12532,7 +12532,7 @@ let rzcxGnCxQueryField = [
type: 'codeTreeDialog', //字典弹框
props: [], //字典弹框需要的字段
value: '',
placeholder: '',
placeholder: '请输入单位全称进行查询',
codeOptions: [],
codeTree: 'CODE_UNIT',
col: '3'
......@@ -12717,7 +12717,7 @@ let rzcxSyqkCxQueryField = [
type: 'codeTreeDialog', //字典弹框
props: [], //字典弹框需要的字段
value: '',
placeholder: '',
placeholder: '请输入单位全称进行查询',
codeOptions: [],
codeTree: 'CODE_UNIT',
col: '3'
......@@ -13671,7 +13671,7 @@ let gnfwcxQueryField = [
type: 'codeTreeDialog', //字典弹框
props: [], //字典弹框需要的字段
value: '',
placeholder: '',
placeholder: '请输入单位全称进行查询',
codeOptions: [],
codeTree: 'CODE_UNIT',
col: '3'
......
......@@ -106,7 +106,7 @@ export default {
console.log(e);
let path = e.query.path.replace('服务器', '');
// 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`
},
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