更新邵军提的最新bug

main
李劲龙 1 month ago
parent b1614b0f10
commit 5c5c078a9e

@ -99,8 +99,8 @@
<section>
<el-table v-loading="loading" :data="tableData" :height="tabHeader" :row-class-name="tableRowClassName" :max-height="tabHeader">
<el-table-column type="index" width="50" label="序号" align="center"/>
<el-table-column label="所属单位" key="ssdw" prop="ssdw" align="center" />
<el-table-column label="移动应用名称" key="appName" prop="appName" align="center" />
<el-table-column label="所属单位" key="ssdw" prop="ssdw" align="center" />
<!-- <el-table-column label="icp备案状态" key="dwmc" prop="dwmc" align="center">
<template slot-scope="scope">
<dict-tag :options="dict.type.project_middle_type" :value="scope.row.projectMiddleType"/>

@ -99,8 +99,8 @@
<section>
<el-table v-loading="loading" :data="tableData" :height="tabHeader" :row-class-name="tableRowClassName" :max-height="tabHeader">
<el-table-column type="index" width="50" label="序号" align="center"/>
<el-table-column label="所属单位" key="ssdw" prop="ssdw" align="center" />
<el-table-column label="公众号名称" key="gzhmc" prop="gzhmc" align="center" />
<el-table-column label="所属单位" key="ssdw" prop="ssdw" align="center" />
<!-- <el-table-column label="单位名称" key="dwmc" prop="dwmc" align="center">
</el-table-column> -->
<el-table-column label="新增时间" key="createTime" prop="createTime" align="center" />

@ -94,12 +94,12 @@
<section>
<el-table v-loading="loading" :data="tableData" :height="tabHeader" :row-class-name="tableRowClassName" :max-height="tabHeader">
<el-table-column type="index" width="50" label="序号" align="center"/>
<el-table-column label="所属单位" key="ssdw" prop="ssdw" align="center" />
<el-table-column label="小程序名称" key="xcxmc" prop="xcxmc" align="center">
<!-- <template slot-scope="scope">
<dict-tag :options="dict.type.zc_xtlx" :value="scope.row.xtlx"/>
</template> -->
</el-table-column>
<el-table-column label="所属单位" key="ssdw" prop="ssdw" align="center" />
<!-- <el-table-column label="单位名称" key="dwmc" prop="dwmc" align="center">
</el-table-column> -->
<!-- <el-table-column label="新增时间" key="createTime" prop="createTime" align="center" /> -->

@ -241,6 +241,7 @@ export default {
}
},
mounted() {
localStorage.removeItem("activeName")
this.getInfo();
this.cancalDebounce();
window.addEventListener('resize', this.cancalDebounce);
@ -386,6 +387,10 @@ export default {
//
handleAdd() {
this.$refs.taskDialog.open()
setTimeout(() => {
this.$refs.ruleForm.clearValidate()
}, 100);
},
//
importClose() {

@ -301,6 +301,8 @@ export default {
console.log(tab);
this.activeName = tab.name
this.xtmcName = tab.$attrs.xtmcName,
localStorage.setItem("activeName",this.activeName)
this.handleQuery()
},
//
@ -408,6 +410,10 @@ export default {
});
})
this.activeName = this.chanckListTow[0].lable
if(localStorage.getItem("activeName")){
this.activeName = localStorage.getItem("activeName")
localStorage.setItem("activeName",this.activeName)
}
this.handleQuery();
},

