parent
12f01469ab
commit
34b9ef65bf
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,274 @@
|
||||
<!-- 小程序表单 -->
|
||||
<template>
|
||||
<div class="L-assets-info">
|
||||
<div class="assets-info-top">
|
||||
<el-row style="margin: 10px 0;">
|
||||
<span class="top-title-box">基本信息</span>
|
||||
</el-row>
|
||||
<div class="assets-info-box">
|
||||
<el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="170px" class="demo-ruleForm" label-position="right" :disabled="disabled">
|
||||
<el-row>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="单位名称" required prop="dwmc">
|
||||
<!-- <el-input v-model="ruleForm.dwmc" placeholder="请输入单位名称"></el-input> -->
|
||||
<el-autocomplete
|
||||
v-model="ruleForm.dwmc"
|
||||
:fetch-suggestions="querySearchAsync"
|
||||
placeholder="请输入单位名称"
|
||||
|
||||
></el-autocomplete>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="小程序名称" required prop="xtmc">
|
||||
<el-input v-model="ruleForm.xtmc" placeholder="请输入小程序名称"></el-input>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="APPID">
|
||||
<el-input v-model="ruleForm.jfxx" style="width: 100%;" placeholder="请输入APPID"></el-input>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="认证主体" required>
|
||||
<el-input v-model="ruleForm.jfxx" style="width: 100%;" placeholder="请输入认证主体"></el-input>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row>
|
||||
<el-col :span="12">
|
||||
<el-form-item class="daoqitixingren" prop="tyshxydm" label="统一社会信用代码"
|
||||
:rules="[
|
||||
{
|
||||
pattern: /^[a-zA-Z0-9]{18}$/,
|
||||
message: '请输入正确格式的18位统一社会信用代码',
|
||||
trigger: 'blur'
|
||||
}
|
||||
]"
|
||||
>
|
||||
<el-input v-model="ruleForm.tyshxydm" placeholder="请输入统一信用代码"></el-input>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="小程序状态">
|
||||
<el-select v-model="ruleForm.xtbq" placeholder="请选择小程序状态">
|
||||
<el-option label="正常" value="1"></el-option>
|
||||
<el-option label="注销" value="2"></el-option>
|
||||
<el-option label="迁移" value="3"></el-option>
|
||||
<el-option label="受限" value="4"></el-option>
|
||||
<el-option label="违规" value="5"></el-option>
|
||||
<el-option label="未知" value="6"></el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="账号原始ID" required>
|
||||
<el-input v-model="ruleForm.jfxx" style="width: 100%;" placeholder="请输入账号原始ID"></el-input>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="小程序包状态">
|
||||
<el-select v-model="ruleForm.xtbq" placeholder="请选择小程序包状态">
|
||||
<el-option label="正常" value="1"></el-option>
|
||||
<el-option label="停用" value="2"></el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="认证状态">
|
||||
<el-select v-model="ruleForm.xtbq" placeholder="请选择认证状态">
|
||||
<el-option label="已认证" value="1"></el-option>
|
||||
<el-option label="未认证" value="2"></el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="认证时间" required>
|
||||
<el-date-picker
|
||||
v-model="ruleForm.ymdqsj"
|
||||
type="date"
|
||||
format="yyyy-MM-dd"
|
||||
value-format="yyyy-MM-dd"
|
||||
placeholder="选择日期">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="认证类型">
|
||||
<el-select v-model="ruleForm.xtbq" placeholder="请选择认证类型">
|
||||
<el-option label="个人" value="1"></el-option>
|
||||
<el-option label="企业" value="2"></el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="icp备案状态" required>
|
||||
<el-input v-model="ruleForm.jfxx" style="width: 100%;" placeholder="请输入icp备案状态"></el-input>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="域名白名单">
|
||||
<el-input v-model="ruleForm.jfxx" style="width: 100%;" placeholder="请输入域名白名单"></el-input>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="服务类目" required>
|
||||
<el-input v-model="ruleForm.jfxx" style="width: 100%;" placeholder="请输入服务类目"></el-input>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="行业电子邮箱">
|
||||
<el-input v-model="ruleForm.jfxx" style="width: 100%;" placeholder="请输入行业电子邮箱"></el-input>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="所属行业" required>
|
||||
<el-input v-model="ruleForm.jfxx" style="width: 100%;" placeholder="请输入所属行业"></el-input>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="重点行业">
|
||||
<el-select v-model="ruleForm.xtbq" placeholder="请选择系统标签">
|
||||
<el-option label="政务" value="1"></el-option>
|
||||
<el-option label="交通" value="2"></el-option>
|
||||
<el-option label="卫健" value="3"></el-option>
|
||||
<el-option label="新闻媒体" value="4"></el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="行政区划" required>
|
||||
<el-cascader
|
||||
size="large"
|
||||
:props="props"
|
||||
:options="options"
|
||||
v-model="dlwz"
|
||||
>
|
||||
</el-cascader>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<!-- TODO明天加字段 -->
|
||||
<el-row>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="系统标签">
|
||||
<el-select v-model="ruleForm.xtbq" placeholder="请选择系统标签">
|
||||
<el-option label="区域一" value="shanghai"></el-option>
|
||||
<el-option label="区域二" value="beijing"></el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="机房信息" required>
|
||||
<el-input v-model="ruleForm.jfxx" style="width: 100%;" placeholder="请输入机房信息"></el-input>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="系统标签">
|
||||
<el-select v-model="ruleForm.xtbq" placeholder="请选择系统标签">
|
||||
<el-option label="区域一" value="shanghai"></el-option>
|
||||
<el-option label="区域二" value="beijing"></el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="机房信息" required>
|
||||
<el-input v-model="ruleForm.jfxx" style="width: 100%;" placeholder="请输入机房信息"></el-input>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="系统标签">
|
||||
<el-select v-model="ruleForm.xtbq" placeholder="请选择系统标签">
|
||||
<el-option label="区域一" value="shanghai"></el-option>
|
||||
<el-option label="区域二" value="beijing"></el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="机房信息" required>
|
||||
<el-input v-model="ruleForm.jfxx" style="width: 100%;" placeholder="请输入机房信息"></el-input>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
</el-form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import pcas from "@/utils/pca-code.json"
|
||||
import { assetUnitData, assetInfo, unitAllList } from "@/api/auditPagesApi/index";
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
options: pcas,
|
||||
props:{
|
||||
value:'value',
|
||||
label:"value",
|
||||
checkStrictly:true,
|
||||
},
|
||||
ruleForm:{
|
||||
|
||||
},
|
||||
rules:{},
|
||||
disabled:false,
|
||||
}
|
||||
},
|
||||
props:['pageType', 'id'],
|
||||
mounted(){
|
||||
if(this.pageType == 'look') {
|
||||
this.getInfo(this.id)
|
||||
this.disabled = true;
|
||||
this.$nextTick(()=>{
|
||||
const inputElements = document.querySelectorAll('.el-input__inner');
|
||||
const textareaInputElements = document.querySelectorAll('.el-textarea__inner');
|
||||
inputElements.forEach((input) => {
|
||||
input.placeholder = '';
|
||||
});
|
||||
textareaInputElements.forEach((input) => {
|
||||
input.placeholder = '';
|
||||
});
|
||||
})
|
||||
} else if(this.pageType == 'change') {
|
||||
this.getInfo(this.id)
|
||||
this.disabled = false;
|
||||
}
|
||||
},
|
||||
methods:{
|
||||
getInfo(id){
|
||||
|
||||
},
|
||||
// 单位名称模糊查询
|
||||
querySearchAsync(queryString, cb){
|
||||
let results = [];
|
||||
unitAllList({nickName: queryString}).then(res => {
|
||||
res.data.forEach(item => {
|
||||
results.push({
|
||||
value: item.nickName,
|
||||
id: item.id,
|
||||
})
|
||||
})
|
||||
})
|
||||
cb(results);
|
||||
},
|
||||
},
|
||||
}
|
||||
</script>
|
@ -0,0 +1,19 @@
|
||||
<template>
|
||||
<div>
|
||||
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
}
|
||||
},
|
||||
props:['pageType', 'id'],
|
||||
methods:{
|
||||
},
|
||||
}
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
|
||||
</style>
|
@ -0,0 +1,19 @@
|
||||
<template>
|
||||
<div>
|
||||
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
}
|
||||
},
|
||||
props:['pageType', 'id'],
|
||||
methods:{
|
||||
},
|
||||
}
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
|
||||
</style>
|
@ -0,0 +1,19 @@
|
||||
<template>
|
||||
<div>
|
||||
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
}
|
||||
},
|
||||
props:['pageType', 'id'],
|
||||
methods:{
|
||||
},
|
||||
}
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
|
||||
</style>
|
Loading…
Reference in new issue