feat: There is no way the,  56833 【WELINK】标准入库流程-批准节点 及 PC 相关效果修改

This commit is contained in:
396572590@qq.com
2022-08-11 14:37:17 +08:00
parent 7efd871a39
commit be7182c2c8
6 changed files with 142 additions and 77 deletions
@@ -50,7 +50,13 @@
</el-form-item> </el-form-item>
<el-form-item label="标准体系" prop="standSystem" class="add-form-item form-item-disabled"> <el-form-item label="标准体系" prop="standSystem" class="add-form-item form-item-disabled">
<el-tooltip :disabled="!form.standSystem" effect="dark" :content=form.standSystem placement="top-start"> <el-tooltip :disabled="!form.standSystem" effect="dark" :content=form.standSystem placement="top-start">
<el-input :disabled="disabledXX" v-model="form.standSystem" clearable placeholder="选择标准体系" @click.native="choiceZRR1('standSystem', '标准体系', form.standSystem)"></el-input> <el-input
:disabled="disabledXX"
v-model="form.standSystem"
type="textarea"
autosize
clearable placeholder="选择标准体系"
@click.native="choiceZRR1('standSystem', '标准体系', form.standSystem)"></el-input>
</el-tooltip> </el-tooltip>
<tree-select-new v-if="!disabledXX" <tree-select-new v-if="!disabledXX"
:key="key" :key="key"
@@ -172,7 +172,7 @@
<el-col :span="12"> <el-col :span="12">
<el-form-item label="标准体系" prop="standSystem" class="add-form-item form-item-disabled"> <el-form-item label="标准体系" prop="standSystem" class="add-form-item form-item-disabled">
<el-tooltip :disabled="!form.standSystem" effect="dark" :content=form.standSystem placement="top-start"> <el-tooltip :disabled="!form.standSystem" effect="dark" :content=form.standSystem placement="top-start">
<el-input v-model="form.standSystem" disabled></el-input> <el-input v-model="form.standSystem" type="textarea" autosize disabled></el-input>
</el-tooltip> </el-tooltip>
</el-form-item> </el-form-item>
<el-form-item v-if="form.standInData === '1'" label="标签" prop="gxhbq" class="add-form-item form-item-disabled"> <el-form-item v-if="form.standInData === '1'" label="标签" prop="gxhbq" class="add-form-item form-item-disabled">
@@ -824,6 +824,7 @@
@checkedRole="checkedRole" @checkedRole="checkedRole"
:nodeList="nodeList" :nodeList="nodeList"
></Role-tree> ></Role-tree>
<loading :loading="ccc">加载数据</loading>
</div> </div>
</template> </template>
@@ -840,6 +841,7 @@ export default {
name: "bzrkStep2", name: "bzrkStep2",
data() { data() {
return { return {
ccc:false,
xgdFileMap: [], xgdFileMap: [],
fbgbjbdFileMap: [], fbgbjbdFileMap: [],
fbgywbdFileMap: [], fbgywbdFileMap: [],
@@ -1162,6 +1164,7 @@ export default {
return list; return list;
}, },
getData() { getData() {
this.ccc = true
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
inboundLiaisonDetail({ inboundLiaisonDetail({
taskIds: this.taskIds, taskIds: this.taskIds,
@@ -1376,35 +1379,48 @@ export default {
} }
}) })
}, },
getDicTypeListCode(res,json) {
return new Promise((resolve, reject) => {
this.$http.get('sys/dictype/getDicTypeListCode', '', {
_this: this
}, res => {
const history = res;
resolve(history)
})
})
},
async getDataAsync(){
let res = await this.getDicTypeListCode()
if(res && res.data){
this.countryOptions = res.data.COUNTRY//国家地区
this.standSortOptions = res.data.STANDCLASSIFY // 标准类别
this.standNatureOptions = res.data.SARPROPERTY // 标准性质
this.standStateOptions = res.data.WBZTCLASS // 文本状态
this.standSystemOptions = res.data.BZTXCLASS // 标准体系
this.applyArcticOptions = res.data.ENERGYTYPES // 适用车型
this.categoryOptions = res.data.NYLXCLASS // 能源类型
this.applyAuthOptions = res.data.SYRZCLASS // 适用认证
this.cysdOptions = res.data.WSCYSD // 我司参与深度
this.cyzbpmOptions = res.data.CYZBPM // 我司参与制标排名
this.wssmrOptions = res.data.WSSMR // 我司署名人
this.qcdwOptions = res.data.QCDW // 起草单位
this.sycpxOptions = res.data.SYCPXCLASS // 适用产品线
this.zrbmOptions = res.data.ZRBMCLASS // 责任部门
this.zrgcsOptions = res.data.ZRGCSCLASS // 责任工程师
this.txlbOptions = res.data.TXLBCLASS // 体系类别
this.gkglbmOptions = res.data.GKGLBM // 归口管理部门
this.cbcdOptions = res.data.DEGREESTANDARD // 采标程度
this.key++
this.ccc = false
}
},
}, },
created() { created() {
}, },
mounted() { mounted() {
this.getData() this.getData()
this.getDataAsync()
this.processTable() this.processTable()
this.$http.get('sys/dictype/getDicTypeListCode', '', {
_this: this
}, res => {
this.countryOptions = res.data.COUNTRY//国家地区
this.standSortOptions = res.data.STANDCLASSIFY // 标准类别
this.standNatureOptions = res.data.SARPROPERTY // 标准性质
this.standStateOptions = res.data.WBZTCLASS // 文本状态
this.standSystemOptions = res.data.BZTXCLASS // 标准体系
this.applyArcticOptions = res.data.ENERGYTYPES // 适用车型
this.categoryOptions = res.data.NYLXCLASS // 能源类型
this.applyAuthOptions = res.data.SYRZCLASS // 适用认证
this.cysdOptions = res.data.WSCYSD // 我司参与深度
this.cyzbpmOptions = res.data.CYZBPM // 我司参与制标排名
this.wssmrOptions = res.data.WSSMR // 我司署名人
this.qcdwOptions = res.data.QCDW // 起草单位
this.sycpxOptions = res.data.SYCPXCLASS // 适用产品线
this.zrbmOptions = res.data.ZRBMCLASS // 责任部门
this.zrgcsOptions = res.data.ZRGCSCLASS // 责任工程师
this.txlbOptions = res.data.TXLBCLASS // 体系类别
this.gkglbmOptions = res.data.GKGLBM // 归口管理部门
this.cbcdOptions = res.data.DEGREESTANDARD // 采标程度
this.key++
})
this.busVsFunc() this.busVsFunc()
this.modelFunc() this.modelFunc()
} }
@@ -108,7 +108,7 @@
</el-form-item> </el-form-item>
<el-form-item label="标准体系" prop="standSystem" class="add-form-item form-item-disabled"> <el-form-item label="标准体系" prop="standSystem" class="add-form-item form-item-disabled">
<el-tooltip :disabled="!form.standSystem" effect="dark" :content=form.standSystem placement="top-start"> <el-tooltip :disabled="!form.standSystem" effect="dark" :content=form.standSystem placement="top-start">
<el-input v-model="form.standSystem" disabled></el-input> <el-input v-model="form.standSystem" type="textarea" autosize disabled></el-input>
</el-tooltip> </el-tooltip>
</el-form-item> </el-form-item>
</el-col> </el-col>
@@ -808,6 +808,7 @@
@checkedRole="checkedRole" @checkedRole="checkedRole"
:nodeList="nodeList" :nodeList="nodeList"
></Role-tree> ></Role-tree>
<loading :loading="ccc">加载数据</loading>
</div> </div>
</template> </template>
@@ -825,6 +826,7 @@ export default {
name: "bzrkStep3", name: "bzrkStep3",
data () { data () {
return { return {
ccc: false,
submitType: '', submitType: '',
xgdFileMap: [], xgdFileMap: [],
fbgbjbdFileMap: [], fbgbjbdFileMap: [],
@@ -1123,6 +1125,7 @@ export default {
return list; return list;
}, },
getData() { getData() {
this.ccc = true
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
inboundLiaisonDetail({ inboundLiaisonDetail({
taskIds: this.taskIds, taskIds: this.taskIds,
@@ -1301,36 +1304,49 @@ export default {
} }
}) })
}, },
getDicTypeListCode(res,json) {
return new Promise((resolve, reject) => {
this.$http.get('sys/dictype/getDicTypeListCode', '', {
_this: this
}, res => {
const history = res;
resolve(history)
})
})
},
async getDataAsync(){
let res = await this.getDicTypeListCode()
if(res && res.data){
this.countryOptions=res.data.COUNTRY//国家地区
this.standSortOptions = res.data.STANDCLASSIFY // 标准类别
this.standNatureOptions = res.data.SARPROPERTY // 标准性质
this.standStateOptions = res.data.WBZTCLASS // 文本状态
this.standSystemOptions = res.data.BZTXCLASS // 标准体系
this.applyArcticOptions = res.data.ENERGYTYPES // 适用车型
this.categoryOptions = res.data.NYLXCLASS // 能源类型
this.applyAuthOptions = res.data.SYRZCLASS // 适用认证
this.cysdOptions = res.data.WSCYSD // 我司参与深度
this.cyzbpmOptions = res.data.CYZBPM // 我司参与制标排名
this.wssmrOptions = res.data.WSSMR // 我司署名人
this.qcdwOptions = res.data.QCDW // 起草单位
this.sycpxOptions = res.data.SYCPXCLASS // 适用产品线
this.zrbmOptions = res.data.ZRBMCLASS // 责任部门
this.zrgcsOptions = res.data.ZRGCSCLASS // 责任工程师
this.txlbOptions = res.data.TXLBCLASS // 体系类别
this.gkglbmOptions = res.data.GKGLBM // 归口管理部门
this.cbcdOptions = res.data.DEGREESTANDARD // 采标程度
this.key++
this.ccc = false
}
},
}, },
created(){ created(){
this.getData() this.getData()
}, },
mounted () { mounted () {
this.getData() this.getData()
this.getDataAsync()
this.processTable() this.processTable()
this.$http.get('sys/dictype/getDicTypeListCode', '', {
_this: this
}, res => {
this.countryOptions=res.data.COUNTRY//国家地区
this.standSortOptions = res.data.STANDCLASSIFY // 标准类别
this.standNatureOptions = res.data.SARPROPERTY // 标准性质
this.standStateOptions = res.data.WBZTCLASS // 文本状态
this.standSystemOptions = res.data.BZTXCLASS // 标准体系
this.applyArcticOptions = res.data.ENERGYTYPES // 适用车型
this.categoryOptions = res.data.NYLXCLASS // 能源类型
this.applyAuthOptions = res.data.SYRZCLASS // 适用认证
this.cysdOptions = res.data.WSCYSD // 我司参与深度
this.cyzbpmOptions = res.data.CYZBPM // 我司参与制标排名
this.wssmrOptions = res.data.WSSMR // 我司署名人
this.qcdwOptions = res.data.QCDW // 起草单位
this.sycpxOptions = res.data.SYCPXCLASS // 适用产品线
this.zrbmOptions = res.data.ZRBMCLASS // 责任部门
this.zrgcsOptions = res.data.ZRGCSCLASS // 责任工程师
this.txlbOptions = res.data.TXLBCLASS // 体系类别
this.gkglbmOptions = res.data.GKGLBM // 归口管理部门
this.cbcdOptions = res.data.DEGREESTANDARD // 采标程度
this.key++
})
this.busVsFunc() this.busVsFunc()
this.modelFunc() this.modelFunc()
}, },
@@ -62,7 +62,7 @@
</el-form-item> </el-form-item>
<el-form-item label="标准体系" prop="standSystem" class="add-form-item form-item-disabled"> <el-form-item label="标准体系" prop="standSystem" class="add-form-item form-item-disabled">
<el-tooltip :disabled="!form.standSystem" effect="dark" :content=form.standSystem placement="top-start"> <el-tooltip :disabled="!form.standSystem" effect="dark" :content=form.standSystem placement="top-start">
<el-input v-model="form.standSystem" clearable placeholder="选择标准体系" @click.native="choiceZRR1('standSystem', '标准体系', form.standSystem)"></el-input> <el-input v-model="form.standSystem" type="textarea" autosize clearable placeholder="选择标准体系" @click.native="choiceZRR1('standSystem', '标准体系', form.standSystem)"></el-input>
</el-tooltip> </el-tooltip>
<tree-select-new <tree-select-new
:key="key" :key="key"
@@ -172,7 +172,7 @@
<el-col :span="12"> <el-col :span="12">
<el-form-item label="标准体系" prop="standSystem" class="add-form-item form-item-disabled"> <el-form-item label="标准体系" prop="standSystem" class="add-form-item form-item-disabled">
<el-tooltip :disabled="!form.standSystem" effect="dark" :content=form.standSystem placement="top-start"> <el-tooltip :disabled="!form.standSystem" effect="dark" :content=form.standSystem placement="top-start">
<el-input v-model="form.standSystem" disabled></el-input> <el-input v-model="form.standSystem" type="textarea" autosize disabled></el-input>
</el-tooltip> </el-tooltip>
</el-form-item> </el-form-item>
<el-form-item v-if="form.standInData === '1'" label="标签" prop="gxhbq" class="add-form-item form-item-disabled"> <el-form-item v-if="form.standInData === '1'" label="标签" prop="gxhbq" class="add-form-item form-item-disabled">
@@ -796,6 +796,7 @@
@checkedRole="checkedRole" @checkedRole="checkedRole"
:nodeList="nodeList" :nodeList="nodeList"
></Role-tree> ></Role-tree>
<loading :loading="ccc">加载数据</loading>
</div> </div>
</template> </template>
@@ -812,6 +813,7 @@ export default {
name: "bzrkStep5", name: "bzrkStep5",
data() { data() {
return { return {
ccc: false,
xgdFileMap: [], xgdFileMap: [],
fbgbjbdFileMap: [], fbgbjbdFileMap: [],
bpgFileMap: [], bpgFileMap: [],
@@ -1133,6 +1135,7 @@ export default {
return list; return list;
}, },
getData() { getData() {
this.ccc = true
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
inboundLiaisonDetail({ inboundLiaisonDetail({
taskIds: this.taskIds, taskIds: this.taskIds,
@@ -1356,35 +1359,48 @@ export default {
} }
}) })
}, },
getDicTypeListCode(res,json) {
return new Promise((resolve, reject) => {
this.$http.get('sys/dictype/getDicTypeListCode', '', {
_this: this
}, res => {
const history = res;
resolve(history)
})
})
},
async getDataAsync(){
let res = await this.getDicTypeListCode()
if(res && res.data){
this.countryOptions = res.data.COUNTRY//国家地区
this.standSortOptions = res.data.STANDCLASSIFY // 标准类别
this.standNatureOptions = res.data.SARPROPERTY // 标准性质
this.standStateOptions = res.data.WBZTCLASS // 文本状态
this.standSystemOptions = res.data.BZTXCLASS // 标准体系
this.applyArcticOptions = res.data.ENERGYTYPES // 适用车型
this.categoryOptions = res.data.NYLXCLASS // 能源类型
this.applyAuthOptions = res.data.SYRZCLASS // 适用认证
this.cysdOptions = res.data.WSCYSD // 我司参与深度
this.cyzbpmOptions = res.data.CYZBPM // 我司参与制标排名
this.wssmrOptions = res.data.WSSMR // 我司署名人
this.qcdwOptions = res.data.QCDW // 起草单位
this.sycpxOptions = res.data.SYCPXCLASS // 适用产品线
this.zrbmOptions = res.data.ZRBMCLASS // 责任部门
this.zrgcsOptions = res.data.ZRGCSCLASS // 责任工程师
this.txlbOptions = res.data.TXLBCLASS // 体系类别
this.gkglbmOptions = res.data.GKGLBM // 归口管理部门
this.cbcdOptions = res.data.DEGREESTANDARD // 采标程度
this.key++
this.ccc = false
}
},
}, },
created() { created() {
}, },
mounted() { mounted() {
this.getData() this.getData()
this.getDataAsync()
this.processTable() this.processTable()
this.$http.get('sys/dictype/getDicTypeListCode', '', {
_this: this
}, res => {
this.countryOptions = res.data.COUNTRY//国家地区
this.standSortOptions = res.data.STANDCLASSIFY // 标准类别
this.standNatureOptions = res.data.SARPROPERTY // 标准性质
this.standStateOptions = res.data.WBZTCLASS // 文本状态
this.standSystemOptions = res.data.BZTXCLASS // 标准体系
this.applyArcticOptions = res.data.ENERGYTYPES // 适用车型
this.categoryOptions = res.data.NYLXCLASS // 能源类型
this.applyAuthOptions = res.data.SYRZCLASS // 适用认证
this.cysdOptions = res.data.WSCYSD // 我司参与深度
this.cyzbpmOptions = res.data.CYZBPM // 我司参与制标排名
this.wssmrOptions = res.data.WSSMR // 我司署名人
this.qcdwOptions = res.data.QCDW // 起草单位
this.sycpxOptions = res.data.SYCPXCLASS // 适用产品线
this.zrbmOptions = res.data.ZRBMCLASS // 责任部门
this.zrgcsOptions = res.data.ZRGCSCLASS // 责任工程师
this.txlbOptions = res.data.TXLBCLASS // 体系类别
this.gkglbmOptions = res.data.GKGLBM // 归口管理部门
this.cbcdOptions = res.data.DEGREESTANDARD // 采标程度
this.key++
})
this.busVsFunc() this.busVsFunc()
this.modelFunc() this.modelFunc()
} }
@@ -100,7 +100,7 @@
</el-radio-group> </el-radio-group>
</el-form-item> </el-form-item>
<el-form-item label="标准体系" prop="standSystem" class="add-form-item form-item-disabled"> <el-form-item label="标准体系" prop="standSystem" class="add-form-item form-item-disabled">
<el-input v-model="form.standSystem" disabled></el-input> <div class="wrap">{{form.standSystem}}</div>
</el-form-item> </el-form-item>
<el-form-item v-if="form.standInData === '1'" label="标签" prop="gxhbq" class="add-form-item form-item-disabled"> <el-form-item v-if="form.standInData === '1'" label="标签" prop="gxhbq" class="add-form-item form-item-disabled">
<el-input <el-input
@@ -158,7 +158,8 @@
- - - -
</div> </div>
</el-form-item> </el-form-item>
<el-form-item label="发布稿" prop="fbgbjbdName" class="add-form-item form-item-disabled"> <el-form-item prop="fbgbjbdName" class="add-form-item form-item-disabled">
<span slot="label" title="发布稿(原文)" style="width: 112px">发布稿译文</span>
<div v-if="fbgbjbdFileMap.length>0" v-for="(value,index) in this.fbgbjbdFileMap" :key="index" style="cursor: pointer;color: #00b7ee"> <div v-if="fbgbjbdFileMap.length>0" v-for="(value,index) in this.fbgbjbdFileMap" :key="index" style="cursor: pointer;color: #00b7ee">
<span style="" @click="downloadFile('fbg',value.id)" :title="value.name">{{ value.name }}</span> <span style="" @click="downloadFile('fbg',value.id)" :title="value.name">{{ value.name }}</span>
</div> </div>
@@ -166,7 +167,8 @@
- - - -
</div> </div>
</el-form-item> </el-form-item>
<el-form-item label="发布稿(译文)" prop="fbgywbdName" class="add-form-item form-item-disabled"> <el-form-item prop="fbgywbdName" class="add-form-item form-item-disabled">
<span slot="label" title="发布稿(译文)" style="width: 112px">发布稿译文</span>
<div v-if="fbgywbdFileMap.length>0" v-for="(value,index) in this.fbgywbdFileMap" :key="index" style="cursor: pointer;color: #00b7ee"> <div v-if="fbgywbdFileMap.length>0" v-for="(value,index) in this.fbgywbdFileMap" :key="index" style="cursor: pointer;color: #00b7ee">
<span style="" @click="downloadFileNew(value.id)" :title="value.name">{{ value.name }}</span> <span style="" @click="downloadFileNew(value.id)" :title="value.name">{{ value.name }}</span>
</div> </div>
@@ -678,6 +680,9 @@ export default {
} }
}) })
}, },
downloadFileNew(attId) {
this.$preview(attId)
},
downloadFile(fileType,attId) { downloadFile(fileType,attId) {
this.$preview(attId) this.$preview(attId)
}, },
@@ -995,6 +1000,12 @@ export default {
@import '~@/assets/styles/phone'; @import '~@/assets/styles/phone';
.bzrkStep2 { .bzrkStep2 {
/deep/ .el-form-item__label{
width: 112px !important;
}
/deep/ .el-form-item__content{
margin-left: 112px !important;
}
/deep/.el-select .el-input .el-select__caret { /deep/.el-select .el-input .el-select__caret {
font-size: 0; font-size: 0;
} }