|
@@ -57,24 +57,26 @@
|
|
|
:disabled="isDetail == '007'"
|
|
|
placeholder="组织名称"
|
|
|
maxlength="50"
|
|
|
- ><template v-if="organName" slot="prepend">{{
|
|
|
- organName
|
|
|
- }}</template></el-input
|
|
|
- >
|
|
|
+ ><template v-if="organName" slot="prepend">{{
|
|
|
+ organName
|
|
|
+ }}</template></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col v-if="ruleForm.region === '1'" :span="16">
|
|
|
<el-form-item label="企业所在区域:" label-width="130px" prop="code">
|
|
|
- <search-area
|
|
|
- :value="ruleForm.code"
|
|
|
- :disabled="isDetail == '007'"
|
|
|
- :size="'mini'"
|
|
|
- :isDetail="true"
|
|
|
- :level="2"
|
|
|
- :names="ruleForm.area"
|
|
|
- :placeholder="'企业所在区域'"
|
|
|
- @searchChange="areasearchChange"
|
|
|
- />
|
|
|
+ <div style="display:flex;">
|
|
|
+ <el-radio v-model="area" label="0" @change="handleFreedomAreaChange">不限</el-radio>
|
|
|
+ <search-area
|
|
|
+ :value="ruleForm.code"
|
|
|
+ :disabled="isDetail == '007'"
|
|
|
+ :size="'mini'"
|
|
|
+ :is-detail="true"
|
|
|
+ :level="2"
|
|
|
+ :names="ruleForm.area"
|
|
|
+ :placeholder="'企业所在区域'"
|
|
|
+ @searchChange="areasearchChange"
|
|
|
+ />
|
|
|
+ </div>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col v-if="ruleForm.region === '1'" :span="24">
|
|
@@ -84,10 +86,9 @@
|
|
|
:disabled="isDetail == '007'"
|
|
|
placeholder="企业名称"
|
|
|
maxlength="50"
|
|
|
- ><template v-if="organName" slot="prepend">{{
|
|
|
- organName
|
|
|
- }}</template></el-input
|
|
|
- >
|
|
|
+ ><template v-if="organName" slot="prepend">{{
|
|
|
+ organName
|
|
|
+ }}</template></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col
|
|
@@ -161,11 +162,11 @@
|
|
|
</el-col>
|
|
|
<el-col :span="24" style="text-align: right">
|
|
|
<el-button
|
|
|
- size="mini"
|
|
|
v-if="isDetail !== '007'"
|
|
|
+ size="mini"
|
|
|
type="primary"
|
|
|
@click="submitForm"
|
|
|
- >保 存
|
|
|
+ >保 存
|
|
|
</el-button>
|
|
|
<el-button size="mini" @click="showModelThis = false">{{
|
|
|
isDetail == "007" ? "关 闭" : "取 消"
|
|
@@ -179,182 +180,209 @@
|
|
|
</el-dialog>
|
|
|
</template>
|
|
|
<script>
|
|
|
-import resToken from "@/mixins/resToken";
|
|
|
-import asyncRequest from "@/apis/service/serviceParam/business";
|
|
|
-import contactModal from "./contactModal";
|
|
|
+import resToken from '@/mixins/resToken'
|
|
|
+import asyncRequest from '@/apis/service/serviceParam/business'
|
|
|
+import contactModal from './contactModal'
|
|
|
export default {
|
|
|
- name: "GoodsBack",
|
|
|
+ name: 'GoodsBack',
|
|
|
components: {
|
|
|
- contactModal,
|
|
|
+ contactModal
|
|
|
},
|
|
|
mixins: [resToken],
|
|
|
- props: ["showModel", "isDetail", "id", "organ", "kh"],
|
|
|
+ props: ['showModel', 'isDetail', 'id', 'organ', 'kh'],
|
|
|
data() {
|
|
|
+ const validator = function(rule, value, callback) {
|
|
|
+ const isValueValid = Array.isArray(value) && value.length > 0
|
|
|
+ if (!isValueValid && this.area !== '0') {
|
|
|
+ callback(new Error('企业所在区域不能为空'))
|
|
|
+ } else {
|
|
|
+ callback()
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
return {
|
|
|
+ area: '',
|
|
|
findex: -1,
|
|
|
sitem: null,
|
|
|
editModel: false,
|
|
|
loading: false,
|
|
|
- title: "添加企业/组织",
|
|
|
+ title: '添加企业/组织',
|
|
|
showModelThis: this.showModel,
|
|
|
ruleForm: {},
|
|
|
rulesThis: this.rules,
|
|
|
- organName: "",
|
|
|
+ organName: '',
|
|
|
tableData: [],
|
|
|
old_tableData: [],
|
|
|
rules: {
|
|
|
region: [
|
|
|
{
|
|
|
required: true,
|
|
|
- message: "请选择组织/企业",
|
|
|
- trigger: "change",
|
|
|
- },
|
|
|
+ message: '请选择组织/企业',
|
|
|
+ trigger: 'change'
|
|
|
+ }
|
|
|
],
|
|
|
code: [
|
|
|
{
|
|
|
required: true,
|
|
|
- message: "企业所在区域不能为空",
|
|
|
- trigger: "blur",
|
|
|
- },
|
|
|
+ message: '企业所在区域不能为空',
|
|
|
+ trigger: 'blur',
|
|
|
+ validator: validator.bind(this)
|
|
|
+ }
|
|
|
],
|
|
|
name: [
|
|
|
{
|
|
|
required: true,
|
|
|
- message: "组织名称不能为空",
|
|
|
- trigger: "blur",
|
|
|
- },
|
|
|
+ message: '组织名称不能为空',
|
|
|
+ trigger: 'blur'
|
|
|
+ }
|
|
|
],
|
|
|
companyName: [
|
|
|
{
|
|
|
required: false,
|
|
|
- message: "企业名称不能为空",
|
|
|
- trigger: "blur",
|
|
|
- },
|
|
|
- ],
|
|
|
- },
|
|
|
- };
|
|
|
+ message: '企业名称不能为空',
|
|
|
+ trigger: 'blur'
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ }
|
|
|
},
|
|
|
watch: {
|
|
|
- showModel: function (val) {
|
|
|
- this.showModelThis = val;
|
|
|
+ showModel: function(val) {
|
|
|
+ this.showModelThis = val
|
|
|
if (val) {
|
|
|
- this.initForm();
|
|
|
+ this.initForm()
|
|
|
}
|
|
|
},
|
|
|
showModelThis(val) {
|
|
|
if (!val) {
|
|
|
- this.$emit("cancel");
|
|
|
+ this.$emit('cancel')
|
|
|
}
|
|
|
},
|
|
|
+ area(val) {
|
|
|
+ if (val) this.ruleForm.code = ''
|
|
|
+ },
|
|
|
+ 'ruleForm.code': {
|
|
|
+ handler(val) {
|
|
|
+ if (val) this.area = ''
|
|
|
+ },
|
|
|
+ deep: true
|
|
|
+ }
|
|
|
},
|
|
|
methods: {
|
|
|
+ handleFreedomAreaChange() {
|
|
|
+ this.$nextTick(() => this.$refs.ruleForm.validateField('code'))
|
|
|
+ },
|
|
|
async initForm() {
|
|
|
- this.loading = true;
|
|
|
- this.tableData = [];
|
|
|
- this.old_tableData = [];
|
|
|
- this.organName = "";
|
|
|
- await this.resetForm();
|
|
|
- if (this.isDetail === "003") {
|
|
|
- this.title = "添加企业/组织";
|
|
|
- this.rulesThis = this.rules;
|
|
|
- } else if (this.isDetail === "005") {
|
|
|
- this.title = "修改企业/组织";
|
|
|
- this.rulesThis = this.rules;
|
|
|
- await this.initData();
|
|
|
+ this.loading = true
|
|
|
+ this.tableData = []
|
|
|
+ this.old_tableData = []
|
|
|
+ this.organName = ''
|
|
|
+ await this.resetForm()
|
|
|
+ if (this.isDetail === '003') {
|
|
|
+ this.title = '添加企业/组织'
|
|
|
+ this.rulesThis = this.rules
|
|
|
+ } else if (this.isDetail === '005') {
|
|
|
+ this.title = '修改企业/组织'
|
|
|
+ this.rulesThis = this.rules
|
|
|
+ await this.initData()
|
|
|
} else {
|
|
|
- this.title = "查看企业/组织";
|
|
|
- this.rulesThis = {};
|
|
|
- await this.initData();
|
|
|
+ this.title = '查看企业/组织'
|
|
|
+ this.rulesThis = {}
|
|
|
+ await this.initData()
|
|
|
}
|
|
|
- this.setOrganName();
|
|
|
- this.loading = false;
|
|
|
+ this.setOrganName()
|
|
|
+ this.loading = false
|
|
|
},
|
|
|
setOrganName() {
|
|
|
- this.organName = "";
|
|
|
+ this.organName = ''
|
|
|
if (this.organ && this.organ.length > 1) {
|
|
|
this.organ.forEach((e) => {
|
|
|
- if (e.id !== "0") {
|
|
|
- console.log(e.name);
|
|
|
- this.organName += e.name;
|
|
|
- this.ruleForm.pid = e.id;
|
|
|
+ if (e.id !== '0') {
|
|
|
+ this.organName += e.name
|
|
|
+ this.ruleForm.pid = e.id
|
|
|
}
|
|
|
- });
|
|
|
+ })
|
|
|
} else {
|
|
|
- this.organName = "";
|
|
|
+ this.organName = ''
|
|
|
}
|
|
|
- const { companyName } = this.ruleForm;
|
|
|
- const isok = companyName.indexOf(this.organName) == 0;
|
|
|
+ const { companyName } = this.ruleForm
|
|
|
+ const isok = companyName.indexOf(this.organName) == 0
|
|
|
if (isok) {
|
|
|
- const str = companyName;
|
|
|
+ const str = companyName
|
|
|
this.ruleForm.companyName = str.substring(
|
|
|
this.organName.length,
|
|
|
this.ruleForm.companyName.length
|
|
|
- );
|
|
|
+ )
|
|
|
}
|
|
|
- console.log(isok);
|
|
|
},
|
|
|
openEdit(index, sitem) {
|
|
|
- this.findex = index;
|
|
|
- this.sitem = sitem;
|
|
|
- this.editModel = true;
|
|
|
+ this.findex = index
|
|
|
+ this.sitem = sitem
|
|
|
+ this.editModel = true
|
|
|
},
|
|
|
openDelete(index) {
|
|
|
- this.tableData.splice(index, 1);
|
|
|
+ this.tableData.splice(index, 1)
|
|
|
},
|
|
|
async resetForm() {
|
|
|
await this.$nextTick(() => {
|
|
|
if (this.$refs.ruleForm) {
|
|
|
- this.$refs.ruleForm.resetFields();
|
|
|
- this.$refs.ruleForm.clearValidate();
|
|
|
+ this.$refs.ruleForm.resetFields()
|
|
|
+ this.$refs.ruleForm.clearValidate()
|
|
|
this.ruleForm = {
|
|
|
- id: "",
|
|
|
- pid: "0",
|
|
|
- region: "0",
|
|
|
- name: "",
|
|
|
- companyName: "",
|
|
|
+ id: '',
|
|
|
+ pid: '0',
|
|
|
+ region: '0',
|
|
|
+ name: '',
|
|
|
+ companyName: '',
|
|
|
code: [],
|
|
|
- area: "",
|
|
|
- };
|
|
|
+ area: ''
|
|
|
+ }
|
|
|
}
|
|
|
- });
|
|
|
+ })
|
|
|
},
|
|
|
async initData() {
|
|
|
- console.log(this.kh, this.id);
|
|
|
- let res = {};
|
|
|
- if (this.kh + "" === "0") {
|
|
|
- res = await asyncRequest.zdetail({ id: this.id });
|
|
|
+ let res = {}
|
|
|
+ if (this.kh + '' === '0') {
|
|
|
+ res = await asyncRequest.zdetail({ id: this.id })
|
|
|
} else {
|
|
|
- res = await asyncRequest.qdetail({ companyNo: this.id });
|
|
|
+ res = await asyncRequest.qdetail({ companyNo: this.id })
|
|
|
}
|
|
|
- const { code, data, message } = res;
|
|
|
+ const { code, data, message } = res
|
|
|
if (code === 0) {
|
|
|
- const { pid, name, pname, companyName, parent, member, id } = data;
|
|
|
- console.log(data);
|
|
|
- this.organName = pname;
|
|
|
+ const { pid, name, pname, companyName, parent, member, id, middle, branch, area } = data
|
|
|
+ this.organName = pname
|
|
|
+
|
|
|
+ const isFreedom = String(middle) === '0' && String(branch) === '0' && String(area) === '不限区域'
|
|
|
+ // console.log(middle, branch, area, isFreedom)
|
|
|
+ if (isFreedom) this.area = '0'
|
|
|
+
|
|
|
this.ruleForm = {
|
|
|
id: id,
|
|
|
- region: this.kh + "" || "0",
|
|
|
- pid: parent || pid || "0",
|
|
|
- name: name || "",
|
|
|
- companyName: companyName || "",
|
|
|
- };
|
|
|
+ region: this.kh + '' || '0',
|
|
|
+ pid: parent || pid || '0',
|
|
|
+ name: name || '',
|
|
|
+ companyName: companyName || '',
|
|
|
+ code: isFreedom || !middle ? [] : [middle],
|
|
|
+ area: area ? [area] : []
|
|
|
+ }
|
|
|
+
|
|
|
if (member && member.length > 0) {
|
|
|
- this.old_tableData = JSON.parse(JSON.stringify(member));
|
|
|
- this.tableData = JSON.parse(JSON.stringify(member));
|
|
|
+ this.old_tableData = JSON.parse(JSON.stringify(member))
|
|
|
+ this.tableData = JSON.parse(JSON.stringify(member))
|
|
|
} else {
|
|
|
- this.old_tableData = [];
|
|
|
- this.tableData = [];
|
|
|
+ this.old_tableData = []
|
|
|
+ this.tableData = []
|
|
|
}
|
|
|
- this.$refs.ruleForm.resetFields();
|
|
|
- this.$refs.ruleForm.clearValidate();
|
|
|
+ this.$refs.ruleForm.resetFields()
|
|
|
+ this.$refs.ruleForm.clearValidate()
|
|
|
} else if (code >= 100 && code <= 104) {
|
|
|
- await this.logout();
|
|
|
+ await this.logout()
|
|
|
} else {
|
|
|
- this.$message.warning(message);
|
|
|
+ this.$message.warning(message)
|
|
|
}
|
|
|
},
|
|
|
contactRefresh(e) {
|
|
|
- this.editModel = false;
|
|
|
+ this.editModel = false
|
|
|
const {
|
|
|
index,
|
|
|
contactor,
|
|
@@ -365,126 +393,128 @@ export default {
|
|
|
qqaccount,
|
|
|
email,
|
|
|
id,
|
|
|
- is_del,
|
|
|
- } = e;
|
|
|
- if (index + "" === "-1") {
|
|
|
- this.tableData.push(e);
|
|
|
+ is_del
|
|
|
+ } = e
|
|
|
+ if (index + '' === '-1') {
|
|
|
+ this.tableData.push(e)
|
|
|
} else {
|
|
|
- const findex = parseInt(index);
|
|
|
- this.tableData[findex].contactor = contactor || "";
|
|
|
- this.tableData[findex].commobile = commobile || "";
|
|
|
- this.tableData[findex].position = position || "";
|
|
|
- this.tableData[findex].comdepart = comdepart || "";
|
|
|
- this.tableData[findex].wxaccount = wxaccount || "";
|
|
|
- this.tableData[findex].qqaccount = qqaccount || "";
|
|
|
- this.tableData[findex].email = email || "";
|
|
|
- this.tableData[findex].id = id || "";
|
|
|
- this.tableData[findex].is_del = is_del || "0";
|
|
|
+ const findex = parseInt(index)
|
|
|
+ this.tableData[findex].contactor = contactor || ''
|
|
|
+ this.tableData[findex].commobile = commobile || ''
|
|
|
+ this.tableData[findex].position = position || ''
|
|
|
+ this.tableData[findex].comdepart = comdepart || ''
|
|
|
+ this.tableData[findex].wxaccount = wxaccount || ''
|
|
|
+ this.tableData[findex].qqaccount = qqaccount || ''
|
|
|
+ this.tableData[findex].email = email || ''
|
|
|
+ this.tableData[findex].id = id || ''
|
|
|
+ this.tableData[findex].is_del = is_del || '0'
|
|
|
}
|
|
|
},
|
|
|
areasearchChange(e) {
|
|
|
- console.log(e);
|
|
|
- const { id, city_code, province_code, label } = e;
|
|
|
- this.ruleForm.code = e && id ? [id] : [];
|
|
|
- this.ruleForm.area = e && id ? label : "";
|
|
|
- this.ruleForm.branch = e && id ? province_code : "";
|
|
|
- this.ruleForm.middle = e && id ? city_code : "";
|
|
|
- this.$refs.ruleForm.validateField("code");
|
|
|
+ const { id, city_code, province_code, label } = e
|
|
|
+ this.ruleForm.code = e && id ? [id] : []
|
|
|
+ this.ruleForm.area = e && id ? label : ''
|
|
|
+ this.ruleForm.branch = e && id ? province_code : ''
|
|
|
+ this.ruleForm.middle = e && id ? city_code : ''
|
|
|
+ console.log(label, '--------')
|
|
|
+ this.$refs.ruleForm.validateField('code')
|
|
|
},
|
|
|
async submitForm() {
|
|
|
- await this.$refs.ruleForm.validate(async (valid) => {
|
|
|
+ await this.$refs.ruleForm.validate(async(valid) => {
|
|
|
if (valid) {
|
|
|
if (this.loading) {
|
|
|
- return;
|
|
|
+ return
|
|
|
}
|
|
|
- this.loading = true;
|
|
|
- const { id, pid, name, companyName, code: area_code, area } = this.ruleForm;
|
|
|
- let res = {};
|
|
|
- if (this.ruleForm.region === "0") {
|
|
|
+ this.loading = true
|
|
|
+ const { id, pid, name, companyName, code: area_code, area } = this.ruleForm
|
|
|
+ let res = {}
|
|
|
+ if (this.ruleForm.region === '0') {
|
|
|
const zitem = {
|
|
|
id: id,
|
|
|
pid: pid,
|
|
|
- name: name,
|
|
|
- };
|
|
|
- if (this.isDetail === "003") {
|
|
|
- delete zitem["id"];
|
|
|
- res = await asyncRequest.zadd(zitem);
|
|
|
+ name: name
|
|
|
+ }
|
|
|
+ if (this.isDetail === '003') {
|
|
|
+ delete zitem['id']
|
|
|
+ res = await asyncRequest.zadd(zitem)
|
|
|
} else {
|
|
|
- res = await asyncRequest.zupdate(zitem);
|
|
|
+ res = await asyncRequest.zupdate(zitem)
|
|
|
}
|
|
|
} else {
|
|
|
if (this.tableData.length === 0) {
|
|
|
- this.$message.warning("至少填写一个联系人!");
|
|
|
- this.loading = false;
|
|
|
- return;
|
|
|
+ this.$message.warning('至少填写一个联系人!')
|
|
|
+ this.loading = false
|
|
|
+ return
|
|
|
}
|
|
|
const qitem = {
|
|
|
id: id,
|
|
|
companyName: this.organName + companyName,
|
|
|
parent: pid,
|
|
|
- branch: area_code,
|
|
|
- middle: area_code,
|
|
|
- area: area,
|
|
|
- customer_member: this.getCustomer(),
|
|
|
- };
|
|
|
-
|
|
|
- if (this.isDetail === "003") {
|
|
|
- delete qitem["id"];
|
|
|
- res = await asyncRequest.qadd(qitem);
|
|
|
+ branch: this.area === '0' ? '0' : area_code[0],
|
|
|
+ middle: this.area === '0' ? '0' : area_code[0],
|
|
|
+ area: this.area === '0' ? '不限区域' : area,
|
|
|
+ customer_member: this.getCustomer()
|
|
|
+ }
|
|
|
+ // console.log(qitem)
|
|
|
+ // this.loading = false
|
|
|
+ // return
|
|
|
+ if (this.isDetail === '003') {
|
|
|
+ delete qitem['id']
|
|
|
+ res = await asyncRequest.qadd(qitem)
|
|
|
} else {
|
|
|
- res = await asyncRequest.qupdate(qitem);
|
|
|
+ res = await asyncRequest.qupdate(qitem)
|
|
|
}
|
|
|
}
|
|
|
- this.loading = false;
|
|
|
- const { code, data, message } = res;
|
|
|
+ this.loading = false
|
|
|
+ const { code, data, message } = res
|
|
|
if (code === 0) {
|
|
|
- const title = this.isDetail === "003" ? "添加成功!" : "修改成功!";
|
|
|
+ const title = this.isDetail === '003' ? '添加成功!' : '修改成功!'
|
|
|
this.$notify.success({
|
|
|
title,
|
|
|
- message: "",
|
|
|
- });
|
|
|
- this.showModelThis = false;
|
|
|
+ message: ''
|
|
|
+ })
|
|
|
+ this.showModelThis = false
|
|
|
// 刷新
|
|
|
- this.$emit("refresh");
|
|
|
+ this.$emit('refresh')
|
|
|
} else if (code >= 100 && code <= 104) {
|
|
|
- await this.logout();
|
|
|
+ await this.logout()
|
|
|
} else {
|
|
|
- this.$message.warning(message);
|
|
|
+ this.$message.warning(message)
|
|
|
}
|
|
|
} else {
|
|
|
- console.log("error submit!!");
|
|
|
- return false;
|
|
|
+ console.log('error submit!!')
|
|
|
+ return false
|
|
|
}
|
|
|
- });
|
|
|
+ })
|
|
|
},
|
|
|
getCustomer() {
|
|
|
- const list = JSON.parse(JSON.stringify(this.tableData));
|
|
|
- const oldlist = JSON.parse(JSON.stringify(this.old_tableData));
|
|
|
- const hasIDlist = [];
|
|
|
+ const list = JSON.parse(JSON.stringify(this.tableData))
|
|
|
+ const oldlist = JSON.parse(JSON.stringify(this.old_tableData))
|
|
|
+ const hasIDlist = []
|
|
|
list.forEach((a) => {
|
|
|
- if (a.id !== "") {
|
|
|
- hasIDlist.push(a);
|
|
|
+ if (a.id !== '') {
|
|
|
+ hasIDlist.push(a)
|
|
|
}
|
|
|
- });
|
|
|
- const newList = [];
|
|
|
- const resList = [];
|
|
|
+ })
|
|
|
+ const newList = []
|
|
|
+ const resList = []
|
|
|
oldlist.forEach((a, ai) => {
|
|
|
- let item = null;
|
|
|
- const index = hasIDlist.findIndex((b) => a.id + "" === b.id + "");
|
|
|
+ let item = null
|
|
|
+ const index = hasIDlist.findIndex((b) => a.id + '' === b.id + '')
|
|
|
if (index === -1) {
|
|
|
- item = JSON.parse(JSON.stringify(a));
|
|
|
- item.is_del = "1";
|
|
|
+ item = JSON.parse(JSON.stringify(a))
|
|
|
+ item.is_del = '1'
|
|
|
} else {
|
|
|
- item = JSON.parse(JSON.stringify(hasIDlist[index]));
|
|
|
+ item = JSON.parse(JSON.stringify(hasIDlist[index]))
|
|
|
}
|
|
|
- newList.push(item);
|
|
|
- });
|
|
|
+ newList.push(item)
|
|
|
+ })
|
|
|
list.forEach((b) => {
|
|
|
- if (b.id === "") {
|
|
|
- b.is_del = "0";
|
|
|
- newList.push(b);
|
|
|
+ if (b.id === '') {
|
|
|
+ b.is_del = '0'
|
|
|
+ newList.push(b)
|
|
|
}
|
|
|
- });
|
|
|
+ })
|
|
|
newList.forEach((a) => {
|
|
|
const m = {
|
|
|
id: a.id,
|
|
@@ -495,16 +525,16 @@ export default {
|
|
|
wxaccount: a.wxaccount,
|
|
|
qqaccount: a.qqaccount,
|
|
|
email: a.email,
|
|
|
- is_del: a.is_del || "0",
|
|
|
- status: a.status || "1",
|
|
|
- };
|
|
|
- resList.push(m);
|
|
|
- });
|
|
|
+ is_del: a.is_del || '0',
|
|
|
+ status: a.status || '1'
|
|
|
+ }
|
|
|
+ resList.push(m)
|
|
|
+ })
|
|
|
|
|
|
- return resList;
|
|
|
- },
|
|
|
- },
|
|
|
-};
|
|
|
+ return resList
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
</script>
|
|
|
|
|
|
<style lang="scss" scoped>
|