指标加入全局变量字段选项

This commit is contained in:
bruce\fibo-zhu
2022-08-10 11:44:58 +08:00
parent 103380c692
commit a797c3dd1a
4 changed files with 1722 additions and 1723 deletions

View File

@@ -76,7 +76,7 @@ switch (process.env.NODE_ENV) {
case 'wang': // 汪环境 case 'wang': // 汪环境
proxyObj = { proxyObj = {
'/Riskmanage': { '/Riskmanage': {
target: 'http://192.168.50.228:8080', // 生产环境 target: 'http://192.168.50.223:8080', // 生产环境
changeOrigin: true, // 是否跨域 changeOrigin: true, // 是否跨域
pathRewrite: { pathRewrite: {
'^/Riskmanage': '/Riskmanage' '^/Riskmanage': '/Riskmanage'

File diff suppressed because it is too large Load Diff

View File

@@ -324,6 +324,7 @@
type: 'success' type: 'success'
}); });
this.getlist() this.getlist()
this.selection = []
this.$store.dispatch('reGetfielduser') this.$store.dispatch('reGetfielduser')
} }
}) })

View File

@@ -104,7 +104,7 @@
</div> </div>
<div> <div>
<p>值类型 : </p> <p>值类型 : </p>
<el-select v-model="valueType" placeholder="请选择"> <el-select v-model="valueType" placeholder="请选择" style="width: 100%;">
<el-option label="数值型" :value="1" v-if="ftype != 5" /> <el-option label="数值型" :value="1" v-if="ftype != 5" />
<el-option label="字符型" :value="2" v-if="ftype != 5" /> <el-option label="字符型" :value="2" v-if="ftype != 5" />
<!-- <el-option label="枚举型" :value="3" /> --> <!-- <el-option label="枚举型" :value="3" /> -->
@@ -113,6 +113,10 @@
<el-option label="JSON型" :value="6" /> <el-option label="JSON型" :value="6" />
</el-select> </el-select>
</div> </div>
</div>
<div style="margin: 10px 30px;">
<el-checkbox v-model="isLocalVariable">是否局部变量</el-checkbox>
</div> </div>
<div style="flex: 1;overflow: auto;"> <div style="flex: 1;overflow: auto;">
@@ -202,8 +206,7 @@
<el-select v-model="MqType" placeholder="请选择类型" style="margin-top: 20px;width: 200px;" <el-select v-model="MqType" placeholder="请选择类型" style="margin-top: 20px;width: 200px;"
@change="MqId = ''"> @change="MqId = ''">
<el-option v-for="item in MqlistType" :key="item.type" :label="item.type" <el-option v-for="item in MqlistType" :key="item.type" :label="item.type" :value="item.type">
:value="item.type">
</el-option> </el-option>
</el-select> </el-select>
@@ -314,6 +317,7 @@
lest: "", //暂存末尾 lest: "", //暂存末尾
isshow: false, isshow: false,
islest: true, islest: true,
isLocalVariable: false,//是否为局部变量
isStaticJsonValue: 0, //json是否为静态的 0为否 isStaticJsonValue: 0, //json是否为静态的 0为否
// interfaceList: [], // interfaceList: [],
ruledata: [{ ruledata: [{
@@ -363,7 +367,7 @@
.interfaceParseField.split('.') : '' .interfaceParseField.split('.') : ''
this.fid = res.data.fieldVo.fieldTypeId this.fid = res.data.fieldVo.fieldTypeId
this.isOutput = res.data.fieldVo.isOutput == 1 ? true : false this.isOutput = res.data.fieldVo.isOutput == 1 ? true : false
this.isLocalVariable = res.data.fieldVo.isLocalVariable
if (res.data.fieldVo.isDerivative) { if (res.data.fieldVo.isDerivative) {
this.isDerivative = 'Derivative' this.isDerivative = 'Derivative'
} else if (res.data.fieldVo.useSql) { } else if (res.data.fieldVo.useSql) {
@@ -651,6 +655,7 @@
dataSourceId: 0, dataSourceId: 0,
sqlStatement: '', //sql语句 sqlStatement: '', //sql语句
sourceType: this.ftype, sourceType: this.ftype,
isLocalVariable: this.isLocalVariable
} }
if (this.valueType == 6) { if (this.valueType == 6) {