个性化证书发放纸质填写邮政信息验证

dev
许宏杰 2 years ago
parent a35b36b3d1
commit 9d04d89cfe

@ -7,7 +7,7 @@ ENV = 'development'
# 苏州园区志愿服务活动区块链平台/开发环境 # 苏州园区志愿服务活动区块链平台/开发环境
# VUE_APP_BASE_API = 'https://vue.ruoyi.vip/prod-api' # VUE_APP_BASE_API = 'https://vue.ruoyi.vip/prod-api'
VUE_APP_BASE_API = 'http://39.101.188.84:9034' VUE_APP_BASE_API = 'http://39.101.188.84:9034'
# VUE_APP_BASE_API = 'http:///192.168.0.120:9034' # VUE_APP_BASE_API = 'http:///192.168.0.119:9034'
# 路由懒加载 # 路由懒加载
VUE_CLI_BABEL_TRANSPILE_MODULES = true VUE_CLI_BABEL_TRANSPILE_MODULES = true

@ -129,7 +129,7 @@
<span class="title-line"></span> <span class="title-line"></span>
邮政信息 邮政信息
</div> </div>
<el-form ref="form" :model="form" :rules="rules" label-width="80px"> <el-form ref="zzform" :model="form" :rules="zzrules" label-width="80px">
<el-form-item label="快递公司" prop="courierCompanies"> <el-form-item label="快递公司" prop="courierCompanies">
<el-input <el-input
v-model="form.courierCompanies" v-model="form.courierCompanies"
@ -257,7 +257,7 @@ export default {
infoShow: false, infoShow: false,
infoOpen: false, infoOpen: false,
form: {}, form: {},
rules: { zzrules: {
courierCompanies: [ courierCompanies: [
{ required: true, message: "请输入快递公司", trigger: "blur" }, { required: true, message: "请输入快递公司", trigger: "blur" },
], ],
@ -365,15 +365,19 @@ export default {
}, },
/**纸制提交 */ /**纸制提交 */
submitForm() { submitForm() {
this.$refs["form"].validate((valid) => { this.$refs["zzform"].validate((valid) => {
let data = { if (valid) {
status: 1, let data = {
courierCompanies: this.form.courierCompanies, status: 1,
id: this.form.id, courierCompanies: this.form.courierCompanies,
trackingNumber: this.form.trackingNumber, id: this.form.id,
type: 2, // 1: 2: trackingNumber: this.form.trackingNumber,
}; type: 2, // 1: 2:
this.subIssue(data); };
this.subIssue(data);
} else {
return false;
}
}); });
}, },
// //

@ -300,7 +300,7 @@ export default {
/**搜索 */ /**搜索 */
handleSearch(keyWord) { handleSearch(keyWord) {
this.queryParams = { this.queryParams = {
status: 1, // status: 1,
UId: this.$store.getters.userId, UId: this.$store.getters.userId,
certificateName: keyWord, certificateName: keyWord,
pageNum: 1, pageNum: 1,

Loading…
Cancel
Save