622f2d17 by 田浩浩

1111

1 parent 8f4a398e
......@@ -25,13 +25,13 @@
</el-col>
<el-col :span="8">
<el-form-item prop="DJDL" class="borderTopNone">
<el-form-item prop="DJLX" class="borderTopNone">
<span slot="label">
登记大类<br />
<p class="label-detail">(DJDL</p>
登记类型<br />
<p class="label-detail">(DJLX</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.DJDL"
:placeholder="$store.state.business.Edit ? '' : '登记大类'">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.DJLX"
:placeholder="$store.state.business.Edit ? '' : '登记类型'">
<el-option v-for="item in dicData['A21']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -40,7 +40,7 @@
</el-row>
<el-row>
<el-col :span="8">
<!-- <el-col :span="8">
<el-form-item prop="DJXL">
<span slot="label">
登记小类: <br />
......@@ -49,7 +49,7 @@
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DJXL"
:placeholder="$store.state.business.Edit ? '' : '登记小类'"></el-input>
</el-form-item>
</el-col>
</el-col> -->
<el-col :span="8">
<el-form-item prop="QXDM">
......@@ -68,24 +68,26 @@
申请证书版式: <br />
<p class="label-detail">(SQZSBS)</p>
</span>
<item-select :placeholder="$store.state.business.Edit ? '' : '申请证书版式'" v-model="ruleForm.SQZSBS"
selectType="A41" transformation />
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.SQZSBS" placeholder="申请证书版式">
<el-option v-for="item in dicData['A41']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
</el-form-item>
</el-col>
</el-row>
<!-- 申请分别持证 -->
<el-row>
<el-col :span="8">
<el-form-item prop="SQFBCZ" :rules="{ type: 'number' }">
<span slot="label">
申请分别持证: <br />
<p class="label-detail">(SQFBCZ)</p>
</span>
<item-select :placeholder="$store.state.business.Edit ? '' : '申请分别持证'" v-model="ruleForm.SQZSBS"
selectType="A6" transformation />
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.SQFBCZ" placeholder="申请分别持证">
<el-option v-for="item in dicData['A6']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-form-item prop="SLRY">
<span slot="label">
......@@ -109,9 +111,6 @@
</el-date-picker>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-form-item prop="ZL">
<span slot="label">
......@@ -122,7 +121,8 @@
:placeholder="$store.state.business.Edit ? '' : '坐落'"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-form-item prop="TZRXM">
<span slot="label">
......@@ -146,9 +146,6 @@
</el-select>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-form-item prop="TZRDH">
<span slot="label">
......@@ -159,7 +156,8 @@
maxlength="11" placeholder="通知人电话" v-model="ruleForm.TZRDH"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-form-item prop="TZRYDDH">
<span slot="label">
......@@ -170,21 +168,17 @@
onkeyup="this.value=this.value.replace(/[^\d.]/g,'');" maxlength="11"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item prop="TZRDZYJ">
<span slot="label">
通知人电子邮件: <br />
<p class="label-detail">(TZRDZYJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.TZRDZYJ"
placeholder="通知人电子邮件"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.TZRDZYJ" placeholder="通知人电子邮件">
</el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-col :span="8">
<el-form-item prop="SFWTAJ">
<span slot="label">
是否问题案件: <br />
......@@ -196,7 +190,8 @@
</el-select>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-form-item prop="JSSJ">
<span slot="label">
......@@ -208,7 +203,6 @@
</el-date-picker>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item prop="AJZT">
<span slot="label">
......@@ -221,9 +215,6 @@
</el-select>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-form-item prop="BZ">
<span slot="label">
......@@ -240,67 +231,67 @@
</template>
<script>
// 登记受理申请信息
import business from '@/api/business'
import ruleMixin from '@/mixins/ruleMixin.js'
import business from "@/api/business";
import ruleMixin from "@/mixins/ruleMixin.js";
export default {
mixins: [ruleMixin],
props: {
bsmSjsb: {
type: String,
default: ''
default: "",
},
bsmYwsjb: {
type: String,
default: ''
}
default: "",
},
},
data () {
data() {
return {
ruleForm: {
YSDM: '',
YWH: '',
DJDL: '',
DJXL: '',
QXDM: '',
YSDM: "",
YWH: "",
DJDL: "",
DJXL: "",
QXDM: "",
SQZSBS: null,
SQFBCZ: null,
SLRY: '',
SLSJ: '',
ZL: '',
TZRXM: '',
TZFS: '',
TZRDH: '',
TZRYDDH: '',
TZRDZYJ: '',
SFWTAJ: '',
JSSJ: '',
AJZT: '',
BZ: ''
}
}
SLRY: "",
SLSJ: "",
ZL: "",
TZRXM: "",
TZFS: "",
TZRDH: "",
TZRYDDH: "",
TZRDZYJ: "",
SFWTAJ: "",
JSSJ: "",
AJZT: "",
BZ: "",
},
};
},
methods: {
async featchData () {
async featchData() {
try {
let { result: res } = await business.getDjtDjSlsqById(this.bsmSjsb)
this.ruleForm = res
let { result: res } = await business.getDjtDjSlsqById(this.bsmSjsb);
this.ruleForm = res;
//this.featchRule()
} catch (error) {
this.$refs.msg.messageShow()
this.$refs.msg.messageShow();
}
},
handleUpdateForm () {
handleUpdateForm() {
return new Promise(async (resolve) => {
try {
let res = await business.updateDjtDjSlsq(this.ruleForm)
resolve(res.code)
let res = await business.updateDjtDjSlsq(this.ruleForm);
resolve(res.code);
} catch (error) {
this.$refs.msg.messageShow()
this.$refs.msg.messageShow();
}
})
});
},
}
}
},
};
</script>
<style scoped lang="scss">
@import "./css/itemForm.scss";
......