Browse Source

2023-8-18 修改该IOserver对照配置页面和视图配置页面

Co-authored-by: zhousq <zhoushaoqiang@sina.com>
pull/1/head
zhousq 1 year ago
parent
commit
8e5a528301
  1. 94
      src/views/transerver/kingcodetransform/index.vue
  2. 4
      src/views/transerver/viewConfig/index.vue

94
src/views/transerver/kingcodetransform/index.vue

@ -1,61 +1,40 @@
<template> <template>
<div class="app-container"> <div class="app-container">
<el-form :model="queryParams" ref="queryRef" :inline="true" v-show="showSearch" label-width="auto"> <el-form :model="queryParams" ref="queryRef" :inline="true" v-show="showSearch" label-width="auto">
<el-form-item label="ISS变量名称" prop="issVarName"> <el-form-item label="变量名称" prop="issVarName">
<el-input <el-input
v-model="queryParams.issVarName" v-model="queryParams.issVarName"
placeholder="请输入ISS变量名称" placeholder="请输入变量名称"
clearable clearable
@keyup.enter="handleQuery" @keyup.enter="handleQuery"
/> />
</el-form-item> </el-form-item>
<el-form-item label="ISS工程名称" prop="issPrjName"> <el-form-item label="工程名称" prop="issPrjName">
<el-input <el-input
v-model="queryParams.issPrjName" v-model="queryParams.issPrjName"
placeholder="请输入ISS工程名称" placeholder="请输入工程名称"
clearable clearable
@keyup.enter="handleQuery" @keyup.enter="handleQuery"
/> />
</el-form-item> </el-form-item>
<el-form-item label="ISS组名称" prop="issGroupName">
<el-input
v-model="queryParams.issGroupName"
placeholder="请输入ISS组名称"
clearable
@keyup.enter="handleQuery"
/>
</el-form-item> </el-form-item>
<el-form-item label="中台设备UUID" prop="centerDeviceuuid"> <el-form-item label="中台设备号" prop="centerDeviceuuid">
<el-input <el-input
v-model="queryParams.centerDeviceuuid" v-model="queryParams.centerDeviceuuid"
placeholder="请输入中台设备UUID" placeholder="请输入中台设备号"
clearable clearable
@keyup.enter="handleQuery" @keyup.enter="handleQuery"
/> />
</el-form-item> </el-form-item>
<el-form-item label="中台参数码" prop="centerParamcode"> <el-form-item label="中台参数码" prop="centerParamcode">
<el-input <el-input
v-model="queryParams.centerParamcode" v-model="queryParams.centerParamcode"
placeholder="请输入中台参数码" placeholder="请输入中台参数码"
clearable clearable
@keyup.enter="handleQuery" @keyup.enter="handleQuery"
/> />
</el-form-item> </el-form-item>
<el-form-item label="ISSRest地址" prop="issResturl">
<el-input
v-model="queryParams.issResturl"
placeholder="请输入ISSRest地址"
clearable
@keyup.enter="handleQuery"
/>
</el-form-item>
<el-form-item label="ISSRest端口号" prop="issRestport">
<el-input
v-model="queryParams.issRestport"
placeholder="请输入ISSRest端口号"
clearable
@keyup.enter="handleQuery"
/>
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
<el-button type="primary" icon="Search" @click="handleQuery">搜索</el-button> <el-button type="primary" icon="Search" @click="handleQuery">搜索</el-button>
@ -98,14 +77,14 @@
<el-table v-loading="loading" :data="kingcodetransformList" @selection-change="handleSelectionChange"> <el-table v-loading="loading" :data="kingcodetransformList" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" align="center" /> <el-table-column type="selection" width="55" align="center" />
<el-table-column label="主键" align="center" prop="id" /> <el-table-column label="主键" align="center" prop="id" />
<el-table-column label="ISS工程名称" align="center" prop="issPrjName" /> <el-table-column label="工程名称" align="center" prop="issPrjName" />
<el-table-column label="ISSRest地址" align="center" prop="issResturl" /> <el-table-column label="服务地址" align="center" prop="issResturl" />
<el-table-column label="ISSRest端口号" align="center" prop="issRestport" /> <el-table-column label="端口号" align="center" prop="issRestport" />
<el-table-column label="ISS组名称" align="center" prop="issGroupName" /> <el-table-column label="组名称" align="center" prop="issGroupName" />
<el-table-column label="ISS变量名称" align="center" prop="issVarName" /> <el-table-column label="变量名称" align="center" prop="issVarName" />
<el-table-column label="ISS变量类型" align="center" prop="issVarType" /> <el-table-column label="变量类型" align="center" prop="issVarType" />
<el-table-column label="中台设备UUID" align="center" prop="centerDeviceuuid" /> <el-table-column label="中台设备" align="center" prop="centerDeviceuuid" />
<el-table-column label="中台参数编码" align="center" prop="centerParamcode" /> <el-table-column label="中台参数" align="center" prop="centerParamcode" />
<el-table-column label="操作" align="center" class-name="small-padding fixed-width"> <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
<template #default="scope"> <template #default="scope">
<el-button <el-button
@ -136,23 +115,28 @@
<el-row> <el-row>
<el-col :span="24"> <el-col :span="24">
<el-form-item label="ISS变量名称" prop="issVarName"> <el-form-item label="工程名称" width="150" prop="issPrjName">
<el-input v-model="form.issVarName" placeholder="请输入ISS变量名称" /> <el-input v-model="form.issPrjName" placeholder="请输入工程名称" required="true"/>
</el-form-item>
</el-col>
<el-col :span="24">
<el-form-item label="服务地址" prop="issResturl">
<el-input v-model="form.issResturl" placeholder="请输入服务地址" />
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="24"> <el-col :span="24">
<el-form-item label="ISS工程名称" width="150" prop="issPrjName"> <el-form-item label="服务端口号" prop="issRestport">
<el-input v-model="form.issPrjName" placeholder="请输入ISS工程名称" /> <el-input v-model="form.issRestport" placeholder="请输入服务端口号" />
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="24"> <el-col :span="24">
<el-form-item label="ISS组名称" prop="issGroupName"> <el-form-item label="变量名称" prop="issVarName">
<el-input v-model="form.issGroupName" placeholder="请输入ISS组名称" /> <el-input v-model="form.issVarName" placeholder="请输入变量名称" required="true" />
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="24"> <el-col :span="24">
<el-form-item label="ISS变量类型" prop="issVarType"> <el-form-item label="变量类型" prop="issVarType">
<el-select v-model="form.issVarType" placeholder="请选择ISS变量类型"> <el-select v-model="form.issVarType" placeholder="请选择变量类型">
<el-option v-for="dict in dc_param_value_type" <el-option v-for="dict in dc_param_value_type"
:key="dict.value" :key="dict.value"
:label="dict.label" /> :label="dict.label" />
@ -161,26 +145,22 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="24"> <el-col :span="24">
<el-form-item label="中台设备UUID" prop="centerDeviceuuid"> <el-form-item label="组名称" prop="issGroupName">
<el-input v-model="form.centerDeviceuuid" placeholder="请输入中台设备UUID" /> <el-input v-model="form.issGroupName" placeholder="请输入组名称" />
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="24"> <el-col :span="24">
<el-form-item label="中台参数编码" prop="centerParamcode"> <el-form-item label="中台设备号" prop="centerDeviceuuid">
<el-input v-model="form.centerParamcode" placeholder="请输入中台参数编码" /> <el-input v-model="form.centerDeviceuuid" placeholder="请输入中台设备号" />
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="24"> <el-col :span="24">
<el-form-item label="ISSRest地址" prop="issResturl"> <el-form-item label="中台参数码" prop="centerParamcode">
<el-input v-model="form.issResturl" placeholder="请输入ISSRest地址" /> <el-input v-model="form.centerParamcode" placeholder="请输入中台参数码" />
</el-form-item>
</el-col>
<el-col :span="24">
<el-form-item label="ISSRest端口号" prop="issRestport">
<el-input v-model="form.issRestport" placeholder="请输入ISSRest端口号" />
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
</el-form> </el-form>
<template #footer> <template #footer>

4
src/views/transerver/viewConfig/index.vue

@ -256,7 +256,7 @@
<el-radio <el-radio
v-for="dict in sys_yes_no" v-for="dict in sys_yes_no"
:key="dict.value" :key="dict.value"
:label="dict.value" :label="dict.label"
>{{dict.label}}</el-radio> >{{dict.label}}</el-radio>
</el-radio-group> </el-radio-group>
</el-form-item> </el-form-item>
@ -267,7 +267,7 @@
<el-radio <el-radio
v-for="dict in sys_yes_no" v-for="dict in sys_yes_no"
:key="dict.value" :key="dict.value"
:label="dict.value" :label="dict.label"
>{{dict.label}}</el-radio> >{{dict.label}}</el-radio>
</el-radio-group> </el-radio-group>
</el-form-item> </el-form-item>

Loading…
Cancel
Save