修改bug
This commit is contained in:
264
src/views/modules/quality/characteristics.vue
Normal file
264
src/views/modules/quality/characteristics.vue
Normal file
@@ -0,0 +1,264 @@
|
||||
<!--
|
||||
* @Author: zhp
|
||||
* @Date: 2023-07-18 10:25:03
|
||||
* @LastEditTime: 2023-07-18 11:23:59
|
||||
* @LastEditors: zhp
|
||||
* @Description:
|
||||
-->
|
||||
<template>
|
||||
<el-card shadow="never" class="aui-card--fill">
|
||||
<div class="mod-sys__user">
|
||||
<SearchBar :formConfigs="formConfig" ref="ruleForm" @headBtnClick="buttonClick">
|
||||
</SearchBar>
|
||||
<base-table id="palletTable" :table-props="tableProps" :page="listQuery.page" ref="palletTable1"
|
||||
:limit="listQuery.limit" :table-data="tableData">
|
||||
<method-btn v-if="tableBtn.length" slot="handleBtn" :width="100" label="操作" :method-list="tableBtn"
|
||||
@clickBtn="handleClick" />
|
||||
</base-table>
|
||||
<pagination :limit.sync="listQuery.limit" :page.sync="listQuery.page" :total="listQuery.total"
|
||||
@pagination="getDataList" />
|
||||
<!-- 弹窗, 新增 / 修改 -->
|
||||
<base-dialog :dialogTitle="addOrEditTitle" :dialogVisible="addOrUpdateVisible" @cancel="handleCancel"
|
||||
@confirm="handleConfirm" :before-close="handleCancel">
|
||||
<!-- <product-add ref="addOrUpdate" @refreshDataList="successSubmit"></product-add> -->
|
||||
<!-- <el-row slot="footer" type="flex" justify="end"> </el-row> -->
|
||||
</base-dialog>
|
||||
<characterShow ref="characterShowList" v-if="characterShowList" @refreshDataList="getDataList">
|
||||
</characterShow>
|
||||
<!-- <base-dialog :dialogTitle="searchOrEditTitle" :dialogVisible="searchOrUpdateVisible" @cancel="handleSearchCancel"
|
||||
@confirm="handleSearchConfirm" :before-close="handleSearchCancel">
|
||||
<product-search ref="searchOrUpdate" @successSubmit="conditionSearchSubmit"></product-search>
|
||||
<el-row slot="footer" type="flex" justify="end">
|
||||
<el-col :span="12">
|
||||
<el-button size="small" type="primary" plain class="btnTextStyle" @click="handleSearchCancel">
|
||||
{{ $t("close") }}
|
||||
</el-button>
|
||||
<el-button size="small" class="btnTextStyle" type="primary" plain @click="handleSearchReset">{{ $t("reset")
|
||||
}}</el-button>
|
||||
<el-button type="primary" size="small" class="btnTextStyle" @click="handleSearchConfirm">
|
||||
{{ $t("search") }}
|
||||
</el-button>
|
||||
</el-col>
|
||||
</el-row>
|
||||
</base-dialog> -->
|
||||
</div>
|
||||
</el-card>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import basicPage from "@/mixins/basic-page";
|
||||
// import basicSearch from "@/mixins/basic-search";
|
||||
// import productSearch from "./components/productSearch.vue";
|
||||
// import productAdd from "./components/product-add.vue";
|
||||
import isHave from "./components/isHave.vue";
|
||||
import characterShow from "./components/character-show.vue";
|
||||
|
||||
// import radio from "./components/radio.vue";
|
||||
import i18n from "@/i18n";
|
||||
// import i18n from "@/i18n";
|
||||
const tableProps = [
|
||||
{
|
||||
prop: "productCode",
|
||||
label: i18n.t('basic.code'),
|
||||
},
|
||||
{
|
||||
prop: "productName",
|
||||
label: i18n.t('basic.name'),
|
||||
},
|
||||
{
|
||||
prop: "productSpecs",
|
||||
label: i18n.t('basic.specification'),
|
||||
},
|
||||
{
|
||||
prop: "productTypeName",
|
||||
label: i18n.t('basic.productTypeName'),
|
||||
},
|
||||
// {
|
||||
// prop: "detail",
|
||||
// label: i18n.t('basic.InspectionStage'),
|
||||
// subcomponent: radio,
|
||||
// },
|
||||
{
|
||||
prop: "inspectionPlan",
|
||||
label: i18n.t('quality.inspectionPlan'),
|
||||
subcomponent: isHave,
|
||||
},
|
||||
];
|
||||
const tableBtn = [
|
||||
{
|
||||
type: "characteristics",
|
||||
btnName: i18n.t('code.characteristics'),
|
||||
}
|
||||
];
|
||||
export default {
|
||||
mixins: [basicPage],
|
||||
data() {
|
||||
return {
|
||||
urlOptions: {
|
||||
getDataListURL: "/basic/qmsProduct/page",
|
||||
deleteURL: "/basic/qmsProduct",
|
||||
exportURL: '/basic/qmsProduct/export',
|
||||
getProductTypeURL: '/basic/qmsProductType/page'
|
||||
},
|
||||
tableProps,
|
||||
tableBtn,
|
||||
productData: {},
|
||||
characterShowList:false,
|
||||
searchOrEditTitle: "",
|
||||
searchOrUpdateVisible: false,
|
||||
productOrEditTitle: "",
|
||||
addOrEditTitle: '',
|
||||
addOrUpdateVisible: false,
|
||||
productOrUpdateVisible: false,
|
||||
formConfig: [
|
||||
{
|
||||
type: 'input',
|
||||
label: i18n.t('basic.productCode'),
|
||||
placeholder: i18n.t('basic.productCode'),
|
||||
param: 'productName',
|
||||
clearable: true
|
||||
},
|
||||
{
|
||||
type: 'input',
|
||||
label: i18n.t('basic.productName'),
|
||||
placeholder: i18n.t('basic.productName'),
|
||||
param: 'productCode',
|
||||
clearable: true
|
||||
},
|
||||
{
|
||||
type: 'input',
|
||||
label: i18n.t('basic.specification'),
|
||||
placeholder: i18n.t('basic.specification'),
|
||||
param: 'productSpecs',
|
||||
clearable: true
|
||||
},
|
||||
{
|
||||
type: 'select',
|
||||
label: i18n.t('code.inspectionPlan'),
|
||||
placeholder: i18n.t('code.inspectionPlan'),
|
||||
param: 'inspectionPlan',
|
||||
selectOptions: [
|
||||
{
|
||||
id: '0',
|
||||
name: '没有'
|
||||
},
|
||||
{
|
||||
id: '1',
|
||||
name: '有'
|
||||
},
|
||||
],
|
||||
clearable: true,
|
||||
filterable: true
|
||||
},
|
||||
{
|
||||
type: 'select',
|
||||
label: i18n.t('code.productType'),
|
||||
placeholder: i18n.t('code.productType'),
|
||||
param: 'productTypeId',
|
||||
selectOptions: [],
|
||||
clearable: true,
|
||||
filterable: true
|
||||
},
|
||||
{
|
||||
type: "button",
|
||||
btnName: "搜索",
|
||||
name: "search",
|
||||
color: "primary",
|
||||
// plain: true,
|
||||
}
|
||||
],
|
||||
};
|
||||
},
|
||||
components: {
|
||||
// productAdd
|
||||
characterShow
|
||||
},
|
||||
mounted () {
|
||||
this.getDict()
|
||||
},
|
||||
methods: {
|
||||
//search-bar点击
|
||||
handleProductCancel() {
|
||||
this.productOrUpdateVisible = false;
|
||||
this.productOrEditTitle = "";
|
||||
},
|
||||
setCurrent(index) {
|
||||
this.$refs.palletTable1.setCurrent("palletTable", index);
|
||||
},
|
||||
// handleSearchCancel() {
|
||||
// this.searchOrEditTitle = "";
|
||||
// this.searchOrUpdateVisible = false;
|
||||
// },
|
||||
conditionSearch() {
|
||||
this.searchOrEditTitle = "搜索";
|
||||
this.searchOrUpdateVisible = true;
|
||||
this.$nextTick(() => {
|
||||
this.$refs.searchOrUpdate.init()
|
||||
});
|
||||
},
|
||||
// handleConfirm() {
|
||||
// this.$refs.addOrUpdate.dataFormSubmitHandle();
|
||||
// },
|
||||
// conditionSearchSubmit() {},
|
||||
// conditionSearchSubmit(dataForm) {
|
||||
// // console.log(key);
|
||||
// // console.log(key);
|
||||
// this.listQuery.productName = dataForm.productName
|
||||
// this.listQuery.productCode = dataForm.productCode
|
||||
// this.listQuery.page = 1;
|
||||
// this.getDataList()
|
||||
// this.searchOrUpdateVisible = false;
|
||||
// // console.log(11111);
|
||||
// // this.conditionSearchSubmit();
|
||||
// },
|
||||
handleClick(val) {
|
||||
if (val.type === 'characteristics') {
|
||||
this.characterShowList = true
|
||||
this.$nextTick(() => {
|
||||
this.$refs.characterShowList.init(val.data.id)
|
||||
})
|
||||
}
|
||||
},
|
||||
getDict() {
|
||||
this.$http
|
||||
.get(this.urlOptions.getProductTypeURL, {
|
||||
params: this.listQuery,
|
||||
})
|
||||
.then(({ data: res }) => {
|
||||
if (res.code == 0) {
|
||||
this.formConfig[4].selectOptions = res.data.list.map((item) => {
|
||||
return {
|
||||
id:item.id,
|
||||
name: item.productTypeName,
|
||||
}
|
||||
})
|
||||
}
|
||||
})
|
||||
},
|
||||
buttonClick(val) {
|
||||
console.log(val);
|
||||
switch (val.btnName) {
|
||||
case "search":
|
||||
// this.listQuery.paramCode = val.paramCode;
|
||||
this.listQuery.productName = val.productName ? val.productName : null
|
||||
this.listQuery.productCode = val.productCode ? val.productCode : null
|
||||
this.listQuery.productTypeId = val.productTypeId ? val.productTypeId : null
|
||||
this.listQuery.productSpecs = val.productSpecs ? val.productSpecs : null
|
||||
this.listQuery.inspectionPlan = val.inspectionPlan ? val.inspectionPlan : null
|
||||
|
||||
// console.log(i18n);
|
||||
this.listQuery.page = 1;
|
||||
this.getDataList();
|
||||
break;
|
||||
case "add":
|
||||
this.addOrEditTitle = '新增'
|
||||
this.addOrUpdateVisible = true
|
||||
this.addOrUpdateHandle()
|
||||
break;
|
||||
default:
|
||||
console.log(val);
|
||||
}
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
351
src/views/modules/quality/components/character-show.vue
Normal file
351
src/views/modules/quality/components/character-show.vue
Normal file
@@ -0,0 +1,351 @@
|
||||
<!--
|
||||
* @Author: zhp
|
||||
* @Date: 2023-07-18 10:25:03
|
||||
* @LastEditTime: 2023-07-18 14:14:55
|
||||
* @LastEditors: zhp
|
||||
* @Description:
|
||||
-->
|
||||
<template>
|
||||
<el-drawer title="特性" :visible.sync="drawer" size="70%">
|
||||
<div class="mod-sys__user">
|
||||
<SearchBar :formConfigs="formConfig" ref="ruleForm" @headBtnClick="buttonClick">
|
||||
</SearchBar>
|
||||
<base-table id="palletTable" :table-props="tableProps" :page="listQuery.page" ref="palletTable1"
|
||||
:limit="listQuery.limit" :table-data="tableData">
|
||||
<method-btn v-if="tableBtn.length" slot="handleBtn" :width="100" label="操作" :method-list="tableBtn"
|
||||
@clickBtn="handleClick" />
|
||||
</base-table>
|
||||
<pagination :limit.sync="listQuery.limit" :page.sync="listQuery.page" :total="listQuery.total"
|
||||
@pagination="getDataList" />
|
||||
<!-- 弹窗, 新增 / 修改 -->
|
||||
<characterShowAdd ref="characterShowAddList" v-if="characterShowAddList" @refreshDataList="getDataList">
|
||||
</characterShowAdd>
|
||||
<!-- <base-dialog :dialogTitle="searchOrEditTitle" :dialogVisible="searchOrUpdateVisible" @cancel="handleSearchCancel"
|
||||
@confirm="handleSearchConfirm" :before-close="handleSearchCancel">
|
||||
<product-search ref="searchOrUpdate" @successSubmit="conditionSearchSubmit"></product-search>
|
||||
<el-row slot="footer" type="flex" justify="end">
|
||||
<el-col :span="12">
|
||||
<el-button size="small" type="primary" plain class="btnTextStyle" @click="handleSearchCancel">
|
||||
{{ $t("close") }}
|
||||
</el-button>
|
||||
<el-button size="small" class="btnTextStyle" type="primary" plain @click="handleSearchReset">{{ $t("reset")
|
||||
}}</el-button>
|
||||
<el-button type="primary" size="small" class="btnTextStyle" @click="handleSearchConfirm">
|
||||
{{ $t("search") }}
|
||||
</el-button>
|
||||
</el-col>
|
||||
</el-row>
|
||||
</base-dialog> -->
|
||||
</div>
|
||||
</el-drawer>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import basicPage from "@/mixins/basic-page";
|
||||
// import basicSearch from "@/mixins/basic-search";
|
||||
// import productSearch from "./components/productSearch.vue";
|
||||
import characterShowAdd from "./characterShow-add.vue";
|
||||
import quality from '@/filters/quality'
|
||||
|
||||
import i18n from "@/i18n";
|
||||
// import i18n from "@/i18n";
|
||||
const tableProps = [
|
||||
{
|
||||
prop: "processName",
|
||||
label: i18n.t('researchquality.processName'),
|
||||
},
|
||||
{
|
||||
prop: "productName",
|
||||
label: i18n.t('basic.productName'),
|
||||
},
|
||||
{
|
||||
prop: "inspectionType",
|
||||
label: i18n.t('quality.inspectionType'),
|
||||
filter: quality('inspectionType')
|
||||
},
|
||||
{
|
||||
prop: "parameterCode",
|
||||
label: i18n.t('quality.parameterCode'),
|
||||
},
|
||||
{
|
||||
prop: "parameterName",
|
||||
label: i18n.t('quality.parameterName'),
|
||||
},
|
||||
{
|
||||
prop: "measuringToolsType",
|
||||
label: i18n.t('quality.measuringToolsType'),
|
||||
},
|
||||
{
|
||||
prop: "specifications",
|
||||
label: i18n.t('quality.specifications'),
|
||||
},
|
||||
{
|
||||
prop: "characteristicsType",
|
||||
label: i18n.t('quality.characteristicsType'),
|
||||
filter: quality('characteristicsType')
|
||||
},
|
||||
{
|
||||
prop: "source",
|
||||
label: i18n.t('quality.source'),
|
||||
},
|
||||
{
|
||||
prop: "company",
|
||||
label: i18n.t('quality.company'),
|
||||
},
|
||||
{
|
||||
prop: "sampleSize",
|
||||
label: i18n.t('quality.sampleSize'),
|
||||
},
|
||||
{
|
||||
prop: "decimalDigits",
|
||||
label: i18n.t('quality.decimalDigits'),
|
||||
},
|
||||
{
|
||||
prop: "monitor",
|
||||
label: i18n.t('quality.monitor'),
|
||||
filter: quality('monitor')
|
||||
},
|
||||
{
|
||||
prop: "analyzeDrawings",
|
||||
label: i18n.t('quality.analyzeDrawings'),
|
||||
},
|
||||
{
|
||||
prop: "upperSpecificationLimit",
|
||||
label: i18n.t('quality.upperSpecificationLimit'),
|
||||
},
|
||||
{
|
||||
prop: "specificationCenterline",
|
||||
label: i18n.t('quality.specificationCenterline'),
|
||||
},
|
||||
{
|
||||
prop: "specificationOffline",
|
||||
label: i18n.t('quality.specificationOffline'),
|
||||
},
|
||||
{
|
||||
prop: "targetCpk",
|
||||
label: i18n.t('quality.targetCpk'),
|
||||
},
|
||||
{
|
||||
prop: "targetPpk",
|
||||
label: i18n.t('quality.targetPpk'),
|
||||
},
|
||||
];
|
||||
const tableBtn = [
|
||||
{
|
||||
type: "edit",
|
||||
btnName: i18n.t('edit'),
|
||||
},
|
||||
{
|
||||
type: "delete",
|
||||
btnName: i18n.t('delete'),
|
||||
}
|
||||
];
|
||||
export default {
|
||||
mixins: [basicPage],
|
||||
data() {
|
||||
return {
|
||||
urlOptions: {
|
||||
getDataListURL: "/code/characteristics/page",
|
||||
deleteURL: "/code/characteristics",
|
||||
exportURL: '/code/characteristics/export',
|
||||
// getProductTypeURL: '/basic/qmsProductType/page'
|
||||
},
|
||||
drawer:false,
|
||||
tableProps,
|
||||
characterShowAddList:false,
|
||||
tableBtn,
|
||||
productData: {},
|
||||
searchOrEditTitle: "",
|
||||
searchOrUpdateVisible: false,
|
||||
productOrEditTitle: "",
|
||||
addOrEditTitle: '',
|
||||
addOrUpdateVisible: false,
|
||||
productOrUpdateVisible: false,
|
||||
formConfig: [
|
||||
// {
|
||||
// type: 'input',
|
||||
// label: i18n.t('basic.productCode'),
|
||||
// placeholder: i18n.t('basic.productCode'),
|
||||
// param: 'name',
|
||||
// clearable: true
|
||||
// },
|
||||
// {
|
||||
// type: 'input',
|
||||
// label: i18n.t('basic.productName'),
|
||||
// placeholder: i18n.t('basic.productName'),
|
||||
// param: 'code',
|
||||
// clearable: true
|
||||
// },
|
||||
// {
|
||||
// type: 'input',
|
||||
// label: i18n.t('basic.specification'),
|
||||
// placeholder: i18n.t('basic.specification'),
|
||||
// param: 'code',
|
||||
// clearable: true
|
||||
// },
|
||||
// {
|
||||
// type: 'select',
|
||||
// label: i18n.t('basic.inspectionPlan'),
|
||||
// placeholder: i18n.t('basic.inspectionPlan'),
|
||||
// param: 'code',
|
||||
// selectOptions: [
|
||||
// {
|
||||
// id: '0',
|
||||
// name: '没有'
|
||||
// },
|
||||
// {
|
||||
// id: '1',
|
||||
// name: '有'
|
||||
// },
|
||||
// ],
|
||||
// clearable: true,
|
||||
// filterable: true
|
||||
// },
|
||||
// {
|
||||
// type: 'select',
|
||||
// label: i18n.t('code.productType'),
|
||||
// placeholder: i18n.t('code.productType'),
|
||||
// param: 'code',
|
||||
// selectOptions: [],
|
||||
// clearable: true,
|
||||
// filterable: true
|
||||
// },
|
||||
{
|
||||
type: "button",
|
||||
btnName: "搜索",
|
||||
name: "search",
|
||||
color: "primary",
|
||||
// plain: true,
|
||||
},
|
||||
{
|
||||
type: "button",
|
||||
btnName: "新增",
|
||||
name: "add",
|
||||
color: "success",
|
||||
plain: true
|
||||
}
|
||||
],
|
||||
};
|
||||
},
|
||||
components: {
|
||||
// productAdd
|
||||
characterShowAdd
|
||||
},
|
||||
mounted() {
|
||||
// this.getDict()
|
||||
},
|
||||
methods: {
|
||||
//search-bar点击
|
||||
handleProductCancel() {
|
||||
this.productOrUpdateVisible = false;
|
||||
this.productOrEditTitle = "";
|
||||
},
|
||||
// handleSearchCancel() {
|
||||
// this.searchOrEditTitle = "";
|
||||
// this.searchOrUpdateVisible = false;
|
||||
// },
|
||||
init(id) {
|
||||
this.listQuery.productId = id || ""
|
||||
// console.log(11111)
|
||||
// this.dataForm.dictTypeId = dictTypeId || "";
|
||||
this.drawer = true
|
||||
this.$nextTick(() => {
|
||||
// if (this.dataForm.id) {
|
||||
this.getDataList()
|
||||
// } else {
|
||||
// this.getCode()
|
||||
// }
|
||||
});
|
||||
},
|
||||
conditionSearch() {
|
||||
this.searchOrEditTitle = "搜索";
|
||||
this.searchOrUpdateVisible = true;
|
||||
this.$nextTick(() => {
|
||||
this.$refs.searchOrUpdate.init()
|
||||
});
|
||||
},
|
||||
// handleConfirm() {
|
||||
// this.$refs.addOrUpdate.dataFormSubmitHandle();
|
||||
// },
|
||||
// conditionSearchSubmit() {},
|
||||
conditionSearchSubmit(dataForm) {
|
||||
// console.log(key);
|
||||
// console.log(key);
|
||||
this.listQuery.productName = dataForm.productName
|
||||
this.listQuery.productCode = dataForm.productCode
|
||||
this.listQuery.page = 1;
|
||||
this.getDataList()
|
||||
this.searchOrUpdateVisible = false;
|
||||
// console.log(11111);
|
||||
// this.conditionSearchSubmit();
|
||||
},
|
||||
handleClick(val) {
|
||||
console.log(val);
|
||||
if (val.type === "delete") {
|
||||
this.$confirm(`确定对名称${val.data.productName}]进行删除操作?`, "提示", {
|
||||
confirmButtonText: "确定",
|
||||
cancelButtonText: "取消",
|
||||
type: "warning",
|
||||
})
|
||||
.then(() => {
|
||||
this.$http.delete(this.urlOptions.deleteURL, { data: [val.data.id] }).then(({ data }) => {
|
||||
if (data && data.code === 0) {
|
||||
this.$message({
|
||||
message: "操作成功",
|
||||
type: "success",
|
||||
duration: 1500,
|
||||
onClose: () => {
|
||||
this.getDataList()
|
||||
},
|
||||
});
|
||||
} else {
|
||||
this.$message.error(data.msg);
|
||||
}
|
||||
});
|
||||
})
|
||||
.catch(() => { });
|
||||
} else if (val.type === 'edit') {
|
||||
this.characterShowAddList = true
|
||||
const obj = {
|
||||
productId: this.listQuery.productId,
|
||||
id:val.data.id
|
||||
}
|
||||
this.$nextTick(() => {
|
||||
this.$refs.characterShowAddList.init(obj)
|
||||
});
|
||||
}
|
||||
},
|
||||
// getDict() {
|
||||
// this.$http
|
||||
// .get(this.urlOptions.getProductTypeURL, {
|
||||
// params: this.listQuery,
|
||||
// })
|
||||
// .then(({ data: res }) => {
|
||||
// if (res.code == 0) {
|
||||
// this.formConfig[4].selectOptions = res.data.list
|
||||
// }
|
||||
// })
|
||||
// },
|
||||
buttonClick(val) {
|
||||
console.log(val);
|
||||
switch (val.btnName) {
|
||||
case "search":
|
||||
this.listQuery.page = 1
|
||||
this.getDataList()
|
||||
break;
|
||||
case "add":
|
||||
this.characterShowAddList = true
|
||||
const obj = {
|
||||
productId:this.listQuery.productId
|
||||
}
|
||||
this.$nextTick(() => {
|
||||
this.$refs.characterShowAddList.init(obj)
|
||||
})
|
||||
break;
|
||||
default:
|
||||
console.log(val);
|
||||
}
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
380
src/views/modules/quality/components/characterShow-add.vue
Normal file
380
src/views/modules/quality/components/characterShow-add.vue
Normal file
@@ -0,0 +1,380 @@
|
||||
<!--
|
||||
* @Author: zhp
|
||||
* @Date: 2023-07-14 13:44:46
|
||||
* @LastEditTime: 2023-07-18 15:01:40
|
||||
* @LastEditors: zhp
|
||||
* @Description:
|
||||
-->
|
||||
<template>
|
||||
<div>
|
||||
<el-drawer close-on-press-escape :title="$t('add')" :append-to-body="true" :before-close="handleClose"
|
||||
:visible.sync="innerDrawer">
|
||||
<el-form :model="dataForm" ref="dataForm" :rules="dataRule" @keyup.enter.native="dataFormSubmitHandle()"
|
||||
label-width="120px">
|
||||
<el-form-item prop="productId" :label="$t('basic.productName')">
|
||||
<el-select v-model="dataForm.productId" :placeholder="$t('basic.productName')">
|
||||
<el-option v-for="item in productList" :key="item.id" :label="item.productName" :value="item.id">
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item prop="processId" :label="$t('researchquality.processName')">
|
||||
<el-select v-model="dataForm.processId" :placeholder="$t('researchquality.processName')">
|
||||
<el-option v-for="item in processList" :key="item.id" :label="item.processName" :value="item.id">
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item prop="measuringToolsType" :label="$t('quality.measuringToolsType')">
|
||||
<el-select v-model="dataForm.measuringToolsType" :placeholder="$t('quality.measuringToolsType')">
|
||||
<el-option v-for="item in gageTypeList" :key="item.id" :label="item.name" :value="item.name">
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item prop="monitor" :label="$t('quality.monitor')">
|
||||
<el-select v-model="dataForm.monitor" :placeholder="$t('quality.monitor')">
|
||||
<el-option v-for="item in monitorList" :key="item.value" :label="item.label" :value="item.value">
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item prop="characteristicsType" :label="$t('quality.characteristicsType')">
|
||||
<el-select v-model="dataForm.characteristicsType" :placeholder="$t('quality.characteristicsType')">
|
||||
<el-option v-for="item in characteristicsTypeList" :key="item.value" :label="item.label"
|
||||
:value="item.value">
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item prop="inspectionType" :label="$t('quality.inspectionType')">
|
||||
<el-select v-model="dataForm.inspectionType" :placeholder="$t('quality.inspectionType')">
|
||||
<el-option v-for="item in inspectionTypeList" :key="item.value" :label="item.label" :value="item.value">
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item prop="parameterCode" :label="$t('quality.parameterCode')">
|
||||
<el-input v-model="dataForm.parameterCode" :placeholder="$t('quality.parameterCode')">
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
<el-form-item prop="parameterName" :label="$t('quality.parameterName')">
|
||||
<el-input v-model="dataForm.parameterName" :placeholder="$t('quality.parameterName')">
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
<el-form-item prop="specifications" :label="$t('quality.specifications')">
|
||||
<el-input v-model="dataForm.specifications" :placeholder="$t('quality.specifications')">
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
<el-form-item prop="source" :label="$t('quality.source')">
|
||||
<el-input v-model="dataForm.source" :placeholder="$t('quality.source')">
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
<el-form-item prop="company" :label="$t('quality.company')">
|
||||
<el-input v-model="dataForm.company" :placeholder="$t('quality.company')">
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
<el-form-item prop="decimalDigits" :label="$t('quality.decimalDigits')">
|
||||
<el-input v-model="dataForm.decimalDigits" :placeholder="$t('quality.decimalDigits')">
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
<el-form-item prop="sampleSize" :label="$t('quality.sampleSize')">
|
||||
<el-input v-model="dataForm.sampleSize" :placeholder="$t('quality.sampleSize')">
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
<el-form-item prop="analyzeDrawings" :label="$t('quality.analyzeDrawings')">
|
||||
<el-input v-model="dataForm.analyzeDrawings" :placeholder="$t('quality.analyzeDrawings')">
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
<el-form-item prop="upperSpecificationLimit" :label="$t('quality.upperSpecificationLimit')">
|
||||
<el-input v-model="dataForm.upperSpecificationLimit" :placeholder="$t('quality.upperSpecificationLimit')">
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
<el-form-item prop="specificationCenterline" :label="$t('quality.specificationCenterline')">
|
||||
<el-input v-model="dataForm.specificationCenterline" :placeholder="$t('quality.specificationCenterline')">
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
<el-form-item prop="specificationOffline" :label="$t('quality.specificationOffline')">
|
||||
<el-input v-model="dataForm.specificationOffline" :placeholder="$t('quality.specificationOffline')">
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
<el-form-item prop="targetCpk" :label="$t('quality.targetCpk')">
|
||||
<el-input v-model="dataForm.targetCpk" :placeholder="$t('quality.targetCpk')">
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
<el-form-item prop="targetPpk" :label="$t('quality.targetPpk')">
|
||||
<el-input v-model="dataForm.targetPpk" :placeholder="$t('quality.targetPpk')">
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
<el-button @click="innerDrawer = false">{{ $t('cancel') }} </el-button>
|
||||
<el-button type="primary" @click="dataFormSubmit"> {{ $t('confirm') }}</el-button>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
</el-drawer>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import i18n from "@/i18n"
|
||||
import basicAdd from "@/mixins/basic-add"
|
||||
import debounce from "lodash/debounce"
|
||||
|
||||
export default {
|
||||
mixins: [basicAdd],
|
||||
data() {
|
||||
return {
|
||||
urlOptions: {
|
||||
submitURL: "/code/characteristics",
|
||||
getDictDataDetail: '/mutual/qmsDataDictionaryDetail/page',
|
||||
getProductListURL: '/basic/qmsProduct/page',
|
||||
getProcessURL: '/basic/qmsProcess/page',
|
||||
getGageTypeURL: "/gage/qmsGageType/page",
|
||||
},
|
||||
monitorList: [
|
||||
{
|
||||
value: 0,
|
||||
label: '否'
|
||||
},
|
||||
{
|
||||
value: 1,
|
||||
label: '是'
|
||||
},
|
||||
],
|
||||
characteristicsTypeList: [
|
||||
{
|
||||
value: 0,
|
||||
label: '计量'
|
||||
},
|
||||
{
|
||||
value: 1,
|
||||
label: '计数'
|
||||
},
|
||||
],
|
||||
inspectionTypeList: [{
|
||||
value: 0,
|
||||
label: '监控'
|
||||
},
|
||||
{
|
||||
value: 1,
|
||||
label: '电芯来料检验'
|
||||
},
|
||||
{
|
||||
value: 2,
|
||||
label: 'IQC抽检'
|
||||
},
|
||||
{
|
||||
value: 3,
|
||||
label: 'IQC抽检2'
|
||||
},
|
||||
{
|
||||
value: 4,
|
||||
label: '原料抽检'
|
||||
},
|
||||
{
|
||||
value: 5,
|
||||
label: '进货外观检验'
|
||||
},
|
||||
{
|
||||
value: 6,
|
||||
label: '库内原料检验'
|
||||
},
|
||||
{
|
||||
value: 7,
|
||||
label: '来料检验'
|
||||
},
|
||||
{
|
||||
value: 8,
|
||||
label: '胶片'
|
||||
},
|
||||
{
|
||||
value: 9,
|
||||
label: '抽检'
|
||||
},
|
||||
{
|
||||
value: 10,
|
||||
label: '巡检'
|
||||
}, {
|
||||
value: 11,
|
||||
label: '首检'
|
||||
},
|
||||
{
|
||||
value: 12,
|
||||
label: '末检'
|
||||
},
|
||||
{
|
||||
value: 13,
|
||||
label: '实时监测'
|
||||
},
|
||||
{
|
||||
value: 14,
|
||||
label: 'FQC抽检'
|
||||
},
|
||||
{
|
||||
value: 15,
|
||||
label: 'OQC抽检'
|
||||
},
|
||||
],
|
||||
processList: [],
|
||||
productList: [],
|
||||
gageTypeList:[],
|
||||
dataForm: {
|
||||
analyzeDrawings:null,
|
||||
characteristicsType: null,
|
||||
company: null,
|
||||
decimalDigits: null,
|
||||
id: null,
|
||||
inspectionType: null,
|
||||
measuringToolsType: null,
|
||||
monitor: null,
|
||||
parameterName: null,
|
||||
parameterCode: null,
|
||||
processId: null,
|
||||
productId: null,
|
||||
remark: null,
|
||||
sampleSize: null,
|
||||
serialNo: null,
|
||||
source: null,
|
||||
specificationCenterline: null,
|
||||
specificationOffline: null,
|
||||
specifications: null,
|
||||
targetCpk: null,
|
||||
targetPpk: null,
|
||||
upperSpecificationLimit: null,
|
||||
},
|
||||
innerDrawer: false,
|
||||
listQuery: {
|
||||
limit: 10,
|
||||
page:1,
|
||||
},
|
||||
categoryList:[],
|
||||
requirementList: [],
|
||||
knowledgeBaseList:[],
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
dataRule() {
|
||||
return {
|
||||
productId: [
|
||||
{
|
||||
required: true,
|
||||
message: this.$t("validate.required"),
|
||||
trigger: "change",
|
||||
},
|
||||
],
|
||||
parameterCode: [
|
||||
{
|
||||
required: true,
|
||||
message: this.$t("validate.required"),
|
||||
trigger: "blur",
|
||||
},
|
||||
],
|
||||
parameterName: [
|
||||
{
|
||||
required: true,
|
||||
message: this.$t("validate.required"),
|
||||
trigger: "blur",
|
||||
},
|
||||
]
|
||||
};
|
||||
},
|
||||
},
|
||||
mounted () {
|
||||
this.getDict()
|
||||
// this.getAccessPath()
|
||||
},
|
||||
methods: {
|
||||
init(obj) {
|
||||
this.dataForm.productId = obj.productId || ''
|
||||
this.dataForm.id = obj.id || ''
|
||||
this.innerDrawer = true
|
||||
this.$nextTick(() => {
|
||||
this.$refs["dataForm"].resetFields()
|
||||
if (this.dataForm.id) {
|
||||
this.getInfo()
|
||||
} else {
|
||||
// this.getCode()
|
||||
}
|
||||
})
|
||||
},
|
||||
handleClose() {
|
||||
this.innerDrawer = true
|
||||
this.$refs.dataForm.resetFields()
|
||||
},
|
||||
getDict() {
|
||||
this.$http
|
||||
.get(this.urlOptions.getProductListURL, {
|
||||
params: {
|
||||
limit: 999,
|
||||
page: 1,
|
||||
}
|
||||
})
|
||||
.then(({ data: res }) => {
|
||||
if (res.code === 0) {
|
||||
this.productList = res.data.list
|
||||
}
|
||||
})
|
||||
this.$http
|
||||
.get(this.urlOptions.getProcessURL, {
|
||||
params: {
|
||||
limit: 999,
|
||||
page: 1,
|
||||
}
|
||||
})
|
||||
.then(({ data: res }) => {
|
||||
if (res.code === 0) {
|
||||
this.processList = res.data.list
|
||||
}
|
||||
})
|
||||
this.$http
|
||||
.get(this.urlOptions.getGageTypeURL, {
|
||||
params: {
|
||||
limit: 999,
|
||||
page: 1,
|
||||
}
|
||||
})
|
||||
.then(({ data: res }) => {
|
||||
if (res.code === 0) {
|
||||
this.gageTypeList = res.data.list
|
||||
}
|
||||
})
|
||||
},
|
||||
getInfo() {
|
||||
this.$http
|
||||
.get(`/code/characteristics/${this.dataForm.id}`)
|
||||
.then(({ data: res }) => {
|
||||
if (res.code !== 0) {
|
||||
return this.$message.error(res.msg);
|
||||
}
|
||||
this.dataForm = {
|
||||
...this.dataForm,
|
||||
...res.data,
|
||||
};
|
||||
})
|
||||
.catch(() => { });
|
||||
},
|
||||
// 表单提交
|
||||
dataFormSubmit() {
|
||||
this.$refs["dataForm"].validate((valid) => {
|
||||
if (!valid) {
|
||||
return false;
|
||||
}
|
||||
this.$http[!this.dataForm.id ? "post" : "put"](this.urlOptions.submitURL, this.dataForm)
|
||||
.then(({ data: res }) => {
|
||||
if (res.code !== 0) {
|
||||
return this.$message.error(res.msg);
|
||||
}
|
||||
this.$message({
|
||||
message: this.$t("prompt.success"),
|
||||
type: "success",
|
||||
duration: 500,
|
||||
onClose: () => {
|
||||
this.innerDrawer = false;
|
||||
this.$emit("refreshDataList");
|
||||
},
|
||||
});
|
||||
})
|
||||
.catch(() => { });
|
||||
});
|
||||
},
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
|
||||
</style>
|
||||
42
src/views/modules/quality/components/isHave.vue
Normal file
42
src/views/modules/quality/components/isHave.vue
Normal file
@@ -0,0 +1,42 @@
|
||||
|
||||
<!--
|
||||
* @Author: zhp
|
||||
* @Date: 2023-01-31 09:49:36
|
||||
* @LastEditTime: 2023-07-18 10:28:40
|
||||
* @LastEditors: zhp
|
||||
* @Description:
|
||||
-->
|
||||
<template>
|
||||
<span>
|
||||
<el-tag v-if="injectData.inspectionPlan === 1" type="success">有</el-tag>
|
||||
<el-tag v-else type="warning">没有</el-tag>
|
||||
</span>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
// import { addDynamicRoute } from '@/router'
|
||||
export default {
|
||||
props: {
|
||||
injectData: {
|
||||
type: Object,
|
||||
default: () => ({})
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
// 子级
|
||||
// emitClick () {
|
||||
// // 路由参数
|
||||
// const routeParams = {
|
||||
// routeName: `${this.$route.name}__${this.injectData.id}`,
|
||||
// title: `${this.$route.meta.title} - ${this.injectData.dictType}`,
|
||||
// path: 'sys/dict-data',
|
||||
// params: {
|
||||
// dictTypeId: this.injectData.id
|
||||
// }
|
||||
// }
|
||||
// // 动态路由
|
||||
// addDynamicRoute(routeParams, this.$router)
|
||||
// }
|
||||
}
|
||||
}
|
||||
</script>
|
||||
130
src/views/modules/quality/components/productSearch.vue
Normal file
130
src/views/modules/quality/components/productSearch.vue
Normal file
@@ -0,0 +1,130 @@
|
||||
|
||||
<!--
|
||||
* @Author: zhp
|
||||
* @Date: 2023-02-21 14:44:31
|
||||
* @LastEditTime: 2023-04-04 14:39:49
|
||||
* @LastEditors: zhp
|
||||
* @Description:
|
||||
-->
|
||||
<template>
|
||||
<el-form :model="dataForm" ref="dataForm" @keyup.enter.native="dataFormSubmitHandle()" label-width="120px">
|
||||
<el-form-item prop="productCode" :label="$t('basic.code')">
|
||||
<el-input v-model="dataForm.productCode" :placeholder="$t('basic.code')" clearable></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item prop="productName" :label="$t('basic.name')">
|
||||
<el-input v-model="dataForm.productName" :placeholder="$t('basic.name')" clearable></el-input>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import debounce from "lodash/debounce";
|
||||
import basicAdd from "@/mixins/basic-add";
|
||||
export default {
|
||||
mixins: [basicAdd],
|
||||
data() {
|
||||
return {
|
||||
// urlOptions: {
|
||||
// submitURL: "/sys/params/",
|
||||
// infoURL: "/sys/params",
|
||||
// },
|
||||
visible: false,
|
||||
options: [{
|
||||
value: '0',
|
||||
label: '不可用'
|
||||
},
|
||||
{
|
||||
value: '1',
|
||||
label: '可用'
|
||||
}],
|
||||
dataForm: {
|
||||
productName: null,
|
||||
productCode: null
|
||||
},
|
||||
};
|
||||
},
|
||||
computed: {
|
||||
// dataRule() {
|
||||
// return {
|
||||
// paramCode: [
|
||||
// {
|
||||
// required: true,
|
||||
// message: this.$t("validate.required"),
|
||||
// trigger: "blur",
|
||||
// },
|
||||
// ],
|
||||
// paramValue: [
|
||||
// {
|
||||
// required: true,
|
||||
// message: this.$t("validate.required"),
|
||||
// trigger: "blur",
|
||||
// },
|
||||
// ],
|
||||
// };
|
||||
// },
|
||||
},
|
||||
methods: {
|
||||
// init(id) {
|
||||
// this.dataForm.id = id || "";
|
||||
// this.visible = true;
|
||||
// this.$nextTick(() => {
|
||||
// this.$refs["dataForm"].resetFields();
|
||||
// if (this.dataForm.id) {
|
||||
// this.getInfo();
|
||||
// }
|
||||
// });
|
||||
// },
|
||||
// 获取信息
|
||||
// getInfo() {
|
||||
// this.$http
|
||||
// .get(`/sys/params/${this.dataForm.id}`)
|
||||
// .then(({ data: res }) => {
|
||||
// if (res.code !== 0) {
|
||||
// return this.$message.error(res.msg);
|
||||
// }
|
||||
// this.dataForm = {
|
||||
// ...this.dataForm,
|
||||
// ...res.data,
|
||||
// };
|
||||
// })
|
||||
// .catch(() => {});
|
||||
// },
|
||||
// 表单提交
|
||||
handleConditionSearch() {
|
||||
this.$emit("successSubmit", this.dataForm);
|
||||
},
|
||||
// dataFormSubmitHandle: debounce(
|
||||
// function () {
|
||||
// // console.log(1111);
|
||||
// // this.visible = false;
|
||||
// this.$emit("successSubmit", this.dataForm.key);
|
||||
// // this.$refs["dataForm"].validate((valid) => {
|
||||
// // if (!valid) {
|
||||
// // return false;
|
||||
// // }
|
||||
// // this.$http[!this.dataForm.id ? "post" : "put"](
|
||||
// // "/sys/params",
|
||||
// // this.dataForm
|
||||
// // )
|
||||
// // .then(({ data: res }) => {
|
||||
// // if (res.code !== 0) {
|
||||
// // return this.$message.error(res.msg);
|
||||
// // }
|
||||
// // this.$message({
|
||||
// // message: this.$t("prompt.success"),
|
||||
// // type: "success",
|
||||
// // duration: 500,
|
||||
// // onClose: () => {
|
||||
|
||||
// // },
|
||||
// // });
|
||||
// // })
|
||||
// // .catch(() => {});
|
||||
// // });
|
||||
// },
|
||||
// 1000,
|
||||
// { leading: true, trailing: false }
|
||||
// ),
|
||||
},
|
||||
};
|
||||
</script>
|
||||
@@ -1,7 +1,7 @@
|
||||
<!--
|
||||
* @Author: zhp
|
||||
* @Date: 2023-01-11 09:24:58
|
||||
* @LastEditTime: 2023-07-12 14:30:40
|
||||
* @LastEditTime: 2023-07-18 10:20:59
|
||||
* @LastEditors: zhp
|
||||
* @Description:
|
||||
-->
|
||||
@@ -185,18 +185,18 @@ export default {
|
||||
param: 'customSamplingCode',
|
||||
clearable: true
|
||||
},
|
||||
{
|
||||
type: "button",
|
||||
btnName: "搜索",
|
||||
name: "search",
|
||||
color: "primary",
|
||||
},
|
||||
{
|
||||
type: "button",
|
||||
btnName: "新增",
|
||||
name: "add",
|
||||
color: "success",
|
||||
plain: true
|
||||
},
|
||||
{
|
||||
type: "button",
|
||||
btnName: "搜索",
|
||||
name: "search",
|
||||
color: "primary",
|
||||
}
|
||||
],
|
||||
};
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<!--
|
||||
* @Author: zhp
|
||||
* @Date: 2023-01-11 09:24:58
|
||||
* @LastEditTime: 2023-07-11 15:38:25
|
||||
* @LastEditTime: 2023-07-18 10:21:09
|
||||
* @LastEditors: zhp
|
||||
* @Description:
|
||||
-->
|
||||
@@ -129,17 +129,17 @@ export default {
|
||||
},
|
||||
{
|
||||
type: "button",
|
||||
btnName: "新增",
|
||||
name: "add",
|
||||
color: 'success',
|
||||
plain: true
|
||||
btnName: "搜索",
|
||||
name: "search",
|
||||
color: "primary",
|
||||
// plain: true,
|
||||
},
|
||||
{
|
||||
type: "button",
|
||||
btnName: "搜索",
|
||||
name: "search",
|
||||
color: "primary",
|
||||
btnName: "新增",
|
||||
name: "add",
|
||||
color: 'success',
|
||||
plain: true
|
||||
// plain: true,
|
||||
}
|
||||
],
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<!--
|
||||
* @Author: zhp
|
||||
* @Date: 2023-01-11 09:24:58
|
||||
* @LastEditTime: 2023-07-12 14:43:09
|
||||
* @LastEditTime: 2023-07-18 10:21:26
|
||||
* @LastEditors: zhp
|
||||
* @Description:
|
||||
-->
|
||||
@@ -114,18 +114,18 @@ export default {
|
||||
param: 'name',
|
||||
clearable: true
|
||||
},
|
||||
{
|
||||
type: "button",
|
||||
btnName: "搜索",
|
||||
name: "search",
|
||||
color: "primary",
|
||||
},
|
||||
{
|
||||
type: "button",
|
||||
btnName: "新增",
|
||||
name: "add",
|
||||
color: "success",
|
||||
plain: true
|
||||
},
|
||||
{
|
||||
type: "button",
|
||||
btnName: "搜索",
|
||||
name: "search",
|
||||
color: "primary",
|
||||
}
|
||||
],
|
||||
};
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<!--
|
||||
* @Author: zhp
|
||||
* @Date: 2023-01-11 09:24:58
|
||||
* @LastEditTime: 2023-07-12 14:22:56
|
||||
* @LastEditTime: 2023-07-18 10:21:38
|
||||
* @LastEditors: zhp
|
||||
* @Description:
|
||||
-->
|
||||
@@ -218,17 +218,17 @@ export default {
|
||||
},
|
||||
{
|
||||
type: "button",
|
||||
btnName: "新增",
|
||||
name: "add",
|
||||
color: 'success',
|
||||
plain: true
|
||||
btnName: "搜索",
|
||||
name: "search",
|
||||
color: "primary",
|
||||
// plain: true,
|
||||
},
|
||||
{
|
||||
type: "button",
|
||||
btnName: "搜索",
|
||||
name: "search",
|
||||
color: "primary",
|
||||
btnName: "新增",
|
||||
name: "add",
|
||||
color: 'success',
|
||||
plain: true
|
||||
// plain: true,
|
||||
}
|
||||
],
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<!--
|
||||
* @Author: zhp
|
||||
* @Date: 2023-01-11 09:24:58
|
||||
* @LastEditTime: 2023-07-12 14:30:03
|
||||
* @LastEditTime: 2023-07-18 10:21:47
|
||||
* @LastEditors: zhp
|
||||
* @Description:
|
||||
-->
|
||||
@@ -129,18 +129,18 @@ export default {
|
||||
// {
|
||||
// type: "separate",
|
||||
// },
|
||||
{
|
||||
type: "button",
|
||||
btnName: "搜索",
|
||||
name: "search",
|
||||
color: "primary",
|
||||
},
|
||||
{
|
||||
type: "button",
|
||||
btnName: "新增",
|
||||
name: "add",
|
||||
color: "success",
|
||||
plain: true
|
||||
},
|
||||
{
|
||||
type: "button",
|
||||
btnName: "搜索",
|
||||
name: "search",
|
||||
color: "primary",
|
||||
}
|
||||
],
|
||||
};
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<!--
|
||||
* @Author: zhp
|
||||
* @Date: 2023-01-11 09:24:58
|
||||
* @LastEditTime: 2023-07-12 14:32:41
|
||||
* @LastEditTime: 2023-07-18 10:21:55
|
||||
* @LastEditors: zhp
|
||||
* @Description:
|
||||
-->
|
||||
@@ -137,18 +137,18 @@ export default {
|
||||
param: 'code',
|
||||
clearable: true
|
||||
},
|
||||
{
|
||||
type: "button",
|
||||
btnName: "搜索",
|
||||
name: "search",
|
||||
color: "primary",
|
||||
},
|
||||
{
|
||||
type: "button",
|
||||
btnName: "新增",
|
||||
name: "add",
|
||||
color: "success",
|
||||
plain: true
|
||||
},
|
||||
{
|
||||
type: "button",
|
||||
btnName: "搜索",
|
||||
name: "search",
|
||||
color: "primary",
|
||||
}
|
||||
],
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user