@ -44,7 +44,7 @@
required: true,
pattern: /^[a-zA-Z0-9]{18}$/,
message: '请输入正确格式的18位统一社会信用代码',
trigger: 'blur'
trigger: 'change'
},
]" label="统一社会信用代码" required>
@ -149,7 +149,7 @@
type: 'email',
required: true,
message: '请输入正确的邮箱地址',
trigger: ['blur', 'change']
trigger: ['change', 'change']
}
]"
>
@ -209,7 +209,7 @@
required: true,
pattern: /^1[3|4|5|6|7|8|9][0-9]\d{8}$/,
message: '请输入正确的手机号码',
trigger: 'blur'
trigger: 'change'
}
]"
>
@ -226,7 +226,7 @@
required: true,
type: 'email',
message: '请输入正确的邮箱地址',
trigger: ['blur', 'change']
trigger: ['change', 'change']
}
]"
>
@ -295,27 +295,26 @@ export default {
data() {
return {
ruleForm:{
},
rules: {
ssdw: [
{ required: true, message: "所属单位不能为空", trigger: "blur" }
{ required: true, message: "所属单位不能为空", trigger: "change" }
],
xcxmc: [
{ required: true, message: "小程序名称不能为空", trigger: "blur" }
{ required: true, message: "小程序名称不能为空", trigger: "change" }
],
appId: [
{ required: true, message: "APPID不能为空", trigger: "blur" }
{ required: true, message: "APPID不能为空", trigger: "change" }
],
rzzt: [
{ required: true, message: "认证主体不能为空", trigger: "blur" }
{ required: true, message: "认证主体不能为空", trigger: "change" }
],
state: [
{ required: true, message: "小程序状态不能为空", trigger: "change" }
],
ysId: [
{ required: true, message: "账号原始ID不能为空", trigger: "blur" }
{ required: true, message: "账号原始ID不能为空", trigger: "change" }
],
packState: [
{ required: true, message: "小程序包状态不能为空", trigger: "change" }
@ -330,13 +329,13 @@ export default {
{ required: true, message: "认证类型不能为空", trigger: "change" }
],
icpState: [
{ required: true, message: "icp备案状态不能为空", trigger: "blur" }
{ required: true, message: "icp备案状态不能为空", trigger: "change" }
],
ymbmd: [
{ required: true, message: "域名白名单不能为空", trigger: "blur" }
{ required: true, message: "域名白名单不能为空", trigger: "change" }
],
fwlm: [
{ required: true, message: "服务类目不能为空", trigger: "blur" }
{ required: true, message: "服务类目不能为空", trigger: "change" }
],
sshy: [
@ -349,24 +348,24 @@ export default {
{ required: true, message: "行政区划不能为空", trigger: "change" }
],
xtzrr: [
{ required: true, message: "系统责任人不能为空", trigger: "blur" }
{ required: true, message: "系统责任人不能为空", trigger: "change" }
],
xtzrryx: [
{ required: true, message: "系统责任人邮箱不能为空", trigger: "blur" },
{ type: 'email', message: "请输入正确的邮箱地址", trigger: ["blur", "change"] }
{ required: true, message: "系统责任人邮箱不能为空", trigger: "change" },
{ type: 'email', message: "请输入正确的邮箱地址", trigger: ["change", "change"] }
],
xtzrrdz: [
{ required: true, message: "系统责任人地址不能为空", trigger: "blur" }
{ required: true, message: "系统责任人地址不能为空", trigger: "change" }
],
yycjAppid: [
{ required: true, message: "引入插件APPID不能为空", trigger: "blur" }
{ required: true, message: "引入插件APPID不能为空", trigger: "change" }
],
yycjKfz: [
{ required: true, message: "引用插件(开发者)不能为空", trigger: "blur" }
{ required: true, message: "引用插件(开发者)不能为空", trigger: "change" }
],
xtjj: [
{ required: true, message: "系统简介不能为空", trigger: "blur" }
{ required: true, message: "系统简介不能为空", trigger: "change" }
]
},
@ -404,6 +403,12 @@ export default {
}
assetTaskminitaskSh(obj).then(res=>{
this.ruleForm = res.data;
console.log(111);
setTimeout(() => {
this.$refs.ruleForm.clearValidate()
}, 100);
})
},
//
@ -427,7 +432,7 @@ export default {
});
this.$router.go(-1);
this.ruleForm.bfyy = ""
this.$refs.baofei.resetForm()
this.$refs.baofei.resetForm()
})
},

