diff --git a/.env.development b/.env.development index c4d0bed..947d501 100644 --- a/.env.development +++ b/.env.development @@ -1,5 +1,6 @@ # 页面标题 -VUE_APP_TITLE = 华西海圻ELN V1.0 +VUE_APP_TITLE = 华西海圻实验室电子记录系统V1.0 +VUE_APP_TITLE_EN = WCFP Electronic Laboratory Notebook # 开发环境配置 ENV = 'development' diff --git a/.env.production b/.env.production index bb1ed9a..5d50a5d 100644 --- a/.env.production +++ b/.env.production @@ -1,5 +1,6 @@ # 页面标题 -VUE_APP_TITLE = 华西海圻ELN V1.0 +VUE_APP_TITLE = 华西海圻实验室电子记录系统V1.0 +VUE_APP_TITLE_EN = WCFP Electronic Laboratory Notebook # 生产环境配置 ENV = 'production' diff --git a/src/App.vue b/src/App.vue index c0c9f75..028a004 100644 --- a/src/App.vue +++ b/src/App.vue @@ -123,6 +123,10 @@ export default { #app .theme-picker { display: none; } +html{ + color:#606266; + font-size: 14px; +} .el-dialog__header { box-shadow: 0 2px 12px 0 rgba(0, 0, 0, .1) !important; diff --git a/src/api/business/gyzj/gyzjFfjl.js b/src/api/business/gyzj/gyzjFfjl.js index 4f88e14..844979e 100644 --- a/src/api/business/gyzj/gyzjFfjl.js +++ b/src/api/business/gyzj/gyzjFfjl.js @@ -8,6 +8,14 @@ export function list(query) { params: query }) } + +export function yltj(query) { + return request({ + url: '/system/business/gyzjFfjl/yltj', + method: 'get', + params: query + }) +} // 稽查轨迹列表 export function jcgjList(query) { return request({ diff --git a/src/api/business/mjy/mjyFfjl.js b/src/api/business/mjy/mjyFfjl.js index 92fb274..1aba384 100644 --- a/src/api/business/mjy/mjyFfjl.js +++ b/src/api/business/mjy/mjyFfjl.js @@ -8,6 +8,14 @@ export function list(query) { params: query }) } +// 列表 +export function yltj(query) { + return request({ + url: '/system/business/mjyFfjl/yltj', + method: 'get', + params: query + }) +} // 稽查轨迹列表 export function jcgjList(query) { return request({ diff --git a/src/api/business/study/studyFormFill.js b/src/api/business/study/studyFormFill.js index 009ca76..119f8b8 100644 --- a/src/api/business/study/studyFormFill.js +++ b/src/api/business/study/studyFormFill.js @@ -24,6 +24,16 @@ export function studyFormFill_exportDetail(query) { params: query }) } + +export function studyFormFill_exportTbByFileUrl(query) { + return request({ + url: '/system/business/studyFormFill/exportTbByFileUrl', + method: 'get', + params: query + }) +} + + export function studyFormFill_exportByFileUrl(query) { return request({ url: '/system/business/studyFormFill/exportByFileUrl', diff --git a/src/components/Template/BaseInfoFormPackage.vue b/src/components/Template/BaseInfoFormPackage.vue index 7350c5b..debf7d4 100644 --- a/src/components/Template/BaseInfoFormPackage.vue +++ b/src/components/Template/BaseInfoFormPackage.vue @@ -127,6 +127,7 @@ :field-item-label="fieldItemLabel" :field-key="prefixKey + '_' + key" :type="sItem.type" sourceFrom="baseInfoFormPackage" :error="errors[key]" @update:error="errors[key] = false" + :orange-bg="regentIsExpired(key)" @onRegentSubmit="(data, inputValue) => onRegentSubmit(data, inputValue, key, sItem)" :item="sItem" :value="formFields[key]" /> @@ -183,7 +184,7 @@ :style="{ 'width': sItem.labelWidth ? sItem.labelWidth + 'px' : '150px' }" v-if="sItem.label"> {{ $t(sItem.label) }} -
+
{{ formFields[key] }}
@@ -274,6 +275,7 @@ @beforeReagentSubmit="(data, callback) => onBeforeReagentSubmit(data, callback, sItem.subKey)" @onRegentSubmit="(data, inputValue) => onRegentSubmit(data, inputValue, sItem.subKey, sItem)" :error="errors[sItem.subKey]" @update:error="errors[sItem.subKey] = false" + :orange-bg="regentIsExpired(sItem.subKey)" :value="formFields[sItem.subKey]" />
@@ -309,6 +311,7 @@ @beforeReagentSubmit="(data, callback) => onBeforeReagentSubmit(data, callback, key)" @onRegentSubmit="(data, inputValue) => onRegentSubmit(data, inputValue, key, sItem)" :field-key="prefixKey + '_' + key" :type="sItem.type" :error="errors[key]" + :orange-bg="regentIsExpired(key)" @update:error="errors[key] = false" :item="getRegentItem(sItem)" :value="formFields[key]" /> {{ $t(sItem.subText) }} @@ -441,9 +444,7 @@ export default { const arr = ["动物种属", "细胞系"]; return arr.includes(value) }, - onBeforeReagentSubmit(data, callback, key) { - this.$emit('beforeReagentSubmit', { selectData: data, callback, key, formFields: this.formFields }) - }, + // 点击按钮 handleClickButton(e, item, val, data, key) { if (!item.isClearForm) { @@ -466,22 +467,30 @@ export default { }, // 获取按钮项 getThirdButtonItem(sItem) { - return { + const o = + { ...sItem, key: sItem.thirdKey, - disabled: sItem.thirdDisabled, buttonName: sItem.thirdButtonName, fillType: sItem.thirdFillType || sItem.fillType } + if(sItem.hasOwnProperty("thirdDisabled")){ + o.disabled = sItem.thirdDisabled; + } + return o; }, getFourthButtonItem(sItem) { - return { + const o = + { ...sItem, key: sItem.fourthKey, buttonName: sItem.fourthButtonName, - disabled: sItem.fourthDisabled, fillType: sItem.fourthFillType || sItem.fillType } + if(sItem.hasOwnProperty("fourthDisabled")){ + o.disabled = sItem.fourthDisabled; + } + return o; }, // 处理fqyq变化 onFqyqChange(key, e) { @@ -691,4 +700,9 @@ export default { width: 120px; text-align: center; } +.span-text { + font-size: 14px; + font-weight: normal; + color: #606266; +} \ No newline at end of file diff --git a/src/components/Template/CustomTable.vue b/src/components/Template/CustomTable.vue index 66501e5..f30aa93 100644 --- a/src/components/Template/CustomTable.vue +++ b/src/components/Template/CustomTable.vue @@ -1,7 +1,7 @@ -
- +
+
@@ -125,9 +126,9 @@ :fieldItemLabel="fieldItemLabel" type="input" @blur="onOperableInputBlur(opItem, $event)" class="body-input" :item="getBodyItem(col, rowIndex)" :value="opItem.value" - :error="hasError(rowIndex, colIndex, rowIndex+col.prop+itemIndex)" - @update:error="onErrorUpdate(rowIndex, colIndex, rowIndex+col.prop+itemIndex, $event)" - :orange-bg="hasOrangeBg(rowIndex, colIndex, rowIndex+col.prop+itemIndex)" /> + :error="hasError(rowIndex, colIndex, rowIndex + col.prop + itemIndex)" + @update:error="onErrorUpdate(rowIndex, colIndex, rowIndex + col.prop + itemIndex, $event)" + :orange-bg="hasOrangeBg(rowIndex, colIndex, rowIndex + col.prop + itemIndex)" /> @@ -136,7 +137,8 @@
-
@@ -158,7 +160,7 @@ @onRegentSubmit="(data, inputValue) => onRegentSubmit(data, inputValue, col, rowIndex, colIndex, row, col.prop)" @beforeReagentSubmit="(data, callback) => onBeforeReagentSubmit(data, callback, col, row)" @update:error="onErrorUpdate(rowIndex, colIndex, col.prop, $event)" - :orange-bg="hasOrangeBg(rowIndex, colIndex, col.prop)" /> + :orange-bg="regentIsExpired(col.prop,rowIndex)" />
diff --git a/src/views/business/comps/template/comps/dl/DL014.vue b/src/views/business/comps/template/comps/dl/DL014.vue index cc1c8ba..8ef646e 100644 --- a/src/views/business/comps/template/comps/dl/DL014.vue +++ b/src/views/business/comps/template/comps/dl/DL014.vue @@ -15,7 +15,7 @@ - diff --git a/src/views/business/form/nonTrial/comp/tbbdList.vue b/src/views/business/form/nonTrial/comp/tbbdList.vue index 6ebf115..552d4f6 100644 --- a/src/views/business/form/nonTrial/comp/tbbdList.vue +++ b/src/views/business/form/nonTrial/comp/tbbdList.vue @@ -122,7 +122,7 @@ v-hasPermi="['business:nonTrialFormFill:qrfz']">{{ $t('page.business.study.studyFormFill.qrfz') }} - {{ $t('page.business.study.studyFormFill.gc') }} diff --git a/src/views/business/resource/gsp/comps/ffjl/Gd.vue b/src/views/business/resource/gsp/comps/ffjl/Gd.vue index ad59156..e00e4d4 100644 --- a/src/views/business/resource/gsp/comps/ffjl/Gd.vue +++ b/src/views/business/resource/gsp/comps/ffjl/Gd.vue @@ -141,11 +141,13 @@ export default { if (this.isBatch) { plgd(this.form).then(response => { this.open = false + this.$modal.msgSuccess(this.$t('form.operationSuccess')) this.$emit('callback') }) } else { gd(this.form).then(response => { this.open = false + this.$modal.msgSuccess(this.$t('form.operationSuccess')) this.$emit('callback') }) } diff --git a/src/views/business/resource/gsp/comps/ffjl/Jd.vue b/src/views/business/resource/gsp/comps/ffjl/Jd.vue index 27b5e7e..e3875c4 100644 --- a/src/views/business/resource/gsp/comps/ffjl/Jd.vue +++ b/src/views/business/resource/gsp/comps/ffjl/Jd.vue @@ -130,11 +130,13 @@ export default { if (this.isBatch) { jdBatch(this.form).then(response => { this.open = false + this.$modal.msgSuccess(this.$t('form.operationSuccess')) this.$emit('callback') }) } else { jd(this.form).then(response => { this.open = false + this.$modal.msgSuccess(this.$t('form.operationSuccess')) this.$emit('callback') }) } diff --git a/src/views/business/resource/gsp/comps/ffjl/Jq.vue b/src/views/business/resource/gsp/comps/ffjl/Jq.vue index 2b980d3..b96db6c 100644 --- a/src/views/business/resource/gsp/comps/ffjl/Jq.vue +++ b/src/views/business/resource/gsp/comps/ffjl/Jq.vue @@ -114,6 +114,7 @@ export default { if (valid) { jq(this.form).then(response => { this.open = false + this.$modal.msgSuccess(this.$t('form.operationSuccess')) this.$emit('callback') }) } diff --git a/src/views/business/resource/gsp/comps/ffjl/Js.vue b/src/views/business/resource/gsp/comps/ffjl/Js.vue index 4cc1e2b..e91411f 100644 --- a/src/views/business/resource/gsp/comps/ffjl/Js.vue +++ b/src/views/business/resource/gsp/comps/ffjl/Js.vue @@ -117,6 +117,7 @@ export default { if (valid) { js(this.form).then(response => { this.open = false + this.$modal.msgSuccess(this.$t('form.operationSuccess')) this.$emit('callback') }) } diff --git a/src/views/business/resource/gsp/comps/ffjl/Jy.vue b/src/views/business/resource/gsp/comps/ffjl/Jy.vue index 4528292..bc106a6 100644 --- a/src/views/business/resource/gsp/comps/ffjl/Jy.vue +++ b/src/views/business/resource/gsp/comps/ffjl/Jy.vue @@ -149,6 +149,7 @@ export default { jy(this.form).then(response => { this.open = false + this.$modal.msgSuccess(this.$t('form.operationSuccess')) this.$emit('callback') }) } diff --git a/src/views/business/resource/gsp/comps/ffjl/Sd.vue b/src/views/business/resource/gsp/comps/ffjl/Sd.vue index f55513c..6bc62ff 100644 --- a/src/views/business/resource/gsp/comps/ffjl/Sd.vue +++ b/src/views/business/resource/gsp/comps/ffjl/Sd.vue @@ -141,11 +141,13 @@ export default { if (this.isBatch) { plsd(this.form).then(response => { this.open = false + this.$modal.msgSuccess(this.$t('form.operationSuccess')) this.$emit('callback') }) } else { sd(this.form).then(response => { this.open = false + this.$modal.msgSuccess(this.$t('form.operationSuccess')) this.$emit('callback') }) } diff --git a/src/views/business/resource/gsp/comps/gsp/Cc.vue b/src/views/business/resource/gsp/comps/gsp/Cc.vue index 62cb895..ef0df4b 100644 --- a/src/views/business/resource/gsp/comps/gsp/Cc.vue +++ b/src/views/business/resource/gsp/comps/gsp/Cc.vue @@ -176,6 +176,7 @@ export default { cc(this.form).then(response => { this.open = false this.$emit('callback') + this.$modal.msgSuccess(this.$t('form.operationSuccess')) this.$modal.closeLoading() }).finally(() => { this.$modal.closeLoading() diff --git a/src/views/business/resource/gsp/comps/gsp/Cz.vue b/src/views/business/resource/gsp/comps/gsp/Cz.vue index 09cdcde..5dcac6e 100644 --- a/src/views/business/resource/gsp/comps/gsp/Cz.vue +++ b/src/views/business/resource/gsp/comps/gsp/Cz.vue @@ -152,6 +152,7 @@ export default { if (valid) { cz(this.form).then(response => { this.open = false + this.$modal.msgSuccess(this.$t('form.operationSuccess')) this.$emit('callback') }) } diff --git a/src/views/business/resource/gsp/comps/gsp/CzBatch.vue b/src/views/business/resource/gsp/comps/gsp/CzBatch.vue index ab4f552..b5750c7 100644 --- a/src/views/business/resource/gsp/comps/gsp/CzBatch.vue +++ b/src/views/business/resource/gsp/comps/gsp/CzBatch.vue @@ -172,6 +172,7 @@ export default { plcz(params).then(response => { this.open = false this.$emit('callback') + this.$modal.msgSuccess(this.$t('form.operationSuccess')) this.$modal.closeLoading() }).finally(() => { this.$modal.closeLoading() diff --git a/src/views/business/resource/gsp/comps/gsp/Ff.vue b/src/views/business/resource/gsp/comps/gsp/Ff.vue index 9cf7967..cb8f9c7 100644 --- a/src/views/business/resource/gsp/comps/gsp/Ff.vue +++ b/src/views/business/resource/gsp/comps/gsp/Ff.vue @@ -30,11 +30,10 @@ + width="130px" :show-overflow-tooltip="true"/> @@ -427,6 +426,7 @@ export default { } else { ff(params).then(response => { this.open = false + this.$modal.msgSuccess(this.$t('form.operationSuccess')) this.$emit('callback') }) } diff --git a/src/views/business/resource/gsp/comps/gsp/Gd.vue b/src/views/business/resource/gsp/comps/gsp/Gd.vue index f83eae9..275629e 100644 --- a/src/views/business/resource/gsp/comps/gsp/Gd.vue +++ b/src/views/business/resource/gsp/comps/gsp/Gd.vue @@ -117,11 +117,13 @@ export default { if (this.isBatch) { plgd(this.form).then(response => { this.open = false + this.$modal.msgSuccess(this.$t('form.operationSuccess')) this.$emit('callback') }) } else { gd(this.form).then(response => { this.open = false + this.$modal.msgSuccess(this.$t('form.operationSuccess')) this.$emit('callback') }) } diff --git a/src/views/business/resource/gsp/comps/gsp/Gh.vue b/src/views/business/resource/gsp/comps/gsp/Gh.vue index b9a705f..dfa39f3 100644 --- a/src/views/business/resource/gsp/comps/gsp/Gh.vue +++ b/src/views/business/resource/gsp/comps/gsp/Gh.vue @@ -68,7 +68,7 @@ - + @@ -172,10 +172,11 @@ import { gh, info } from "@/api/business/gsp/gsp" import { mapGetters } from 'vuex' import SelectDeptUser from '@/views/business/comps/select/SelectDeptUser'; +import BusinessSelect from '@/views/business/comps/select/BusinessSelect'; export default { name: "GspGh", - components: { SelectDeptUser }, + components: { SelectDeptUser, BusinessSelect }, data() { return { isBatch: false, @@ -275,20 +276,12 @@ export default { }, show(row) { this.reset() - this.form.id = row.id - this.form.mc = row.mc - this.form.bh = row.bh - this.form.ph = row.ph - this.form.gg = row.gg - this.form.ggdw = row.ggdw - this.form.yxq = row.yxq - this.form.jsrq = row.jsrq - this.form.ffrq = row.ffrq - this.form.cctj = row.cctj - this.form.kc = row.kc - this.form.kcdw = row.kcdw - this.form.zysx = row.zysx - this.open = true + info({id: row.id}).then(response => { + this.form = response.data + this.open = true + }) + + }, save() { this.$refs["form"].validate(valid => { diff --git a/src/views/business/resource/gsp/comps/gsp/Js.vue b/src/views/business/resource/gsp/comps/gsp/Js.vue index 68ae9a1..bbc7d1d 100644 --- a/src/views/business/resource/gsp/comps/gsp/Js.vue +++ b/src/views/business/resource/gsp/comps/gsp/Js.vue @@ -117,6 +117,7 @@ export default { if (valid) { js(this.form).then(response => { this.open = false + this.$modal.msgSuccess(this.$t('form.operationSuccess')) this.$emit('callback') }) } diff --git a/src/views/business/resource/gsp/comps/gsp/Jy.vue b/src/views/business/resource/gsp/comps/gsp/Jy.vue index 6bcd292..483c5c0 100644 --- a/src/views/business/resource/gsp/comps/gsp/Jy.vue +++ b/src/views/business/resource/gsp/comps/gsp/Jy.vue @@ -175,6 +175,7 @@ export default { if (valid) { jy(this.form).then(response => { this.open = false + this.$modal.msgSuccess(this.$t('form.operationSuccess')) this.$emit('callback') }) diff --git a/src/views/business/resource/gsp/comps/gsp/Sd.vue b/src/views/business/resource/gsp/comps/gsp/Sd.vue index 526a2cb..2ec60f3 100644 --- a/src/views/business/resource/gsp/comps/gsp/Sd.vue +++ b/src/views/business/resource/gsp/comps/gsp/Sd.vue @@ -116,11 +116,13 @@ export default { if (this.isBatch) { plsd(this.form).then(response => { this.open = false + this.$modal.msgSuccess(this.$t('form.operationSuccess')) this.$emit('callback') }) } else { sd(this.form).then(response => { this.open = false + this.$modal.msgSuccess(this.$t('form.operationSuccess')) this.$emit('callback') }) } diff --git a/src/views/business/resource/gsp/comps/gsp/Xq.vue b/src/views/business/resource/gsp/comps/gsp/Xq.vue index 6f2045a..dc7b271 100644 --- a/src/views/business/resource/gsp/comps/gsp/Xq.vue +++ b/src/views/business/resource/gsp/comps/gsp/Xq.vue @@ -136,6 +136,7 @@ export default { data() { return { appTitle: process.env.VUE_APP_TITLE, + appTitleEn: process.env.VUE_APP_TITLE_EN, form: {}, tzList: [], totalTz: 0, @@ -160,7 +161,7 @@ export default { methods: { exportPDF() { this.$modal.loading() - exportDetail({ id: this.form.id,lang:this.$store.getters.language.split("_")[0],version:this.appTitle }).then(response => { + exportDetail({ id: this.form.id,lang:this.$store.getters.language.split("_")[0],version:this.$store.getters.language.split("_")[0]=='zh'?this.appTitle:this.appTitleEn }).then(response => { window.open(process.env.VUE_APP_FILE_DOMAIN +response.msg) this.saveSimpleLog({name:this.form.bh,nameEn:this.form.bh,jcmc:'供试品导出',jcmcEn:'Test Item Export'}) this.$modal.closeLoading() diff --git a/src/views/business/resource/gsp/comps/gsp/Xz.vue b/src/views/business/resource/gsp/comps/gsp/Xz.vue index 9802c38..3336ad1 100644 --- a/src/views/business/resource/gsp/comps/gsp/Xz.vue +++ b/src/views/business/resource/gsp/comps/gsp/Xz.vue @@ -226,6 +226,7 @@ export default { if (valid) { save(this.form).then(response => { this.open = false + this.$modal.msgSuccess(this.$t('form.operationSuccess')) this.$emit('callback') }) } diff --git a/src/views/business/resource/gsp/comps/gsp/Ysff.vue b/src/views/business/resource/gsp/comps/gsp/Ysff.vue index 568997f..1e71361 100644 --- a/src/views/business/resource/gsp/comps/gsp/Ysff.vue +++ b/src/views/business/resource/gsp/comps/gsp/Ysff.vue @@ -207,6 +207,7 @@ export default { params.list = this.selectList ysff(params).then(response => { this.open = false + this.$modal.msgSuccess(this.$t('form.operationSuccess')) this.$emit('callback') }) } diff --git a/src/views/business/resource/gsp/comps/rkjl/Bj.vue b/src/views/business/resource/gsp/comps/rkjl/Bj.vue index 6aa3efc..cd553b1 100644 --- a/src/views/business/resource/gsp/comps/rkjl/Bj.vue +++ b/src/views/business/resource/gsp/comps/rkjl/Bj.vue @@ -214,6 +214,7 @@ export default { if (valid) { bj(this.form).then(response => { this.open = false + this.$modal.msgSuccess(this.$t('form.operationSuccess')) this.$emit('callback') }) } diff --git a/src/views/business/resource/gsp/comps/rkjl/Gd.vue b/src/views/business/resource/gsp/comps/rkjl/Gd.vue index e6aba73..78c629a 100644 --- a/src/views/business/resource/gsp/comps/rkjl/Gd.vue +++ b/src/views/business/resource/gsp/comps/rkjl/Gd.vue @@ -141,11 +141,13 @@ export default { if (this.isBatch) { plgd(this.form).then(response => { this.open = false + this.$modal.msgSuccess(this.$t('form.operationSuccess')) this.$emit('callback') }) } else { gd(this.form).then(response => { this.open = false + this.$modal.msgSuccess(this.$t('form.operationSuccess')) this.$emit('callback') }) } diff --git a/src/views/business/resource/gsp/comps/rkjl/Jd.vue b/src/views/business/resource/gsp/comps/rkjl/Jd.vue index b973659..314a39e 100644 --- a/src/views/business/resource/gsp/comps/rkjl/Jd.vue +++ b/src/views/business/resource/gsp/comps/rkjl/Jd.vue @@ -131,11 +131,13 @@ export default { if (this.isBatch) { jdBatch(this.form).then(response => { this.open = false + this.$modal.msgSuccess(this.$t('form.operationSuccess')) this.$emit('callback') }) } else { jd(this.form).then(response => { this.open = false + this.$modal.msgSuccess(this.$t('form.operationSuccess')) this.$emit('callback') }) } diff --git a/src/views/business/resource/gsp/comps/rkjl/Js.vue b/src/views/business/resource/gsp/comps/rkjl/Js.vue index b195366..1737d35 100644 --- a/src/views/business/resource/gsp/comps/rkjl/Js.vue +++ b/src/views/business/resource/gsp/comps/rkjl/Js.vue @@ -117,6 +117,7 @@ export default { if (valid) { js(this.form).then(response => { this.open = false + this.$modal.msgSuccess(this.$t('form.operationSuccess')) this.$emit('callback') }) } diff --git a/src/views/business/resource/gsp/comps/rkjl/Jy.vue b/src/views/business/resource/gsp/comps/rkjl/Jy.vue index f985c18..186bb3f 100644 --- a/src/views/business/resource/gsp/comps/rkjl/Jy.vue +++ b/src/views/business/resource/gsp/comps/rkjl/Jy.vue @@ -149,6 +149,7 @@ export default { jy(this.form).then(response => { this.open = false + this.$modal.msgSuccess(this.$t('form.operationSuccess')) this.$emit('callback') }) } diff --git a/src/views/business/resource/gsp/comps/rkjl/RkjlImport.vue b/src/views/business/resource/gsp/comps/rkjl/RkjlImport.vue index e72b361..98e5531 100644 --- a/src/views/business/resource/gsp/comps/rkjl/RkjlImport.vue +++ b/src/views/business/resource/gsp/comps/rkjl/RkjlImport.vue @@ -118,8 +118,13 @@ export default { this.upload.open = false this.upload.isUploading = false this.$refs.upload.clearFiles() - this.$alert("
" + response.msg + "
", "导入结果", { dangerouslyUseHTMLString: true }) - this.$emit('callback') + if(response.code == 200) { + this.$modal.msgSuccess("导入成功"); + this.$emit('callback') + this.cancel() + } else { + this.$modal.alertError(response.msg); + } }, // 提交上传文件 submitFileForm() { diff --git a/src/views/business/resource/gsp/comps/rkjl/Sd.vue b/src/views/business/resource/gsp/comps/rkjl/Sd.vue index 78a4d0d..4e4ecd4 100644 --- a/src/views/business/resource/gsp/comps/rkjl/Sd.vue +++ b/src/views/business/resource/gsp/comps/rkjl/Sd.vue @@ -141,11 +141,13 @@ export default { if (this.isBatch) { plsd(this.form).then(response => { this.open = false + this.$modal.msgSuccess(this.$t('form.operationSuccess')) this.$emit('callback') }) } else { sd(this.form).then(response => { this.open = false + this.$modal.msgSuccess(this.$t('form.operationSuccess')) this.$emit('callback') }) } diff --git a/src/views/business/resource/gsp/comps/rkjl/Xz.vue b/src/views/business/resource/gsp/comps/rkjl/Xz.vue index 663a666..f6d4f80 100644 --- a/src/views/business/resource/gsp/comps/rkjl/Xz.vue +++ b/src/views/business/resource/gsp/comps/rkjl/Xz.vue @@ -54,8 +54,8 @@ - + @@ -221,6 +221,7 @@ export default { if (valid) { xz(this.form).then(response => { this.open = false + this.$modal.msgSuccess(this.$t('form.operationSuccess')) this.$emit('callback') }) } diff --git a/src/views/business/resource/gyzj/comps/ffjlList.vue b/src/views/business/resource/gyzj/comps/ffjlList.vue index 4771aef..ab72bfe 100644 --- a/src/views/business/resource/gyzj/comps/ffjlList.vue +++ b/src/views/business/resource/gyzj/comps/ffjlList.vue @@ -80,6 +80,11 @@ {{ $t('form.export') }} + + {{ $t('page.business.resource.gyzj.ckl') }}:{{ ckldw != '' ? ckl : '--' }}{{ ckldw }} ; + {{ $t('page.business.resource.gyzj.rkl') }}:{{ rkldw != '' ? rkl : '--' }}{{ rkldw }} ; + {{ $t('page.business.resource.gyzj.syl') }}:{{ syldw != '' ? syl : '--' }}{{ syldw }} ; + @@ -211,7 +216,7 @@