修改禅道已知bug
This commit is contained in:
@@ -1262,4 +1262,9 @@ module.exports = {
|
||||
currentlyTheLastOneCannotmovedDown:'Currently the last one cannot be moved down',
|
||||
weilaiRegulationMonthlyReport:'Weilai Regulation Monthly Report',
|
||||
thereTitleWhichCannotBeDeleted:'There are new contents under this title, which cannot be deleted',
|
||||
industryInformationDynamicTemplate:'Industry information dynamic template',
|
||||
relatedFields:'Related fields',
|
||||
relatedFieldsEn:'Related fields (English)',
|
||||
source:'Source',
|
||||
sourceEn:'Source (English)',
|
||||
}
|
||||
@@ -874,7 +874,7 @@ module.exports = {
|
||||
experimentFailed: '实验失败',
|
||||
toBeStarted: '待开始',
|
||||
inProgress: '进行中',
|
||||
Underway:'进行中',
|
||||
Underway: '进行中',
|
||||
green: '绿',
|
||||
red: '红',
|
||||
blue: '蓝',
|
||||
@@ -1302,66 +1302,71 @@ module.exports = {
|
||||
Inthecollection: '收集中',
|
||||
Notatthe: '未开始',
|
||||
Thepercentage: '百分比',
|
||||
problemKnowledgeBase:'问题知识库',
|
||||
recentHotSpots:'近期热点',
|
||||
disseminationMaterials:'传播物料',
|
||||
informationSafety:'信息安全',
|
||||
blueBook:'蓝皮书',
|
||||
invoiceCollection:'发票合集',
|
||||
productHighlights:'产品亮点',
|
||||
financialReimbursement:'财务报销',
|
||||
classificationMaintenance:'分类维护',
|
||||
managePublishing:'管理发布',
|
||||
displayPermission:'展示权限',
|
||||
authorizedUser:'权限用户',
|
||||
problemClassification:'问题分类',
|
||||
market:'市场',
|
||||
documentNumber:'文档编号',
|
||||
documentTitle:'文档标题',
|
||||
bringInDocumentInformation:'带入文档信息',
|
||||
thereWhichCannotDeleted:'该标题下存在子标题无法进行删除',
|
||||
sdt:'工程接口人',
|
||||
dre:'填写人',
|
||||
applicableInstructionsMarketList:'市场清单适用说明',
|
||||
pleaseSelectTheDataCompared:'请选择需要对比的数据',
|
||||
problemLabel:'问题标签',
|
||||
personCharge:'负责人',
|
||||
addLabel:'新增标签',
|
||||
editLabel:'编辑标签',
|
||||
applicableMarket:'适用市场',
|
||||
templateMaintenance:'模板维护',
|
||||
associatedWebsite:'关联网址',
|
||||
dropDownOptions:'下拉选项',
|
||||
dropDownOptionMaintenance:'下拉选项维护',
|
||||
displayInformation:'展示信息',
|
||||
addComparison:'添加对比',
|
||||
showOrNot:'是否展示',
|
||||
comparisonMarket:'对比市场',
|
||||
share:'分享',
|
||||
simplifiedChinese:'简体中文',
|
||||
uploadOnly:'只能上传',
|
||||
turnOnAutoMatch:'打开自动匹配',
|
||||
Adjustareasofresponsibility:'调整责任领域',
|
||||
regulatoryTechnicalAssessment:'法规技术评估',
|
||||
OpenOne:'公开',
|
||||
Privacy:'私密',
|
||||
punctuationmark:'只能输入除#号和逗号外的英文标点符号',
|
||||
problemKnowledgeBase: '问题知识库',
|
||||
recentHotSpots: '近期热点',
|
||||
disseminationMaterials: '传播物料',
|
||||
informationSafety: '信息安全',
|
||||
blueBook: '蓝皮书',
|
||||
invoiceCollection: '发票合集',
|
||||
productHighlights: '产品亮点',
|
||||
financialReimbursement: '财务报销',
|
||||
classificationMaintenance: '分类维护',
|
||||
managePublishing: '管理发布',
|
||||
displayPermission: '展示权限',
|
||||
authorizedUser: '权限用户',
|
||||
problemClassification: '问题分类',
|
||||
market: '市场',
|
||||
documentNumber: '文档编号',
|
||||
documentTitle: '文档标题',
|
||||
bringInDocumentInformation: '带入文档信息',
|
||||
thereWhichCannotDeleted: '该标题下存在子标题无法进行删除',
|
||||
sdt: '工程接口人',
|
||||
dre: '填写人',
|
||||
applicableInstructionsMarketList: '市场清单适用说明',
|
||||
pleaseSelectTheDataCompared: '请选择需要对比的数据',
|
||||
problemLabel: '问题标签',
|
||||
personCharge: '负责人',
|
||||
addLabel: '新增标签',
|
||||
editLabel: '编辑标签',
|
||||
applicableMarket: '适用市场',
|
||||
templateMaintenance: '模板维护',
|
||||
associatedWebsite: '关联网址',
|
||||
dropDownOptions: '下拉选项',
|
||||
dropDownOptionMaintenance: '下拉选项维护',
|
||||
displayInformation: '展示信息',
|
||||
addComparison: '添加对比',
|
||||
showOrNot: '是否展示',
|
||||
comparisonMarket: '对比市场',
|
||||
share: '分享',
|
||||
simplifiedChinese: '简体中文',
|
||||
uploadOnly: '只能上传',
|
||||
turnOnAutoMatch: '打开自动匹配',
|
||||
Adjustareasofresponsibility: '调整责任领域',
|
||||
regulatoryTechnicalAssessment: '法规技术评估',
|
||||
OpenOne: '公开',
|
||||
Privacy: '私密',
|
||||
punctuationmark: '只能输入除#号和逗号外的英文标点符号',
|
||||
created: '创建时间',
|
||||
updated:'更新时间',
|
||||
optionDropDownBox:'下拉选择',
|
||||
attachmentUpload:'附件上传',
|
||||
textInput:'文本输入',
|
||||
updated: '更新时间',
|
||||
optionDropDownBox: '下拉选择',
|
||||
attachmentUpload: '附件上传',
|
||||
textInput: '文本输入',
|
||||
Paraname: '参数名称',
|
||||
Parabatch: '参数批次',
|
||||
freeze:'请选择冻结配置',
|
||||
deleteNode:'若有文件信息将同步删除,确认删除该条数据?',
|
||||
HaveReleased:'已发布',
|
||||
forward:'转发',
|
||||
areResponsibilityAreaInformationBatch:'确实是否批量修改责任领域信息',
|
||||
issuedBy:'发布人',
|
||||
pleaseDecompositionStandardOrder:'请导入或带入至少一条分解标准单',
|
||||
currentlyTheFirstOneThatCannotMovedUp:'当前已是第一个无法进行上移',
|
||||
currentlyTheLastOneCannotmovedDown:'当前已是最后一个无法进行下移',
|
||||
weilaiRegulationMonthlyReport:'蔚来法规月报',
|
||||
thereTitleWhichCannotBeDeleted:'该标题下存在新增内容,不能删除',
|
||||
freeze: '请选择冻结配置',
|
||||
deleteNode: '若有文件信息将同步删除,确认删除该条数据?',
|
||||
HaveReleased: '已发布',
|
||||
forward: '转发',
|
||||
areResponsibilityAreaInformationBatch: '确实是否批量修改责任领域信息',
|
||||
issuedBy: '发布人',
|
||||
pleaseDecompositionStandardOrder: '请导入或带入至少一条分解标准单',
|
||||
currentlyTheFirstOneThatCannotMovedUp: '当前已是第一个无法进行上移',
|
||||
currentlyTheLastOneCannotmovedDown: '当前已是最后一个无法进行下移',
|
||||
weilaiRegulationMonthlyReport: '蔚来法规月报',
|
||||
thereTitleWhichCannotBeDeleted: '该标题下存在新增内容,不能删除',
|
||||
industryInformationDynamicTemplate: '行业资讯动态模板',
|
||||
relatedFields: '相关领域',
|
||||
relatedFieldsEn: '相关领域(英文)',
|
||||
source: '来源',
|
||||
sourceEn: '来源(英文)'
|
||||
}
|
||||
@@ -93,6 +93,8 @@
|
||||
v-else-if="formInline.contentTemplate == '2' && isTrue"/>
|
||||
<releaseStandard :formInlineQuery="formInline" ref="releaseStandardRef" :disabled="disabled"
|
||||
v-else-if="formInline.contentTemplate == '3' && isTrue"/>
|
||||
<industryTemplate :formInlineQuery="formInline" ref="industryTemplateRef" :disabled="disabled"
|
||||
v-else-if="formInline.contentTemplate == '4' && isTrue"/>
|
||||
</a-form-model>
|
||||
</a-spin>
|
||||
<div class="drawer-bootom-button">
|
||||
@@ -109,6 +111,7 @@
|
||||
import defaultTemplate from './defaultTemplate'
|
||||
import solicitOpinions from './solicitOpinions'
|
||||
import releaseStandard from './releaseStandard'
|
||||
import industryTemplate from './industryTemplate'
|
||||
import addModel from './addModel'
|
||||
import { getAction, postAction, downloadFile } from '@/api/manage'
|
||||
import moment from 'moment'
|
||||
@@ -119,6 +122,7 @@
|
||||
defaultTemplate,
|
||||
solicitOpinions,
|
||||
releaseStandard,
|
||||
industryTemplate,
|
||||
addModel
|
||||
},
|
||||
data() {
|
||||
@@ -166,6 +170,10 @@
|
||||
{
|
||||
id: '3',
|
||||
text: this.$t('NewReleasedStandardTemplate')
|
||||
},
|
||||
{
|
||||
id: '4',
|
||||
text: this.$t('industryInformationDynamicTemplate')
|
||||
}
|
||||
],
|
||||
url: {
|
||||
@@ -266,6 +274,8 @@
|
||||
text = 'solicitOpinionsRef'
|
||||
} else if (this.$refs.releaseStandardRef) {
|
||||
text = 'releaseStandardRef'
|
||||
}else if (this.$refs.industryTemplateRef) {
|
||||
text = 'industryTemplateRef'
|
||||
}
|
||||
this.$refs[text].getData((val) => {
|
||||
this.confirmLoading = true
|
||||
|
||||
+326
@@ -0,0 +1,326 @@
|
||||
<template>
|
||||
<a-form-model :model="formInline" class="formAdd" :rules="rules" ref="ruleForm">
|
||||
<a-row :gutter="24">
|
||||
<a-col :span="12">
|
||||
<div class="box-title-text">
|
||||
<div class="title-text">
|
||||
<span class="title-text-text"
|
||||
:title="$t('title')">{{$t('title')}}</span>
|
||||
</div>
|
||||
<a-form-model-item class="itemModel" prop="titleCn">
|
||||
<a-input class="box-input"
|
||||
:disabled="disabled"
|
||||
v-model.trim="formInline.titleCn"
|
||||
:placeholder="$t('PleaseEnter')+$t('title')"/>
|
||||
</a-form-model-item>
|
||||
</div>
|
||||
</a-col>
|
||||
<a-col :span="12">
|
||||
<div class="box-title-text">
|
||||
<div class="title-text">
|
||||
<span class="title-text-text"
|
||||
:title="$t('englishTitle')">{{$t('englishTitle')}}</span>
|
||||
</div>
|
||||
<a-form-model-item class="itemModel" prop="titleEn">
|
||||
<a-input class="box-input"
|
||||
:disabled="disabled"
|
||||
v-model.trim="formInline.titleEn"
|
||||
:placeholder="$t('PleaseEnter')+$t('englishTitle')"/>
|
||||
</a-form-model-item>
|
||||
</div>
|
||||
</a-col>
|
||||
</a-row>
|
||||
<a-row :gutter="24">
|
||||
<a-col :span="12">
|
||||
<div class="box-title-text">
|
||||
<div class="title-text">
|
||||
<span class="title-text-text"
|
||||
:title="$t('relatedFields')">{{$t('relatedFields')}}</span>
|
||||
</div>
|
||||
<a-form-model-item class="itemModel" prop="relatedAreasCn">
|
||||
<a-input class="box-input"
|
||||
:disabled="disabled"
|
||||
v-model.trim="formInline.relatedAreasCn"
|
||||
:placeholder="$t('PleaseEnter')+$t('relatedFields')"/>
|
||||
</a-form-model-item>
|
||||
</div>
|
||||
</a-col>
|
||||
<a-col :span="12">
|
||||
<div class="box-title-text">
|
||||
<div class="title-text">
|
||||
<span class="title-text-text"
|
||||
:title="$t('relatedFieldsEn')">{{$t('relatedFieldsEn')}}</span>
|
||||
</div>
|
||||
<a-form-model-item class="itemModel" prop="relatedAreasEn">
|
||||
<a-input class="box-input"
|
||||
:disabled="disabled"
|
||||
v-model.trim="formInline.relatedAreasEn"
|
||||
:placeholder="$t('PleaseEnter')+$t('relatedFieldsEn')"/>
|
||||
</a-form-model-item>
|
||||
</div>
|
||||
</a-col>
|
||||
</a-row>
|
||||
<a-row :gutter="24">
|
||||
<a-col :span="12">
|
||||
<div class="box-title-text">
|
||||
<div class="title-text">
|
||||
<span class="title-text-text"
|
||||
:title="$t('source')">{{$t('source')}}</span>
|
||||
</div>
|
||||
<a-form-model-item class="itemModel" prop="sourceCn">
|
||||
<a-input class="box-input"
|
||||
:disabled="disabled"
|
||||
v-model.trim="formInline.sourceCn"
|
||||
:placeholder="$t('PleaseEnter')+$t('source')"/>
|
||||
</a-form-model-item>
|
||||
</div>
|
||||
</a-col>
|
||||
<a-col :span="12">
|
||||
<div class="box-title-text">
|
||||
<div class="title-text">
|
||||
<span class="title-text-text"
|
||||
:title="$t('sourceEn')">{{$t('sourceEn')}}</span>
|
||||
</div>
|
||||
<a-form-model-item class="itemModel" prop="sourceEn">
|
||||
<a-input class="box-input"
|
||||
:disabled="disabled"
|
||||
v-model.trim="formInline.sourceEn"
|
||||
:placeholder="$t('PleaseEnter')+$t('sourceEn')"/>
|
||||
</a-form-model-item>
|
||||
</div>
|
||||
</a-col>
|
||||
</a-row>
|
||||
<a-row :gutter="24">
|
||||
<a-col :span="12">
|
||||
<div class="box-title-text">
|
||||
<div class="title-text">
|
||||
<span class="title-text-text"
|
||||
:title="$t('date')">{{$t('date')}}</span>
|
||||
</div>
|
||||
<a-form-model-item class="itemModel" prop="time">
|
||||
<a-input class="box-input"
|
||||
:disabled="disabled"
|
||||
v-model.trim="formInline.time"
|
||||
:placeholder="$t('PleaseEnter')+$t('date')"/>
|
||||
</a-form-model-item>
|
||||
</div>
|
||||
</a-col>
|
||||
</a-row>
|
||||
<a-row :gutter="24">
|
||||
<a-col :span="24">
|
||||
<div class="box-title-text">
|
||||
<div class="title-text">
|
||||
<span class="title-text-text" :title="$t('primaryCoverageCn')">{{$t('primaryCoverageCn')}}</span>
|
||||
</div>
|
||||
<a-form-model-item class="itemModel" prop="contentCn">
|
||||
<a-textarea
|
||||
:disabled="disabled"
|
||||
:placeholder="$t('PleaseEnter')+$t('primaryCoverageCn')"
|
||||
v-model.trim="formInline.contentCn" :rows="4"/>
|
||||
</a-form-model-item>
|
||||
</div>
|
||||
</a-col>
|
||||
</a-row>
|
||||
<a-row :gutter="24">
|
||||
<a-col :span="24">
|
||||
<div class="box-title-text">
|
||||
<div class="title-text">
|
||||
<span class="title-text-text" :title="$t('primaryCoverageEn')">{{$t('primaryCoverageEn')}}</span>
|
||||
</div>
|
||||
<a-form-model-item class="itemModel" prop="contentEn">
|
||||
<a-textarea
|
||||
:disabled="disabled"
|
||||
:placeholder="$t('PleaseEnter')+$t('primaryCoverageEn')"
|
||||
v-model.trim="formInline.contentEn" :rows="4"/>
|
||||
</a-form-model-item>
|
||||
</div>
|
||||
</a-col>
|
||||
</a-row>
|
||||
<a-row :gutter="24">
|
||||
<a-col :span="24">
|
||||
<div class="box-title-text">
|
||||
<div class="title-text">
|
||||
<span class="title-text-text" :title="$t('link')">{{$t('link')}}</span>
|
||||
</div>
|
||||
<a-form-model-item class="itemModel" prop="link">
|
||||
<a-input class="box-input"
|
||||
:disabled="disabled"
|
||||
v-model.trim="formInline.link"
|
||||
:placeholder="$t('PleaseEnter')+$t('link')"/>
|
||||
</a-form-model-item>
|
||||
</div>
|
||||
</a-col>
|
||||
</a-row>
|
||||
</a-form-model>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { mapGetters } from 'vuex'
|
||||
import { getAction, postAction, downloadFile } from '@/api/manage'
|
||||
|
||||
export default {
|
||||
name: 'industryTemplate',
|
||||
props: ['formInlineQuery', 'disabled'],
|
||||
data() {
|
||||
return {
|
||||
rules: {
|
||||
titleCn: [
|
||||
{
|
||||
max: 500,
|
||||
message: this.$t('title') + this.$t('cannotExceed') + 500 + this.$t('Characters'),
|
||||
trigger: 'blur'
|
||||
}
|
||||
],
|
||||
titleEn: [
|
||||
{
|
||||
max: 500,
|
||||
message: this.$t('englishTitle') + this.$t('cannotExceed') + 500 + this.$t('Characters'),
|
||||
trigger: 'blur'
|
||||
}
|
||||
],
|
||||
relatedAreasEn: [
|
||||
{
|
||||
max: 100,
|
||||
message: this.$t('relatedFieldsEn') + this.$t('cannotExceed') + 100 + this.$t('Characters'),
|
||||
trigger: 'blur'
|
||||
}
|
||||
],
|
||||
relatedAreasCn: [
|
||||
{
|
||||
max: 100,
|
||||
message: this.$t('relatedFields') + this.$t('cannotExceed') + 100 + this.$t('Characters'),
|
||||
trigger: 'blur'
|
||||
}
|
||||
],
|
||||
sourceCn: [
|
||||
{
|
||||
max: 100,
|
||||
message: this.$t('source') + this.$t('cannotExceed') + 100 + this.$t('Characters'),
|
||||
trigger: 'blur'
|
||||
}
|
||||
],
|
||||
sourceEn: [
|
||||
{
|
||||
max: 100,
|
||||
message: this.$t('sourceEn') + this.$t('cannotExceed') + 100 + this.$t('Characters'),
|
||||
trigger: 'blur'
|
||||
}
|
||||
],
|
||||
time: [
|
||||
{
|
||||
max: 100,
|
||||
message: this.$t('date') + this.$t('cannotExceed') + 100 + this.$t('Characters'),
|
||||
trigger: 'blur'
|
||||
}
|
||||
],
|
||||
link: [
|
||||
{
|
||||
max: 100,
|
||||
message: this.$t('link') + this.$t('cannotExceed') + 100 + this.$t('Characters'),
|
||||
trigger: 'blur'
|
||||
}
|
||||
],
|
||||
contentEn: [
|
||||
{
|
||||
max: 300,
|
||||
message: this.$t('primaryCoverageEn') + this.$t('cannotExceed') + 300 + this.$t('Characters'),
|
||||
trigger: 'blur'
|
||||
}
|
||||
],
|
||||
contentCn: [
|
||||
{
|
||||
max: 300,
|
||||
message: this.$t('primaryCoverageCn') + this.$t('cannotExceed') + 300 + this.$t('Characters'),
|
||||
trigger: 'blur'
|
||||
}
|
||||
]
|
||||
},
|
||||
formInline: {},
|
||||
CategoryTreeList: []
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
this.$nextTick(() => {
|
||||
if (this.formInlineQuery.id) {
|
||||
this.formInline = JSON.parse(JSON.stringify(this.formInlineQuery))
|
||||
this.formInline = { ...this.formInline }
|
||||
} else {
|
||||
this.formInline = {}
|
||||
this.formInline = { ...this.formInline }
|
||||
}
|
||||
})
|
||||
},
|
||||
methods: {
|
||||
...mapGetters(['userInfo']),
|
||||
getData(callback) {
|
||||
this.$refs.ruleForm.validate(valid => {
|
||||
if (valid) {
|
||||
let formInline = JSON.parse(JSON.stringify(this.formInline))
|
||||
Object.keys(formInline).forEach(res => {
|
||||
if (formInline[res] && formInline[res] instanceof Array) {
|
||||
formInline[res] = formInline[res].join(',')
|
||||
}
|
||||
})
|
||||
callback && callback(formInline)
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
<style scoped>
|
||||
.box-title-text {
|
||||
line-height: 1.4;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.title-text {
|
||||
width: 114px;
|
||||
text-align: right;
|
||||
display: inline-block;
|
||||
font-weight: 500;
|
||||
font-size: 14px;
|
||||
margin-right: 16px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
height: 42px;
|
||||
line-height: 42px;
|
||||
}
|
||||
|
||||
.box-input {
|
||||
display: inline-block;
|
||||
height: 38px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.itemModel {
|
||||
width: calc(100% - 130px);
|
||||
display: inline-block;
|
||||
margin-top: 2px;
|
||||
}
|
||||
|
||||
.title-text-text {
|
||||
margin-top: 9px;
|
||||
}
|
||||
|
||||
.formAdd {
|
||||
margin-bottom: 40px;
|
||||
}
|
||||
|
||||
.Required {
|
||||
color: red;
|
||||
margin-right: 4px;
|
||||
}
|
||||
|
||||
.title-text-text {
|
||||
margin-top: 9px;
|
||||
}
|
||||
|
||||
.formAdd {
|
||||
margin-bottom: 40px;
|
||||
}
|
||||
|
||||
</style>
|
||||
Reference in New Issue
Block a user