|
|
@ -10,28 +10,28 @@
|
|
|
|
<el-form-item label="企业名称">
|
|
|
|
<el-form-item label="企业名称">
|
|
|
|
<el-input v-model="form.companyName"></el-input>
|
|
|
|
<el-input v-model="form.companyName"></el-input>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
<el-form-item label="统一社会信用代码">
|
|
|
|
<el-form-item label="统一社会信用代码" prop="socialCreditCode">
|
|
|
|
<el-input v-model="form.socialCreditCode"></el-input>
|
|
|
|
<el-input v-model="form.socialCreditCode"></el-input>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
<el-form-item label="企业性质">
|
|
|
|
<el-form-item label="企业性质" prop="companyNature">
|
|
|
|
<el-input v-model="form.companyNature"></el-input>
|
|
|
|
<el-input v-model="form.companyNature"></el-input>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
<el-form-item label="营业期限">
|
|
|
|
<el-form-item label="营业期限" prop="businessTermDate">
|
|
|
|
<el-input v-model="form.businessTermDate"></el-input>
|
|
|
|
<el-input v-model="form.businessTermDate"></el-input>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
<el-form-item label="发照日期">
|
|
|
|
<el-form-item label="发照日期" prop="businessLicenseDate">
|
|
|
|
<el-input v-model="form.businessLicenseDate"></el-input>
|
|
|
|
<el-input v-model="form.businessLicenseDate"></el-input>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
<el-form-item label="成立日期">
|
|
|
|
<el-form-item label="成立日期" prop="establishDate">
|
|
|
|
<el-input v-model="form.establishDate"></el-input>
|
|
|
|
<el-input v-model="form.establishDate"></el-input>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
<el-form-item label="注册资本">
|
|
|
|
<el-form-item label="注册资本" prop="registerCapital">
|
|
|
|
<el-input v-model="form.registerCapital"></el-input>
|
|
|
|
<el-input v-model="form.registerCapital"></el-input>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
<el-form-item label="登记机关">
|
|
|
|
<el-form-item label="登记机关" prop="registerAuthority">
|
|
|
|
<el-input v-model="form.registerAuthority"></el-input>
|
|
|
|
<el-input v-model="form.registerAuthority"></el-input>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
<el-form-item label="企业经营状态">
|
|
|
|
<el-form-item label="企业经营状态" prop="businessStatus">
|
|
|
|
<el-input v-model="form.businessStatus"></el-input>
|
|
|
|
<el-input v-model="form.businessStatus"></el-input>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form>
|
|
|
|
</el-form>
|
|
|
@ -48,7 +48,7 @@
|
|
|
|
<el-form-item label="企业登记注册地">
|
|
|
|
<el-form-item label="企业登记注册地">
|
|
|
|
<el-input v-model="form.registerAddress"></el-input>
|
|
|
|
<el-input v-model="form.registerAddress"></el-input>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
<el-form-item label="企业类型">
|
|
|
|
<el-form-item label="企业类型" prop="companyTypes">
|
|
|
|
<el-checkbox-group v-model="form.companyTypes">
|
|
|
|
<el-checkbox-group v-model="form.companyTypes">
|
|
|
|
<el-checkbox label="剧毒" name="companyTypes"></el-checkbox>
|
|
|
|
<el-checkbox label="剧毒" name="companyTypes"></el-checkbox>
|
|
|
|
<el-checkbox label="易剧毒" name="companyTypes"></el-checkbox>
|
|
|
|
<el-checkbox label="易剧毒" name="companyTypes"></el-checkbox>
|
|
|
@ -61,7 +61,7 @@
|
|
|
|
<el-checkbox label="外资合资" name="companyTypes"></el-checkbox>
|
|
|
|
<el-checkbox label="外资合资" name="companyTypes"></el-checkbox>
|
|
|
|
</el-checkbox-group>
|
|
|
|
</el-checkbox-group>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
<el-form-item label="企业主营范围">
|
|
|
|
<el-form-item label="企业主营范围" prop="businessScope">
|
|
|
|
<el-input type="textarea" v-model="form.businessScope"></el-input>
|
|
|
|
<el-input type="textarea" v-model="form.businessScope"></el-input>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form>
|
|
|
|
</el-form>
|
|
|
@ -73,7 +73,7 @@
|
|
|
|
<el-form-item label="安全责任人">
|
|
|
|
<el-form-item label="安全责任人">
|
|
|
|
<el-input v-model="form.emergencyContact"></el-input>
|
|
|
|
<el-input v-model="form.emergencyContact"></el-input>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
<el-form-item label="责任人电话">
|
|
|
|
<el-form-item label="责任人电话" prop="emergencyContactPhone">
|
|
|
|
<el-input v-model="form.emergencyContactPhone"></el-input>
|
|
|
|
<el-input v-model="form.emergencyContactPhone"></el-input>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form>
|
|
|
|
</el-form>
|
|
|
@ -116,10 +116,10 @@
|
|
|
|
<el-form-item>
|
|
|
|
<el-form-item>
|
|
|
|
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
<el-form-item label="经度">
|
|
|
|
<el-form-item label="经度" prop="longitude">
|
|
|
|
<el-input v-model="form.longitude"></el-input>
|
|
|
|
<el-input v-model="form.longitude"></el-input>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
<el-form-item label="纬度">
|
|
|
|
<el-form-item label="纬度" prop="latitude">
|
|
|
|
<el-input v-model="form.latitude"></el-input>
|
|
|
|
<el-input v-model="form.latitude"></el-input>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
<el-form-item label="企业地址">
|
|
|
|
<el-form-item label="企业地址">
|
|
|
@ -141,14 +141,14 @@
|
|
|
|
</el-option>
|
|
|
|
</el-option>
|
|
|
|
</el-select>
|
|
|
|
</el-select>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
<el-form-item label="所属片区">
|
|
|
|
<el-form-item label="所属片区" prop="belongingArea">
|
|
|
|
<el-input v-model="form.belongingArea"></el-input>
|
|
|
|
<el-input v-model="form.belongingArea"></el-input>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form>
|
|
|
|
</el-form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div slot="footer" class="dialog-footer">
|
|
|
|
<div slot="footer" class="dialog-footer">
|
|
|
|
<el-button @click="saveFormData">确 定</el-button>
|
|
|
|
<el-button @click="saveFormData()">确 定</el-button>
|
|
|
|
<el-button @click="closeForm">取 消</el-button>
|
|
|
|
<el-button @click="closeForm">取 消</el-button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</el-dialog>
|
|
|
|
</el-dialog>
|
|
|
@ -208,8 +208,8 @@ export default {
|
|
|
|
imageUrl: "",
|
|
|
|
imageUrl: "",
|
|
|
|
upUrl: `http://172.18.113.50:8080/zhapi/safety/system/enterpriseList`, // 图片上传地址
|
|
|
|
upUrl: `http://172.18.113.50:8080/zhapi/safety/system/enterpriseList`, // 图片上传地址
|
|
|
|
upheaders: {
|
|
|
|
upheaders: {
|
|
|
|
Authorization: localStorage.getItem('AuthorizationToken')
|
|
|
|
Authorization: localStorage.getItem("AuthorizationToken"),
|
|
|
|
}
|
|
|
|
},
|
|
|
|
};
|
|
|
|
};
|
|
|
|
},
|
|
|
|
},
|
|
|
|
created() {
|
|
|
|
created() {
|
|
|
@ -220,6 +220,12 @@ export default {
|
|
|
|
open(num, item) {
|
|
|
|
open(num, item) {
|
|
|
|
this.visible = true;
|
|
|
|
this.visible = true;
|
|
|
|
if (num === 1) {
|
|
|
|
if (num === 1) {
|
|
|
|
|
|
|
|
// 新建打开时,所有重置表单
|
|
|
|
|
|
|
|
this.$refs["commerceMessage_form"].resetFields();
|
|
|
|
|
|
|
|
this.$refs["commerceMessage_form_two"].resetFields();
|
|
|
|
|
|
|
|
this.$refs["company_person_message_form"].resetFields();
|
|
|
|
|
|
|
|
this.$refs["company_position_form"].resetFields();
|
|
|
|
|
|
|
|
this.$refs["jurisdiction_form"].resetFields();
|
|
|
|
this.dialogTitle = "新建";
|
|
|
|
this.dialogTitle = "新建";
|
|
|
|
this.form = {};
|
|
|
|
this.form = {};
|
|
|
|
} else if (num === 2) {
|
|
|
|
} else if (num === 2) {
|
|
|
@ -307,7 +313,6 @@ export default {
|
|
|
|
if (res.code === 200) {
|
|
|
|
if (res.code === 200) {
|
|
|
|
this.$message.success("新建成功");
|
|
|
|
this.$message.success("新建成功");
|
|
|
|
this.visible = false;
|
|
|
|
this.visible = false;
|
|
|
|
this.form = {};
|
|
|
|
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
this.$message.warning("新建失败");
|
|
|
|
this.$message.warning("新建失败");
|
|
|
|
}
|
|
|
|
}
|
|
|
|