|
@@ -0,0 +1,606 @@
|
|
|
+<template>
|
|
|
+ <div>
|
|
|
+ <el-dialog
|
|
|
+ title="域名管理"
|
|
|
+ :visible.sync="dialogVisible"
|
|
|
+ width="50%"
|
|
|
+ :before-close="closeDialog"
|
|
|
+ >
|
|
|
+ <div class="domain-registration-form">
|
|
|
+ <el-form
|
|
|
+ ref="domainForm"
|
|
|
+ :model="domainInformation"
|
|
|
+ :rules="rules"
|
|
|
+ label-width="120px"
|
|
|
+ >
|
|
|
+ <el-form-item label="域名" prop="domainName">
|
|
|
+ <el-input
|
|
|
+ v-model="domainInformation.domainName"
|
|
|
+ placeholder="请输入域名"
|
|
|
+ :disabled="flag === 2"
|
|
|
+ ></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="域名券号" prop="domainCouponNumber">
|
|
|
+ <el-input
|
|
|
+ v-model="domainInformation.domainCouponNumber"
|
|
|
+ disabled
|
|
|
+ ></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="所有人" prop="owner">
|
|
|
+ <el-input
|
|
|
+ v-model="domainInformation.owner"
|
|
|
+ placeholder="请输入所有人"
|
|
|
+ :disabled="flag === 2"
|
|
|
+ ></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="审核状态" prop="auditStatus">
|
|
|
+ <el-input
|
|
|
+ v-model="domainInformation.auditStatus"
|
|
|
+ disabled
|
|
|
+ ></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="域名申请日期" prop="applicationTime">
|
|
|
+ <el-date-picker
|
|
|
+ v-model="domainInformation.applicationTime"
|
|
|
+ type="date"
|
|
|
+ placeholder="选择日期"
|
|
|
+ :disabled="flag === 2"
|
|
|
+ ></el-date-picker>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="代理机构" prop="agencyId">
|
|
|
+ <el-select
|
|
|
+ v-model="domainInformation.agencyId"
|
|
|
+ placeholder="请选择代理机构"
|
|
|
+ :disabled="flag === 2"
|
|
|
+ >
|
|
|
+ <el-option
|
|
|
+ v-for="item in agencyOptions"
|
|
|
+ :key="item.id"
|
|
|
+ :label="item.agencyName"
|
|
|
+ :value="item.id"
|
|
|
+ ></el-option>
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="续展日期" prop="renewalId">
|
|
|
+ <el-date-picker
|
|
|
+ v-model="domainInformation.renewalId"
|
|
|
+ type="date"
|
|
|
+ placeholder="选择日期"
|
|
|
+ :disabled="flag === 2"
|
|
|
+ value-format="yyyy-MM-dd"
|
|
|
+ ></el-date-picker>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="续费时间" prop="renewalTime">
|
|
|
+ <el-date-picker
|
|
|
+ v-model="domainInformation.renewalTime"
|
|
|
+ type="date"
|
|
|
+ placeholder="选择日期"
|
|
|
+ :disabled="flag === 2"
|
|
|
+ value-format="yyyy-MM-dd"
|
|
|
+ ></el-date-picker>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="续费金额" prop="renewalAmount">
|
|
|
+ <el-input
|
|
|
+ v-model.number="domainInformation.renewalAmount"
|
|
|
+ type="number"
|
|
|
+ placeholder="请输入续费金额"
|
|
|
+ :disabled="flag === 2"
|
|
|
+ @input="validateRenewalAmount"
|
|
|
+ ></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="业务模式" prop="businessModel">
|
|
|
+ <el-input
|
|
|
+ v-model="domainInformation.businessModel"
|
|
|
+ placeholder="请输入业务模式,最多50字"
|
|
|
+ :disabled="flag === 2"
|
|
|
+ ></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="使用部门" prop="departmentUsed">
|
|
|
+ <el-input
|
|
|
+ v-model="domainInformation.departmentUsed"
|
|
|
+ placeholder="请输入使用部门,最多50字"
|
|
|
+ :disabled="flag === 2"
|
|
|
+ ></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="登记人">
|
|
|
+ <el-input v-model="domainInformation.registrar" disabled></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="登记时间">
|
|
|
+ <el-input
|
|
|
+ v-model="domainInformation.registrationTime"
|
|
|
+ disabled
|
|
|
+ ></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-form>
|
|
|
+ <!-- 费用信息表格 -->
|
|
|
+ <el-table :data="costList" style="width: 100%" align="center">
|
|
|
+ <el-table-column prop="costType" label="费用类型">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <el-input
|
|
|
+ v-model="scope.row.costType"
|
|
|
+ placeholder="请输入费用类型"
|
|
|
+ :disabled="flag === 2"
|
|
|
+ ></el-input>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="amount" label="金额">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <el-input
|
|
|
+ v-model.number="scope.row.amount"
|
|
|
+ type="number"
|
|
|
+ placeholder="请输入金额"
|
|
|
+ :disabled="flag === 2"
|
|
|
+ @input="validateAmount(scope.row)"
|
|
|
+ ></el-input>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+
|
|
|
+ <el-table-column prop="departmentAttributes" label="部门属性">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <el-input
|
|
|
+ v-model="scope.row.departmentAttributes"
|
|
|
+ placeholder="请输入部门属性"
|
|
|
+ :disabled="flag === 2"
|
|
|
+ ></el-input>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="budgetDepartment" label="预算部门">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <el-input
|
|
|
+ v-model="scope.row.budgetDepartment"
|
|
|
+ :disabled="flag === 2"
|
|
|
+ placeholder="请输入预算部门"
|
|
|
+ ></el-input>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="remarks" label="备注">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <el-input
|
|
|
+ v-model="scope.row.remarks"
|
|
|
+ :disabled="flag === 2"
|
|
|
+ placeholder="请输入备注"
|
|
|
+ ></el-input>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column label="操作">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <el-button
|
|
|
+ v-if="flag !== 2"
|
|
|
+ size="mini"
|
|
|
+ type="text"
|
|
|
+ @click="handleRemove(scope.$index, scope.row)"
|
|
|
+ >删除</el-button
|
|
|
+ >
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ </el-table>
|
|
|
+
|
|
|
+ <!-- 添加按钮 -->
|
|
|
+ <el-button
|
|
|
+ style="margin-top: 20px"
|
|
|
+ @click="addCostItem"
|
|
|
+ v-if="flag === 0 || flag === 1"
|
|
|
+ >添加费用信息</el-button
|
|
|
+ >
|
|
|
+
|
|
|
+ <!-- 操作按钮 -->
|
|
|
+ <div class="form-footer">
|
|
|
+ <el-button type="primary" @click="saveForm" v-if="flag === 0"
|
|
|
+ >存为草稿</el-button
|
|
|
+ >
|
|
|
+ <el-button
|
|
|
+ type="success"
|
|
|
+ @click="publishForm"
|
|
|
+ v-if="flag === 0 || flag === 1"
|
|
|
+ >提交审核</el-button
|
|
|
+ >
|
|
|
+ <el-button @click="closeDialog">关闭</el-button>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </el-dialog>
|
|
|
+ </div>
|
|
|
+</template>
|
|
|
+
|
|
|
+<script>
|
|
|
+import { sortByUp } from "../../../../components/performance/common/js/method";
|
|
|
+import {
|
|
|
+ findOrganization,
|
|
|
+ insertDnmDomainInformationAndCost,
|
|
|
+ selectDnmDomainInformationCostById,
|
|
|
+ checkDomainName,
|
|
|
+ generateDomainCouponNumber,
|
|
|
+ updateDnmDomainInformationAndCost,
|
|
|
+ deleteCostById,
|
|
|
+} from "@/api/dmn";
|
|
|
+import { MessageBox, Message } from "element-ui";
|
|
|
+export default {
|
|
|
+ name: "AddDomainName",
|
|
|
+ props: {
|
|
|
+ dialogVisible: {
|
|
|
+ type: Boolean,
|
|
|
+ required: true,
|
|
|
+ },
|
|
|
+ id: {
|
|
|
+ type: Number,
|
|
|
+ required: true,
|
|
|
+ },
|
|
|
+ flag: {
|
|
|
+ type: Number,
|
|
|
+ required: true,
|
|
|
+ },
|
|
|
+ },
|
|
|
+ data() {
|
|
|
+ return {
|
|
|
+ domainInformation: {
|
|
|
+ domainName: "",
|
|
|
+ domainCouponNumber: "",
|
|
|
+ owner: "",
|
|
|
+ auditStatus: "",
|
|
|
+ applicationTime: "",
|
|
|
+ agencyId: null,
|
|
|
+ renewalId: "",
|
|
|
+ renewalTime: "",
|
|
|
+ renewalAmount: "",
|
|
|
+ businessModel: "",
|
|
|
+ departmentUsed: "",
|
|
|
+ registrar: "",
|
|
|
+ registrationTime: "",
|
|
|
+ accountId: "",
|
|
|
+ auditor: "",
|
|
|
+ defalg: "",
|
|
|
+ draftStatusTypeId: null,
|
|
|
+ costInformationId: null,
|
|
|
+ },
|
|
|
+ costList: [],
|
|
|
+ agencyOptions: [
|
|
|
+ { id: 1, agencyName: "代理机构1" },
|
|
|
+
|
|
|
+ { id: 2, agencyName: "代理机构2" },
|
|
|
+ ],
|
|
|
+ rules: {
|
|
|
+ domainName: [
|
|
|
+ { required: true, message: "请输入域名", trigger: "blur" },
|
|
|
+ { validator: this.checkDomainNameByNet, trigger: "blur" },
|
|
|
+ ],
|
|
|
+ owner: [{ required: true, message: "请输入所有人", trigger: "blur" }],
|
|
|
+ applicationTime: [
|
|
|
+ { required: true, message: "请选择域名申请日期", trigger: "change" },
|
|
|
+ ],
|
|
|
+ agencyId: [
|
|
|
+ { required: true, message: "请选择代理机构", trigger: "change" },
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ };
|
|
|
+ },
|
|
|
+
|
|
|
+ methods: {
|
|
|
+ async checkDomainNameByNet(rule, value, callback) {
|
|
|
+ await checkDomainName(
|
|
|
+ { domainName: this.domainInformation.domainName },
|
|
|
+ (data) => {
|
|
|
+ if (data == "该域名已存在") {
|
|
|
+ console.log("该域名已存在");
|
|
|
+ Message({
|
|
|
+ type: "error",
|
|
|
+ message: "该域名已存在",
|
|
|
+ });
|
|
|
+ this.domainInformation.domainName = "";
|
|
|
+ callback(new Error("该域名已存在"));
|
|
|
+ } else {
|
|
|
+ callback();
|
|
|
+ }
|
|
|
+ },
|
|
|
+ (error) => {
|
|
|
+ console.warn(error);
|
|
|
+ Message({
|
|
|
+ type: "error",
|
|
|
+ message: "系统异常,请联系管理员!",
|
|
|
+ });
|
|
|
+ },
|
|
|
+ (exception) => {
|
|
|
+ console.warn(exception);
|
|
|
+ Message({
|
|
|
+ type: "error",
|
|
|
+ message: "系统异常管理员,请联系管理员!",
|
|
|
+ });
|
|
|
+ }
|
|
|
+ );
|
|
|
+ },
|
|
|
+ publishForm() {
|
|
|
+ if (this.flag == 0) {
|
|
|
+ console.log("提交");
|
|
|
+ // 保存主表单的逻辑
|
|
|
+ this.$refs["domainForm"].validate((valid) => {
|
|
|
+ if (valid) {
|
|
|
+ // 提交主表单和费用信息的数据
|
|
|
+ this.domainInformation.draftStatusTypeId = 0;
|
|
|
+ this.domainInformation.costInformationId = 1;
|
|
|
+ this.domainInformation.defalg = "0";
|
|
|
+ this.domainInformation.auditStatus = "待审核";
|
|
|
+ // 发布表单逻辑
|
|
|
+ this.insertDnmDomainInformationAndCostByNet();
|
|
|
+ this.$emit("closeDialog", false);
|
|
|
+ Message({
|
|
|
+ type: "success",
|
|
|
+ message: "提交成功",
|
|
|
+ });
|
|
|
+ } else {
|
|
|
+ this.$message.error("表单验证失败,请检查输入");
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }
|
|
|
+ if (this.flag == 1) {
|
|
|
+ console.log("修改");
|
|
|
+ // 保存主表单的逻辑
|
|
|
+ this.$refs["domainForm"].validate((valid) => {
|
|
|
+ if (valid) {
|
|
|
+ // 提交主表单和费用信息的数据
|
|
|
+ this.domainInformation.draftStatusTypeId = 0;
|
|
|
+ this.domainInformation.costInformationId = 1;
|
|
|
+ this.domainInformation.defalg = "0";
|
|
|
+ this.domainInformation.auditStatus = "待审核";
|
|
|
+ // 发布表单逻辑
|
|
|
+ this.updateDnmDomainInformationAndCostByNet();
|
|
|
+ this.$emit("closeDialog", false);
|
|
|
+ Message({
|
|
|
+ type: "success",
|
|
|
+ message: "提交成功",
|
|
|
+ });
|
|
|
+ } else {
|
|
|
+ this.$message.error("表单验证失败,请检查输入");
|
|
|
+ }
|
|
|
+ });
|
|
|
+ } else {
|
|
|
+ this.$message.error("系统异常");
|
|
|
+ }
|
|
|
+ },
|
|
|
+ saveForm() {
|
|
|
+ // 保存主表单的逻辑
|
|
|
+ this.$refs["domainForm"].validate((valid) => {
|
|
|
+ if (valid) {
|
|
|
+ // 提交主表单和费用信息的数据
|
|
|
+ this.domainInformation.draftStatusTypeId = 0;
|
|
|
+ this.domainInformation.costInformationId = 1;
|
|
|
+ this.domainInformation.defalg = "0";
|
|
|
+ this.domainInformation.auditStatus = "草稿";
|
|
|
+ // 发布表单逻辑
|
|
|
+ this.insertDnmDomainInformationAndCostByNet();
|
|
|
+ Message({
|
|
|
+ type: "success",
|
|
|
+ message: "提交成功",
|
|
|
+ });
|
|
|
+ this.$emit("closeDialog", false);
|
|
|
+ } else {
|
|
|
+ this.$message.error("表单验证失败,请检查输入");
|
|
|
+ }
|
|
|
+ });
|
|
|
+ },
|
|
|
+ validateRenewalAmount() {
|
|
|
+ if (this.formData.renewalAmount < 0) {
|
|
|
+ // 如果输入的值小于0,则将其设为0或者其他合适的处理方式
|
|
|
+ this.domainInformation.renewalAmount = 0; // 或者可以显示提示信息
|
|
|
+ }
|
|
|
+ },
|
|
|
+ validateAmount(row) {
|
|
|
+ if (row.amount < 0) {
|
|
|
+ // 如果输入的金额为负数,则将其设为0或其他适当的处理方式
|
|
|
+ row.amount = 0; // 或者可以显示提示信息
|
|
|
+ }
|
|
|
+ },
|
|
|
+ // 添加费用字表
|
|
|
+ addCostItem() {
|
|
|
+ console.log("费用字表信息添加");
|
|
|
+ this.costList.push({
|
|
|
+ dnmDomainInformationId: null,
|
|
|
+ costType: "",
|
|
|
+ amount: "",
|
|
|
+ departmentAttributes: "",
|
|
|
+ budgetDepartment: "",
|
|
|
+ remarks: "",
|
|
|
+ });
|
|
|
+ },
|
|
|
+ handleRemove(index, row) {
|
|
|
+ console.log("删除");
|
|
|
+ if (this.flag == 1) {
|
|
|
+ console.log("编辑状态删除消费字表");
|
|
|
+ console.log(row);
|
|
|
+ let params = {
|
|
|
+ id: row.id,
|
|
|
+ };
|
|
|
+ deleteCostById(
|
|
|
+ params,
|
|
|
+ (response) => {
|
|
|
+ console.log(response);
|
|
|
+ // 显示删除成功的提示消息
|
|
|
+ Message({
|
|
|
+ type: "success",
|
|
|
+ message: "删除成功!",
|
|
|
+ });
|
|
|
+ },
|
|
|
+ (error) => {
|
|
|
+ console.warn(error);
|
|
|
+ Message({
|
|
|
+ type: "error",
|
|
|
+ message: "删除失败,请稍后重试!",
|
|
|
+ });
|
|
|
+ },
|
|
|
+ (exception) => {
|
|
|
+ console.warn(exception);
|
|
|
+ Message({
|
|
|
+ type: "error",
|
|
|
+ message: "删除异常,请联系管理员!",
|
|
|
+ });
|
|
|
+ }
|
|
|
+ );
|
|
|
+ }
|
|
|
+ this.costList.splice(index, 1);
|
|
|
+ },
|
|
|
+ closeDialog() {
|
|
|
+ this.$emit("closeDialog", false);
|
|
|
+ },
|
|
|
+ handleClose(done) {
|
|
|
+ // 关闭弹窗前的逻辑,比如重置表单数据
|
|
|
+ this.resetForm();
|
|
|
+ done();
|
|
|
+ },
|
|
|
+ resetForm() {
|
|
|
+ this.formData = {
|
|
|
+ domain: "",
|
|
|
+ couponNumber: "",
|
|
|
+ owner: "",
|
|
|
+ reviewStatus: "待审核",
|
|
|
+ applicationDate: "",
|
|
|
+ agency: "",
|
|
|
+ };
|
|
|
+ this.costs = [
|
|
|
+ { costType: "", amount: "", department: "", remark: "" },
|
|
|
+ { costType: "", amount: "", department: "", remark: "" },
|
|
|
+ ];
|
|
|
+ },
|
|
|
+ async findOrganizationByNet() {
|
|
|
+ await await findOrganization(
|
|
|
+ {},
|
|
|
+ (response) => {
|
|
|
+ this.agencyOptions = response;
|
|
|
+
|
|
|
+ // this.pageSize = response.pageSize;
|
|
|
+ },
|
|
|
+ (error) => {
|
|
|
+ console.warn(error);
|
|
|
+ },
|
|
|
+ (exception) => {
|
|
|
+ console.warn(exception);
|
|
|
+ }
|
|
|
+ );
|
|
|
+ },
|
|
|
+ async insertDnmDomainInformationAndCostByNet() {
|
|
|
+ await insertDnmDomainInformationAndCost(
|
|
|
+ {
|
|
|
+ domainInformation: this.domainInformation,
|
|
|
+ costList: this.costList,
|
|
|
+ },
|
|
|
+ (response) => {
|
|
|
+ console.log(response);
|
|
|
+
|
|
|
+ // this.pageSize = response.pageSize;
|
|
|
+ },
|
|
|
+ (error) => {
|
|
|
+ console.warn(error);
|
|
|
+ },
|
|
|
+ (exception) => {
|
|
|
+ console.warn(exception);
|
|
|
+ }
|
|
|
+ );
|
|
|
+ },
|
|
|
+ async updateDnmDomainInformationAndCostByNet() {
|
|
|
+ await updateDnmDomainInformationAndCost(
|
|
|
+ {
|
|
|
+ domainInformation: this.domainInformation,
|
|
|
+ costList: this.costList,
|
|
|
+ },
|
|
|
+ (response) => {
|
|
|
+ console.log(response);
|
|
|
+
|
|
|
+ // this.pageSize = response.pageSize;
|
|
|
+ },
|
|
|
+ (error) => {
|
|
|
+ console.warn(error);
|
|
|
+ },
|
|
|
+ (exception) => {
|
|
|
+ console.warn(exception);
|
|
|
+ }
|
|
|
+ );
|
|
|
+ },
|
|
|
+ async getDnmDomainInformationAndCostByNet(id) {
|
|
|
+ let params = {
|
|
|
+ id: id,
|
|
|
+ };
|
|
|
+ await selectDnmDomainInformationCostById(
|
|
|
+ params,
|
|
|
+ (response) => {
|
|
|
+ console.log(response);
|
|
|
+ this.costList = response.costList;
|
|
|
+ this.domainInformation = response.domainInformation;
|
|
|
+ },
|
|
|
+ (error) => {
|
|
|
+ console.warn(error);
|
|
|
+ Message({
|
|
|
+ type: "error",
|
|
|
+ message: "系统异常,请联系管理员!",
|
|
|
+ });
|
|
|
+ },
|
|
|
+ (exception) => {
|
|
|
+ console.warn(exception);
|
|
|
+ Message({
|
|
|
+ type: "error",
|
|
|
+ message: "系统异常管理员,请联系管理员!",
|
|
|
+ });
|
|
|
+ }
|
|
|
+ );
|
|
|
+ },
|
|
|
+ async generateDomainCouponNumberByNet() {
|
|
|
+ await generateDomainCouponNumber(
|
|
|
+ {},
|
|
|
+ (data) => {
|
|
|
+ this.domainInformation.domainCouponNumber = data || 2024079;
|
|
|
+ },
|
|
|
+ (error) => {
|
|
|
+ console.warn(error);
|
|
|
+ Message({
|
|
|
+ type: "error",
|
|
|
+ message: "系统异常,请联系管理员!",
|
|
|
+ });
|
|
|
+ },
|
|
|
+ (exception) => {
|
|
|
+ console.warn(exception);
|
|
|
+ Message({
|
|
|
+ type: "error",
|
|
|
+ message: "系统异常管理员,请联系管理员!",
|
|
|
+ });
|
|
|
+ }
|
|
|
+ );
|
|
|
+ },
|
|
|
+ },
|
|
|
+ watch: {
|
|
|
+ id: {
|
|
|
+ handler(newVal, oldVal) {
|
|
|
+ console.log("id 发生改变了:", newVal);
|
|
|
+ this.getDnmDomainInformationAndCostByNet(newVal);
|
|
|
+ },
|
|
|
+ deep: true,
|
|
|
+ },
|
|
|
+ },
|
|
|
+ mounted() {
|
|
|
+ // 获取当前日期
|
|
|
+ let currentDate = new Date();
|
|
|
+ // 格式化成 "YYYY-MM-DD" 的日期格式
|
|
|
+ let formattedDate = currentDate.toISOString().slice(0, 10);
|
|
|
+ // 更新 registrationTime 字段
|
|
|
+ this.domainInformation.registrationTime = formattedDate;
|
|
|
+ console.log(formattedDate);
|
|
|
+ this.domainInformation.registrar = JSON.parse(
|
|
|
+ sessionStorage.getItem("sysUserInfo")
|
|
|
+ ).UserName;
|
|
|
+ console.log(JSON.parse(sessionStorage.getItem("sysUserInfo")).UserName);
|
|
|
+ // 获取唯一卷号
|
|
|
+ this.generateDomainCouponNumberByNet();
|
|
|
+ this.domainInformation.accountId = JSON.parse(
|
|
|
+ sessionStorage.getItem("sysUserInfo")
|
|
|
+ ).LoginCode;
|
|
|
+ this.domainInformation.auditor = JSON.parse(
|
|
|
+ sessionStorage.getItem("sysUserInfo")
|
|
|
+ ).UserName;
|
|
|
+ this.domainInformation.auditStatus = "待审核";
|
|
|
+ this.findOrganizationByNet();
|
|
|
+ this.$on("openDialog", (value) => {
|
|
|
+ console.log("接收到的值:", value);
|
|
|
+ });
|
|
|
+ },
|
|
|
+};
|
|
|
+</script>
|
|
|
+
|
|
|
+<style scoped>
|
|
|
+.form-footer {
|
|
|
+ margin-top: 20px;
|
|
|
+}
|
|
|
+</style>
|