注释底部关停原因

lijinlongNew
严飞永 2 days ago
parent b208d25bd5
commit 999bbe00e0

@ -3002,21 +3002,20 @@
<span class="top-title-box">新监管业务形态</span>
</el-row>
<el-row style="margin: 20px 0">
<el-radio-group
<el-checkbox-group
v-model="ruleForm.xjgywxt.remark"
size="medium"
@input="changeRadio"
@change="handleCheckboxChange"
style="margin-left: 170px"
>
<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-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-row>
<div v-if="ruleForm.xjgywxt.remark == 1">
<div v-if="Array.isArray(ruleForm.xjgywxt.remark) && ruleForm.xjgywxt.remark[0] === '1'">
<!-- 云平台 -->
<el-row style="margin: 10px 0">
<span class="top-title-two-box">云平台</span>
@ -3127,7 +3126,7 @@
</el-col>
</el-row>
</div>
<div v-if="ruleForm.xjgywxt.remark == 2">
<div v-if="Array.isArray(ruleForm.xjgywxt.remark) && ruleForm.xjgywxt.remark[0] === '2'">
<!-- 大数据 -->
<el-row style="margin: 10px 0">
<span class="top-title-two-box">大数据</span>
@ -3222,7 +3221,7 @@
</el-col>
</el-row>
</div>
<div v-if="ruleForm.xjgywxt.remark == 3">
<div v-if="Array.isArray(ruleForm.xjgywxt.remark) && ruleForm.xjgywxt.remark[0] === '3'">
<!-- 一般物联网设备 -->
<el-row style="margin: 10px 0">
<span class="top-title-two-box">一般物联网设备</span>
@ -3425,7 +3424,7 @@
</el-col>
</el-row>
</div>
<div v-if="ruleForm.xjgywxt.remark == 4">
<div v-if="Array.isArray(ruleForm.xjgywxt.remark) && ruleForm.xjgywxt.remark[0] === '4'">
<!-- 移动APP -->
<el-row style="margin: 10px 0">
<span class="top-title-two-box">移动APP</span>
@ -3516,7 +3515,7 @@
</el-col>
</el-row>
</div>
<div v-if="ruleForm.xjgywxt.remark == 5">
<div v-if="Array.isArray(ruleForm.xjgywxt.remark) && ruleForm.xjgywxt.remark[0] === '5'">
<!-- 工业控制 -->
<el-row style="margin: 10px 0">
<span class="top-title-two-box">工业控制</span>
@ -3709,7 +3708,7 @@
</el-col>
</el-row>
</div>
<div v-if="ruleForm.xjgywxt.remark == 6">
<div v-if="Array.isArray(ruleForm.xjgywxt.remark) && ruleForm.xjgywxt.remark[0] === '6'">
<!-- CDN信息 -->
<el-row style="margin: 10px 0">
<span class="top-title-two-box">CDN信息</span>
@ -4577,14 +4576,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"
@ -4699,7 +4698,7 @@ export default {
],
//
xjgywxt: {
remark: "",
remark: [],
},
// --
glymList: [
@ -4894,6 +4893,12 @@ export default {
}
},
methods: {
handleCheckboxChange(val) {
//
if (val.length > 1) {
this.ruleForm.xjgywxt.remark = [val[val.length - 1]];
}
},
//
generateFullUrl(url) {
if (!url) return "";
@ -4924,10 +4929,21 @@ export default {
getInfo(id) {
assetInfo(id).then((res) => {
this.ruleForm = res.data;
if (!this.ruleForm.xjgywxt) {
this.ruleForm.xjgywxt = {};
this.$set(this.ruleForm.xjgywxt, "remark", "");
}
// 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 = [];
}
}
if (this.ruleForm.fwwz) {
let arr = this.ruleForm.fwwz.split("-");
this.select = arr[0];
@ -5235,6 +5251,15 @@ 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(",");

@ -5224,14 +5224,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"

@ -5066,14 +5066,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

@ -5182,14 +5182,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

Loading…
Cancel
Save