Compare commits

..

No commits in common. '999bbe00e081580eac3412a3e3dc66ddfaa68900' and '6c4051cdfd0e63bd28b9d01157dc2d54f923f269' have entirely different histories.

@ -650,19 +650,11 @@
</el-col>
<el-col :span="12" v-if="ruleForm.xtbsfs == 4">
<el-form-item label="云服务商" required>
<!-- <el-input
<el-input
v-model="ruleForm.yfws"
style="width: 100%"
placeholder="请输入云服务商"
></el-input> -->
<el-select v-model="ruleForm.yfws" placeholder="请选择云服务商">
<el-option
v-for="dict in dict.type.yfws"
:key="dict.value"
:label="dict.label"
:value="dict.value"
/>
</el-select>
></el-input>
</el-form-item>
</el-col>
</el-row>
@ -3002,20 +2994,21 @@
<span class="top-title-box">新监管业务形态</span>
</el-row>
<el-row style="margin: 20px 0">
<el-checkbox-group
<el-radio-group
v-model="ruleForm.xjgywxt.remark"
@change="handleCheckboxChange"
size="medium"
@input="changeRadio"
style="margin-left: 170px"
>
<el-checkbox label="1" border>云平台</el-checkbox>
<el-checkbox label="2" border>大数据</el-checkbox>
<el-checkbox label="3" border>物联网</el-checkbox>
<el-checkbox label="4" border>移动APP</el-checkbox>
<el-checkbox label="5" border>工业控制</el-checkbox>
<el-checkbox label="6" border>CDN</el-checkbox>
</el-checkbox-group>
<el-radio label="1" border>云平台</el-radio>
<el-radio label="2" border>大数据</el-radio>
<el-radio label="3" border>物联网</el-radio>
<el-radio label="4" border>移动APP</el-radio>
<el-radio label="5" border>工业控制</el-radio>
<el-radio label="6" border>CDN</el-radio>
</el-radio-group>
</el-row>
<div v-if="Array.isArray(ruleForm.xjgywxt.remark) && ruleForm.xjgywxt.remark[0] === '1'">
<div v-if="ruleForm.xjgywxt.remark == 1">
<!-- 云平台 -->
<el-row style="margin: 10px 0">
<span class="top-title-two-box">云平台</span>
@ -3126,7 +3119,7 @@
</el-col>
</el-row>
</div>
<div v-if="Array.isArray(ruleForm.xjgywxt.remark) && ruleForm.xjgywxt.remark[0] === '2'">
<div v-if="ruleForm.xjgywxt.remark == 2">
<!-- 大数据 -->
<el-row style="margin: 10px 0">
<span class="top-title-two-box">大数据</span>
@ -3221,7 +3214,7 @@
</el-col>
</el-row>
</div>
<div v-if="Array.isArray(ruleForm.xjgywxt.remark) && ruleForm.xjgywxt.remark[0] === '3'">
<div v-if="ruleForm.xjgywxt.remark == 3">
<!-- 一般物联网设备 -->
<el-row style="margin: 10px 0">
<span class="top-title-two-box">一般物联网设备</span>
@ -3424,7 +3417,7 @@
</el-col>
</el-row>
</div>
<div v-if="Array.isArray(ruleForm.xjgywxt.remark) && ruleForm.xjgywxt.remark[0] === '4'">
<div v-if="ruleForm.xjgywxt.remark == 4">
<!-- 移动APP -->
<el-row style="margin: 10px 0">
<span class="top-title-two-box">移动APP</span>
@ -3515,7 +3508,7 @@
</el-col>
</el-row>
</div>
<div v-if="Array.isArray(ruleForm.xjgywxt.remark) && ruleForm.xjgywxt.remark[0] === '5'">
<div v-if="ruleForm.xjgywxt.remark == 5">
<!-- 工业控制 -->
<el-row style="margin: 10px 0">
<span class="top-title-two-box">工业控制</span>
@ -3708,7 +3701,7 @@
</el-col>
</el-row>
</div>
<div v-if="Array.isArray(ruleForm.xjgywxt.remark) && ruleForm.xjgywxt.remark[0] === '6'">
<div v-if="ruleForm.xjgywxt.remark == 6">
<!-- CDN信息 -->
<el-row style="margin: 10px 0">
<span class="top-title-two-box">CDN信息</span>
@ -4576,14 +4569,14 @@
</myUpload>
</el-form-item>
</el-row>
<!-- <el-row style="margin: 10px 0" v-if="ruleForm.bfyy">
<el-row style="margin: 10px 0" v-if="ruleForm.bfyy">
<span class="top-title-box">关停原因</span>
</el-row>
<el-row style="margin: 20px 0">
<el-form-item>
<div>{{ ruleForm.bfyy }}</div>
</el-form-item>
</el-row> -->
</el-row>
</div>
<el-row
style="margin: 10px 0; padding-bottom: 50px; text-align: center"
@ -4653,7 +4646,6 @@ export default {
"xtfhqk_fls",
"database_type",
"sjzc_sjldw",
"yfws",
],
components: {
myUpload,
@ -4698,7 +4690,7 @@ export default {
],
//
xjgywxt: {
remark: [],
remark: "",
},
// --
glymList: [
@ -4893,12 +4885,6 @@ export default {
}
},
methods: {
handleCheckboxChange(val) {
//
if (val.length > 1) {
this.ruleForm.xjgywxt.remark = [val[val.length - 1]];
}
},
//
generateFullUrl(url) {
if (!url) return "";
@ -4929,20 +4915,9 @@ export default {
getInfo(id) {
assetInfo(id).then((res) => {
this.ruleForm = res.data;
// remark
if (!this.ruleForm.xjgywxt) {
this.ruleForm.xjgywxt = {};
this.$set(this.ruleForm.xjgywxt, "remark", []);
} else {
//
if (
typeof this.ruleForm.xjgywxt.remark === "string" &&
this.ruleForm.xjgywxt.remark !== ""
) {
this.ruleForm.xjgywxt.remark = [this.ruleForm.xjgywxt.remark];
} else if (!Array.isArray(this.ruleForm.xjgywxt.remark)) {
this.ruleForm.xjgywxt.remark = [];
}
this.$set(this.ruleForm.xjgywxt, "remark", "");
}
if (this.ruleForm.fwwz) {
let arr = this.ruleForm.fwwz.split("-");
@ -5251,15 +5226,6 @@ export default {
newAssets() {
this.$refs["ruleForm"].validate((valid) => {
if (valid) {
// remark
if (
this.ruleForm.xjgywxt &&
Array.isArray(this.ruleForm.xjgywxt.remark)
) {
// join(',')
this.ruleForm.xjgywxt.remark =
this.ruleForm.xjgywxt.remark[0] || "";
}
this.ruleForm.xttz = this.xttz.join(",");
this.ruleForm.xtfhqkFcg = this.xtfhqkFcg.join(",");
this.ruleForm.xtfhqkFxl = this.xtfhqkFxl.join(",");

@ -921,18 +921,15 @@
prop="yfws"
:rules="{
required: true,
message: '请选择',
trigger: 'change',
message: '请输入',
trigger: 'blur',
}"
>
<el-select v-model="ruleForm.yfws" placeholder="请选择云服务商">
<el-option
v-for="dict in dict.type.yfws"
:key="dict.value"
:label="dict.label"
:value="dict.value"
/>
</el-select>
<el-input
v-model="ruleForm.yfws"
style="width: 100%"
placeholder="请输入云服务商"
></el-input>
</el-form-item>
</el-col>
<!-- <el-col :span="12">
@ -5224,14 +5221,14 @@
</myUpload>
</el-form-item>
</el-row>
<!-- <el-row style="margin: 10px 0" v-if="ruleForm.bfyy">
<el-row style="margin: 10px 0" v-if="ruleForm.bfyy">
<span class="top-title-box">关停原因</span>
</el-row>
<el-row style="margin: 20px 0">
<el-form-item>
<div>{{ ruleForm.bfyy }}</div>
</el-form-item>
</el-row> -->
</el-row>
</div>
<el-row
style="margin: 10px 0; padding-bottom: 50px; text-align: center"
@ -5350,7 +5347,6 @@ export default {
"xtfhqk_fls",
"database_type",
"sjzc_sjldw",
"yfws"
],
components: {
myUpload,

@ -872,18 +872,15 @@
prop="yfws"
:rules="{
required: true,
message: '请选择',
trigger: 'change',
message: '请输入',
trigger: 'blur',
}"
>
<el-select v-model="ruleForm.yfws" placeholder="请选择云服务商">
<el-option
v-for="dict in dict.type.yfws"
:key="dict.value"
:label="dict.label"
:value="dict.value"
/>
</el-select>
<el-input
v-model="ruleForm.yfws"
style="width: 100%"
placeholder="请输入云服务商"
></el-input>
</el-form-item>
</el-col>
<!-- <el-col :span="12">
@ -5066,14 +5063,14 @@
</el-form-item>
</el-row>
</span>
<!-- <el-row style="margin: 10px 0" v-if="ruleForm.bfyy">
<el-row style="margin: 10px 0" v-if="ruleForm.bfyy">
<span class="top-title-box">关停原因</span>
</el-row>
<el-row style="margin: 20px 0">
<el-form-item>
<div>{{ ruleForm.bfyy }}</div>
</el-form-item>
</el-row> -->
</el-row>
</div>
</el-form>
<el-row
@ -5180,7 +5177,6 @@ export default {
"xtfhqk_fls",
"database_type",
"sjzc_sjldw",
"yfws"
],
components: {
myUpload,

@ -896,18 +896,15 @@
prop="yfws"
:rules="{
required: true,
message: '请选择',
trigger: 'change',
message: '请输入',
trigger: 'blur',
}"
>
<el-select v-model="ruleForm.yfws" placeholder="请选择云服务商">
<el-option
v-for="dict in dict.type.yfws"
:key="dict.value"
:label="dict.label"
:value="dict.value"
/>
</el-select>
<el-input
v-model="ruleForm.yfws"
style="width: 100%"
placeholder="请输入云服务商"
></el-input>
</el-form-item>
</el-col>
<!-- <el-col :span="12">
@ -5182,14 +5179,14 @@
</el-form-item>
</el-row>
</span>
<!-- <el-row style="margin: 10px 0" v-if="ruleForm.bfyy">
<el-row style="margin: 10px 0" v-if="ruleForm.bfyy">
<span class="top-title-box">关停原因</span>
</el-row>
<el-row style="margin: 20px 0">
<el-form-item>
<div>{{ ruleForm.bfyy }}</div>
</el-form-item>
</el-row> -->
</el-row>
</div>
</el-form>
<el-row
@ -5301,7 +5298,6 @@ export default {
"xtfhqk_fls",
"database_type",
"sjzc_sjldw",
"yfws"
],
components: {
myUpload,

Loading…
Cancel
Save