@ -47,7 +47,7 @@
pattern: /^[a-zA-Z0-9]{18}$/,
message: '请输入正确格式的18位统一社会信用代码',
trigger: 'blur'
trigger: 'change'
}
]"
>
@ -178,7 +178,7 @@
pattern: /^1[3|4|5|6|7|8|9][0-9]\d{8}$/,
message: '请输入正确的手机号码',
trigger: 'blur'
trigger: 'change'
}
]"
>
@ -196,7 +196,7 @@
type: 'email',
message: '请输入正确的邮箱地址',
trigger: ['blur', 'change']
trigger: ['change', 'change']
}
]"
>
@ -277,26 +277,26 @@ export default {
},
rules: {
ssdw: [
{ required: true, message: "所属单位不能为空", trigger: "blur" }
{ required: true, message: "所属单位不能为空", trigger: "change" }
],
gzhmc: [
{ required: true, message: "公众号名称不能为空", trigger: "blur" }
{ required: true, message: "公众号名称不能为空", trigger: "change" }
],
wxh: [
{ required: true, message: "微信号不能为空", trigger: "blur" }
{ required: true, message: "微信号不能为空", trigger: "change" }
],
rzzt: [
{ required: true, message: "认证主体不能为空", trigger: "blur" }
{ required: true, message: "认证主体不能为空", trigger: "change" }
],
tyshxydm: [
{ required: true, message: "统一社会信用代码不能为空", trigger: "blur" },
{ pattern: /^[a-zA-Z0-9]{18}$/, message: "请输入正确格式的18位统一社会信用代码", trigger: "blur" }
{ required: true, message: "统一社会信用代码不能为空", trigger: "change" },
{ pattern: /^[a-zA-Z0-9]{18}$/, message: "请输入正确格式的18位统一社会信用代码", trigger: "change" }
],
gzhzt: [
{ required: true, message: "公众号状态不能为空", trigger: "change" }
],
gzhId: [
{ required: true, message: "公众号ID不能为空", trigger: "blur" }
{ required: true, message: "公众号ID不能为空", trigger: "change" }
],
gzhlx: [
{ required: true, message: "公众号类型不能为空", trigger: "change" }
@ -320,30 +320,30 @@ export default {
{ required: true, message: "行政区划不能为空", trigger: "change" }
],
xtzrr: [
{ required: true, message: "系统责任人不能为空", trigger: "blur" }
{ required: true, message: "系统责任人不能为空", trigger: "change" }
],
xtzrrdh: [
{ required: true, message: "系统责任人电话不能为空", trigger: "blur" },
{ pattern: /^1[3|4|5|6|7|8|9][0-9]\d{8}$/, message: "请输入正确的手机号码", trigger: "blur" }
{ required: true, message: "系统责任人电话不能为空", trigger: "change" },
{ pattern: /^1[3|4|5|6|7|8|9][0-9]\d{8}$/, message: "请输入正确的手机号码", trigger: "change" }
],
xtzrryx: [
{ required: true, message: "系统责任人邮箱不能为空", trigger: "blur" },
{ type: 'email', message: "请输入正确的邮箱地址", trigger: ['blur', 'change'] }
{ required: true, message: "系统责任人邮箱不能为空", trigger: "change" },
{ type: 'email', message: "请输入正确的邮箱地址", trigger: ['change', 'change'] }
],
xtzrrdz: [
{ required: true, message: "系统责任人地址不能为空", trigger: "blur" }
{ required: true, message: "系统责任人地址不能为空", trigger: "change" }
],
cdmc: [
{ required: true, message: "菜单信息(菜单名称)不能为空", trigger: "blur" }
{ required: true, message: "菜单信息(菜单名称)不能为空", trigger: "change" }
],
cdlj: [
{ required: true, message: "菜单信息(菜单链接)不能为空", trigger: "blur" }
{ required: true, message: "菜单信息(菜单链接)不能为空", trigger: "change" }
],
cdlx: [
{ required: true, message: "菜单信息(菜单类型)不能为空", trigger: "blur" }
{ required: true, message: "菜单信息(菜单类型)不能为空", trigger: "change" }
],
xtjj: [
{ required: true, message: "系统简介不能为空", trigger: "blur" }
{ required: true, message: "系统简介不能为空", trigger: "change" }
]
},
@ -380,6 +380,10 @@ export default {
}
assetTaskofficetaskSh(obj).then(res=>{
this.ruleForm = res.data;
setTimeout(() => {
this.$refs.ruleForm.clearValidate()
}, 100);
})
},
//

