|
|
|
@ -30,8 +30,8 @@ |
|
|
|
</el-row> |
|
|
|
<el-row> |
|
|
|
<el-col :span="24"> |
|
|
|
<el-form-item :label="$t('form.password')" prop="sdrmm"> |
|
|
|
<el-input type="text" v-model="form.sdrmm" maxlength="20" :placeholder="$t('form.placeholderInput')" /> |
|
|
|
<el-form-item :label="$t('form.password')" prop="qmrmm"> |
|
|
|
<el-input type="text" v-model="form.qmrmm" maxlength="20" :placeholder="$t('form.placeholderInput')" /> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
@ -45,7 +45,7 @@ |
|
|
|
</template> |
|
|
|
|
|
|
|
<script> |
|
|
|
import { mjy_jd, mjy_jdBatch } from "@/api/business/mjy/mjy" |
|
|
|
import { sj_jd, sj_jdBatch } from "@/api/business/sj/sj" |
|
|
|
import { mapGetters } from 'vuex' |
|
|
|
import SelectList from "./SelectList"; |
|
|
|
|
|
|
|
@ -60,7 +60,7 @@ export default { |
|
|
|
open: false, |
|
|
|
form: {}, |
|
|
|
rules: { |
|
|
|
sdrmm: [{ |
|
|
|
qmrmm: [{ |
|
|
|
required: true, |
|
|
|
message: ' ', |
|
|
|
trigger: 'blur' |
|
|
|
@ -111,12 +111,12 @@ export default { |
|
|
|
this.$refs["form"].validate(valid => { |
|
|
|
if (valid) { |
|
|
|
if (this.isBatch) { |
|
|
|
mjy_jdBatch(this.form).then(response => { |
|
|
|
sj_jdBatch(this.form).then(response => { |
|
|
|
this.open = false |
|
|
|
this.$emit('callback') |
|
|
|
}) |
|
|
|
} else { |
|
|
|
mjy_jd(this.form).then(response => { |
|
|
|
sj_jd(this.form).then(response => { |
|
|
|
this.open = false |
|
|
|
this.$emit('callback') |
|
|
|
}) |
|
|
|
|