@ -162,7 +162,7 @@
required: true,
pattern: /^1[3|4|5|6|7|8|9][0-9]\d{8}$/,
message: '请输入正确的手机号码',
trigger: 'blur'
trigger: 'change'
}
]"
>
@ -177,7 +177,7 @@
required: true,
type: 'email',
message: '请输入正确的邮箱地址',
trigger: ['blur', 'change']
trigger: ['change', 'change']
}
]"
>
@ -241,19 +241,19 @@ export default {
},
rules: {
ssdw: [
{ required: true, message: "所属单位不能为空", trigger: "blur" }
{ required: true, message: "所属单位不能为空", trigger: "change" }
],
dzyxhz: [
{ required: true, message: "电子邮箱后缀不能为空", trigger: "blur" }
{ required: true, message: "电子邮箱后缀不能为空", trigger: "change" }
],
jslx: [
{ required: true, message: "建设类型不能为空", trigger: "change" }
],
yjxtgys: [
{ required: true, message: "邮件系统供应商不能为空", trigger: "blur" }
{ required: true, message: "邮件系统供应商不能为空", trigger: "change" }
],
mmsf: [
{ required: true, message: "密码算法不能为空", trigger: "blur" }
{ required: true, message: "密码算法不能为空", trigger: "change" }
],
yjxtzc: [
{ required: true, message: "邮件系统状态不能为空", trigger: "change" }
@ -265,7 +265,7 @@ export default {
{ required: true, message: "安全备份环境不能为空", trigger: "change" }
],
szzscs: [
{ required: true, message: "数字证书厂商不能为空", trigger: "blur" }
{ required: true, message: "数字证书厂商不能为空", trigger: "change" }
],
sxsj: [
{ required: true, message: "上线时间不能为空", trigger: "change" }
@ -280,14 +280,14 @@ export default {
{ required: true, message: "行政区划不能为空", trigger: "change" }
],
xtzrr: [
{ required: true, message: "系统责任人不能为空", trigger: "blur" }
{ required: true, message: "系统责任人不能为空", trigger: "change" }
],
xtzrrdz: [
{ required: true, message: "系统责任人地址不能为空", trigger: "blur" }
{ required: true, message: "系统责任人地址不能为空", trigger: "change" }
],
jj: [
{ required: true, message: "简介不能为空", trigger: "blur" }
{ required: true, message: "简介不能为空", trigger: "change" }
]
},
@ -323,6 +323,10 @@ export default {
}
assetTaskemailtaskSh(obj).then(res=>{
this.ruleForm = res.data;
setTimeout(() => {
this.$refs.ruleForm.clearValidate()
}, 100);
})
},
//

@ -58,7 +58,7 @@
required: true,
pattern: /^[a-zA-Z0-9]{18}$/,
message: '请输入正确格式的18位统一社会信用代码',
trigger: 'blur'
trigger: 'change'
}
]"
>
@ -202,23 +202,23 @@ export default {
},
rules: {
ssdw: [
{ required: true, message: "所属单位不能为空", trigger: "blur" }
{ required: true, message: "所属单位不能为空", trigger: "change" }
],
appName: [
{ required: true, message: "移动应用名称不能为空", trigger: "blur" }
{ required: true, message: "移动应用名称不能为空", trigger: "change" }
],
pack: [
{ required: true, message: "包名不能为空", trigger: "blur" }
{ required: true, message: "包名不能为空", trigger: "change" }
],
icpState: [
{ required: true, message: "icp备案状态不能为空", trigger: "change" }
],
icpbah: [
{ required: true, message: "icp备案号不能为空", trigger: "blur" }
{ required: true, message: "icp备案号不能为空", trigger: "change" }
],
wjm: [
{ required: true, message: "文件名不能为空", trigger: "blur" }
{ required: true, message: "文件名不能为空", trigger: "change" }
],
sshy: [
{ required: true, message: "所属行业不能为空", trigger: "change" }
@ -233,22 +233,22 @@ export default {
{ required: true, message: "安全加固情况不能为空", trigger: "change" }
],
bbxx: [
{ required: true, message: "版本信息不能为空", trigger: "blur" }
{ required: true, message: "版本信息不能为空", trigger: "change" }
],
bbh: [
{ required: true, message: "版本信息(版本号)不能为空", trigger: "blur" }
{ required: true, message: "版本信息(版本号)不能为空", trigger: "change" }
],
bbxxMd5: [
{ required: true, message: "版本信息MD5不能为空", trigger: "blur" }
{ required: true, message: "版本信息MD5不能为空", trigger: "change" }
],
bbxxSjpt: [
{ required: true, message: "版本信息(上架平台)不能为空", trigger: "blur" }
{ required: true, message: "版本信息(上架平台)不能为空", trigger: "change" }
],
wjdx: [
{ required: true, message: "文件大小不能为空", trigger: "blur" }
{ required: true, message: "文件大小不能为空", trigger: "change" }
],
jj: [
{ required: true, message: "简介不能为空", trigger: "blur" }
{ required: true, message: "简介不能为空", trigger: "change" }
]
},
@ -284,6 +284,10 @@ export default {
}
assetTaskapptaskSh(obj).then(res=>{
this.ruleForm = res.data;
setTimeout(() => {
this.$refs.ruleForm.clearValidate()
}, 100);
})
},
//

@ -179,6 +179,7 @@ export default {
}
},
mounted() {
localStorage.removeItem("activeName")
console.log(this.$store.state.user);
console.log(this.$store.state.user.roles[0]);

@ -272,8 +272,9 @@ export default {
destroyed() {
window.removeEventListener('resize', this.cancalDebounce);
},
methods: {
handleClick(tab, event) {
console.log(tab.name);
this.formInline = {
@ -281,8 +282,8 @@ export default {
}
this.activeName = tab.name
this.xtmcName = tab.$attrs.xtmcName,
this.handleQuery()
localStorage.setItem("activeName",this.activeName)
this.handleQuery()
},
//
@ -390,11 +391,11 @@ export default {
});
})
this.activeName = this.chanckListTow[0].lable
if(localStorage.getItem("activeName")){
this.activeName = localStorage.getItem("activeName")
localStorage.setItem("activeName",this.activeName)
}
this.handleQuery();
},
titleInfo() {
getassetTaskid(this.$route.query.id || this.$route.meta.id).then(res => {

Loading…
Cancel
Save